﻿
  :root {
    --ink:      #08101f;
    --ink-mid:  #0d1a2f;
    --ink-soft: #152236;
    --azure:    #1761f5;
    --azure-br: #3a82ff;
    --cyan:     #00c8b0;
    --cyan-dim: rgba(0,200,176,0.10);
    --snow:     #eef3ff;
    --snow-60:  rgba(238,243,255,0.60);
    --snow-20:  rgba(238,243,255,0.12);
    --snow-08:  rgba(238,243,255,0.06);
    --glass:    rgba(255,255,255,0.03);
    --gborder:  rgba(255,255,255,0.07);
    --accent:   rgba(23,97,245,0.25);
    --violet:   #8b5cf6;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--ink);
    color: var(--snow);
    overflow-x: hidden;
    line-height: 1.65;
  }

  /* ── SCROLLBAR ── */
  ::-webkit-scrollbar { width: 6px; }
  ::-webkit-scrollbar-track { background: var(--ink-mid); }
  ::-webkit-scrollbar-thumb { background: var(--azure); border-radius: 3px; }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 52px;
    background: rgba(8,16,31,0.85);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--gborder);
    transition: padding 0.3s;
  }
  .logo {
    font-family: 'Sora', sans-serif;
    font-weight: 800; font-size: 1.05rem;
    letter-spacing: 0.04em; color: var(--snow);
    display: flex; align-items: center; gap: 10px;
    text-decoration: none;
  }
  .logo-pill {
    background: linear-gradient(135deg, var(--azure), var(--cyan));
    color: #fff; font-size: 0.58rem; font-weight: 700;
    letter-spacing: 0.14em; padding: 3px 9px; border-radius: 20px;
  }
  .nav-links { display: flex; gap: 28px; list-style: none; }
  .nav-links a {
    font-size: 0.76rem; font-weight: 500; letter-spacing: 0.07em;
    text-transform: uppercase; color: var(--snow-60);
    text-decoration: none; transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--cyan); }

  /* ── ANIMATIONS ── */
  @keyframes up {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes fromright {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  @keyframes fromleft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  @keyframes pulse-ring {
    0%   { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(23,97,245,0.4); }
    70%  { transform: scale(1);    box-shadow: 0 0 0 16px rgba(23,97,245,0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(23,97,245,0); }
  }
  @keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-10px); }
  }
  @keyframes spin-slow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
  }
  @keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
  }
  @keyframes countup {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes borderGlow {
    0%, 100% { border-color: rgba(23,97,245,0.3); }
    50%       { border-color: rgba(0,200,176,0.5); }
  }

  /* ── ORB ── */
  .orb {
    position: absolute; border-radius: 50%;
    filter: blur(90px); pointer-events: none; z-index: 0;
  }
  .orb-a { background: rgba(23,97,245,0.12); width: 600px; height: 600px; }
  .orb-b { background: rgba(0,200,176,0.08); width: 420px; height: 420px; }
  .orb-c { background: rgba(139,92,246,0.07); width: 320px; height: 320px; }

  /* ── SHARED SECTION ── */
  section { position: relative; }
  .eyebrow {
    font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--cyan); font-weight: 600;
    display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
  }
  .eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--cyan); }
  h2.stitle {
    font-family: 'Sora', sans-serif; font-weight: 800;
    font-size: clamp(2rem, 3.2vw, 2.9rem); line-height: 1.12;
    letter-spacing: -0.025em; margin-bottom: 18px;
  }
  h2.stitle em {
    font-style: normal;
    background: linear-gradient(135deg, var(--azure-br), var(--cyan));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .slead {
    font-size: 1rem; color: var(--snow-60); max-width: 600px;
    line-height: 1.8; font-weight: 300; margin-bottom: 56px;
  }
  .section-inner {
    max-width: 1280px; margin: 0 auto;
    padding: 110px 52px 90px;
    position: relative; z-index: 1;
  }
  section > *:not(.orb):not(.hero-canvas) { position: relative; z-index: 1; }

  /* ── REVEAL ON SCROLL ── */
  .reveal {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible { opacity: 1; transform: translateY(0); }
  .reveal-left {
    opacity: 0; transform: translateX(-30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal-left.visible { opacity: 1; transform: translateX(0); }

  /* ── PROGRESS BAR ── */
  .progress-bar {
    position: fixed; top: 0; left: 0; height: 2px; z-index: 300;
    background: linear-gradient(90deg, var(--azure), var(--cyan));
    transition: width 0.1s;
    box-shadow: 0 0 10px var(--azure);
  }

  /* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ HERO ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
  #hero {
    min-height: 100vh; overflow: hidden;
    background:
      radial-gradient(ellipse 70% 60% at 72% 38%, rgba(23,97,245,0.18) 0%, transparent 68%),
      radial-gradient(ellipse 45% 50% at 18% 75%, rgba(0,200,176,0.10) 0%, transparent 60%),
      var(--ink);
    display: flex; flex-direction: column;
  }
  .hero-wrap {
    flex: 1; max-width: 1280px; margin: 0 auto;
    width: 100%; padding: 0 52px;
    display: grid; grid-template-columns: 1fr 1fr;
    align-items: center; gap: 72px; padding-top: 96px;
  }
  .hero-sup {
    font-size: 0.70rem; font-weight: 600; letter-spacing: 0.24em;
    text-transform: uppercase; color: var(--cyan);
    display: flex; align-items: center; gap: 12px; margin-bottom: 28px;
    opacity: 0; animation: up 0.9s ease 0.15s forwards;
  }
  .hero-sup::before { content: ''; width: 36px; height: 1px; background: var(--cyan); }
  h1.htitle {
    font-family: 'Sora', sans-serif;
    font-weight: 800; font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: 1.02; letter-spacing: -0.03em;
    opacity: 0; animation: up 0.9s ease 0.30s forwards;
  }
  h1.htitle em {
    font-style: normal;
    background: linear-gradient(135deg, var(--azure-br), var(--cyan));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .hero-desc {
    font-size: 1.05rem; font-weight: 300; color: var(--snow-60);
    line-height: 1.78; max-width: 490px; margin-top: 26px;
    opacity: 0; animation: up 0.9s ease 0.45s forwards;
  }
  .hero-btns {
    margin-top: 42px; display: flex; gap: 14px; flex-wrap: wrap;
    opacity: 0; animation: up 0.9s ease 0.60s forwards;
  }
  .btn-p {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 30px; border-radius: 10px; border: none; cursor: pointer;
    background: linear-gradient(135deg, var(--azure), var(--cyan));
    color: #fff; font-family: 'DM Sans', sans-serif;
    font-size: 0.86rem; font-weight: 600; letter-spacing: 0.03em;
    text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 8px 28px rgba(23,97,245,0.35);
  }
  .btn-p:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(23,97,245,0.50); }
  .btn-g {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 30px; border-radius: 10px;
    border: 1px solid var(--gborder); color: var(--snow-60);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.86rem; font-weight: 500; letter-spacing: 0.03em;
    text-decoration: none; background: transparent; cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
  }
  .btn-g:hover { border-color: var(--cyan); color: var(--cyan); }
  .hero-right {
    display: flex; flex-direction: column; gap: 16px;
    opacity: 0; animation: fromright 1s ease 0.5s forwards;
  }
  .hstat {
    background: var(--glass); border: 1px solid var(--gborder);
    border-radius: 18px; padding: 22px 28px;
    display: flex; align-items: center; gap: 20px;
    backdrop-filter: blur(12px);
    transition: border-color 0.3s, transform 0.3s;
  }
  .hstat:hover { border-color: rgba(23,97,245,0.35); transform: translateX(-4px); }
  .hstat-icon {
    width: 50px; height: 50px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; flex-shrink: 0;
  }
  .ic-b { background: rgba(23,97,245,0.14); border: 1px solid rgba(23,97,245,0.20); }
  .ic-c { background: rgba(0,200,176,0.10); border: 1px solid rgba(0,200,176,0.18); }
  .ic-v { background: rgba(139,92,246,0.10); border: 1px solid rgba(139,92,246,0.18); }
  .hstat-num {
    font-family: 'Sora', sans-serif; font-weight: 800; font-size: 2rem;
    background: linear-gradient(135deg, var(--snow), var(--azure-br));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; line-height: 1;
  }
  .hstat-lbl { font-size: 0.82rem; color: var(--snow-60); font-weight: 400; margin-top: 4px; }

  /* ── HERO WAVE ── */
  .hero-wave {
    width: 100%; overflow: hidden; line-height: 0;
  }
  .hero-wave svg { display: block; }

  /* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ OBJETIVO ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
  #objetivo { background: var(--ink-mid); }
  .objetivo-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    align-items: center;
  }
  .objetivo-visual {
    position: relative; display: flex; align-items: center; justify-content: center;
  }
  .obj-ring {
    width: 280px; height: 280px; border-radius: 50%;
    border: 1px solid rgba(23,97,245,0.25);
    display: flex; align-items: center; justify-content: center;
    position: relative;
    animation: borderGlow 4s ease-in-out infinite;
  }
  .obj-ring::before {
    content: ''; position: absolute; inset: -16px;
    border-radius: 50%; border: 1px solid rgba(0,200,176,0.15);
    animation: spin-slow 12s linear infinite;
    border-top-color: var(--cyan);
  }
  .obj-center {
    width: 180px; height: 180px; border-radius: 50%;
    background: radial-gradient(circle, rgba(23,97,245,0.2), rgba(0,200,176,0.08));
    border: 1px solid rgba(23,97,245,0.3);
    display: flex; align-items: center; justify-content: center;
    font-size: 4rem;
    animation: float 4s ease-in-out infinite;
  }
  .obj-dot {
    position: absolute; width: 10px; height: 10px; border-radius: 50%;
    background: var(--cyan); box-shadow: 0 0 12px var(--cyan);
  }
  .obj-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
  .obj-item {
    display: flex; gap: 16px; align-items: flex-start;
    background: var(--glass); border: 1px solid var(--gborder);
    border-radius: 16px; padding: 20px 24px;
    transition: border-color 0.3s, transform 0.3s;
  }
  .obj-item:hover { border-color: rgba(23,97,245,0.3); transform: translateX(6px); }
  .obj-icon {
    width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
    background: rgba(23,97,245,0.12); border: 1px solid rgba(23,97,245,0.2);
  }
  .obj-text h4 {
    font-family: 'Sora', sans-serif; font-weight: 700; font-size: 0.92rem;
    margin-bottom: 4px;
  }
  .obj-text p { font-size: 0.82rem; color: var(--snow-60); line-height: 1.6; }

  /* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FILTROS ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
  #cursos { background: var(--ink); }
  .filter-bar {
    display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 44px;
  }
  .filter-btn {
    font-family: 'DM Sans', sans-serif; font-size: 0.78rem;
    font-weight: 600; letter-spacing: 0.06em;
    padding: 8px 20px; border-radius: 30px; cursor: pointer;
    border: 1px solid var(--gborder); background: var(--glass);
    color: var(--snow-60); transition: all 0.25s;
    text-transform: uppercase;
  }
  .filter-btn:hover, .filter-btn.active {
    background: rgba(23,97,245,0.15);
    border-color: rgba(23,97,245,0.40);
    color: var(--snow);
  }
  .filter-btn.active {
    background: linear-gradient(135deg, rgba(23,97,245,0.25), rgba(0,200,176,0.12));
    border-color: var(--azure-br);
    color: var(--snow);
    box-shadow: 0 4px 20px rgba(23,97,245,0.20);
  }
  .search-wrap {
    position: relative; max-width: 360px; margin-left: auto;
    margin-bottom: 44px; margin-top: -36px;
    display: flex; align-items: center;
  }
  .search-icon {
    position: absolute; left: 16px; color: var(--snow-60); font-size: 0.9rem;
    pointer-events: none;
  }
  .search-input {
    width: 100%; padding: 10px 16px 10px 42px;
    background: var(--glass); border: 1px solid var(--gborder);
    border-radius: 30px; color: var(--snow);
    font-family: 'DM Sans', sans-serif; font-size: 0.86rem;
    outline: none; transition: border-color 0.2s;
  }
  .search-input:focus { border-color: rgba(23,97,245,0.5); }
  .search-input::placeholder { color: var(--snow-60); }

  /* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ COURSE CARDS ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
  .courses-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  }
  .course-card {
    background: var(--glass); border: 1px solid var(--gborder);
    border-radius: 22px; overflow: hidden;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    cursor: pointer; position: relative;
  }
  .course-card:hover {
    transform: translateY(-6px);
    border-color: rgba(23,97,245,0.35);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  }
  .course-card.hidden { display: none; }
  .card-header {
    padding: 28px 28px 20px;
    position: relative; overflow: hidden;
  }
  .card-header-bg {
    position: absolute; inset: 0; opacity: 0.08;
    background: linear-gradient(135deg, var(--azure), var(--cyan));
  }
  .card-icon-wrap {
    width: 54px; height: 54px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; margin-bottom: 16px; position: relative;
    z-index: 1;
  }
  .card-meta {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 10px; position: relative; z-index: 1;
  }
  .card-cat {
    font-size: 0.60rem; font-weight: 700; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--cyan);
    background: var(--cyan-dim); border: 1px solid rgba(0,200,176,0.2);
    padding: 3px 10px; border-radius: 20px;
  }
  .card-dur {
    font-size: 0.70rem; color: var(--snow-60); font-weight: 500;
    display: flex; align-items: center; gap: 5px;
  }
  .card-title {
    font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1rem;
    line-height: 1.3; position: relative; z-index: 1;
    margin-bottom: 4px;
  }
  .card-subtitle {
    font-size: 0.78rem; color: var(--snow-60); font-style: italic;
    position: relative; z-index: 1;
  }
  .card-body { padding: 0 28px 24px; }
  .card-desc { font-size: 0.84rem; color: var(--snow-60); line-height: 1.7; margin-bottom: 16px; }
  .card-topics {
    max-height: 0; overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s ease;
    opacity: 0;
  }
  .course-card.expanded .card-topics { max-height: 1000px; opacity: 1; }
  .topic-list { list-style: none; display: flex; flex-direction: column; gap: 7px; }
  .topic-list li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 0.80rem; color: var(--snow-60); line-height: 1.5;
  }
  .topic-list li::before {
    content: '›'; color: var(--cyan); font-weight: 700;
    font-size: 1rem; flex-shrink: 0; margin-top: -1px;
  }
  .card-toggle {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em;
    color: var(--azure-br); text-transform: uppercase;
    background: none; border: none; cursor: pointer; padding: 0;
    font-family: 'DM Sans', sans-serif;
    transition: color 0.2s;
  }
  .card-toggle:hover { color: var(--cyan); }
  .card-toggle .arrow {
    transition: transform 0.3s;
  }
  .course-card.expanded .card-toggle .arrow { transform: rotate(180deg); }
  .card-footer {
    padding: 16px 28px;
    border-top: 1px solid var(--gborder);
    display: flex; align-items: center; justify-content: space-between;
  }
  .level-badge {
    font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; padding: 4px 12px; border-radius: 20px;
  }
  .level-basic   { color: #22d3ee; background: rgba(34,211,238,0.08); border: 1px solid rgba(34,211,238,0.20); }
  .level-medium  { color: #a78bfa; background: rgba(167,139,250,0.08); border: 1px solid rgba(167,139,250,0.20); }
  .level-advanced{ color: #f59e0b; background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.20); }
  .mode-icon {
    font-size: 0.72rem; color: var(--snow-60);
    display: flex; align-items: center; gap: 5px;
  }

  /* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ RUTA APRENDIZAJE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
  #ruta { background: var(--ink-mid); }
  .path-steps {
    display: flex; flex-direction: column; gap: 0;
    position: relative;
  }
  .path-steps::before {
    content: ''; position: absolute;
    left: 31px; top: 32px; bottom: 32px; width: 2px;
    background: linear-gradient(to bottom, var(--azure), var(--cyan), transparent);
  }
  .path-step {
    display: flex; gap: 32px; align-items: flex-start;
    padding: 28px 0;
    opacity: 0; transform: translateX(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .path-step.visible { opacity: 1; transform: translateX(0); }
  .step-num {
    width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.3rem;
    background: linear-gradient(135deg, var(--azure), var(--cyan));
    color: #fff; position: relative; z-index: 2;
    box-shadow: 0 0 24px rgba(23,97,245,0.4);
  }
  .step-content {
    background: var(--glass); border: 1px solid var(--gborder);
    border-radius: 18px; padding: 24px 28px; flex: 1;
    transition: border-color 0.3s;
  }
  .step-content:hover { border-color: rgba(23,97,245,0.3); }
  .step-label {
    font-size: 0.65rem; letter-spacing: 0.20em; text-transform: uppercase;
    color: var(--cyan); font-weight: 700; margin-bottom: 8px;
  }
  .step-content h3 {
    font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.1rem;
    margin-bottom: 8px;
  }
  .step-content p { font-size: 0.85rem; color: var(--snow-60); line-height: 1.7; }
  .step-modules {
    display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px;
  }
  .step-mod-tag {
    font-size: 0.68rem; font-weight: 600;
    background: rgba(23,97,245,0.10); border: 1px solid rgba(23,97,245,0.20);
    color: var(--azure-br); padding: 4px 12px; border-radius: 20px;
  }

  /* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ STATS ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
  #stats { background: var(--ink); }
  .stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  }
  .stat-card {
    background: var(--glass); border: 1px solid var(--gborder);
    border-radius: 22px; padding: 36px 28px; text-align: center;
    transition: transform 0.3s, border-color 0.3s;
    position: relative; overflow: hidden;
  }
  .stat-card::after {
    content: ''; position: absolute; inset: 0 0 auto 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--azure), var(--cyan), transparent);
    opacity: 0; transition: opacity 0.3s;
  }
  .stat-card:hover { transform: translateY(-5px); border-color: rgba(23,97,245,0.3); }
  .stat-card:hover::after { opacity: 1; }
  .stat-number {
    font-family: 'Sora', sans-serif; font-weight: 800;
    font-size: clamp(2.4rem, 3vw, 3.2rem);
    background: linear-gradient(135deg, var(--snow), var(--azure-br));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; line-height: 1; margin-bottom: 10px;
  }
  .stat-label { font-size: 0.86rem; color: var(--snow-60); font-weight: 400; }
  .stat-icon { font-size: 2rem; margin-bottom: 16px; }

  /* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ CTA ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
  #cta {
    background:
      radial-gradient(ellipse 80% 70% at 50% 50%, rgba(23,97,245,0.14) 0%, transparent 70%),
      var(--ink-mid);
  }
  .cta-inner {
    max-width: 1280px; margin: 0 auto;
    padding: 110px 52px;
    text-align: center;
  }
  .cta-box {
    background: var(--glass); border: 1px solid rgba(23,97,245,0.25);
    border-radius: 32px; padding: 72px 60px;
    position: relative; overflow: hidden;
  }
  .cta-box::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(23,97,245,0.05), rgba(0,200,176,0.03));
  }
  .cta-box > * { position: relative; z-index: 1; }
  .cta-emoji { font-size: 3.5rem; margin-bottom: 24px; display: block; }
  .cta-box h2 {
    font-family: 'Sora', sans-serif; font-weight: 800;
    font-size: clamp(2rem, 3vw, 2.8rem); margin-bottom: 20px;
    letter-spacing: -0.025em;
  }
  .cta-box p {
    font-size: 1.05rem; color: var(--snow-60); max-width: 540px;
    margin: 0 auto 40px; line-height: 1.78;
  }
  .cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
  .cta-detail {
    margin-top: 32px; font-size: 0.78rem; color: var(--snow-60);
    display: flex; align-items: center; justify-content: center; gap: 8px;
  }
  .cta-detail::before, .cta-detail::after {
    content: ''; flex: 1; max-width: 60px; height: 1px;
    background: var(--gborder);
  }

  /* ── FOOTER ── */
  footer {
    background: var(--ink-mid);
    border-top: 1px solid var(--gborder);
    padding: 40px 52px;
    display: flex; align-items: center; justify-content: space-between;
  }
  .footer-copy { font-size: 0.80rem; color: var(--snow-60); }
  .footer-links { display: flex; gap: 24px; }
  .footer-links a {
    font-size: 0.76rem; color: var(--snow-60);
    text-decoration: none; transition: color 0.2s;
  }
  .footer-links a:hover { color: var(--cyan); }

  /* ── COUNTER ANIMATION ── */
  .count-anim { display: inline-block; }

  /* ── TOOLTIP ── */
  [data-tip] { position: relative; }
  [data-tip]::after {
    content: attr(data-tip);
    position: absolute; bottom: calc(100% + 8px); left: 50%;
    transform: translateX(-50%);
    background: var(--ink-soft); color: var(--snow);
    font-size: 0.72rem; white-space: nowrap;
    padding: 6px 12px; border-radius: 8px;
    pointer-events: none; opacity: 0;
    transition: opacity 0.2s; border: 1px solid var(--gborder);
  }
  [data-tip]:hover::after { opacity: 1; }

  /* ── NO RESULTS ── */
  .no-results {
    grid-column: 1/-1; text-align: center; padding: 60px;
    color: var(--snow-60); font-size: 1rem;
  }

  /* ── MOBILE ── */
  @media (max-width: 900px) {
    nav { padding: 14px 24px; }
    .nav-links { display: none; }
    .hero-wrap { grid-template-columns: 1fr; padding: 0 24px; }
    .hero-right { display: none; }
    .section-inner { padding: 80px 24px 60px; }
    .courses-grid { grid-template-columns: 1fr 1fr; }
    .objetivo-grid { grid-template-columns: 1fr; }
    .objetivo-visual { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-box { padding: 48px 28px; }
    footer { flex-direction: column; gap: 20px; text-align: center; }
  }
  @media (max-width: 600px) {
    .courses-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    h1.htitle { font-size: 2.4rem; }
    .filter-bar { gap: 8px; }
  }

