:root {
  --qeres-bg: #1b1533;
  --qeres-surface: #140022;
  --qeres-surface-2: #110d1e;
  --qeres-line: rgba(255, 255, 255, 0.12);
  --qeres-text: #f3f4ff;
  --qeres-muted: #c7c9e9;
  --brand-primary: #c026d3;
  --brand-secondary: #9333ea;
  --ok: #34d399;
  --warn: #f59e0b;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --max: 1220px;
  --topbar-height: 64px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(1200px 520px at -6% -10%, rgba(108, 72, 196, 0.28), rgba(34, 20, 59, 0) 65%),
    radial-gradient(1000px 460px at 108% 2%, rgba(56, 189, 248, 0.18), rgba(16, 9, 32, 0) 60%),
    linear-gradient(180deg, #191331 0%, #15102b 44%, #110d22 100%);
  color: var(--qeres-text);
  line-height: 1.4;
  min-height: 100vh;
  background-attachment: fixed;
}

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

[data-site-header] {
  display: block;
  min-height: var(--topbar-height, 64px);
}

.container {
  width: min(var(--max), 92vw);
  margin-inline: auto;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  backdrop-filter: blur(12px);
  background:
    linear-gradient(90deg, rgba(27, 21, 51, 0.92), rgba(26, 18, 55, 0.9), rgba(18, 18, 45, 0.9)),
    rgba(27, 21, 51, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-main {
  min-height: 64px;
  display: flex;
  align-items: center;
}

.topbar-main-inner {
  width: min(var(--max), 92vw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto minmax(250px, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.topbar-left {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-company {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(170deg, rgba(167, 139, 250, 0.16), rgba(96, 165, 250, 0.08));
  display: grid;
  place-items: center;
  overflow: hidden;
}

.company-icon {
  width: 30px;
  height: 30px;
  display: block;
}

.company-wordmark {
  width: 172px;
  height: auto;
  aspect-ratio: 2130 / 596;
  object-fit: contain;
  display: block;
}

.brand-copy {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-copy em {
  margin-top: 0;
  font-size: 0.66rem;
  color: #cfd3f2;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.topbar-search {
  width: min(100%, 520px);
  justify-self: center;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 6px 6px 14px;
}

.topbar-search input {
  border: 0;
  background: transparent;
  color: #eef1ff;
  font: inherit;
  min-width: 120px;
}

.topbar-search input::placeholder {
  color: #9da4c8;
}

.topbar-search input:focus {
  outline: none;
}

.topbar-search button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  color: #f5f6ff;
  background: linear-gradient(120deg, rgba(192, 38, 211, 0.9), rgba(99, 102, 241, 0.88));
}

.topbar-search button svg {
  width: 16px;
  height: 16px;
}

.topbar-search button circle,
.topbar-search button path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.topbar-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
  white-space: nowrap;
}

.control-pill,
.control-icon {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #eef0ff;
}

.control-pill {
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.control-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

.control-icon svg {
  width: 16px;
  height: 16px;
}

.control-icon path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.topbar-cta,
.topbar-login {
  white-space: nowrap;
}

.nav {
  display: grid;
  gap: 8px;
}

.nav a,
.drawer-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--qeres-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.nav a:hover,
.drawer-nav a:hover,
.nav a.is-active,
.drawer-nav a.is-active {
  color: #fff;
  border-color: rgba(192, 38, 211, 0.45);
  background: rgba(192, 38, 211, 0.16);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  min-height: 40px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
  box-shadow: 0 12px 24px rgba(163, 80, 241, 0.35);
}

.btn-ghost,
.btn-surface {
  color: #fff;
  border: 1px solid var(--qeres-line);
  background: rgba(20, 0, 34, 0.8);
}

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

.btn-primary:hover {
  box-shadow: 0 16px 30px rgba(163, 80, 241, 0.42);
}

.btn-ghost:hover,
.btn-surface:hover {
  border-color: rgba(192, 38, 211, 0.42);
  background: rgba(43, 16, 72, 0.78);
}

.btn:focus-visible {
  outline: 2px solid rgba(96, 165, 250, 0.95);
  outline-offset: 2px;
}

.menu-toggle {
  display: inline-flex;
  width: 38px;
  height: 38px;
  padding: 0;
  font-size: 1.1rem;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 78;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-open .drawer-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.drawer-menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 79;
  width: min(360px, 86vw);
  height: 100vh;
  background: linear-gradient(180deg, rgba(24, 18, 45, 0.98), rgba(16, 12, 33, 0.98));
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.42);
  transform: translateX(-102%);
  transition: transform 0.22s ease;
  display: flex;
  flex-direction: column;
}

.drawer-menu.is-open {
  transform: translateX(0);
}

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

.drawer-head {
  min-height: 68px;
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.drawer-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}

.drawer-nav {
  display: grid;
  gap: 8px;
  padding: 14px;
  overflow: auto;
}

.drawer-nav a {
  border-radius: 12px;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  text-align: left;
}

.drawer-actions {
  margin-top: auto;
  padding: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 10px;
}

.drawer-actions .btn {
  width: 100%;
}

main { padding-bottom: 78px; }
section { padding: 76px 0; }

.section-advantages {
  padding-top: 86px;
}

.section-enterprise {
  padding-top: 86px;
}

.hero {
  padding: 68px 0 34px;
}

.hero-platform {
  padding-top: 0;
  padding-bottom: 30px;
}

.hero-platform-fullbleed {
  width: 100%;
}

.hero-platform-summary {
  margin-top: 16px;
}

.hero-platform-carousel {
  position: relative;
  height: clamp(430px, 74vh, 660px);
  overflow: hidden;
  border-radius: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: #0f0b1f;
}

.hero-platform-media {
  position: absolute;
  inset: 0;
}

.hero-platform-media img,
.hero-platform-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04) brightness(0.78);
}

.hero-platform-media .is-hidden {
  display: none;
}

.hero-platform-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-platform-content {
  position: absolute;
  z-index: 2;
  width: min(var(--max), 92vw);
  left: 50%;
  transform: translateX(-50%);
  right: auto;
  bottom: 76px;
  max-width: min(var(--max), 92vw);
}

.hero-platform-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #d8dbf6;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-platform-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.hero-platform-content h1 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4.2rem);
  line-height: 1.04;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  max-width: 18ch;
}

.hero-platform-content p {
  margin: 12px 0 0;
  color: rgba(244, 246, 255, 0.88);
  max-width: 72ch;
  font-size: 1.02rem;
}

.hero-platform-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-platform-note {
  margin: 14px 0 0;
  color: rgba(223, 228, 255, 0.84);
  font-size: 0.88rem;
  letter-spacing: 0.015em;
  text-transform: none;
}

.hero-platform-note-line {
  margin-top: 14px;
}

.hero-platform-topics {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-topic-chip {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(15, 12, 29, 0.55);
  color: #f1f3ff;
  padding: 7px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}

.hero-platform-segments {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-platform-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 12, 29, 0.45);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.hero-platform-prev {
  left: 18px;
}

.hero-platform-next {
  right: 18px;
}

.hero-platform-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-dot-btn {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.hero-dot-btn.is-active {
  width: 28px;
  background: var(--dot-color, #d946ef);
}

.hero-platform-metrics {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.hero-platzi {
  padding-top: 78px;
  padding-bottom: 56px;
  position: relative;
}

.hero-platzi::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 86% -8%, rgba(168, 85, 247, 0.2), transparent 66%),
    radial-gradient(780px 360px at 16% -10%, rgba(99, 102, 241, 0.2), transparent 68%),
    linear-gradient(180deg, rgba(7, 20, 31, 0.7), rgba(10, 14, 28, 0.35));
  pointer-events: none;
}

.hero-platzi-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  text-align: center;
  align-items: center;
  justify-items: center;
  display: grid;
  gap: 15px;
}

.hero-platzi h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4.8vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
}

.hero-platzi h1 span {
  display: block;
  background: linear-gradient(90deg, #7c8dff, #d353ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-platzi-lead {
  margin: 0 auto;
  color: #d6daef;
  max-width: 76ch;
  font-size: 1.08rem;
}

.hero-platzi-live {
  margin: 0;
  color: #e6e8fa;
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-search {
  margin-top: 8px;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.hero-search-label {
  margin: 0;
  font-size: 1.62rem;
  font-weight: 700;
}

.hero-search-form {
  width: min(700px, 94vw);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  border-radius: 14px;
  border: 1px solid rgba(211, 83, 255, 0.58);
  background: rgba(4, 11, 20, 0.72);
  padding: 8px;
  box-shadow: 0 14px 30px rgba(4, 11, 20, 0.4);
}

.hero-search-form input {
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #f0f4ff;
  font: inherit;
  padding: 12px 14px;
}

.hero-search-form input::placeholder {
  color: #9fa6c5;
}

.hero-search-form input:focus {
  outline: 2px solid rgba(211, 83, 255, 0.42);
  outline-offset: 0;
}

.hero-search-note {
  margin: 0;
  color: #b4bad8;
  font-size: 0.9rem;
}

.hero-platzi-metrics {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
}

.kicker {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(192, 38, 211, 0.5);
  background: rgba(192, 38, 211, 0.2);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin: 14px 0 12px;
  font-size: clamp(2rem, 4.5vw, 3.7rem);
  line-height: 1.03;
}

.hero p {
  margin: 0 0 18px;
  color: var(--qeres-muted);
  font-size: 1.04rem;
  max-width: 64ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-segments {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-proof {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-proof span {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #e6e8ff;
  padding: 7px 11px;
  font-size: 0.75rem;
  font-weight: 700;
}

.segment-pill {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(20, 0, 34, 0.7);
  color: #f1f2ff;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 700;
}

.segment-pill:hover {
  border-color: rgba(192, 38, 211, 0.52);
  background: rgba(192, 38, 211, 0.2);
}

.card {
  border: 1px solid var(--qeres-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(170deg, rgba(22, 8, 35, 0.92), rgba(14, 7, 24, 0.94));
}

.hero-stage {
  min-height: 430px;
  position: relative;
  box-shadow: 0 16px 30px rgba(8, 4, 16, 0.35);
}

.hero-stage img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  opacity: 0.85;
}

.hero-stage-overlay {
  position: absolute;
  inset: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  background: linear-gradient(130deg, rgba(10, 8, 18, 0.74), rgba(19, 5, 35, 0.6));
}

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

.metrics-intro {
  margin: 0;
  color: #cfd5f3;
  font-size: 0.88rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.metric {
  position: relative;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(18, 9, 27, 0.76);
  padding: 12px 12px 10px;
  min-height: 98px;
  display: grid;
  gap: 2px;
}

.metrics-primary .metric {
  background:
    radial-gradient(200px 90px at 0% 0%, rgba(169, 87, 255, 0.24), transparent 75%),
    rgba(19, 10, 31, 0.82);
}

.metrics-secondary .metric {
  background: rgba(14, 9, 26, 0.7);
  border-color: rgba(255, 255, 255, 0.14);
}

.metric::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 10px;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
}

.metric-growth::before {
  background: linear-gradient(90deg, #22d3ee, #3b82f6);
}

.metric-premium::before {
  background: linear-gradient(90deg, #f0abfc, #d946ef);
}

.metric-momentum::before {
  background: linear-gradient(90deg, #34d399, #22c55e);
}

.metric-label {
  margin-top: 8px;
  font-size: 0.76rem;
  color: #d2d8f5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.metric strong {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.05;
  display: block;
  margin-top: 2px;
}

.metric-sub {
  font-size: 0.8rem;
  color: #b7bedf;
  line-height: 1.35;
}

.section-head {
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.section-head > div {
  max-width: 76ch;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.28rem, 2.2vw, 2rem);
}

.section-head p {
  margin: 0;
  color: var(--qeres-muted);
  line-height: 1.5;
}

.scroll-cue {
  position: relative;
}

.scroll-cue::before,
.scroll-cue::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 8px;
  width: 44px;
  pointer-events: none;
  z-index: 2;
}

.scroll-cue::before {
  left: 0;
  background: linear-gradient(90deg, rgba(27, 21, 51, 0.95), rgba(27, 21, 51, 0));
}

.scroll-cue::after {
  right: 0;
  background: linear-gradient(270deg, rgba(27, 21, 51, 0.95), rgba(27, 21, 51, 0));
}

.scroll-hint {
  margin: 10px 0 0;
  color: #bfc5e8;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(285px, 1fr);
  overflow-x: auto;
  gap: 14px;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
  cursor: grab;
}

.row:active {
  cursor: grabbing;
}

.row::-webkit-scrollbar { height: 8px; }
.row::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(212, 190, 255, 0.35);
}

.promo-card {
  position: relative;
  min-height: 280px;
  cursor: pointer;
  scroll-snap-align: start;
}

.promo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px;
  background: linear-gradient(140deg, rgba(8, 7, 14, 0.75), rgba(28, 7, 49, 0.65));
}

.promo-overlay h3 {
  margin: 0;
  font-size: 1.25rem;
}

.promo-overlay p {
  margin: 0;
  color: #d7d9f4;
}

.course-card {
  cursor: pointer;
  overflow: hidden;
  border: 1px solid rgba(165, 182, 255, 0.24);
  background:
    radial-gradient(500px 180px at 10% 0%, rgba(186, 96, 255, 0.18), rgba(20, 16, 38, 0) 66%),
    linear-gradient(165deg, rgba(22, 15, 39, 0.95), rgba(12, 11, 26, 0.95));
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.course-card:hover {
  transform: translateY(-3px);
  border-color: rgba(132, 221, 255, 0.5);
  box-shadow: 0 18px 32px rgba(4, 5, 12, 0.5);
}

.course-media {
  height: 136px;
  position: relative;
}

.course-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: transform 0.5s ease;
}

.course-card:hover .course-media img {
  transform: scale(1.05);
}

.course-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 13, 34, 0.96), rgba(16, 13, 34, 0.18));
}

.pill {
  position: absolute;
  z-index: 1;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.69rem;
  font-weight: 800;
}

.pill.hours {
  left: 10px;
  top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pill.hours .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
}

.pill.new {
  right: 10px;
  bottom: 10px;
  background: var(--brand-primary);
}

.pill.category {
  position: static;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.34);
}

.pill.master {
  position: static;
  border: 1px solid rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.2);
  color: #ffe6bb;
}

.course-top-right {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.course-footer {
  padding: 12px 12px 14px;
  display: grid;
  gap: 8px;
}

.route-promo-card .course-footer {
  gap: 10px;
}

.route-promo-cta {
  width: 100%;
  justify-content: center;
}

.short-card {
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(165, 182, 255, 0.24);
  background:
    radial-gradient(460px 170px at 10% 0%, rgba(186, 96, 255, 0.2), rgba(20, 16, 38, 0) 68%),
    linear-gradient(165deg, rgba(22, 15, 39, 0.95), rgba(12, 11, 26, 0.95));
}

.short-media {
  position: relative;
  height: 100%;
  min-height: 320px;
}

.short-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.short-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27, 21, 51, 0.95), rgba(27, 21, 51, 0.12) 50%, rgba(27, 21, 51, 0.75));
}

.short-head {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 12px;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.short-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.short-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
}

.short-author-name {
  font-size: 0.76rem;
  font-weight: 700;
  color: #f4f5ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

.short-author-role {
  font-size: 0.67rem;
  color: #d2d6f2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.short-badges {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.short-body {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  display: grid;
  gap: 8px;
}

.short-title {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
}

.short-sub {
  margin: 0;
  font-size: 0.8rem;
  color: #cfd3ef;
}

.short-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.28);
  padding: 7px 11px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #f2f3ff;
}

.meta-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  color: #e9e9ff;
}

.course-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.28;
}

.course-sub {
  margin: 0;
  color: var(--qeres-muted);
  font-size: 0.84rem;
}

.teacher-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.teacher-chip {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 20px);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.35);
  padding: 4px 8px 4px 4px;
}

.teacher-avatar {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
}

.teacher-name {
  max-width: 124px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.7rem;
  color: #f0f2ff;
}

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

.grid.shorts .course-media { height: 320px; }

.page-head {
  padding: 44px 0 10px;
}

.page-head h1 {
  margin: 0 0 8px;
  font-size: clamp(1.78rem, 3vw, 3rem);
}

.page-head p {
  margin: 0;
  color: var(--qeres-muted);
  max-width: 70ch;
}

.filters {
  margin: 16px 0 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(20, 0, 34, 0.75);
  color: #e3e5ff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.chip.is-active {
  border-color: rgba(192, 38, 211, 0.55);
  background: rgba(192, 38, 211, 0.24);
}

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

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

.decision-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(160deg, rgba(18, 8, 32, 0.96), rgba(11, 7, 21, 0.94));
}

.decision-card-master {
  box-shadow: inset 0 0 0 1px rgba(212, 85, 255, 0.22);
}

.decision-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.decision-top h3 {
  margin: 0;
  font-size: 2rem;
}

.decision-badge {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 6px 10px;
  font-size: 0.74rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
}

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

.decision-list li {
  position: relative;
  padding-left: 30px;
}

.decision-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 1px;
  color: #34d399;
  font-weight: 900;
  font-size: 1.1rem;
}

.decision-actions {
  margin-top: 16px;
}

.panel { padding: 16px; }
.mini {
  margin: 0;
  color: var(--qeres-muted);
  font-size: 0.88rem;
}

.qplus-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(250px, 1fr);
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(780px 220px at 0% 0%, rgba(180, 92, 255, 0.18), transparent 72%),
    linear-gradient(165deg, rgba(18, 10, 33, 0.96), rgba(10, 8, 22, 0.95));
}

.qplus-teaser h2 {
  margin: 0 0 8px;
}

.qplus-teaser-copy {
  display: grid;
  gap: 10px;
}

.qplus-eyebrow {
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  padding: 5px 10px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e7e9ff;
}

.qplus-teaser-side {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  padding: 12px;
  display: grid;
  gap: 8px;
}

.qplus-pill {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 7, 18, 0.5);
  padding: 8px 10px;
  color: #d7dcf6;
  font-size: 0.82rem;
}

.qplus-hero {
  padding-top: 26px;
  padding-bottom: 42px;
}

.qplus-hero-shell {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background:
    linear-gradient(120deg, rgba(11, 10, 26, 0.82), rgba(22, 14, 40, 0.72)),
    radial-gradient(880px 340px at 8% 0%, rgba(174, 88, 255, 0.22), transparent 68%),
    url("media/cursomes-home.webp") center/cover no-repeat;
  padding: 22px;
  min-height: 340px;
  display: grid;
  align-items: center;
}

.qplus-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
}

.qplus-hero-copy {
  display: grid;
  gap: 12px;
  align-content: center;
  max-width: 760px;
}

.qplus-hero-shell .qplus-eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d7ddfa;
}

.qplus-hero-shell h1 {
  margin: 0;
  font-size: clamp(1.65rem, 2.8vw, 2.6rem);
  line-height: 1.04;
}

.qplus-hero-shell p {
  margin: 0;
  max-width: 74ch;
  color: #d8ddf8;
}

.qplus-hero-actions {
  margin-top: 2px;
}

.qplus-hero-proof {
  margin-top: 2px;
}

.qplus-hero-proof .tag {
  background: rgba(255, 255, 255, 0.09);
}

.qplus-hero-media {
  display: none;
}

.pricing-intro {
  margin-bottom: 12px;
}

.pricing-grid-b2c {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: none;
  gap: 16px;
  align-items: start;
}

.plan-card-tier {
  border: 1px solid rgba(167, 188, 255, 0.28);
  background: linear-gradient(160deg, rgba(56, 50, 90, 0.88), rgba(47, 44, 82, 0.86));
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
}

.plan-card-tier-featured {
  border-color: rgba(91, 209, 255, 0.52);
  box-shadow: 0 14px 24px rgba(7, 5, 20, 0.28), inset 0 0 0 1px rgba(91, 209, 255, 0.2);
  background:
    radial-gradient(520px 180px at 0% 0%, rgba(75, 219, 255, 0.12), transparent 68%),
    linear-gradient(160deg, rgba(62, 56, 96, 0.9), rgba(45, 48, 84, 0.88));
}

.plan-tier-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.plan-tier-head h3 {
  margin: 0;
  font-size: clamp(1.25rem, 1.65vw, 1.85rem);
  line-height: 1.05;
}

.plan-tier-badge {
  border-radius: 999px;
  border: 1px solid rgba(116, 229, 255, 0.6);
  background: rgba(116, 229, 255, 0.14);
  color: #c8f7ff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  white-space: nowrap;
}

.plan-tier-badge-accent {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.13);
  color: #ffe7bf;
}

.plan-feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
}

.plan-feature-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0 0 8px 0;
  font-size: 0.95rem;
  line-height: 1.2;
}

.plan-feature-list li span {
  color: #e4e8fb;
}

.plan-feature-list li strong {
  color: #a8ffd9;
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 700;
}

.plan-feature-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.plan-feature-list li:last-child strong {
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.plan-feature-off span {
  text-decoration: line-through;
  color: rgba(228, 232, 251, 0.58);
}

.plan-feature-off strong {
  color: rgba(234, 245, 255, 0.55);
  font-size: 1.1rem;
}

.plan-tier-note {
  margin: 0;
  color: #d6dbf6;
}

.plan-tier-trial {
  margin: 0;
  font-size: 0.86rem;
  color: #f2f0cd;
  font-weight: 700;
}

.plan-tier-trial-highlight {
  color: #f2c7ff;
}

.plan-card-tier .plan-price {
  font-size: clamp(2rem, 2.4vw, 2.45rem);
  line-height: 1;
}

.plan-card-tier .plan-price small {
  font-size: 0.62em;
  color: #d7defa;
}

.plan-card-tier .btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

.qplus-topic-tags {
  margin-bottom: 12px;
}

.qplus-topic-tags .tag {
  background: rgba(255, 255, 255, 0.06);
}

.qplus-short-grid .short-card {
  min-height: 300px;
}

.qplus-short-grid .short-title {
  font-size: 1rem;
}

.qplus-rails {
  gap: clamp(110px, 14vw, 168px);
  margin-top: 34px;
}

.qplus-rails .rail-panel {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  position: relative;
}

.qplus-rails .rail-panel + .rail-panel {
  border-top: 0;
  padding-top: 0;
}

.qplus-rails .rail-head {
  margin-bottom: 34px;
}

.qplus-rails .home-course-grid {
  gap: 26px;
}

.qplus-rails .course-card,
.qplus-rails .short-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(163, 175, 232, 0.25);
}

.qplus-rails .course-card:hover,
.qplus-rails .short-card:hover {
  border-color: rgba(149, 233, 255, 0.45);
}

.qplus-rails .course-media::after {
  background: linear-gradient(to top, rgba(20, 17, 37, 0.96), rgba(20, 17, 37, 0.24));
}

.tech-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.tech-card {
  border: 1px solid rgba(167, 188, 255, 0.26);
  background:
    radial-gradient(420px 160px at 8% 0%, rgba(186, 96, 255, 0.2), rgba(20, 16, 38, 0) 65%),
    linear-gradient(165deg, rgba(25, 18, 43, 0.95), rgba(13, 12, 30, 0.95));
  padding: 18px;
  display: grid;
  gap: 12px;
}

.tech-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(116, 229, 255, 0.42);
  background: rgba(116, 229, 255, 0.12);
  display: inline-grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #caf8ff;
}

.tech-copy {
  display: grid;
  gap: 8px;
}

.tech-copy h3 {
  margin: 0;
  font-size: 1.28rem;
}

.tech-copy p {
  margin: 0;
  color: #d0d7f3;
  line-height: 1.5;
}

.tech-kpi {
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 11px;
  font-size: 0.76rem;
  color: #e6ebff;
  font-weight: 700;
}

.qplus-tech-actions {
  margin-top: 16px;
}

.route-link-inline {
  text-decoration: none;
  color: #d5dbf8;
}

.route-link-inline:hover {
  color: #f3f6ff;
  text-decoration: underline;
}

.route-platform-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #151226;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.route-platform-media {
  position: relative;
  height: 176px;
}

.route-platform-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
}

.route-platform-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #151226, rgba(21, 18, 38, 0.45), transparent);
}

.route-platform-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.route-platform-title {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
}

.route-platform-specialty {
  font-size: 0.67rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
}

.route-platform-title h3 {
  margin: 4px 0 0;
  color: #fff;
  font-size: 1.08rem;
  line-height: 1.2;
}

.route-platform-body {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.route-platform-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.route-platform-metric {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 7px;
  text-align: center;
  display: grid;
  gap: 3px;
}

.route-platform-metric span {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.64);
}

.route-platform-metric strong {
  font-size: 0.92rem;
  color: #fff;
}

.route-platform-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.66);
}

.route-platform-progress {
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.route-platform-progress span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #d946ef, #7c3aed);
}

.route-platform-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.68);
}

.route-platform-cta {
  width: 100%;
  justify-content: center;
}

.route-platform-locked {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.32);
  padding: 7px 9px;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.86);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.qplus-b2b-cta {
  margin: 12px auto 0;
  width: 100%;
  max-width: none;
  border-radius: 12px;
  border: 1px solid rgba(156, 177, 255, 0.26);
  background:
    radial-gradient(700px 200px at 8% 0%, rgba(182, 99, 255, 0.14), rgba(20, 16, 38, 0) 70%),
    linear-gradient(150deg, rgba(25, 18, 42, 0.94), rgba(16, 14, 34, 0.94));
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
}

.qplus-b2b-copy {
  display: grid;
  gap: 4px;
}

.qplus-b2b-copy h3 {
  margin: 0;
  font-size: 1.1rem;
}

.qplus-b2b-copy p {
  margin: 0;
  color: #d5ddf8;
  font-size: 0.86rem;
}

.qplus-b2b-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.qplus-rows {
  display: grid;
  gap: 12px;
}

.qplus-row {
  padding: 14px;
}

.qplus-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.qplus-row-head h3 {
  margin: 0;
  font-size: 1.2rem;
}

.qplus-row-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 1fr);
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.qplus-mini-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(165deg, rgba(16, 12, 30, 0.95), rgba(11, 10, 24, 0.94));
}

.qplus-mini-media {
  position: relative;
  height: 110px;
}

.qplus-mini-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qplus-mini-label {
  position: absolute;
  left: 8px;
  top: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(7, 5, 18, 0.58);
  color: #f4f6ff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
}

.qplus-mini-body {
  padding: 10px;
  display: grid;
  gap: 6px;
}

.qplus-mini-body h4 {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.35;
  color: #f1f4ff;
}

