/* === global.css — estilos comunes extraídos automáticamente === */

/* Bloque compartido por 5 páginas */
/* =====================================================
       TOKENS Y VARIABLES
    ====================================================== */
    :root {
      --bg:           #050B18;
      --bg-card:      #0D1B2A;
      --bg-card-alt:  #0A1525;
      --bg-sidebar:   #080F1E;
      --blue:         #1565FF;
      --blue-light:   #3D82FF;
      --blue-glow:    rgba(21,101,255,0.35);
      --gold:         #C9A84C;
      --gold-light:   #E8C96A;
      --white:        #F5F5FF;
      --muted:        #8B9BB4;
      --border:       rgba(255,255,255,0.07);
      --border-focus: rgba(21,101,255,0.5);
      --green:        #28C840;
      --red:          #FF5F57;
      --purple:       #A78BFA;
      --font-d:       'Space Grotesk', sans-serif;
      --font-b:       'Inter', sans-serif;
      --font-num:     'Barlow Condensed', sans-serif;
      --r-sm:         8px;
      --r-md:         14px;
      --r-lg:         22px;
      --r-xl:         32px;
      --shadow:       0 4px 32px rgba(0,0,0,0.45);
      --t:            0.28s cubic-bezier(0.4,0,0.2,1);
    }
    *, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
    html { scroll-behavior:smooth; font-size:16px; }
    body { background:var(--bg); color:var(--white); font-family:var(--font-b); font-weight:400; line-height:1.6; overflow-x:hidden; -webkit-font-smoothing:antialiased; }
    img { display:block; max-width:100%; }
    a { color:inherit; text-decoration:none; }
    ul, ol { list-style:none; }

    /* CONTENEDOR */
    .container { max-width:1200px; margin:0 auto; padding:0 24px; }
    .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

    /* BOTONES */
    .btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; font-family:var(--font-d); font-weight:600; font-size:0.95rem; padding:13px 28px; border-radius:var(--r-md); border:none; cursor:pointer; transition:var(--t); letter-spacing:0.01em; white-space:nowrap; }
    .btn-primary { background:var(--blue); color:#fff; box-shadow:0 4px 24px var(--blue-glow); }
    .btn-primary:hover { background:var(--blue-light); box-shadow:0 6px 32px rgba(21,101,255,0.5); transform:translateY(-2px); }
    .btn-secondary { background:rgba(255,255,255,0.06); color:var(--white); border:1px solid rgba(255,255,255,0.15); backdrop-filter:blur(8px); }
    .btn-secondary:hover { background:rgba(255,255,255,0.1); border-color:rgba(255,255,255,0.28); transform:translateY(-2px); }
    .btn-gold { background:linear-gradient(135deg,var(--gold),var(--gold-light)); color:#0a0a0a; font-weight:700; box-shadow:0 4px 20px rgba(201,168,76,0.3); }
    .btn-gold:hover { box-shadow:0 6px 28px rgba(201,168,76,0.5); transform:translateY(-2px); }
    .btn-sm { font-size:0.82rem; padding:9px 18px; }
    .btn-arrow { display:inline-block; transition:transform var(--t); }
    .btn-primary:hover .btn-arrow { transform:translateX(4px); }

    /* HEADER */
    #site-header { position:fixed; top:0; left:0; right:0; z-index:1000; background:rgba(5,11,24,0.8); backdrop-filter:blur(20px) saturate(180%); border-bottom:1px solid var(--border); transition:background var(--t); }
    .header-inner { display:flex; align-items:center; justify-content:space-between; height:68px; }
    .site-logo { display:flex; align-items:center; gap:0; }
    /* Logo oficial en blanco con filtro CSS */
    .logo-img { height:180px; width:auto; filter: brightness(0) invert(1); }
    .site-nav { display:flex; align-items:center; gap:4px; }
    .nav-link { font-family:var(--font-d); font-size:0.88rem; font-weight:500; color:var(--muted); padding:8px 14px; border-radius:var(--r-sm); transition:var(--t); }
    .nav-link:hover, .nav-link[aria-current="page"] { color:var(--white); background:rgba(255,255,255,0.05); }
    .nav-cta { margin-left:12px; font-size:0.85rem; padding:9px 20px; }

    /* HAMBURGUESA */
    .hamburger { display:none; flex-direction:column; justify-content:center; align-items:center; gap:5px; width:40px; height:40px; background:none; border:none; cursor:pointer; padding:4px; border-radius:var(--r-sm); transition:var(--t); }
    .hamburger:hover { background:rgba(255,255,255,0.05); }
    .hamburger span { display:block; width:22px; height:2px; background:var(--white); border-radius:2px; transition:var(--t); }
    .hamburger.is-open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
    .hamburger.is-open span:nth-child(2) { opacity:0; transform:scaleX(0); }
    .hamburger.is-open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
    .mobile-nav { display:none; position:fixed; top:68px; left:0; right:0; background:rgba(5,11,24,0.97); backdrop-filter:blur(24px); border-bottom:1px solid var(--border); padding:20px 24px 28px; z-index:999; flex-direction:column; gap:4px; }
    .mobile-nav.is-open { display:flex; }
    .mobile-nav-link { font-family:var(--font-d); font-size:1rem; font-weight:500; color:var(--muted); padding:12px 16px; border-radius:var(--r-sm); transition:var(--t); }
    .mobile-nav-link:hover { color:var(--white); background:rgba(255,255,255,0.06); }
    .mobile-nav-cta { margin-top:12px; width:100%; justify-content:center; }

    /* HERO */
    #hero { position:relative; min-height:100vh; display:flex; align-items:center; padding-top:68px; overflow:hidden; }
    .hero-bg { position:absolute; inset:0; pointer-events:none; z-index:0; }
    .hero-bg::before { content:''; position:absolute; top:-20%; left:-10%; width:70vw; height:70vw; max-width:800px; max-height:800px; background:radial-gradient(circle,rgba(21,101,255,0.12) 0%,transparent 70%); border-radius:50%; }
    .hero-bg::after { content:''; position:absolute; bottom:-10%; right:-10%; width:50vw; height:50vw; max-width:600px; max-height:600px; background:radial-gradient(circle,rgba(201,168,76,0.06) 0%,transparent 70%); border-radius:50%; }
    .hero-grid { position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,0.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,0.025) 1px,transparent 1px); background-size:48px 48px; mask-image:linear-gradient(180deg,transparent 0%,black 30%,black 70%,transparent 100%); -webkit-mask-image:linear-gradient(180deg,transparent 0%,black 30%,black 70%,transparent 100%); }
    .hero-content { position:relative; z-index:1; max-width:780px; padding:80px 0; }
    .hero-eyebrow { display:flex; align-items:center; gap:8px; font-family:var(--font-d); font-size:0.52rem; font-weight:500; letter-spacing:0.1em; text-transform:none; color:var(--blue-light); background:rgba(21,101,255,0.07); border:1px solid rgba(21,101,255,0.15); border-radius:10px; padding:10px 16px; margin-bottom:28px; width:fit-content; max-width:100%; line-height:1.6; white-space:normal; opacity:0.85; }
    .eyebrow-dot { width:6px; height:6px; background:var(--blue); border-radius:50%; animation:pulse-dot 2s ease-in-out infinite; }
    @keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.75)} }
    .hero-headline { font-family:var(--font-d); font-size:clamp(2.2rem,5vw,3.6rem); font-weight:700; line-height:1.1; letter-spacing:-0.03em; color:var(--white); margin-bottom:24px; }
    .hero-headline .highlight { background:linear-gradient(90deg,var(--blue-light),#A78BFA); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
    .hero-subheadline { font-size:clamp(1rem,2vw,1.18rem); font-weight:400; color:var(--muted); max-width:600px; margin-bottom:40px; line-height:1.7; }
    .hero-subheadline strong { color:var(--white); font-weight:500; }
    .hero-cta-group { display:flex; flex-wrap:wrap; gap:14px; align-items:center; margin-bottom:48px; }
    .btn-hero-primary { font-size:1.05rem; padding:16px 36px; border-radius:var(--r-md); gap:10px; }
    .hero-trust { display:flex; flex-wrap:wrap; gap:24px; align-items:center; }
    .trust-item { display:flex; align-items:center; gap:8px; font-size:0.82rem; color:var(--muted); font-weight:500; }
    .trust-item svg { color:var(--gold); flex-shrink:0; }

    /* TERMINAL */
    .hero-terminal { position:absolute; right:0; top:50%; transform:translateY(-50%); width:380px; background:rgba(13,27,42,0.7); backdrop-filter:blur(16px); border:1px solid rgba(21,101,255,0.2); border-radius:var(--r-lg); padding:20px 24px; box-shadow:var(--shadow),inset 0 1px 0 rgba(255,255,255,0.05),0 0 60px rgba(21,101,255,0.08); z-index:1; }
    .terminal-header { display:flex; align-items:center; gap:8px; margin-bottom:18px; }
    .terminal-dots { display:flex; gap:6px; }
    .terminal-dot { width:10px; height:10px; border-radius:50%; }
    .terminal-dot.red { background:#FF5F57; }
    .terminal-dot.yellow { background:#FEBC2E; }
    .terminal-dot.green { background:#28C840; }
    .terminal-title { font-family:'Courier New',monospace; font-size:0.72rem; color:var(--muted); margin-left:6px; }
    .terminal-body { font-family:'Courier New',Courier,monospace; font-size:0.8rem; line-height:1.9; }
    .terminal-line { display:block; overflow:hidden; opacity:0; animation:fadeSlideIn 0.4s ease forwards; }
    .terminal-line:nth-child(1){animation-delay:0.2s} .terminal-line:nth-child(2){animation-delay:0.7s} .terminal-line:nth-child(3){animation-delay:1.2s} .terminal-line:nth-child(4){animation-delay:1.7s} .terminal-line:nth-child(5){animation-delay:2.2s} .terminal-line:nth-child(6){animation-delay:2.7s} .terminal-line:nth-child(7){animation-delay:3.2s} .terminal-line:nth-child(8){animation-delay:3.7s}
    @keyframes fadeSlideIn { from{opacity:0;transform:translateX(-6px)} to{opacity:1;transform:translateX(0)} }
    .t-prompt{color:var(--blue-light)} .t-cmd{color:var(--white)} .t-ok{color:#28C840} .t-info{color:var(--muted)} .t-gold{color:var(--gold)}
    .t-blink { display:inline-block; width:8px; height:14px; background:var(--blue-light); vertical-align:middle; animation:blink-cursor 1.1s step-end infinite; margin-left:2px; }
    @keyframes blink-cursor { 0%,100%{opacity:1} 50%{opacity:0} }
    .terminal-tutor-badge { display:flex; align-items:center; gap:10px; margin-top:16px; padding:10px 14px; background:rgba(21,101,255,0.08); border:1px solid rgba(21,101,255,0.15); border-radius:var(--r-sm); }
    .tutor-avatar { width:32px; height:32px; border-radius:50%; background:linear-gradient(135deg,var(--blue),#A78BFA); display:flex; align-items:center; justify-content:center; font-size:0.85rem; font-weight:700; color:white; flex-shrink:0; }
    .tutor-info { font-family:var(--font-b); }
    .tutor-name { font-size:0.78rem; font-weight:600; color:var(--white); display:block; }
    .tutor-role { font-size:0.7rem; color:var(--muted); }
    .tutor-status { display:inline-flex; align-items:center; gap:4px; font-size:0.65rem; color:#28C840; margin-left:auto; }
    .tutor-status::before { content:''; width:5px; height:5px; background:#28C840; border-radius:50%; animation:pulse-dot 2s ease-in-out infinite; }

    /* SECCIÓN CÓMO FUNCIONA */
    #como-funciona { padding:60px 0; }
    .steps-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:24px; margin-top:36px; }
    .step-card { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--r-lg); padding:32px 28px; position:relative; transition:var(--t); }
    .step-card:hover { transform:translateY(-4px); border-color:rgba(21,101,255,0.15); }
    .step-num { font-family:var(--font-d); font-size:0.72rem; font-weight:700; letter-spacing:0.12em; color:var(--blue-light); text-transform:uppercase; margin-bottom:20px; }
    .step-icon { font-size:1.8rem; margin-bottom:16px; }
    .step-title { font-family:var(--font-d); font-size:1rem; font-weight:700; color:var(--white); margin-bottom:10px; }
    .step-desc { font-size:0.85rem; color:var(--muted); line-height:1.65; }

    /* SECCIÓN QUÉ INCLUYE */
    #que-incluye { padding:60px 0; background:linear-gradient(180deg,transparent,rgba(21,101,255,0.03),transparent); }
    .features-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:20px; margin-top:36px; }
    .feature-item { display:flex; gap:16px; align-items:flex-start; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--r-md); padding:24px; transition:var(--t); }
    .feature-item:hover { border-color:rgba(21,101,255,0.15); transform:translateY(-2px); }
    .feature-icon-wrap { width:44px; height:44px; border-radius:var(--r-sm); background:rgba(21,101,255,0.1); border:1px solid rgba(21,101,255,0.2); display:flex; align-items:center; justify-content:center; font-size:1.2rem; flex-shrink:0; }
    .feature-text {}
    .feature-title { font-family:var(--font-d); font-size:0.92rem; font-weight:700; color:var(--white); margin-bottom:6px; }
    .feature-desc { font-size:0.8rem; color:var(--muted); line-height:1.6; }

    /* SECCIÓN OPOSICIONES */
    #oposiciones { padding:60px 0; }
    .section-header { text-align:center; margin-bottom:36px; }
    .section-eyebrow { display:inline-block; font-family:var(--font-d); font-size:0.75rem; font-weight:600; letter-spacing:0.14em; text-transform:uppercase; color:var(--gold); margin-bottom:16px; }
    .section-title { font-family:var(--font-d); font-size:clamp(1.8rem,4vw,2.6rem); font-weight:700; letter-spacing:-0.025em; color:var(--white); margin-bottom:16px; line-height:1.2; }
    .section-subtitle { font-size:1rem; color:var(--muted); max-width:520px; margin:0 auto; line-height:1.7; }
    /* ── GRID DE TARJETAS ─────────────────────────── */
    .cards-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 28px;
    }

    /* Tarjeta estilo editorial: foto arriba, contenido abajo */
    .card {
      position: relative;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--r-lg);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: transform var(--t), box-shadow var(--t), border-color var(--t);
      cursor: pointer;
    }
    .card:hover {
      transform: translateY(-6px);
      box-shadow: 0 20px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(21,101,255,0.2);
      border-color: rgba(21,101,255,0.2);
    }

    /* Foto superior */
    .card-photo {
      position: relative;
      width: 100%;
      height: 200px;
      overflow: hidden;
      flex-shrink: 0;
      background: #0a1525;
    }
    .card-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      display: block;
      transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
      filter: brightness(0.88);
    }
    .card:hover .card-photo img {
      transform: scale(1.04);
      filter: brightness(0.95);
    }
    /* Degradado sutil en la parte baja de la foto */
    .card-photo::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 60px;
      background: linear-gradient(to bottom, transparent, var(--bg-card));
      pointer-events: none;
    }

    /* Badge de estado — sobre la foto, esquina superior izquierda */
    .card-badge {
      position: absolute;
      top: 14px;
      left: 14px;
      z-index: 3;
      font-family: var(--font-d);
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 5px 13px;
      border-radius: 100px;
      backdrop-filter: blur(10px);
    }
    .badge-available {
      background: rgba(40, 200, 64, 0.2);
      color: #3EE060;
      border: 1px solid rgba(40, 200, 64, 0.4);
    }
    .badge-soon {
      background: rgba(201, 168, 76, 0.18);
      color: var(--gold-light);
      border: 1px solid rgba(201, 168, 76, 0.35);
    }

    /* Contenido inferior */
    .card-body {
      padding: 22px 24px 24px;
      display: flex;
      flex-direction: column;
      flex: 1;
      gap: 10px;
    }
    .card-title {
      font-family: var(--font-d);
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--white);
      line-height: 1.25;
      letter-spacing: -0.01em;
    }
    .card-desc {
      font-size: 0.84rem;
      color: var(--muted);
      line-height: 1.65;
      flex: 1;
    }

    /* Tutor pill */
    .card-tutor {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: 0.75rem;
      color: var(--muted);
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: 100px;
      padding: 5px 12px 5px 6px;
      width: fit-content;
    }
    .card-tutor-avatar {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--blue), #A78BFA);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.58rem;
      font-weight: 700;
      color: white;
      flex-shrink: 0;
    }
    .card-tutor-label { color: var(--blue-light); font-weight: 600; }

    /* Botón CTA */
    .card-btn {
      width: 100%;
      justify-content: center;
      font-size: 0.85rem;
      padding: 12px 16px;
      margin-top: 4px;
      border-radius: var(--r-md);
    }
    /* COMPARATIVA */

    .compare-table-wrap { overflow-x:auto; margin-top:60px; }
    .compare-table { width:100%; border-collapse:collapse; min-width:600px; }
    .compare-table th, .compare-table td { padding:16px 20px; text-align:left; border-bottom:1px solid var(--border); font-size:0.88rem; }
    .compare-table th { font-family:var(--font-d); font-weight:700; font-size:0.78rem; letter-spacing:0.06em; text-transform:uppercase; color:var(--muted); background:rgba(255,255,255,0.02); }
    .compare-table th:first-child { border-radius:var(--r-sm) 0 0 0; }
    .compare-table th:last-child { border-radius:0 var(--r-sm) 0 0; }
    .compare-table td:first-child { font-weight:600; color:var(--white); }
    .compare-table .col-auto { background:rgba(21,101,255,0.05); }
    .compare-table .col-auto th, .compare-table .col-auto td { border-left:1px solid rgba(21,101,255,0.2); border-right:1px solid rgba(21,101,255,0.2); }
    .col-header-auto { background:rgba(21,101,255,0.12) !important; color:var(--blue-light) !important; }
    .check-yes { color:#28C840; font-weight:700; }
    .check-no { color:var(--muted); }
    .price-highlight { color:var(--gold); font-weight:700; }
    .price-bad { color:#FF5F57; font-weight:600; }

    /* PLANES */
    #planes { padding:60px 0; }
    .plans-toggle { display:flex; align-items:center; justify-content:center; gap:12px; margin-bottom:48px; flex-wrap:wrap; }
    .toggle-label { font-size:0.88rem; color:var(--muted); font-weight:500; }
    .toggle-badge { background:rgba(201,168,76,0.12); color:var(--gold); border:1px solid rgba(201,168,76,0.25); border-radius:100px; font-size:0.7rem; font-weight:700; padding:3px 10px; }
    .plans-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:24px; align-items:start; }
    .plan-card { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--r-xl); padding:36px 32px; display:flex; flex-direction:column; gap:0; transition:var(--t); }
    .plan-card:hover { transform:translateY(-4px); }
    .plan-card.plan-featured { border-color:rgba(21,101,255,0.3); background:linear-gradient(145deg,var(--bg-card) 0%,rgba(21,101,255,0.06) 100%); position:relative; }
    .plan-card.plan-featured::before { content:'⭐ Recomendado'; position:absolute; top:-14px; left:50%; transform:translateX(-50%); background:var(--blue); color:#fff; font-family:var(--font-d); font-size:0.72rem; font-weight:700; letter-spacing:0.06em; padding:5px 16px; border-radius:100px; white-space:nowrap; }
    .plan-name { font-family:var(--font-d); font-size:0.88rem; font-weight:600; color:var(--muted); text-transform:uppercase; letter-spacing:0.1em; margin-bottom:16px; }
    .plan-price { font-family:var(--font-d); font-size:4rem; font-weight:900; color:#ffffff; line-height:1; margin-bottom:0; letter-spacing:-0.04em; display:flex; align-items:baseline; gap:6px; text-shadow:0 0 40px rgba(255,255,255,0.25); }
    .plan-price span { font-size:1.1rem; color:rgba(255,255,255,0.55); font-weight:400; }
    .plan-credits { font-size:0.8rem; color:var(--blue-light); font-weight:600; margin-bottom:8px; }
    .plan-note { font-size:0.75rem; color:var(--muted); margin-bottom:28px; }
    .plan-divider { height:1px; background:var(--border); margin:0 0 24px; }
    .plan-features { display:flex; flex-direction:column; gap:12px; margin-bottom:32px; flex:1; }
    .plan-feature { display:flex; align-items:flex-start; gap:10px; font-size:0.85rem; color:var(--muted); }
    .plan-feature .pf-check { color:var(--blue-light); font-weight:700; flex-shrink:0; margin-top:1px; }
    .plan-btn { width:100%; justify-content:center; }

    /* CTA FINAL */
    #cta-final { padding:60px 0; }
    .cta-box { position:relative; background:linear-gradient(135deg,rgba(21,101,255,0.12) 0%,rgba(167,139,250,0.06) 100%); border:1px solid rgba(21,101,255,0.2); border-radius:var(--r-xl); padding:52px 48px; text-align:center; overflow:hidden; }
    .cta-box::before { content:''; position:absolute; top:0; left:50%; transform:translateX(-50%); width:60%; height:1px; background:linear-gradient(90deg,transparent,var(--blue),transparent); }
    .cta-box::after { content:''; position:absolute; top:-50%; left:50%; transform:translateX(-50%); width:500px; height:500px; background:radial-gradient(circle,rgba(21,101,255,0.08) 0%,transparent 70%); pointer-events:none; }
    .cta-label { display:inline-block; font-family:var(--font-d); font-size:0.75rem; font-weight:600; letter-spacing:0.14em; text-transform:uppercase; color:var(--gold); margin-bottom:20px; }
    .cta-title { font-family:var(--font-d); font-size:clamp(1.7rem,4vw,2.5rem); font-weight:700; letter-spacing:-0.025em; color:var(--white); margin-bottom:16px; line-height:1.2; position:relative; z-index:1; }
    .cta-desc { font-size:1rem; color:var(--muted); max-width:480px; margin:0 auto 36px; line-height:1.7; position:relative; z-index:1; }
    .cta-buttons { display:flex; flex-wrap:wrap; gap:14px; justify-content:center; position:relative; z-index:1; }

    /* FOOTER */
    #site-footer { border-top:1px solid var(--border); padding:48px 0 32px; }
    .footer-inner { display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:40px; margin-bottom:40px; }
    .footer-brand-desc { font-size:0.85rem; color:var(--muted); line-height:1.7; margin-top:14px; max-width:240px; }
    .footer-col-title { font-family:var(--font-d); font-size:0.78rem; font-weight:600; letter-spacing:0.1em; text-transform:uppercase; color:var(--muted); margin-bottom:16px; }
    .footer-links { display:flex; flex-direction:column; gap:10px; }
    .footer-link { font-size:0.85rem; color:var(--muted); transition:color var(--t); }
    .footer-link:hover { color:var(--white); }
    .footer-bottom { display:flex; align-items:center; justify-content:space-between; padding-top:32px; border-top:1px solid var(--border); font-size:0.78rem; color:var(--muted); }
    .footer-legal { display:flex; gap:20px; }
    .footer-legal a { color:var(--muted); transition:color var(--t); }
    .footer-legal a:hover { color:var(--white); }
    /* Logo footer en blanco también */
    .footer-logo-img { height:96px; width:auto; filter:brightness(0) invert(1); opacity:0.7; }

    /* WHATSAPP FLOTANTE */
    .whatsapp-btn { position:fixed; bottom:28px; right:28px; width:56px; height:56px; border-radius:50%; background:#25D366; box-shadow:0 4px 20px rgba(37,211,102,0.4); display:flex; align-items:center; justify-content:center; z-index:900; transition:var(--t); cursor:pointer; }
    .whatsapp-btn:hover { transform:scale(1.1); box-shadow:0 6px 28px rgba(37,211,102,0.55); }
    .whatsapp-btn svg { width:28px; height:28px; fill:white; }

    /* RESPONSIVE */
    @media(max-width:1024px) {
      .hero-terminal { display:none; }
      .footer-inner { grid-template-columns:1fr 1fr; }
    }
    @media(max-width:768px) {
      .site-nav { display:none; }
      .hamburger { display:flex; }
      .hero-content { padding:60px 0; max-width:100%; }
      .hero-cta-group { flex-direction:column; align-items:flex-start; }
      .hero-cta-group .btn { width:100%; justify-content:center; }
      .cards-grid { grid-template-columns:1fr; }
      .plans-grid { grid-template-columns:1fr; }
      .compare-table th, .compare-table td { padding:12px 14px; font-size:0.82rem; }
      .cta-box { padding:48px 28px; }
      .footer-inner { grid-template-columns:1fr; gap:28px; }
      .footer-bottom { flex-direction:column; gap:16px; text-align:center; }
    }
    @media(max-width:480px) {
      .container { padding:0 16px; }
      .steps-grid { grid-template-columns:1fr; }
      .features-grid { grid-template-columns:1fr; }
      .hero-trust { flex-direction:column; align-items:flex-start; gap:12px; }
    }
    /* Imagen real de la oposición — object-fit:cover evita cualquier deformación */
    .card-photo-img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      display: block;
      transition: transform 0.55s cubic-bezier(0.4,0,0.2,1), filter 0.55s ease;
      filter: brightness(0.88);
    }
    .card:hover .card-photo-img { transform: scale(1.04); filter: brightness(0.95); }

    /* ── TOGGLE DE PERIODO DE FACTURACIÓN ─────────── */
    .period-toggle {
      display: flex;
      justify-content: center;
      gap: 4px;
      margin-bottom: 24px;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--r-md);
      padding: 5px;
      width: fit-content;
      margin-left: auto;
      margin-right: auto;
    }
    .period-btn {
      display: flex;
      align-items: center;
      gap: 7px;
      padding: 9px 18px;
      border-radius: var(--r-sm);
      font-family: var(--font-d);
      font-size: 0.82rem;
      font-weight: 600;
      cursor: pointer;
      border: none;
      background: transparent;
      color: var(--muted);
      transition: var(--t);
      white-space: nowrap;
    }
    .period-btn.active {
      background: var(--blue);
      color: #fff;
      box-shadow: 0 2px 12px var(--blue-glow);
    }
    .period-btn:hover:not(.active) {
      color: var(--white);
      background: rgba(255,255,255,0.05);
    }
    .period-disc {
      background: rgba(40,200,64,0.12);
      color: #3EE060;
      font-size: 0.65rem;
      font-weight: 700;
      padding: 2px 7px;
      border-radius: 100px;
      border: 1px solid rgba(40,200,64,0.25);
    }

    /* Precio con animación al cambiar */
    /* Precio — transición suave al cambiar periodo */
    .plan-price-amount { font-size:4rem; font-weight:900; color:#ffffff; letter-spacing:-0.04em; line-height:1; transition: opacity 0.15s ease; text-shadow:0 0 40px rgba(255,255,255,0.25); }
    .plan-price-amount.updating { opacity: 0; }

    /* Precio original tachado — solo visible con descuento */
    .plan-price-original {
      font-family: var(--font-d);
      font-size: 0.78rem;
      color: var(--muted);
      text-decoration: line-through;
      min-height: 0;
      line-height: 1.4;
      margin-top: 2px;
      margin-bottom: 0;
    }
    .plan-price-original:empty { display: none; }

    /* Badge de ahorro — justo debajo del precio grande */
    .plan-saving {
      display: block;
      font-size: 0.72rem;
      color: #3EE060;
      font-weight: 600;
      background: rgba(40,200,64,0.08);
      border: 1px solid rgba(40,200,64,0.2);
      border-radius: 100px;
      padding: 3px 12px;
      height: 24px;           /* altura fija para no saltar el layout */
      line-height: 18px;
      width: fit-content;
      margin-top: 4px;
      margin-bottom: 0;
    }
    .plan-saving:empty { display: none; }

    /* Nota de facturación — reemplaza a .plan-note */
    .plan-billing-note {
      font-size: 0.75rem;
      color: var(--muted);
      margin-top: 8px;
      margin-bottom: 20px;
    }
  
    /* ── PÁGINAS DE OPOSICIÓN ─────────────────────── */

    /* Hero con foto */
    .op-hero {
      position: relative;
      min-height: 90vh;
      display: flex;
      align-items: center;
      padding-top: 140px;
      padding-bottom: 80px;
      overflow: hidden;
    }
    .op-hero-photo {
      position: absolute;
      inset: 0;
      z-index: 0;
    }
    .op-hero-photo img {
      width: 100%; height: 100%;
      object-fit: cover;
      object-position: center top;
      filter: brightness(0.55) saturate(0.9);
    }
    .op-hero-photo::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(
        105deg,
        rgba(5,11,24,0.92) 0%,
        rgba(5,11,24,0.65) 45%,
        rgba(5,11,24,0.15) 100%
      );
    }
    .op-hero-content { position:relative; z-index:1; max-width:680px; }
    .op-hero-eyebrow { display:inline-flex; align-items:center; gap:8px; font-family:var(--font-d); font-size:0.52rem; font-weight:500; letter-spacing:0.1em; color:var(--blue-light); background:rgba(21,101,255,0.07); border:1px solid rgba(21,101,255,0.15); border-radius:10px; padding:10px 16px; margin-bottom:24px; opacity:0.85; }
    .op-eyebrow-dot { width:6px; height:6px; background:var(--blue); border-radius:50%; animation:pulse-dot 2s ease-in-out infinite; flex-shrink:0; }
    .op-hero-title { font-family:var(--font-d); font-size:clamp(2.4rem,5vw,3.8rem); font-weight:700; line-height:1.1; letter-spacing:-0.03em; color:#fff; margin-bottom:16px; }
    .op-hero-title .highlight { background:linear-gradient(90deg,var(--blue-light),#A78BFA); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
    .op-hero-sub { font-size:1.05rem; color:rgba(255,255,255,0.65); max-width:560px; line-height:1.75; margin-bottom:36px; }
    .op-hero-sub strong { color:#fff; font-weight:500; }

    /* Stats rápidos en el hero */
    .op-hero-stats { display:flex; flex-wrap:wrap; gap:24px; margin-bottom:36px; }
    .op-stat { display:flex; flex-direction:column; gap:2px; }
    .op-stat-value { font-family:var(--font-d); font-size:1.6rem; font-weight:900; color:#fff; line-height:1; letter-spacing:-0.02em; }
    .op-stat-label { font-size:0.72rem; color:rgba(255,255,255,0.45); text-transform:uppercase; letter-spacing:0.1em; }
    .op-stat-sep { width:1px; background:rgba(255,255,255,0.1); align-self:stretch; margin:2px 0; }

    .op-hero-ctas { display:flex; flex-wrap:wrap; gap:12px; }

    /* Badge disponible/próximamente en hero */
    .op-status-badge { display:inline-flex; align-items:center; gap:6px; font-family:var(--font-d); font-size:0.68rem; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; padding:6px 14px; border-radius:100px; margin-bottom:20px; }
    .op-status-badge.soon { background:rgba(201,168,76,0.15); color:var(--gold-light); border:1px solid rgba(201,168,76,0.3); }
    .op-status-badge.available { background:rgba(40,200,64,0.15); color:#3EE060; border:1px solid rgba(40,200,64,0.3); }

    /* Sección convocatoria */
    .op-conv { padding:60px 0; }
    .op-conv-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:20px; margin-top:40px; }
    .op-conv-card { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--r-md); padding:24px; display:flex; flex-direction:column; gap:8px; transition:var(--t); }
    .op-conv-card:hover { border-color:rgba(21,101,255,0.2); transform:translateY(-2px); }
    .op-conv-icon { font-size:1.4rem; }
    .op-conv-label { font-size:0.7rem; color:var(--muted); text-transform:uppercase; letter-spacing:0.1em; font-weight:600; }
    .op-conv-value { font-family:var(--font-d); font-size:1.05rem; font-weight:700; color:var(--white); line-height:1.3; }
    .op-conv-note { font-size:0.75rem; color:var(--muted); }

    /* Requisitos */
    .op-req { padding:60px 0; background:linear-gradient(180deg,transparent,rgba(21,101,255,0.03),transparent); }
    .op-req-grid { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start; margin-top:40px; }
    .op-req-list { display:flex; flex-direction:column; gap:12px; }
    .op-req-item { display:flex; align-items:flex-start; gap:12px; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--r-md); padding:18px 20px; transition:var(--t); }
    .op-req-item:hover { border-color:rgba(21,101,255,0.15); }
    .op-req-dot { width:8px; height:8px; border-radius:50%; background:var(--blue); flex-shrink:0; margin-top:5px; }
    .op-req-dot.gold { background:var(--gold); }
    .op-req-text { font-size:0.85rem; color:var(--muted); line-height:1.6; }
    .op-req-text strong { color:var(--white); font-weight:600; }
    .op-req-aside { background:var(--bg-card); border:1px solid rgba(201,168,76,0.2); border-radius:var(--r-lg); padding:28px; }
    .op-req-aside-title { font-family:var(--font-d); font-size:0.88rem; font-weight:700; color:var(--gold-light); margin-bottom:16px; display:flex; align-items:center; gap:8px; }
    .op-req-aside p { font-size:0.83rem; color:var(--muted); line-height:1.7; margin-bottom:12px; }
    .op-req-aside p:last-child { margin-bottom:0; }
    .op-req-aside strong { color:var(--white); font-weight:500; }

    /* Temario */
    .op-temario { padding:60px 0; }
    .op-temas-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:16px; margin-top:40px; }
    .op-tema { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--r-md); padding:18px 20px; display:flex; align-items:flex-start; gap:14px; transition:var(--t); }
    .op-tema:hover { border-color:rgba(21,101,255,0.15); transform:translateX(3px); }
    .op-tema-num { font-family:var(--font-d); font-size:0.68rem; font-weight:700; color:var(--blue-light); background:rgba(21,101,255,0.1); border:1px solid rgba(21,101,255,0.2); border-radius:var(--r-sm); padding:3px 9px; flex-shrink:0; white-space:nowrap; }
    .op-tema-title { font-size:0.84rem; color:var(--white); line-height:1.5; font-weight:500; }

    /* Tutor */
    .op-tutor { padding:60px 0; }
    .op-tutor-box { background:linear-gradient(135deg,rgba(21,101,255,0.08) 0%,rgba(167,139,250,0.04) 100%); border:1px solid rgba(21,101,255,0.18); border-radius:var(--r-xl); padding:52px 56px; display:grid; grid-template-columns:auto 1fr; gap:48px; align-items:center; position:relative; overflow:hidden; }
    .op-tutor-box::before { content:''; position:absolute; top:0; left:50%; transform:translateX(-50%); width:60%; height:1px; background:linear-gradient(90deg,transparent,var(--blue),transparent); }
    .op-tutor-avatar-wrap { display:flex; flex-direction:column; align-items:center; gap:12px; }
    .op-tutor-avatar-big { width:100px; height:100px; border-radius:50%; background:linear-gradient(135deg,var(--blue),#A78BFA); display:flex; align-items:center; justify-content:center; font-family:var(--font-d); font-size:2.2rem; font-weight:900; color:white; border:3px solid rgba(255,255,255,0.1); box-shadow:0 0 40px rgba(21,101,255,0.3); }
    .op-tutor-online { display:inline-flex; align-items:center; gap:5px; font-size:0.68rem; color:#3EE060; font-weight:600; }
    .op-tutor-online::before { content:''; width:6px; height:6px; background:#3EE060; border-radius:50%; animation:pulse-dot 2s ease-in-out infinite; }
    .op-tutor-name { font-family:var(--font-d); font-size:1.6rem; font-weight:900; color:var(--white); margin-bottom:4px; }
    .op-tutor-role { font-size:0.85rem; color:var(--blue-light); font-weight:500; margin-bottom:16px; }
    .op-tutor-desc { font-size:0.92rem; color:var(--muted); line-height:1.75; max-width:560px; margin-bottom:24px; }
    .op-tutor-desc strong { color:var(--white); font-weight:500; }
    .op-tutor-chips { display:flex; flex-wrap:wrap; gap:8px; }
    .op-tutor-chip { font-size:0.72rem; font-weight:600; color:var(--muted); background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.08); border-radius:100px; padding:4px 12px; }

    /* Proceso */
    .op-proceso { padding:60px 0; }

    /* CTA reserva */
    .op-cta { padding:60px 0; }
    .op-cta-box { position:relative; background:linear-gradient(135deg,rgba(201,168,76,0.1) 0%,rgba(21,101,255,0.08) 100%); border:1px solid rgba(201,168,76,0.2); border-radius:var(--r-xl); padding:64px 56px; text-align:center; overflow:hidden; }
    .op-cta-box::before { content:''; position:absolute; top:0; left:50%; transform:translateX(-50%); width:60%; height:1px; background:linear-gradient(90deg,transparent,var(--gold),transparent); }
    .op-cta-label { display:inline-block; font-family:var(--font-d); font-size:0.72rem; font-weight:700; letter-spacing:0.14em; text-transform:uppercase; color:var(--gold); margin-bottom:16px; }
    .op-cta-title { font-family:var(--font-d); font-size:clamp(1.8rem,4vw,2.6rem); font-weight:700; letter-spacing:-0.025em; color:var(--white); margin-bottom:14px; line-height:1.2; }
    .op-cta-desc { font-size:1rem; color:var(--muted); max-width:480px; margin:0 auto 32px; line-height:1.7; }
    .op-cta-desc strong { color:var(--gold-light); }

    /* FAQ */
    .op-faq { padding:60px 0; }
    .faq-list { display:flex; flex-direction:column; gap:12px; margin-top:40px; max-width:800px; margin-left:auto; margin-right:auto; }
    .faq-item { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--r-md); overflow:hidden; transition:var(--t); }
    .faq-item:hover { border-color:rgba(21,101,255,0.15); }
    .faq-question { width:100%; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px 24px; background:none; border:none; cursor:pointer; font-family:var(--font-d); font-size:0.92rem; font-weight:600; color:var(--white); text-align:left; transition:var(--t); }
    .faq-question:hover { color:var(--blue-light); }
    .faq-icon { width:22px; height:22px; border-radius:50%; background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.1); display:flex; align-items:center; justify-content:center; font-size:0.9rem; flex-shrink:0; transition:transform var(--t); color:var(--muted); }
    .faq-item.open .faq-icon { transform:rotate(45deg); color:var(--blue-light); background:rgba(21,101,255,0.1); border-color:rgba(21,101,255,0.2); }
    .faq-answer { max-height:0; overflow:hidden; transition:max-height 0.35s ease; }
    .faq-item.open .faq-answer { max-height:300px; }
    .faq-answer-inner { padding:0 24px 20px; font-size:0.85rem; color:var(--muted); line-height:1.75; }
    .faq-answer-inner strong { color:var(--white); font-weight:500; }

    /* Responsive */
    @media(max-width:900px) {
      .op-tutor-box { grid-template-columns:1fr; text-align:center; padding:36px 28px; }
      .op-tutor-avatar-wrap { flex-direction:row; justify-content:center; }
      .op-req-grid { grid-template-columns:1fr; }
      .op-cta-box { padding:44px 28px; }
    }
    @media(max-width:768px) {
      .op-hero { min-height:auto; padding-top:120px; padding-bottom:60px; }
      .op-hero-stats { gap:16px; }
    }

/* Bloque compartido por 22 páginas — ESTILOS ÚNICOS DE ARTÍCULOS BLOG */

    /* HEADER (heredado de la sección principal) */

    /* BREADCRUMB */
    .breadcrumb { padding:110px 0 0; font-size:0.8rem; color:var(--muted); display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
    .breadcrumb a { color:var(--blue-light); transition:var(--t); }
    .breadcrumb a:hover { color:var(--white); }

    /* ARTICLE HEADER */
    .article-header { padding:32px 0 40px; border-bottom:1px solid var(--border); margin-bottom:40px; }
    .article-eyebrow { display:inline-flex; align-items:center; gap:8px; font-family:var(--font-d); font-size:0.72rem; font-weight:600; letter-spacing:0.1em; text-transform:uppercase; color:var(--gold); margin-bottom:18px; }
    .article-title { font-family:var(--font-d); font-size:clamp(1.8rem,4.5vw,2.6rem); font-weight:700; letter-spacing:-0.025em; line-height:1.15; color:var(--white); margin-bottom:18px; }
    .article-lede { font-size:1.05rem; color:var(--muted); line-height:1.7; max-width:640px; }
    .article-meta { display:flex; gap:18px; align-items:center; margin-top:24px; font-size:0.8rem; color:var(--muted); flex-wrap:wrap; }
    .article-meta strong { color:var(--white); font-weight:600; }

    /* ARTICLE BODY */
    .article-body { padding-bottom:64px; }
    .article-body h2 { font-family:var(--font-d); font-size:clamp(1.3rem,3vw,1.7rem); font-weight:700; letter-spacing:-0.015em; color:var(--white); margin:48px 0 18px; line-height:1.3; }
    .article-body h2:first-child { margin-top:0; }
    .article-body p { font-size:1rem; color:#C3CCDC; line-height:1.8; margin-bottom:20px; }
    .article-body p strong { color:var(--white); font-weight:600; }
    .article-body ul, .article-body ol { margin:0 0 24px; padding-left:0; }
    .article-body li { position:relative; padding-left:28px; margin-bottom:12px; font-size:1rem; color:#C3CCDC; line-height:1.7; }
    .article-body ul li::before { content:''; position:absolute; left:0; top:9px; width:7px; height:7px; border-radius:50%; background:var(--blue-light); }
    .article-body ol { counter-reset:olcount; }
    .article-body ol li { counter-increment:olcount; }
    .article-body ol li::before { content:counter(olcount); position:absolute; left:0; top:0; width:20px; height:20px; border-radius:50%; background:rgba(21,101,255,0.15); color:var(--blue-light); font-family:var(--font-d); font-weight:700; font-size:0.7rem; display:flex; align-items:center; justify-content:center; }

    .callout { background:rgba(201,168,76,0.07); border:1px solid rgba(201,168,76,0.22); border-radius:var(--r-md); padding:20px 24px; margin:28px 0; font-size:0.92rem; color:var(--gold-light); line-height:1.7; }
    .callout strong { color:var(--gold-light); }

    .source-table-wrap { overflow-x:auto; margin:28px 0; border-radius:var(--r-md); border:1px solid var(--border); }
    .source-table { width:100%; border-collapse:collapse; min-width:480px; }
    .source-table th, .source-table td { padding:14px 18px; text-align:left; border-bottom:1px solid var(--border); font-size:0.88rem; }
    .source-table th { font-family:var(--font-d); font-weight:700; font-size:0.74rem; letter-spacing:0.06em; text-transform:uppercase; color:var(--muted); background:rgba(255,255,255,0.02); }
    .source-table td { color:#C3CCDC; }
    .source-table tr:last-child td { border-bottom:none; }

    /* FAQ */
    .faq-block { margin-top:8px; }
    .faq-item { border:1px solid var(--border); border-radius:var(--r-md); padding:22px 24px; margin-bottom:14px; background:var(--bg-card); }
    .faq-q { font-family:var(--font-d); font-size:1rem; font-weight:700; color:var(--white); margin-bottom:10px; }
    .faq-a { font-size:0.92rem; color:var(--muted); line-height:1.7; }

    /* DISCLAIMER */
    .article-disclaimer { font-size:0.8rem; color:var(--muted); font-style:italic; border-top:1px solid var(--border); padding-top:24px; margin-top:48px; }

    /* CTA INLINE (producto) */
    .cta-box { position:relative; background:linear-gradient(135deg,rgba(21,101,255,0.12) 0%,rgba(167,139,250,0.06) 100%); border:1px solid rgba(21,101,255,0.2); border-radius:var(--r-xl); padding:40px 36px; text-align:center; overflow:hidden; margin:48px 0; }
    .cta-box::before { content:''; position:absolute; top:0; left:50%; transform:translateX(-50%); width:60%; height:1px; background:linear-gradient(90deg,transparent,var(--blue),transparent); }
    .cta-label { display:inline-block; font-family:var(--font-d); font-size:0.72rem; font-weight:600; letter-spacing:0.14em; text-transform:uppercase; color:var(--gold); margin-bottom:14px; }
    .cta-title { font-family:var(--font-d); font-size:clamp(1.3rem,3.2vw,1.7rem); font-weight:700; letter-spacing:-0.02em; color:var(--white); margin-bottom:12px; line-height:1.25; position:relative; z-index:1; }
    .cta-desc { font-size:0.92rem; color:var(--muted); max-width:440px; margin:0 auto 26px; line-height:1.7; position:relative; z-index:1; }

    /* RELATED ARTICLES */
    #related { padding:0 0 72px; border-top:1px solid var(--border); padding-top:48px; }
    .related-title { font-family:var(--font-d); font-size:1.1rem; font-weight:700; color:var(--white); margin-bottom:24px; }
    .related-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:20px; }
    .related-card { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--r-md); padding:22px; transition:var(--t); }
    .related-card:hover { transform:translateY(-3px); border-color:rgba(21,101,255,0.2); }
    .related-card-eyebrow { font-family:var(--font-d); font-size:0.68rem; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; color:var(--blue-light); margin-bottom:8px; display:block; }
    .related-card-title { font-family:var(--font-d); font-size:0.95rem; font-weight:700; color:var(--white); line-height:1.4; }

    /* FOOTER */
    #site-footer { border-top:1px solid var(--border); padding:48px 0 32px; max-width:1200px; margin:0 auto; padding-left:24px; padding-right:24px; }
    .footer-inner { display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:40px; margin-bottom:40px; }
    .footer-brand-desc { font-size:0.85rem; color:var(--muted); line-height:1.7; margin-top:14px; max-width:240px; }
    .footer-col-title { font-family:var(--font-d); font-size:0.78rem; font-weight:600; letter-spacing:0.1em; text-transform:uppercase; color:var(--muted); margin-bottom:16px; }
    .footer-links { display:flex; flex-direction:column; gap:10px; }
    .footer-link { font-size:0.85rem; color:var(--muted); transition:color var(--t); }
    .footer-link:hover { color:var(--white); }
    .footer-bottom { display:flex; align-items:center; justify-content:space-between; padding-top:32px; border-top:1px solid var(--border); font-size:0.78rem; color:var(--muted); flex-wrap:wrap; gap:12px; }
    .footer-legal { display:flex; gap:20px; flex-wrap:wrap; }
    .footer-legal a { color:var(--muted); transition:color var(--t); }
    .footer-legal a:hover { color:var(--white); }

    @media(max-width:768px) {
      .footer-inner { grid-template-columns:1fr 1fr; }
      .breadcrumb { padding-top:90px; }
    }
    @media(max-width:480px) {
      .container { padding:0 18px; }
      .footer-inner { grid-template-columns:1fr; gap:28px; }
      .footer-bottom { flex-direction:column; align-items:flex-start; }
      .cta-box { padding:32px 22px; }
    }

/* ═══════════════════════════════════════════════════════════
   PLATAFORMA — Estilos comunes (sidebar, topbar, login, toast)
   Compartido por 7 páginas de /plataforma/
   ═══════════════════════════════════════════════════════════ */

/* ── Animaciones ──────────────────────────────── */
@keyframes float-slow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(3%, 3%) scale(1.04); }
}

/* ── Fondo animado (login / registro) ─────────── */
.bg-layer {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
}
.bg-layer::before {
  content: ''; position: absolute; top: -20%; left: -15%;
  width: 70vw; height: 70vw; max-width: 800px; max-height: 800px;
  background: radial-gradient(circle, rgba(21,101,255,0.1) 0%, transparent 70%);
  border-radius: 50%; animation: float-slow 18s ease-in-out infinite;
}
.bg-layer::after {
  content: ''; position: absolute; bottom: -10%; right: -10%;
  width: 50vw; height: 50vw; max-width: 600px; max-height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  border-radius: 50%; animation: float-slow 24s ease-in-out infinite reverse;
}

/* ── SIDEBAR (temario, perfil, tests, tema individual) ── */
.sidebar {
  width: 260px; flex-shrink: 0; background: var(--bg-sidebar);
  border-right: 1px solid var(--border); display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 100; overflow-y: auto;
}
.sidebar-logo { padding: 28px 24px 20px; border-bottom: 1px solid var(--border); }
.sidebar-user { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.user-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #A78BFA);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-d); font-size: 0.95rem; font-weight: 700; color: #fff;
  flex-shrink: 0; position: relative;
}
.user-avatar::after {
  content: ''; position: absolute; bottom: 0; right: 0;
  width: 10px; height: 10px; background: var(--green); border-radius: 50%;
  border: 2px solid var(--bg-sidebar);
}
.user-meta { overflow: hidden; }
.user-name { font-family: var(--font-d); font-size: 0.88rem; font-weight: 600; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-plan { font-size: 0.72rem; color: var(--gold); font-weight: 500; display: flex; align-items: center; gap: 4px; }
.user-plan::before { content: '★'; font-size: 0.65rem; }
.sidebar-nav { padding: 16px 12px; flex: 1; }
.nav-section-label {
  font-family: var(--font-d); font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  padding: 8px 12px 6px; margin-top: 8px;
}
.nav-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: var(--r-sm); font-family: var(--font-d);
  font-size: 0.87rem; font-weight: 500; color: var(--muted);
  cursor: pointer; transition: var(--t); text-decoration: none; position: relative;
}
.nav-item:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.nav-item.active { color: var(--white); background: rgba(21,101,255,0.12); border: 1px solid rgba(21,101,255,0.2); }
.nav-item.active .nav-icon { color: var(--blue-light); }
.nav-icon { font-size: 1rem; width: 18px; text-align: center; flex-shrink: 0; }
.nav-badge { margin-left: auto; background: var(--blue); color: #fff; font-size: 0.65rem; font-weight: 700; padding: 2px 7px; border-radius: 100px; }
.sidebar-footer { padding: 16px 12px; border-top: 1px solid var(--border); }
.sidebar-footer .nav-item { color: var(--muted); }

/* ── MAIN CONTENT ────────────────────────────── */
.main-content { margin-left: 260px; flex: 1; min-width: 0; display: flex; flex-direction: column; }

/* ── TOPBAR ──────────────────────────────────── */
.topbar {
  height: 64px; background: rgba(5,11,24,0.85); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); display: flex; align-items: center;
  padding: 0 32px; gap: 16px; position: sticky; top: 0; z-index: 50;
}
.topbar-title { font-family: var(--font-d); font-size: 1rem; font-weight: 600; color: var(--white); flex: 1; }
.topbar-title span { color: var(--muted); font-weight: 400; font-size: 0.85rem; margin-left: 8px; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }

/* ── PAGE BODY ───────────────────────────────── */
.page-body { padding: 32px; display: flex; flex-direction: column; gap: 24px; }

/* ── TOAST (login / registro) ────────────────── */
.toast {
  position: fixed; top: 24px; right: 24px; z-index: 9999;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 14px 20px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow);
  transform: translateX(calc(100% + 32px));
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  max-width: 380px;
}
.toast.show { transform: translateX(0); }
.toast-icon { font-size: 1.1rem; flex-shrink: 0; }
.toast-msg { font-size: 0.83rem; color: var(--white); flex: 1; }
.toast-close { cursor: pointer; color: var(--muted); font-size: 1rem; flex-shrink: 0; background: none; border: none; padding: 2px; }
.toast-close:hover { color: var(--white); }

/* ── LOGO TEXT (plataforma) ──────────────────── */
.logo-text { font-family: var(--font-d); font-size: 1.35rem; font-weight: 700; color: var(--white); letter-spacing: -0.02em; }
.logo-text span { color: var(--blue-light); }

/* ── RESPONSIVE plataforma ───────────────────── */
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .main-content { margin-left: 0; }
  .page-body { padding: 20px 16px; }
}

