/* ══════════════════════════════════════
       RESET & TOKENS
    ══════════════════════════════════════ */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --bg:           #080808;
      --card:         #101010;
      --border:       rgba(255,255,255,0.06);
      --border-hover: rgba(124,58,255,0.32);
      --accent:       #7C3AFF;
      --accent-light: #9d6aff;
      --accent-dim:   rgba(124,58,255,0.08);
      --text:         #f0f0f0;
      --muted:        #888;
      --muted2:       #555;
      --green:        #4ade80;
      --radius:       20px;
    }

    :focus-visible {
      outline: 2px solid var(--accent-light);
      outline-offset: 3px;
      border-radius: 4px;
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
    }

    html { scroll-behavior: smooth; }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: 'Poppins', sans-serif;
      min-height: 100vh;
      overflow-x: hidden;
    }

    /* noise overlay */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 0;
      opacity: 0.4;
      transform: translateZ(0);
    }

    /* ══════════════════════════════════════
       NAV — floating centered pill
    ══════════════════════════════════════ */
    #main-nav {
      position: fixed;
      top: 20px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 200;
      display: flex;
      align-items: center;
      background: rgba(8,8,8,0.12);
      backdrop-filter: blur(24px) saturate(1.6);
      -webkit-backdrop-filter: blur(24px) saturate(1.6);
      border: 1px solid rgba(255,255,255,0.10);
      border-radius: 100px;
      padding: 10px 10px 10px 24px;
      gap: 0;
      transition: background 0.3s, border-color 0.3s, top 0.3s, box-shadow 0.3s;
      white-space: nowrap;
    }
    #main-nav.scrolled {
      background: rgba(8,8,8,0.72);
      border-color: rgba(255,255,255,0.12);
      top: 12px;
      box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    }
    .nav-logo {
      font-size: 14px;
      font-weight: 800;
      letter-spacing: -0.03em;
      color: #fff;
      margin-right: 32px;
    }
    .nav-logo span { color: var(--accent-light); }
    .nav-links {
      display: flex;
      gap: 28px;
      list-style: none;
      margin-right: 24px;
    }
    .nav-links a {
      font-size: 12px;
      font-weight: 500;
      color: var(--muted);
      text-decoration: none;
      letter-spacing: 0.02em;
      transition: color 0.2s;
      position: relative;
      padding-bottom: 3px;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 1px;
      background: var(--accent-light);
      transition: width 0.3s ease;
    }
    .nav-links a:hover { color: #fff; }
    .nav-links a:hover::after { width: 100%; }

    /* Language toggle */
    .lang-toggle {
      background: none;
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 100px;
      padding: 6px 10px;
      cursor: pointer;
      color: var(--muted);
      font-size: 11px;
      font-family: 'DM Mono', monospace;
      display: flex;
      align-items: center;
      gap: 5px;
      margin-right: 10px;
      transition: color 0.2s, border-color 0.2s;
    }
    .lang-toggle:hover { color: var(--green); border-color: var(--green); }
    .lang-toggle svg { flex-shrink: 0; }
    .nav-cta {
      background: var(--accent);
      color: #fff;
      border-radius: 100px;
      padding: 9px 20px;
      font-size: 12px;
      font-weight: 600;
      text-decoration: none;
      transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    }
    .nav-cta:hover {
      background: var(--accent-light);
      transform: scale(1.04);
      box-shadow: 0 4px 18px rgba(124,58,255,0.45);
    }

    /* ── MOBILE BOTTOM PILL NAV ── */
    .nav-hamburger { display: none; } /* removed */
    .mob-nav {
      display: none;
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 200;
      background: rgba(12,10,18,0.82);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border: 1px solid rgba(255,255,255,0.09);
      border-radius: 100px;
      padding: 10px 8px;
      gap: 2px;
      align-items: center;
      box-shadow: 0 8px 40px rgba(0,0,0,0.55), 0 0 0 1px rgba(124,58,255,0.08);
    }
    .mob-nav-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 3px;
      padding: 7px 14px;
      border-radius: 80px;
      text-decoration: none;
      color: rgba(255,255,255,0.45);
      font-size: 9px;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      transition: color 0.2s, background 0.2s;
      white-space: nowrap;
      min-width: 44px;
      min-height: 44px;
      justify-content: center;
    }
    .mob-nav-item svg { width: 18px; height: 18px; stroke: currentColor; flex-shrink: 0; }
    .mob-nav-item:hover,
    .mob-nav-item.active {
      color: #fff;
      background: rgba(124,58,255,0.22);
    }
    .mob-nav-item.active svg { stroke: var(--accent-light); }
    /* Hablemos pill — accent */
    .mob-nav-item.mob-cta {
      background: var(--accent);
      color: #fff;
      padding: 7px 18px;
    }
    .mob-nav-item.mob-cta:hover { background: var(--accent-light); }
    @media (max-width: 640px) {
      .mob-nav { display: flex; }
    }
    /* hide old drawer */
    .nav-mobile-drawer { display: none !important; }

    /* ══════════════════════════════════════
       HERO — fullscreen staggered reveal
    ══════════════════════════════════════ */
    .hero {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 0 64px 80px;
      position: relative;
      overflow: hidden;
    }
    /* hero gradient background — purple/green noise glow */
    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 80% 65% at 75% 100%, rgba(124,58,255,0.95) 0%, rgba(124,58,255,0.4) 35%, transparent 62%),
        radial-gradient(ellipse 55% 50% at 100% 80%, rgba(0, 220, 110, 0.75) 0%, rgba(0,180,80,0.3) 40%, transparent 58%),
        radial-gradient(ellipse 60% 40% at 50% 105%, rgba(160,40,255,0.55) 0%, transparent 50%),
        radial-gradient(ellipse 35% 30% at 90% 100%, rgba(0, 255, 130, 0.4) 0%, transparent 45%);
      pointer-events: none;
      z-index: 0;
    }
    /* Left fade — mejora la legibilidad del texto del hero */
    .hero-fade-left {
      position: absolute;
      inset: 0;
      background: linear-gradient(to right,
        rgba(0,0,0,0.88) 0%,
        rgba(0,0,0,0.72) 18%,
        rgba(0,0,0,0.45) 36%,
        rgba(0,0,0,0.18) 52%,
        transparent 66%);
      z-index: 2;
      pointer-events: none;
    }
    @media (max-width: 768px) {
      .hero-fade-left {
        background: linear-gradient(to right,
          rgba(0,0,0,0.9) 0%,
          rgba(0,0,0,0.7) 45%,
          rgba(0,0,0,0.4) 80%,
          rgba(0,0,0,0.25) 100%);
      }
    }
    /* Bottom fade — smooth transition to next section */
    .hero-fade-bottom {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 160px;
      background: linear-gradient(to bottom, transparent 0%, var(--bg) 100%);
      z-index: 3;
      pointer-events: none;
    }
    /* grain texture overlay on hero */
    .hero::after {
      content: '';
      position: absolute;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)'/%3E%3C/svg%3E");
      background-size: 256px 256px;
      opacity: 0.055;
      pointer-events: none;
      z-index: 0;
      mix-blend-mode: overlay;
    }

    /* eyebrow label */
    .hero-eyebrow {
      font-family: 'DM Mono', monospace;
      font-size: 11px;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--accent-light);
      margin-bottom: 20px;
      opacity: 0;
      transform: translateY(14px);
      animation: fadeUp 0.6s ease forwards 0.05s;
    }

    /* giant name */
    .hero-title {
      font-family: 'Poppins', sans-serif;
      font-weight: 700;
      font-size: clamp(38px, 6.2vw, 108px);
      letter-spacing: -0.02em;
      line-height: 0.98;
      color: #fff;
      margin-bottom: 16px;
      overflow: visible;
      text-transform: uppercase;
    }
    .hero-title-line {
      display: block;
      overflow: hidden;
      padding-bottom: 0.04em; /* prevent descender clip */
    }
    .hero-word {
      display: block;
      opacity: 0;
      transform: translateX(-50px);
      will-change: opacity, transform;
      animation: wordReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    .hero-title-line:nth-child(1) .hero-word {
      animation-delay: 0.05s;
      font-family: 'Poppins', sans-serif;
      font-weight: 700;
      font-style: normal;
      color: #fff;
    }
    .hero-title-line:nth-child(2) .hero-word {
      animation-delay: 0.2s;
      font-family: 'Poppins', sans-serif;
      font-weight: 700;
      font-style: normal;
      color: #fff;
    }

    /* Hero logo PNG below title */
    .hero-logo-svg {
      margin-top: 18px;
      margin-bottom: 36px;
      max-width: 300px;
      width: 100%;
      opacity: 0;
      transform: translateY(14px);
      animation: fadeUp 0.6s ease forwards 0.7s;
    }
    .hero-logo-svg img {
      width: 100%;
      height: auto;
      display: block;
    }

    @keyframes wordReveal {
      to { opacity: 1; transform: translateX(0); }
    }
    @keyframes fadeUp {
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes fadeUpBlur {
      to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
    }

    /* hover removido del título — sin efecto */
    .hero-word { cursor: default; }

    /* Hero video background */
    .hero-bg-video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center center;
      background: #000;
      z-index: 0;
      pointer-events: none;
    }
    @media (max-width: 1024px) and (min-width: 641px) {
      .hero-bg-video { object-fit: cover; object-position: center center; }
    }

    /* Mobile role text (replaces DM logo) */
    .hero-role-mobile {
      display: none;
      font-family: 'DM Mono', monospace;
      font-size: 11px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--accent-light);
      margin-top: 10px;
      margin-bottom: 24px;
    }

    /* bottom bar */
    .hero-bottom {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
    }
    .hero-role { display: none; }
    .hero-actions {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
      flex-shrink: 0;
    }
    .hero-available {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(74,222,128,0.08);
      border: 1px solid rgba(74,222,128,0.2);
      border-radius: 100px;
      padding: 8px 16px;
      font-size: 11px;
      font-family: 'DM Mono', monospace;
      color: var(--green);
      text-decoration: none;
      transition: background 0.2s, border-color 0.2s;
      cursor: pointer;
      opacity: 0;
      transform: translateY(12px) scale(0.96);
      filter: blur(22px);
      will-change: opacity, transform, filter;
      animation: fadeUpBlur 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.95s;
    }
    .hero-available:hover {
      background: rgba(74,222,128,0.15);
      border-color: rgba(74,222,128,0.38);
    }
    .hero-available::before {
      content: '';
      width: 6px; height: 6px;
      border-radius: 50%;
      background: var(--green);
      box-shadow: 0 0 8px var(--green);
      animation: pulse 2s infinite;
    }
    @keyframes pulse {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.35; }
    }
    .hero-btn-row {
      display: flex;
      gap: 10px;
    }
    .hero-btn-row > .btn-primary,
    .hero-btn-row > .btn-secondary {
      opacity: 0;
      transform: translateY(12px) scale(0.96);
      filter: blur(22px);
      will-change: opacity, transform, filter;
      animation: fadeUpBlur 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    .hero-btn-row > .btn-primary   { animation-delay: 1.1s; }
    .hero-btn-row > .btn-secondary { animation-delay: 1.25s; }

    /* Constrain text to left half so portrait has room */
    .hero > div[style] {
      max-width: 68%;
      position: relative;
      z-index: 2;
    }



    /* ══════════════════════════════════════
       SHARED BUTTONS
    ══════════════════════════════════════ */
    .btn-primary {
      background: var(--accent);
      color: #fff;
      border: 1px solid var(--accent-light);
      border-radius: 100px;
      padding: 13px 28px;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: background 0.25s, border-color 0.25s, transform 0.2s, box-shadow 0.25s;
    }
    .btn-primary:hover {
      background: var(--accent-light);
      border-color: rgba(157,106,255,0.8);
      transform: translateY(-2px);
      box-shadow: 0 8px 28px rgba(124,58,255,0.45);
    }
    .btn-secondary {
      background: rgba(255,255,255,0.10);
      color: rgba(255,255,255,0.82);
      border: 1px solid rgba(255,255,255,0.20);
      border-radius: 100px;
      padding: 13px 28px;
      font-size: 13px;
      font-weight: 500;
      cursor: pointer;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      transition: background 0.25s, border-color 0.2s, color 0.2s, transform 0.2s;
    }
    .btn-secondary:hover {
      background: rgba(255,255,255,0.20);
      border-color: rgba(255,255,255,0.45);
      color: #fff;
      transform: translateY(-2px);
    }


    /* ══════════════════════════════════════
       WRAPPER
    ══════════════════════════════════════ */
    .wrapper {
      max-width: 1160px;
      margin: 0 auto;
      padding: 0 64px;
      position: relative;
      z-index: 1;
    }

    /* ══════════════════════════════════════
       SECTION LABELS
    ══════════════════════════════════════ */
    .wk-credit {
      max-width: 640px;
      margin: 14px 0 0;
      font-size: 13px;
      line-height: 1.55;
      color: rgba(255,255,255,0.45);
      letter-spacing: 0.01em;
    }
    @media (max-width: 768px) { .wk-credit { font-size: 12px; margin-top: 12px; } }
    .hero-value {
      max-width: 560px;
      margin: 0 0 40px;
      font-size: clamp(15px, 1.6vw, 17px);
      line-height: 1.6;
      color: #ffffff;
      text-shadow: 0 1px 2px rgba(0,0,0,0.55), 0 2px 12px rgba(0,0,0,0.45);
    }
    /* el hero mantiene su fondo oscuro también en tema claro */
    html.light .hero-value { color: #ffffff; text-shadow: 0 1px 2px rgba(0,0,0,0.55), 0 2px 12px rgba(0,0,0,0.45); }
    @media (max-width: 768px) { .hero-value { font-size: 14px; margin-bottom: 28px; } }
    .cases-section { padding: 96px 0; }
    .case-card {
      display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
      background: var(--card); border: 1px solid var(--border);
      border-radius: var(--radius); overflow: hidden; text-decoration: none;
      transition: border-color .3s, transform .3s;
    }
    .case-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
    .case-visual { position: relative; min-height: 380px; overflow: hidden; background: #0d0d0d; }
    .case-visual img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
    .case-card:hover .case-visual img { transform: scale(1.04); }
    .case-badge {
      position: absolute; top: 18px; left: 18px; z-index: 2;
      background: rgba(8,8,8,0.78); backdrop-filter: blur(8px);
      border: 1px solid rgba(255,255,255,0.14); color: #fff;
      font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
      padding: 7px 13px; border-radius: 999px;
    }
    .case-content { padding: 44px 42px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
    .case-label { font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 1.8px;
      text-transform: uppercase; color: var(--accent-light); }
    .case-name { font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; letter-spacing: -1.4px;
      line-height: 1.05; color: var(--text); }
    .case-desc { font-size: 15.5px; line-height: 1.62; color: var(--muted); }
    .case-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
    .case-tag { font-size: 11.5px; font-weight: 600; letter-spacing: .3px; color: var(--muted);
      border: 1px solid var(--border); border-radius: 999px; padding: 5px 11px; }
    .case-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px;
      color: var(--accent-light); font-weight: 700; font-size: 15px; }
    html.light .case-visual { background: #eee; }
    html.light .case-badge { background: rgba(255,255,255,0.86); border-color: rgba(0,0,0,0.12); color: #111; }
    @media (max-width: 900px) {
      .case-card { grid-template-columns: 1fr; }
      .case-visual { min-height: 260px; }
      .case-content { padding: 32px 26px; }
      .cases-section { padding: 72px 0; }
    }
    .section-label {
      font-family: 'DM Mono', monospace;
      font-size: 18px;
      font-weight: 500;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--muted2);
      margin-bottom: 40px;
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .section-label::before {
      content: '';
      width: 22px;
      height: 1px;
      background: var(--accent);
      flex-shrink: 0;
    }

    /* ══════════════════════════════════════
       STATS — animated counters
    ══════════════════════════════════════ */
    .stats-section {
      padding: 96px 0;
    }
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
    }
    .stat-block {
      padding: 40px;
      border: none;
    }
    .stat-block:first-child { padding-left: 0; }
    .stat-block:last-child  { padding-right: 0; }
    .stat-number {
      font-size: clamp(52px, 6vw, 84px);
      font-weight: 900;
      letter-spacing: -0.045em;
      color: #fff;
      line-height: 1;
      margin-bottom: 10px;
    }
    /* Subtle float animation for accent symbols */
    @keyframes floatSymbol {
      0%, 100% { transform: translateY(0) scale(1); }
      50%       { transform: translateY(-6px) scale(1.05); }
    }
    .stat-number .ac {
      color: var(--accent-light);
      display: inline-block;
      margin-left: 4px;
      animation: floatSymbol 3.5s ease-in-out infinite;
    }
    .stat-number .ac-globe svg {
      width: 0.7em;
      height: 0.7em;
      vertical-align: -0.05em;
    }
    .stat-desc {
      font-size: 12px;
      color: var(--muted);
      font-weight: 500;
      letter-spacing: 0.01em;
    }
    /* Stats slide in from right on scroll */
    .stat-block.reveal {
      opacity: 0;
      transform: translateX(60px);
      transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.16,1,0.3,1);
    }
    .stat-block.reveal.revealed {
      opacity: 1;
      transform: translateX(0);
    }
    .stats-grid .stat-block:nth-child(1).reveal { transition-delay: 0.05s; }
    .stats-grid .stat-block:nth-child(2).reveal { transition-delay: 0.15s; }
    .stats-grid .stat-block:nth-child(3).reveal { transition-delay: 0.25s; }
    .stats-grid .stat-block:nth-child(4).reveal { transition-delay: 0.35s; }

    /* ══════════════════════════════════════
       SHOWREEL
    ══════════════════════════════════════ */
    .showreel-section {
      padding: 96px 0;
    }

    /* ── WORK SECTION ── */
    .slides-section {
      padding: 96px 0 80px;
      overflow: hidden;
    }
    .slides-header { margin-bottom: 36px; }
    .wk-title {
      font-family: 'Big Shoulders Display', sans-serif;
      font-size: clamp(52px, 8vw, 100px);
      font-weight: 900;
      letter-spacing: -0.03em;
      color: #fff;
      line-height: 0.88;
      margin-bottom: 14px;
    }
    .wk-subtitle {
      font-family: 'DM Mono', monospace;
      font-size: 10px;
      letter-spacing: 0.18em;
      color: var(--muted);
      text-transform: uppercase;
      margin-bottom: 52px;
    }

    /* Category rows */
    .wk-cats { border-top: 1px solid rgba(255,255,255,0.06); }
    .wk-cat-row {
      display: flex;
      align-items: center;
      padding: 16px 0;
      border-bottom: 1px solid rgba(255,255,255,0.06);
      cursor: pointer;
      gap: 14px;
      transition: border-color 0.25s;
    }
    .wk-cat-row.active { border-bottom-color: rgba(124,58,255,0.35); }
    .wk-cat-num {
      font-family: 'DM Mono', monospace;
      font-size: 9px;
      color: var(--accent-light);
      width: 26px;
      flex-shrink: 0;
      letter-spacing: 0.06em;
    }
    .wk-cat-name {
      font-family: 'Big Shoulders Display', sans-serif;
      font-size: clamp(24px, 3.8vw, 52px);
      font-weight: 500;
      color: rgba(255,255,255,0.22);
      flex: 1;
      transition: color 0.25s;
      letter-spacing: -0.02em;
      line-height: 1;
    }
    .wk-cat-row.active .wk-cat-name,
    .wk-cat-row:hover .wk-cat-name { color: #fff; }
    .wk-cat-count {
      font-family: 'DM Mono', monospace;
      font-size: 9px;
      color: var(--muted);
      letter-spacing: 0.06em;
    }
    .wk-cat-chevron {
      flex-shrink: 0;
      width: 18px;
      height: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--muted);
      transition: transform 0.3s ease, color 0.25s;
    }
    .wk-cat-chevron svg { width: 14px; height: 14px; }
    .wk-cat-row.active .wk-cat-chevron { color: var(--accent-light); transform: rotate(180deg); }
    .wk-cat-row:hover .wk-cat-chevron { color: #fff; }

    /* Carousel stage */
    .wk-stage { margin-top: 44px; }
    .wk-carousel { display: none; position: relative; }
    .wk-carousel.active { display: block; }

    /* Alineación con el wrapper (max-width 1160 + padding 64) */
    .wk-gutter { padding-inline: max(64px, calc((100vw - 1160px) / 2 + 64px)); }

    /* Viewport: fila horizontal con scroll-snap */
    .wk-viewport {
      overflow-x: auto;
      overflow-y: hidden;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      scrollbar-width: none;
      -ms-overflow-style: none;
      -webkit-overflow-scrolling: touch;
      padding-block: 14px 20px;
      scroll-padding-inline: max(64px, calc((100vw - 1160px) / 2 + 64px));
    }
    .wk-viewport::-webkit-scrollbar { display: none; }

    .wk-track {
      display: flex;
      gap: 18px;
      width: max-content;
      padding-inline: max(64px, calc((100vw - 1160px) / 2 + 64px));
    }

    /* Cards */
    .wk-card {
      position: relative;
      flex: 0 0 auto;
      scroll-snap-align: start;
      border-radius: 18px;
      overflow: hidden;
      cursor: pointer;
      outline: none;
      border: 1px solid rgba(255,255,255,0.08);
      background: #0b0b10;
      transition: transform 0.45s cubic-bezier(0.16,1,0.3,1),
                  border-color 0.3s ease,
                  box-shadow 0.45s ease;
    }
    .wk-card:hover {
      transform: translateY(-6px);
      border-color: rgba(124,58,255,0.45);
      box-shadow: 0 22px 60px rgba(0,0,0,0.55), 0 0 42px rgba(124,58,255,0.18);
    }
    .wk-card:focus-visible { box-shadow: 0 0 0 3px var(--accent-light); }
    .wk-card img { transition: transform 0.7s cubic-bezier(0.16,1,0.3,1); }
    .wk-card:hover img { transform: scale(1.06); }
    /* Velo inferior solo en las tarjetas de video, donde hay un titulo que leer.
       Las de imagen no llevan texto encima, asi que van limpias. */
    .wk-card-vid::after {
      content: '';
      position: absolute;
      left: 0; right: 0; bottom: 0;
      height: 42%;
      background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.28) 55%, transparent 100%);
      pointer-events: none;
      z-index: 2;
    }

    /* Badge superior */
    .wk-badge {
      position: absolute; top: 12px; left: 12px; z-index: 3;
      display: inline-flex; align-items: center; gap: 5px;
      padding: 5px 10px;
      border-radius: 100px;
      background: rgba(0,0,0,0.55);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1px solid rgba(255,255,255,0.12);
      font-family: 'DM Mono', monospace;
      font-size: 9px; letter-spacing: 0.09em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.88);
      pointer-events: none;
    }
    .wk-badge i { font-style: normal; color: var(--accent-light); }

    /* Video card (9:16 vertical) */
    .wk-card-vid {
      width: clamp(178px, 20vw, 232px);
      aspect-ratio: 9 / 16;
      background: linear-gradient(135deg, #080610 0%, #100820 100%);
      display: flex; align-items: center; justify-content: center;
    }
    /* Placeholder de vumbnail (16:9): rellena. Al llegar el thumbnail real 9:16
       se marca .is-real y se muestra completo, sin recorte ni zoom. */
    .wk-vid-thumb {
      position: absolute; inset: 0;
      width: 100%; height: 100%;
      object-fit: cover;
      z-index: 1;
    }
    .wk-vid-thumb.is-real { object-fit: contain; }
    /* Copia ampliada y desenfocada detrás, para rellenar en vez de dejar barras negras */
    .wk-vid-blur {
      position: absolute; inset: 0;
      width: 100%; height: 100%;
      object-fit: cover;
      filter: blur(24px) saturate(1.25);
      transform: scale(1.18);
      opacity: 0.5;
      z-index: 0;
      pointer-events: none;
    }
    .wk-card:hover .wk-vid-blur { transform: scale(1.24); }
    .wk-play-btn {
      width: 54px; height: 54px;
      border-radius: 50%;
      background: rgba(124,58,255,0.55);
      border: 1.5px solid rgba(124,58,255,0.8);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      box-shadow: 0 0 28px rgba(124,58,255,0.35);
      display: flex; align-items: center; justify-content: center;
      position: relative; z-index: 3;
      transition: background 0.25s, transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    }
    .wk-card:hover .wk-play-btn {
      transform: scale(1.12);
      background: rgba(124,58,255,0.82);
      box-shadow: 0 0 38px rgba(124,58,255,0.55);
    }
    .wk-play-btn svg { width: 18px; height: 18px; fill: #fff; margin-left: 3px; }
    .wk-vid-label {
      position: absolute; bottom: 14px; left: 14px; right: 14px;
      font-family: 'DM Mono', monospace; font-size: 10px;
      color: #fff; letter-spacing: 0.06em;
      text-transform: uppercase; z-index: 3; line-height: 1.35;
    }

    /* Digital card (9:16 vertical) */
    .wk-card-dig {
      width: clamp(178px, 20vw, 232px);
      aspect-ratio: 9 / 16;
    }
    .wk-card-dig img { width: 100%; height: 100%; object-fit: cover; display: block; }

    /* Logo card (horizontal) */
    .wk-card-logo {
      width: clamp(210px, 24vw, 286px);
      aspect-ratio: 4 / 3;
      background: #fff;
    }
    .wk-card-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }

    /* ── Tarjetas de video en reproduccion continua ──
       Son piezas de entrada del carrusel: se reproducen solas, sin controles
       y sin abrir el lightbox. Por eso no llevan cursor de mano ni foco. */
    .wk-card-inline {
      width: clamp(178px, 20vw, 232px);
      aspect-ratio: 9 / 16;
      cursor: default;
      background: #0b0b10;
    }
    .wk-card-inline video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      background: #0b0b10;
      transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
    }
    .wk-card-inline:hover video { transform: scale(1.04); }
    /* Version horizontal: conserva 16:9 y no se estira al alto de la fila */
    .wk-card-inline.wk-card-wide {
      width: clamp(300px, 46vw, 600px);
      aspect-ratio: 16 / 9;
      align-self: center;
    }

    /* Nav: dots a la izquierda, flechas a la derecha */
    .wk-nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      margin-top: 22px;
      padding-inline: max(64px, calc((100vw - 1160px) / 2 + 64px));
    }
    .wk-dots {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-wrap: wrap;
    }
    .wk-dot {
      height: 6px;
      width: 8px;
      border-radius: 100px;
      background: rgba(255,255,255,0.22);
      transition: width 0.3s ease, background 0.3s ease;
      border: none; padding: 0; cursor: pointer; flex-shrink: 0;
    }
    .wk-dot:hover { background: rgba(255,255,255,0.45); }
    .wk-dot.active { width: 28px; background: var(--accent-light); }
    .wk-arrows { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
    .wk-arrow {
      width: 42px; height: 42px;
      border-radius: 50%;
      background: var(--accent);
      border: 1px solid var(--accent);
      color: #fff;
      font-size: 16px;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 6px 20px rgba(124,58,255,0.35);
      transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.12s;
    }
    .wk-arrow:hover {
      background: var(--accent-light);
      border-color: var(--accent-light);
      box-shadow: 0 8px 28px rgba(124,58,255,0.55);
    }
    .wk-arrow:active { transform: scale(0.92); }
    .wk-arrow[disabled] { opacity: 0.28; cursor: default; box-shadow: none; }
    .wk-arrow[disabled]:hover { background: var(--accent); border-color: var(--accent); box-shadow: none; }

    /* Lightbox */
    .wk-lightbox {
      display: none;
      position: fixed; inset: 0;
      background: rgba(0,0,0,0.93);
      z-index: 2000;
      align-items: center; justify-content: center;
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
    }
    .wk-lightbox.open { display: flex; }
    .wk-lb-close {
      position: fixed; top: 20px; right: 20px;
      width: 48px; height: 48px; border-radius: 50%;
      background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
      color: #fff; font-size: 20px; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: background 0.2s, transform 0.2s; z-index: 2001; line-height: 1;
    }
    .wk-lb-close:hover { background: rgba(255,255,255,0.25); transform: scale(1.08); }
    .wk-lb-video {
      width: min(380px, 90vw);
      aspect-ratio: 9 / 16;
      border-radius: 16px; overflow: hidden;
      box-shadow: 0 24px 80px rgba(0,0,0,0.7);
    }
    .wk-lb-video iframe { width: 100%; height: 100%; border: none; display: block; }
    .wk-lb-img {
      display: none;
      max-width: 92vw; max-height: 82vh;
      width: auto; height: auto;
      border-radius: 14px; object-fit: contain;
      box-shadow: 0 24px 80px rgba(0,0,0,0.7);
    }
    .wk-lightbox.img-mode .wk-lb-video { display: none; }
    .wk-lightbox.img-mode .wk-lb-img  { display: block; }
    .wk-lb-stage {
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      max-width: 100%;
    }
    .wk-lb-meta { margin-top: 16px; text-align: center; }
    .wk-lb-title {
      font-family: 'DM Mono', monospace;
      font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
      color: #fff; margin: 0 0 6px;
    }
    .wk-lb-count {
      font-family: 'DM Mono', monospace;
      font-size: 10px; letter-spacing: 0.1em;
      color: rgba(255,255,255,0.45); margin: 0;
    }
    .wk-lb-nav {
      position: fixed; top: 50%; transform: translateY(-50%);
      width: 48px; height: 48px; border-radius: 50%;
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.18);
      color: #fff; font-size: 18px; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: background 0.2s, border-color 0.2s; z-index: 2001;
    }
    .wk-lb-nav:hover { background: rgba(124,58,255,0.45); border-color: var(--accent-light); }
    .wk-lb-prev { left: 24px; }
    .wk-lb-next { right: 24px; }
    @media (max-width: 640px) {
      .wk-lb-nav { width: 40px; height: 40px; }
      .wk-lb-prev { left: 10px; }
      .wk-lb-next { right: 10px; }
    }

    /* Responsive */
    @media (max-width: 640px) {
      .slides-section { padding: 64px 0 56px; }
      .wk-title { font-size: clamp(40px, 13vw, 60px); }
      .wk-subtitle { margin-bottom: 32px; }
      .wk-cat-name { font-size: clamp(20px, 7vw, 32px); }
      .wk-track { gap: 12px; padding-inline: 20px; }
      .wk-viewport { scroll-padding-inline: 20px; }
      .wk-nav { padding-inline: 20px; margin-top: 18px; }
      .wk-card-vid, .wk-card-dig { width: 158px; }
      .wk-card-logo { width: 208px; }
      .wk-play-btn { width: 44px; height: 44px; }
      .wk-play-btn svg { width: 15px; height: 15px; }
      .wk-vid-label { font-size: 9px; bottom: 11px; left: 11px; right: 11px; }
      .wk-badge { font-size: 8px; padding: 4px 8px; top: 9px; left: 9px; }
      .wk-arrow { width: 36px; height: 36px; font-size: 13px; }
      .wk-lb-video { width: min(300px, 94vw); }
    }
    @media (max-width: 860px) and (min-width: 641px) {
      .wk-track { gap: 14px; padding-inline: 28px; }
      .wk-viewport { scroll-padding-inline: 28px; }
      .wk-nav { padding-inline: 28px; }
      .wk-card-vid, .wk-card-dig { width: 186px; }
      .wk-card-logo { width: 240px; }
    }
    @media (max-width: 1160px) and (min-width: 861px) {
      .wk-track { padding-inline: 40px; }
      .wk-viewport { scroll-padding-inline: 40px; }
      .wk-nav { padding-inline: 40px; }
    }
    .showreel-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      margin-bottom: 32px;
      gap: 16px;
    }
    .showreel-title {
      font-size: clamp(36px, 4.5vw, 60px);
      font-weight: 900;
      letter-spacing: -0.035em;
      color: #fff;
      line-height: 1;
    }
    .reel-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: var(--accent-dim);
      border: 1px solid rgba(124,58,255,0.22);
      border-radius: 100px;
      padding: 6px 14px;
      font-size: 10px;
      font-family: 'DM Mono', monospace;
      color: var(--accent-light);
      flex-shrink: 0;
      margin-bottom: 6px;
    }
    .reel-embed {
      width: 100%;
      aspect-ratio: 16/9;
      border-radius: var(--radius);
      overflow: hidden;
      border: 1px solid var(--border);
    }
    .reel-embed iframe {
      width: 100%;
      height: 100%;
      border: none;
      display: block;
    }

    /* ══════════════════════════════════════
       ABOUT + STACK
    ══════════════════════════════════════ */
    .about-section {
      padding: 96px 0;
      border-bottom: 1px solid var(--border);
      overflow-x: clip;
    }
    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: start;
    }
    .about-text {
      font-size: 15px;
      color: #b0b0b0;
      line-height: 1.88;
    }
    .about-text strong { color: #fff; font-weight: 600; }

    /* Retrato 1:1 sobre las aptitudes */
    .about-portrait {
      position: relative;
      width: 100%;
      max-width: 340px;
      aspect-ratio: 1 / 1;
      border-radius: 24px;
      overflow: hidden;
      margin-bottom: 32px;
      background:
        radial-gradient(ellipse 90% 70% at 50% 110%, rgba(124,58,255,0.45) 0%, transparent 65%),
        radial-gradient(ellipse 60% 50% at 85% 15%, rgba(74,222,128,0.14) 0%, transparent 60%),
        linear-gradient(160deg, #14142b 0%, #0b0b18 100%);
      box-shadow: 0 0 40px rgba(124,58,255,0.14), 0 18px 40px rgba(0,0,0,0.35);
    }
    .about-portrait img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      display: block;
    }
    /* grano sutil, coherente con el resto del sitio */
    .about-portrait::after {
      content: '';
      position: absolute;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)'/%3E%3C/svg%3E");
      background-size: 200px 200px;
      opacity: 0.07;
      pointer-events: none;
      mix-blend-mode: overlay;
    }

    .stack-group { margin-bottom: 24px; }
    .stack-group:last-child { margin-bottom: 0; }
    .stack-group-label {
      font-family: 'DM Mono', monospace;
      font-size: 9px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--accent-light);
      margin-bottom: 10px;
    }
    .tags-wrap { display: flex; flex-wrap: wrap; gap: 7px; }
    .tag {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      background: rgba(124,58,255,0.1);
      border: 1px solid rgba(124,58,255,0.2);
      color: var(--accent-light);
      border-radius: 100px;
      padding: 5px 13px;
      font-size: 11px;
      font-weight: 500;
      white-space: nowrap;
      font-family: 'DM Mono', monospace;
    }
    .tag-neutral {
      background: rgba(255,255,255,0.04);
      border-color: var(--border);
      color: var(--muted);
    }
    .tag-green {
      background: rgba(74,222,128,0.1);
      border-color: rgba(74,222,128,0.25);
      color: var(--green);
    }
    .tag:hover {
      box-shadow: 0 0 14px rgba(74,222,128,0.35);
      border-color: rgba(74,222,128,0.5);
      color: var(--green);
      transition: all 0.2s;
    }

    /* ══════════════════════════════════════
       QUOTES INTERSTITIAL
    ══════════════════════════════════════ */
    /* ── Quotes: oval pill con verde/morado ── */
    .quotes-section {
      padding: 72px 20px;
      position: relative;
      overflow: visible;
      background: transparent;
    }
    /* Oval container */
    .quotes-oval-container {
      max-width: 920px;
      margin: 0 auto;
      border-radius: 50% / 20%;
      overflow: hidden;
      position: relative;
      padding: 90px 80px;
      background: #08081a;
      box-shadow:
        0 0 0 1px rgba(124,58,255,0.22),
        0 0 60px rgba(124,58,255,0.14),
        0 0 100px rgba(74,222,128,0.07),
        0 30px 80px rgba(0,0,0,0.4);
    }
    /* Grain noise overlay */
    .quotes-oval-container::after {
      content: '';
      position: absolute;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)'/%3E%3C/svg%3E");
      background-size: 200px 200px;
      opacity: 0.06;
      pointer-events: none;
      z-index: 3;
      mix-blend-mode: overlay;
    }
    /* Lava blobs */
    .quotes-blob {
      position: absolute;
      border-radius: 50%;
      filter: blur(72px);
      pointer-events: none;
      z-index: 0;
    }
    /* Left blob → verde */
    .quotes-blob-1 {
      width: 55%; height: 130%;
      background: radial-gradient(circle, rgba(74,222,128,0.65) 0%, rgba(0,180,80,0.30) 45%, transparent 70%);
      top: -15%; left: -8%;
      animation: lava1 11s ease-in-out infinite alternate;
    }
    /* Right blob → morado */
    .quotes-blob-2 {
      width: 50%; height: 130%;
      background: radial-gradient(circle, rgba(157,106,255,0.65) 0%, rgba(124,58,255,0.30) 50%, transparent 72%);
      top: -15%; right: -8%;
      animation: lava2 14s ease-in-out infinite alternate;
    }
    .quotes-blob-3 {
      width: 35%; height: 80%;
      background: radial-gradient(circle, rgba(100,50,200,0.35) 0%, transparent 68%);
      top: 20%; left: 35%;
      animation: lava3 9s ease-in-out infinite alternate;
    }
    @keyframes lava1 {
      0%   { transform: translate(0,   0)   scale(1); }
      33%  { transform: translate(8%,  12%) scale(1.12); }
      66%  { transform: translate(-5%, 8%)  scale(0.95); }
      100% { transform: translate(10%, -5%) scale(1.08); }
    }
    @keyframes lava2 {
      0%   { transform: translate(0,   0)    scale(1); }
      30%  { transform: translate(-10%,-8%)  scale(1.15); }
      65%  { transform: translate(6%,  10%)  scale(0.92); }
      100% { transform: translate(-8%, 5%)   scale(1.1); }
    }
    @keyframes lava3 {
      0%   { transform: translate(0,  0)   scale(1); }
      40%  { transform: translate(-8%,10%) scale(1.2); }
      80%  { transform: translate(10%,-5%) scale(0.88); }
      100% { transform: translate(4%, 8%)  scale(1.05); }
    }
    .quotes-bg-video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 0;
      opacity: 0.7;
    }
    .quotes-overlay {
      position: absolute;
      inset: 0;
      background: rgba(8,8,26,0.55);
      z-index: 1;
    }
    .quotes-oval-container .wrapper,
    .quotes-section .wrapper {
      position: relative;
      z-index: 2;
    }
    .quotes-inner {
      position: relative;
      min-height: 160px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .quote-slide {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 0 40px;
      transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
      will-change: transform, opacity;
    }
    .quote-slide.state-right  { transform: translateX(60px);  opacity: 0; pointer-events: none; }
    .quote-slide.state-active { transform: translateX(0);     opacity: 1; pointer-events: auto; }
    .quote-slide.state-left   { transform: translateX(-60px); opacity: 0; pointer-events: none; }
    .quote-es {
      font-size: clamp(15px, 1.8vw, 21px);
      font-weight: 600;
      color: #fff;
      line-height: 1.5;
      margin-bottom: 14px;
      letter-spacing: -0.01em;
      max-width: 680px;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      overflow: hidden;
    }
    .quote-attribution {
      font-family: 'DM Mono', monospace;
      font-size: 10px;
      color: var(--accent-light);
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }
    .quotes-caption {
      font-family: 'DM Mono', monospace;
      font-size: 10px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.28);
      text-align: center;
      margin-top: 20px;
      position: relative;
      z-index: 1;
    }
    .quotes-caption::before {
      content: '✦ ';
      color: rgba(124,58,255,0.5);
    }

    /* ══════════════════════════════════════
       PROJECTS
    ══════════════════════════════════════ */
    .projects-section {
      padding: 96px 0;
      border-bottom: 1px solid var(--border);
    }
    .section-title-big {
      font-size: clamp(36px, 4.5vw, 56px);
      font-weight: 900;
      letter-spacing: -0.035em;
      color: #fff;
      line-height: 1;
    }

    /* Lumyn featured card */
    .project-card-lumyn {
      background: linear-gradient(135deg, #0e0818 0%, #0d0d14 100%);
      border: 1px solid rgba(124,58,255,0.2);
      border-radius: var(--radius);
      display: grid;
      grid-template-columns: 1fr 360px;
      overflow: hidden;
      transition: border-color 0.3s, transform 0.4s, box-shadow 0.4s;
      position: relative;
    }
    .project-card-lumyn:hover {
      border-color: rgba(124,58,255,0.5);
      transform: translateY(-5px);
      box-shadow: 0 20px 60px rgba(124,58,255,0.12);
    }
    /* hover overlay glow */
    .project-card-lumyn::after {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse at 50% 50%, rgba(124,58,255,0.07) 0%, transparent 60%);
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.4s;
    }
    .project-card-lumyn:hover::after { opacity: 1; }

    .lumyn-visual {
      grid-column: 2;
      grid-row: 1;
      background: #080812;
      border-left: 1px solid rgba(124,58,255,0.15);
      position: relative;
      overflow: hidden;
      min-height: 260px;
    }
    .lumyn-visual picture { display: block; width: 100%; height: 100%; }
    .lumyn-visual img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center center;
      display: block;
      transition: transform 0.5s ease, filter 0.5s ease;
      filter: brightness(0.9) saturate(1.1);
    }
    .project-card-lumyn:hover .lumyn-visual img {
      transform: scale(1.04);
      filter: brightness(1) saturate(1.2);
    }
    .lumyn-visual-badge {
      position: absolute;
      top: 14px;
      left: 14px;
      font-family: 'DM Mono', monospace;
      font-size: 9px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--accent-light);
      background: rgba(0,0,0,0.65);
      border: 1px solid rgba(124,58,255,0.35);
      border-radius: 4px;
      padding: 4px 8px;
      backdrop-filter: blur(6px);
    }
    .lumyn-content {
      grid-column: 1;
      grid-row: 1;
      padding: 44px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .project-label {
      font-family: 'DM Mono', monospace;
      font-size: 9px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--accent-light);
      margin-bottom: 14px;
    }
    .lumyn-name {
      font-size: 36px;
      font-weight: 900;
      letter-spacing: -0.035em;
      color: #fff;
      line-height: 1.05;
      margin-bottom: 14px;
    }
    .lumyn-name span { color: var(--accent-light); }
    .lumyn-tagline {
      font-size: 13px;
      color: #888;
      line-height: 1.72;
      max-width: 340px;
      margin-bottom: 28px;
    }
    .lumyn-btn {
      display: inline-block;
      padding: 11px 26px;
      border-radius: 100px;
      background: rgba(124,58,255,0.12);
      border: 1px solid rgba(124,58,255,0.4);
      color: var(--accent-light);
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.01em;
      transition: background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
    }
    .project-card-lumyn:hover .lumyn-btn {
      background: rgba(124,58,255,0.22);
      border-color: rgba(124,58,255,0.7);
      color: #fff;
      box-shadow: 0 0 18px rgba(124,58,255,0.25);
    }

    /* Cyberpunk project card */
    .project-card-cyber {
      background: linear-gradient(135deg, #0a0a14 0%, #12081f 100%);
      border: 1px solid rgba(124,58,255,0.2);
      border-radius: var(--radius);
      display: grid;
      grid-template-columns: 1fr 360px;
      overflow: hidden;
      transition: border-color 0.3s, transform 0.4s, box-shadow 0.4s;
      position: relative;
      margin-top: 24px;
    }
    .project-card-cyber:hover {
      border-color: rgba(124,58,255,0.5);
      transform: translateY(-5px);
      box-shadow: 0 20px 60px rgba(124,58,255,0.14);
    }
    .project-card-cyber::after {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse at 50% 50%, rgba(124,58,255,0.08) 0%, transparent 60%);
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.4s;
    }
    .project-card-cyber:hover::after { opacity: 1; }
    .cyber-visual {
      grid-column: 2;
      grid-row: 1;
      background: #08060f;
      border-left: 1px solid rgba(124,58,255,0.14);
      overflow: hidden;
      position: relative;
      min-height: 260px;
    }
    .cyber-visual img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center center;
      display: block;
      transition: transform 0.5s ease, filter 0.5s ease;
      filter: brightness(0.9) saturate(1.1);
    }
    .project-card-cyber:hover .cyber-visual img {
      transform: scale(1.04);
      filter: brightness(1) saturate(1.2);
    }
    .cyber-visual-badge {
      position: absolute;
      top: 14px;
      left: 14px;
      font-family: 'DM Mono', monospace;
      font-size: 9px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--accent-light);
      background: rgba(0,0,0,0.65);
      border: 1px solid rgba(124,58,255,0.35);
      border-radius: 4px;
      padding: 4px 8px;
      backdrop-filter: blur(6px);
    }
    .cyber-content {
      grid-column: 1;
      grid-row: 1;
      padding: 44px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .cyber-label { color: var(--accent-light); }
    .cyber-name {
      font-size: 36px;
      font-weight: 900;
      letter-spacing: -0.035em;
      color: #fff;
      line-height: 1.05;
      margin-bottom: 14px;
    }
    .cyber-name span { color: var(--accent-light); }
    .cyber-btn {
      display: inline-block;
      padding: 11px 26px;
      border-radius: 100px;
      background: rgba(124,58,255,0.12);
      border: 1px solid rgba(124,58,255,0.4);
      color: var(--accent-light);
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.01em;
      transition: background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
    }
    .project-card-cyber:hover .cyber-btn {
      background: rgba(124,58,255,0.22);
      border-color: rgba(124,58,255,0.7);
      color: #fff;
      box-shadow: 0 0 18px rgba(124,58,255,0.25);
    }
    @media (max-width: 860px) {
      .project-card-cyber { grid-template-columns: 1fr; }
      .cyber-visual { grid-column: 1; grid-row: 1; min-height: 180px; border-left: none; border-bottom: 1px solid rgba(124,58,255,0.14); }
      .cyber-content { grid-column: 1; grid-row: 2; padding: 28px; }
    }

    /* CryptoStart card — mismo patron que cyber, acentos morados en vez de naranja */
    .project-card-crypto {
      background: linear-gradient(135deg, #0a0a14 0%, #12081f 100%);
      border: 1px solid rgba(124,58,255,0.2);
      border-radius: var(--radius);
      display: grid;
      grid-template-columns: 1fr 360px;
      overflow: hidden;
      transition: border-color 0.3s, transform 0.4s, box-shadow 0.4s;
      position: relative;
      margin-top: 24px;
    }
    .project-card-crypto:hover {
      border-color: rgba(124,58,255,0.5);
      transform: translateY(-5px);
      box-shadow: 0 20px 60px rgba(124,58,255,0.14);
    }
    .project-card-crypto::after {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse at 50% 50%, rgba(124,58,255,0.08) 0%, transparent 60%);
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.4s;
    }
    .project-card-crypto:hover::after { opacity: 1; }
    .crypto-visual {
      grid-column: 2;
      grid-row: 1;
      background: #08060f;
      border-left: 1px solid rgba(124,58,255,0.14);
      overflow: hidden;
      position: relative;
      min-height: 260px;
    }
    .crypto-visual img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 35%;
      display: block;
      transition: transform 0.5s ease, filter 0.5s ease;
      filter: brightness(0.9) saturate(1.1);
    }
    .project-card-crypto:hover .crypto-visual img {
      transform: scale(1.04);
      filter: brightness(1) saturate(1.2);
    }
    .crypto-visual-badge {
      position: absolute;
      top: 14px;
      left: 14px;
      font-family: 'DM Mono', monospace;
      font-size: 9px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--accent-light);
      background: rgba(0,0,0,0.65);
      border: 1px solid rgba(124,58,255,0.35);
      border-radius: 4px;
      padding: 4px 8px;
      backdrop-filter: blur(6px);
    }
    .crypto-content {
      grid-column: 1;
      grid-row: 1;
      padding: 44px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .crypto-label { color: var(--accent-light); }
    .crypto-name {
      font-size: 36px;
      font-weight: 900;
      letter-spacing: -0.035em;
      color: #fff;
      line-height: 1.05;
      margin-bottom: 14px;
    }
    .crypto-name span { color: var(--accent-light); }
    .crypto-btn {
      display: inline-block;
      padding: 11px 26px;
      border-radius: 100px;
      background: rgba(124,58,255,0.12);
      border: 1px solid rgba(124,58,255,0.4);
      color: var(--accent-light);
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.01em;
      transition: background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
    }
    .project-card-crypto:hover .crypto-btn {
      background: rgba(124,58,255,0.22);
      border-color: rgba(124,58,255,0.7);
      color: #fff;
      box-shadow: 0 0 18px rgba(124,58,255,0.25);
    }
    @media (max-width: 860px) {
      .project-card-crypto { grid-template-columns: 1fr; }
      .crypto-visual { grid-column: 1; grid-row: 1; min-height: 180px; border-left: none; border-bottom: 1px solid rgba(124,58,255,0.14); }
      .crypto-content { grid-column: 1; grid-row: 2; padding: 28px; }
    }

    /* ══════════════════════════════════════
       EXPERIENCE — TIMELINE
    ══════════════════════════════════════ */
    .experience-section {
      padding: 96px 0;
    }
    .exp-layout {
      display: grid;
      grid-template-columns: 260px 1fr;
      gap: 0;
    }
    .exp-sidebar {
      padding-right: 64px;
      padding-top: 6px;
    }
    .exp-sidebar-title {
      font-size: clamp(28px, 3.2vw, 44px);
      font-weight: 900;
      letter-spacing: -0.035em;
      color: #fff;
      line-height: 1.12;
      margin-bottom: 18px;
      text-transform: uppercase;
    }
    .exp-sidebar-desc {
      font-size: 12px;
      color: var(--muted);
      line-height: 1.75;
    }
    .timeline {
      padding-left: 64px;
      position: relative;
    }
    .timeline-line {
      position: absolute;
      left: 64px;
      top: 10px;
      bottom: 0;
      width: 1px;
      background: var(--border);
    }
    .timeline-item {
      position: relative;
      padding-left: 40px;
      padding-bottom: 52px;
    }
    .timeline-item:last-child { padding-bottom: 0; }
    .timeline-dot {
      position: absolute;
      left: -5px;
      top: 9px;
      width: 11px;
      height: 11px;
      border-radius: 50%;
      background: var(--green);
      border: 2px solid var(--bg);
      box-shadow: 0 0 0 1px var(--green);
      transition: transform 0.2s, box-shadow 0.2s;
    }
    .timeline-item:hover .timeline-dot {
      transform: scale(1.35);
      box-shadow: 0 0 0 2px var(--green), 0 0 12px rgba(74,222,128,0.5);
    }
    @keyframes dotFlash {
      0%   { box-shadow: 0 0 0 1px var(--green); }
      40%  { box-shadow: 0 0 0 3px var(--green), 0 0 22px rgba(74,222,128,0.8); transform: scale(1.5); }
      100% { box-shadow: 0 0 0 1px var(--green); transform: scale(1); }
    }
    .timeline-dot.flashing { animation: dotFlash 0.7s ease forwards; }
    /* "Otras agencias" muted dot turns green when scrolled into view */
    .timeline-dot--muted.dot-revealed {
      background: var(--green);
      box-shadow: 0 0 0 1px var(--green);
    }
    .timeline-dot--muted.dot-revealed.flashing {
      animation: dotFlash 0.7s ease forwards;
    }
    .timeline-dot--muted {
      background: var(--muted2);
      box-shadow: 0 0 0 1px var(--muted2);
      transition: background 0.4s, box-shadow 0.4s;
    }
    .timeline-header {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 4px;
    }
    .timeline-company {
      font-size: 17px;
      font-weight: 700;
      color: #fff;
    }
    .timeline-date {
      font-family: 'DM Mono', monospace;
      font-size: 10px;
      color: var(--muted2);
      white-space: nowrap;
      background: rgba(255,255,255,0.04);
      border-radius: 6px;
      padding: 3px 8px;
    }
    .timeline-role {
      font-family: 'DM Mono', monospace;
      font-size: 10px;
      color: var(--accent-light);
      letter-spacing: 0.06em;
      margin-bottom: 12px;
    }
    .timeline-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 5px;
    }
    .timeline-list li {
      font-size: 12px;
      color: #666;
      padding-left: 14px;
      position: relative;
      line-height: 1.55;
    }
    .timeline-list li::before {
      content: '·';
      position: absolute;
      left: 2px;
      color: var(--accent);
      font-weight: 700;
    }
    .timeline-other {
      font-size: 12px;
      color: #888;
      line-height: 1.65;
    }

    /* ══════════════════════════════════════
       FOOTER / CONTACTO
    ══════════════════════════════════════ */
    .footer-section {
      padding: 0;
      position: relative;
    }
    /* Footer gradient — purple/green like hero */
    .footer-section::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 70% 50% at 20% 100%, rgba(124,58,255,0.7) 0%, rgba(124,58,255,0.25) 40%, transparent 65%),
        radial-gradient(ellipse 45% 40% at 0% 80%, rgba(0,220,110,0.55) 0%, rgba(0,180,80,0.2) 45%, transparent 62%),
        radial-gradient(ellipse 50% 35% at 85% 100%, rgba(157,106,255,0.4) 0%, transparent 55%);
      pointer-events: none;
      z-index: 0;
    }
    .footer-section .wrapper,
    .footer-section > * { position: relative; z-index: 1; }

    /* Big CTA block — full viewport width, parallax container */
    .footer-cta-block {
      min-height: 560px;
      position: relative;
      overflow: hidden;
      width: 100vw;
      margin-left: calc(-50vw + 50%);
      display: flex;
      align-items: center;
      isolation: isolate;
    }
    /* Background video layer */
    .contact-bg-video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center center;
      pointer-events: none;
      z-index: 0;
    }
    /* Cinematic overlay: dark vignette + purple tint */
    .footer-cta-block::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        linear-gradient(to right, rgba(8,8,8,0.92) 0%, rgba(8,8,8,0.65) 55%, rgba(8,8,8,0.85) 100%),
        linear-gradient(to bottom, rgba(8,8,8,0.4) 0%, transparent 30%, transparent 70%, rgba(8,8,8,0.6) 100%);
      z-index: 1;
      pointer-events: none;
    }
    /* inner centering wrapper — all content lives here */
    .footer-cta-inner {
      position: relative;
      z-index: 2;
      width: 100%;
      max-width: 1160px;
      margin: 0 auto;
      padding: 80px 64px;
      text-align: center;
    }
    .footer-cta-inner .footer-contact-row {
      justify-content: center;
    }
    .footer-cta-inner .footer-cta-tag {
      justify-content: center;
    }
    .footer-cta-sub {
      margin-left: auto;
      margin-right: auto;
    }
    @media (max-width: 860px) {
      .footer-cta-inner { padding: 72px 40px; }
      .contact-bg-video { object-position: center center; }
    }
    @media (max-width: 640px) {
      .footer-cta-inner { padding: 64px 20px; }
      .contact-bg-video { object-position: center center; }
    }
    .footer-cta-tag {
      font-family: 'DM Mono', monospace;
      font-size: 10px;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.55);
      margin-bottom: 24px;
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .footer-cta-tag::before { content: ''; width: 22px; height: 1px; background: var(--accent-light); }
    .footer-cta-title {
      font-size: clamp(32px, 4.8vw, 68px);
      font-weight: 900;
      letter-spacing: -0.04em;
      line-height: 0.92;
      color: #fff;
      margin-bottom: 28px;
      text-transform: uppercase;
    }
    .footer-cta-title span { color: var(--accent-light); }
    .footer-cta-sub {
      font-size: 14px;
      color: rgba(255,255,255,0.9);
      max-width: 460px;
      line-height: 1.72;
      margin-bottom: 36px;
    }
    .footer-cta-sub strong { color: #fff; }

    /* Contact form */
    .contact-form {
      text-align: left;
      max-width: 560px;
      margin: 0 auto;
    }
    .contact-form-row {
      display: flex;
      gap: 16px;
    }
    .contact-form-row .contact-field { flex: 1; }
    .contact-field {
      display: flex;
      flex-direction: column;
      gap: 6px;
      margin-bottom: 18px;
    }
    .contact-field label {
      font-family: 'DM Mono', monospace;
      font-size: 10px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--muted);
    }
    .contact-field input,
    .contact-field select,
    .contact-field textarea {
      background: rgba(255,255,255,0.04);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 12px 14px;
      color: #fff;
      font-family: 'Poppins', sans-serif;
      font-size: 14px;
      transition: border-color 0.2s, background 0.2s;
    }
    .contact-field input:focus,
    .contact-field select:focus,
    .contact-field textarea:focus {
      outline: none;
      border-color: var(--accent-light);
      background: rgba(124,58,255,0.06);
    }
    .contact-field textarea { resize: vertical; min-height: 100px; font-family: 'Poppins', sans-serif; }
    .contact-field select { cursor: pointer; accent-color: var(--accent-light); }
    .contact-field select option {
      background: #0d0d0d;
      color: #fff;
    }
    .contact-field select option:checked,
    .contact-field select option:hover,
    .contact-field select option:focus {
      background: var(--accent-light);
      color: #fff;
    }
    .contact-checkbox {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 12px;
      line-height: 1.5;
      color: var(--muted);
      margin-bottom: 24px;
      cursor: pointer;
    }
    .contact-checkbox input {
      margin-top: 3px;
      accent-color: var(--accent);
      cursor: pointer;
    }
    .contact-submit {
      cursor: pointer;
      border: none;
    }
    .footer-cta-alt {
      margin-top: 18px;
      font-size: 13px;
      color: var(--muted);
    }
    .footer-cta-alt a {
      color: var(--accent-light);
      text-decoration: none;
    }
    .footer-cta-alt a:hover { text-decoration: underline; }
    @media (max-width: 640px) {
      .contact-form-row { flex-direction: column; gap: 0; }
    }

    .footer-contact-row {
      display: flex;
      flex-wrap: wrap;
      gap: 24px;
      margin-bottom: 0;
    }
    .footer-contact-item {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      font-family: 'DM Mono', monospace;
      color: rgba(255,255,255,0.8);
      text-decoration: none;
      transition: color 0.2s;
    }
    .footer-contact-item:hover { color: var(--accent-light); }

    /* Columns */
    .footer-columns {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      padding: 56px 0;
    }
    .footer-col {
      padding-right: 48px;
    }
    .footer-col + .footer-col {
      padding-left: 48px;
      padding-right: 0;
    }
    .footer-col-title {
      font-family: 'DM Mono', monospace;
      font-size: 9px;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.45);
      margin-bottom: 20px;
    }
    .footer-brand-logo {
      max-width: 260px;
      width: 100%;
      height: auto;
      display: block;
      margin-bottom: 14px;
    }
    .footer-brand-desc {
      font-size: 12px;
      color: rgba(255,255,255,0.75);
      line-height: 1.75;
    }
    .footer-nav-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .footer-nav-list a {
      font-size: 13px;
      color: rgba(255,255,255,0.8);
      text-decoration: none;
      transition: color 0.2s;
    }
    .footer-nav-list a:hover { color: #fff; }
    .footer-contact-list {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .footer-contact-list .footer-contact-item {
      font-size: 12px;
      color: rgba(255,255,255,0.8);
    }

    /* bottom bar */
    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 24px 0;
      font-size: 11px;
      font-family: 'DM Mono', monospace;
      color: rgba(255,255,255,0.5);
    }
    .footer-claudecode {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      color: var(--muted2);
      text-decoration: none;
      font-size: 11px;
      font-family: 'DM Mono', monospace;
      letter-spacing: 0.02em;
      transition: color 0.2s;
    }
    .footer-claudecode strong { color: var(--muted); font-weight: 500; }
    .footer-claudecode svg { opacity: 0.75; transition: opacity 0.2s; flex-shrink: 0; }
    .footer-claudecode:hover { color: var(--accent-light); }
    .footer-claudecode:hover strong { color: var(--accent-light); }
    .footer-claudecode:hover svg { opacity: 1; }

    /* ══════════════════════════════════════
       REVEAL (IntersectionObserver)
    ══════════════════════════════════════ */
    .reveal {
      opacity: 0;
      transform: translateY(26px);
      transition: opacity 0.65s ease, transform 0.65s ease;
    }
    .reveal.revealed { opacity: 1; transform: translateY(0); }
    .reveal-d1 { transition-delay: 0.10s; }
    .reveal-d2 { transition-delay: 0.20s; }
    .reveal-d3 { transition-delay: 0.30s; }
    .reveal-d4 { transition-delay: 0.40s; }

    /* Entradas laterales: el texto llega por la izquierda, el retrato por la derecha */
    .reveal-left  { transform: translate3d(-44px, 0, 0); }
    .reveal-right { transform: translate3d(44px, 0, 0); }
    .reveal-left.revealed,
    .reveal-right.revealed { transform: translate3d(0, 0, 0); }

    /* Aptitudes: cada grupo se despliega escalonado al entrar en pantalla */
    .stack-group.reveal { opacity: 1; transform: none; transition: none; }
    .stack-group .stack-group-label,
    .stack-group .tag {
      opacity: 0;
      transform: translate3d(0, 14px, 0) scale(0.96);
      transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                  box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    }
    .stack-group.revealed .stack-group-label,
    .stack-group.revealed .tag { opacity: 1; transform: none; }
    .stack-group.revealed .stack-group-label { transition-delay: 0.02s; }
    .stack-group.revealed .tag:nth-child(1) { transition-delay: 0.115s; }
    .stack-group.revealed .tag:nth-child(2) { transition-delay: 0.170s; }
    .stack-group.revealed .tag:nth-child(3) { transition-delay: 0.225s; }
    .stack-group.revealed .tag:nth-child(4) { transition-delay: 0.280s; }
    .stack-group.revealed .tag:nth-child(5) { transition-delay: 0.335s; }
    .stack-group.revealed .tag:nth-child(6) { transition-delay: 0.390s; }
    .stack-group.revealed .tag:nth-child(7) { transition-delay: 0.445s; }
    .stack-group.revealed .tag:nth-child(8) { transition-delay: 0.500s; }

    @media (max-width: 860px) {
      .reveal-left  { transform: translate3d(-20px, 0, 0); }
      .reveal-right { transform: translate3d(20px, 0, 0); }
    }
    @media (prefers-reduced-motion: reduce) {
      .reveal-left, .reveal-right,
      .stack-group .stack-group-label,
      .stack-group .tag { opacity: 1; transform: none; transition: none; }
    }

    /* ══════════════════════════════════════
       RESPONSIVE
    ══════════════════════════════════════ */
    @media (max-width: 1440px) {
      .hero-title        { font-size: clamp(40px, 6vw, 98px); }
      .hero > div[style] { max-width: 60% !important; }
    }

    @media (max-width: 1024px) {
      .wrapper { padding: 0 40px; }
      .hero    { padding: 0 40px 72px; }
      .exp-layout { grid-template-columns: 200px 1fr; }
      .exp-sidebar { padding-right: 40px; }
      .timeline { padding-left: 40px; }
      .timeline-line { left: 40px; }
      .hero > div[style]{ max-width: 70% !important; }
      .hero-title       { font-size: clamp(36px, 6.5vw, 84px); }
    }

    @media (max-width: 860px) {
      .wrapper { padding: 0 28px; }
      .hero    { padding: 0 28px 64px; }
      .about-grid { grid-template-columns: 1fr; gap: 48px; }
      .exp-layout { grid-template-columns: 1fr; }
      .exp-sidebar {
        border: none;
        padding-right: 0;
        padding-bottom: 40px;
        margin-bottom: 40px;
      }
      .timeline { padding-left: 28px; }
      .timeline-line { left: 28px; }
      .project-card-lumyn { grid-template-columns: 1fr; }
      .lumyn-visual {
        grid-column: 1; grid-row: 1;
        min-height: 180px;
        border-left: none;
        border-bottom: 1px solid rgba(124,58,255,0.15);
      }
      .lumyn-content { grid-column: 1; grid-row: 2; padding: 28px; }
      .footer-columns { grid-template-columns: 1fr 1fr; }
      .footer-col { padding-right: 0 !important; padding-left: 0 !important; padding-bottom: 36px; border: none !important; }
      .stats-grid { grid-template-columns: 1fr 1fr; }
      .stat-block { border: none !important; padding: 32px 20px; text-align: center; }
    }


    @media (max-width: 640px) {
      #main-nav { top: 12px; padding: 9px 9px 9px 18px; max-width: calc(100vw - 24px); }
      .nav-links { display: none; }
      .nav-cta   { display: none; }
      .lang-toggle { display: none; }
      .nav-hamburger { display: none; }
      /* Botones contacto mobile: centrados y compactos */
      .footer-cta-inner .footer-contact-row {
        flex-direction: column;
        align-items: center;
      }
      .footer-cta-inner .footer-contact-row .btn-secondary {
        width: auto;
        min-width: 0;
        padding: 11px 22px;
      }
      /* Mobile: video centrado, logo DM → texto */
      .hero-bg-video { object-fit: cover; object-position: center center; }
      .hero-logo-svg { display: none; }
      .hero-role-mobile { display: block; }
      .hero > div[style] { max-width: 100% !important; }
      .hero { padding: 0 20px 60px; }
      .hero-title { font-size: clamp(32px, 10vw, 56px); margin-bottom: 12px; }
      .hero-logo-svg { max-width: 220px; margin-top: 12px; margin-bottom: 24px; }
      .hero-bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
      .hero-actions { align-items: flex-start; }
      .hero-btn-row { flex-wrap: wrap; }
      .wrapper { padding: 0 20px; }
      .stats-section, .showreel-section, .about-section,
      .quotes-section, .projects-section, .experience-section { padding-top: 68px; padding-bottom: 68px; }
      .footer-cta-title { font-size: clamp(30px, 9vw, 46px); }
      .footer-columns { grid-template-columns: 1fr; }
      .footer-col { border: none !important; }
      .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
      .quote-slide { padding: 0 16px; }
      .quotes-oval-container { border-radius: 28px; padding: 48px 24px; }
      .quotes-inner { min-height: 260px; }
      .quote-es {
        display: block;
        -webkit-line-clamp: unset;
        overflow: visible;
        max-width: 100%;
      }
      .footer-contact-row { flex-direction: column; gap: 12px; }
    }

    @media (max-width: 400px) {
      .hero-btn-row { flex-direction: column; }
      .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
    }

    /* ══════════════════════════════════════
       NAV CONTROLS — segmented theme + lang toggles
    ══════════════════════════════════════ */
    .nav-controls { display: flex; align-items: center; gap: 8px; margin-right: 12px; }
    .seg-group {
      display: inline-flex;
      align-items: center;
      gap: 2px;
      padding: 2px;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 100px;
    }
    .seg-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 30px;
      height: 24px;
      padding: 0 9px;
      border: none;
      background: none;
      border-radius: 100px;
      cursor: pointer;
      color: var(--muted);
      font-family: 'DM Mono', monospace;
      font-size: 11px;
      font-weight: 500;
      line-height: 1;
      transition: background 0.2s, color 0.2s;
    }
    .theme-seg .seg-btn { min-width: 28px; padding: 0 7px; }
    .seg-btn svg { display: block; width: 14px; height: 14px; }
    .seg-btn:hover { color: var(--text); }
    .seg-btn.active { background: var(--accent); color: #fff; }
    .seg-btn.active svg { stroke: #fff; }

    /* ══════════════════════════════════════
       LIGHT THEME (html.light)
    ══════════════════════════════════════ */
    html.light {
      --bg: #F4F3EF;
      --card: #ffffff;
      --border: rgba(0,0,0,0.10);
      --border-hover: rgba(124,58,255,0.35);
      --text: #000000;
      --muted: #454545;
      --muted2: #6a6a6a;
    }
    html.light body::before { opacity: 0.12; }

    /* Nav in light — more opaque so dark text stays legible over the dark hero */
    html.light #main-nav { background: rgba(255,255,255,0.72); border-color: rgba(0,0,0,0.08); }
    html.light #main-nav.scrolled { background: rgba(255,255,255,0.88); border-color: rgba(0,0,0,0.10); box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
    html.light .nav-logo { color: #000; }
    html.light .nav-links a:hover { color: #000; }
    html.light .seg-group { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.14); }
    html.light .seg-btn { color: #5a5a5a; }
    html.light .seg-btn:hover { color: #000; }
    html.light .seg-btn.active { background: var(--accent); color: #fff; }

    /* Mid-section headings hardcoded #fff → true black */
    html.light .exp-sidebar-title,
    html.light .timeline-company,
    html.light .about-text strong { color: #000; }

    /* Particles caption + kill the white hero fade in light mode */
    html.light .quotes-caption { color: #111; }
    html.light .hero-fade-bottom { background: linear-gradient(to bottom, transparent 0%, #080808 100%); }

    /* ══════════════════════════════════════
       BOTON SUBIR + ASISTENTE
       Adaptados del sitio de Lumyn Studio a los tokens de este portafolio,
       asi siguen el tema claro/oscuro sin reglas duplicadas.
    ══════════════════════════════════════ */

    /* ── Boton subir, con anillo de progreso de lectura ── */
    #to-top {
      position: fixed;
      right: 28px; bottom: 28px;
      width: 52px; height: 52px;
      z-index: 900;
      display: flex; align-items: center; justify-content: center;
      border-radius: 50%;
      background: var(--card);
      border: 1px solid var(--border);
      color: var(--text);
      cursor: pointer;
      opacity: 0;
      visibility: hidden;
      transform: translateY(12px);
      transition: opacity 0.3s, transform 0.3s, visibility 0.3s, background 0.2s, border-color 0.2s;
    }
    #to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
    #to-top:hover { background: var(--accent-dim); border-color: var(--border-hover); }
    #to-top .to-top-arrow {
      width: 18px; height: 18px;
      position: relative; z-index: 2;
      transition: transform 0.2s;
    }
    #to-top:hover .to-top-arrow { transform: translateY(-2px); }
    .to-top-ring {
      position: absolute; inset: -1px;
      width: 52px; height: 52px;
      transform: rotate(-90deg);
      pointer-events: none;
    }
    .to-top-ring circle { fill: none; stroke-width: 2; stroke-linecap: round; }
    .to-top-ring .ring-track { stroke: transparent; }
    .to-top-ring .ring-progress {
      stroke: var(--accent);
      stroke-dasharray: 157;          /* 2 * PI * 25 */
      stroke-dashoffset: 157;
      transition: stroke-dashoffset 0.1s linear;
    }

    /* ── Asistente ── */
    #dm-chat {
      position: fixed;
      right: 28px;
      bottom: 92px;                    /* deja libre el boton de subir */
      z-index: 901;
    }
    .chat-toggle {
      position: relative;
      width: 56px; height: 56px;
      border: none;
      border-radius: 50%;
      background: var(--accent);
      color: #fff;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 10px 30px rgba(124,58,255,0.38);
      transition: transform 0.25s cubic-bezier(0.16,1,0.3,1), background 0.2s;
    }
    .chat-toggle:hover { transform: scale(1.06); background: var(--accent-light); }
    .chat-toggle svg {
      width: 24px; height: 24px;
      position: absolute;
      transition: opacity 0.25s, transform 0.25s;
    }
    .chat-toggle .icon-close { opacity: 0; transform: rotate(-90deg) scale(0.6); }
    #dm-chat.is-open .chat-toggle .icon-chat { opacity: 0; transform: rotate(90deg) scale(0.6); }
    #dm-chat.is-open .chat-toggle .icon-close { opacity: 1; transform: rotate(0) scale(1); }
    .chat-badge {
      position: absolute; top: 2px; right: 2px;
      width: 12px; height: 12px;
      border-radius: 50%;
      background: var(--green);
      border: 2px solid var(--bg);
    }
    #dm-chat.is-open .chat-badge { display: none; }

    .chat-panel {
      position: absolute;
      right: 0; bottom: 70px;
      width: 380px;
      height: min(540px, calc(100vh - 250px));
      min-height: 340px;
      display: flex;
      flex-direction: column;
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 20px;
      box-shadow: 0 26px 70px rgba(0,0,0,0.55);
      overflow: hidden;
      opacity: 0;
      visibility: hidden;
      transform: translateY(14px) scale(0.97);
      transform-origin: bottom right;
      transition: opacity 0.28s cubic-bezier(0.16,1,0.3,1),
                  transform 0.28s cubic-bezier(0.16,1,0.3,1), visibility 0.28s;
    }
    html.light .chat-panel { box-shadow: 0 26px 70px rgba(0,0,0,0.18); }
    #dm-chat.is-open .chat-panel { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

    .chat-header {
      display: flex; align-items: center; gap: 12px;
      padding: 16px 18px;
      border-bottom: 1px solid var(--border);
      background: var(--card);
    }
    .chat-avatar {
      width: 38px; height: 38px;
      border-radius: 50%;
      background: var(--accent-dim);
      border: 1px solid rgba(124,58,255,0.28);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .chat-avatar svg { width: 19px; height: 19px; color: var(--accent-light); }
    .chat-header-text { flex: 1; min-width: 0; }
    .chat-title {
      font-family: 'DM Mono', monospace;
      font-size: 13px; font-weight: 500;
      letter-spacing: 0.12em; text-transform: uppercase;
      color: var(--text); line-height: 1.2;
    }
    .chat-status {
      display: flex; align-items: center; gap: 6px;
      font-family: 'DM Mono', monospace;
      font-size: 10px; letter-spacing: 0.09em; text-transform: uppercase;
      color: var(--muted); margin-top: 4px;
    }
    .chat-status-dot {
      width: 6px; height: 6px; border-radius: 50%;
      background: var(--green);
      animation: chatPulse 2s ease-in-out infinite;
    }
    @keyframes chatPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
    .chat-close {
      width: 30px; height: 30px;
      border: none; background: none; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      border-radius: 8px; color: var(--muted); flex-shrink: 0;
      transition: background 0.2s, color 0.2s;
    }
    .chat-close:hover { background: var(--accent-dim); color: var(--text); }
    .chat-close svg { width: 16px; height: 16px; }

    .chat-log {
      flex: 1; overflow-y: auto;
      padding: 18px;
      display: flex; flex-direction: column; gap: 12px;
      scrollbar-width: thin;
      scrollbar-color: var(--border) transparent;
    }
    .chat-log::-webkit-scrollbar { width: 6px; }
    .chat-log::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
    .chat-msg { display: flex; align-items: flex-end; gap: 9px; }
    .chat-msg--user { justify-content: flex-end; }
    .chat-msg-avatar {
      width: 27px; height: 27px; flex-shrink: 0;
      border-radius: 50%;
      background: var(--accent-dim);
      border: 1px solid rgba(124,58,255,0.28);
      color: var(--accent-light);
      font-family: 'DM Mono', monospace;
      font-size: 10px; font-weight: 500;
      display: flex; align-items: center; justify-content: center;
    }
    .chat-bubble {
      max-width: 80%;
      padding: 12px 15px;
      border-radius: 14px;
      font-size: 14px; line-height: 1.55;
      white-space: pre-wrap; word-wrap: break-word;
    }
    .chat-msg--assistant .chat-bubble {
      background: var(--card);
      border: 1px solid var(--border);
      color: var(--text);
      border-bottom-left-radius: 4px;
    }
    .chat-msg--user .chat-bubble {
      background: var(--accent);
      color: #fff;
      border-bottom-right-radius: 4px;
    }
    .chat-typing .chat-bubble { display: flex; align-items: center; gap: 4px; padding: 14px 16px; }
    .chat-dot {
      width: 6px; height: 6px; border-radius: 50%;
      background: var(--muted2);
      animation: chatDot 1.3s ease-in-out infinite;
    }
    .chat-dot:nth-child(2) { animation-delay: 0.18s; }
    .chat-dot:nth-child(3) { animation-delay: 0.36s; }
    @keyframes chatDot {
      0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
      30% { opacity: 1; transform: translateY(-3px); }
    }

    .chat-wa {
      display: inline-flex; align-items: center; gap: 8px;
      margin-top: 10px; padding: 9px 17px;
      background: #25D366; color: #07301A;
      font-size: 13px; font-weight: 700;
      border-radius: 100px; text-decoration: none;
      transition: background 0.2s, transform 0.2s;
    }
    .chat-wa:hover { background: #1FBE5A; transform: translateY(-1px); }
    .chat-wa svg { width: 15px; height: 15px; flex-shrink: 0; }

    .chat-suggestions {
      display: flex; flex-direction: column; align-items: flex-start;
      gap: 8px; margin: 4px 0 2px 36px;
    }
    .chat-suggestion {
      padding: 10px 15px;
      background: transparent;
      border: 1px solid rgba(124,58,255,0.32);
      border-radius: 9px;
      font-family: 'Poppins', sans-serif;
      font-size: 13px; font-weight: 500;
      color: var(--accent-light);
      text-align: left; cursor: pointer;
      transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
    }
    .chat-suggestion:hover {
      background: var(--accent); border-color: var(--accent);
      color: #fff; transform: translateX(3px);
    }

    .chat-form {
      display: flex; align-items: flex-end; gap: 9px;
      padding: 12px 14px;
      border-top: 1px solid var(--border);
      background: var(--card);
    }
    .chat-input {
      flex: 1; min-width: 0; resize: none;
      height: 40px; max-height: 110px;
      padding: 10px 14px;
      border: 1px solid var(--border);
      border-radius: 20px;
      background: var(--bg);
      font-family: 'Poppins', sans-serif;
      font-size: 14px; line-height: 1.4;
      color: var(--text);
      overflow-y: auto; scrollbar-width: none;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .chat-input::-webkit-scrollbar { display: none; }
    .chat-input:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(124,58,255,0.18);
    }
    .chat-input::placeholder { color: var(--muted2); }
    .chat-send {
      width: 40px; height: 40px; flex-shrink: 0;
      border: none; border-radius: 10px;
      background: var(--accent); color: #fff; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: background 0.2s, opacity 0.2s, transform 0.2s;
    }
    .chat-send:hover { background: var(--accent-light); transform: translateY(-1px); }
    .chat-send:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
    .chat-send svg { width: 17px; height: 17px; }

    .chat-foot {
      padding: 11px 14px;
      background: var(--card);
      border-top: 1px solid var(--border);
      font-family: 'DM Mono', monospace;
      font-size: 9px; letter-spacing: 0.13em; text-transform: uppercase;
      color: var(--muted2); text-align: center; margin: 0;
    }
    .chat-foot strong { color: var(--accent-light); font-weight: 500; }

    /* En movil la barra de navegacion vive abajo al centro: los flotantes suben */
    @media (max-width: 860px) {
      #to-top { right: 16px; bottom: 88px; }
      #dm-chat { right: 16px; bottom: 150px; }
    }
    @media (max-width: 560px) {
      .chat-panel {
        position: fixed;
        right: 0; left: 0; bottom: 0;
        width: 100%;
        height: 82vh; max-height: none;
        border-radius: 20px 20px 0 0;
        transform-origin: bottom center;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      .chat-panel { transition: opacity 0.01ms; }
      .chat-status-dot, .chat-dot { animation: none; }
    }

    /* ══════════════════════════════════════
       VIDEO IA — revelado por scroll
       La seccion es alta y el panel queda pegado: mientras se recorre,
       el video se abre desde una franja redondeada hasta el marco completo
       y escala de 0.7 a 1. Sin librerias: clip-path + transform.
    ══════════════════════════════════════ */
    .rv-section {
      position: relative;
      height: 320vh;
      background: #050509;
    }
    .rv-sticky {
      position: sticky;
      top: 0;
      height: 100vh;
      height: 100svh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 30px;
      padding: 76px 24px 64px;
      overflow: hidden;
      background:
        radial-gradient(50% 44% at 50% 14%, rgba(124,58,255,0.26) 0%, transparent 68%),
        radial-gradient(64% 52% at 50% 112%, rgba(124,58,255,0.15) 0%, transparent 72%),
        #050509;
    }
    .rv-head {
      text-align: center;
      max-width: 660px;
      flex-shrink: 0;
    }
    /* Entrada con desenfoque que se disipa, como en la referencia */
    .rv-head.reveal {
      transform: translateY(18px);
      filter: blur(10px);
      transition: opacity 0.7s ease, transform 0.7s ease, filter 0.7s ease;
    }
    .rv-head.reveal.revealed { transform: none; filter: blur(0px); }
    .rv-label {
      font-family: 'DM Mono', monospace;
      font-size: 11px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--accent-light);
      margin-bottom: 16px;
    }
    .rv-title {
      font-family: 'Poppins', sans-serif;
      font-size: clamp(30px, 4.4vw, 54px);
      font-weight: 700;
      letter-spacing: -0.025em;
      line-height: 1.05;
      color: #ffffff;
      margin: 0 0 14px;
    }
    .rv-sub {
      margin: 0;
      font-size: clamp(13px, 1.35vw, 15px);
      line-height: 1.65;
      color: rgba(255,255,255,0.62);
    }
    /* El marco que se abre. Las unidades del inset son porcentaje de la caja. */
    .rv-clip {
      position: relative;
      width: min(1160px, 100%);
      aspect-ratio: 16 / 9;
      max-height: 52vh;
      overflow: hidden;
      flex-shrink: 1;
      clip-path: inset(45% 45% 45% 45% round 1000px);
      will-change: clip-path;
    }
    .rv-video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transform: scale(0.7);
      transform-origin: center;
      will-change: transform;
      background: #050509;
    }
    /* La seccion se mantiene oscura tambien en tema claro, igual que el hero y el pie */
    html.light .rv-section,
    html.light .rv-title { color: #ffffff; }
    @media (max-width: 860px) {
      .rv-section { height: 260vh; }
      .rv-sticky { gap: 22px; padding: 64px 20px 52px; }
      .rv-clip { max-height: 40vh; }
    }
    @media (prefers-reduced-motion: reduce) {
      .rv-section { height: auto; }
      .rv-sticky { position: static; height: auto; min-height: 0; }
      .rv-clip { clip-path: inset(0% 0% 0% 0% round 16px); }
      .rv-video { transform: none; }
      .rv-head.reveal { filter: none; transform: none; }
    }

    /* ══════════════════════════════════════
       WORK + STATS — bandas invertidas respecto al tema
       Tema oscuro  → fondo blanco, tipografia en positivo
       Tema claro   → fondo azul petroleo, tipografia en negativo
    ══════════════════════════════════════ */

    /* ── Tema oscuro: la seccion Work va en blanco ── */
    .slides-section {
      background: #ffffff;
      transition: background 0.3s ease;
    }
    .wk-title { color: #0a0a0a; }
    .wk-subtitle { color: #4a4a4a; }
    .wk-credit { color: rgba(0,0,0,0.52); }
    .wk-cats { border-top-color: rgba(0,0,0,0.14); }
    .wk-cat-row { border-bottom-color: rgba(0,0,0,0.14); }
    .wk-cat-name { color: rgba(0,0,0,0.28); }
    .wk-cat-row.active .wk-cat-name,
    .wk-cat-row:hover .wk-cat-name { color: #0a0a0a; }
    .wk-cat-count { color: #4a4a4a; }
    .wk-cat-chevron { color: #6a6a6a; }
    .wk-cat-row:hover .wk-cat-chevron { color: #0a0a0a; }
    .wk-card { border-color: rgba(0,0,0,0.12); }
    .wk-card:hover { box-shadow: 0 22px 60px rgba(0,0,0,0.18), 0 0 42px rgba(124,58,255,0.16); }
    .wk-dot { background: rgba(0,0,0,0.18); }
    .wk-dot:hover { background: rgba(0,0,0,0.38); }
    .wk-arrow[disabled] { opacity: 0.24; }

    /* Marcador de categoria sin contenido */
    .wk-empty {
      padding-inline: max(64px, calc((100vw - 1160px) / 2 + 64px));
      padding-block: 52px 20px;
      margin: 0;
      font-family: 'DM Mono', monospace;
      font-size: 11px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: rgba(0,0,0,0.62);
    }
    html.light .wk-empty { color: rgba(255,255,255,0.60); }

    /* ── Tema oscuro: la seccion Stats va en blanco ── */
    .stats-section {
      background: #ffffff;
      transition: background 0.3s ease;
    }
    .stat-number { color: #0a0a0a; }
    .stat-number .ac { color: var(--accent); }
    .stat-desc { color: #4a4a4a; }

    /* ── Tema claro: la seccion Work va en azul petroleo ── */
    html.light .slides-section {
      background: linear-gradient(135deg, #0e0818 0%, #0d0d14 100%);
    }
    html.light .wk-title { color: #ffffff; }
    html.light .wk-subtitle { color: #9a9a9a; }
    html.light .wk-credit { color: rgba(255,255,255,0.48); }
    html.light .wk-cats { border-top-color: rgba(255,255,255,0.10); }
    html.light .wk-cat-row { border-bottom-color: rgba(255,255,255,0.10); }
    html.light .wk-cat-row.active { border-bottom-color: rgba(124,58,255,0.45); }
    html.light .wk-cat-name { color: rgba(255,255,255,0.26); }
    html.light .wk-cat-row.active .wk-cat-name,
    html.light .wk-cat-row:hover .wk-cat-name { color: #ffffff; }
    html.light .wk-cat-count { color: #9a9a9a; }
    html.light .wk-cat-chevron { color: #9a9a9a; }
    html.light .wk-cat-row.active .wk-cat-chevron { color: var(--accent-light); }
    html.light .wk-cat-row:hover .wk-cat-chevron { color: #ffffff; }
    html.light .wk-card { border-color: rgba(255,255,255,0.10); }
    html.light .wk-card:hover { box-shadow: 0 22px 60px rgba(0,0,0,0.55), 0 0 42px rgba(124,58,255,0.20); }
    html.light .wk-dot { background: rgba(255,255,255,0.22); }
    html.light .wk-dot:hover { background: rgba(255,255,255,0.48); }
    html.light .wk-arrow[disabled] { opacity: 0.30; }

    /* ── Tema claro: la seccion Stats va en azul petroleo ── */
    html.light .stats-section {
      background: linear-gradient(135deg, #0e0818 0%, #0d0d14 100%);
    }
    html.light .stat-number { color: #ffffff; }
    html.light .stat-number .ac { color: var(--accent-light); }
    html.light .stat-desc { color: #9a9a9a; }

    /* About + experience body text → dark, legible on light bg */
    html.light .about-text { color: #333; }
    html.light .timeline-list li { color: #3f3f3f; }
    html.light .timeline-other { color: #555; }
    html.light .timeline-date { background: rgba(0,0,0,0.05); }
    html.light .tag-neutral { background: rgba(0,0,0,0.05); color: #444; }
    html.light .about-portrait { box-shadow: 0 0 30px rgba(124,58,255,0.10), 0 14px 32px rgba(0,0,0,0.14); }

    /* Footer stays dark in both themes (sits over dark video / dark backdrop) */
    html.light .footer-section { background: #080808; }
    html.light .footer-section .contact-field label,
    html.light .footer-section .contact-checkbox,
    html.light .footer-section .footer-cta-alt,
    html.light .footer-section .footer-claudecode { color: rgba(255,255,255,0.6); }
    html.light .footer-section .footer-claudecode strong { color: rgba(255,255,255,0.8); }

    @media (max-width: 640px) {
      .nav-controls { gap: 5px; margin-right: 6px; }
      .seg-btn { min-width: 26px; padding: 0 6px; font-size: 10px; height: 22px; }
    }