.qplus-mini-body p {
  margin: 0;
  color: #bfc6e8;
  font-size: 0.74rem;
}

.home-change {
  padding: 20px;
  display: grid;
  grid-template-columns: 220px 1fr 300px;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(760px 260px at 86% 88%, rgba(113, 25, 224, 0.26), transparent 70%),
    linear-gradient(170deg, rgba(21, 9, 32, 0.96), rgba(12, 7, 22, 0.94));
}

.home-change-logo {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  min-height: 102px;
  display: grid;
  place-items: center;
  padding: 14px;
}

.home-change-logo img {
  width: 160px;
}

.home-change-body {
  display: grid;
  gap: 10px;
}

.home-change-kpis {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.change-kpi {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 12px;
}

.change-kpi strong {
  display: block;
  font-size: 1.26rem;
}

.change-kpi span {
  color: #d0d3ec;
  font-size: 0.8rem;
}

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

.value-pill-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background:
    radial-gradient(240px 120px at 18% 0%, rgba(128, 98, 255, 0.2), transparent 74%),
    linear-gradient(165deg, rgba(20, 10, 34, 0.96), rgba(10, 8, 21, 0.94));
  padding: 16px 14px;
  display: grid;
  gap: 6px;
}

.value-pill-icon {
  width: 68px;
  height: 68px;
  display: block;
  color: #d8e0ff;
  opacity: 0.95;
}

.value-pill-icon path,
.value-pill-icon rect,
.value-pill-icon circle,
.value-pill-icon line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-pill-card h3 {
  margin: 8px 0 4px;
  font-size: 0.96rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.value-pill-card p {
  margin: 0;
  color: #d0d4ec;
  font-size: 0.84rem;
  line-height: 1.52;
}

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

.enterprise-shell {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 20px;
  background:
    radial-gradient(840px 240px at 14% 0%, rgba(86, 206, 255, 0.12), transparent 75%),
    linear-gradient(165deg, rgba(12, 9, 23, 0.95), rgba(8, 7, 18, 0.95));
}

.enterprise-card {
  border: 1px solid rgba(90, 163, 255, 0.34);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(8, 7, 18, 0.97), rgba(7, 6, 16, 0.97));
  padding: 16px;
  display: grid;
  gap: 11px;
}

.enterprise-icon {
  width: 72px;
  height: 72px;
  display: block;
  color: #dbe3ff;
}

.enterprise-icon path,
.enterprise-icon rect,
.enterprise-icon circle,
.enterprise-icon line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.enterprise-card h3 {
  margin: 0;
  color: #e6ebff;
  font-size: 1.18rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.enterprise-card p {
  margin: 0;
  color: #d0d4ec;
  font-size: 0.86rem;
  line-height: 1.52;
}

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

.enterprise-list li {
  color: #d8dcf4;
  font-size: 0.82rem;
  line-height: 1.45;
  padding-left: 18px;
  position: relative;
}

.enterprise-list li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  top: 0;
  color: #7bc3ff;
  font-size: 1rem;
  line-height: 1;
}

.enterprise-card .btn {
  width: fit-content;
}

.home-story {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: center;
}

.home-story-mark {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: radial-gradient(circle at 20% 20%, rgba(192, 38, 211, 0.28), rgba(147, 51, 234, 0.08));
  display: grid;
  place-items: center;
}

.home-story-mark img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.icon-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  display: inline-grid;
  place-items: center;
}

.icon-badge svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #e7e9ff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

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

.feature-card {
  display: grid;
  grid-template-columns: 180px 1fr;
}

.feature-media {
  position: relative;
  min-height: 100%;
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 8, 24, 0.1), rgba(14, 8, 24, 0.72));
}

.feature-body {
  padding: 16px;
  display: grid;
  gap: 10px;
  align-content: center;
}

.feature-body h3 {
  margin: 0;
  font-size: 1.2rem;
}

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

.solution-card {
  display: grid;
  grid-template-rows: 150px 1fr;
}

.solution-media img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  opacity: 0.88;
}

.solution-body {
  padding: 14px;
  display: grid;
  gap: 8px;
}

.solution-body h3 {
  margin: 0;
  font-size: 1.25rem;
}

.home-vision {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(860px 300px at 8% 0%, rgba(163, 78, 245, 0.24), rgba(69, 96, 220, 0.1) 48%, transparent 76%),
    linear-gradient(118deg, rgba(72, 31, 111, 0.86), rgba(24, 40, 96, 0.72));
}

.home-vision-symbol {
  width: 190px;
  height: 190px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(14, 9, 29, 0.35);
  display: grid;
  place-items: center;
}

.home-vision-symbol svg {
  width: 120px;
  height: 120px;
  color: #f6f7ff;
}

.home-vision-symbol rect,
.home-vision-symbol circle,
.home-vision-symbol line {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
}

.home-vision-copy h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.4vw, 2.5rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.home-vision-copy p {
  margin: 12px 0 0;
  color: #d9def8;
  line-height: 1.55;
  font-size: 0.98rem;
  max-width: 74ch;
}

.home-vision-sign {
  color: #f15be7;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.home-vision-copy .hero-cta {
  margin-top: 16px;
}

.home-vision-divider {
  grid-column: 1 / -1;
  margin-top: 8px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.08));
}

.home-rails {
  display: grid;
  gap: 12px;
}

.home-rails.qplus-rails {
  row-gap: clamp(76px, 10vw, 122px);
  margin-top: 28px;
}

.rail-panel {
  padding: 18px;
}

.rail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 10px;
}

.rail-head h3 {
  margin: 0;
  font-size: 1.9rem;
}

.rail-head p {
  margin: 0;
  max-width: 52ch;
}

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

.faculty-grid,
.faculty-row {
  display: grid;
  gap: 14px;
}

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

.faculty-row {
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 1fr);
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
}

.faculty-row::-webkit-scrollbar { height: 8px; }
.faculty-row::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(212, 190, 255, 0.35);
}

.faculty-row.is-compact {
  grid-auto-columns: minmax(290px, 1fr);
}

.faculty-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(165deg, rgba(32, 22, 58, 0.92), rgba(20, 20, 44, 0.9));
  scroll-snap-align: start;
}

.faculty-row.is-minimal .faculty-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(165deg, rgba(38, 31, 66, 0.88), rgba(24, 20, 48, 0.88));
}

.faculty-row.is-minimal .faculty-media {
  height: 194px;
  background: linear-gradient(170deg, rgba(106, 86, 188, 0.28), rgba(63, 104, 182, 0.2));
}

.faculty-row.is-minimal .faculty-media img {
  object-fit: cover;
  object-position: center top;
  padding: 0;
  filter: saturate(0.94) contrast(0.98) brightness(0.95);
}

.faculty-row.is-minimal .faculty-media::after {
  display: none;
}

.faculty-row.is-minimal .faculty-body {
  margin-top: 0;
  padding: 12px;
}

.faculty-row.is-minimal .faculty-body h3 {
  font-size: 1rem;
}

.faculty-row.is-minimal .faculty-body p {
  font-size: 0.82rem;
  color: #c2c9eb;
}

.faculty-media {
  height: 220px;
  position: relative;
  background:
    radial-gradient(640px 200px at 18% 0%, rgba(176, 98, 255, 0.26), rgba(82, 122, 226, 0.16) 55%, transparent 78%),
    linear-gradient(180deg, rgba(34, 30, 60, 0.95), rgba(22, 20, 47, 0.96));
}

.faculty-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  padding: 0;
  filter: saturate(0.96) contrast(0.98) brightness(0.94);
}

.faculty-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 56%;
  background: linear-gradient(180deg, rgba(22, 20, 47, 0), rgba(22, 20, 47, 0.86));
  pointer-events: none;
}

.faculty-media img.is-fallback {
  object-fit: contain;
  padding: 26px;
  opacity: 0.9;
}

.faculty-body {
  position: relative;
  z-index: 1;
  margin-top: -22px;
  padding: 0 12px 14px;
  display: grid;
  gap: 6px;
}

.faculty-body h3 {
  margin: 0;
  font-size: 1.04rem;
}

.faculty-body p {
  margin: 0;
  color: #cad0ed;
  font-size: 0.84rem;
  line-height: 1.45;
}

.faculty-card-compact {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(158, 176, 255, 0.25);
  background:
    radial-gradient(360px 140px at 4% 0%, rgba(175, 104, 255, 0.28), transparent 72%),
    linear-gradient(140deg, rgba(44, 35, 76, 0.9), rgba(24, 28, 58, 0.88));
}

.faculty-avatar {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(160deg, rgba(138, 112, 232, 0.35), rgba(88, 132, 217, 0.28));
}

.faculty-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.94) contrast(0.98) brightness(0.95);
}

.faculty-card-compact .faculty-body {
  margin-top: 0;
  padding: 0;
}

.audience-card {
  display: grid;
  grid-template-rows: 160px 1fr;
}

.audience-media img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  opacity: 0.9;
}

.audience-body {
  padding: 14px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.audience-body h3 {
  margin: 0;
  font-size: 1.25rem;
}

.audience-body .mini {
  line-height: 1.45;
}

.audience-link {
  margin-top: 6px;
  width: fit-content;
  font-size: 0.82rem;
  padding: 8px 12px;
}

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

.home-course-grid .course-media {
  height: 144px;
}

.home-course-grid .course-title {
  font-size: 1.08rem;
}

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

.content-area-card {
  position: relative;
  display: grid;
  grid-template-columns: 78px 1fr auto;
  align-items: center;
  gap: 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 12px 14px;
  background:
    linear-gradient(90deg, rgba(8, 7, 17, 0.96), rgba(10, 9, 23, 0.96)) padding-box,
    linear-gradient(92deg, rgba(241, 89, 239, 0.66), rgba(112, 182, 255, 0.7)) border-box;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 10px 22px rgba(7, 5, 16, 0.34);
}

.content-area-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(150, 187, 255, 0.56);
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 25% 24%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.02) 55%),
    linear-gradient(180deg, rgba(36, 36, 66, 0.74), rgba(17, 15, 36, 0.9));
}

.content-area-icon img {
  width: 38px;
  height: 38px;
}

.content-area-icon svg {
  width: 30px;
  height: 30px;
  color: #dce4ff;
}

.content-area-icon svg path,
.content-area-icon svg rect,
.content-area-icon svg circle,
.content-area-icon svg line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.content-area-main h3 {
  margin: 0;
  font-size: 1.16rem;
  letter-spacing: 0.02em;
  color: #edf1ff;
  text-transform: none;
}

.content-area-main p {
  margin: 6px 0 0;
  color: #cad2f2;
  font-size: 0.88rem;
  line-height: 1.5;
}

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

.plan-card {
  padding: 16px;
  display: grid;
  gap: 12px;
}

.plan-price {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
}

.plan-price small {
  font-size: 0.84rem;
  color: var(--qeres-muted);
}

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

.media-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.media-body {
  padding: 12px;
  display: grid;
  gap: 8px;
}

.media-title {
  margin: 0;
  font-size: 1rem;
}

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

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  min-width: 640px;
}

.table-wrap th,
.table-wrap td {
  border: 1px solid var(--qeres-line);
  padding: 10px 12px;
  font-size: 0.9rem;
}

.table-wrap th {
  text-align: left;
  background: rgba(255, 255, 255, 0.06);
}

.form-grid {
  display: grid;
  gap: 12px;
}

.lead-form-host {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(16, 12, 31, 0.92), rgba(10, 9, 22, 0.96));
}

.lead-form-host .hbspt-form {
  color: #eef1ff;
}

.lead-form-host .hbspt-form form {
  margin: 0;
}

.lead-form-host .hbspt-form label,
.lead-form-host .hbspt-form .hs-richtext,
.lead-form-host .hbspt-form .hs-form-field > label {
  color: #dce1fb !important;
  font-size: 0.86rem;
}

.lead-form-host .hbspt-form input,
.lead-form-host .hbspt-form select,
.lead-form-host .hbspt-form textarea {
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: #eef1ff !important;
  padding: 10px 12px !important;
}

.lead-form-host .hbspt-form input::placeholder,
.lead-form-host .hbspt-form textarea::placeholder {
  color: #aeb4d8 !important;
}

.lead-form-host .hbspt-form input[type="submit"],
.lead-form-host .hbspt-form .hs-button {
  border: 0 !important;
  border-radius: 999px !important;
  min-height: 40px !important;
  padding: 10px 16px !important;
  color: #fff !important;
  font-weight: 750 !important;
  background: linear-gradient(120deg, var(--brand-primary), var(--brand-secondary)) !important;
}

.typeform-shell {
  border-radius: 12px;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.typeform-embed {
  width: 100%;
  min-height: 520px;
  border: 0;
}

.lead-fallback-form {
  margin: 0;
}

.lead-success {
  border: 1px solid rgba(52, 211, 153, 0.42);
  background: rgba(52, 211, 153, 0.12);
  color: #dcfff0;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 600;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 0.83rem;
  color: #eef0ff;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--qeres-line);
  background: rgba(255, 255, 255, 0.04);
  color: #f7f8ff;
  padding: 10px 12px;
  font: inherit;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #b4b7d9;
}

.lead-consent label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.35;
}

.lead-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: #8b5cf6;
}

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

.faq-item {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(160deg, rgba(16, 11, 30, 0.95), rgba(10, 8, 22, 0.94));
}

.faq-item h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
}

.faq-item p {
  margin: 0;
  color: var(--qeres-muted);
  font-size: 0.86rem;
}

.section-final-cta {
  padding-top: 86px;
}

.final-cta-card {
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(700px 260px at 6% 0%, rgba(172, 69, 255, 0.22), transparent 72%),
    linear-gradient(170deg, rgba(19, 10, 33, 0.96), rgba(10, 8, 22, 0.95));
}

.final-cta-main h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
}

.final-cta-main p {
  margin: 12px 0 0;
  color: #d3d8f3;
  font-size: 1rem;
  line-height: 1.55;
  max-width: 48ch;
}

.final-cta-main .hero-cta {
  margin-top: 16px;
}

.final-cta-side {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  padding: 14px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.final-cta-side h3 {
  margin: 0;
  font-size: 1rem;
}

.final-cta-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.final-cta-list li {
  position: relative;
  padding-left: 18px;
  color: #d8ddf6;
  font-size: 0.86rem;
  line-height: 1.45;
}

.final-cta-list li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  top: 0;
  color: #8fc7ff;
  font-size: 1rem;
  line-height: 1;
}

.final-cta-side .btn {
  width: fit-content;
}

.check-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.check-list li::before {
  content: "\2713";
  color: var(--ok);
  font-weight: 800;
  margin-right: 8px;
}

.detail-hero {
  position: relative;
  min-height: 320px;
}

.detail-hero img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  opacity: 0.85;
}

.detail-overlay {
  position: absolute;
  inset: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(17, 13, 30, 0.95), rgba(17, 13, 30, 0.18));
}

.detail-overlay h1 {
  margin: 6px 0;
  font-size: clamp(1.65rem, 3.2vw, 3rem);
}

.detail-body {
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 14px;
}

.detail-box {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  padding: 14px;
}

.detail-box h3 { margin: 0 0 8px; }
.detail-box p { margin: 0; color: var(--qeres-muted); }

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

.timeline-item {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 10px;
  background: rgba(10, 6, 16, 0.65);
}

.timeline-item p { margin: 0; color: var(--qeres-muted); font-size: 0.85rem; }

.course-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 352px;
  gap: 26px;
  align-items: stretch;
}

.course-detail-main {
  display: grid;
  gap: 18px;
}

.course-detail-hero {
  padding: 24px;
  border: 1px solid rgba(173, 188, 255, 0.28);
  background:
    radial-gradient(680px 220px at 2% 0%, rgba(180, 92, 255, 0.22), transparent 72%),
    linear-gradient(155deg, rgba(39, 30, 71, 0.92), rgba(26, 24, 56, 0.9));
}

.course-detail-hero h1 {
  margin: 10px 0 0;
  font-size: clamp(1.9rem, 3.1vw, 3.2rem);
  line-height: 1.02;
}

.course-detail-topline {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

.course-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: #b8c4ee;
  font-size: 0.8rem;
}

.course-breadcrumb a {
  color: #d5defd;
  text-decoration: none;
}

.course-breadcrumb a:hover {
  text-decoration: underline;
}

.course-breadcrumb span {
  opacity: 0.6;
}

.course-breadcrumb strong {
  color: #f0f4ff;
  font-weight: 700;
}

.course-detail-rating {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 8, 20, 0.56);
  padding: 8px 12px;
}

.course-stars {
  color: #facc15;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
}

.course-detail-rating strong {
  font-size: 0.98rem;
  color: #f8f9ff;
}

.course-detail-rating span {
  color: #d1d8f8;
  font-size: 0.86rem;
}

.course-detail-published {
  margin: 10px 0 0;
  color: #c5cdef;
}

.course-detail-lead {
  margin: 14px 0 0;
  color: #e2e7fb;
  line-height: 1.55;
  max-width: 74ch;
}

.course-detail-metrics {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.course-metric-pill {
  border-radius: 999px;
  border: 1px solid rgba(164, 184, 255, 0.34);
  background: rgba(17, 15, 37, 0.65);
  color: #e8edff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 12px;
}

.course-detail-section {
  padding: 20px;
  border: 1px solid rgba(162, 178, 239, 0.22);
  background: linear-gradient(160deg, rgba(18, 15, 34, 0.9), rgba(12, 11, 28, 0.92));
  display: grid;
  gap: 14px;
}

.course-detail-section h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.1vw, 2.1rem);
  line-height: 1.08;
}

.course-detail-section p {
  margin: 0;
  color: #d3daf7;
  line-height: 1.56;
}

.course-bullet-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  color: #e7ebff;
}

.course-accordion {
  display: grid;
  gap: 8px;
}

.course-accordion-item {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.course-accordion-item summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 0.92rem;
  color: #edf1ff;
}

.course-accordion-item summary::-webkit-details-marker {
  display: none;
}

.course-accordion-item p {
  padding: 0 14px 12px;
  margin: 0;
  color: #c7cff0;
  font-size: 0.88rem;
}

.course-detail-aside {
  position: relative;
  align-self: stretch;
}

.course-sticky-card {
  position: sticky;
  top: calc(var(--topbar-height) + 18px);
  max-height: calc(100vh - var(--topbar-height) - 32px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(137, 234, 255, 0.3);
  background: linear-gradient(165deg, rgba(25, 21, 44, 0.95), rgba(15, 15, 32, 0.96));
}

.course-sticky-media {
  position: relative;
  height: 196px;
}

.course-sticky-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
}

.course-sticky-overlay {
  position: absolute;
  inset: 0;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  background: linear-gradient(to top, rgba(10, 10, 24, 0.92), rgba(10, 10, 24, 0.15));
}

.course-sticky-overlay span {
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #cdd6f8;
}

.course-sticky-overlay strong {
  font-size: 1rem;
  line-height: 1.2;
}

.course-sticky-overlay p {
  margin: 0;
  color: #d7def8;
  font-size: 0.8rem;
}

.course-sticky-body {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.course-sticky-body .btn {
  width: 100%;
  justify-content: center;
}

.course-sticky-plan {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 12px;
  display: grid;
  gap: 6px;
}

.course-sticky-plan span {
  color: #c6cff2;
  font-size: 0.78rem;
}

.course-sticky-plan strong {
  font-size: 1.1rem;
}

.course-sticky-price {
  color: #90f3d6;
  font-weight: 800;
  font-size: 1.22rem;
}

.course-sticky-plan p {
  margin: 0;
  color: #d2daf8;
  font-size: 0.82rem;
  line-height: 1.5;
}

.course-sticky-launch {
  border: 1px solid rgba(143, 197, 255, 0.24);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 10px;
  display: grid;
  gap: 6px;
}

.course-sticky-launch-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.course-sticky-launch-head span {
  color: #c6cff2;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.course-sticky-launch-head strong {
  color: #f2f6ff;
  font-size: 0.9rem;
}

.course-sticky-launch p {
  margin: 0;
  color: #d2daf8;
  font-size: 0.78rem;
}

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

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-card-body {
  padding: 12px;
  display: grid;
  gap: 8px;
}

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

.blog-card-body p {
  margin: 0;
  color: var(--qeres-muted);
  font-size: 0.86rem;
}

.floating-cta {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 55;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
  padding: 11px 16px;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(147, 51, 234, 0.45);
}

.footer {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 26px 0 34px;
  color: #bfc3e8;
}

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

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}

.footer-brand .brand-mark {
  width: 48px;
  height: 48px;
}

.footer-brand .company-icon {
  width: 34px;
  height: 34px;
}

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

.footer-brand-copy strong {
  font-size: 1.02rem;
  color: #eef1ff;
}

.footer-brand-copy p {
  margin: 0;
  max-width: 76ch;
  color: #bfc4e8;
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-badges span {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 10px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #dce0f6;
}

.footer-links {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

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

.footer-col h4 {
  margin: 0;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #eef2ff;
}

.footer-col a {
  color: #bac1e8;
  font-size: 0.86rem;
}

.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.82rem;
  color: #aeb5df;
}

.footer-bottom a {
  color: #d6dcfb;
}

/* modal estilo NewCourseModal */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(2px);
  z-index: 95;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.content-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.26s ease, visibility 0.26s ease;
}

.content-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.content-modal-panel {
  width: min(980px, 96vw);
  border: 1px solid rgba(177, 197, 255, 0.32);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 34px 56px rgba(2, 3, 10, 0.6);
  background:
    radial-gradient(840px 280px at 4% 0%, rgba(199, 102, 255, 0.2), rgba(20, 14, 38, 0) 70%),
    linear-gradient(145deg, #1a1234, #15122f 55%, #0f1025);
  transform: translateY(18px) scale(0.97);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease;
}

.content-modal.is-open .content-modal-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-media {
  position: relative;
  height: 260px;
}

.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
}

.modal-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 14, 34, 0.96), rgba(16, 14, 34, 0.26));
}

.modal-head {
  position: absolute;
  inset: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  z-index: 1;
}

.modal-head h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
}

.modal-body {
  padding: 18px;
  display: grid;
  gap: 12px;
  background: linear-gradient(180deg, rgba(18, 15, 35, 0.96), rgba(13, 12, 28, 0.96));
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
}

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

.lead-overlay {
  z-index: 106;
}

.lead-form-modal {
  z-index: 110;
}

.lead-form-modal-panel {
  width: min(760px, 94vw);
  border-radius: 22px;
}

.lead-modal-body {
  gap: 14px;
}

.lead-modal-body h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
}

.empty {
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 16px;
  color: var(--qeres-muted);
}

