/* Estilos compartidos por las paginas de caso (star-trek, transformers, nda) */
    .skip-link { position: absolute; left: -999px; top: 0; z-index: 300; background: #cff782; color: #050606; padding: 0.6rem 1rem; font-family: 'DM Mono', monospace; font-size: 0.8rem; text-decoration: none; }
    .skip-link:focus { left: 0.6rem; top: 0.6rem; }
    html { overflow-x: hidden; }
    body { font-family: 'DM Sans', sans-serif; background: #050606; color: #d5d5d5; line-height: 1.6; }
    body.cur-hover #cur { background: #fff; transform: translate(-50%,-50%) scale(1.4); }
    body.cur-hover #cur-ring { width: 40px; height: 40px; border-radius: 4px; border-color: #fff; }
    .back-top { position: fixed; bottom: 2rem; right: 2rem; width: 42px; height: 42px; background: #cff782; border: none; color: #050606; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 9990; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
    .back-top:hover { background: #d9ff96; }
    .back-top svg { width: 16px; height: 16px; }
    .closing-section { background: rgba(255,255,255,0.01); border-top: 1px solid rgba(207,247,130,0.12); }
    .closing-intro { font-size: 1.1rem; color: #999; line-height: 2; max-width: 820px; margin-bottom: 3rem; font-style: italic; padding-left: 1.5rem; border-left: 3px solid rgba(207,247,130,0.4); }
    .closing-card { padding: 2rem; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); }
    .closing-card-num { font-family: 'DM Mono', monospace; font-size: 0.65rem; color: rgba(207,247,130,0.4); letter-spacing: 2px; margin-bottom: 0.6rem; }
    .closing-card-title { font-family: 'Syne', sans-serif; font-size: 1.4rem; color: #fff; margin-bottom: 1.2rem; }
    .closing-stat { text-align: center; }
    .closing-stat-val { font-family: 'Syne', sans-serif; font-size: 3rem; font-weight: 700; color: #cff782; line-height: 1; margin-bottom: 0.5rem; display: flex; align-items: center; justify-content: center; }
    .closing-cta { text-align: center; padding: 3rem 0 1rem; border-top: 1px solid rgba(255,255,255,0.04); }
    .closing-cta-text { font-size: 1rem; color: #666; margin-bottom: 1.5rem; }
    .closing-cta-links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
    .closing-btn { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1.6rem; font-size: 0.85rem; text-decoration: none; transition: all 0.2s; font-family: 'DM Sans', sans-serif; }
    .closing-btn-primary { background: #cff782; color: #050606; }
    .closing-btn-primary:hover { background: #d9ff96; }
    .closing-btn-secondary { border: 1px solid rgba(255,255,255,0.12); color: #888; }
    .closing-btn-secondary:hover { border-color: rgba(207,247,130,0.4); color: #cff782; }
    .case-meta { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.5rem; }
    .case-meta-gold { color: #cff782; }
    .lat-item { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; }
    .lat-label { font-family: 'DM Mono', monospace; font-size: 0.6rem; color: #333; letter-spacing: 1px; text-transform: uppercase; transition: color 0.2s; text-align: right; white-space: nowrap; }
    .lat-item:hover .lat-label { color: #888; }
    .lat-item.active .lat-label { color: #cff782; }
    .lat-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.15); transition: all 0.3s; flex-shrink: 0; }
    .lat-item.active .lat-dot { background: #cff782; transform: scale(1.6); }
    .lat-item:hover .lat-dot { background: rgba(207,247,130,0.5); }
    .lat-line { width: 1px; height: 14px; background: rgba(255,255,255,0.06); margin-left: auto; margin-right: 1.5px; }
    .nav-logo { font-family: 'Syne', sans-serif; font-size: 1.3rem; font-weight: 600; color: #cff782; text-decoration: none; }
    .nav-back { display: flex; align-items: center; gap: 0.5rem; color: #888; text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
    .nav-back:hover { color: #cff782; }
    .nav-back svg { width: 14px; height: 14px; }
    .progress-bar { position: fixed; top: 64px; left: 0; height: 2px; background: #cff782; width: 0%; z-index: 299; transition: width 0.1s; }
    .hero-canvas-layer { position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; }
    #hero-canvas { display: block; width: 100%; height: 100%; }
    .proj-studio-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 3px; color: #cff782; margin-bottom: 1.2rem; }
    .proj-section:last-child { border-bottom: none; }
    .section-num { font-family: 'DM Mono', monospace; font-size: 0.72rem; color: rgba(207,247,130,0.4); letter-spacing: 2px; flex-shrink: 0; }
    .section-title { font-family: 'Syne', sans-serif; font-size: 2.8rem; font-weight: 700; color: #fff; line-height: 1.1; }
    .section-title em { font-style: normal; color: #cff782; }
    /* SLIDER (común; max-height/bordes por página) */
    .slider-wrap { position: relative; margin-top: 1rem; overflow: hidden; }
    .slider-track { display: flex; transition: transform 0.4s ease; }
    .slider-track img { min-width: 100%; width: 100%; height: auto; display: block; object-fit: contain; background: #0a0a12; cursor: pointer; }
    .slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(5,6,8,0.8); border: 1px solid rgba(207,247,130,0.3); color: #cff782; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 1rem; cursor: pointer; transition: all 0.2s; z-index: 10; }
    .slider-btn:hover { background: #cff782; color: #050606; border-color: #cff782; }
    .slider-btn.prev { left: 0.8rem; }
    .slider-btn.next { right: 0.8rem; }
    .slider-dots { display: flex; justify-content: center; gap: 0.5rem; padding: 0.7rem; }
    .slider-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.15); cursor: pointer; transition: background 0.2s; }
    .slider-dot.active { background: #cff782; }
    .slider-counter { position: absolute; bottom: 0.6rem; right: 1rem; font-family: 'DM Mono', monospace; font-size: 0.7rem; color: #555; z-index: 10; }
    .slider-caption { padding: 0.55rem 1rem; background: rgba(0,0,0,0.5); font-family: 'DM Mono', monospace; font-size: 0.68rem; color: #777; letter-spacing: 0.5px; min-height: 2rem; border-top: 1px solid rgba(255,255,255,0.04); }
    /* LIGHTBOX (común) */
    .lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 1000; align-items: center; justify-content: center; cursor: pointer; }
    .lightbox.open { display: flex; }
    .lightbox img { max-width: 95vw; max-height: 95vh; object-fit: contain; }
    .lightbox-close { position: fixed; top: 1.5rem; right: 2rem; color: #cff782; font-size: 2rem; cursor: pointer; line-height: 1; z-index: 1001; display: none; }
    .lightbox.open .lightbox-close { display: block; }
  html.is-touch * { cursor: auto !important; }
  html.is-touch #cur, html.is-touch #cur-ring { display: none !important; }
