  :root {
    --diamond-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M50 4 L96 50 L50 96 L4 50 Z' fill='white'/></svg>");

    --bg: #ffffff;
    --bg-2: #f4f5f7;
    --ink: #0b0d12;
    --ink-soft: #5a6072;
    --accent: #1ec8ff;       /* heygen-ish cyan */
    --accent-2: #b794f4;     /* lavender */
    --accent-3: #6ee7a8;     /* mint */
    --line: rgba(11,13,18,0.10);
    --card: #ffffff;
    --shadow-soft: 0 12px 40px rgba(11,13,18,.06), 0 2px 6px rgba(11,13,18,.04);
  }
  * { box-sizing: border-box; }
  html, body {
    margin: 0; padding: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Inter Tight", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
  }
  body { overflow-x: hidden; }

  /* ========= Sticky 3D scene → eliminado: esta página no renderiza octaedro ========= */

  /* ========= Sections ========= */
  main { position: relative; z-index: 2; }
  section {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 140px 6vw 120px;
    display: grid;
    align-items: center;
    position: relative;
  }
  .sec-center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .sec-center .content { max-width: 760px; }

  /* HeyGen-style "panel" sections */
  .panel {
    border-radius: 36px;
    padding: clamp(40px, 6vw, 80px);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
  }

  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink);
    font-weight: 700;
    margin-bottom: 18px;
    background: rgba(11,13,18,.05);
    border-radius: 999px;
    padding: 8px 14px;
  }
  .eyebrow .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent); box-shadow: 0 0 10px var(--accent);
  }

  h1, h2 {
    font-weight: 800;
    letter-spacing: -.03em;
    text-wrap: balance;
    margin: 0 0 22px;
  }
  h1 { font-size: clamp(44px, 6.2vw, 92px); line-height: .98; }
  h2 { font-size: clamp(34px, 4.4vw, 64px); line-height: 1.02; }
  h2 .accent {
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
  }

  p.lede {
    font-size: 18px; line-height: 1.55;
    color: var(--ink-soft);
    max-width: 540px;
    text-wrap: pretty;
    margin: 0 0 28px;
  }
  .btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 22px; border-radius: 999px;
    font-size: 15px; font-weight: 600;
    text-decoration: none; cursor: pointer; border: none;
    transition: transform .2s, box-shadow .2s;
  }
  .btn.primary { background: var(--accent); color: var(--ink); }
  .btn.dark    { background: var(--ink); color: white; }
  .btn.ghost   { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(11,13,18,.15); }

  .reveal {
    opacity: 1;
    transform: none;
  }

  /* ===== Width: sec-center panels capped at 800px ===== */
  .sec-center .content { max-width: 800px !important; }

  /* ===== min-width overflow fix for mobile ===== */
  @media (max-width: 1000px) {
    html body section,
    html body .sec-center,
    html body .sec-center > .content,
    html body .sec-center > .content > *,
    html body section .panel,
    html body section .panel > * {
      min-width: 0 !important;
    }
  }

                          
    
  @media (max-width: 760px) {
    section { padding: 80px 5vw 60px !important; min-height: auto !important; align-items: start !important; }
    .panel { padding: 28px 20px !important; border-radius: 24px !important; max-width: 100% !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
    nav.top { top: 10px; padding: 8px 8px 8px 14px; gap: 8px; }
    nav.top .logo { font-size: 14px; padding-right: 10px; }
    nav.top .logo .mark { width: 22px; height: 22px; }
    nav.top .right { padding-left: 8px; margin-left: 0; }
    nav.top .signin { padding: 9px 14px; font-size: 13px; }
    h1 { font-size: clamp(28px, 8vw, 42px) !important; }
    h2 { font-size: clamp(22px, 6vw, 32px) !important; }
    p.lede { font-size: 15px !important; max-width: 100% !important; }
    .sec-center .content { max-width: 100% !important; }
    footer { padding: 50px 5vw 30px !important; }
            .legal-content { overflow-wrap: break-word; word-break: break-word; }
    .legal-content h2 { font-size: 18px !important; }
    .legal-content p, .legal-content ul { font-size: 14px !important; }
    .legal-toc { padding: 16px 18px; }
    .cookie-table { font-size: 13px; }
    .cookie-table th, .cookie-table td { padding: 8px 10px; }
  }
  @media (max-width: 480px) {
    section { padding: 65px 4vw 40px !important; }
    .panel { padding: 22px 16px !important; border-radius: 20px !important; }
    h1 { font-size: clamp(24px, 7vw, 34px) !important; }
        .legal-toc ol a { font-size: 13px; }
    .cookie-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .cookie-table th, .cookie-table td { padding: 8px 8px; font-size: 12px; white-space: nowrap; }
  }

  @supports (padding: max(0px)) {
    nav.top { padding-top: max(8px, env(safe-area-inset-top)); }
    footer { padding-bottom: max(30px, env(safe-area-inset-bottom)); }
  }

  /* ========= Legal content styles ========= */
  .legal-content { text-align: left; }
  .legal-content h2 { font-size: 20px; font-weight: 800; letter-spacing: -.02em; margin: 36px 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--bg-2); }
  .legal-content h2:first-child { margin-top: 0; }
  .legal-content p { font-size: 15px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 14px; }
  .legal-content p strong { color: var(--ink); }
  .legal-content ul { font-size: 15px; line-height: 1.75; color: var(--ink-soft); padding-left: 20px; margin-bottom: 14px; }
  .legal-content ul li { margin-bottom: 6px; }
  .legal-content a { color: var(--accent); font-weight: 600; text-decoration: none; }
  .legal-content a:hover { text-decoration: underline; }
  .legal-toc { background: var(--bg-2); border-radius: 16px; padding: 20px 24px; margin-bottom: 32px; }
  .legal-toc h2 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); margin: 0 0 12px; }
  .legal-toc ol { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
  .legal-toc ol a { font-size: 14px; color: var(--accent); text-decoration: none; }
  .legal-info { background: rgba(110,231,168,.08); border: 1px solid rgba(110,231,168,.20); border-radius: 14px; padding: 16px 18px; margin-bottom: 18px; font-size: 14px; color: var(--ink-soft); line-height: 1.65; }
  .legal-update { text-align: center; font-size: 13px; color: var(--ink-soft); padding-top: 28px; border-top: 1px solid var(--line); margin-top: 40px; }
  .cookie-table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 16px; overflow: hidden; margin: 18px 0; border: 1px solid var(--line); }
  .cookie-table th { background: var(--bg-2); padding: 12px 14px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); text-align: left; }
  .cookie-table td { padding: 12px 14px; font-size: 14px; color: var(--ink-soft); border-top: 1px solid var(--line); line-height: 1.5; }
  .cookie-table td strong { color: var(--ink); }
  .cookie-table tr:hover td { background: rgba(30,200,255,.03); }

  /* ============================================================== */
  /* ===== Phase 3 — Mobile GPU optimization (added 2026-05-08) ====== */
  /* Goal: 30-50% less GPU strain on mobile, no visual loss on desktop. */
  /* ============================================================== */
  @media (max-width: 768px) {
    /* Cap backdrop-filter blur radius — still glassy, half the GPU cost */
    nav.top {
      backdrop-filter: blur(8px) !important;
      -webkit-backdrop-filter: blur(8px) !important;
    }
    .nav-drawer {
      backdrop-filter: blur(12px) !important;
      -webkit-backdrop-filter: blur(12px) !important;
    }
    footer {
      backdrop-filter: blur(8px) saturate(140%) !important;
      -webkit-backdrop-filter: blur(8px) saturate(140%) !important;
    }
    .panel,
    .glass-card,
    .panel.glass .card,
    .panel.glass .stat-card,
    .sector,
    #sectores .panel.mesh,
    .journey-card,
    .process-row .step-card,
    .marquee-track .logo-pill,
    .video-slot .play,
    .btn.btn-revolucion {
      backdrop-filter: blur(10px) !important;
      -webkit-backdrop-filter: blur(10px) !important;
    }
    
    /* Disable purely decorative large blurs on pseudo-elements
       (orbs/halos that are >30px blur — cheaper to just hide than blur) */
    .panel.mesh::before,
    .panel.mesh::after {
      filter: blur(20px) !important;
      opacity: 0.6 !important;
    }
    
    /* Release GPU layers on elements that aren't actively animating.
       Keep will-change only on the 3D scene parts that DO animate continuously. */
    *:not(.scene):not(.octa):not(.face):not(.scene-shadow):not(.scene-glow) {
      will-change: auto !important;
    }
    
    /* Simplify multi-layer box-shadows on cards — one shadow is enough on mobile */
    .card-blog,
    .glass-card,
    .sprint-cta-card {
      transition-property: transform !important;
    }
  }
  
  /* On low-end devices that prefer reduced data, also disable scene completely */
  @media (max-width: 768px) and (prefers-reduced-data: reduce) {
    .scene { display: none !important; }
  }
  /* ============================================================== */

  /* ============================================================== */
  /* === Reveal animations DISABLED — content always visible ====== */
  /* ============================================================== */
  .reveal,
  .reveal.in,
  .reveal.visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  /* ============================================================== */