@media (max-width: 1080px) {
  .topbar-main-inner {
    grid-template-columns: auto minmax(220px, 1fr) auto;
  }
  .topbar-search {
    width: 100%;
    max-width: 430px;
  }
  .topbar-lang { display: none; }
  .hero-grid,
  .split,
  .detail-body { grid-template-columns: 1fr; }
  .grid,
  .blog-list,
  .pricing-grid,
  .showcase-grid,
  .feature-grid,
  .solution-grid,
  .value-pill-grid,
  .enterprise-grid,
  .faculty-grid,
  .audience-grid,
  .decision-grid,
  .home-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faculty-row { grid-auto-columns: minmax(240px, 1fr); }
  .feature-card { grid-template-columns: 1fr; }
  .home-vision { grid-template-columns: 1fr; }
  .home-vision-symbol { width: 160px; height: 160px; }
  .home-vision-symbol svg { width: 96px; height: 96px; }
  .home-change { grid-template-columns: 1fr; }
  .home-change-logo { justify-self: start; width: min(260px, 100%); }
  .home-change-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .qplus-teaser { grid-template-columns: 1fr; }
  .pricing-grid-b2c { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qplus-hero-grid { grid-template-columns: 1fr; }
  .qplus-hero-media { min-height: 230px; }
  .tech-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .final-cta-card { grid-template-columns: 1fr; }
  .enterprise-shell { padding: 16px; }
  .scroll-cue::before,
  .scroll-cue::after { width: 28px; }
  .content-area-card { grid-template-columns: 72px 1fr; }
  .content-area-card .btn { justify-self: start; }
}

@media (max-width: 900px) {
  .course-sticky-card {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .course-detail-layout {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .course-detail-aside {
    order: -1;
    width: 100%;
  }
  .course-sticky-media {
    height: 172px;
  }
}

@media (max-width: 860px) {
  :root { --topbar-height: 58px; }
  .topbar-main {
    min-height: 58px;
  }
  .topbar-main-inner {
    grid-template-columns: auto 1fr auto;
  }
  .topbar-search {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
    border: 1px solid var(--qeres-line);
    background: rgba(20, 0, 34, 0.85);
    color: #fff;
  }
  .topbar-lang,
  .topbar-login { display: none; }
  .topbar-cta { padding-inline: 12px; font-size: 0.82rem; }
  .brand-copy em { display: none; }
  .metrics,
  .grid,
  .blog-list,
  .pricing-grid,
  .showcase-grid,
  .feature-grid,
  .solution-grid,
  .value-pill-grid,
  .enterprise-grid,
  .faculty-grid,
  .audience-grid,
  .decision-grid,
  .home-course-grid { grid-template-columns: 1fr; }
  .faculty-row { grid-auto-columns: minmax(220px, 1fr); }
  .home-story,
  .home-vision { grid-template-columns: 1fr; }
  .hero-platform-carousel {
    height: clamp(330px, 62vh, 470px);
  }
  .hero-platform-content {
    width: min(var(--max), 92vw);
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    bottom: 56px;
  }
  .hero-platform-content h1 {
    font-size: clamp(1.55rem, 8.5vw, 2.6rem);
    max-width: 18ch;
  }
  .hero-platform-content p {
    font-size: 0.9rem;
  }
  .hero-platform-topics {
    gap: 6px;
  }
  .hero-topic-chip {
    font-size: 0.74rem;
    padding: 6px 10px;
  }
  .hero-platform-actions .btn {
    width: 100%;
  }
  .hero-platform-arrow {
    display: none;
  }
  .hero-platform-dots {
    left: 50%;
    transform: translateX(-50%);
    bottom: 14px;
  }
  .hero-platzi { padding-top: 58px; padding-bottom: 42px; }
  .hero-platzi h1 { font-size: clamp(1.85rem, 8.5vw, 2.65rem); }
  .hero-search-label { font-size: 1.3rem; }
  .hero-search-form { grid-template-columns: 1fr; }
  .hero-search-form .btn { width: 100%; }
  .hero-platzi-inner { gap: 12px; }
  .brand-copy strong { font-size: 0.95rem; }
  .home-vision { padding: 16px; gap: 14px; }
  .home-vision-symbol { width: 124px; height: 124px; border-radius: 14px; }
  .home-vision-symbol svg { width: 76px; height: 76px; }
  .home-vision-copy h2 { font-size: clamp(1.25rem, 8vw, 1.8rem); }
  .home-vision-copy p { font-size: 0.9rem; }
  .decision-top h3 { font-size: 1.65rem; }
  .home-change-kpis { grid-template-columns: 1fr; }
  .hero-proof { gap: 6px; }
  .hero-proof span { font-size: 0.72rem; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head .btn { align-self: flex-start; }
  .qplus-teaser .hero-cta .btn { width: 100%; }
  .pricing-grid-b2c { grid-template-columns: 1fr; }
  .plan-feature-list { grid-template-columns: 1fr; }
  .qplus-hero-shell { padding: 16px; }
  .qplus-hero-shell h1 { font-size: clamp(1.7rem, 8.8vw, 2.5rem); }
  .qplus-hero-actions .btn { width: 100%; }
  .qplus-hero-proof .tag { font-size: 0.62rem; }
  .tech-showcase { grid-template-columns: 1fr; }
  .qplus-row-track { grid-auto-columns: minmax(168px, 1fr); }
  .qplus-row-head { flex-direction: column; align-items: flex-start; }
  .qplus-b2b-cta {
    grid-template-columns: 1fr;
  }
  .qplus-b2b-actions {
    width: 100%;
    display: grid;
    gap: 8px;
  }
  .qplus-b2b-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .final-cta-card { padding: 16px; }
  .final-cta-main .hero-cta .btn { width: 100%; }
  .final-cta-side .btn { width: 100%; }
  .scroll-cue::before,
  .scroll-cue::after { display: none; }
  .scroll-hint { font-size: 0.74rem; }
  .enterprise-shell { padding: 14px; border-radius: 18px; }
  .content-area-card {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .content-area-icon { width: 54px; height: 54px; }
  .content-area-main h3 { font-size: 1.12rem; }
  .content-area-main p { font-size: 0.82rem; }
  .audience-link { width: 100%; }
  .rail-head { flex-direction: column; align-items: flex-start; }
  .rail-head h3 { font-size: 1.4rem; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .floating-cta { left: 12px; right: 12px; text-align: center; }
  .modal-media { height: 220px; }
}

@media (max-width: 560px) {
  .company-wordmark {
    width: 144px;
  }
  .footer-links {
    grid-template-columns: 1fr;
  }
}:root {
  --qeres-bg: #1b1533;
  --qeres-surface: #140022;
  --qeres-surface-2: #110d1e;
  --qeres-line: rgba(255, 255, 255, 0.12);
  --qeres-text: #f3f4ff;
  --qeres-muted: #c7c9e9;
  --brand-primary: #c026d3;
  --brand-secondary: #9333ea;
  --ok: #34d399;
  --warn: #f59e0b;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --max: 1220px;
  --topbar-height: 64px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(1200px 520px at -6% -10%, rgba(108, 72, 196, 0.28), rgba(34, 20, 59, 0) 65%),
    radial-gradient(1000px 460px at 108% 2%, rgba(56, 189, 248, 0.18), rgba(16, 9, 32, 0) 60%),
    linear-gradient(180deg, #191331 0%, #15102b 44%, #110d22 100%);
  color: var(--qeres-text);
  line-height: 1.4;
  min-height: 100vh;
  background-attachment: fixed;
  padding-top: var(--topbar-height);
}

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(var(--max), 92vw);
  margin-inline: auto;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  backdrop-filter: blur(12px);
  background:
    linear-gradient(90deg, rgba(27, 21, 51, 0.92), rgba(26, 18, 55, 0.9), rgba(18, 18, 45, 0.9)),
    rgba(27, 21, 51, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-main {
  min-height: 64px;
  display: flex;
  align-items: center;
}

.topbar-main-inner {
  width: min(var(--max), 92vw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto minmax(250px, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.topbar-left {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-company {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(170deg, rgba(167, 139, 250, 0.16), rgba(96, 165, 250, 0.08));
  display: grid;
  place-items: center;
  overflow: hidden;
}

.company-icon {
  width: 30px;
  height: 30px;
  display: block;
}

.company-wordmark {
  width: 172px;
  height: auto;
  display: block;
}

.brand-copy {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-copy em {
  margin-top: 0;
  font-size: 0.66rem;
  color: #cfd3f2;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.topbar-search {
  width: min(100%, 520px);
  justify-self: center;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 6px 6px 14px;
}

.topbar-search input {
  border: 0;
  background: transparent;
  color: #eef1ff;
  font: inherit;
  min-width: 120px;
}

.topbar-search input::placeholder {
  color: #9da4c8;
}

.topbar-search input:focus {
  outline: none;
}

.topbar-search button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  color: #f5f6ff;
  background: linear-gradient(120deg, rgba(192, 38, 211, 0.9), rgba(99, 102, 241, 0.88));
}

.topbar-search button svg {
  width: 16px;
  height: 16px;
}

.topbar-search button circle,
.topbar-search button path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.topbar-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
  white-space: nowrap;
}

.control-pill,
.control-icon {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #eef0ff;
}

.control-pill {
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.control-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

.control-icon svg {
  width: 16px;
  height: 16px;
}

.control-icon path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.topbar-cta,
.topbar-login {
  white-space: nowrap;
}

.nav {
  display: grid;
  gap: 8px;
}

.nav a,
.drawer-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--qeres-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.nav a:hover,
.drawer-nav a:hover,
.nav a.is-active,
.drawer-nav a.is-active {
  color: #fff;
  border-color: rgba(192, 38, 211, 0.45);
  background: rgba(192, 38, 211, 0.16);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  min-height: 40px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
  box-shadow: 0 12px 24px rgba(163, 80, 241, 0.35);
}

.btn-ghost,
.btn-surface {
  color: #fff;
  border: 1px solid var(--qeres-line);
  background: rgba(20, 0, 34, 0.8);
}

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

.btn-primary:hover {
  box-shadow: 0 16px 30px rgba(163, 80, 241, 0.42);
}

.btn-ghost:hover,
.btn-surface:hover {
  border-color: rgba(192, 38, 211, 0.42);
  background: rgba(43, 16, 72, 0.78);
}

.btn:focus-visible {
  outline: 2px solid rgba(96, 165, 250, 0.95);
  outline-offset: 2px;
}

.menu-toggle {
  display: inline-flex;
  width: 38px;
  height: 38px;
  padding: 0;
  font-size: 1.1rem;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 78;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-open .drawer-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.drawer-menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 79;
  width: min(360px, 86vw);
  height: 100vh;
  background: linear-gradient(180deg, rgba(24, 18, 45, 0.98), rgba(16, 12, 33, 0.98));
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.42);
  transform: translateX(-102%);
  transition: transform 0.22s ease;
  display: flex;
  flex-direction: column;
}

.drawer-menu.is-open {
  transform: translateX(0);
}

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

.drawer-head {
  min-height: 68px;
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.drawer-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}

.drawer-nav {
  display: grid;
  gap: 8px;
  padding: 14px;
  overflow: auto;
}

.drawer-nav a {
  border-radius: 12px;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  text-align: left;
}

.drawer-actions {
  margin-top: auto;
  padding: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 10px;
}

.drawer-actions .btn {
  width: 100%;
}

main { padding-bottom: 78px; }
section { padding: 76px 0; }

.section-advantages {
  padding-top: 86px;
}

.section-enterprise {
  padding-top: 86px;
}

.hero {
  padding: 68px 0 34px;
}

.hero-platform {
  padding-top: 0;
  padding-bottom: 30px;
}

.hero-platform-fullbleed {
  width: 100%;
}

.hero-platform-summary {
  margin-top: 16px;
}

.hero-platform-carousel {
  position: relative;
  height: clamp(430px, 74vh, 660px);
  overflow: hidden;
  border-radius: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: #0f0b1f;
}

.hero-platform-media {
  position: absolute;
  inset: 0;
}

.hero-platform-media img,
.hero-platform-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04) brightness(0.78);
}

.hero-platform-media .is-hidden {
  display: none;
}

.hero-platform-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-platform-content {
  position: absolute;
  z-index: 2;
  width: min(var(--max), 92vw);
  left: 50%;
  transform: translateX(-50%);
  right: auto;
  bottom: 76px;
  max-width: min(var(--max), 92vw);
}

.hero-platform-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #d8dbf6;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-platform-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.hero-platform-content h1 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4.2rem);
  line-height: 1.04;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  max-width: 18ch;
}

.hero-platform-content p {
  margin: 12px 0 0;
  color: rgba(244, 246, 255, 0.88);
  max-width: 72ch;
  font-size: 1.02rem;
}

.hero-platform-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-platform-note {
  margin: 14px 0 0;
  color: rgba(223, 228, 255, 0.84);
  font-size: 0.88rem;
  letter-spacing: 0.015em;
  text-transform: none;
}

.hero-platform-note-line {
  margin-top: 14px;
}

.hero-platform-topics {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-topic-chip {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(15, 12, 29, 0.55);
  color: #f1f3ff;
  padding: 7px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}

.hero-platform-segments {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-platform-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 12, 29, 0.45);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.hero-platform-prev {
  left: 18px;
}

.hero-platform-next {
  right: 18px;
}

.hero-platform-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-dot-btn {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.hero-dot-btn.is-active {
  width: 28px;
  background: var(--dot-color, #d946ef);
}

.hero-platform-metrics {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.hero-platzi {
  padding-top: 78px;
  padding-bottom: 56px;
  position: relative;
}

.hero-platzi::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 86% -8%, rgba(168, 85, 247, 0.2), transparent 66%),
    radial-gradient(780px 360px at 16% -10%, rgba(99, 102, 241, 0.2), transparent 68%),
    linear-gradient(180deg, rgba(7, 20, 31, 0.7), rgba(10, 14, 28, 0.35));
  pointer-events: none;
}

.hero-platzi-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  text-align: center;
  align-items: center;
  justify-items: center;
  display: grid;
  gap: 15px;
}

.hero-platzi h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4.8vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
}

.hero-platzi h1 span {
  display: block;
  background: linear-gradient(90deg, #7c8dff, #d353ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-platzi-lead {
  margin: 0 auto;
  color: #d6daef;
  max-width: 76ch;
  font-size: 1.08rem;
}

.hero-platzi-live {
  margin: 0;
  color: #e6e8fa;
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-search {
  margin-top: 8px;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.hero-search-label {
  margin: 0;
  font-size: 1.62rem;
  font-weight: 700;
}

.hero-search-form {
  width: min(700px, 94vw);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  border-radius: 14px;
  border: 1px solid rgba(211, 83, 255, 0.58);
  background: rgba(4, 11, 20, 0.72);
  padding: 8px;
  box-shadow: 0 14px 30px rgba(4, 11, 20, 0.4);
}

.hero-search-form input {
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #f0f4ff;
  font: inherit;
  padding: 12px 14px;
}

.hero-search-form input::placeholder {
  color: #9fa6c5;
}

.hero-search-form input:focus {
  outline: 2px solid rgba(211, 83, 255, 0.42);
  outline-offset: 0;
}

.hero-search-note {
  margin: 0;
  color: #b4bad8;
  font-size: 0.9rem;
}

.hero-platzi-metrics {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
}

.kicker {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(192, 38, 211, 0.5);
  background: rgba(192, 38, 211, 0.2);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin: 14px 0 12px;
  font-size: clamp(2rem, 4.5vw, 3.7rem);
  line-height: 1.03;
}

.hero p {
  margin: 0 0 18px;
  color: var(--qeres-muted);
  font-size: 1.04rem;
  max-width: 64ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-segments {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-proof {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-proof span {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #e6e8ff;
  padding: 7px 11px;
  font-size: 0.75rem;
  font-weight: 700;
}

.segment-pill {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(20, 0, 34, 0.7);
  color: #f1f2ff;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 700;
}

.segment-pill:hover {
  border-color: rgba(192, 38, 211, 0.52);
  background: rgba(192, 38, 211, 0.2);
}

.card {
  border: 1px solid var(--qeres-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(170deg, rgba(22, 8, 35, 0.92), rgba(14, 7, 24, 0.94));
}

.hero-stage {
  min-height: 430px;
  position: relative;
  box-shadow: 0 16px 30px rgba(8, 4, 16, 0.35);
}

.hero-stage img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  opacity: 0.85;
}

.hero-stage-overlay {
  position: absolute;
  inset: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  background: linear-gradient(130deg, rgba(10, 8, 18, 0.74), rgba(19, 5, 35, 0.6));
}

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

.metrics-intro {
  margin: 0;
  color: #cfd5f3;
  font-size: 0.88rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.metric {
  position: relative;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(18, 9, 27, 0.76);
  padding: 12px 12px 10px;
  min-height: 98px;
  display: grid;
  gap: 2px;
}

.metrics-primary .metric {
  background:
    radial-gradient(200px 90px at 0% 0%, rgba(169, 87, 255, 0.24), transparent 75%),
    rgba(19, 10, 31, 0.82);
}

.metrics-secondary .metric {
  background: rgba(14, 9, 26, 0.7);
  border-color: rgba(255, 255, 255, 0.14);
}

.metric::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 10px;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
}

.metric-growth::before {
  background: linear-gradient(90deg, #22d3ee, #3b82f6);
}

.metric-premium::before {
  background: linear-gradient(90deg, #f0abfc, #d946ef);
}

.metric-momentum::before {
  background: linear-gradient(90deg, #34d399, #22c55e);
}

.metric-label {
  margin-top: 8px;
  font-size: 0.76rem;
  color: #d2d8f5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.metric strong {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.05;
  display: block;
  margin-top: 2px;
}

.metric-sub {
  font-size: 0.8rem;
  color: #b7bedf;
  line-height: 1.35;
}

.section-head {
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.section-head > div {
  max-width: 76ch;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.28rem, 2.2vw, 2rem);
}

.section-head p {
  margin: 0;
  color: var(--qeres-muted);
  line-height: 1.5;
}

.scroll-cue {
  position: relative;
}

.scroll-cue::before,
.scroll-cue::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 8px;
  width: 44px;
  pointer-events: none;
  z-index: 2;
}

.scroll-cue::before {
  left: 0;
  background: linear-gradient(90deg, rgba(27, 21, 51, 0.95), rgba(27, 21, 51, 0));
}

.scroll-cue::after {
  right: 0;
  background: linear-gradient(270deg, rgba(27, 21, 51, 0.95), rgba(27, 21, 51, 0));
}

.scroll-hint {
  margin: 10px 0 0;
  color: #bfc5e8;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(285px, 1fr);
  overflow-x: auto;
  gap: 14px;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
  cursor: grab;
}

.row:active {
  cursor: grabbing;
}

.row::-webkit-scrollbar { height: 8px; }
.row::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(212, 190, 255, 0.35);
}

.promo-card {
  position: relative;
  min-height: 280px;
  cursor: pointer;
  scroll-snap-align: start;
}

.promo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px;
  background: linear-gradient(140deg, rgba(8, 7, 14, 0.75), rgba(28, 7, 49, 0.65));
}

.promo-overlay h3 {
  margin: 0;
  font-size: 1.25rem;
}

.promo-overlay p {
  margin: 0;
  color: #d7d9f4;
}

.course-card {
  cursor: pointer;
  overflow: hidden;
  border: 1px solid rgba(165, 182, 255, 0.24);
  background:
    radial-gradient(500px 180px at 10% 0%, rgba(186, 96, 255, 0.18), rgba(20, 16, 38, 0) 66%),
    linear-gradient(165deg, rgba(22, 15, 39, 0.95), rgba(12, 11, 26, 0.95));
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.course-card:hover {
  transform: translateY(-3px);
  border-color: rgba(132, 221, 255, 0.5);
  box-shadow: 0 18px 32px rgba(4, 5, 12, 0.5);
}

.course-media {
  height: 136px;
  position: relative;
}

.course-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: transform 0.5s ease;
}

.course-card:hover .course-media img {
  transform: scale(1.05);
}

.course-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 13, 34, 0.96), rgba(16, 13, 34, 0.18));
}

.pill {
  position: absolute;
  z-index: 1;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.69rem;
  font-weight: 800;
}

.pill.hours {
  left: 10px;
  top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pill.hours .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
}

.pill.new {
  right: 10px;
  bottom: 10px;
  background: var(--brand-primary);
}

.pill.category {
  position: static;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.34);
}

.pill.master {
  position: static;
  border: 1px solid rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.2);
  color: #ffe6bb;
}

.course-top-right {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.course-footer {
  padding: 12px 12px 14px;
  display: grid;
  gap: 8px;
}

.route-promo-card .course-footer {
  gap: 10px;
}

.route-promo-cta {
  width: 100%;
  justify-content: center;
}

.short-card {
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(165, 182, 255, 0.24);
  background:
    radial-gradient(460px 170px at 10% 0%, rgba(186, 96, 255, 0.2), rgba(20, 16, 38, 0) 68%),
    linear-gradient(165deg, rgba(22, 15, 39, 0.95), rgba(12, 11, 26, 0.95));
}

.short-media {
  position: relative;
  height: 100%;
  min-height: 320px;
}

.short-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.short-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27, 21, 51, 0.95), rgba(27, 21, 51, 0.12) 50%, rgba(27, 21, 51, 0.75));
}

.short-head {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 12px;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.short-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.short-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
}

.short-author-name {
  font-size: 0.76rem;
  font-weight: 700;
  color: #f4f5ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

.short-author-role {
  font-size: 0.67rem;
  color: #d2d6f2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.short-badges {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.short-body {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  display: grid;
  gap: 8px;
}

.short-title {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
}

.short-sub {
  margin: 0;
  font-size: 0.8rem;
  color: #cfd3ef;
}

.short-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.28);
  padding: 7px 11px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #f2f3ff;
}

.meta-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  color: #e9e9ff;
}

.course-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.28;
}

.course-sub {
  margin: 0;
  color: var(--qeres-muted);
  font-size: 0.84rem;
}

.teacher-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.teacher-chip {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 20px);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.35);
  padding: 4px 8px 4px 4px;
}

.teacher-avatar {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
}

.teacher-name {
  max-width: 124px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.7rem;
  color: #f0f2ff;
}

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

.grid.shorts .course-media { height: 320px; }

.page-head {
  padding: 44px 0 10px;
}

.page-head h1 {
  margin: 0 0 8px;
  font-size: clamp(1.78rem, 3vw, 3rem);
}

.page-head p {
  margin: 0;
  color: var(--qeres-muted);
  max-width: 70ch;
}

.filters {
  margin: 16px 0 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(20, 0, 34, 0.75);
  color: #e3e5ff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.chip.is-active {
  border-color: rgba(192, 38, 211, 0.55);
  background: rgba(192, 38, 211, 0.24);
}

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

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

.decision-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(160deg, rgba(18, 8, 32, 0.96), rgba(11, 7, 21, 0.94));
}

.decision-card-master {
  box-shadow: inset 0 0 0 1px rgba(212, 85, 255, 0.22);
}

.decision-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.decision-top h3 {
  margin: 0;
  font-size: 2rem;
}

.decision-badge {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 6px 10px;
  font-size: 0.74rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
}

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

.decision-list li {
  position: relative;
  padding-left: 30px;
}

.decision-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 1px;
  color: #34d399;
  font-weight: 900;
  font-size: 1.1rem;
}

.decision-actions {
  margin-top: 16px;
}

.panel { padding: 16px; }
.mini {
  margin: 0;
  color: var(--qeres-muted);
  font-size: 0.88rem;
}

.qplus-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(250px, 1fr);
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(780px 220px at 0% 0%, rgba(180, 92, 255, 0.18), transparent 72%),
    linear-gradient(165deg, rgba(18, 10, 33, 0.96), rgba(10, 8, 22, 0.95));
}

.qplus-teaser h2 {
  margin: 0 0 8px;
}

.qplus-teaser-copy {
  display: grid;
  gap: 10px;
}

.qplus-eyebrow {
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  padding: 5px 10px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e7e9ff;
}

.qplus-teaser-side {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  padding: 12px;
  display: grid;
  gap: 8px;
}

.qplus-pill {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 7, 18, 0.5);
  padding: 8px 10px;
  color: #d7dcf6;
  font-size: 0.82rem;
}

.qplus-hero {
  padding-top: 26px;
  padding-bottom: 42px;
}

.qplus-hero-shell {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background:
    linear-gradient(120deg, rgba(11, 10, 26, 0.82), rgba(22, 14, 40, 0.72)),
    radial-gradient(880px 340px at 8% 0%, rgba(174, 88, 255, 0.22), transparent 68%),
    url("media/cursomes-home.webp") center/cover no-repeat;
  padding: 22px;
  min-height: 340px;
  display: grid;
  align-items: center;
}

.qplus-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
}

.qplus-hero-copy {
  display: grid;
  gap: 12px;
  align-content: center;
  max-width: 760px;
}

.qplus-hero-shell .qplus-eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d7ddfa;
}

.qplus-hero-shell h1 {
  margin: 0;
  font-size: clamp(1.65rem, 2.8vw, 2.6rem);
  line-height: 1.04;
}

.qplus-hero-shell p {
  margin: 0;
  max-width: 74ch;
  color: #d8ddf8;
}

.qplus-hero-actions {
  margin-top: 2px;
}

.qplus-hero-proof {
  margin-top: 2px;
}

.qplus-hero-proof .tag {
  background: rgba(255, 255, 255, 0.09);
}

.qplus-hero-media {
  display: none;
}

.pricing-intro {
  margin-bottom: 12px;
}

.pricing-grid-b2c {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: none;
  gap: 16px;
  align-items: start;
}

.plan-card-tier {
  border: 1px solid rgba(167, 188, 255, 0.28);
  background: linear-gradient(160deg, rgba(56, 50, 90, 0.88), rgba(47, 44, 82, 0.86));
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
}

.plan-card-tier-featured {
  border-color: rgba(91, 209, 255, 0.52);
  box-shadow: 0 14px 24px rgba(7, 5, 20, 0.28), inset 0 0 0 1px rgba(91, 209, 255, 0.2);
  background:
    radial-gradient(520px 180px at 0% 0%, rgba(75, 219, 255, 0.12), transparent 68%),
    linear-gradient(160deg, rgba(62, 56, 96, 0.9), rgba(45, 48, 84, 0.88));
}

.plan-tier-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.plan-tier-head h3 {
  margin: 0;
  font-size: clamp(1.25rem, 1.65vw, 1.85rem);
  line-height: 1.05;
}

.plan-tier-badge {
  border-radius: 999px;
  border: 1px solid rgba(116, 229, 255, 0.6);
  background: rgba(116, 229, 255, 0.14);
  color: #c8f7ff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  white-space: nowrap;
}

.plan-tier-badge-accent {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.13);
  color: #ffe7bf;
}

.plan-feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
}

.plan-feature-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0 0 8px 0;
  font-size: 0.95rem;
  line-height: 1.2;
}

.plan-feature-list li span {
  color: #e4e8fb;
}

.plan-feature-list li strong {
  color: #a8ffd9;
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 700;
}

.plan-feature-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.plan-feature-list li:last-child strong {
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.plan-feature-off span {
  text-decoration: line-through;
  color: rgba(228, 232, 251, 0.58);
}

.plan-feature-off strong {
  color: rgba(234, 245, 255, 0.55);
  font-size: 1.1rem;
}

.plan-tier-note {
  margin: 0;
  color: #d6dbf6;
}

.plan-tier-trial {
  margin: 0;
  font-size: 0.86rem;
  color: #f2f0cd;
  font-weight: 700;
}

.plan-tier-trial-highlight {
  color: #f2c7ff;
}

.plan-card-tier .plan-price {
  font-size: clamp(2rem, 2.4vw, 2.45rem);
  line-height: 1;
}

.plan-card-tier .plan-price small {
  font-size: 0.62em;
  color: #d7defa;
}

.plan-card-tier .btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

.qplus-topic-tags {
  margin-bottom: 12px;
}

.qplus-topic-tags .tag {
  background: rgba(255, 255, 255, 0.06);
}

.qplus-short-grid .short-card {
  min-height: 300px;
}

.qplus-short-grid .short-title {
  font-size: 1rem;
}

.qplus-rails {
  gap: clamp(110px, 14vw, 168px);
  margin-top: 34px;
}

.qplus-rails .rail-panel {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  position: relative;
}

.qplus-rails .rail-panel + .rail-panel {
  border-top: 0;
  padding-top: 0;
}

.qplus-rails .rail-head {
  margin-bottom: 34px;
}

.qplus-rails .home-course-grid {
  gap: 26px;
}

.qplus-rails .course-card,
.qplus-rails .short-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(163, 175, 232, 0.25);
}

.qplus-rails .course-card:hover,
.qplus-rails .short-card:hover {
  border-color: rgba(149, 233, 255, 0.45);
}

.qplus-rails .course-media::after {
  background: linear-gradient(to top, rgba(20, 17, 37, 0.96), rgba(20, 17, 37, 0.24));
}

.tech-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.tech-card {
  border: 1px solid rgba(167, 188, 255, 0.26);
  background:
    radial-gradient(420px 160px at 8% 0%, rgba(186, 96, 255, 0.2), rgba(20, 16, 38, 0) 65%),
    linear-gradient(165deg, rgba(25, 18, 43, 0.95), rgba(13, 12, 30, 0.95));
  padding: 18px;
  display: grid;
  gap: 12px;
}

.tech-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(116, 229, 255, 0.42);
  background: rgba(116, 229, 255, 0.12);
  display: inline-grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #caf8ff;
}

.tech-copy {
  display: grid;
  gap: 8px;
}

.tech-copy h3 {
  margin: 0;
  font-size: 1.28rem;
}

.tech-copy p {
  margin: 0;
  color: #d0d7f3;
  line-height: 1.5;
}

.tech-kpi {
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 11px;
  font-size: 0.76rem;
  color: #e6ebff;
  font-weight: 700;
}

.qplus-tech-actions {
  margin-top: 16px;
}

.route-link-inline {
  text-decoration: none;
  color: #d5dbf8;
}

.route-link-inline:hover {
  color: #f3f6ff;
  text-decoration: underline;
}

.route-platform-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #151226;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.route-platform-media {
  position: relative;
  height: 176px;
}

.route-platform-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
}

.route-platform-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #151226, rgba(21, 18, 38, 0.45), transparent);
}

.route-platform-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.route-platform-title {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
}

