
    /* ═══════════════════════════════════════════════
       DESIGN TOKENS
    ═══════════════════════════════════════════════ */
    :root {
      --c-bg:       #F8FAFC;
      --c-panel:    #ffffff;
      --c-dark:     #1a1a2e;

      --c-mid:      #4a4a6a;
      --c-muted:    #8888aa;
      --c-border:   rgba(75,0,130,.09);
      --c-accent:   #4B0082;
      --c-blue:     #4169E1;
      --c-cyan:     #00BFFF;
      --c-lavender: #CCCCFF;
      --grad-main:  linear-gradient(135deg,#4B0082 0%,#4169E1 55%,#00BFFF 100%);
      --grad-text:  linear-gradient(90deg,#4B0082,#4169E1,#00BFFF);
    }

    *,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
    html { scroll-behavior:smooth; }
    body {
      background: var(--c-bg);
      color: var(--c-dark);
      font-family: "Manrope","Inter",sans-serif;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }
    a  { text-decoration:none; color:inherit; }
    img, svg { display:block; max-width:100%; }

    /* Active nav */
    .navbar__link--active { color:var(--primary-dark)!important; font-weight:700; }
    .navbar__link--active::after { left:.8rem!important; right:.8rem!important; }

    /* ═══════════════════════════════════════════════
       LAYOUT: SPLIT SCROLL & PROGRESS
    ═══════════════════════════════════════════════ */
    .page-wrapper { position: relative; }
    .page-wrapper::before {
      content: "";
      position: fixed;
      top: 0; right: 0;
      width: 50%; height: 100vh;
      background: var(--c-panel);
      border-left: 1px solid var(--c-border);
      z-index: -1;
      pointer-events: none;
    }

    .desktop-progress {
      position: fixed;
      top: 0; left: 50%;
      width: 3px; height: 0%;
      background: var(--grad-main);
      z-index: 20;
      pointer-events: none;
    }

    .split-section {
      display: flex;
      flex-wrap: wrap;
      min-height: 80vh;
      position: relative;
    }
    
    .split-left {
      width: 50%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-end;
      padding: 4rem 3.5rem 4rem 10vw;
    }
    
    .left-content-inner {
      width: 100%;
      max-width: 480px;
    }

    .split-right {
      width: 50%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      padding: 4rem 10vw 4rem 3.5rem;
    }

    .sticky-card {
      width: 100%;
      max-width: 440px;
    }

    /* TYPOGRAPHY */
    header.page-header {
      min-height: 75vh;
      display: flex; align-items: center;
      padding-left: 10vw; padding-top: calc(var(--navbar-h,72px) + 2rem);
    }
    .header-eyebrow {
      font-size: .7rem; font-weight: 700;
      letter-spacing: .18em; text-transform: uppercase;
      color: var(--c-cyan); margin-bottom: 1.25rem;
    }
    .title-large {
      display: block;
      font-size: clamp(2.8rem, 5vw, 5rem);
      font-weight: 800; letter-spacing: -.035em; line-height: 1.05;
      margin-top: .5rem;
      background: var(--grad-text);
      -webkit-background-clip: text; background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .header-sub {
      margin-top: 1.5rem; font-size: 1rem; font-weight: 400;
      color: var(--c-mid); max-width: 400px; line-height: 1.7;
    }

    .section-badge {
      display: inline-block; font-size: .65rem; font-weight: 700;
      letter-spacing: .13em; text-transform: uppercase;
      color: var(--c-blue); background: rgba(65,105,225,.09);
      border: 1px solid rgba(65,105,225,.2);
      padding: .3rem .8rem; border-radius: 999px;
      margin-bottom: 1.5rem; width: fit-content;
    }
    .focus-text {
      font-size: clamp(1.9rem, 3.5vw, 3rem);
      font-weight: 800; line-height: 1.15;
      letter-spacing: -.025em; color: var(--c-dark);
      margin-bottom: 1rem;
    }
    .focus-hint {
      font-size: .9rem; color: var(--c-muted); opacity: .8;
      display: flex; align-items: center; gap: .5rem; font-weight: 500;
    }
    .taller-meta {
      font-size: .9rem; font-weight: 600;
      color: var(--c-blue); margin-bottom: .9rem; line-height: 1.5;
    }
    .taller-desc {
      font-size: 1rem; font-weight: 400;
      color: var(--c-mid); line-height: 1.7;
    }
    .ic__cta {
      margin-top: 1.6rem;
      width: 100%;
      justify-content: center;
      text-align: center;
    }
    /* ── Comparador de talleres (reutiliza .program-card de styles.css) ── */
    .talleres-compare {
      padding-top: calc(var(--navbar-h, 72px) + 4rem);
      padding-bottom: 4rem;
    }
    .compare-eyebrow {
      display: inline-block; font-size: .7rem; font-weight: 700;
      letter-spacing: .15em; text-transform: uppercase; color: var(--c-blue);
      background: rgba(65,105,225,.09); border: 1px solid rgba(65,105,225,.2);
      padding: .4rem 1rem; border-radius: 999px; margin-bottom: 1rem;
    }
    .split-section[id^="taller-"] { scroll-margin-top: calc(var(--navbar-h, 72px) + 1rem); }

    /* ── Cómo trabajamos (sección unificada, fondo oscuro para diferenciar de los talleres) ── */
    .method {
      position: relative;
      z-index: 21;
      padding: 6rem 1.5rem;
      background: linear-gradient(160deg, #0a1228 0%, #0f1838 55%, #1a1040 100%);
      overflow: hidden;
    }
    .method__container { max-width: 1120px; margin: 0 auto; position: relative; z-index: 1; }
    .method__header { text-align: center; max-width: 660px; margin: 0 auto 4rem; }
    .method__badge {
      display: inline-block; font-size: .7rem; font-weight: 700;
      letter-spacing: .15em; text-transform: uppercase; color: #9db4ff;
      background: rgba(120,150,255,.12); border: 1px solid rgba(120,150,255,.25);
      padding: .4rem 1rem; border-radius: 999px; margin-bottom: 1.2rem;
    }
    .method__title {
      font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 800;
      line-height: 1.2; letter-spacing: -.02em; color: #fff; margin-bottom: 1rem;
    }
    .method__sub { font-size: 1.05rem; line-height: 1.65; color: rgba(255,255,255,.7); margin: 0; }
    
    .method__steps {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 2rem;
      position: relative;
    }
    .method__step {
      position: relative;
      padding-top: 1.8rem;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      transition: border-color 0.3s ease;
    }
    .method__step:hover {
      border-top-color: var(--c-cyan);
    }
    .method__num {
      font-size: clamp(2.5rem, 4vw, 3.5rem);
      font-weight: 800;
      line-height: 1;
      margin-bottom: 1.2rem;
      background: var(--grad-text);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      opacity: 0.75;
      transition: opacity 0.3s ease;
    }
    .method__step:hover .method__num {
      opacity: 1;
    }
    .method__step-title {
      font-size: 1.15rem;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 0.6rem;
      letter-spacing: -0.01em;
    }
    .method__step-text {
      font-size: 0.92rem;
      line-height: 1.6;
      color: rgba(255, 255, 255, 0.65);
    }
    @media (max-width: 1024px) {
      .method__steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.2rem;
      }
    }
    @media (max-width: 768px) {
      .method__steps {
        grid-template-columns: 1fr;
        gap: 2.5rem;
      }
      .method__step {
        padding-top: 1.2rem;
      }
      .method__num {
        margin-bottom: 0.6rem;
      }
    }

    /* ── Financiamiento SENCE / OTEC (clean 2-column layout) ── */
    .sence {
      position: relative;
      z-index: 21;
      padding: 6.5rem 1.5rem;
      background: var(--c-bg);
      border-top: 1px solid var(--c-border);
    }
    .sence__container {
      max-width: 1120px;
      margin: 0 auto;
    }
    .sence__grid {
      display: grid;
      grid-template-columns: 1fr 1.1fr;
      gap: 4.5rem;
      align-items: start;
    }
    .sence__badge {
      display: inline-block;
      font-size: .7rem;
      font-weight: 700;
      letter-spacing: .13em;
      text-transform: uppercase;
      color: var(--c-blue);
      background: rgba(65, 105, 225, .1);
      border: 1px solid rgba(65, 105, 225, .2);
      padding: .3rem .85rem;
      border-radius: 999px;
      margin-bottom: 1.2rem;
      width: fit-content;
    }
    .sence__title {
      font-size: clamp(2rem, 3.5vw, 2.75rem);
      font-weight: 800;
      color: var(--c-dark);
      line-height: 1.15;
      margin-bottom: 1.2rem;
      letter-spacing: -.02em;
    }
    .sence__subtitle {
      font-size: 1.1rem;
      line-height: 1.65;
      color: var(--c-mid);
      opacity: 0.85;
      max-width: 440px;
    }
    .sence__text {
      font-size: 1.05rem;
      line-height: 1.75;
      color: var(--c-mid);
      margin-bottom: 1.8rem;
    }
    .sence__list {
      list-style: none;
      padding: 0;
      margin: 0 0 2.2rem 0;
      display: flex;
      flex-direction: column;
      gap: 0.95rem;
    }
    .sence__list li {
      display: flex;
      align-items: flex-start;
      gap: 0.8rem;
      font-size: 0.98rem;
      color: var(--c-dark);
      font-weight: 500;
      line-height: 1.45;
    }
    .sence__check {
      width: 18px;
      height: 18px;
      color: var(--c-blue);
      flex-shrink: 0;
      margin-top: 3px;
    }
    .sence__cta {
      display: inline-flex;
    }
    @media (max-width: 900px) {
      .sence__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
      }
      .sence__subtitle {
        max-width: 100%;
      }
    }

    /* ── FAQ desplegable (abre al hover en desktop, al tocar en móvil) ── */
    .faq-grid { display: flex; flex-direction: column; gap: 1rem; }
    .faq-item {
      background: #fff; border: 1px solid rgba(75,0,130,.06);
      border-radius: 16px; padding: 1.35rem 1.8rem;
      box-shadow: 0 10px 30px rgba(75,0,130,.02);
      cursor: pointer; outline: none;
      transition: border-color .3s ease, box-shadow .3s ease;
    }
    .faq-item:hover, .faq-item:focus-within {
      border-color: rgba(65,105,225,.28);
      box-shadow: 0 14px 38px rgba(75,0,130,.07);
    }
    .faq-q {
      display: flex; align-items: center; justify-content: space-between; gap: 1rem;
      font-size: 1.1rem; font-weight: 800; color: var(--c-dark); margin: 0; line-height: 1.35;
    }
    .faq-chevron { flex-shrink: 0; width: 20px; height: 20px; color: var(--c-blue); transition: transform .35s ease; }
    .faq-item:hover .faq-chevron, .faq-item:focus-within .faq-chevron { transform: rotate(180deg); }
    .faq-answer {
      max-height: 0; overflow: hidden; opacity: 0;
      transition: max-height .4s ease, opacity .35s ease, margin-top .4s ease;
    }
    .faq-item:hover .faq-answer, .faq-item:focus-within .faq-answer {
      max-height: 400px; opacity: 1; margin-top: .9rem;
    }
    .faq-a { color: var(--c-mid); font-size: .94rem; line-height: 1.65; margin: 0; }

    /* Reveal Animations base (JS controls visibility) */
    .reveal {
      opacity: 0;
      transform: translateY(52px) scale(0.97);
      filter: blur(6px);
      will-change: opacity, transform, filter;
    }
    .reveal.is-visible {
      animation: revealUp .95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @keyframes revealUp {
      0% {
        opacity: 0;
        transform: translateY(52px) scale(0.97);
        filter: blur(6px);
      }
      100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
      }
    }

    /* ═══════════════════════════════════════════════
       INFO CARD STYLING (The redesigned format)
    ═══════════════════════════════════════════════ */
    .ic {
      background: #ffffff;
      border-radius: 24px;
      border: 1px solid rgba(75, 0, 130, 0.06);
      box-shadow: 0 20px 40px rgba(75, 0, 130, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
      position: relative;
      display: flex;
      flex-direction: column;
      transition:
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s ease,
        border-color 0.4s ease;
    }
    @media (hover:hover) {
      .ic:hover {
        transform: translateY(-5px);
        box-shadow: 0 30px 60px rgba(75, 0, 130, 0.08), 0 2px 8px rgba(75, 0, 130, 0.02);
        border-color: rgba(65, 105, 225, 0.15);
      }
    }

    /* Card body */
    .ic__body { padding: 2.2rem; }

    /* Header row: icon + category + title */
    .ic__header {
      display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem;
    }
    .ic__icon-box {
      width: 48px; height: 48px; flex-shrink: 0;
      border-radius: 12px;
      background: linear-gradient(135deg, rgba(75,0,130,.06), rgba(0,191,255,.06));
      border: 1px solid rgba(75, 0, 130, 0.04);
      display: flex; align-items:center; justify-content:center;
    }
    .ic__icon-box svg { width:22px; height:22px; color:var(--c-blue); }
    
    .ic__header-text { flex:1; }
    .ic__category {
      display: block; font-size: .65rem; font-weight:700;
      letter-spacing: .13em; text-transform:uppercase;
      color: var(--c-blue); margin-bottom:.3rem;
    }
    .ic__title {
      font-size: 1.25rem; font-weight:800; line-height: 1.2;
      color:var(--c-dark); letter-spacing: -.02em;
    }

    /* Feature rows — Grid layout for perfect text flow */
    .ic__rows { display:flex; flex-direction:column; gap:.8rem; }

    .ic__row {
      display: grid;
      grid-template-columns: 20px 1fr;
      gap: 0.85rem; align-items: start;
    }
    .ic__checkmark-box {
      width: 20px; height: 20px; border-radius: 50%;
      background: rgba(65, 105, 225, 0.1); display: flex; align-items:center; justify-content:center;
      color: var(--c-blue); flex-shrink:0; margin-top:.2em;
    }
    .ic__checkmark-box svg { width:10px; height:10px; stroke-width:3.5px; }

    .ic__row-text {
      font-size: .9rem; line-height: 1.55; color: var(--c-mid); font-weight: 400;
    }
    .ic__row-label {
      font-weight:700;
      color: var(--c-dark);
    }

    /* Divider */
    .ic__div {
      border:none; border-top:1px solid rgba(75,0,130,.06);
      margin: 1.5rem 0;
    }

    /* Stats row */
    .ic__stats {
      display: grid; grid-template-columns:repeat(3,1fr);
      gap:.65rem; text-align:center;
    }
    .ic__stat-box {
      background: #F8FAFC;
      border: 1px solid rgba(75, 0, 130, 0.04);
      border-radius: 12px;
      padding: 0.75rem 0.5rem;
    }
    .ic__stat-val {
      font-size: 1.4rem; font-weight:800; letter-spacing: -.02em;
      color: var(--c-blue); display:block;
    }
    .ic__stat-label {
      font-size: .6rem; font-weight:700; color: var(--c-muted);
      text-transform:uppercase; letter-spacing:.05em; margin-top:.25rem; display:block;
    }

    /* Tags */
    .ic__tags { display:flex; flex-wrap:wrap; gap:.4rem; margin-top:1.25rem; }
    .ic__tag {
      font-size:.65rem; font-weight:700; letter-spacing:.07em; text-transform:uppercase;
      padding:.25rem .7rem; border-radius:999px; border:1px solid;
    }
    .ic__tag--purple { color:var(--c-accent); background:rgba(75,0,130,.04); border-color:rgba(75,0,130,.12); }
    .ic__tag--blue   { color:var(--c-blue);   background:rgba(65,105,225,.04); border-color:rgba(65,105,225,.12); }
    .ic__tag--cyan   { color:#007fa3;          background:rgba(0,191,255,.04); border-color:rgba(0,191,255,.15); }

    /* Profile pill list (s6) */
    .ic__profiles-title {
      font-size: .75rem;
      font-weight: 800;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--c-blue);
      margin: 1.5rem 0 .75rem;
    }
    .ic__profiles { display: flex; flex-direction:column; gap:.6rem; }
    .ic__profile {
      background: #F8FAFC; border: 1px solid rgba(75,0,130,.04);
      border-radius: 12px; padding: 0.75rem 1rem;
      display: flex; flex-direction: column; gap: 0.15rem;
    }
    .ic__profile-name { font-size: .85rem; font-weight:700; color:var(--c-dark); }
    .ic__profile-note { font-size: .75rem; color:var(--c-muted); font-weight:500; }

      /* ═══════════════════════════════════════════════
         CODE ANIMATION BLOCK (S1)
      ═══════════════════════════════════════════════ */
      .code-anim-container {
        position: relative; width: 100%; max-width: 580px;
        padding: 2.2rem 2.5rem; background: #0f0f16;
        border: 1px solid rgba(255,255,255,0.08); border-radius: 14px;
        will-change: height; margin-top: 1.5rem;
        font-family: "Menlo", "Consolas", monospace; font-size: .9rem;
        line-height: 1.7; box-shadow: 0 24px 48px rgba(75,0,130,0.22);
        max-height: 380px;
        overflow: hidden;
        transition:
          transform .45s cubic-bezier(0.16, 1, 0.3, 1),
          box-shadow .45s ease,
          border-color .35s ease;
      }
      .code-anim-container::before {
        content: "";
        position: absolute;
        inset: -1px;
        background:
          radial-gradient(circle at top right, rgba(0,191,255,.16), transparent 38%),
          radial-gradient(circle at bottom left, rgba(65,105,225,.18), transparent 42%);
        pointer-events: none;
        opacity: .95;
      }
      @media (hover:hover) {
        .code-anim-container:hover {
          transform: translateY(-6px);
          border-color: rgba(0,191,255,0.18);
          box-shadow: 0 32px 64px rgba(75,0,130,0.28);
        }
      }
      .code-anim-container pre,
      .code-anim-container code {
        position: relative;
        z-index: 1;
      }
      .syntax-fn   { color: #00BFFF; }
      .syntax-str  { color: #CCCCFF; }
      .syntax-var  { color: #e5e5e5; }
      .syntax-kw   { color: #4169E1; font-weight: bold; }
      .syntax-op   { color: #6b6b8e; }
  
      .code-anim-container .waapi,
      .code-anim-container.show-animejs .animejs { position: relative; top: 0; left: 0; }
      
      .code-anim-container .animejs,
      .code-anim-container.show-animejs .waapi { position: absolute; top: 1.5rem; left: 1.75rem; }
      
      .code-anim-container .waapi span,
      .code-anim-container.show-animejs .animejs span { display: inline-block; }
      
      .code-anim-container .animejs span,
      .code-anim-container.show-animejs .waapi span { display: none; }

    /* ═══════════════════════════════════════════════
       CLOSING CTA SECTION
    ═══════════════════════════════════════════════ */
    .closing-section {
      min-height: 55vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
      padding: 6rem 1.5rem; text-align: center;
      border-top: 1px solid var(--c-border);
      background: var(--c-bg);
      position: relative; z-index: 30; 
    }
    .closer { max-width: 600px; display: flex; flex-direction: column; align-items: center; }
    .closer strong {
      display: block; font-size: clamp(1.8rem, 3.5vw, 2.8rem);
      font-weight: 800; letter-spacing: -.02em; margin-bottom: 1.2rem;
      background: var(--grad-text);
      -webkit-background-clip: text; background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .closer-sub {
      font-size: 1.05rem; font-weight: 400; color: var(--c-mid);
      margin: 0 auto 2rem auto; max-width: 480px; line-height: 1.7;
    }
    .cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
    
    .btn--white-outline {
      background: transparent; color: #4B0082;
      border: 2px solid #4B0082; font-weight: 700;
    }
    .btn--white-outline:hover {
      background: #4B0082; color: #fff; transform: translateY(-2px);
    }

    /* ═══════════════════════════════════════════════
       RESPONSIVE (Mobile view adjustments)
    ═══════════════════════════════════════════════ */
    @media (max-width: 900px) {
      .page-wrapper::before { display: none; }
      .desktop-progress { display: none; }
      
      .split-left, .split-right { width: 100%; min-height: auto; }
      .split-left { padding: 3rem 1.5rem 0.75rem 1.5rem; align-items: flex-start; }
      .split-right { padding: 0 1.5rem 3rem 1.5rem; align-items: flex-start; }
      
      .sticky-card { position: relative; top: 0; max-width: 100%; }
      header.page-header { padding-left: 1.5rem; padding-right: 1.5rem; min-height: auto; padding-top: calc(var(--navbar-h,72px) + 3rem); padding-bottom: 3rem; }
      
      .closing-section { padding-left: 1.5rem; padding-right: 1.5rem; }
      .cta-buttons { flex-direction: column; }
      .cta-buttons .btn { justify-content: center; }
      
      .split-header { flex-direction: column !important; padding-right: 1.5rem !important; }
      .split-header .header-text-col, .split-header .header-anim-col { width: 100% !important; padding: 0 !important; }
      .header-anim-col { margin-top: 3rem; display: flex; justify-content: center; }

      .code-anim-container {
        padding: 1.2rem 1rem;
        font-size: clamp(0.65rem, 2.7vw, 0.85rem);
        max-height: 320px;
      }
      .code-anim-container .animejs,
      .code-anim-container.show-animejs .waapi {
        top: 1.2rem;
        left: 1rem;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .reveal,
      .reveal.is-visible {
        opacity: 1;
        transform: none;
        filter: none;
        animation: none;
      }
      .ic,
      .code-anim-container,
      .btn--white-outline {
        transition: none;
      }
      .ic__strip {
        animation: none;
      }
      .ic:hover,
      .code-anim-container:hover,
      .btn--white-outline:hover {
        transform: none;
      }
    }
  