  /* ═══ CSS base compartida con la landing (tokens, nav, botones, tarjetas, footer, reveal) ═══ */
  
  /* ─── Tokens ──────────────────────────────────────────── */
  :root{
    --brand-deep:    #102C43;   /* Azul profundo — base institucional */
    --brand-turq:    #00A9A9;   /* Turquesa técnico */
    --brand-blue:    #5264AC;   /* Azul secundario */
    --ink-0:         #04101B;   /* casi-negro, fondo página */
    --ink-1:         #07182A;
    --ink-2:         #0B2238;
    --ink-3:         #0F2A42;
    --line:          rgba(180, 210, 235, 0.10);
    --line-strong:   rgba(180, 210, 235, 0.18);
    --text:          #E8EEF4;
    --text-soft:     #B7C4D2;
    --text-mute:     #7C8A9B;
    --accent:        var(--brand-turq);

    --display: 'Sora', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    --body:    'Sora', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    --serif:   'Fraunces', 'Times New Roman', serif;

    --maxw: 1280px;
    --pad: clamp(20px, 4vw, 56px);
    --r-sm: 6px;
    --r-md: 14px;
    --r-lg: 22px;
    --shadow-1: 0 1px 0 0 rgba(255,255,255,.04) inset, 0 30px 60px -30px rgba(0,0,0,.5);
    --shadow-2: 0 1px 0 0 rgba(255,255,255,.06) inset, 0 40px 80px -20px rgba(0,0,0,.6);
  }

  /* ─── Reset ───────────────────────────────────────────── */
  *,*::before,*::after{ box-sizing: border-box; }
  html{ scroll-behavior: smooth; -webkit-text-size-adjust:100%; }
  body{
    margin:0;
    font-family: var(--body);
    background: var(--ink-0);
    color: var(--text);
    line-height: 1.55;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.005em;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }
  img{ max-width:100%; display:block; }
  a{ color: inherit; text-decoration: none; }
  button{ font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
  ::selection{ background: var(--brand-turq); color: var(--ink-0); }

  /* Atmospheric base — 3 stacked layers driven by scroll position */
  .bg-layer{
    position: fixed; inset: 0;
    z-index: -3;
    pointer-events: none;
    will-change: opacity;
    transition: opacity .8s cubic-bezier(.4,.0,.2,1);
  }
  .bg-deep{
    background:
      radial-gradient(1200px 700px at 80% -10%, rgba(0,169,169,.10), transparent 60%),
      radial-gradient(900px 600px at -10% 30%, rgba(82,100,172,.08), transparent 60%),
      radial-gradient(1000px 800px at 50% 120%, rgba(16,44,67,.7), transparent 70%),
      linear-gradient(180deg, #04101B 0%, #06151F 40%, #04101B 100%);
    opacity: 1;
  }
  .bg-turq{
    background:
      radial-gradient(1400px 900px at 30% 30%, rgba(0,169,169,.42), transparent 60%),
      radial-gradient(1100px 800px at 80% 60%, rgba(0,169,169,.22), transparent 65%),
      radial-gradient(900px 600px at 50% 110%, rgba(0,140,140,.35), transparent 70%),
      linear-gradient(180deg, #04181C 0%, #052329 50%, #03161B 100%);
    opacity: 0;
  }
  .bg-blue{
    background:
      radial-gradient(1300px 900px at 70% 20%, rgba(82,100,172,.42), transparent 60%),
      radial-gradient(1100px 700px at 20% 70%, rgba(60,80,150,.30), transparent 65%),
      radial-gradient(1000px 800px at 50% 110%, rgba(40,60,140,.35), transparent 70%),
      linear-gradient(180deg, #0B1432 0%, #0F1838 50%, #070C24 100%);
    opacity: 0;
  }
  /* Grain */
  body::after{
    content:"";
    position: fixed; inset:0;
    background-image:
      url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    opacity:.5; mix-blend-mode: overlay;
    pointer-events:none; z-index:-1;
  }

  /* ─── Layout helpers ──────────────────────────────────── */
  .wrap{ max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
  .eyebrow{
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 11px; font-weight: 500;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--brand-turq);
    font-family: var(--display);
  }
  .eyebrow::before{
    content:""; width: 28px; height: 1px; background: var(--brand-turq);
    display:inline-block;
  }
  .eyebrow.no-line::before{ display:none; }

  h1,h2,h3,h4{
    font-family: var(--display);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.06;
    margin: 0;
    text-wrap: balance;
  }
  h2{ font-size: clamp(32px, 4.4vw, 56px); font-weight: 500; letter-spacing: -0.028em; }
  h3{ font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; }
  p{ margin:0; }

  .lede{
    font-size: clamp(16px, 1.2vw, 18px);
    color: var(--text-soft);
    max-width: 60ch;
    line-height: 1.65;
  }

  /* SITE-NAV-CSS:START */
  /* ─── Navigation ──────────────────────────────────────── */
  .nav{
    position: fixed; top:0; left:0; right:0; z-index: 50;
    transition: backdrop-filter .3s, background .3s, border-color .3s;
    border-bottom: 1px solid var(--line);
    background: rgba(4,16,27,.7);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
  }
  .nav.scrolled{
    background: rgba(4,16,27,.88);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
  }
  .nav-inner{
    display:flex; align-items:center; justify-content: space-between;
    height: 72px;
  }
  .brand{
    display:flex; align-items:center; gap: 12px;
    font-family: var(--display);
    font-weight: 600;
    letter-spacing: 0.08em;
    font-size: 14px;
  }
  .brand-mark{
    width: 34px; height: 34px;
    display:grid; place-items:center;
  }
  .brand-mark img{ width: 100%; height: 100%; object-fit: contain; display:block; }
  .nav-right{
    display:flex; align-items:center; gap: 28px;
  }
  .nav-links{
    display:flex; gap: 36px;
    font-size: 13.5px; color: var(--text);
    font-weight: 600;
  }
  .nav-links a{
    position: relative;
    white-space: nowrap;
    transition: color .2s;
  }
  .nav-links a:hover{ color: var(--text); }
  .nav-links a::after{
    content:""; position: absolute; left:0; right:0; bottom:-6px;
    height: 1px; background: var(--brand-turq);
    transform: scaleX(0); transform-origin: left;
    transition: transform .35s cubic-bezier(.2,.7,.2,1);
  }
  .nav-links a:hover::after{ transform: scaleX(1); }
  .nav-lang{
    font-size: 11px; letter-spacing: 0.14em;
    padding: 4px 9px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--brand-turq) !important;
  }
  .nav-lang::after{ display:none; }
  .nav-lang:hover{ border-color: var(--brand-turq); }

  .nav-cta{
    display:inline-flex; align-items:center; gap: 8px;
    padding: 10px 18px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 13px;
    transition: all .25s;
  }
  .nav-cta:hover{ border-color: var(--brand-turq); color: var(--brand-turq); }
  .nav-cta::after{ content:"→"; transition: transform .25s; }
  .nav-cta:hover::after{ transform: translateX(3px); }
  @media (max-width: 1111px) and (min-width: 861px){
    .nav-links{ gap: 18px; }
    .nav-cta{ padding: 8px 14px; font-size: 12px; }
  }
  @media (max-width: 860px){
    .nav-links{ display:none; }
    .nav-cta{ display:none; }
  }

  /* ── Hamburger ── */
  .nav-burger{
    display: none;
    flex-direction: column;
    justify-content: center; align-items: center;
    gap: 5px;
    width: 36px; height: 36px;
    border-radius: 8px;
    transition: background .2s;
    flex-shrink: 0;
  }
  .nav-burger:hover{ background: rgba(255,255,255,.06); }
  .nav-burger span{
    display: block;
    width: 20px; height: 1.5px;
    background: var(--text);
    border-radius: 999px;
    transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .25s;
  }
  .nav-burger.is-open span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
  .nav-burger.is-open span:nth-child(2){ opacity: 0; transform: scaleX(0); }
  .nav-burger.is-open span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }
  @media (max-width: 860px){ .nav-burger{ display: flex; } }

  /* ── Mobile menu ── */
  .nav-mobile{
    display: none;
    background: rgba(4,16,27,.97);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border-top: 1px solid var(--line);
    overflow: hidden;
    max-height: 0;
    transition: max-height .4s cubic-bezier(.4,0,.2,1);
  }
  @media (max-width: 860px){ .nav-mobile{ display: block; } }
  .nav-mobile.is-open{ max-height: 520px; }
  .nav-mobile-inner{
    display: flex; flex-direction: column;
    padding: 8px var(--pad) 28px;
  }
  .nav-mobile-inner a{
    display: block;
    padding: 15px 0;
    font-size: 15px; font-family: var(--display);
    color: var(--text-soft);
    border-bottom: 1px solid var(--line);
    transition: color .2s, padding-left .25s;
  }
  .nav-mobile-inner a:hover{ color: var(--text); padding-left: 6px; }
  .nav-mobile-cta{
    margin-top: 20px;
    padding: 13px 24px !important;
    border: 1px solid var(--line-strong) !important;
    border-bottom: 1px solid var(--line-strong) !important;
    border-radius: 999px !important;
    text-align: center;
    color: var(--text) !important;
    transition: border-color .25s, color .25s !important;
  }
  .nav-mobile-cta:hover{ border-color: var(--brand-turq) !important; color: var(--brand-turq) !important; padding-left: 0 !important; }
  /* SITE-NAV-CSS:END */

  /* ─── Hero ────────────────────────────────────────────── */
  .hero{
    position: relative;
    min-height: 100vh;
    padding-top: 110px;
    padding-bottom: 80px;
    overflow: visible;
    display:flex; flex-direction:column; justify-content: center;
  }
  /* El canvas y la grid se recortan a sí mismos, no al hero completo */
  .hero-canvas, .hero-grid-overlay{
    overflow: hidden;
  }
  .hero-canvas{
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    z-index: 0; opacity: .9;
    mask-image: radial-gradient(closest-side at 60% 50%, black 30%, transparent 90%);
    -webkit-mask-image: radial-gradient(closest-side at 60% 50%, black 30%, transparent 90%);
  }
  .hero-grid-overlay{
    position: absolute; inset: 0; z-index: 0; pointer-events:none;
    background-image:
      linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
    opacity:.5;
  }

  .hero-content{
    position: relative; z-index: 2;
    display:grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .9fr);
    gap: clamp(40px, 6vw, 100px);
    align-items: center;
  }
  @media (max-width: 1020px){
    .hero-content{ grid-template-columns: 1fr; gap: 48px; }
  }

  .hero-meta{
    display: flex; align-items: center; gap: 16px;
    font-size: 11.5px; color: var(--text-mute);
    letter-spacing: 0.22em; text-transform: uppercase;
    font-family: var(--display);
    margin-bottom: 36px;
  }
  .hero-meta-divider{ width: 1px; height: 12px; background: var(--line-strong); }
  .hero-meta .dot{
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--brand-turq);
    box-shadow: 0 0 0 4px rgba(0,169,169,.15), 0 0 24px var(--brand-turq);
    animation: pulse 2.4s ease-in-out infinite;
  }
  @keyframes pulse{
    0%,100%{ box-shadow: 0 0 0 4px rgba(0,169,169,.15), 0 0 24px rgba(0,169,169,.5); }
    50%{ box-shadow: 0 0 0 7px rgba(0,169,169,.07), 0 0 32px rgba(0,169,169,.8); }
  }

  h1.hero-title{
    font-size: clamp(64px, 10vw, 156px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.05em;
    margin-bottom: 28px;
    padding: 0.05em 0 0.05em;
    overflow: visible;
    white-space: nowrap;
    width: max-content;
    max-width: none;
    background: linear-gradient(180deg, #FFFFFF 0%, #C6D4E2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  h1.hero-title .accent{
    background: linear-gradient(180deg, var(--brand-turq) 0%, #4DD4D4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .hero-logo-svg{
    height: clamp(64px, 10vw, 156px);
    width: auto;
    display: block;
    margin-bottom: 28px;
  }
  .hero-sub{
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(20px, 2.2vw, 28px);
    color: var(--text-soft);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
    line-height: 1.25;
    max-width: 26ch;
  }
  .hero-text{
    max-width: 52ch;
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--text-soft);
    margin-bottom: 40px;
  }
  .hero-actions{
    display: flex; gap: 14px; flex-wrap: wrap;
    margin-bottom: 48px;
  }

  .btn{
    display:inline-flex; align-items:center; gap: 10px;
    padding: 14px 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.005em;
    font-family: var(--display);
    transition: all .28s cubic-bezier(.2,.7,.2,1);
    position: relative; overflow: hidden;
  }
  .btn-primary{
    background: var(--brand-turq);
    color: #03252A;
    box-shadow: 0 10px 30px -10px rgba(0,169,169,.5), 0 0 0 1px rgba(255,255,255,.05) inset;
  }
  .btn-primary:hover{ transform: translateY(-1px); box-shadow: 0 14px 36px -8px rgba(0,169,169,.65), 0 0 0 1px rgba(255,255,255,.1) inset; }
  .btn-primary::after{ content:"→"; transition: transform .25s; }
  .btn-primary:hover::after{ transform: translateX(4px); }
  .btn-ghost{
    color: var(--text);
    border: 1px solid var(--line-strong);
    background: rgba(255,255,255,.02);
  }
  .btn-ghost:hover{ border-color: rgba(180,210,235,.4); background: rgba(255,255,255,.04); }
  .btn-ghost::after{ content:"↗"; opacity:.6; transition: transform .25s, opacity .25s; }
  .btn-ghost:hover::after{ opacity:1; transform: translate(2px,-2px); }


  /* Hero right column: floating data plate */
  .hero-side{
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 520px;
    margin-left: auto;
  }
  @media (max-width: 1020px){
    .hero-side{ max-width: 100%; margin: 0 auto; aspect-ratio: 16/11; }
  }

  /* Scroll indicator */
  .hero-scroll{
    position: absolute;
    bottom: 36px; left: var(--pad);
    z-index: 3;
    font-size: 10.5px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--text-mute);
    font-family: var(--display);
    display:flex; align-items:center; gap: 14px;
  }
  .hero-scroll-line{
    width: 1px; height: 40px; background: linear-gradient(180deg, var(--brand-turq), transparent);
    position: relative; overflow: hidden;
  }
  .hero-scroll-line::after{
    content:""; position:absolute; top:0; left:0; width:100%; height: 12px;
    background: var(--brand-turq);
    animation: scroll-tick 2.4s ease-in-out infinite;
  }
  @keyframes scroll-tick{
    0%{ transform: translateY(-12px); opacity:0; }
    20%{ opacity:1; }
    80%{ opacity:1; }
    100%{ transform: translateY(40px); opacity:0; }
  }

  /* ─── Generic section ─────────────────────────────────── */
  section{ position: relative; padding: clamp(48px, 5vw, 88px) 0; }
  .sect-head{ display:grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 44px; align-items: start; }
  .sect-head .num{
    font-family: var(--display); font-weight: 500;
    font-size: 13px; letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text);
  }

  /* ─── Section 2: Qué es ───────────────────────────────── */
  .what{
    display:grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 0;
    align-items: start;
  }
  @media (max-width: 960px){ .what{ grid-template-columns: 1fr; } }
  .what-title{
    font-size: clamp(36px, 4.6vw, 64px);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.04;
  }
  .formacion-intro-title{
    font-size: clamp(22px, 2.5vw, 32px);
    line-height: 1.35;
  }
  .what-title em{
    font-style: normal;
    background: linear-gradient(120deg, var(--brand-turq), #5264AC);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .what-copy{
    display:flex; flex-direction: column; gap: 22px;
    color: var(--text-soft);
    font-size: 16px; line-height: 1.75;
  }
  .what-copy p:first-child{
    color: var(--text);
    font-size: 18px;
    font-weight: 400;
  }

  /* asymmetric visual block */
  .what-visual{
    margin-top: 80px;
    display:grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    align-items: stretch;
  }
  .what-visual > div{
    border: 1px solid var(--line);
    background: rgba(7,24,42,.4);
    border-radius: var(--r-md);
    padding: 28px;
    backdrop-filter: blur(6px);
  }
  .wv-1{ grid-column: 1 / 5; aspect-ratio: 1/1.1; display:flex; flex-direction: column; justify-content: space-between; min-width: 0; }
  .wv-2{ grid-column: 5 / 9; aspect-ratio: 1/1.1; min-width: 0; }
  .wv-3{ grid-column: 9 / 13; aspect-ratio: 1/1.1; display:flex; flex-direction: column; justify-content: space-between; min-width: 0; overflow-wrap: anywhere; }
  @media (max-width: 1080px){
    .what-visual{ grid-template-columns: 1fr 1fr; }
    .wv-1{ grid-column: 1 / 2; aspect-ratio: 1/1; }
    .wv-2{ grid-column: 2 / 3; aspect-ratio: 1/1; }
    .wv-3{ grid-column: 1 / -1; aspect-ratio: auto; min-height: 220px; }
  }
  @media (max-width: 720px){
    .what-visual{ grid-template-columns: 1fr; }
    .wv-1,.wv-2,.wv-3{ grid-column: 1 / -1; aspect-ratio: auto; min-height: 240px; }
  }
  .wv-big{ font-family: var(--display); font-weight: 200; font-size: clamp(48px, 6vw, 84px); letter-spacing: -0.04em; line-height:1; color: var(--text); }
  .wv-big sup{ font-size: .4em; color: var(--brand-turq); vertical-align: super; }
  .wv-label{ font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-mute); }

  /* ─── Section 3: Capacidades ──────────────────────────── */
  .caps{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
  }
  .cap{
    background: linear-gradient(180deg, rgba(11,34,56,.4), rgba(4,16,27,.6));
    padding: 36px 32px 40px;
    position: relative;
    transition: background .4s;
    min-height: 380px;
    display: flex; flex-direction: column;
  }
  .cap::before{
    content:""; position: absolute; inset:0;
    background: radial-gradient(400px 200px at 50% 0%, rgba(0,169,169,.12), transparent 70%);
    opacity: 0; transition: opacity .5s; pointer-events:none;
  }
  .cap:hover::before{ opacity: 1; }
  .cap:hover{ background: linear-gradient(180deg, rgba(15,42,66,.6), rgba(7,24,42,.7)); }
  .cap-icon{
    width: 56px; height: 56px;
    display:flex; align-items:center; justify-content:center;
    margin-bottom: 32px;
    color: var(--brand-turq);
    position: relative;
  }
  .cap-icon svg{ width: 36px; height: 36px; stroke: currentColor; fill: none; stroke-width: 1.4; }
  .cap-icon::before{
    content:""; position:absolute; inset:0; border-radius: 12px;
    background: linear-gradient(135deg, rgba(0,169,169,.12), rgba(82,100,172,.06));
    border: 1px solid rgba(0,169,169,.2);
  }
  .cap-num{
    position: absolute; top: 28px; right: 32px;
    font-family: var(--display); font-weight: 300;
    font-size: 11px; letter-spacing: 0.22em;
    color: var(--text-mute);
  }
  .cap h3{ font-size: 22px; font-weight: 600; margin-bottom: 14px; letter-spacing: -0.015em; }
  .cap-text{ color: var(--text-soft); font-size: 14.5px; line-height: 1.65; }

  /* ─── Section 4: Impacto ──────────────────────────────── */
  .impact{
    display:grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 80px;
    align-items: start;
  }
  @media (max-width: 960px){ .impact{ grid-template-columns: 1fr; gap: 48px; } }
  .impact-copy{ color: var(--text-soft); font-size: 16px; line-height: 1.75; display:flex; flex-direction:column; gap: 22px; }
  .impact-blocks{
    display:flex; flex-direction: column;
  }
  .impact-block{
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 32px;
    align-items: start;
    padding: 32px 0;
    position: relative;
    transition: padding-left .35s;
  }
  .impact-block::before{
    content:""; position: absolute; left:0; top:0; bottom:0; width: 0;
    background: linear-gradient(180deg, var(--brand-turq), transparent);
    transition: width .35s;
  }
  .impact-block:hover{ padding-left: 24px; }
  .impact-block:hover::before{ width: 2px; }
  .ib-num{
    font-family: var(--display); font-weight: 200;
    font-size: 56px; line-height:.9;
    color: transparent;
    -webkit-text-stroke: 1px var(--text-mute);
    letter-spacing: -0.02em;
  }
  .ib-body h3{ font-size: 22px; margin-bottom: 8px; font-weight: 600; }
  .ib-body p{ color: var(--text-soft); font-size: 14.5px; line-height: 1.6; max-width: 60ch; }
  .ib-glyph{ color: var(--brand-turq); opacity:.5; align-self: center; }
  .ib-glyph svg{ width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.5; }
  @media (max-width: 600px){
    .impact-block{ grid-template-columns: 60px 1fr; }
    .ib-glyph{ display:none; }
    .ib-num{ font-size: 40px; }
  }

  /* ─── Section 5: Red ──────────────────────────────────── */
  .net-shell{
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: linear-gradient(180deg, rgba(7,24,42,.55), rgba(4,16,27,.5));
    padding: clamp(36px, 5vw, 64px);
    position: relative;
    overflow: hidden;
  }
  .net-shell::before{
    content:""; position:absolute; inset: -1px;
    background: radial-gradient(600px 300px at 80% 0%, rgba(0,169,169,.10), transparent 70%);
    pointer-events:none;
  }
  .net-grid{
    display:grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
  }
  @media (max-width: 900px){ .net-grid{ grid-template-columns: 1fr; gap: 36px; } }
  .net-title{
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 24px;
  }
  .net-copy{
    color: var(--text-soft); font-size: 15.5px; line-height: 1.7;
    margin-bottom: 32px; max-width: 50ch;
  }
  .net-copy strong{ color: var(--text); font-weight: 500; }
  .net-viz{
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 460px;
    margin-left: auto;
    position: relative;
  }
  #orbital-root{ display: block; width: 100%; height: 100%; }
  @media (max-width: 900px){ .net-viz{ margin: 0 auto; } }

  /* ─── Section 6: Socios ───────────────────────────────── */
  .partners{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
  }
  .partner{
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 32px 28px 28px;
    background: linear-gradient(180deg, rgba(11,34,56,.35), rgba(4,16,27,.5));
    position: relative;
    transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s, background .35s;
    overflow: hidden;
    min-height: 320px;
    display:flex; flex-direction: column;
    text-decoration: none; color: inherit; cursor: pointer;
  }
  .partner::after{
    content:""; position:absolute; top:0; left:0; right:0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-turq), transparent);
    opacity: 0; transition: opacity .4s;
  }
  .partner:hover{
    transform: translateY(-3px);
    border-color: rgba(0,169,169,.35);
    background: linear-gradient(180deg, rgba(15,42,66,.55), rgba(7,24,42,.65));
  }
  .partner:hover::after{ opacity:1; }
  .partner-head{
    display:flex; align-items: flex-start; justify-content: space-between;
    margin-bottom: 24px;
  }
  .partner-logo{
    width: 64px; height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0,169,169,.10), rgba(82,100,172,.06));
    border: 1px solid var(--line-strong);
    display:grid; place-items:center;
    font-family: var(--display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.02em;
    color: var(--brand-turq);
    text-shadow: 0 0 24px rgba(0,169,169,.4);
  }
  .partner-role{
    font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--text-mute);
    padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 999px;
  }
  .partner-role.coord{ color: var(--brand-turq); border-color: rgba(0,169,169,.35); }
  .partner h3{ font-size: 20px; font-weight: 600; margin-bottom: 4px; }
  .partner-tag{ font-size: 12px; color: var(--text-mute); letter-spacing: 0.04em; margin-bottom: 14px; }
  .partner-text{ font-size: 13.5px; line-height: 1.62; color: var(--text-soft); flex: 1; }
  .partner-link{
    margin-top: 20px; font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--text-mute); display:flex; gap:10px; align-items: center;
    transition: color .25s, gap .25s;
  }
  .partner:hover .partner-link{ color: var(--brand-turq); gap: 16px; }
  .partner-link::after{ content:"↗"; font-size: 13px; }

  /* Partner logo image container */
  .partner-logo-img{
    width: 80px; height: 52px;
    border-radius: 10px;
    border: 1px solid rgba(180,210,235,.12);
    background: #ffffff;
    display: flex; align-items: center; justify-content: center;
    padding: 10px 12px;
    transition: border-color .3s, box-shadow .3s;
    overflow: hidden;
  }
  .partner:hover .partner-logo-img{
    border-color: rgba(0,169,169,.3);
    box-shadow: 0 0 18px -6px rgba(0,169,169,.25);
  }
  .partner-logo-img img{
    max-width: 100%; max-height: 100%;
    width: auto; height: auto;
    object-fit: contain;
    filter: brightness(1) saturate(0.8);
    transition: filter .3s;
  }
  .partner:hover .partner-logo-img img{
    filter: brightness(1.1) saturate(1);
  }

  /* Partner tags */
  .partner-tags{
    display: flex; flex-wrap: wrap; gap: 6px;
    margin-top: auto; padding-top: 20px;
  }
  .partner-tag-pill{
    font-size: 10.5px; font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text-mute);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: 4px 10px;
    transition: color .25s, border-color .25s;
  }
  .partner:hover .partner-tag-pill{
    color: var(--brand-turq);
    border-color: rgba(0,169,169,.3);
  }

  /* Footer inst logo placeholders */
  .inst-logo-ph{
    height: 40px;
    padding: 0 20px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255,255,255,.02);
    display: flex; align-items: center;
    color: var(--text-mute);
    font-size: 11px; letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: .6;
    transition: opacity .25s, border-color .25s;
  }
  .inst-logo-ph:hover{ opacity: 1; border-color: rgba(180,210,235,.2); }

  /* ─── Section 7: Actualidad ───────────────────────────── */
  .news{ display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
  .news-empty{ color: var(--text-mute); font-size: 14px; grid-column: 1 / -1; }
  .news-card{
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
    background: linear-gradient(180deg, rgba(11,34,56,.4), rgba(4,16,27,.5));
    transition: transform .35s, border-color .35s;
    cursor: pointer;
    display:flex; flex-direction: column;
  }
  .news-card:hover{ transform: translateY(-3px); border-color: rgba(180,210,235,.25); }
  .news-thumb{
    aspect-ratio: 16 / 10;
    position: relative;
    overflow: hidden;
  }
  .news-body{ padding: 24px; }
  .news-meta{
    display:flex; gap: 14px; align-items:center;
    font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--text-mute);
    margin-bottom: 14px;
  }
  .news-meta .tag{ color: var(--brand-turq); }
  .news-card h3{ font-size: 18px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.3; margin-bottom: 14px; }
  .news-link{ font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-soft); display:flex; gap:10px; transition: gap .25s, color .25s; }
  .news-card:hover .news-link{ color: var(--brand-turq); gap: 16px; }
  .news-link::after{ content:"→"; }

  /* ─── Section 8: Contacto ─────────────────────────────── */
  .contact-grid{
    display:grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 80px;
    align-items: start;
  }
  @media (max-width: 900px){ .contact-grid{ grid-template-columns: 1fr; gap: 48px; } }
  .contact-title{
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.06;
    margin-bottom: 24px;
    max-width: 18ch;
  }
  .contact-title em{ font-style: normal; color: var(--brand-turq); }
  .contact-copy{ color: var(--text-soft); font-size: 15.5px; line-height: 1.7; margin-bottom: 36px; max-width: 50ch; }

  .form{
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 36px;
    background: linear-gradient(180deg, rgba(11,34,56,.4), rgba(4,16,27,.55));
    display:grid; gap: 18px;
  }
  .field{ display:flex; flex-direction: column; gap: 6px; }
  .field label{
    font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--text-mute);
  }
  .field input, .field textarea{
    background: transparent;
    border: 0; border-bottom: 1px solid var(--line-strong);
    padding: 10px 0;
    color: var(--text);
    font-family: var(--body); font-size: 15px;
    transition: border-color .25s;
  }
  .field input::placeholder, .field textarea::placeholder{ color: var(--text-mute); }
  .field input:focus, .field textarea:focus{ outline: none; border-bottom-color: var(--brand-turq); }
  .field textarea{ resize: vertical; min-height: 100px; }
  .form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  @media (max-width: 540px){ .form-row{ grid-template-columns: 1fr; } }
  .check{ display:flex; gap: 12px; align-items: flex-start; font-size: 12.5px; color: var(--text-soft); cursor: pointer; user-select: none; }
  .check input{ accent-color: var(--brand-turq); margin-top: 3px; }
  .form .btn-primary{ width: fit-content; }

  /* SITE-FOOTER-CSS:START */
  /* ─── Footer ──────────────────────────────────────────── */
  footer{
    padding: 64px 0 36px;
    margin-top: 80px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.4));
  }
  .footer-top{
    display:grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 60px;
    margin-bottom: 56px;
  }
  @media (max-width: 900px){ .footer-top{ grid-template-columns: 1fr; gap: 36px; } }
  .footer-brand p{
    color: var(--text-mute); font-size: 13.5px; line-height: 1.7; max-width: 38ch; margin-top: 18px;
  }
  .footer-nav{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
  }
  @media (max-width: 700px){ .footer-nav{ grid-template-columns: repeat(2, 1fr); } }
  .footer-col h4{
    font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--brand-turq); font-weight: 500;
    margin-bottom: 18px;
  }
  .footer-col ul{ list-style: none; padding: 0; margin: 0; display:flex; flex-direction:column; gap: 10px; }
  .footer-col a{ color: var(--text-soft); font-size: 13.5px; transition: color .2s; }
  .footer-col a:hover{ color: var(--brand-turq); }

  .footer-inst{
    display: flex; flex-wrap: wrap; gap: 36px; align-items: center;
    padding-top: 36px;
    margin-bottom: 36px;
  }
  .footer-inst .label{
    font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase;
    color: var(--text-mute);
  }
  .inst-logos{ display:flex; gap: 28px; flex-wrap: wrap; align-items:center; }
  .inst-logo{
    height: 36px;
    padding: 0 16px;
    border-left: 1px solid var(--line);
    color: var(--text-soft);
    font-family: var(--display); font-weight: 500;
    font-size: 12.5px; letter-spacing: 0.05em;
    display: flex; align-items: center; gap: 8px;
    opacity: .85; transition: opacity .25s, color .25s;
  }
  .inst-logo:hover{ opacity: 1; color: var(--text); }
  .inst-logo small{ display:block; font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mute); margin-top:2px; }

  .footer-bottom{
    display:flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    font-size: 12px; color: var(--text-mute);
    padding-top: 24px;
  }
  .footer-bottom .legal{ display:flex; gap: 24px; flex-wrap: wrap; }
  .footer-bottom a:hover{ color: var(--brand-turq); }
  /* SITE-FOOTER-CSS:END */

  /* ─── Mailchimp form integration ─────────────────────── */
  #mc_embed_signup{ background: transparent !important; font: inherit !important; width: 100% !important; }
  .mc-asterisk{ color: var(--brand-turq); }
  .mc-response{ padding: 10px 0; font-size: 13.5px; line-height: 1.6; }
  .mc-error{ color: #e04040; }
  .mc-success{ color: var(--brand-turq); }
  .mc-submit-row{ display:flex; align-items:center; gap: 24px; flex-wrap:wrap; }
  .mc-badge-link{ opacity:.28; transition: opacity .2s; display:flex; align-items:center; }
  .mc-badge-link:hover{ opacity:.5; }
  .mc-badge-img{ height:26px; width:auto; filter: invert(1) brightness(.45); }
  input[type="submit"].btn.btn-primary{
    cursor: pointer; border: 0;
    -webkit-appearance: none; appearance: none;
  }

  /* ─── Reveal animations ───────────────────────────────── */
  .reveal{ opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
  .reveal.is-visible{ opacity: 1; transform: translateY(0); }
  .reveal[data-delay="1"]{ transition-delay: .08s; }
  .reveal[data-delay="2"]{ transition-delay: .16s; }
  .reveal[data-delay="3"]{ transition-delay: .24s; }
  .reveal[data-delay="4"]{ transition-delay: .32s; }
  .reveal[data-delay="5"]{ transition-delay: .4s; }

  @media (prefers-reduced-motion: reduce){
    *{ animation: none !important; transition: none !important; }
    .reveal{ opacity: 1; transform: none; }
  }

  /* ─── Tweaks panel ──────────────────────────── */
  .tweaks{
    position: fixed; bottom: 24px; right: 24px;
    z-index: 100;
    width: 320px;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(11,34,56,.94), rgba(4,16,27,.92));
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    box-shadow: 0 30px 80px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.03) inset;
    color: var(--text);
    font-family: var(--display);
    overflow: hidden;
    transform-origin: bottom right;
    animation: tw-in .35s cubic-bezier(.2,.7,.2,1);
  }
  @keyframes tw-in{ from{ opacity:0; transform: translateY(8px) scale(.97); } to{ opacity:1; transform: none; } }
  .tweaks[hidden]{ display: none; }
  .tweaks-head{
    display:flex; align-items:center; justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
    color: var(--brand-turq);
  }
  .tweaks-head::before{
    content:""; width:8px; height:8px; border-radius:50%; background:var(--brand-turq);
    box-shadow: 0 0 12px var(--brand-turq);
    margin-right: 8px; vertical-align: middle; display: inline-block;
  }
  .tweaks-head .head-label{ flex:1; }
  .tweaks-close{
    width: 24px; height: 24px;
    display: grid; place-items: center;
    border-radius: 50%;
    color: var(--text-soft);
    transition: color .2s, background .2s;
    font-size: 18px; line-height: 1;
  }
  .tweaks-close:hover{ background: rgba(255,255,255,.05); color: var(--text); }
  .tweaks-body{
    padding: 18px 16px 20px;
    display: flex; flex-direction: column; gap: 22px;
  }
  .tweak-group label.tweak-label{
    display: flex; justify-content: space-between; align-items: baseline;
    font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--text-mute);
    margin-bottom: 10px;
  }
  .tweak-group label.tweak-label .val{
    color: var(--brand-turq);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
  }
  .tweak-radio{
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(4,16,27,.5);
  }
  .tweak-radio button{
    padding: 8px 6px;
    border-radius: 7px;
    font-size: 11.5px;
    color: var(--text-soft);
    letter-spacing: 0.04em;
    font-family: var(--display);
    font-weight: 500;
    transition: all .2s;
    position: relative;
  }
  .tweak-radio button:hover{ color: var(--text); background: rgba(255,255,255,.03); }
  .tweak-radio button.active{
    background: rgba(0,169,169,.16);
    color: var(--brand-turq);
    box-shadow: 0 0 0 1px rgba(0,169,169,.35) inset;
  }
  .tweak-slider{
    -webkit-appearance: none; appearance: none;
    width: 100%; height: 4px;
    background: var(--line-strong);
    border-radius: 999px;
    outline: none;
    cursor: pointer;
  }
  .tweak-slider::-webkit-slider-thumb{
    -webkit-appearance: none; appearance: none;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--brand-turq);
    box-shadow: 0 0 0 4px rgba(0,169,169,.18), 0 0 18px rgba(0,169,169,.4);
    cursor: pointer;
    transition: transform .15s;
  }
  .tweak-slider::-webkit-slider-thumb:hover{ transform: scale(1.15); }
  .tweak-slider::-moz-range-thumb{
    width: 16px; height: 16px;
    border: 0;
    border-radius: 50%;
    background: var(--brand-turq);
    box-shadow: 0 0 0 4px rgba(0,169,169,.18);
  }
  .tweak-footnote{
    font-size: 10.5px; letter-spacing: 0.06em;
    color: var(--text-mute);
    line-height: 1.5;
    padding-top: 4px;
  }

  /* ─── Radial Orbital Timeline (La Red) ────────────── */
  .orbital-stage{
    position: relative;
    width: 100%; height: 100%;
    overflow: visible;
    cursor: default;
    user-select: none;
  }
  .orbital-glow{
    position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0,169,169,.18), transparent 60%);
    pointer-events: none;
    border-radius: 50%;
  }
  .orbital-ring{
    position: absolute;
    left: 50%; top: 50%;
    width: 76%; height: 76%;
    border-radius: 50%;
    border: 1px dashed rgba(180,210,235,.14);
    transform: translate(-50%, -50%);
    pointer-events: none;
  }
  .orbital-ring.outer{ width: 92%; height: 92%; border-style: solid; border-color: rgba(180,210,235,.06); }
  .orbital-spoke{
    position: absolute;
    left: 50%; top: 50%;
    width: 38%; height: 1px;
    background: linear-gradient(90deg, rgba(0,169,169,.35) 0%, rgba(0,169,169,.06) 75%, transparent 100%);
    transform-origin: 0 0;
    pointer-events: none;
    transition: opacity .25s;
  }
  .orbital-spoke.dim{ opacity: .25; }
  .orbital-center{
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 80px; height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,169,169,.28), rgba(0,169,169,.06) 70%);
    border: 1px solid rgba(0,169,169,.55);
    display: grid; place-items: center;
    cursor: pointer;
    z-index: 30;
    transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
    box-shadow: 0 0 0 1px rgba(255,255,255,.04) inset, 0 0 32px -4px rgba(0,169,169,.35);
  }
  .orbital-center:hover{ transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 0 44px -2px rgba(0,169,169,.55); }
  .orbital-center::before, .orbital-center::after{
    content: "";
    position: absolute; inset: -10px;
    border-radius: 50%;
    border: 1px solid rgba(0,169,169,.35);
    animation: orb-ping 3s ease-out infinite;
    pointer-events: none;
  }
  .orbital-center::after{ inset: -22px; animation-delay: 1.2s; border-color: rgba(0,169,169,.2); }
  @keyframes orb-ping{
    0%   { opacity: .7; transform: scale(.82); }
    100% { opacity: 0;  transform: scale(1.25); }
  }
  .orbital-center-label{
    position: absolute;
    bottom: -30px; left: 50%;
    transform: translateX(-50%);
    font-family: var(--display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--brand-turq);
    white-space: nowrap;
    text-shadow: 0 0 12px rgba(0,169,169,.7), 0 0 24px rgba(0,169,169,.35);
  }
  .orbital-center svg{ width: 36px; height: 40px; filter: drop-shadow(0 0 8px rgba(0,169,169,.4)); }

  .orbital-node{
    position: absolute;
    left: 50%; top: 50%;
    transition: opacity .3s ease-out;
  }
  .orbital-dot{
    width: 54px; height: 54px;
    border-radius: 50%;
    background: rgba(11,34,56,.92);
    border: 1px solid rgba(180,210,235,.28);
    display: grid; place-items: center;
    color: var(--text);
    font-family: var(--display);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: background .25s, border-color .25s, transform .25s, box-shadow .25s;
    cursor: pointer;
    box-shadow: 0 6px 22px -10px rgba(0,0,0,.65);
    position: relative;
  }
  .orbital-dot::after{
    content: "";
    position: absolute; inset: -8px;
    border-radius: 50%;
    border: 1px solid transparent;
    transition: border-color .25s;
  }
  .orbital-dot:hover{
    border-color: var(--brand-turq);
    background: rgba(15,42,66,.95);
    transform: scale(1.08);
  }
  .orbital-dot:hover::after{ border-color: rgba(0,169,169,.25); }
  .orbital-node.is-active{ z-index: 200 !important; opacity: 1 !important; }
  .orbital-node.is-active .orbital-dot{
    background: var(--brand-turq);
    color: #03252A;
    border-color: var(--brand-turq);
    transform: scale(1.15);
    box-shadow: 0 0 0 4px rgba(0,169,169,.18), 0 12px 32px -6px rgba(0,169,169,.55);
  }
  .orbital-node.is-related .orbital-dot{
    border-color: rgba(0,169,169,.6);
    box-shadow: 0 0 0 3px rgba(0,169,169,.1), 0 6px 22px -10px rgba(0,0,0,.65);
  }

  .orbital-card{
    position: absolute;
    width: 220px;
    background: linear-gradient(180deg, rgba(11,34,56,.97), rgba(7,24,42,.95));
    border: 1px solid rgba(0,169,169,.25);
    border-radius: 12px;
    padding: 16px 16px 14px;
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 20px 60px -10px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.02) inset;
    z-index: 250;
    animation: orb-card-in .28s cubic-bezier(.2,.7,.2,1);
    pointer-events: auto;
  }
  .orbital-card.below{ top: calc(100% + 18px); left: 50%; transform: translateX(-50%); }
  .orbital-card.above{ bottom: calc(100% + 18px); left: 50%; transform: translateX(-50%); }
  .orbital-card.below::before, .orbital-card.above::before{
    content: "";
    position: absolute; left: 50%;
    width: 1px; height: 12px;
    background: linear-gradient(180deg, transparent, var(--brand-turq));
  }
  .orbital-card.below::before{ top: -12px; transform: translateX(-50%); }
  .orbital-card.above::before{ bottom: -12px; transform: translateX(-50%); background: linear-gradient(0deg, transparent, var(--brand-turq)); }
  @keyframes orb-card-in{
    from{ opacity: 0; transform: translateX(-50%) translateY(-6px); }
    to  { opacity: 1; transform: translateX(-50%) translateY(0); }
  }
  .oc-role{
    display: inline-block;
    font-size: 9.5px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--brand-turq);
    padding: 4px 8px;
    border: 1px solid rgba(0,169,169,.3);
    border-radius: 999px;
    margin-bottom: 12px;
  }
  .oc-title{
    font-family: var(--display);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.015em;
    margin: 0 0 4px;
    color: var(--text);
    line-height: 1.1;
  }
  .oc-name{
    font-size: 11px;
    color: var(--text-mute);
    margin: 0 0 10px;
    line-height: 1.4;
  }
  .oc-desc{
    font-size: 12px;
    color: var(--text-soft);
    line-height: 1.6;
    margin: 0 0 12px;
  }
  .oc-link{
    font-family: var(--display);
    font-size: 10.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-turq);
    background: none;
    border: 0;
    border-top: 1px solid var(--line);
    padding: 11px 0 2px;
    width: 100%;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color .2s, gap .25s;
    gap: 8px;
  }
  .oc-link:hover{ color: #4DD4D4; gap: 14px; }
  .oc-link::after{ content: "→"; transition: transform .25s; }
  .oc-link:hover::after{ transform: translateX(3px); }

  /* Flash effect on target partner card when anchored from orbital */
  .partner.flash{
    animation: card-flash 1.4s cubic-bezier(.2,.7,.2,1);
  }

  /* ─── Hero data analysis layer ─────────────────────── */
  .hero-data{
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    font-family: var(--display);
    mask-image: linear-gradient(180deg, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 8%, black 92%, transparent 100%);
  }
  .hd{
    position: absolute;
    background: linear-gradient(180deg, rgba(7,24,42,.62), rgba(4,16,27,.48));
    backdrop-filter: blur(6px) saturate(140%);
    -webkit-backdrop-filter: blur(6px) saturate(140%);
    border: 1px solid rgba(180,210,235,.10);
    border-radius: 8px;
    padding: 10px 12px;
    white-space: nowrap;
    opacity: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 8px 30px -10px rgba(0,0,0,.55);
    will-change: transform, opacity;
  }
  @keyframes hd-appear{ from{ opacity: 0; } to{ opacity: .68; } }

  /* 2D wander paths — amplitudes very subtle (3–7px), long durations */
  @keyframes hd-wander-1{
    0%   { transform: translate(0, 0); }
    18%  { transform: translate(6px, -4px); }
    37%  { transform: translate(4px, -8px); }
    55%  { transform: translate(-3px, -5px); }
    73%  { transform: translate(-5px, 1px); }
    88%  { transform: translate(-2px, 3px); }
    100% { transform: translate(0, 0); }
  }
  @keyframes hd-wander-2{
    0%   { transform: translate(0, 0); }
    22%  { transform: translate(-4px, -3px); }
    44%  { transform: translate(-6px, 4px); }
    66%  { transform: translate(2px, 5px); }
    82%  { transform: translate(5px, 1px); }
    100% { transform: translate(0, 0); }
  }
  @keyframes hd-wander-3{
    0%   { transform: translate(0, 0); }
    15%  { transform: translate(3px, -6px); }
    33%  { transform: translate(7px, -2px); }
    52%  { transform: translate(5px, 4px); }
    70%  { transform: translate(-2px, 6px); }
    87%  { transform: translate(-5px, 0); }
    100% { transform: translate(0, 0); }
  }
  @keyframes hd-wander-4{
    0%   { transform: translate(0, 0); }
    25%  { transform: translate(-3px, 4px); }
    50%  { transform: translate(-2px, -3px); }
    75%  { transform: translate(4px, -2px); }
    100% { transform: translate(0, 0); }
  }

  /* Each drift variant runs appear + its own wander loop */
  .drift-1{ animation: hd-appear 1s ease-out .3s forwards, hd-wander-1 17s ease-in-out infinite; }
  .drift-2{ animation: hd-appear 1s ease-out .5s forwards, hd-wander-2 14s ease-in-out infinite; }
  .drift-3{ animation: hd-appear 1s ease-out .7s forwards, hd-wander-3 22s ease-in-out infinite; }
  .drift-4{ animation: hd-appear 1s ease-out .9s forwards, hd-wander-4 18s ease-in-out infinite; }

  /* ─ Position classes (default — wide / 1400px+) ─ */
  .pos-inf          { top: 17%; left: 2.5%; }
  .pos-eq-loss      { top: 9%;  left: 34%; }
  .pos-status       { top: 14%; right: 3%; }
  .pos-pcb          { top: 44%; left: 1%; }
  .pos-spectrum     { top: 38%; right: 0.5%; }
  .pos-throughput   { bottom: 16%; left: 3%; }
  .pos-latency      { bottom: 9%;  left: 30%; }
  .pos-sensor       { bottom: 13%; right: 4%; }
  .pos-confidence   { bottom: 8%;  right: 22%; }
  .pos-eq-bayes     { top: 70%; left: 14%; }
  /* Seguridad */
  .pos-shield-status{ top: 32%; left: 2%; }
  .pos-threats      { top: 55%; right: 1%; }
  .pos-clearance    { bottom: 24%; right: 3%; }

  /* Laptop 1100–1400px — pull inward, avoid headline clash */
  @media (max-width: 1400px){
    .pos-eq-loss   { top: 7%;  left: 28%; }
    .pos-confidence{ bottom: 7%;  right: 16%; }
    .pos-eq-bayes  { top: 66%; left: 6%; }
    .pos-pcb       { top: 42%; left: 0.5%; }
    .pos-spectrum  { top: 42%; right: 0.2%; }
    .pos-latency   { bottom: 9%;  left: 26%; }
  }

  /* Narrow desktop 900–1100px — .optional hidden; tighten essentials to corners */
  @media (max-width: 1100px){
    .hd.optional{ display: none; }
    .pos-shield-status{ top: 30%; left: 1%; }
    .pos-inf       { top: 13%; left: 3%; }
    .pos-throughput{ bottom: 13%; left: 3%; }
    .pos-latency   { bottom: 8%; left: auto; right: 30%; }
    .pos-sensor    { bottom: 12%; right: 3%; }
  }

  /* Tablet 760–900px — just top + bottom corners */
  @media (max-width: 900px){
    .pos-inf       { top: 11%; left: 4%; right: auto; bottom: auto; }
    .pos-sensor    { top: 11%; right: 4%; left: auto; bottom: auto; }
    .pos-throughput{ bottom: 9%; left: 4%; top: auto; right: auto; }
    .pos-latency   { bottom: 9%; right: 4%; left: auto; top: auto; }
  }

  /* Mobile <760px — layer hidden entirely (set below) */
  @media (max-width: 760px){
    .hero-data{ display: none; }
  }

  .hd-label{
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-mute);
  }
  .hd-value{
    font-family: var(--display);
    font-size: 20px;
    font-weight: 500;
    color: var(--text);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    line-height: 1;
  }
  .hd-value.accent{ color: var(--brand-turq); text-shadow: 0 0 18px rgba(0,169,169,.4); }
  .hd-value.blue{ color: #98A8E0; }
  .hd-value.mono{ font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; letter-spacing: 0.05em; font-weight: 400; }
  .hd-unit{ font-size: 11px; color: var(--text-mute); margin-left: 4px; font-weight: 400; }
  .hd-eq-text{
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-size: 12px;
    letter-spacing: 0.02em;
    color: var(--brand-turq);
    font-weight: 400;
  }

  /* drift variants — see wander keyframes above */

  /* ─── Hero security full-layer ───────────────────── */
  .hero-sec-layer{
    position: absolute; inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
  }
  .hero-sec-layer svg{ width:100%; height:100%; }

  @keyframes hex-breathe{
    0%,100%{ opacity:.75; transform: scale(.97); }
    50%{ opacity:1; transform: scale(1); }
  }
  @keyframes hex-hit-1{ 0%,100%{ opacity:0; } 50%{ opacity:.6; } }
  @keyframes hex-hit-2{ 0%,100%{ opacity:0; } 50%{ opacity:.6; } }
  @keyframes hex-hit-3{ 0%,100%{ opacity:0; } 50%{ opacity:.6; } }
  @keyframes hex-hit-4{ 0%,100%{ opacity:0; } 50%{ opacity:.6; } }
  @keyframes hex-hit-5{ 0%,100%{ opacity:0; } 50%{ opacity:.6; } }
  @keyframes shield-pulse{
    0%,100%{ opacity: 1; }
    50%{ opacity: .55; }
  }

  /* Progress bar */
  .hd-bar{
    width: 130px; height: 3px;
    background: rgba(180,210,235,.1);
    border-radius: 999px; margin-top: 8px; overflow: hidden;
  }
  .hd-bar-fill{
    height: 100%;
    background: linear-gradient(90deg, var(--brand-turq), rgba(0,169,169,.3));
    border-radius: 999px;
    animation: bar-grow 4s ease-in-out infinite;
  }
  @keyframes bar-grow{ 0%,100%{ width: 78%; } 50%{ width: 94%; } }

  /* Spectrum bars */
  .hd-bars{ display: flex; gap: 3px; align-items: flex-end; height: 32px; margin-top: 4px; }
  .hd-bars span{
    display: block; width: 4px; background: var(--brand-turq); border-radius: 1px;
    transform-origin: bottom;
    box-shadow: 0 0 6px rgba(0,169,169,.4);
    animation: bar-osc 1.2s ease-in-out infinite;
  }
  .hd-bars span:nth-child(1){ height: 40%; animation-delay: 0s; }
  .hd-bars span:nth-child(2){ height: 70%; animation-delay: .08s; }
  .hd-bars span:nth-child(3){ height: 90%; animation-delay: .16s; }
  .hd-bars span:nth-child(4){ height: 60%; animation-delay: .24s; }
  .hd-bars span:nth-child(5){ height: 80%; animation-delay: .32s; }
  .hd-bars span:nth-child(6){ height: 50%; animation-delay: .40s; }
  .hd-bars span:nth-child(7){ height: 75%; animation-delay: .48s; }
  .hd-bars span:nth-child(8){ height: 95%; animation-delay: .56s; }
  .hd-bars span:nth-child(9){ height: 65%; animation-delay: .64s; }
  .hd-bars span:nth-child(10){ height: 45%; animation-delay: .72s; }
  @keyframes bar-osc{ 0%,100%{ transform: scaleY(.45); opacity: .7; } 50%{ transform: scaleY(1); opacity: 1; } }

  /* Sparkline */
  .hd-spark-svg{ width: 130px; height: 26px; margin-top: 2px; display: block; }
  .hd-spark-svg polyline{ filter: drop-shadow(0 0 4px rgba(0,169,169,.5)); }

  /* Dot status grid */
  .hd-dots{
    display: grid;
    grid-template-columns: repeat(6, 6px);
    gap: 4px; margin-top: 4px;
  }
  .hd-dots span{
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(180,210,235,.15);
  }
  .hd-dots span.lit{ background: var(--brand-turq); box-shadow: 0 0 8px rgba(0,169,169,.7); animation: dot-blink 2.5s ease-in-out infinite; }
  .hd-dots span.lit:nth-child(3n){ animation-delay: .6s; }
  .hd-dots span.lit:nth-child(5n){ animation-delay: 1.2s; }
  @keyframes dot-blink{ 0%,100%{ opacity: 1; } 50%{ opacity: .35; } }

  /* Sensor with corner brackets */
  .hd-sensor{ padding: 14px 18px; }
  .hd-corner{
    position: absolute;
    width: 9px; height: 9px;
    border-color: var(--brand-turq);
  }
  .hd-corner.tl{ top: 5px; left: 5px;  border-top: 1px solid; border-left: 1px solid; }
  .hd-corner.tr{ top: 5px; right: 5px; border-top: 1px solid; border-right: 1px solid; }
  .hd-corner.bl{ bottom: 5px; left: 5px;  border-bottom: 1px solid; border-left: 1px solid; }
  .hd-corner.br{ bottom: 5px; right: 5px; border-bottom: 1px solid; border-right: 1px solid; }

  /* Circuit */
  .hd-circuit svg{ width: 110px; height: 56px; margin-bottom: 4px; display: block; }
  .hd-circuit .pcb-path{ stroke-dasharray: 4 2; animation: pcb-flow 4s linear infinite; }
  @keyframes pcb-flow{ to{ stroke-dashoffset: -60; } }

  /* Equation block */
  .hd-eq{ padding: 8px 14px; }

  /* Metric row (value+unit on same line) */
  .hd-row{ display: flex; align-items: baseline; gap: 0; }

  /* Hide on small viewports to avoid clutter */
  @media (max-width: 1100px){
    /* additional override for optionals; pos-overrides above handle layout */
  }
  @keyframes card-flash{
    0%   { box-shadow: 0 0 0 0 rgba(0,169,169,0), 0 0 0 rgba(0,169,169,0); border-color: var(--line); }
    25%  { box-shadow: 0 0 0 2px rgba(0,169,169,.6), 0 0 60px -10px rgba(0,169,169,.6); border-color: rgba(0,169,169,.6); }
    100% { box-shadow: 0 0 0 0 rgba(0,169,169,0), 0 0 0 rgba(0,169,169,0); border-color: var(--line); }
  }

  /* ─── Logo separador entre secciones ─────────────────── */
  .brand-watermark{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: -40px 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
  }
  .brand-watermark img{
    width: clamp(260px, 42vw, 540px);
    opacity: 0.045;
    filter: brightness(1.8) saturate(0);
    user-select: none;
    display: block;
  }


  /* ═══ CSS especifica de la pagina de Formacion ═══ */
  .formacion-hero{
    position: relative;
    margin-top: 64px;
    padding: 96px var(--pad) 88px;
    overflow: hidden;
    min-height: 72vh;
    display: flex;
    align-items: center;
  }
  .formacion-hero-inner{
    position: relative; z-index: 1;
    max-width: var(--maxw);
    margin: 0 auto;
    width: 100%;
  }
  .formacion-hero h1{
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700; line-height: 1.08; letter-spacing: -0.02em;
    max-width: 900px;
    margin: 0 0 20px;
  }
  .formacion-hero h1 em{ font-style: normal; color: var(--brand-turq); }
  .formacion-hero-sub{
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-soft);
    max-width: 640px;
    line-height: 1.6;
    margin: 0 0 32px;
  }
  .formacion-meta-row{
    display: flex; flex-wrap: wrap; gap: 14px;
    margin-bottom: 28px;
  }
  .formacion-meta-pill{
    display: flex; align-items: center; gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(11,34,56,.6);
    font-size: 13px; color: var(--text-soft);
  }
  .formacion-meta-pill .dot{ width: 7px; height: 7px; border-radius: 50%; background: var(--brand-turq); box-shadow: 0 0 10px var(--brand-turq); flex-shrink:0; }
  .formacion-hero-ctas{ display: flex; gap: 16px; flex-wrap: wrap; }

  /* "A quien va dirigida" fusiona lo que antes eran 2 secciones (A quien va
     dirigida + Informacion practica) en una sola, a 2 columnas (30%/70%):
     titulo a la izquierda, lista de filas a la derecha, dentro del `.wrap`
     normal de 1280px — sin panel de color (peticion de Javier, 2026-10-05:
     quito el fondo que se habia probado en una iteracion anterior). */
  .dirigida-layout{
    display: grid;
    grid-template-columns: 3fr 7fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
  }
  @media (max-width: 860px){ .dirigida-layout{ grid-template-columns: 1fr; } }
  .dirigida-col-title .num{
    font-family: var(--display); font-weight: 500;
    font-size: 13px; letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 14px;
  }
  .dirigida-col-title h2{ font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; margin: 0; }
  /* Lista numerada estilo "04 / Impacto" de la home (.impact-block):
     numero fantasma + cuerpo + icono, separados por lineas finas, con
     barra de acento al hover (peticion de Javier, 2026-10-05 — antes era
     un mosaico "bento" que tampoco convencio). */
  .dirigida-list{
    display: flex; flex-direction: column;
  }
  .dg-row{
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 24px;
    align-items: start;
    padding: 22px 0;
    position: relative;
    transition: padding-left .35s;
  }
  .dg-row::before{
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0;
    background: linear-gradient(180deg, var(--brand-turq), transparent);
    transition: width .35s;
  }
  .dg-row:hover{ padding-left: 16px; }
  .dg-row:hover::before{ width: 2px; }
  .dg-num{
    font-family: var(--display); font-weight: 200;
    font-size: 38px; line-height: .9;
    color: transparent;
    -webkit-text-stroke: 1px var(--text-mute);
    letter-spacing: -0.02em;
  }
  .dg-body h3{ font-size: 15px; margin: 0 0 6px; font-weight: 600; color: var(--text); }
  .dg-body p{ color: var(--text-soft); font-size: 13.5px; line-height: 1.6; margin: 0; max-width: 52ch; }
  .dg-body p a{ color: var(--text); text-decoration: underline; }
  .dg-glyph{ color: var(--brand-turq); opacity: .55; align-self: center; }
  .dg-glyph svg{ width: 22px; height: 22px; }
  @media (max-width: 560px){
    .dg-row{ grid-template-columns: 44px 1fr; }
    .dg-glyph{ display: none; }
    .dg-num{ font-size: 28px; }
  }

  .formacion-obj-head{ margin-top: 56px; margin-bottom: 24px; }
  .formacion-obj-head h3{ font-size: 20px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
  .formacion-obj-head p{ font-size: 14.5px; color: var(--text-soft); line-height: 1.65; max-width: 700px; }
  .obj-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  @media (max-width: 1080px){ .obj-grid{ grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px){ .obj-grid{ grid-template-columns: 1fr; } }
  .obj-card{
    display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: linear-gradient(180deg, rgba(11,34,56,.4), rgba(7,24,42,.28));
    font-size: 14px; color: var(--text-soft); line-height: 1.6;
  }
  .obj-card .obj-num{
    flex-shrink: 0;
    color: var(--brand-turq);
    font-family: var(--display); font-weight: 600; font-size: 13px;
  }


  .prog-modulo{
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    margin-bottom: 20px;
    overflow: hidden;
    background: rgba(11,34,56,.28);
  }
  .prog-modulo summary{
    list-style: none;
    cursor: pointer;
    padding: 26px 28px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    font-family: var(--display); font-weight: 600; font-size: 16px;
    color: var(--text);
    transition: background .2s;
  }
  .prog-modulo summary::-webkit-details-marker{ display: none; }
  .prog-modulo summary:hover{ background: rgba(0,169,169,.06); }
  .prog-modulo summary .chev{ transition: transform .25s; color: var(--brand-turq); flex-shrink: 0; }
  .prog-modulo[open] summary .chev{ transform: rotate(180deg); }
  .prog-modulo-body{ padding: 6px 28px 30px; }
  .prog-tema{ margin-top: 28px; }
  .prog-tema:first-child{ margin-top: 4px; }
  .prog-tema h4{ font-size: 13.5px; color: var(--brand-turq); margin: 0 0 14px; letter-spacing: .02em; }
  .prog-pildoras{ display: grid; gap: 8px; padding-left: 48px; }
  .prog-pildora{
    position: relative;
    padding-left: 30px;
    font-size: 14px; color: var(--text-soft); line-height: 1.4;
  }
  .prog-pildora .pn{
    position: absolute; left: 0; top: 0;
    color: var(--brand-turq); font-weight: 600;
  }
  .prog-pildora .pn::after{ content: "."; }
  /* En movil la sangria francesa (indent del listado + indent colgante de cada
     numero) deja muy poco ancho de texto; en pantallas estrechas se quita del todo:
     el numero pasa a ir en linea con el texto, sin indent colgante. */
  @media (max-width: 640px){
    .prog-modulo-body{ padding: 6px 18px 26px; }
    .prog-pildoras{ padding-left: 0; }
    .prog-pildora{ padding-left: 0; }
    .prog-pildora .pn{ position: static; margin-right: 4px; }
  }

  /* Las tarjetas de ponente viven ahora en fs.css (seccion "Ponentes" en
     carril horizontal, efecto filmstrip) en vez de en una rejilla aqui. */

  .cta-band{
    margin: 0 var(--pad);
    padding: 56px var(--pad);
    border-radius: var(--r-lg);
    background: linear-gradient(135deg, rgba(0,169,169,.1), rgba(82,100,172,.08));
    border: 1px solid rgba(0,169,169,.22);
    text-align: center;
  }
  .cta-band h2{ font-size: clamp(24px, 3vw, 34px); margin: 0 0 14px; }
  .cta-band p{ color: var(--text-soft); max-width: 560px; margin: 0 auto 28px; }
  /* ═══ CSS especifica de la pagina de listado de Formacion ═══ */
  .formaciones-hero{
    position: relative;
    margin-top: 72px;
    height: 380px;
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  .formaciones-hero-inner{ position: relative; z-index: 1; width: 100%; }
  .formaciones-hero h1{
    font-size: clamp(32px, 4.4vw, 56px);
    font-weight: 500; letter-spacing: -0.028em;
    margin: 12px 0 16px;
  }
  .formaciones-hero .lede{ max-width: 62ch; }

  .formaciones-list{
    display: flex; flex-direction: column; gap: 40px;
    padding: 64px 0 0;
  }
  .formacion-card{
    position: relative;
    display: flex; flex-direction: row; align-items: stretch; color: inherit;
    border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
    background: rgba(255,255,255,.02);
    transition: border-color .25s, transform .25s, background .25s, box-shadow .25s;
  }
  .formacion-card:hover{
    border-color: var(--brand-turq);
    background: rgba(0,169,169,.05);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,.35);
  }
  .formacion-card-media{ flex: 0 0 380px; overflow: hidden; }
  .formacion-card-media img{ width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
  .formacion-card:hover .formacion-card-media img{ transform: scale(1.04); }
  .formacion-card-body{
    flex: 1 1 auto; min-width: 0; padding: 36px;
    display: flex; flex-direction: column; gap: 16px; justify-content: center;
  }
  .formacion-card-meta{ display: flex; flex-wrap: wrap; gap: 10px; }
  .formacion-pill{
    display: flex; align-items: center; gap: 7px;
    padding: 6px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(11,34,56,.6);
    font-size: 12px; color: var(--text-soft);
  }
  .formacion-pill .dot{ width: 6px; height: 6px; border-radius: 50%; background: var(--brand-turq); box-shadow: 0 0 8px var(--brand-turq); flex-shrink: 0; }
  .formacion-card-body h2{ font-size: 26px; color: #fff; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; transition: color .2s; }
  .formacion-card:hover .formacion-card-body h2{ color: var(--brand-turq); }
  .formacion-card-body p{ color: var(--text-soft); font-size: 15px; line-height: 1.65; max-width: 60ch; }
  .formacion-card-cta{
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--brand-turq); font-weight: 600; font-size: 14px;
    margin-top: 4px;
  }
  .formacion-card-cta::after{ content: "→"; transition: transform .25s; }
  .formacion-card:hover .formacion-card-cta::after{ transform: translateX(4px); }

  .formaciones-empty-note{
    margin-top: 8px;
    padding: 20px 24px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--r-md);
    color: var(--text-mute);
    font-size: 14px;
  }

  @media (max-width: 760px){
    .formacion-card{ flex-direction: column; }
    .formacion-card-media{ flex-basis: auto; aspect-ratio: 21/9; }
  }

  /* ═══ Pop-up "Como inscribirse" (formacion/enroll.js) ═══ */
  html.enroll-open{ overflow: hidden; }
  .enroll-dialog{
    border: 0; padding: 0; background: transparent; color: var(--text, #fff);
    width: min(640px, calc(100vw - 32px)); max-width: none; margin: auto; overflow: visible;
  }
  .enroll-dialog::backdrop{ background: rgba(3,12,22,.74); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
  .enroll-dialog[open]{ animation: enroll-in .28s cubic-bezier(.2,.7,.2,1); }
  .enroll-dialog[open]::backdrop{ animation: enroll-fade .28s ease; }
  @keyframes enroll-in{ from{ opacity: 0; transform: translateY(14px) scale(.985); } to{ opacity: 1; transform: none; } }
  @keyframes enroll-fade{ from{ opacity: 0; } to{ opacity: 1; } }
  @media (prefers-reduced-motion: reduce){ .enroll-dialog[open], .enroll-dialog[open]::backdrop{ animation: none; } }
  .enroll-card{
    position: relative; max-height: calc(100vh - 32px); max-height: calc(100svh - 32px); overflow-y: auto;
    padding: 38px 38px 32px; border-radius: var(--r-lg);
    border: 1px solid rgba(0,169,169,.28);
    background: linear-gradient(180deg, #0b2238, #07182a);
    box-shadow: 0 40px 100px -20px rgba(0,0,0,.75);
  }
  .enroll-close{
    position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
    display: grid; place-items: center; cursor: pointer; color: var(--text-soft);
    background: transparent; border: 1px solid var(--line); transition: color .2s, border-color .2s, background .2s;
  }
  .enroll-close:hover{ color: #fff; border-color: rgba(180,210,235,.4); background: rgba(255,255,255,.05); }
  .enroll-title{ font-size: clamp(22px, 3vw, 28px); line-height: 1.2; margin: 0 0 16px; padding-right: 44px; }
  .enroll-note{
    margin: 0 0 24px; padding: 12px 16px; border-radius: var(--r-md); font-size: 14px; line-height: 1.55;
    color: var(--text-soft); border: 1px solid rgba(0,169,169,.3); background: rgba(0,169,169,.08);
  }
  .enroll-note strong{ color: #fff; font-weight: 600; }
  .enroll-steps{ list-style: none; counter-reset: enroll; margin: 0 0 30px; padding: 0; display: flex; flex-direction: column; gap: 16px; }
  .enroll-steps li{ counter-increment: enroll; position: relative; padding: 3px 0 0 42px; min-height: 28px; font-size: 15px; line-height: 1.55; color: var(--text-soft); }
  .enroll-steps li::before{
    content: counter(enroll); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%;
    display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--brand-turq);
    background: rgba(0,169,169,.14); border: 1px solid rgba(0,169,169,.5);
  }
  .enroll-steps b{ color: #fff; font-weight: 600; }
  .enroll-steps a{ color: var(--brand-turq); overflow-wrap: anywhere; }
  .enroll-actions{ display: flex; justify-content: flex-end; }
  @media (max-width: 560px){
    .enroll-card{ padding: 30px 22px 24px; }
    .enroll-actions .btn{ width: 100%; justify-content: center; }
  }

/* Migas de pan */
.crumbs{ margin:0 0 18px; position:relative; z-index:2; }
.crumbs ol{ display:flex; flex-wrap:nowrap; align-items:center; gap:6px 10px; margin:0; padding:0; list-style:none; font-size:11.5px; letter-spacing:.14em; text-transform:uppercase; line-height:1.4; }
.crumbs a{ color:var(--text-soft,#B7C4D2); text-decoration:none; transition:color .2s; }
.crumbs a:hover, .crumbs a:focus-visible{ color:var(--brand-turq,#00A9A9); }
.crumbs-sep{ opacity:.35; color:var(--text-mute,#7C8A9B); }
.crumbs li{ flex:none; white-space:nowrap; }
.crumbs-cur{ flex:0 1 auto !important; min-width:0; color:var(--brand-turq,#00A9A9); font-weight:600; }
.crumbs-cur span{ display:block; max-width:min(52ch,100%); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
@media (max-width:600px){ .crumbs ol{ font-size:10.5px; letter-spacing:.1em; gap:6px 8px; } }

/* Panal de hexagonos de la cabecera (public/site/timeline.js). Mismo CSS que las paginas de Actualidad; sin el la capa quedaba sin posicionar (en pantallas con zoom/escala >1 tapaba la cabecera en blanco) */
.news-heroline{ position: absolute; right: 0; top: -40px; bottom: -40px; width: min(78vw, 1240px); z-index: 0; pointer-events: none; }
.news-heroline canvas{ position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.4s ease;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 2%, #000 20%, #000 100%); mask-image: linear-gradient(90deg, transparent 0, transparent 2%, #000 20%, #000 100%); }
.news-heroline.ready canvas{ opacity: 1; }
@media (max-width: 860px){ .news-heroline{ width: 100%; top: -20px; bottom: -20px; } .news-heroline.ready canvas{ opacity: .35; } }

/* === Menu con desplegables (sincronizado con src/index.html por scripts/sync_chrome.php) === */
  /* ── Desplegables del menú (desktop) ── */
  .nav-item{ position: relative; display: flex; align-items: center; }
  .nav-item.has-sub > .nav-top{ padding-right: 16px; }
  .nav-item.has-sub > .nav-top::before{
    content:""; position:absolute; right:2px; top:50%; width:5px; height:5px;
    border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor;
    transform: translateY(-72%) rotate(45deg); opacity:.55; transition: transform .25s, opacity .25s;
  }
  .nav-item.has-sub:hover > .nav-top::before, .nav-item.has-sub:focus-within > .nav-top::before{ transform: translateY(-30%) rotate(225deg); opacity:1; }
  .nav-sub{
    position:absolute; top:100%; left:-18px; min-width:250px; padding:26px 10px 10px; z-index:60;
    opacity:0; visibility:hidden; transform: translateY(6px);
    transition: opacity .2s, transform .25s cubic-bezier(.2,.7,.2,1), visibility .2s;
  }
  .nav-sub::before{
    content:""; position:absolute; inset:14px 0 0 0; z-index:-1; border-radius:14px;
    background: rgba(7,24,42,.97); border:1px solid var(--line-strong);
    box-shadow: 0 24px 60px -20px rgba(0,0,0,.7);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  }
  .nav-item.has-sub:hover > .nav-sub, .nav-item.has-sub:focus-within > .nav-sub{ opacity:1; visibility:visible; transform:none; }
  .nav-sub a{ display:block; padding:10px 14px; border-radius:8px; font-weight:500; font-size:13.5px; color: var(--text-soft); white-space:nowrap; }
  .nav-sub a::after{ display:none; }
  .nav-sub a:hover, .nav-sub a:focus-visible{ color: var(--text); background: rgba(0,169,169,.12); outline:none; }

  /* ── Menú móvil con grupos ── */
  .nav-mobile.is-open{ max-height: calc(100vh - 72px); max-height: calc(100svh - 72px); overflow-y: auto; }
  .nm-group{ border-bottom: 1px solid var(--line); }
  .nm-group > summary{
    list-style:none; cursor:pointer; padding: 15px 0; font-size: 15px; font-family: var(--display);
    color: var(--text); display:flex; justify-content:space-between; align-items:center;
  }
  .nm-group > summary::-webkit-details-marker{ display:none; }
  .nm-group > summary::after{ content:"+"; color: var(--brand-turq); font-size: 20px; font-weight: 300; line-height:1; }
  .nm-group[open] > summary::after{ content:"\2212"; }
  .nm-group > a{ padding: 11px 0 11px 14px !important; font-size: 14px !important; border-bottom: 0 !important; }
  .nm-group > a.nm-all{ display:flex; align-items:center; gap:10px; color: var(--brand-turq) !important; font-weight: 500; letter-spacing: .02em; }
  .nm-group > a.nm-all::before{ content:""; width:20px; height:1px; background: var(--brand-turq); flex:none; }