.route-platform-specialty {
  font-size: 0.67rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
}

.route-platform-title h3 {
  margin: 4px 0 0;
  color: #fff;
  font-size: 1.08rem;
  line-height: 1.2;
}

.route-platform-body {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.route-platform-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.route-platform-metric {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 7px;
  text-align: center;
  display: grid;
  gap: 3px;
}

.route-platform-metric span {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.64);
}

.route-platform-metric strong {
  font-size: 0.92rem;
  color: #fff;
}

.route-platform-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.66);
}

.route-platform-progress {
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.route-platform-progress span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #d946ef, #7c3aed);
}

.route-platform-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.68);
}

.route-platform-cta {
  width: 100%;
  justify-content: center;
}

.route-platform-locked {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.32);
  padding: 7px 9px;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.86);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.qplus-b2b-cta {
  margin: 12px auto 0;
  width: 100%;
  max-width: none;
  border-radius: 12px;
  border: 1px solid rgba(156, 177, 255, 0.26);
  background:
    radial-gradient(700px 200px at 8% 0%, rgba(182, 99, 255, 0.14), rgba(20, 16, 38, 0) 70%),
    linear-gradient(150deg, rgba(25, 18, 42, 0.94), rgba(16, 14, 34, 0.94));
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
}

.qplus-b2b-copy {
  display: grid;
  gap: 4px;
}

.qplus-b2b-copy h3 {
  margin: 0;
  font-size: 1.1rem;
}

.qplus-b2b-copy p {
  margin: 0;
  color: #d5ddf8;
  font-size: 0.86rem;
}

.qplus-b2b-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.qplus-rows {
  display: grid;
  gap: 12px;
}

.qplus-row {
  padding: 14px;
}

.qplus-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.qplus-row-head h3 {
  margin: 0;
  font-size: 1.2rem;
}

.qplus-row-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 1fr);
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.qplus-mini-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(165deg, rgba(16, 12, 30, 0.95), rgba(11, 10, 24, 0.94));
}

.qplus-mini-media {
  position: relative;
  height: 110px;
}

.qplus-mini-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qplus-mini-label {
  position: absolute;
  left: 8px;
  top: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(7, 5, 18, 0.58);
  color: #f4f6ff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
}

.qplus-mini-body {
  padding: 10px;
  display: grid;
  gap: 6px;
}

.qplus-mini-body h4 {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.35;
  color: #f1f4ff;
}

.qplus-mini-body p {
  margin: 0;
  color: #bfc6e8;
  font-size: 0.74rem;
}

.home-change {
  padding: 20px;
  display: grid;
  grid-template-columns: 220px 1fr 300px;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(760px 260px at 86% 88%, rgba(113, 25, 224, 0.26), transparent 70%),
    linear-gradient(170deg, rgba(21, 9, 32, 0.96), rgba(12, 7, 22, 0.94));
}

.home-change-logo {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  min-height: 102px;
  display: grid;
  place-items: center;
  padding: 14px;
}

.home-change-logo img {
  width: 160px;
}

.home-change-body {
  display: grid;
  gap: 10px;
}

.home-change-kpis {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.change-kpi {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 12px;
}

.change-kpi strong {
  display: block;
  font-size: 1.26rem;
}

.change-kpi span {
  color: #d0d3ec;
  font-size: 0.8rem;
}

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

.value-pill-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background:
    radial-gradient(240px 120px at 18% 0%, rgba(128, 98, 255, 0.2), transparent 74%),
    linear-gradient(165deg, rgba(20, 10, 34, 0.96), rgba(10, 8, 21, 0.94));
  padding: 16px 14px;
  display: grid;
  gap: 6px;
}

.value-pill-icon {
  width: 68px;
  height: 68px;
  display: block;
  color: #d8e0ff;
  opacity: 0.95;
}

.value-pill-icon path,
.value-pill-icon rect,
.value-pill-icon circle,
.value-pill-icon line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-pill-card h3 {
  margin: 8px 0 4px;
  font-size: 0.96rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.value-pill-card p {
  margin: 0;
  color: #d0d4ec;
  font-size: 0.84rem;
  line-height: 1.52;
}

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

.enterprise-shell {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 20px;
  background:
    radial-gradient(840px 240px at 14% 0%, rgba(86, 206, 255, 0.12), transparent 75%),
    linear-gradient(165deg, rgba(12, 9, 23, 0.95), rgba(8, 7, 18, 0.95));
}

.enterprise-card {
  border: 1px solid rgba(90, 163, 255, 0.34);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(8, 7, 18, 0.97), rgba(7, 6, 16, 0.97));
  padding: 16px;
  display: grid;
  gap: 11px;
}

.enterprise-icon {
  width: 72px;
  height: 72px;
  display: block;
  color: #dbe3ff;
}

.enterprise-icon path,
.enterprise-icon rect,
.enterprise-icon circle,
.enterprise-icon line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.enterprise-card h3 {
  margin: 0;
  color: #e6ebff;
  font-size: 1.18rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.enterprise-card p {
  margin: 0;
  color: #d0d4ec;
  font-size: 0.86rem;
  line-height: 1.52;
}

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

.enterprise-list li {
  color: #d8dcf4;
  font-size: 0.82rem;
  line-height: 1.45;
  padding-left: 18px;
  position: relative;
}

.enterprise-list li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  top: 0;
  color: #7bc3ff;
  font-size: 1rem;
  line-height: 1;
}

.enterprise-card .btn {
  width: fit-content;
}

.home-story {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: center;
}

.home-story-mark {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: radial-gradient(circle at 20% 20%, rgba(192, 38, 211, 0.28), rgba(147, 51, 234, 0.08));
  display: grid;
  place-items: center;
}

.home-story-mark img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.icon-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  display: inline-grid;
  place-items: center;
}

.icon-badge svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #e7e9ff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

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

.feature-card {
  display: grid;
  grid-template-columns: 180px 1fr;
}

.feature-media {
  position: relative;
  min-height: 100%;
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 8, 24, 0.1), rgba(14, 8, 24, 0.72));
}

.feature-body {
  padding: 16px;
  display: grid;
  gap: 10px;
  align-content: center;
}

.feature-body h3 {
  margin: 0;
  font-size: 1.2rem;
}

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

.solution-card {
  display: grid;
  grid-template-rows: 150px 1fr;
}

.solution-media img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  opacity: 0.88;
}

.solution-body {
  padding: 14px;
  display: grid;
  gap: 8px;
}

.solution-body h3 {
  margin: 0;
  font-size: 1.25rem;
}

.home-vision {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(860px 300px at 8% 0%, rgba(163, 78, 245, 0.24), rgba(69, 96, 220, 0.1) 48%, transparent 76%),
    linear-gradient(118deg, rgba(72, 31, 111, 0.86), rgba(24, 40, 96, 0.72));
}

.home-vision-symbol {
  width: 190px;
  height: 190px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(14, 9, 29, 0.35);
  display: grid;
  place-items: center;
}

.home-vision-symbol svg {
  width: 120px;
  height: 120px;
  color: #f6f7ff;
}

.home-vision-symbol rect,
.home-vision-symbol circle,
.home-vision-symbol line {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
}

.home-vision-copy h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.4vw, 2.5rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.home-vision-copy p {
  margin: 12px 0 0;
  color: #d9def8;
  line-height: 1.55;
  font-size: 0.98rem;
  max-width: 74ch;
}

.home-vision-sign {
  color: #f15be7;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.home-vision-copy .hero-cta {
  margin-top: 16px;
}

.home-vision-divider {
  grid-column: 1 / -1;
  margin-top: 8px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.08));
}

.home-rails {
  display: grid;
  gap: 12px;
}

.home-rails.qplus-rails {
  row-gap: clamp(76px, 10vw, 122px);
  margin-top: 28px;
}

.rail-panel {
  padding: 18px;
}

.rail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 10px;
}

.rail-head h3 {
  margin: 0;
  font-size: 1.9rem;
}

.rail-head p {
  margin: 0;
  max-width: 52ch;
}

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

.faculty-grid,
.faculty-row {
  display: grid;
  gap: 14px;
}

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

.faculty-row {
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 1fr);
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
}

.faculty-row::-webkit-scrollbar { height: 8px; }
.faculty-row::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(212, 190, 255, 0.35);
}

.faculty-row.is-compact {
  grid-auto-columns: minmax(290px, 1fr);
}

.faculty-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(165deg, rgba(32, 22, 58, 0.92), rgba(20, 20, 44, 0.9));
  scroll-snap-align: start;
}

.faculty-row.is-minimal .faculty-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(165deg, rgba(38, 31, 66, 0.88), rgba(24, 20, 48, 0.88));
}

.faculty-row.is-minimal .faculty-media {
  height: 194px;
  background: linear-gradient(170deg, rgba(106, 86, 188, 0.28), rgba(63, 104, 182, 0.2));
}

.faculty-row.is-minimal .faculty-media img {
  object-fit: cover;
  object-position: center top;
  padding: 0;
  filter: saturate(0.94) contrast(0.98) brightness(0.95);
}

.faculty-row.is-minimal .faculty-media::after {
  display: none;
}

.faculty-row.is-minimal .faculty-body {
  margin-top: 0;
  padding: 12px;
}

.faculty-row.is-minimal .faculty-body h3 {
  font-size: 1rem;
}

.faculty-row.is-minimal .faculty-body p {
  font-size: 0.82rem;
  color: #c2c9eb;
}

.faculty-media {
  height: 220px;
  position: relative;
  background:
    radial-gradient(640px 200px at 18% 0%, rgba(176, 98, 255, 0.26), rgba(82, 122, 226, 0.16) 55%, transparent 78%),
    linear-gradient(180deg, rgba(34, 30, 60, 0.95), rgba(22, 20, 47, 0.96));
}

.faculty-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  padding: 0;
  filter: saturate(0.96) contrast(0.98) brightness(0.94);
}

.faculty-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 56%;
  background: linear-gradient(180deg, rgba(22, 20, 47, 0), rgba(22, 20, 47, 0.86));
  pointer-events: none;
}

.faculty-media img.is-fallback {
  object-fit: contain;
  padding: 26px;
  opacity: 0.9;
}

.faculty-body {
  position: relative;
  z-index: 1;
  margin-top: -22px;
  padding: 0 12px 14px;
  display: grid;
  gap: 6px;
}

.faculty-body h3 {
  margin: 0;
  font-size: 1.04rem;
}

.faculty-body p {
  margin: 0;
  color: #cad0ed;
  font-size: 0.84rem;
  line-height: 1.45;
}

.faculty-card-compact {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(158, 176, 255, 0.25);
  background:
    radial-gradient(360px 140px at 4% 0%, rgba(175, 104, 255, 0.28), transparent 72%),
    linear-gradient(140deg, rgba(44, 35, 76, 0.9), rgba(24, 28, 58, 0.88));
}

.faculty-avatar {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(160deg, rgba(138, 112, 232, 0.35), rgba(88, 132, 217, 0.28));
}

.faculty-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.94) contrast(0.98) brightness(0.95);
}

.faculty-card-compact .faculty-body {
  margin-top: 0;
  padding: 0;
}

.audience-card {
  display: grid;
  grid-template-rows: 160px 1fr;
}

.audience-media img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  opacity: 0.9;
}

.audience-body {
  padding: 14px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.audience-body h3 {
  margin: 0;
  font-size: 1.25rem;
}

.audience-body .mini {
  line-height: 1.45;
}

.audience-link {
  margin-top: 6px;
  width: fit-content;
  font-size: 0.82rem;
  padding: 8px 12px;
}

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

.home-course-grid .course-media {
  height: 144px;
}

.home-course-grid .course-title {
  font-size: 1.08rem;
}

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

.content-area-card {
  position: relative;
  display: grid;
  grid-template-columns: 78px 1fr auto;
  align-items: center;
  gap: 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 12px 14px;
  background:
    linear-gradient(90deg, rgba(8, 7, 17, 0.96), rgba(10, 9, 23, 0.96)) padding-box,
    linear-gradient(92deg, rgba(241, 89, 239, 0.66), rgba(112, 182, 255, 0.7)) border-box;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 10px 22px rgba(7, 5, 16, 0.34);
}

.content-area-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(150, 187, 255, 0.56);
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 25% 24%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.02) 55%),
    linear-gradient(180deg, rgba(36, 36, 66, 0.74), rgba(17, 15, 36, 0.9));
}

.content-area-icon img {
  width: 38px;
  height: 38px;
}

.content-area-icon svg {
  width: 30px;
  height: 30px;
  color: #dce4ff;
}

.content-area-icon svg path,
.content-area-icon svg rect,
.content-area-icon svg circle,
.content-area-icon svg line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.content-area-main h3 {
  margin: 0;
  font-size: 1.16rem;
  letter-spacing: 0.02em;
  color: #edf1ff;
  text-transform: none;
}

.content-area-main p {
  margin: 6px 0 0;
  color: #cad2f2;
  font-size: 0.88rem;
  line-height: 1.5;
}

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

.plan-card {
  padding: 16px;
  display: grid;
  gap: 12px;
}

.plan-price {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
}

.plan-price small {
  font-size: 0.84rem;
  color: var(--qeres-muted);
}

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

.media-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.media-body {
  padding: 12px;
  display: grid;
  gap: 8px;
}

.media-title {
  margin: 0;
  font-size: 1rem;
}

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

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  min-width: 640px;
}

.table-wrap th,
.table-wrap td {
  border: 1px solid var(--qeres-line);
  padding: 10px 12px;
  font-size: 0.9rem;
}

.table-wrap th {
  text-align: left;
  background: rgba(255, 255, 255, 0.06);
}

.form-grid {
  display: grid;
  gap: 12px;
}

.lead-form-host {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(16, 12, 31, 0.92), rgba(10, 9, 22, 0.96));
}

.lead-form-host .hbspt-form {
  color: #eef1ff;
}

.lead-form-host .hbspt-form form {
  margin: 0;
}

.lead-form-host .hbspt-form label,
.lead-form-host .hbspt-form .hs-richtext,
.lead-form-host .hbspt-form .hs-form-field > label {
  color: #dce1fb !important;
  font-size: 0.86rem;
}

.lead-form-host .hbspt-form input,
.lead-form-host .hbspt-form select,
.lead-form-host .hbspt-form textarea {
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: #eef1ff !important;
  padding: 10px 12px !important;
}

.lead-form-host .hbspt-form input::placeholder,
.lead-form-host .hbspt-form textarea::placeholder {
  color: #aeb4d8 !important;
}

.lead-form-host .hbspt-form input[type="submit"],
.lead-form-host .hbspt-form .hs-button {
  border: 0 !important;
  border-radius: 999px !important;
  min-height: 40px !important;
  padding: 10px 16px !important;
  color: #fff !important;
  font-weight: 750 !important;
  background: linear-gradient(120deg, var(--brand-primary), var(--brand-secondary)) !important;
}

.typeform-shell {
  border-radius: 12px;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.typeform-embed {
  width: 100%;
  min-height: 520px;
  border: 0;
}

.lead-fallback-form {
  margin: 0;
}

.lead-success {
  border: 1px solid rgba(52, 211, 153, 0.42);
  background: rgba(52, 211, 153, 0.12);
  color: #dcfff0;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 600;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 0.83rem;
  color: #eef0ff;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--qeres-line);
  background: rgba(255, 255, 255, 0.04);
  color: #f7f8ff;
  padding: 10px 12px;
  font: inherit;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #b4b7d9;
}

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

.faq-item {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(160deg, rgba(16, 11, 30, 0.95), rgba(10, 8, 22, 0.94));
}

.faq-item h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
}

.faq-item p {
  margin: 0;
  color: var(--qeres-muted);
  font-size: 0.86rem;
}

.section-final-cta {
  padding-top: 86px;
}

.final-cta-card {
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(700px 260px at 6% 0%, rgba(172, 69, 255, 0.22), transparent 72%),
    linear-gradient(170deg, rgba(19, 10, 33, 0.96), rgba(10, 8, 22, 0.95));
}

.final-cta-main h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
}

.final-cta-main p {
  margin: 12px 0 0;
  color: #d3d8f3;
  font-size: 1rem;
  line-height: 1.55;
  max-width: 48ch;
}

.final-cta-main .hero-cta {
  margin-top: 16px;
}

.final-cta-side {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  padding: 14px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.final-cta-side h3 {
  margin: 0;
  font-size: 1rem;
}

.final-cta-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.final-cta-list li {
  position: relative;
  padding-left: 18px;
  color: #d8ddf6;
  font-size: 0.86rem;
  line-height: 1.45;
}

.final-cta-list li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  top: 0;
  color: #8fc7ff;
  font-size: 1rem;
  line-height: 1;
}

.final-cta-side .btn {
  width: fit-content;
}

.check-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.check-list li::before {
  content: "\2713";
  color: var(--ok);
  font-weight: 800;
  margin-right: 8px;
}

.detail-hero {
  position: relative;
  min-height: 320px;
}

.detail-hero img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  opacity: 0.85;
}

.detail-overlay {
  position: absolute;
  inset: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(17, 13, 30, 0.95), rgba(17, 13, 30, 0.18));
}

.detail-overlay h1 {
  margin: 6px 0;
  font-size: clamp(1.65rem, 3.2vw, 3rem);
}

.detail-body {
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 14px;
}

.detail-box {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  padding: 14px;
}

.detail-box h3 { margin: 0 0 8px; }
.detail-box p { margin: 0; color: var(--qeres-muted); }

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

.timeline-item {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 10px;
  background: rgba(10, 6, 16, 0.65);
}

.timeline-item p { margin: 0; color: var(--qeres-muted); font-size: 0.85rem; }

.course-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 352px;
  gap: 26px;
  align-items: stretch;
}

.course-detail-main {
  display: grid;
  gap: 18px;
}

.course-detail-hero {
  padding: 24px;
  border: 1px solid rgba(173, 188, 255, 0.28);
  background:
    radial-gradient(680px 220px at 2% 0%, rgba(180, 92, 255, 0.22), transparent 72%),
    linear-gradient(155deg, rgba(39, 30, 71, 0.92), rgba(26, 24, 56, 0.9));
}

.course-detail-hero h1 {
  margin: 10px 0 0;
  font-size: clamp(1.9rem, 3.1vw, 3.2rem);
  line-height: 1.02;
}

.course-detail-topline {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

.course-detail-rating {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 8, 20, 0.56);
  padding: 8px 12px;
}

.course-stars {
  color: #facc15;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
}

.course-detail-rating strong {
  font-size: 0.98rem;
  color: #f8f9ff;
}

.course-detail-rating span {
  color: #d1d8f8;
  font-size: 0.86rem;
}

.course-detail-published {
  margin: 10px 0 0;
  color: #c5cdef;
}

.course-detail-lead {
  margin: 14px 0 0;
  color: #e2e7fb;
  line-height: 1.55;
  max-width: 74ch;
}

.course-detail-metrics {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.course-metric-pill {
  border-radius: 999px;
  border: 1px solid rgba(164, 184, 255, 0.34);
  background: rgba(17, 15, 37, 0.65);
  color: #e8edff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 12px;
}

.course-detail-section {
  padding: 20px;
  border: 1px solid rgba(162, 178, 239, 0.22);
  background: linear-gradient(160deg, rgba(18, 15, 34, 0.9), rgba(12, 11, 28, 0.92));
  display: grid;
  gap: 14px;
}

.course-detail-section h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.1vw, 2.1rem);
  line-height: 1.08;
}

.course-detail-section p {
  margin: 0;
  color: #d3daf7;
  line-height: 1.56;
}

.course-bullet-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  color: #e7ebff;
}

.course-accordion {
  display: grid;
  gap: 8px;
}

.course-accordion-item {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.course-accordion-item summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 0.92rem;
  color: #edf1ff;
}

.course-accordion-item summary::-webkit-details-marker {
  display: none;
}

.course-accordion-item p {
  padding: 0 14px 12px;
  margin: 0;
  color: #c7cff0;
  font-size: 0.88rem;
}

.course-detail-aside {
  position: relative;
  align-self: stretch;
}

.course-sticky-card {
  position: sticky;
  top: calc(var(--topbar-height) + 18px);
  max-height: calc(100vh - var(--topbar-height) - 32px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(137, 234, 255, 0.3);
  background: linear-gradient(165deg, rgba(25, 21, 44, 0.95), rgba(15, 15, 32, 0.96));
}

.course-sticky-media {
  position: relative;
  height: 196px;
}

.course-sticky-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
}

.course-sticky-overlay {
  position: absolute;
  inset: 0;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  background: linear-gradient(to top, rgba(10, 10, 24, 0.92), rgba(10, 10, 24, 0.15));
}

.course-sticky-overlay span {
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #cdd6f8;
}

.course-sticky-overlay strong {
  font-size: 1rem;
  line-height: 1.2;
}

.course-sticky-overlay p {
  margin: 0;
  color: #d7def8;
  font-size: 0.8rem;
}

.course-sticky-body {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.course-sticky-body .btn {
  width: 100%;
  justify-content: center;
}

.course-sticky-plan {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 12px;
  display: grid;
  gap: 6px;
}

.course-sticky-plan span {
  color: #c6cff2;
  font-size: 0.78rem;
}

.course-sticky-plan strong {
  font-size: 1.1rem;
}

.course-sticky-price {
  color: #90f3d6;
  font-weight: 800;
  font-size: 1.22rem;
}

.course-sticky-plan p {
  margin: 0;
  color: #d2daf8;
  font-size: 0.82rem;
  line-height: 1.5;
}

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

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-card-body {
  padding: 12px;
  display: grid;
  gap: 8px;
}

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

.blog-card-body p {
  margin: 0;
  color: var(--qeres-muted);
  font-size: 0.86rem;
}

.floating-cta {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 55;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
  padding: 11px 16px;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(147, 51, 234, 0.45);
}

.footer {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 26px 0 34px;
  color: #bfc3e8;
}

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

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}

.footer-brand .brand-mark {
  width: 48px;
  height: 48px;
}

.footer-brand .company-icon {
  width: 34px;
  height: 34px;
}

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

.footer-brand-copy strong {
  font-size: 1.02rem;
  color: #eef1ff;
}

.footer-brand-copy p {
  margin: 0;
  max-width: 76ch;
  color: #bfc4e8;
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-badges span {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 10px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #dce0f6;
}

.footer-links {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

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

.footer-col h4 {
  margin: 0;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #eef2ff;
}

.footer-col a {
  color: #bac1e8;
  font-size: 0.86rem;
}

.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.82rem;
  color: #aeb5df;
}

.footer-bottom a {
  color: #d6dcfb;
}

/* modal estilo NewCourseModal */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(2px);
  z-index: 95;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.content-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.26s ease, visibility 0.26s ease;
}

.content-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.content-modal-panel {
  width: min(980px, 96vw);
  border: 1px solid rgba(177, 197, 255, 0.32);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 34px 56px rgba(2, 3, 10, 0.6);
  background:
    radial-gradient(840px 280px at 4% 0%, rgba(199, 102, 255, 0.2), rgba(20, 14, 38, 0) 70%),
    linear-gradient(145deg, #1a1234, #15122f 55%, #0f1025);
  transform: translateY(18px) scale(0.97);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease;
}

.content-modal.is-open .content-modal-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-media {
  position: relative;
  height: 260px;
}

.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
}

.modal-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 14, 34, 0.96), rgba(16, 14, 34, 0.26));
}

.modal-head {
  position: absolute;
  inset: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  z-index: 1;
}

.modal-head h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
}

.modal-body {
  padding: 18px;
  display: grid;
  gap: 12px;
  background: linear-gradient(180deg, rgba(18, 15, 35, 0.96), rgba(13, 12, 28, 0.96));
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
}

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

.empty {
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 16px;
  color: var(--qeres-muted);
}

@media (max-width: 1080px) {
  .topbar-main-inner {
    grid-template-columns: auto minmax(220px, 1fr) auto;
  }
  .topbar-search {
    width: 100%;
    max-width: 430px;
  }
  .topbar-lang { display: none; }
  .hero-grid,
  .split,
  .detail-body { grid-template-columns: 1fr; }
  .grid,
  .blog-list,
  .pricing-grid,
  .showcase-grid,
  .feature-grid,
  .solution-grid,
  .value-pill-grid,
  .enterprise-grid,
  .faculty-grid,
  .audience-grid,
  .decision-grid,
  .home-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faculty-row { grid-auto-columns: minmax(240px, 1fr); }
  .feature-card { grid-template-columns: 1fr; }
  .home-vision { grid-template-columns: 1fr; }
  .home-vision-symbol { width: 160px; height: 160px; }
  .home-vision-symbol svg { width: 96px; height: 96px; }
  .home-change { grid-template-columns: 1fr; }
  .home-change-logo { justify-self: start; width: min(260px, 100%); }
  .home-change-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .qplus-teaser { grid-template-columns: 1fr; }
  .pricing-grid-b2c { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qplus-hero-grid { grid-template-columns: 1fr; }
  .qplus-hero-media { min-height: 230px; }
  .tech-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .final-cta-card { grid-template-columns: 1fr; }
  .enterprise-shell { padding: 16px; }
  .scroll-cue::before,
  .scroll-cue::after { width: 28px; }
  .content-area-card { grid-template-columns: 72px 1fr; }
  .content-area-card .btn { justify-self: start; }
}

@media (max-width: 900px) {
  .course-sticky-card {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .course-detail-layout {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .course-detail-aside {
    order: -1;
    width: 100%;
  }
  .course-sticky-media {
    height: 172px;
  }
}

@media (max-width: 860px) {
  :root { --topbar-height: 58px; }
  .topbar-main {
    min-height: 58px;
  }
  .topbar-main-inner {
    grid-template-columns: auto 1fr auto;
  }
  .topbar-search {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
    border: 1px solid var(--qeres-line);
    background: rgba(20, 0, 34, 0.85);
    color: #fff;
  }
  .topbar-lang,
  .topbar-login { display: none; }
  .topbar-cta { padding-inline: 12px; font-size: 0.82rem; }
  .brand-copy em { display: none; }
  .metrics,
  .grid,
  .blog-list,
  .pricing-grid,
  .showcase-grid,
  .feature-grid,
  .solution-grid,
  .value-pill-grid,
  .enterprise-grid,
  .faculty-grid,
  .audience-grid,
  .decision-grid,
  .home-course-grid { grid-template-columns: 1fr; }
  .faculty-row { grid-auto-columns: minmax(220px, 1fr); }
  .home-story,
  .home-vision { grid-template-columns: 1fr; }
  .hero-platform-carousel {
    height: clamp(330px, 62vh, 470px);
  }
  .hero-platform-content {
    width: min(var(--max), 92vw);
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    bottom: 56px;
  }
  .hero-platform-content h1 {
    font-size: clamp(1.55rem, 8.5vw, 2.6rem);
    max-width: 18ch;
  }
  .hero-platform-content p {
    font-size: 0.9rem;
  }
  .hero-platform-topics {
    gap: 6px;
  }
  .hero-topic-chip {
    font-size: 0.74rem;
    padding: 6px 10px;
  }
  .hero-platform-actions .btn {
    width: 100%;
  }
  .hero-platform-arrow {
    display: none;
  }
  .hero-platform-dots {
    left: 50%;
    transform: translateX(-50%);
    bottom: 14px;
  }
  .hero-platzi { padding-top: 58px; padding-bottom: 42px; }
  .hero-platzi h1 { font-size: clamp(1.85rem, 8.5vw, 2.65rem); }
  .hero-search-label { font-size: 1.3rem; }
  .hero-search-form { grid-template-columns: 1fr; }
  .hero-search-form .btn { width: 100%; }
  .hero-platzi-inner { gap: 12px; }
  .brand-copy strong { font-size: 0.95rem; }
  .home-vision { padding: 16px; gap: 14px; }
  .home-vision-symbol { width: 124px; height: 124px; border-radius: 14px; }
  .home-vision-symbol svg { width: 76px; height: 76px; }
  .home-vision-copy h2 { font-size: clamp(1.25rem, 8vw, 1.8rem); }
  .home-vision-copy p { font-size: 0.9rem; }
  .decision-top h3 { font-size: 1.65rem; }
  .home-change-kpis { grid-template-columns: 1fr; }
  .hero-proof { gap: 6px; }
  .hero-proof span { font-size: 0.72rem; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head .btn { align-self: flex-start; }
  .qplus-teaser .hero-cta .btn { width: 100%; }
  .pricing-grid-b2c { grid-template-columns: 1fr; }
  .plan-feature-list { grid-template-columns: 1fr; }
  .qplus-hero-shell { padding: 16px; }
  .qplus-hero-shell h1 { font-size: clamp(1.7rem, 8.8vw, 2.5rem); }
  .qplus-hero-actions .btn { width: 100%; }
  .qplus-hero-proof .tag { font-size: 0.62rem; }
  .tech-showcase { grid-template-columns: 1fr; }
  .qplus-row-track { grid-auto-columns: minmax(168px, 1fr); }
  .qplus-row-head { flex-direction: column; align-items: flex-start; }
  .qplus-b2b-cta {
    grid-template-columns: 1fr;
  }
  .qplus-b2b-actions {
    width: 100%;
    display: grid;
    gap: 8px;
  }
  .qplus-b2b-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .final-cta-card { padding: 16px; }
  .final-cta-main .hero-cta .btn { width: 100%; }
  .final-cta-side .btn { width: 100%; }
  .scroll-cue::before,
  .scroll-cue::after { display: none; }
  .scroll-hint { font-size: 0.74rem; }
  .enterprise-shell { padding: 14px; border-radius: 18px; }
  .content-area-card {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .content-area-icon { width: 54px; height: 54px; }
  .content-area-main h3 { font-size: 1.12rem; }
  .content-area-main p { font-size: 0.82rem; }
  .audience-link { width: 100%; }
  .rail-head { flex-direction: column; align-items: flex-start; }
  .rail-head h3 { font-size: 1.4rem; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .floating-cta { left: 12px; right: 12px; text-align: center; }
  .modal-media { height: 220px; }
}

@media (max-width: 560px) {
  .company-wordmark {
    width: 144px;
  }
  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* Home fixes (override) */
.home-vision.home-vision--single {
  grid-template-columns: minmax(0, 1fr);
}

.home-vision.home-vision--single .home-vision-copy h2 {
  max-width: 28ch;
  text-wrap: balance;
}

.home-change-logo img {
  width: min(170px, 100%);
  height: auto;
  object-fit: contain;
}

/* Commercial home hero: full width with fade to page background */
.hero.hero-platform {
  padding-top: 0;
}

.hero.hero-platform > #home-hero-carousel.hero-platform-fullbleed {
  width: 100%;
  max-width: none;
}

.hero-platform-fullbleed .hero-platform-carousel {
  width: 100%;
}

.hero-platform-carousel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(27, 21, 51, 0) 0%,
    rgba(27, 21, 51, 0.72) 66%,
    rgba(27, 21, 51, 0.95) 86%,
    rgba(27, 21, 51, 1) 100%
  );
}

/* Route cards in commercial catalog: same visual base, explicitly blocked */
.route-locked-card {
  position: relative;
  cursor: default;
}

.route-locked-card:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(165, 182, 255, 0.24);
}

.route-locked-card .course-media {
  position: relative;
}

.route-lock-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 8, 20, 0.72), rgba(10, 8, 20, 0.12));
  pointer-events: none;
}

.route-lock-badge {
  position: absolute;
  z-index: 2;
  right: 10px;
  top: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(6, 6, 14, 0.56);
  color: #eef1ff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 5px 10px;
}

.route-lock-cta {
  width: 100%;
  justify-content: center;
}

/* Course detail (commercial): netflix-like hero + sticky conversion rail */
.course-neo-stage {
  padding-top: 26px;
}

.course-neo-hero {
  margin-top: 14px;
  position: relative;
  min-height: 430px;
  overflow: hidden;
}

.course-neo-media {
  position: absolute;
  inset: 0;
}

.course-neo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.course-neo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(10, 9, 20, 0.94) 6%, rgba(14, 12, 30, 0.86) 42%, rgba(11, 11, 26, 0.42) 72%, rgba(11, 11, 26, 0.62) 100%),
    linear-gradient(180deg, rgba(27, 21, 51, 0.04) 0%, rgba(27, 21, 51, 0.82) 100%);
}

.course-neo-content {
  position: relative;
  z-index: 1;
  padding: 24px;
  max-width: 780px;
  display: grid;
  gap: 14px;
}

.course-neo-content h1 {
  margin: 0;
  font-size: clamp(2rem, 4.1vw, 3.5rem);
  line-height: 1.02;
}

.course-neo-content p {
  margin: 0;
  color: #d4daf6;
  max-width: 64ch;
  line-height: 1.52;
}

.course-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.course-hero-pill {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(10, 10, 24, 0.36);
  color: #edf2ff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 10px;
}

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

.course-hero-status {
  display: grid;
  gap: 6px;
}

.course-hero-status-muted {
  color: #c2caee;
  font-size: 0.9rem;
}

.course-launch-meter {
  border: 1px solid rgba(143, 197, 255, 0.28);
  border-radius: 14px;
  background: rgba(14, 13, 32, 0.62);
  padding: 12px;
  display: grid;
  gap: 8px;
  max-width: 560px;
}

.course-launch-head {
  display: grid;
  gap: 2px;
}

.course-launch-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #bfd4ff;
  font-weight: 700;
}

.course-launch-head strong {
  font-size: 0.94rem;
  color: #f2f6ff;
}

.course-launch-progress {
  height: 9px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.course-launch-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d946ef, #7c3aed);
}

.course-launch-note {
  color: #d4ddfc;
  font-size: 0.83rem;
}

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

.course-neo-episode {
  border: 1px solid rgba(163, 178, 242, 0.24);
  border-radius: 14px;
  background:
    radial-gradient(280px 110px at 4% 0%, rgba(182, 95, 255, 0.18), transparent 72%),
    linear-gradient(160deg, rgba(20, 16, 38, 0.9), rgba(12, 11, 28, 0.92));
  padding: 12px;
  display: grid;
  gap: 8px;
}

.course-neo-episode h3 {
  margin: 0;
  font-size: 1rem;
}

.course-neo-episode p {
  margin: 0;
  color: #cad0ee;
  font-size: 0.84rem;
  line-height: 1.45;
}

.course-platform-list {
  gap: 14px;
}

.course-platform-intro {
  color: #d4daf6;
  max-width: 72ch;
}

.course-platform-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.course-platform-label {
  color: #d5daf6;
  font-size: 0.98rem;
  font-weight: 700;
}

.course-platform-select {
  min-width: min(420px, 92vw);
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(28, 22, 50, 0.88);
  color: #eef2ff;
  font: inherit;
  font-weight: 700;
  padding: 10px 36px 10px 12px;
}

.course-platform-count {
  color: #aeb7df;
  font-size: 0.86rem;
}

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

.course-platform-meta span {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #dce3ff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 10px;
}

.course-platform-modules {
  display: grid;
  gap: 12px;
}

.course-platform-module {
  border: 1px solid rgba(160, 176, 241, 0.2);
  border-radius: 14px;
  background: rgba(13, 11, 29, 0.38);
  padding: 12px;
  display: grid;
  gap: 10px;
}

.course-platform-module[hidden] {
  display: none !important;
}

.course-platform-module-head {
  display: grid;
  gap: 4px;
}

.course-platform-module-head h3 {
  margin: 0;
  font-size: 0.98rem;
}

.course-platform-module-head p {
  margin: 0;
  color: #b8c2ea;
  font-size: 0.82rem;
}

.course-platform-module-summary {
  color: #d6dcf9;
  font-size: 0.86rem;
}

.course-platform-module-meta {
  color: #acb8e6;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

.course-platform-items {
  display: grid;
  gap: 10px;
}

.course-classes-carousel-shell,
.course-related-shell {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  gap: 10px;
  align-items: center;
}

.course-carousel-btn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(169, 184, 244, 0.34);
  border-radius: 999px;
  background: rgba(23, 18, 41, 0.9);
  color: #eef2ff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.course-carousel-btn:hover {
  border-color: rgba(217, 96, 255, 0.62);
}

.course-classes-carousel {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
}

.course-classes-carousel .course-platform-item {
  min-width: min(420px, 86vw);
  scroll-snap-align: start;
}

.course-platform-item {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid rgba(160, 176, 241, 0.22);
  border-radius: 12px;
  padding: 10px;
  background: rgba(13, 11, 29, 0.52);
}

.course-platform-thumb {
  position: relative;
  margin: 0;
  width: 100%;
  align-self: start;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  aspect-ratio: 16 / 9;
  min-height: 112px;
}

.course-platform-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
}

.course-platform-thumb::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, #d946ef, #9333ea);
}

.course-platform-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.course-platform-copy h3 {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.course-platform-time {
  margin: 0;
  color: #c9cff0;
  font-size: 0.8rem;
}

.course-platform-copy p {
  margin: 0;
  color: #d1d7f3;
  line-height: 1.4;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.course-related-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
}

.course-related-card {
  min-width: min(280px, 72vw);
  scroll-snap-align: start;
}

.course-related-link {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(159, 177, 241, 0.24);
  border-radius: 12px;
  background: rgba(13, 11, 29, 0.52);
  padding: 8px;
  color: inherit;
  text-decoration: none;
}

.course-related-thumb {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.course-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-related-copy h3 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.25;
}

.course-related-copy p {
  margin: 4px 0 0;
  color: #bdc8ee;
  font-size: 0.8rem;
}

.course-platform-more {
  margin: 2px 0 0;
  color: #bec8f1;
  font-size: 0.8rem;
}

.course-trailer-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(161, 177, 241, 0.24);
  background: rgba(12, 10, 28, 0.8);
}

.course-trailer-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.course-trailer-note {
  color: #b9c4ec;
  font-size: 0.82rem;
}

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

.course-review-card {
  border: 1px solid rgba(159, 176, 240, 0.24);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 12px;
  display: grid;
  gap: 8px;
}

.course-review-head {
  display: grid;
  gap: 2px;
}

.course-review-head strong {
  font-size: 0.92rem;
}

.course-review-head span {
  color: #c1cbee;
  font-size: 0.78rem;
}

.course-review-card p {
  margin: 0;
  color: #dbe3ff;
  font-size: 0.86rem;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .course-neo-hero {
    min-height: 380px;
  }
  .course-neo-content {
    padding: 18px;
  }
  .course-hero-actions .btn {
    width: 100%;
  }
  .course-neo-track {
    grid-template-columns: 1fr;
  }
  .course-launch-meter {
    max-width: 100%;
  }
  .course-platform-item {
    grid-template-columns: 1fr;
  }
  .course-platform-thumb {
    min-height: 138px;
  }
  .course-classes-carousel-shell,
  .course-related-shell {
    grid-template-columns: 1fr;
  }
  .course-carousel-btn {
    display: none;
  }
  .course-review-list {
    grid-template-columns: 1fr;
  }
}

/* Home section redesign: Qeres Plus + Vision */
.home-change--revamp {
  position: relative;
  padding: 26px;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  grid-template-areas: "logo body";
  gap: 18px;
  border: 1px solid rgba(150, 171, 245, 0.22);
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(760px 220px at 8% -10%, rgba(199, 95, 255, 0.22), rgba(23, 16, 44, 0) 72%),
    radial-gradient(760px 240px at 96% 102%, rgba(72, 170, 255, 0.15), rgba(17, 12, 34, 0) 72%),
    linear-gradient(160deg, rgba(24, 15, 46, 0.95), rgba(14, 10, 31, 0.95));
}

.home-change--revamp::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.home-change--revamp .home-change-logo {
  grid-area: logo;
  min-height: 170px;
  border-radius: 20px;
  border: 1px solid rgba(176, 197, 255, 0.3);
  background:
    radial-gradient(260px 130px at 16% 0%, rgba(212, 91, 255, 0.24), rgba(20, 14, 40, 0) 72%),
    linear-gradient(165deg, rgba(23, 16, 40, 0.92), rgba(17, 14, 36, 0.9));
  box-shadow: 0 18px 34px rgba(7, 5, 16, 0.36);
}

.home-change--revamp .home-change-logo img {
  width: min(190px, 100%);
  filter: drop-shadow(0 8px 18px rgba(13, 10, 27, 0.45));
}

.home-change--revamp .home-change-body {
  grid-area: body;
  align-content: center;
  gap: 12px;
}

.home-change--revamp .home-change-body .mini {
  font-size: 1.04rem;
  line-height: 1.45;
  max-width: 62ch;
  color: #d7def8;
}

.home-change--revamp .home-change-tags .tag {
  border-color: rgba(154, 176, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.home-change--revamp .home-change-kpis {
  grid-area: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-change--revamp .change-kpi {
  border-radius: 14px;
  border: 1px solid rgba(164, 184, 246, 0.28);
  background:
    radial-gradient(240px 84px at 0% 0%, rgba(196, 95, 255, 0.15), rgba(20, 14, 40, 0) 75%),
    rgba(22, 16, 41, 0.72);
  padding: 14px 16px;
}

.home-change--revamp .change-kpi strong {
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
  letter-spacing: 0.01em;
  color: #f1f5ff;
}

.home-change--revamp .change-kpi span {
  font-size: 0.9rem;
  color: #c6cff0;
}

.home-vision--revamp {
  position: relative;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  border: 1px solid rgba(153, 173, 242, 0.24);
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(820px 260px at -2% -8%, rgba(189, 95, 255, 0.22), rgba(23, 18, 45, 0) 72%),
    radial-gradient(760px 260px at 102% 102%, rgba(69, 150, 255, 0.16), rgba(22, 15, 41, 0) 72%),
    linear-gradient(162deg, rgba(33, 24, 62, 0.92), rgba(24, 19, 49, 0.9));
}

.home-vision--revamp::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.home-vision-brand {
  border-radius: 18px;
  border: 1px solid rgba(167, 186, 255, 0.3);
  background:
    radial-gradient(260px 140px at 12% 0%, rgba(211, 95, 255, 0.26), rgba(28, 20, 53, 0) 74%),
    rgba(28, 21, 54, 0.7);
  padding: 18px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.home-vision-mark {
  width: 110px;
  height: 110px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 10, 32, 0.44);
  display: grid;
  place-items: center;
}

.home-vision-mark img {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.home-vision-brand p {
  margin: 0;
  color: #d8e0ff;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.home-vision--revamp .home-vision-copy {
  display: grid;
  gap: 12px;
  align-content: center;
}

.home-vision--revamp .home-vision-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.home-vision--revamp .home-vision-copy p {
  margin: 0;
  max-width: 70ch;
  color: #d7ddf7;
  line-height: 1.56;
  font-size: 1rem;
}

.home-vision-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.home-vision-pill {
  border-radius: 999px;
  border: 1px solid rgba(170, 189, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
  color: #e9edff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 7px 12px;
}

.home-vision--revamp .home-vision-sign {
  margin-top: 2px;
  color: #f0c8ff;
  font-size: 1rem;
}

@media (max-width: 1080px) {
  .home-change--revamp {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "body";
  }

  .home-change--revamp .home-change-logo {
    justify-self: start;
    width: min(240px, 100%);
  }

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

  .home-vision--revamp {
    grid-template-columns: 1fr;
  }

  .home-vision-brand {
    grid-template-columns: auto 1fr;
    align-items: center;
  }
}

@media (max-width: 780px) {
  .home-change--revamp {
    padding: 18px;
    gap: 14px;
  }

  .home-change--revamp .home-change-body .mini {
    font-size: 0.94rem;
  }

  .home-change--revamp .home-change-kpis {
    grid-template-columns: 1fr;
  }

  .home-vision--revamp {
    padding: 18px;
    gap: 14px;
  }

  .home-vision-brand {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .home-vision--revamp .home-vision-copy h2 {
    font-size: clamp(1.55rem, 8.2vw, 2.2rem);
  }

  .home-vision--revamp .home-vision-copy p {
    font-size: 0.92rem;
  }
}

/* Editorial polish for teaser + vision sections */
.qplus-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(160, 180, 245, 0.22);
  border-radius: 24px;
  background:
    radial-gradient(760px 220px at 2% -10%, rgba(194, 91, 255, 0.2), rgba(18, 14, 34, 0) 72%),
    radial-gradient(740px 220px at 102% 102%, rgba(78, 172, 255, 0.14), rgba(16, 12, 30, 0) 72%),
    linear-gradient(162deg, rgba(22, 16, 41, 0.94), rgba(13, 10, 30, 0.95));
  padding: 22px;
}

.qplus-teaser-copy {
  gap: 12px;
}

.qplus-teaser h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
  line-height: 1.06;
  max-width: 22ch;
}

.qplus-teaser-copy .mini {
  margin: 0;
  color: #d3dbf8;
  font-size: 1rem;
  line-height: 1.52;
  max-width: 70ch;
}

.qplus-teaser .hero-cta {
  margin-top: 4px;
}

.qplus-teaser-side {
  border-radius: 16px;
  border: 1px solid rgba(170, 189, 255, 0.24);
  background: rgba(9, 8, 21, 0.34);
  padding: 14px;
  display: grid;
  gap: 10px;
}

.qplus-pill {
  border-radius: 12px;
  border: 1px solid rgba(170, 189, 255, 0.26);
  background: rgba(255, 255, 255, 0.03);
  color: #dbe2fb;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 14px;
}

.qplus-teaser-side .btn {
  width: 100%;
  justify-content: center;
}

.home-vision--revamp {
  grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
  border: 1px solid rgba(158, 178, 245, 0.24);
  border-radius: 24px;
  background:
    radial-gradient(760px 240px at -6% -10%, rgba(185, 95, 255, 0.18), rgba(25, 19, 48, 0) 72%),
    radial-gradient(700px 220px at 104% 104%, rgba(74, 168, 255, 0.12), rgba(20, 15, 40, 0) 72%),
    linear-gradient(160deg, rgba(31, 24, 57, 0.92), rgba(21, 18, 44, 0.9));
}

.home-vision-brand {
  align-content: start;
  gap: 10px;
  border-radius: 16px;
  border: 1px solid rgba(166, 186, 255, 0.24);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
}

.home-vision-mark {
  width: 100%;
  height: auto;
  min-height: 92px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(13, 10, 30, 0.52);
  padding: 12px;
}

.home-vision-mark img {
  width: min(185px, 100%);
  height: auto;
}

.home-vision-brand p {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #bfc9ed;
}

.home-vision--revamp .home-vision-copy {
  gap: 12px;
}

.home-vision--revamp .home-vision-copy h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3.05rem);
  line-height: 1.02;
  max-width: 22ch;
}

.home-vision--revamp .home-vision-copy p {
  margin: 0;
  color: #d5dcf7;
  font-size: 1rem;
  line-height: 1.54;
  max-width: 70ch;
}

.home-vision-pill-row {
  margin-top: 2px;
}

.home-vision-pill {
  border: 1px solid rgba(173, 191, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: #e8edff;
}

.home-vision--revamp .home-vision-sign {
  margin-top: 2px;
  color: #e9c8ff;
}

@media (max-width: 1080px) {
  .qplus-teaser {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-vision--revamp {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-vision-brand {
    width: min(360px, 100%);
  }
}

@media (max-width: 780px) {
  .qplus-teaser {
    padding: 16px;
  }

  .qplus-teaser h2 {
    font-size: clamp(1.45rem, 8vw, 2rem);
  }

  .qplus-teaser-copy .mini {
    font-size: 0.92rem;
  }

  .qplus-teaser .hero-cta .btn {
    width: 100%;
  }

  .home-vision--revamp {
    padding: 16px;
  }

  .home-vision--revamp .home-vision-copy h2 {
    font-size: clamp(1.45rem, 8vw, 2rem);
  }

  .home-vision--revamp .home-vision-copy p {
    font-size: 0.92rem;
  }

  .home-vision--revamp .hero-cta .btn {
    width: 100%;
  }
}

/* Platform tone unification + section redesign */
body {
  background:
    radial-gradient(1100px 420px at -8% -12%, rgba(124, 92, 214, 0.2), rgba(37, 29, 72, 0) 66%),
    radial-gradient(980px 420px at 106% -8%, rgba(75, 150, 231, 0.14), rgba(31, 25, 63, 0) 64%),
    linear-gradient(180deg, #241d47 0%, #211a3f 34%, #1d1738 100%);
}

.topbar {
  background:
    linear-gradient(90deg, rgba(36, 29, 71, 0.95), rgba(34, 27, 68, 0.95), rgba(31, 25, 63, 0.95)),
    rgba(36, 29, 71, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-platform-carousel {
  border-bottom: 0 !important;
}

.hero-platform-carousel::after {
  background: linear-gradient(
    180deg,
    rgba(36, 29, 71, 0) 0%,
    rgba(36, 29, 71, 0.62) 64%,
    rgba(36, 29, 71, 0.92) 84%,
    rgba(36, 29, 71, 1) 100%
  );
}

.qplus-teaser--editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 20px;
  align-items: stretch;
  border-radius: 26px;
  border: 1px solid rgba(162, 183, 245, 0.22);
  background:
    radial-gradient(760px 220px at -6% -8%, rgba(193, 91, 255, 0.18), rgba(23, 17, 44, 0) 72%),
    radial-gradient(760px 240px at 104% 108%, rgba(73, 171, 255, 0.14), rgba(21, 16, 41, 0) 72%),
    linear-gradient(158deg, rgba(26, 19, 50, 0.96), rgba(16, 13, 34, 0.95));
  padding: 24px;
}

.qplus-teaser--editorial .qplus-teaser-copy {
  display: grid;
  gap: 12px;
  align-content: center;
}

.qplus-teaser--editorial .qplus-teaser-copy h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.04;
  max-width: 20ch;
}

.qplus-teaser--editorial .qplus-teaser-copy .mini {
  margin: 0;
  color: #d2daf7;
  font-size: 1.02rem;
  line-height: 1.52;
  max-width: 66ch;
}

.qplus-teaser-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.qplus-teaser-list li {
  position: relative;
  padding-left: 18px;
  color: #e3e8ff;
  font-size: 0.9rem;
  line-height: 1.45;
}

.qplus-teaser-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(140deg, #d946ef, #6366f1);
}

.qplus-teaser-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(175, 194, 255, 0.26);
  min-height: 292px;
  box-shadow: 0 24px 44px rgba(8, 6, 18, 0.42);
  background:
    radial-gradient(240px 120px at 14% 10%, rgba(215, 91, 255, 0.25), rgba(20, 15, 40, 0) 72%),
    radial-gradient(300px 140px at 88% 90%, rgba(86, 173, 255, 0.22), rgba(20, 15, 40, 0) 72%),
    linear-gradient(160deg, rgba(19, 14, 37, 0.98), rgba(11, 10, 27, 0.98));
}

.qplus-product-mockup {
  height: 100%;
  min-height: 292px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
  padding: 12px;
}

.qplus-mockup-header {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
}

.qplus-mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(140deg, #d946ef, #6366f1);
}

.qplus-mockup-title {
  color: #d3daf7;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.qplus-mockup-screen {
  border-radius: 14px;
  border: 1px solid rgba(173, 193, 255, 0.3);
  background:
    radial-gradient(220px 80px at 4% 0%, rgba(193, 91, 255, 0.22), rgba(20, 14, 40, 0) 72%),
    linear-gradient(155deg, rgba(18, 14, 35, 0.94), rgba(10, 9, 24, 0.94));
  padding: 12px;
  display: grid;
  gap: 10px;
}

.qplus-mockup-hero {
  border-radius: 10px;
  border: 1px solid rgba(164, 184, 246, 0.25);
  background: rgba(255, 255, 255, 0.05);
  color: #eef2ff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 10px;
}

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

.qplus-mockup-card {
  border-radius: 10px;
  border: 1px solid rgba(164, 184, 246, 0.22);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px;
  display: grid;
  gap: 3px;
}

.qplus-mockup-card strong {
  color: #e8edff;
  font-size: 0.75rem;
}

.qplus-mockup-card span {
  color: #bfcaee;
  font-size: 0.7rem;
  line-height: 1.35;
}

.home-vision--editorial {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: stretch;
  border-radius: 26px;
  border: 1px solid rgba(132, 183, 255, 0.28);
  background:
    radial-gradient(900px 320px at -10% -12%, rgba(110, 194, 255, 0.22), rgba(28, 20, 52, 0) 72%),
    radial-gradient(900px 320px at 108% 110%, rgba(197, 106, 255, 0.2), rgba(24, 17, 45, 0) 72%),
    linear-gradient(160deg, #2b1f51 0%, #251b48 52%, #20173f 100%);
  padding: 24px;
}

.home-vision-side {
  border-radius: 18px;
  border: 1px solid rgba(171, 191, 255, 0.24);
  min-height: 360px;
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 12px;
  background:
    radial-gradient(220px 110px at 16% 0%, rgba(194, 95, 255, 0.24), rgba(20, 15, 40, 0) 72%),
    radial-gradient(220px 110px at 86% 100%, rgba(95, 177, 255, 0.22), rgba(20, 15, 40, 0) 72%),
    linear-gradient(165deg, rgba(16, 13, 35, 0.92), rgba(11, 10, 28, 0.94));
}

.home-vision-side--plain {
  align-content: center;
}

.home-vision-side-kicker {
  margin: 0;
  color: #cbd5f6;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.home-vision-side--plain h3 {
  margin: 0;
  color: #edf2ff;
  font-size: 1.35rem;
  line-height: 1.1;
}

.home-vision-side--plain p {
  margin: 0;
  color: #cdd7f6;
  font-size: 0.92rem;
  line-height: 1.52;
}

.home-vision-side-logo {
  width: 94px;
  height: 94px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
}

.home-vision-side-logo img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.home-vision-side-title {
  margin: 0;
  color: #eef2ff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-vision-side-copy {
  margin: 0;
  color: #cdd7f6;
  font-size: 0.9rem;
  line-height: 1.5;
}

.home-vision-side-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-vision-side-tags span {
  border-radius: 999px;
  border: 1px solid rgba(173, 193, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: #e4ebff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 6px 10px;
}

.home-vision--editorial .home-vision-copy {
  display: grid;
  gap: 12px;
  align-content: center;
}

.home-vision--editorial .home-vision-copy h2 {
  margin: 0;
  font-size: clamp(1.95rem, 3.3vw, 3.2rem);
  line-height: 1.02;
  max-width: 20ch;
}

.home-vision--editorial .home-vision-copy p {
  margin: 0;
  color: #d6def8;
  font-size: 1rem;
  line-height: 1.55;
  max-width: 70ch;
}

.home-vision-signature {
  margin-top: 4px;
  color: #f1d8ff;
  font-size: 1.02rem;
  font-style: italic;
  letter-spacing: 0.01em;
}

.home-vision-points {
  display: grid;
  gap: 8px;
}

.home-vision-point {
  border-radius: 12px;
  border: 1px solid rgba(173, 193, 255, 0.24);
  background: rgba(8, 8, 19, 0.24);
  padding: 10px 12px;
  display: grid;
  gap: 4px;
}

.home-vision-point strong {
  color: #eef2ff;
  font-size: 0.9rem;
}

.home-vision-point span {
  color: #c9d3f2;
  font-size: 0.84rem;
  line-height: 1.45;
}

.home-vision--editorial .home-vision-sign {
  color: #efcbff;
}

@media (max-width: 1080px) {
  .qplus-teaser--editorial {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .qplus-teaser-media {
    min-height: 240px;
  }

  .qplus-product-mockup {
    min-height: 240px;
  }

  .home-vision--editorial {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home-vision-side {
    min-height: 250px;
  }
}

@media (max-width: 780px) {
  .qplus-teaser--editorial {
    padding: 16px;
  }

  .qplus-teaser--editorial .qplus-teaser-copy h2 {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }

  .qplus-teaser--editorial .qplus-teaser-copy .mini {
    font-size: 0.92rem;
  }

  .qplus-teaser-list li {
    font-size: 0.85rem;
  }

  .qplus-teaser--editorial .hero-cta .btn {
    width: 100%;
  }

  .qplus-mockup-grid {
    grid-template-columns: 1fr;
  }

  .home-vision--editorial {
    padding: 16px;
  }

  .home-vision--editorial .home-vision-copy h2 {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }

  .home-vision--editorial .home-vision-copy p {
    font-size: 0.92rem;
  }

  .home-vision-brandline img {
    width: 140px;
  }

  .home-vision--editorial .hero-cta .btn {
    width: 100%;
  }
}

/* Final cleanup for Product + Vision sections */
.qplus-product-shot {
  position: relative;
  height: 100%;
  min-height: 292px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(170, 190, 255, 0.28);
  background:
    radial-gradient(360px 170px at 16% 14%, rgba(211, 96, 255, 0.26), rgba(17, 14, 36, 0) 70%),
    radial-gradient(360px 170px at 88% 90%, rgba(94, 178, 255, 0.2), rgba(17, 14, 36, 0) 70%),
    linear-gradient(160deg, rgba(19, 15, 37, 0.98), rgba(12, 11, 28, 0.98));
}

.qplus-product-shot-overlay {
  position: absolute;
  inset: 0;
  padding: 14px;
  display: grid;
  align-content: center;
  gap: 12px;
  background:
    linear-gradient(180deg, rgba(12, 10, 27, 0.24) 10%, rgba(12, 10, 27, 0.88) 92%),
    repeating-linear-gradient(
      125deg,
      rgba(255, 255, 255, 0.025) 0 5px,
      rgba(255, 255, 255, 0) 5px 13px
    );
}

.qplus-shot-header {
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(186, 205, 255, 0.34);
  background: rgba(9, 9, 20, 0.52);
  color: #e8edff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.qplus-shot-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(140deg, #d946ef, #6366f1);
}

.qplus-shot-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.qplus-shot-cards article {
  border-radius: 10px;
  border: 1px solid rgba(168, 187, 247, 0.28);
  background: rgba(12, 12, 30, 0.58);
  padding: 9px;
  display: grid;
  gap: 3px;
}

.qplus-shot-cards strong {
  color: #f0f3ff;
  font-size: 0.75rem;
}

.qplus-shot-cards p {
  margin: 0;
  color: #c6d0f2;
  font-size: 0.72rem;
  line-height: 1.35;
}

.home-vision--editorial {
  grid-template-columns: minmax(0, 1fr);
}

.home-vision--editorial .home-vision-copy {
  max-width: 980px;
  margin-inline: auto;
  gap: 14px;
}

.home-vision--editorial .home-vision-copy h2 {
  max-width: 16ch;
}

@media (max-width: 1080px) {
  .qplus-product-shot {
    min-height: 240px;
  }
}

@media (max-width: 780px) {
  .qplus-shot-cards {
    grid-template-columns: 1fr;
  }
}

/* Hard override: Vision section final style */
.home-vision--editorial {
  border: 1px solid rgba(152, 178, 255, 0.28);
  background:
    radial-gradient(920px 360px at -6% -14%, rgba(205, 77, 255, 0.3), rgba(20, 16, 38, 0) 60%),
    radial-gradient(760px 340px at 108% 108%, rgba(85, 164, 255, 0.26), rgba(20, 16, 38, 0) 62%),
    linear-gradient(145deg, rgba(47, 22, 85, 0.92), rgba(27, 22, 68, 0.9) 50%, rgba(16, 20, 56, 0.92));
  box-shadow: 0 22px 42px rgba(8, 7, 20, 0.32);
}

.home-vision--editorial .home-vision-copy {
  max-width: 980px;
  margin-inline: auto;
  gap: 14px;
}

.home-vision--editorial .home-vision-copy h2 {
  margin: 0;
  max-width: 17ch;
}

.home-vision--editorial .home-vision-signature {
  margin-top: 6px;
  color: #f5ddff;
  font-size: 1.06rem;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.01em;
  opacity: 0.98;
}

.home-vision--editorial .home-vision-points,
.home-vision--editorial .home-vision-point,
.home-vision--editorial .hero-cta,
.home-vision--editorial .home-vision-brand,
.home-vision--editorial .home-vision-brandline,
.home-vision--editorial .home-vision-side {
  display: none !important;
}

/* Home responsive + teaser media refinements */
.qplus-product-shot {
  position: relative;
  overflow: hidden;
}

.qplus-shot-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02) brightness(0.86);
}

.qplus-product-shot-overlay {
  align-content: start;
  background:
    linear-gradient(180deg, rgba(12, 10, 27, 0.26) 0%, rgba(12, 10, 27, 0.55) 45%, rgba(12, 10, 27, 0.9) 100%),
    repeating-linear-gradient(
      125deg,
      rgba(255, 255, 255, 0.02) 0 5px,
      rgba(255, 255, 255, 0) 5px 13px
    );
}

.qplus-shot-cards {
  display: none !important;
}

@media (max-width: 1200px) {
  .qplus-teaser--editorial {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .qplus-teaser-media {
    min-height: 260px;
  }
}

@media (max-width: 860px) {
  .company-wordmark {
    width: min(180px, 44vw);
  }

  .qplus-teaser--editorial {
    padding: 16px;
  }

  .qplus-teaser--editorial .hero-cta {
    gap: 8px;
  }

  .qplus-teaser--editorial .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .qplus-teaser-media {
    min-height: 220px;
  }

  .home-vision--editorial {
    padding: 16px;
  }

  .home-vision--editorial .home-vision-copy h2 {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
    max-width: 100%;
  }

  .home-vision--editorial .home-vision-copy p {
    font-size: 0.95rem;
    line-height: 1.52;
  }

  .home-vision--editorial .home-vision-signature {
    font-size: 0.96rem;
  }
}

/* Topbar/logo final sizing */
.topbar .brand-company {
  padding: 4px 0;
}

.topbar .company-wordmark {
  width: 152px;
  max-width: 34vw;
  height: auto;
}

@media (max-width: 1024px) {
  .topbar .company-wordmark {
    width: 142px;
    max-width: 42vw;
  }
}

@media (max-width: 860px) {
  .topbar .company-wordmark {
    width: 132px;
    max-width: 48vw;
  }
}

/* Final pass: compact header logo + mobile drawer search */
.topbar .company-wordmark {
  width: 124px;
  max-width: 30vw;
}

.drawer-brand .company-wordmark {
  width: 116px;
  max-width: 52vw;
}

.drawer-search {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 6px 6px 12px;
}

.drawer-search input {
  border: 0;
  background: transparent;
  color: #eef1ff;
  font: inherit;
  min-width: 0;
}

.drawer-search input::placeholder {
  color: #9da4c8;
}

.drawer-search input:focus {
  outline: none;
}

.drawer-search button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  color: #f5f6ff;
  background: linear-gradient(120deg, rgba(192, 38, 211, 0.9), rgba(99, 102, 241, 0.88));
}

.drawer-search button svg {
  width: 16px;
  height: 16px;
}

.drawer-search button circle,
.drawer-search button path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

/* Course detail polish */
.course-detail-main {
  gap: 12px;
}

.course-detail-hero {
  padding: 18px;
}

.course-platform-list {
  gap: 10px;
}

.course-platform-modules {
  gap: 10px;
}

.course-platform-module {
  padding: 10px;
}

.course-platform-item {
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 8px;
  padding: 8px;
}

.course-platform-thumb {
  height: auto;
  aspect-ratio: 16 / 9;
  min-height: 58px;
  margin: 0;
  width: 100%;
  align-self: start;
  border-radius: 8px;
}

.course-platform-copy h3 {
  font-size: 0.88rem;
  line-height: 1.2;
}

.course-platform-copy p {
  font-size: 0.8rem;
  line-height: 1.38;
}

.course-platform-time {
  font-size: 0.74rem;
}

.course-platform-copy {
  gap: 4px;
}

@media (max-width: 1024px) {
  .topbar .company-wordmark {
    width: 116px;
    max-width: 36vw;
  }
}

@media (max-width: 860px) {
  .topbar .company-wordmark {
    width: 106px;
    max-width: 42vw;
  }

  .drawer-brand .company-wordmark {
    width: 104px;
    max-width: 60vw;
  }
}

/* Course detail final polish */
.course-detail-layout {
  gap: 18px;
}

.course-detail-main {
  gap: 10px;
}

.course-detail-hero {
  padding: 16px;
}

.course-neo-stage {
  padding-bottom: 14px;
}

.course-neo-stage + section {
  padding-top: 18px;
}

.course-detail-lead {
  max-width: 78ch;
}

.course-price-strip {
  margin-top: 2px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.course-price-chip {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 7px 11px;
  font-size: 0.78rem;
  font-weight: 700;
}

.course-price-chip-official {
  background: rgba(255, 255, 255, 0.06);
  color: #d8def7;
}

.course-price-chip-launch {
  border-color: rgba(211, 96, 255, 0.48);
  background: rgba(211, 96, 255, 0.16);
  color: #f8e8ff;
}

.course-launch-meter-hero {
  margin-top: 2px;
}

.course-detail-section {
  padding: 16px;
}

.course-accordion {
  gap: 6px;
}

.course-accordion-item summary {
  padding: 10px 12px;
  font-size: 0.88rem;
}

.course-accordion-item p {
  padding: 0 12px 10px;
  font-size: 0.84rem;
}

.course-teacher-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 10px;
}

.course-teacher-avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(150deg, rgba(212, 87, 255, 0.3), rgba(94, 168, 255, 0.28));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f5f7ff;
  font-weight: 800;
  font-size: 0.9rem;
}

.course-teacher-copy h3 {
  margin: 0;
  font-size: 1rem;
}

.course-teacher-copy p {
  margin: 6px 0 0;
  color: #d2d9f6;
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .course-detail-layout {
    gap: 12px;
  }

  .course-detail-main {
    gap: 8px;
  }

  .course-detail-hero {
    padding: 14px;
  }

  .course-neo-stage {
    padding-bottom: 10px;
  }

  .course-neo-stage + section {
    padding-top: 14px;
  }

  .course-price-strip {
    gap: 6px;
  }

  .course-price-chip {
    font-size: 0.74rem;
    padding: 6px 10px;
  }

  .course-teacher-card {
    grid-template-columns: 46px 1fr;
  }

  .course-teacher-avatar {
    width: 46px;
    height: 46px;
    font-size: 0.8rem;
  }

  .course-platform-item {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 7px;
    padding: 7px;
  }

  .course-platform-thumb {
    height: 64px;
  }
}

/* Commercial demo polish: course detail density + platform-like spacing */
.course-detail-main .course-detail-section {
  gap: 18px;
}

.course-detail-main .course-detail-section h2 {
  margin: 0;
  line-height: 1.12;
}

.course-detail-main .course-detail-section > p {
  line-height: 1.68;
  max-width: 76ch;
}

.course-hero-banner {
  margin: 8px 0 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(170, 186, 246, 0.24);
  aspect-ratio: 16 / 6;
  max-height: 360px;
  position: relative;
}

.course-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.94) contrast(1.02);
}

.course-hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 8, 21, 0.72), rgba(9, 8, 21, 0.06));
}

.course-hero-banner figcaption {
  display: none;
}

.course-hero-banner figcaption span {
  color: #cfd7fb;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.course-hero-banner figcaption strong {
  color: #f1f5ff;
  font-size: 0.84rem;
  font-weight: 700;
  opacity: 0.9;
}

.course-hero-variant-controls {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

.course-hero-variant-btn {
  border: 1px solid rgba(168, 184, 243, 0.34);
  border-radius: 999px;
  background: rgba(17, 15, 37, 0.62);
  color: #e9efff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 6px 10px;
  cursor: pointer;
}

.course-hero-variant-btn[aria-pressed="true"] {
  border-color: rgba(216, 106, 255, 0.64);
  background: rgba(173, 62, 255, 0.24);
  color: #fdefff;
}

#detail-root[data-hero-variant="a"] .course-detail-hero {
  background:
    radial-gradient(520px 260px at 12% -12%, rgba(221, 80, 255, 0.22), transparent 70%),
    linear-gradient(162deg, rgba(17, 14, 35, 0.96), rgba(9, 8, 23, 0.94));
}

#detail-root[data-hero-variant="a"] .course-hero-banner img {
  filter: saturate(0.94) contrast(1.02);
}

#detail-root[data-hero-variant="b"] .course-detail-hero {
  background:
    radial-gradient(420px 210px at 96% 4%, rgba(80, 146, 255, 0.2), transparent 72%),
    linear-gradient(158deg, rgba(18, 22, 45, 0.95), rgba(10, 11, 30, 0.95));
  border-color: rgba(141, 189, 255, 0.36);
}

#detail-root[data-hero-variant="b"] .course-detail-topline .tag {
  border-color: rgba(125, 198, 255, 0.38);
  background: rgba(61, 110, 188, 0.22);
}

#detail-root[data-hero-variant="b"] .course-hero-banner {
  border-color: rgba(128, 178, 255, 0.36);
}

#detail-root[data-hero-variant="b"] .course-hero-banner img {
  filter: saturate(1.08) contrast(1.06) brightness(1.02);
}

#detail-root[data-hero-variant="b"] .course-price-chip-launch {
  border-color: rgba(124, 181, 255, 0.48);
  background: rgba(72, 122, 218, 0.24);
  color: #e8f4ff;
}

.course-detail-main .course-platform-list {
  display: grid;
  gap: 18px;
}

.course-launch-meter-compact {
  max-width: 620px;
  padding: 8px 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 10px;
}

.course-launch-meter-compact .course-launch-head {
  gap: 0;
}

.course-launch-meter-compact .course-launch-head strong {
  font-size: 0.94rem;
}

.course-launch-meter-compact .course-launch-progress,
.course-launch-meter-compact .course-launch-note {
  grid-column: 1 / -1;
}

.course-launch-meter-compact .course-launch-price {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
}

.course-launch-meter-compact .course-launch-price span {
  color: #cdd7fb;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.course-launch-meter-compact .course-launch-price strong {
  color: #f8fbff;
  font-size: 1.18rem;
  line-height: 1;
}

.course-launch-meter-compact .course-launch-price p {
  margin: 0;
  color: #d2dcff;
  font-size: 0.79rem;
}

.course-launch-meter-compact .course-launch-note {
  margin: 0;
  font-size: 0.8rem;
  color: #cdd7fb;
  line-height: 1.35;
}

.course-launch-meter-compact .hero-cta {
  margin: 0;
}

.course-launch-meter-compact .hero-cta .btn {
  padding: 8px 14px;
  white-space: nowrap;
  font-size: 0.9rem;
}

.course-launch-meter-on-image {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 3;
  width: min(520px, calc(100% - 24px));
  margin: 0;
  border-color: rgba(159, 187, 255, 0.4);
  background: rgba(8, 8, 22, 0.74);
  backdrop-filter: blur(6px);
}

.course-hero-metrics {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  max-width: min(62%, 680px);
}

.course-hero-metrics .course-metric-pill {
  background: rgba(8, 10, 25, 0.68);
  border-color: rgba(171, 193, 255, 0.42);
  font-size: 0.74rem;
  padding: 6px 9px;
}

.course-detail-main .course-platform-toolbar {
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(157, 173, 238, 0.24);
  border-radius: 12px;
  background: rgba(17, 14, 35, 0.5);
  align-items: center;
}

.course-detail-main .course-platform-count {
  font-size: 0.84rem;
  line-height: 1.45;
}

.course-detail-main .course-platform-select {
  min-width: min(560px, 100%);
  flex: 1 1 360px;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  border-radius: 12px;
  border: 1px solid rgba(161, 179, 242, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
    linear-gradient(140deg, rgba(32, 26, 58, 0.95), rgba(17, 14, 35, 0.95));
  color: #eef2ff;
  font-weight: 700;
  line-height: 1.2;
  padding: 10px 40px 10px 14px;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
    linear-gradient(140deg, rgba(32, 26, 58, 0.95), rgba(17, 14, 35, 0.95)),
    linear-gradient(45deg, transparent 50%, #dce4ff 50%),
    linear-gradient(135deg, #dce4ff 50%, transparent 50%);
  background-position:
    0 0,
    0 0,
    calc(100% - 20px) calc(50% - 3px),
    calc(100% - 14px) calc(50% - 3px);
  background-size:
    100% 100%,
    100% 100%,
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
}

.course-detail-main .course-platform-select:focus {
  outline: none;
  border-color: rgba(210, 118, 255, 0.62);
  box-shadow: 0 0 0 2px rgba(192, 38, 211, 0.2);
}

.course-detail-main .course-platform-select:hover {
  border-color: rgba(196, 125, 255, 0.54);
}

.course-detail-main .course-platform-select option {
  background: #1a1532;
  color: #eef2ff;
}

.course-sticky-price small {
  color: #cfe5ff;
  font-weight: 700;
  font-size: 0.74rem;
  margin-left: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.course-detail-main .course-platform-module-head {
  gap: 8px;
}

.course-detail-main .course-platform-module-head h3 {
  line-height: 1.25;
}

.course-detail-main .course-platform-module-head p {
  line-height: 1.55;
  color: #c8d2f5;
}

.course-detail-main .course-classes-carousel {
  gap: 12px;
  padding: 6px 2px 8px;
}

.course-detail-main .course-classes-carousel .course-platform-item {
  min-width: clamp(280px, 24vw, 340px);
  flex: 0 0 clamp(280px, 24vw, 340px);
  border-radius: 14px;
  padding: 0;
  gap: 0;
  overflow: hidden;
  border-color: rgba(146, 167, 235, 0.28);
  background: rgba(10, 10, 24, 0.86);
  grid-template-columns: 1fr;
}

.course-detail-main .course-classes-carousel .course-platform-item:hover {
  border-color: rgba(203, 112, 255, 0.62);
  transform: translateY(-2px);
  transition: transform 0.18s ease, border-color 0.2s ease;
}

@media (max-width: 1320px) {
  .course-detail-main .course-classes-carousel .course-platform-item {
    min-width: clamp(260px, 34vw, 320px);
    flex: 0 0 clamp(260px, 34vw, 320px);
  }
}

.course-detail-main .course-platform-thumb {
  min-height: 168px;
  border-radius: 0;
  border: 0;
}

.course-detail-main .course-platform-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 7, 18, 0.86), rgba(7, 7, 18, 0.14) 55%, rgba(7, 7, 18, 0));
  z-index: 1;
}

.course-platform-thumb-badge,
.course-platform-thumb-time {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 5px 8px;
}

.course-platform-thumb-badge {
  top: 8px;
  left: 8px;
  color: #f1f4ff;
  border: 1px solid rgba(180, 203, 255, 0.38);
  background: rgba(11, 14, 30, 0.72);
}

.course-platform-thumb-time {
  right: 8px;
  bottom: 8px;
  color: #f6f8ff;
  border: 1px solid rgba(219, 123, 255, 0.5);
  background: rgba(51, 16, 73, 0.72);
}

.course-platform-item--v1 .course-platform-thumb::after {
  background: linear-gradient(90deg, #c026d3, #7c3aed);
}

.course-platform-item--v2 .course-platform-thumb::after {
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
}

.course-platform-item--v3 .course-platform-thumb::after {
  background: linear-gradient(90deg, #f97316, #eab308);
}

.course-platform-item--v4 .course-platform-thumb::after {
  background: linear-gradient(90deg, #10b981, #14b8a6);
}

.course-detail-main .course-platform-copy {
  gap: 6px;
  padding: 10px 12px 12px;
}

.course-detail-main .course-platform-copy h3 {
  line-height: 1.25;
  font-size: 1.02rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-detail-main .course-platform-copy p {
  line-height: 1.45;
}

.course-platform-teaser {
  margin: 0;
  color: #c6d1f8;
  font-size: 0.86rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-platform-item--more {
  display: grid;
  place-items: center;
  min-height: 220px;
  border-style: dashed;
  border-color: rgba(192, 120, 255, 0.45);
  background:
    radial-gradient(260px 140px at 20% 0%, rgba(196, 87, 255, 0.18), transparent 72%),
    linear-gradient(165deg, rgba(16, 14, 35, 0.9), rgba(10, 10, 24, 0.95));
}

.course-platform-more-body {
  text-align: center;
  padding: 18px 16px;
  display: grid;
  gap: 8px;
  justify-items: center;
}

.course-platform-more-body strong {
  font-size: 1.18rem;
  color: #f3f6ff;
}

.course-platform-more-body p {
  margin: 0;
  color: #c8d3f8;
  font-size: 0.88rem;
  line-height: 1.42;
}

.course-platform-lock {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(212, 143, 255, 0.54);
  background: rgba(70, 19, 98, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.course-platform-lock svg {
  width: 16px;
  height: 16px;
}

.course-platform-lock path,
.course-platform-lock rect,
.course-platform-lock circle {
  fill: none;
  stroke: #f4e5ff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.course-platform-mini-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(212, 143, 255, 0.6);
  background: rgba(206, 79, 255, 0.2);
  color: #f8edff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 12px;
  text-decoration: none;
}

.course-platform-mini-cta:hover {
  border-color: rgba(230, 166, 255, 0.82);
  background: rgba(216, 97, 255, 0.3);
}

@media (max-width: 1200px) {
  .course-detail-main .course-platform-toolbar {
    align-items: stretch;
  }

  .course-detail-main .course-platform-label {
    width: 100%;
  }

  .course-detail-main .course-platform-select {
    flex: 1 1 100%;
    min-width: 100%;
  }
}

.course-detail-main .course-related-track {
  gap: 14px;
  padding: 4px 2px 8px;
}

.course-detail-main .course-related-card {
  min-width: min(300px, 76vw);
}

@media (max-width: 900px) {
  .course-detail-main .course-detail-section {
    gap: 14px;
  }

  .course-detail-main .course-platform-list {
    gap: 14px;
  }

  .course-detail-main .course-platform-toolbar {
    padding: 10px;
    align-items: stretch;
  }

  .course-detail-main .course-classes-carousel .course-platform-item {
    min-width: 100%;
    flex-basis: 100%;
    min-height: auto;
  }

  .course-detail-main .course-platform-thumb {
    min-height: 156px;
  }

  .course-platform-more-body {
    padding: 16px 12px;
    gap: 6px;
  }

  .course-platform-more-body strong {
    font-size: 1.03rem;
  }

  .course-hero-banner {
    aspect-ratio: 16 / 9;
  }

  .course-launch-meter-compact {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .course-launch-meter-compact .hero-cta .btn {
    width: 100%;
  }

  .course-launch-meter-on-image {
    position: static;
    width: auto;
    margin: 10px;
    backdrop-filter: none;
  }

  .course-hero-metrics {
    position: static;
    margin: 10px 10px 0;
    max-width: none;
    justify-content: flex-start;
  }

  .course-hero-variant-controls {
    width: 100%;
  }

  .course-hero-variant-btn {
    flex: 1 1 auto;
    text-align: center;
  }
}

/* Physiotherapy SEO landing */
.physio-hero-cinema {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  padding: 0;
}

.physio-hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(7, 8, 18, 0.98) 8%, rgba(11, 10, 28, 0.93) 40%, rgba(13, 11, 29, 0.52) 67%, rgba(13, 11, 29, 0.76) 100%),
    radial-gradient(900px 260px at 20% -10%, rgba(206, 95, 255, 0.17), rgba(18, 14, 36, 0));
  transform: scale(1.04);
}

.physio-hero-mosaic {
  position: absolute;
  right: 8px;
  top: 10px;
  bottom: 10px;
  width: min(49%, 640px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(84px, 1fr);
  gap: 8px;
  transform: perspective(1200px) rotateY(-8deg) rotateX(1.5deg);
  transform-origin: right center;
  opacity: 0.64;
  z-index: 0;
  pointer-events: none;
  animation: physioMosaicDrift 18s ease-in-out infinite;
}

.physio-hero-tile {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(182, 199, 255, 0.28);
  box-shadow: 0 10px 26px rgba(7, 8, 20, 0.38);
}

.physio-hero-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.06) contrast(1.02);
}

.physio-hero-tile-1,
.physio-hero-tile-4,
.physio-hero-tile-5 {
  grid-row: span 2;
}

.physio-hero-tile-2,
.physio-hero-tile-6 {
  transform: translateY(4px);
}

.physio-hero-tile-3,
.physio-hero-tile-8 {
  transform: translateY(-3px);
}

@keyframes physioMosaicDrift {
  0% { transform: perspective(1200px) rotateY(-8deg) rotateX(1.5deg) translateY(0); }
  50% { transform: perspective(1200px) rotateY(-7deg) rotateX(1deg) translateY(-5px); }
  100% { transform: perspective(1200px) rotateY(-8deg) rotateX(1.5deg) translateY(0); }
}

.physio-hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(18px, 3.5vw, 32px);
  display: grid;
  gap: 14px;
  max-width: min(760px, 56%);
}

.physio-hero-content h1 {
  max-width: 11ch;
  text-wrap: balance;
}

.physio-hero-content p {
  max-width: 52ch;
}

.physio-breadcrumb {
  margin-top: 0;
}

.physio-breadcrumb a,
.physio-breadcrumb strong {
  line-height: 1.4;
}

.physio-offer-bar {
  border-radius: 12px;
  border: 1px solid rgba(199, 141, 255, 0.45);
  background: rgba(18, 14, 35, 0.64);
  color: #dce4ff;
  font-size: 0.9rem;
  padding: 10px 12px;
}

.physio-seo-copy p {
  color: #c8d1f1;
  line-height: 1.58;
}

.physio-catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-top: 8px;
}

.physio-sort-label {
  color: #c8d1f1;
  font-size: 0.84rem;
  font-weight: 700;
}

.physio-catalog-toolbar .course-platform-select {
  min-width: 220px;
  width: auto;
  padding-block: 8px;
}

.physio-hero-actions .btn {
  min-height: 46px;
}

.physio-cards-grid {
  margin-top: 12px;
}

.physio-shorts-grid {
  margin-top: 12px;
}

.physio-grid-actions {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

.physio-cards-grid .course-card,
.physio-shorts-grid .short-card {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.physio-cards-grid .course-card:hover,
.physio-shorts-grid .short-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 20px 50px rgba(8, 7, 20, 0.55), 0 0 0 1px rgba(204, 135, 255, 0.28);
  border-color: rgba(210, 138, 255, 0.48);
}

.physio-cards-grid .course-card:hover .course-media img,
.physio-shorts-grid .short-card:hover .short-media img {
  transform: scale(1.05);
}

.physio-ects-block {
  position: relative;
  overflow: visible;
  padding-top: 10px;
}

.physio-ects-timeline {
  height: 2px;
  margin: 0 4px 16px;
  background: linear-gradient(90deg, rgba(217, 81, 247, 0.7), rgba(124, 58, 237, 0.82));
  border-radius: 999px;
}

.physio-accreditation-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
}

.physio-step-card {
  position: relative;
  padding-top: 42px;
  min-height: 0;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
  overflow: visible !important;
}

.physio-step-card:hover {
  transform: translateY(-3px);
  border-color: rgba(206, 142, 255, 0.52);
  box-shadow: 0 14px 32px rgba(8, 8, 20, 0.45);
}

.physio-step-badge {
  position: absolute;
  top: -14px;
  left: 14px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(202, 141, 255, 0.52);
  background: linear-gradient(145deg, rgba(216, 75, 247, 0.95), rgba(124, 58, 237, 0.95));
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.physio-step-card h3 {
  margin: 0;
  font-size: 1.06rem;
}

.physio-step-card p {
  margin: 8px 0 0;
  color: #ccd4f4;
  font-size: 0.86rem;
  line-height: 1.5;
  max-width: 40ch;
}

.physio-authority {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  background:
    radial-gradient(420px 180px at 8% 0%, rgba(207, 103, 255, 0.16), transparent 70%),
    linear-gradient(160deg, rgba(20, 15, 40, 0.94), rgba(12, 11, 29, 0.94));
}

.physio-authority-media {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(155, 176, 255, 0.28);
  background: rgba(17, 15, 33, 0.92);
}

.physio-authority-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.physio-authority-copy h2 {
  margin: 0;
}

.physio-authority-copy p {
  margin: 10px 0 12px;
  color: #c9d2f2;
  line-height: 1.56;
}

.physio-quote {
  margin: 0;
  font-size: clamp(1.65rem, 3.4vw, 2.8rem);
  line-height: 1.1;
  max-width: 28ch;
}

.physio-compare-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.physio-compare-section {
  background:
    radial-gradient(620px 180px at 10% 0%, rgba(206, 92, 250, 0.15), transparent 74%),
    linear-gradient(160deg, rgba(20, 15, 39, 0.95), rgba(12, 11, 27, 0.95));
}

.physio-compare-head {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.physio-compare-kicker {
  margin: 0;
  color: #caadff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.physio-compare-head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3.6vw, 2.65rem);
  line-height: 1.08;
  max-width: 22ch;
}

.physio-compare-head p {
  margin: 0;
  color: #c7d0f0;
  line-height: 1.5;
  max-width: 70ch;
}

.physio-compare-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.physio-compare-label {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid rgba(172, 187, 255, 0.35);
  background: rgba(13, 13, 30, 0.5);
  color: #ecf1ff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 10px;
}

.physio-compare-card ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: #d3dbfa;
  line-height: 1.5;
}

.physio-compare-card li {
  position: relative;
  padding-left: 26px;
}

.physio-compare-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #9eb1ea;
  transform: translateY(-50%);
}

.physio-compare-good {
  border-color: rgba(188, 133, 255, 0.45);
  background:
    radial-gradient(440px 140px at 6% 0%, rgba(214, 89, 252, 0.16), transparent 72%),
    linear-gradient(160deg, rgba(22, 15, 41, 0.96), rgba(12, 10, 28, 0.94));
}

.physio-compare-good li::before {
  width: 10px;
  height: 10px;
  background: linear-gradient(145deg, #d54ff6, #7c3aed);
  box-shadow: 0 0 0 2px rgba(215, 92, 250, 0.18);
}

.physio-compare-plain {
  border-color: rgba(162, 179, 255, 0.3);
  background: linear-gradient(160deg, rgba(16, 14, 34, 0.95), rgba(10, 10, 25, 0.92));
}

.physio-ai-answer h2 {
  margin: 0;
}

.physio-ai-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.physio-ai-grid article {
  border-radius: 12px;
  border: 1px solid rgba(161, 177, 242, 0.24);
  background: rgba(12, 11, 29, 0.44);
  padding: 12px;
}

.physio-ai-grid h3 {
  margin: 0;
  font-size: 1rem;
}

.physio-ai-grid p {
  margin: 8px 0 0;
  color: #c6d0f0;
  line-height: 1.52;
}

.physio-data-table {
  margin-top: 12px;
  border-radius: 12px;
  border: 1px solid rgba(161, 177, 242, 0.24);
  overflow: hidden;
}

.physio-data-table [role="row"] {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(11, 10, 27, 0.56);
}

.physio-data-table [role="row"] + [role="row"] {
  border-top: 1px solid rgba(163, 180, 246, 0.2);
}

.physio-data-table strong {
  color: #ecf2ff;
}

.physio-data-table span {
  color: #c8d1f1;
}

.physio-sticky-cta {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 70;
  justify-content: center;
}

.physio-final-cta {
  margin-top: 14px;
  align-items: center;
  justify-content: space-between;
}

.physio-final-cta p {
  margin: 0;
  color: #d8def8;
  font-size: 1rem;
  font-weight: 700;
}

@media (max-width: 1080px) {
  .physio-hero-mosaic {
    width: min(46%, 500px);
    opacity: 0.54;
  }

  .physio-hero-content {
    max-width: min(780px, 58%);
  }

  .physio-authority {
    grid-template-columns: 1fr;
  }

  .physio-accreditation-steps {
    grid-template-columns: 1fr;
  }

  .physio-ai-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .physio-hero-cinema {
    min-height: auto;
  }

  .physio-hero-content {
    max-width: none;
  }

  .physio-breadcrumb {
    font-size: 0.84rem;
  }

  .physio-kpi-row {
    gap: 6px;
  }

  .physio-kpi {
    font-size: 0.78rem;
    padding: 6px 10px;
  }

  .physio-hero h1 {
    font-size: clamp(1.9rem, 9vw, 2.8rem);
  }

  .physio-hero p {
    font-size: 0.95rem;
    line-height: 1.48;
  }

  .physio-hero-actions {
    display: grid;
    gap: 8px;
  }

  .physio-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .physio-offer-bar {
    font-size: 0.84rem;
    padding: 9px 10px;
  }

  .physio-hero-mosaic {
    display: none;
  }

  .physio-compare-grid {
    grid-template-columns: 1fr;
  }

  .physio-compare-head h2 {
    max-width: none;
  }

  .physio-final-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .physio-final-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .physio-grid-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .physio-catalog-toolbar .course-platform-select {
    min-width: 100%;
  }

  .physio-sort-label {
    width: 100%;
  }

  .physio-data-table [role="row"] {
    grid-template-columns: 1fr;
  }

  .physio-compare-head h2 {
    font-size: clamp(1.4rem, 8vw, 2rem);
  }

  .physio-compare-card li {
    padding-left: 22px;
  }

  .physio-compare-card li::before {
    width: 8px;
    height: 8px;
  }

  .physio-sticky-cta {
    display: inline-flex;
    min-height: 48px;
  }

  body[data-page="physio-courses-landing"] {
    padding-bottom: 84px;
  }
}

@media (max-width: 620px) {
  .physio-landing {
    gap: 14px;
  }

  .physio-hero-content {
    padding: 16px;
    gap: 12px;
  }

  .physio-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }

  .physio-kpi-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .physio-kpi {
    text-align: center;
  }

  .physio-seo-copy p {
    font-size: 0.92rem;
  }

  .physio-ai-grid article {
    padding: 10px;
  }

  .physio-data-table [role="row"] {
    padding: 9px 10px;
  }
}

@media (max-width: 440px) {
  .physio-kpi-row {
    grid-template-columns: 1fr;
  }

  .physio-final-cta p {
    font-size: 0.92rem;
  }

  .physio-sticky-cta {
    left: 10px;
    right: 10px;
    bottom: 8px;
  }
}

/* Qeres Plus hero - product variant */
.qplus-hero-product {
  position: relative;
  overflow: hidden;
}

.qplus-product-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(860px 320px at 12% -8%, rgba(188, 102, 255, 0.2), rgba(20, 16, 39, 0)),
    radial-gradient(700px 320px at 92% 18%, rgba(41, 181, 220, 0.16), rgba(20, 16, 39, 0)),
    linear-gradient(130deg, rgba(31, 22, 52, 0.95), rgba(11, 13, 33, 0.95));
  z-index: 0;
}

.qplus-product-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 14px;
}

.qplus-product-copy h1 {
  max-width: 20ch;
}

.qplus-product-copy p {
  max-width: 58ch;
}

.qplus-product-side {
  display: grid;
  gap: 10px;
}

.qplus-sim-card {
  border-radius: 14px;
  border: 1px solid rgba(164, 182, 250, 0.34);
  background: linear-gradient(165deg, rgba(20, 19, 45, 0.88), rgba(12, 12, 30, 0.9));
  padding: 12px;
  display: grid;
  gap: 10px;
}

.qplus-sim-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.qplus-sim-card header strong {
  font-size: 1rem;
}

.qplus-sim-card header span {
  border-radius: 999px;
  border: 1px solid rgba(169, 185, 252, 0.36);
  background: rgba(12, 14, 36, 0.55);
  color: #dbe4ff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 9px;
}

.qplus-sim-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.qplus-sim-kpis div {
  border-radius: 10px;
  border: 1px solid rgba(160, 178, 243, 0.25);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px;
  display: grid;
  gap: 3px;
}

.qplus-sim-kpis span {
  color: #b9c4eb;
  font-size: 0.72rem;
}

.qplus-sim-kpis strong {
  color: #eef2ff;
  font-size: 1.25rem;
}

.qplus-sim-card p {
  margin: 0;
  color: #c9d3f3;
  font-size: 0.83rem;
}

.qplus-sim-card-ia ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: #cfdbff;
  font-size: 0.82rem;
}

.qplus-sim-card-ia .btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 1080px) {
  .qplus-product-grid {
    grid-template-columns: 1fr;
  }

  .qplus-product-copy h1,
  .qplus-product-copy p {
    max-width: none;
  }
}

/* Physiotherapy landing */
.physio-landing {
  display: grid;
  gap: 18px;
}

.physio-hero {
  padding: clamp(18px, 3vw, 30px);
  display: grid;
  gap: 14px;
}

.physio-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5.6vw, 4rem);
  line-height: 1.02;
}

.physio-hero p {
  margin: 0;
  color: #d4daf6;
  max-width: 70ch;
  line-height: 1.52;
}

.physio-kpi-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.physio-kpi {
  border-radius: 999px;
  border: 1px solid rgba(161, 183, 255, 0.34);
  background: rgba(10, 11, 26, 0.5);
  color: #ecf1ff;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 12px;
}

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

.physio-note {
  color: #bfc9ed;
  font-size: 0.9rem;
}

.physio-spotlight {
  display: grid;
  gap: 12px;
}

.physio-spotlight-head h2 {
  margin: 0;
}

.physio-spotlight-head p {
  margin: 6px 0 0;
  color: #c5cfef;
}

.physio-spotlight-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 1fr);
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.physio-mini-card {
  min-height: 100%;
}

.physio-mini-card .qplus-mini-media {
  height: 130px;
}

.physio-mini-card .qplus-mini-body h4 {
  font-size: 0.94rem;
}

.physio-mini-card .qplus-mini-body p {
  font-size: 0.78rem;
  line-height: 1.45;
  color: #c6cff1;
}

.physio-mini-card:hover {
  transform: translateY(-2px);
  border-color: rgba(188, 140, 255, 0.5);
}

.physio-row {
  display: grid;
  gap: 10px;
}

.physio-row .qplus-row-track {
  grid-auto-columns: minmax(268px, 1fr);
}

.physio-row-controls {
  display: inline-flex;
  gap: 8px;
}

.physio-row-arrow {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(170, 186, 255, 0.34);
  background: rgba(13, 13, 30, 0.72);
  color: #f1f5ff;
  font-size: 1rem;
  cursor: pointer;
}

.physio-row-arrow:hover {
  border-color: rgba(210, 138, 255, 0.66);
  background: rgba(36, 27, 62, 0.88);
}

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

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

.physio-value-card p {
  margin: 8px 0 0;
  color: #d0d8f6;
  font-size: 0.86rem;
  line-height: 1.5;
}

.physio-faq {
  display: grid;
  gap: 10px;
}

@media (max-width: 1080px) {
  .physio-value-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .physio-hero-actions .btn {
    width: 100%;
  }

  .physio-row .qplus-row-track,
  .physio-spotlight-track {
    grid-auto-columns: minmax(220px, 82vw);
  }

  .physio-row-arrow {
    width: 34px;
    height: 34px;
  }
}

/* Qeres Plus home refresh (hero + category rows) */
.qplus-hero-refresh {
  position: relative;
  overflow: hidden;
}

.qplus-product-bg-refresh {
  background:
    radial-gradient(980px 460px at 88% -8%, rgba(31, 188, 210, 0.18), rgba(20, 16, 39, 0)),
    radial-gradient(820px 420px at 2% 20%, rgba(191, 86, 255, 0.18), rgba(20, 16, 39, 0)),
    linear-gradient(135deg, rgba(22, 19, 47, 0.97), rgba(10, 11, 29, 0.97));
}

.qplus-product-grid-refresh {
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 16px;
}

.qplus-product-copy-refresh h1 {
  max-width: 18ch;
  margin-bottom: 8px;
}

.qplus-product-copy-refresh p {
  max-width: 62ch;
}

.qplus-hero-note {
  margin: 2px 0 0;
  color: #c8d3f7;
  font-size: 0.84rem;
}

.qplus-product-side-refresh {
  display: grid;
  gap: 10px;
}

.qplus-sim-card-refresh {
  border-color: rgba(152, 179, 245, 0.32);
  background: linear-gradient(165deg, rgba(14, 17, 41, 0.9), rgba(10, 12, 31, 0.92));
}

.qplus-hero-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.qplus-hero-tile {
  position: relative;
  margin: 0;
  min-height: 92px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(166, 184, 245, 0.28);
  background: rgba(15, 14, 34, 0.7);
}

.qplus-hero-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.qplus-hero-tile span {
  position: absolute;
  left: 6px;
  bottom: 6px;
  border-radius: 999px;
  background: rgba(9, 11, 27, 0.72);
  border: 1px solid rgba(198, 210, 255, 0.32);
  color: #eef2ff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 3px 8px;
}

.qplus-catalog-toolbar {
  padding: 14px;
  margin-bottom: 12px;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(156, 176, 245, 0.26);
}

.qplus-catalog-toolbar h3 {
  margin: 0;
  font-size: 1.08rem;
}

.qplus-catalog-toolbar p {
  margin: 4px 0 0;
  font-size: 0.86rem;
  color: #c8d2f2;
}

.qplus-category-row {
  border: 1px solid rgba(165, 182, 245, 0.24);
}

.qplus-category-row .qplus-row-head p {
  margin: 4px 0 0;
  color: #c6d1f1;
  font-size: 0.84rem;
}

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

@media (max-width: 1080px) {
  .qplus-product-grid-refresh {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .qplus-hero-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qplus-category-row .qplus-row-head .btn {
    width: 100%;
    justify-content: center;
  }

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

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

/* Masters landing */
.masters-landing {
  display: grid;
  gap: 16px;
}

.masters-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
}

.masters-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(880px 340px at 8% 10%, rgba(182, 94, 250, 0.2), rgba(20, 16, 39, 0)),
    radial-gradient(700px 320px at 92% 18%, rgba(31, 188, 210, 0.16), rgba(20, 16, 39, 0)),
    linear-gradient(140deg, rgba(30, 20, 52, 0.97), rgba(10, 10, 27, 0.96));
  z-index: 0;
}

.masters-hero-content,
.masters-hero-side {
  position: relative;
  z-index: 1;
}

.masters-hero-content {
  display: grid;
  gap: 10px;
}

.masters-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bfd0fb;
  font-weight: 700;
}

.masters-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5.8vw, 4.1rem);
  line-height: 0.98;
  max-width: 14ch;
}

.masters-hero p {
  margin: 0;
  color: #d2daf8;
  line-height: 1.52;
  max-width: 60ch;
}

.masters-kpis .tag strong {
  margin-right: 4px;
}

.masters-hero-actions {
  margin-top: 4px;
}

.masters-hero-mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.masters-hero-tile {
  margin: 0;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 112px;
  border: 1px solid rgba(170, 186, 245, 0.26);
}

.masters-hero-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.masters-hero-tile figcaption {
  position: absolute;
  left: 7px;
  bottom: 7px;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.62rem;
  font-weight: 700;
  border: 1px solid rgba(198, 210, 255, 0.32);
  background: rgba(8, 10, 25, 0.74);
  color: #eef3ff;
}

.masters-format-grid,
.masters-why-grid,
.masters-steps-grid,
.masters-reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

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

.masters-format-card,
.masters-why-grid article,
.masters-steps-grid article,
.masters-reviews-grid article {
  border: 1px solid rgba(165, 183, 245, 0.25);
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(16, 13, 35, 0.94), rgba(11, 10, 26, 0.92));
  padding: 14px;
}

.masters-format-card-alt {
  border-color: rgba(132, 160, 232, 0.24);
}

.masters-format-card h3,
.masters-why-grid h3,
.masters-steps-grid h3,
.masters-reviews-grid strong {
  margin: 0 0 8px;
}

.masters-format-card ul,
.masters-why-grid p,
.masters-steps-grid p,
.masters-reviews-grid p {
  margin: 0;
  color: #cad5f4;
}

.masters-format-card ul {
  padding-left: 18px;
  display: grid;
  gap: 7px;
}

.masters-steps-grid article span {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(140deg, #d946ef, #7c3aed);
  color: #fff;
  font-weight: 800;
  margin-bottom: 8px;
}

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

.masters-ects-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.masters-program-track {
  grid-auto-columns: minmax(240px, 1fr);
}

.masters-mini-card {
  cursor: pointer;
}

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

.masters-faculty-card {
  border: 1px solid rgba(159, 178, 242, 0.28);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(11, 13, 31, 0.9);
}

.masters-faculty-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.masters-faculty-card h3 {
  margin: 8px 10px 2px;
  font-size: 0.92rem;
}

.masters-faculty-card p {
  margin: 0 10px 10px;
  color: #c7d2f2;
  font-size: 0.78rem;
}

@media (max-width: 1080px) {
  .masters-hero {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 860px) {
  .masters-hero h1 {
    max-width: 100%;
  }

  .masters-hero-actions {
    display: grid;
    gap: 8px;
  }

  .masters-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .masters-format-grid,
  .masters-why-grid,
  .masters-reviews-grid,
  .masters-steps-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .masters-hero-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .masters-grid,
  .masters-faculty-grid {
    grid-template-columns: 1fr;
  }
}

.masters-card-icon,
.masters-step-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(182, 196, 255, 0.3);
  display: inline-grid;
  place-items: center;
  background: rgba(14, 17, 43, 0.8);
  color: #e8eeff;
  margin-bottom: 8px;
}

.masters-card-icon svg,
.masters-step-icon svg {
  width: 19px;
  height: 19px;
}

.masters-card-icon svg path,
.masters-card-icon svg circle,
.masters-card-icon svg rect,
.masters-step-icon svg path,
.masters-step-icon svg circle,
.masters-step-icon svg rect {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.masters-card-icon-muted {
  color: #b8c5ee;
}

.masters-visual-strip {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.masters-visual-strip-ects {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.masters-strip-item {
  margin: 0;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 108px;
  border: 1px solid rgba(173, 188, 244, 0.26);
}

.masters-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.masters-strip-item figcaption {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #f2f5ff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.masters-strip-item-compact {
  min-height: 88px;
}

@media (max-width: 860px) {
  .masters-visual-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 560px) {
  .masters-visual-strip,
  .masters-visual-strip-ects {
    grid-template-columns: 1fr 1fr;
  }
}

.masters-hero-carousel {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 360px;
  border: 1px solid rgba(173, 191, 248, 0.28);
  background: rgba(9, 11, 29, 0.78);
}

.masters-hero-track {
  position: relative;
  min-height: 360px;
}

.masters-hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 320ms ease, transform 420ms ease;
  pointer-events: none;
}

.masters-hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.masters-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.masters-hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 25, 0.08), rgba(8, 9, 25, 0.82));
}

.masters-hero-slide figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  display: grid;
  gap: 4px;
}

.masters-hero-slide figcaption span {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(198, 212, 255, 0.38);
  background: rgba(9, 11, 27, 0.7);
  color: #e8eeff;
  font-size: 0.66rem;
  font-weight: 700;
  padding: 4px 9px;
}

.masters-hero-slide figcaption strong {
  font-size: 1.05rem;
  color: #f3f6ff;
  line-height: 1.2;
}

.masters-hero-slide figcaption em {
  color: #cad6f7;
  font-style: normal;
  font-size: 0.8rem;
}

.masters-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 1px solid rgba(190, 205, 255, 0.35);
  background: rgba(10, 11, 27, 0.66);
  color: #f1f5ff;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}

.masters-carousel-btn:hover {
  border-color: rgba(221, 143, 255, 0.66);
  background: rgba(34, 20, 52, 0.84);
}

.masters-carousel-btn-prev { left: 8px; }
.masters-carousel-btn-next { right: 8px; }

.masters-hero-dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  transform: translateX(-50%);
  bottom: 8px;
  display: inline-flex;
  gap: 6px;
}

.masters-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 0;
  background: rgba(219, 227, 255, 0.42);
  padding: 0;
  cursor: pointer;
}

.masters-hero-dot.is-active {
  width: 18px;
  background: linear-gradient(130deg, #d946ef, #7c3aed);
}

@media (max-width: 1080px) {
  .masters-hero-carousel,
  .masters-hero-track {
    min-height: 300px;
  }
}

@media (max-width: 860px) {
  .masters-hero-carousel,
  .masters-hero-track {
    min-height: 240px;
  }

  .masters-carousel-btn {
    width: 30px;
    height: 30px;
  }

  .lead-form-modal {
    padding: 0;
    align-items: stretch;
  }

  .lead-form-modal-panel {
    width: 100vw;
    min-height: 100vh;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
}

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

.masters-program-card {
  border: 1px solid rgba(163, 181, 245, 0.28);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(170deg, rgba(14, 13, 34, 0.96), rgba(9, 10, 25, 0.96));
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  min-height: 188px;
}

.masters-program-card-featured {
  border-color: rgba(210, 130, 255, 0.6);
  box-shadow: 0 14px 34px rgba(121, 49, 199, 0.22);
}

.masters-program-media {
  margin: 0;
  position: relative;
}

.masters-program-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.masters-program-status {
  position: absolute;
  left: 8px;
  top: 8px;
  border-radius: 999px;
  border: 1px solid rgba(168, 220, 191, 0.5);
  background: rgba(16, 54, 32, 0.72);
  color: #d8ffe7;
  font-size: 0.66rem;
  font-weight: 800;
  padding: 4px 8px;
}

.masters-program-status.is-soon {
  border-color: rgba(236, 196, 133, 0.5);
  background: rgba(67, 47, 20, 0.72);
  color: #ffe8c6;
}

.masters-program-body {
  padding: 12px;
  display: grid;
  gap: 8px;
}

.masters-program-body h4 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.28;
}

.masters-program-meta,
.masters-program-teacher {
  margin: 0;
  color: #ccd6f6;
  font-size: 0.84rem;
}

.masters-program-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.masters-program-pills span {
  border-radius: 999px;
  border: 1px solid rgba(169, 186, 248, 0.28);
  background: rgba(13, 15, 37, 0.7);
  color: #e9efff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
}

.masters-program-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.masters-program-actions .btn {
  min-height: 36px;
}

@media (max-width: 1080px) {
  .masters-grid-real {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .masters-program-card {
    grid-template-columns: 1fr;
  }

  .masters-program-media {
    min-height: 170px;
  }

  .masters-program-actions {
    display: grid;
  }

  .masters-program-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Masters card variant B */
.masters-program-card-b {
  background:
    radial-gradient(500px 220px at 100% 0%, rgba(52, 170, 206, 0.14), rgba(12, 12, 30, 0)),
    linear-gradient(160deg, rgba(13, 14, 37, 0.96), rgba(8, 9, 24, 0.98));
  border-color: rgba(149, 171, 238, 0.34);
}

.masters-program-card-b .masters-program-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 10, 26, 0.04), rgba(9, 10, 26, 0.42));
}

.masters-program-headline {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.masters-program-badge {
  border-radius: 999px;
  border: 1px solid rgba(177, 193, 245, 0.34);
  background: rgba(12, 15, 36, 0.72);
  color: #edf2ff;
  font-size: 0.66rem;
  font-weight: 700;
  padding: 4px 8px;
}

.masters-program-nebrija {
  margin: 0;
  color: #8ee7ff;
  font-size: 0.78rem;
  font-weight: 700;
}

.masters-program-card-b .masters-program-pills span {
  background: rgba(9, 11, 30, 0.84);
}

.masters-program-card-b .masters-program-actions .btn-primary {
  background: linear-gradient(120deg, #1ec9ee, #6366f1);
}

.masters-detail-shell h1 {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 3rem);
}

.masters-detail-shell p {
  margin: 8px 0 0;
  color: #cad4f4;
}

/* Lead modal hard override (kept at file end to win duplicate blocks) */
.lead-overlay {
  z-index: 106;
}

.lead-form-modal {
  z-index: 110;
}

.lead-form-modal-panel {
  width: min(960px, 94vw);
  max-height: 88vh;
  border-radius: 22px;
  overflow: hidden;
}

.lead-modal-body {
  gap: 0;
  height: 100%;
  padding: 0;
}

.lead-modal-body h3 {
  margin: 0 0 6px;
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
}

.lead-modal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  min-height: min(680px, 88vh);
}

.lead-modal-main {
  padding: 18px;
  overflow: auto;
  display: grid;
  gap: 12px;
}

.lead-modal-aside {
  border-left: 1px solid rgba(170, 190, 255, 0.2);
  background:
    radial-gradient(420px 220px at 0% 0%, rgba(72, 223, 255, 0.16), rgba(8, 11, 27, 0)),
    linear-gradient(160deg, rgba(10, 12, 29, 0.98), rgba(7, 10, 24, 0.98));
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 12px;
}

.lead-dossier-preview {
  margin: 0;
  border: 1px solid rgba(168, 191, 255, 0.35);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(7, 10, 24, 0.74);
}

.lead-dossier-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.lead-dossier-preview figcaption {
  padding: 10px 12px;
  display: grid;
  gap: 4px;
}

.lead-dossier-preview figcaption span {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #92a6ea;
}

.lead-dossier-preview figcaption strong {
  font-size: 0.98rem;
  line-height: 1.25;
}

.lead-dossier-preview figcaption em {
  font-style: normal;
  color: #9fb4ef;
  font-size: 0.76rem;
}

.lead-modal-points {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #dbe6ff;
  font-size: 0.9rem;
}

.lead-fallback-form-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.field-span-2 {
  grid-column: span 2;
}

.lead-phone-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 8px;
}

@media (max-width: 860px) {
  .lead-form-modal {
    padding: 0;
    align-items: stretch;
  }

  .lead-form-modal-panel {
    width: 100vw;
    min-height: 100vh;
    max-height: none;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .lead-modal-layout {
    grid-template-columns: 1fr;
    min-height: 100vh;
  }

  .lead-modal-aside {
    order: -1;
    border-left: 0;
    border-bottom: 1px solid rgba(170, 190, 255, 0.2);
    padding: 14px 16px;
  }

  .lead-fallback-form-compact {
    grid-template-columns: 1fr;
  }

  .field-span-2 {
    grid-column: auto;
  }

  .lead-phone-row {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 900px) and (min-width: 861px) {
  .lead-form-modal-panel {
    max-height: 84vh;
  }
}

/* Qeres Plus redesign v1 */
.qplusx-page {
  background:
    radial-gradient(920px 360px at 0% 0%, rgba(79, 70, 229, 0.22), transparent 62%),
    radial-gradient(640px 320px at 100% 8%, rgba(217, 70, 239, 0.18), transparent 58%),
    linear-gradient(180deg, #1f1b48 0%, #131137 48%, #0e0d2d 100%);
}

.qplusx-hero-wrap {
  padding-top: 8px;
}

.qplusx-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(155, 178, 255, 0.3);
  border-radius: 28px;
  min-height: 640px;
}

.qplusx-hero::before {
  content: "";
  position: absolute;
  inset: -30% -20%;
  background: conic-gradient(
    from 0deg,
    rgba(45, 212, 255, 0) 0deg,
    rgba(45, 212, 255, 0.12) 70deg,
    rgba(217, 70, 239, 0.14) 170deg,
    rgba(45, 212, 255, 0) 320deg
  );
  animation: qplusxRotateGlow 14s linear infinite;
  pointer-events: none;
}

.qplusx-hero-aura {
  position: absolute;
  inset: -20% -10% auto;
  height: 66%;
  background:
    radial-gradient(500px 240px at 20% 30%, rgba(43, 212, 255, 0.28), transparent 60%),
    radial-gradient(540px 260px at 80% 40%, rgba(226, 91, 255, 0.24), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
  animation: qplusxAuraPulse 7s ease-in-out infinite alternate;
}

.qplusx-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
  padding: 20px;
}

.qplusx-brandline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 2px;
}

.qplusx-brandline img {
  width: clamp(118px, 15vw, 188px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(12, 18, 56, 0.55));
}

.qplusx-brandline h1 {
  margin: 0;
  font-size: clamp(2.3rem, 6.2vw, 5.1rem);
  letter-spacing: 0.02em;
  background: linear-gradient(98deg, #f5f8ff 0%, #b5d5ff 35%, #ddbcff 68%, #f5f8ff 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: qplusxTitleShift 5s ease-in-out infinite;
}

.qplusx-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 14px;
}

.qplusx-hero-lead {
  margin: 0;
  color: #d2dafc;
  max-width: 62ch;
  font-size: clamp(1.03rem, 2vw, 1.4rem);
  line-height: 1.36;
}

.qplusx-hero-sublead {
  margin: -2px 0 0;
  color: #a9b9ea;
  font-size: 1.01rem;
  line-height: 1.35;
}

.qplusx-pills {
  gap: 8px;
}

.qplusx-hero-actions .btn {
  min-height: 46px;
}

.qplusx-hero-actions .btn-primary {
  box-shadow: 0 10px 26px rgba(181, 74, 255, 0.44);
  animation: qplusxCtaPulse 2.6s ease-in-out infinite;
}

.qplusx-hero-media {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 12px;
}

.qplusx-intro-player {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(173, 191, 253, 0.35);
  min-height: 360px;
  box-shadow: 0 24px 36px rgba(7, 8, 24, 0.48);
  transform: translateZ(0);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.qplusx-intro-player:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 28px 42px rgba(7, 8, 24, 0.56);
}

.qplusx-intro-player img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.qplusx-intro-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 14px;
  display: grid;
  gap: 7px;
  background: linear-gradient(180deg, rgba(9, 8, 24, 0), rgba(9, 8, 24, 0.92) 48%);
}

.qplusx-intro-overlay strong {
  font-size: 1.1rem;
}

.qplusx-intro-overlay p {
  margin: 0;
  color: #d0d6f5;
  font-size: 0.92rem;
}

.qplusx-play-btn {
  width: fit-content;
  min-height: 38px;
  font-size: 0.88rem;
}

.qplusx-live-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #35f0ff;
  box-shadow: 0 0 0 0 rgba(53, 240, 255, 0.8);
  animation: qplusxPulseDot 1.8s infinite;
}

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

.qplusx-mosaic .qplus-hero-tile {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(165, 186, 249, 0.26);
  background: rgba(8, 10, 24, 0.66);
  min-height: 100px;
  animation: qplusxTileFloat 5.5s ease-in-out infinite;
}

.qplusx-mosaic .qplus-hero-tile:nth-child(2n) { animation-delay: 0.5s; }
.qplusx-mosaic .qplus-hero-tile:nth-child(3n) { animation-delay: 1s; }

.qplusx-mosaic .qplus-hero-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.qplusx-mosaic .qplus-hero-tile:hover img {
  transform: scale(1.08);
}

.qplusx-mosaic .qplus-hero-tile span {
  position: absolute;
  left: 8px;
  bottom: 7px;
  font-size: 0.71rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

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

.qplusx-what-card {
  background:
    radial-gradient(320px 160px at 90% 0%, rgba(54, 223, 255, 0.12), transparent 70%),
    linear-gradient(165deg, rgba(13, 14, 38, 0.95), rgba(9, 10, 28, 0.95));
  border: 1px solid rgba(156, 177, 249, 0.28);
}

.qplusx-what-media {
  margin: 0 0 10px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(160, 185, 251, 0.25);
}

.qplusx-what-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.qplusx-what-card h3 {
  margin: 0 0 7px;
  font-size: 1.1rem;
}

.qplusx-what-card p {
  margin: 0;
  color: #c8d1f2;
}

.qplusx-ia {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 14px;
  align-items: stretch;
}

.qplusx-ia-copy {
  display: grid;
  gap: 9px;
}

.qplusx-ia-copy h3 {
  margin: 0;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
}

.qplusx-ia-copy p {
  margin: 0;
  color: #ced7f9;
}

.qplusx-ia-copy ul {
  margin: 2px 0 0;
  padding-left: 18px;
  color: #e2e8ff;
  display: grid;
  gap: 6px;
}

.qplusx-ia-shot {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(137, 212, 228, 0.38);
  box-shadow: 0 18px 34px rgba(6, 10, 26, 0.45);
}

.qplusx-ia-shot img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.qplusx-coming {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px auto;
  gap: 12px;
  align-items: end;
}

.qplusx-coming strong {
  font-size: 0.98rem;
  color: #9ed2ff;
}

.qplusx-coming img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(157, 186, 251, 0.32);
}

.qplusx-coming-gamification {
  background:
    radial-gradient(500px 180px at 0% 0%, rgba(41, 215, 255, 0.2), transparent 68%),
    linear-gradient(160deg, rgba(13, 16, 43, 0.95), rgba(8, 10, 28, 0.98));
}

.qplusx-coming-jobs {
  background:
    radial-gradient(520px 200px at 100% 20%, rgba(220, 73, 255, 0.2), transparent 70%),
    linear-gradient(160deg, rgba(13, 14, 36, 0.95), rgba(8, 10, 26, 0.98));
}

.qplusx-coming h3 {
  margin: 8px 0 6px;
}

.qplusx-coming p {
  margin: 0;
  color: #ccd6f7;
}

@keyframes qplusxAuraPulse {
  0% { opacity: 0.72; transform: translateY(0px) scale(1); }
  100% { opacity: 1; transform: translateY(10px) scale(1.04); }
}

@keyframes qplusxRotateGlow {
  0% { transform: rotate(0deg) scale(1); opacity: 0.6; }
  100% { transform: rotate(360deg) scale(1.06); opacity: 0.9; }
}

@keyframes qplusxTitleShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes qplusxCtaPulse {
  0% { transform: translateY(0); box-shadow: 0 10px 26px rgba(181, 74, 255, 0.34); }
  50% { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(181, 74, 255, 0.52); }
  100% { transform: translateY(0); box-shadow: 0 10px 26px rgba(181, 74, 255, 0.34); }
}

@keyframes qplusxTileFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

@keyframes qplusxPulseDot {
  0% { box-shadow: 0 0 0 0 rgba(53, 240, 255, 0.8); }
  70% { box-shadow: 0 0 0 10px rgba(53, 240, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(53, 240, 255, 0); }
}

@media (max-width: 1120px) {
  .qplusx-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .qplusx-intro-player {
    min-height: 300px;
  }

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

@media (max-width: 860px) {
  .qplusx-hero {
    padding: 14px;
    border-radius: 18px;
  }

  .qplusx-brandline img {
    width: 118px;
  }

  .qplusx-brandline {
    gap: 10px;
  }

  .qplusx-hero-sublead {
    font-size: 0.94rem;
  }

  .qplusx-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

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

  .qplusx-what-grid,
  .qplusx-ia {
    grid-template-columns: 1fr;
  }

  .qplusx-coming {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .qplusx-coming img {
    height: auto;
    aspect-ratio: 16 / 7;
  }
}

@media (prefers-reduced-motion: reduce) {
  .qplusx-hero-aura,
  .qplusx-live-dot,
  .qplusx-hero::before,
  .qplusx-brandline h1,
  .qplusx-hero-actions .btn-primary,
  .qplusx-mosaic .qplus-hero-tile {
    animation: none;
  }
}

/* Qeres Plus - Netflix inspired overrides */
.qplusx-page {
  background:
    radial-gradient(900px 300px at 50% -8%, rgba(70, 74, 186, 0.22), transparent 62%),
    linear-gradient(180deg, #090a1a 0%, #070814 58%, #060711 100%);
}

.qplusx-hero-container {
  display: grid;
  gap: 14px;
}

.qplusx-hero-full {
  padding-top: 0;
}

.qplusx-hero-full .qplusx-hero-container {
  width: min(1680px, 100%);
  margin-inline: auto;
  padding-inline: 14px;
}

.qplusx-hero-netflix {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: clamp(380px, 58vw, 620px);
  border-radius: 22px;
  border: 1px solid rgba(163, 177, 249, 0.26);
  overflow: hidden;
}

.qplusx-hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.06);
}

.qplusx-hero-wall {
  position: absolute;
  inset: -18% -12%;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  transform: perspective(1600px) rotateX(10deg) rotateY(-8deg) scale(1.16);
  transform-origin: 50% 50%;
  opacity: 0.36;
  filter: saturate(1.25) contrast(1.12);
  pointer-events: none;
}

.qplusx-hero-wall figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(194, 207, 255, 0.34);
  box-shadow: 0 22px 42px rgba(2, 4, 14, 0.64);
  min-height: 144px;
}

.qplusx-hero-wall img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.03);
  filter: contrast(1.08) saturate(1.18);
}

.qplusx-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(920px 420px at 50% 38%, rgba(10, 12, 33, 0.02), rgba(3, 4, 12, 0.96)),
    linear-gradient(180deg, rgba(1, 2, 8, 0.985) 0%, rgba(1, 2, 8, 0.87) 42%, rgba(1, 2, 8, 0.99) 100%);
}

.qplusx-hero-netflix .qplusx-hero-copy {
  position: relative;
  z-index: 2;
  align-content: center;
  justify-items: center;
  text-align: center;
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(22px, 3vw, 38px);
  gap: 12px;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  isolation: isolate;
}

.qplusx-hero-netflix .qplusx-hero-copy::before {
  content: "";
  position: absolute;
  inset: -12px -28px;
  border-radius: 26px;
  background: radial-gradient(620px 240px at 50% 50%, rgba(4, 6, 20, 0.66), rgba(4, 6, 20, 0.14));
  filter: blur(2px);
  z-index: -1;
}

.qplusx-hero-netflix .qplusx-brandline img {
  width: clamp(180px, 20vw, 280px);
}

.qplusx-hero-netflix .qplusx-brandline h1 {
  display: none;
}

.qplusx-hero-netflix .qplusx-hero-lead {
  max-width: 24ch;
  font-size: clamp(1.12rem, 1.95vw, 1.42rem);
  color: #f3f7ff;
  margin: 0;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.86);
}

.qplusx-hero-netflix .qplusx-hero-sublead {
  max-width: 62ch;
  color: #e4ecff;
  margin: 0;
  text-shadow: 0 12px 26px rgba(0, 0, 0, 0.84);
}

.qplusx-hero-netflix .qplusx-pills .tag,
.qplusx-hero-netflix .qplusx-priority,
.qplusx-hero-netflix .qplusx-hero-actions .btn {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
}

.qplusx-mosaic-netflix {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.qplusx-mosaic-netflix .qplus-hero-tile {
  position: relative;
  min-height: 118px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(145, 160, 232, 0.24);
  box-shadow: 0 14px 24px rgba(4, 6, 16, 0.5);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.qplusx-mosaic-netflix .qplus-hero-tile:hover {
  transform: translateY(-5px) scale(1.03);
  border-color: rgba(213, 222, 255, 0.62);
  box-shadow: 0 20px 30px rgba(3, 6, 18, 0.65);
  z-index: 2;
}

.qplusx-mosaic-netflix .qplus-hero-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qplusx-mosaic-netflix .qplus-hero-tile span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  border-radius: 999px;
  background: rgba(7, 8, 20, 0.72);
  border: 1px solid rgba(209, 219, 255, 0.32);
  padding: 4px 9px;
  font-size: 0.67rem;
  font-weight: 700;
}

.qplus-category-row .qplus-category-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 290px);
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.qplus-category-row .qplus-category-grid::-webkit-scrollbar {
  height: 8px;
}

.qplus-category-row .qplus-category-grid::-webkit-scrollbar-thumb {
  background: rgba(161, 176, 244, 0.44);
  border-radius: 999px;
}

.qplus-category-row .course-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.qplus-category-row .course-card:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 16px 28px rgba(4, 8, 20, 0.52);
}

@media (max-width: 1080px) {
  .qplusx-mosaic-netflix {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .qplusx-hero-wall {
    inset: -8% -12%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    transform: perspective(1200px) rotateX(5deg) rotateY(-4deg) scale(1.04);
    opacity: 0.3;
  }
}

@media (max-width: 860px) {
  .qplusx-hero-netflix {
    min-height: 420px;
  }

  .qplusx-hero-netflix .qplusx-brandline {
    align-items: flex-end;
  }

  .qplusx-hero-netflix .qplusx-brandline img {
    width: 104px;
  }

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

  .qplusx-hero-wall {
    inset: -10% -18%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    opacity: 0.24;
    transform: perspective(1000px) rotateX(4deg) rotateY(-2deg) scale(1.02);
  }
}

/* Netflix-like refinements v3 */
.qplusx-hero-top {
  position: absolute;
  top: 14px;
  left: 20px;
  right: 20px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.qplusx-hero-top-actions {
  display: flex;
  gap: 8px;
}

.qplusx-hero-top-actions .btn {
  min-height: 36px;
  padding-inline: 13px;
}

.qplusx-hero-form {
  margin-top: 4px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  max-width: 640px;
}

.qplusx-hero-form input {
  border-radius: 8px;
  border: 1px solid rgba(220, 226, 255, 0.28);
  background: rgba(7, 8, 20, 0.58);
  color: #f4f7ff;
  min-height: 46px;
  padding: 0 14px;
  font: inherit;
}

.qplusx-hero-form input::placeholder {
  color: #9ca9d4;
}

.qplusx-hero-actions {
  margin-top: -2px;
}

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

.qplusx-motive-card {
  border-radius: 16px;
  border: 1px solid rgba(132, 128, 227, 0.36);
  background: linear-gradient(160deg, #1a1b46, #181135 72%, #241134);
  padding: 16px;
  min-height: 230px;
  position: relative;
  overflow: hidden;
}

.qplusx-motive-card h3 {
  margin: 0 0 8px;
  font-size: clamp(1.16rem, 2vw, 1.52rem);
}

.qplusx-motive-card p {
  margin: 0;
  color: #bcc7ea;
  font-size: 0.94rem;
  line-height: 1.38;
}

.qplusx-feature-card {
  padding: 0;
  min-height: 320px;
  overflow: visible;
}

.qplusx-feature-media {
  margin: 0;
  height: 100%;
}

.qplusx-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
  display: block;
  border-radius: 16px;
}

.qplusx-feature-meta {
  position: absolute;
  inset: 0;
  padding: 12px;
  display: block;
  background:
    radial-gradient(420px 220px at 14% 12%, rgba(130, 74, 255, 0.22), rgba(9, 8, 22, 0)),
    linear-gradient(0deg, rgba(9, 8, 22, 0.92), rgba(9, 8, 22, 0.12));
}

.qplusx-feature-number {
  position: absolute;
  left: -10px;
  bottom: -20px;
  font-size: clamp(6rem, 14vw, 11.8rem);
  font-weight: 900;
  line-height: 0.78;
  background: linear-gradient(160deg, #f4dcff 0%, #d56cff 36%, #9457ff 64%, #55c7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 2px rgba(247, 251, 255, 0.88);
  text-shadow:
    0 18px 28px rgba(7, 10, 28, 0.56),
    0 0 24px rgba(149, 93, 255, 0.32);
  z-index: 2;
  pointer-events: none;
}

.qplusx-feature-meta h3 {
  position: absolute;
  left: 116px;
  right: 12px;
  bottom: 16px;
  margin: 0;
  font-size: clamp(1.08rem, 2.2vw, 1.6rem);
  line-height: 1.08;
}

.qplusx-ia {
  background:
    radial-gradient(520px 240px at 78% 12%, rgba(52, 193, 255, 0.18), rgba(10, 13, 31, 0)),
    radial-gradient(480px 260px at 12% 100%, rgba(199, 83, 255, 0.16), rgba(10, 13, 31, 0)),
    linear-gradient(160deg, rgba(14, 12, 36, 0.96), rgba(9, 10, 26, 0.96));
  border: 1px solid rgba(144, 176, 249, 0.34);
}

.qplusx-ia-shot {
  position: relative;
}

.qplusx-ia-shot img {
  width: 100%;
  min-height: 340px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(137, 201, 255, 0.44);
  box-shadow: 0 20px 34px rgba(5, 8, 20, 0.5);
}

.qplusx-ia-glass {
  position: absolute;
  left: 14px;
  bottom: 14px;
  border: 1px solid rgba(172, 208, 255, 0.34);
  background: rgba(9, 15, 38, 0.76);
  border-radius: 12px;
  padding: 9px 12px;
  display: grid;
  gap: 2px;
  min-width: 132px;
  backdrop-filter: blur(6px);
}

.qplusx-ia-glass span {
  font-size: 0.74rem;
  color: #b8cff7;
}

.qplusx-ia-glass strong {
  font-size: 1.4rem;
  line-height: 1;
}

.qplusx-ia-glass-alt {
  left: auto;
  right: 14px;
}

.qplusx-ia-glass-alt strong {
  font-size: 1.06rem;
}

.qplusx-priority {
  width: min(780px, 100%);
  border: 1px solid rgba(176, 192, 252, 0.34);
  border-radius: 14px;
  background: rgba(11, 12, 31, 0.52);
  padding: 12px 14px;
  display: grid;
  gap: 8px;
}

.qplusx-priority-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.qplusx-priority-head span {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #cad3f5;
}

.qplusx-priority-head strong {
  font-size: 1.05rem;
}

.qplusx-priority-bar {
  height: 12px;
  border-radius: 999px;
  background: rgba(140, 152, 192, 0.28);
  overflow: hidden;
}

.qplusx-priority-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #c94cf5, #8a48ff, #4fcfff);
}

.qplusx-priority p {
  margin: 0;
  color: #c4cff2;
  font-size: 0.9rem;
}

.qplus-category-row .qplus-row-head h3 {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
}

.qplus-category-row .qplus-category-grid .course-card {
  min-height: 292px;
  border-radius: 12px;
}

.qplus-category-row .qplus-category-grid .course-media {
  min-height: 210px;
}

.qplus-category-row .qplus-category-grid .course-title {
  font-size: 1.05rem;
}

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

@media (max-width: 860px) {
  .qplusx-hero-top {
    left: 12px;
    right: 12px;
    top: 10px;
  }

  .qplusx-hero-top-actions .btn {
    min-height: 32px;
    font-size: 0.82rem;
    padding-inline: 10px;
  }

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

  .qplusx-motives-grid {
    grid-template-columns: 1fr;
  }

  .qplusx-feature-media img {
    min-height: 260px;
  }

  .qplusx-feature-number {
    left: -4px;
    bottom: -12px;
    font-size: clamp(5rem, 22vw, 9rem);
    -webkit-text-stroke: 1.8px rgba(238, 244, 255, 0.92);
  }

  .qplusx-feature-meta h3 {
    left: 102px;
    right: 10px;
    bottom: 14px;
  }

  .qplusx-ia-glass,
  .qplusx-ia-glass-alt {
    position: static;
    margin-top: 8px;
  }

  .qplusx-hero-netflix .qplusx-hero-copy::before {
    inset: -8px -10px;
  }
}

.blog-index-toolbar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 8px 0 16px;
}

.blog-index-toolbar label {
  display: grid;
  gap: 6px;
  color: var(--qeres-muted);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.blog-index-toolbar select {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(8, 12, 24, 0.55);
  color: #f7f9ff;
  padding: 10px 12px;
  font-size: 0.92rem;
}

.blog-index-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 14px;
}

@media (min-width: 700px) {
  .blog-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .blog-index-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1240px) {
  .blog-index-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.blog-index-grid .blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-index-grid .blog-card-body {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  height: 100%;
}

.blog-index-actions {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.blog-post-cover {
  margin: 12px 0 14px;
  border-radius: 14px;
  overflow: hidden;
}

.blog-post-cover img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

/* Accessibility pass: visible focus for search and icon-only controls */
.topbar-search:focus-within,
.drawer-search:focus-within {
  border-color: rgba(208, 126, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(192, 38, 211, 0.22);
}

.modal-close:focus-visible,
.drawer-close:focus-visible,
.course-carousel-btn:focus-visible,
.masters-carousel-btn:focus-visible,
.masters-hero-dot:focus-visible {
  outline: 2px solid rgba(210, 118, 255, 0.95);
  outline-offset: 2px;
}

/* Header spacing fix: avoid double offset (body padding + header placeholder). */
body {
  padding-top: 0 !important;
}

/* CLS guard: reserve space for async home metrics and keep topbar footprint stable */
[data-site-header] {
  display: block;
  min-height: var(--topbar-height, 64px);
  height: var(--topbar-height, 64px);
}

#home-counts,
#home-extra-stats {
  min-height: 110px;
}

@media (max-width: 860px) {
  #home-counts,
  #home-extra-stats {
    min-height: 314px;
  }

  .topbar-cta {
    display: none;
  }
}
