/* ============================================================
   Ciclo de Riqueza Inmobiliaria — Hoja de estilos
   Secciones:
     1 · Base, tipografías y keyframes
     2 · Hover / focus generados
     3 · Focus accesible (glow dorado)
     4 · Video embed
     5 · Lang switch
     6 · Cookie banner + modal
     7 · Scroll reveal universal
     8 · Mobile fixes
   ============================================================ */

/* --- 1 · Base, tipografías y keyframes ---------------------- */
html { scroll-behavior: smooth; }
    html, body { margin: 0; padding: 0; background: #0A0A0C; }
    * { box-sizing: border-box; }
    @keyframes orbita { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
    @keyframes orbita-reversa { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }
    @keyframes pulso { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.18); opacity: 0.65; } }
    @keyframes aparecer { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
    @keyframes aparecer-izq { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
    @keyframes aparecer-der { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
    @keyframes aparecer-escala { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: none; } }
    @keyframes flotar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
    @keyframes brillo { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
    @keyframes neblina-uno { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(240px,-160px,0) scale(1.45); } 100% { transform: translate3d(0,0,0) scale(1); } }
    @keyframes neblina-dos { 0% { transform: translate3d(0,0,0) scale(1.1); } 50% { transform: translate3d(-280px,140px,0) scale(0.85); } 100% { transform: translate3d(0,0,0) scale(1.1); } }
    @keyframes neblina-tres { 0% { transform: translate3d(-50px,30px,0) scale(0.95); } 50% { transform: translate3d(180px,-200px,0) scale(1.35); } 100% { transform: translate3d(-50px,30px,0) scale(0.95); } }
    @keyframes neblina-cuatro { 0% { transform: translate3d(60px,-40px,0) scale(1); } 50% { transform: translate3d(-180px,170px,0) scale(1.3); } 100% { transform: translate3d(60px,-40px,0) scale(1); } }
    @keyframes neblina-cinco { 0% { transform: translate3d(20px, -30px, 0) scale(1); } 50% { transform: translate3d(-110px, 90px, 0) scale(1.22); } 100% { transform: translate3d(20px, -30px, 0) scale(1); } }
    @keyframes neblina-seis { 0% { transform: translate3d(-60px, 40px, 0) scale(1.1); } 50% { transform: translate3d(120px, -70px, 0) scale(0.94); } 100% { transform: translate3d(-60px, 40px, 0) scale(1.1); } }
    @keyframes flow-1 { 0% { transform: translate3d(-40px, -30px, 0) scale(1); } 33% { transform: translate3d(120px, 80px, 0) scale(1.12); } 66% { transform: translate3d(60px, -90px, 0) scale(0.95); } 100% { transform: translate3d(-40px, -30px, 0) scale(1); } }
    @keyframes flow-2 { 0% { transform: translate3d(30px, 20px, 0) scale(1.02); } 33% { transform: translate3d(-130px, 100px, 0) scale(0.92); } 66% { transform: translate3d(-80px, -110px, 0) scale(1.14); } 100% { transform: translate3d(30px, 20px, 0) scale(1.02); } }
    @keyframes flow-3 { 0% { transform: translate3d(-20px, 40px, 0) scale(0.96); } 33% { transform: translate3d(110px, -100px, 0) scale(1.16); } 66% { transform: translate3d(-90px, 70px, 0) scale(0.92); } 100% { transform: translate3d(-20px, 40px, 0) scale(0.96); } }
    @keyframes flow-4 { 0% { transform: translate3d(40px, -40px, 0) scale(1); opacity: 0.8; } 33% { transform: translate3d(-90px, 110px, 0) scale(1.15); opacity: 1; } 66% { transform: translate3d(100px, 30px, 0) scale(0.9); opacity: 0.7; } 100% { transform: translate3d(40px, -40px, 0) scale(1); opacity: 0.8; } }
    @keyframes deslizar-titulo { from { opacity: 0; transform: translateY(40px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
    @keyframes titulo-zoom { from { opacity: 0; transform: scale(0.86) translateY(20px); filter: blur(4px); } to { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); } }
    @keyframes numero-zoom { from { opacity: 0; transform: scale(0.45) rotate(-6deg); } 70% { transform: scale(1.08) rotate(0); } to { opacity: 1; transform: scale(1) rotate(0); } }
    @keyframes pulso-cta { 0%, 100% { box-shadow: 0 8px 32px rgba(230, 199, 136, 0.22), 0 0 0 0 rgba(230, 199, 136, 0); } 50% { box-shadow: 0 14px 48px rgba(230, 199, 136, 0.45), 0 0 0 6px rgba(230, 199, 136, 0.08); } }
    @keyframes shimmer-cta { 0% { transform: translateX(-120%) skewX(-22deg); } 60%, 100% { transform: translateX(260%) skewX(-22deg); } }
    @keyframes patron-drift { from { background-position: 0 0; } to { background-position: 60px 60px; } }
    @keyframes patron-drift-rev { from { background-position: 0 0; } to { background-position: -80px 40px; } }
    @keyframes nav-aparecer { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
    @keyframes flecha-down { 0%, 100% { transform: translateY(0); opacity: 0.6; } 50% { transform: translateY(6px); opacity: 1; } }
    @keyframes typewriter { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
    @keyframes blink-caret { 50% { opacity: 0; } }
    @keyframes selection-ring { 0% { box-shadow: 0 0 0 0 rgba(230, 199, 136, 0.0), 0 0 0 0 rgba(230, 199, 136, 0); border-color: rgba(230, 199, 136, 0.30); } 40% { box-shadow: 0 0 0 6px rgba(230, 199, 136, 0.18), 0 22px 60px rgba(230, 199, 136, 0.22); border-color: #E6C788; } 100% { box-shadow: 0 0 0 2px rgba(230, 199, 136, 0.32), 0 16px 44px rgba(230, 199, 136, 0.15); border-color: #E6C788; } }
    @keyframes selection-check { 0% { transform: scale(0) rotate(-10deg); opacity: 0; } 60% { transform: scale(1.15) rotate(0); opacity: 1; } 100% { transform: scale(1) rotate(0); opacity: 1; } }
    @keyframes hamburger-fade { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
    .typewriter-wrap { display: inline-block; max-width: 100%; }
    .typewriter { display: inline-block; position: relative; clip-path: inset(0 100% 0 0); animation: typewriter 3.2s cubic-bezier(0.6, 0.2, 0.3, 1) both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    .typewriter::after { content: ''; position: absolute; right: -6px; top: 0.08em; bottom: 0.16em; width: 2px; background: #E6C788; animation: blink-caret 0.85s steps(2) infinite; }
    .selection-glow { animation: selection-ring 1.6s cubic-bezier(0.22, 0.61, 0.36, 1) both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: transparent; border: 1px solid rgba(230, 199, 136, 0.35); border-radius: 6px; cursor: pointer; padding: 0; transition: border-color 0.3s ease, background 0.3s ease; }
    .nav-toggle:hover { border-color: #E6C788; background: rgba(230, 199, 136, 0.06); }
    .nav-toggle .bar { display: block; width: 18px; height: 1.6px; background: #E6C788; border-radius: 1px; transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.2s ease; }
    .nav-toggle .bar + .bar { margin-top: 4px; }
    .nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }
    @media (min-width: 880px) {
      .nav-toggle { display: none; }
    }
    @media (max-width: 879px) {
      .nav-links-wrap { position: fixed; top: 64px; left: 0; right: 0; flex-direction: column !important; align-items: stretch !important; gap: 0 !important; padding: 18px 24px 28px; background: rgba(10, 10, 12, 0.96); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); border-bottom: 1px solid rgba(230, 199, 136, 0.18); max-height: 0; overflow: hidden; opacity: 0; pointer-events: none; transition: max-height 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.3s ease, padding 0.3s ease; }
      .nav-links-wrap.is-open { max-height: 80vh; opacity: 1; pointer-events: auto; }
      .nav-links-wrap > a { display: block !important; padding: 16px 4px; font-size: 16px !important; border-bottom: 1px solid rgba(230, 199, 136, 0.10); animation: hamburger-fade 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
      .nav-links-wrap.is-open > a:nth-child(1) { animation-delay: 0.05s; }
      .nav-links-wrap.is-open > a:nth-child(2) { animation-delay: 0.10s; }
      .nav-links-wrap.is-open > a:nth-child(3) { animation-delay: 0.15s; }
      .nav-links-wrap.is-open > a:nth-child(4) { animation-delay: 0.20s; }
      .nav-links-wrap.is-open > a:nth-child(5) { animation-delay: 0.25s; }
    }
    .reveal-stagger > * { animation: aparecer 0.85s cubic-bezier(0.22, 0.61, 0.36, 1) both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    .reveal-stagger > *:nth-child(1) { animation-delay: 0s; }
    .reveal-stagger > *:nth-child(2) { animation-delay: 0.08s; }
    .reveal-stagger > *:nth-child(3) { animation-delay: 0.16s; }
    .reveal-stagger > *:nth-child(4) { animation-delay: 0.24s; }
    .reveal-stagger > *:nth-child(5) { animation-delay: 0.32s; }
    .reveal-stagger > *:nth-child(6) { animation-delay: 0.40s; }
    .reveal-stagger > *:nth-child(7) { animation-delay: 0.48s; }
    .reveal-stagger > *:nth-child(8) { animation-delay: 0.56s; }
    .scroll-zoom { animation: titulo-zoom 1s cubic-bezier(0.22, 0.61, 0.36, 1) both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
    .scroll-num { animation: numero-zoom 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) both; animation-timeline: view(); animation-range: entry 0% entry 50%; }
    .scroll-up { animation: aparecer 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    .patron-puntos { background-image: radial-gradient(circle, rgba(230, 199, 136, 0.10) 1px, transparent 1.6px); background-size: 28px 28px; animation: patron-drift 90s linear infinite; }
    .patron-lineas { background-image: linear-gradient(135deg, rgba(230, 199, 136, 0.05) 1px, transparent 1px), linear-gradient(45deg, rgba(230, 199, 136, 0.05) 1px, transparent 1px); background-size: 80px 80px; animation: patron-drift-rev 120s linear infinite; }
    .cta-shine { position: relative; overflow: hidden; }
    .cta-shine::before { content: ''; position: absolute; top: 0; bottom: 0; left: -120%; width: 60%; background: linear-gradient(90deg, transparent 0%, rgba(244, 239, 230, 0.55) 50%, transparent 100%); transform: skewX(-22deg); animation: shimmer-cta 4.5s cubic-bezier(0.22, 0.61, 0.36, 1) infinite; pointer-events: none; }
    .cta-pulso { animation: pulso-cta 2.8s ease-in-out infinite; }
    .cta-shine-soft { position: relative; overflow: hidden; }
    .cta-shine-soft::before { content: ''; position: absolute; top: 0; bottom: 0; left: -120%; width: 70%; background: linear-gradient(90deg, transparent 0%, rgba(230, 199, 136, 0.18) 50%, transparent 100%); transform: skewX(-22deg); animation: shimmer-cta 9s cubic-bezier(0.4, 0.0, 0.2, 1) infinite; pointer-events: none; }
    .cta-pulso-soft { animation: pulso-cta-soft 5.5s ease-in-out infinite; }
    @keyframes pulso-cta-soft { 0%, 100% { box-shadow: 0 4px 18px rgba(230, 199, 136, 0.10), 0 0 0 0 rgba(230, 199, 136, 0); } 50% { box-shadow: 0 8px 24px rgba(230, 199, 136, 0.22), 0 0 0 3px rgba(230, 199, 136, 0.06); } }
    .nav-link { position: relative; transition: color 0.3s ease; }
    .nav-link::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 0; height: 1.5px; background: #E6C788; transition: width 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), left 0.35s cubic-bezier(0.22, 0.61, 0.36, 1); }
    .nav-link:hover::after { width: 100%; left: 0; }
    .nav-link:hover { color: #E6C788 !important; }
    html { scroll-padding-top: 80px; }
    .trampa-card { animation: aparecer-escala 1.1s cubic-bezier(0.22, 0.61, 0.36, 1) both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    a.cta-shine, a.cta-shine-soft, a.cta-pulso, a.cta-pulso-soft, button.cta-shine, button.cta-shine-soft, button.cta-pulso, button.cta-pulso-soft { outline: none; -webkit-tap-highlight-color: transparent; }
    a.cta-shine:focus, a.cta-shine-soft:focus, a.cta-pulso:focus, a.cta-pulso-soft:focus, button.cta-shine:focus, button.cta-shine-soft:focus { outline: none; box-shadow: none; }
    a.cta-shine:focus-visible, a.cta-shine-soft:focus-visible, button.cta-shine:focus-visible, button.cta-shine-soft:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(230, 199, 136, 0.85), 0 0 32px 8px rgba(230, 199, 136, 0.45), 0 16px 48px rgba(230, 199, 136, 0.35); }
    .lang-switch .lang-opt:hover:not(.is-active) { color: #E6C788 !important; }
    .lang-switch .lang-opt.is-active { pointer-events: none; }
    .lang-switch a:focus { outline: none; box-shadow: none; }
    .lang-switch a:focus-visible { outline: none; box-shadow: 0 0 0 2px rgba(230, 199, 136, 0.6), 0 0 16px 3px rgba(230, 199, 136, 0.3); }
    * { -webkit-tap-highlight-color: rgba(230, 199, 136, 0.18); }


    @keyframes cookie-rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
    @keyframes cookie-pop { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
    #cookie-banner button[data-cookie-action="accept"]:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(230, 199, 136, 0.35); }
    #cookie-banner button[data-cookie-action="reject"]:hover { border-color: #E6C788; color: #E6C788; }
    #cookie-banner button[data-cookie-action="config"]:hover { color: #E6C788; }
    #cookie-modal button[data-cookie-action="close"]:hover { border-color: #E6C788; color: #E6C788; }
    #cookie-modal button[data-cookie-action="save"]:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(230, 199, 136, 0.35); }
    .cookie-switch input:checked ~ .cookie-slider { background: #E6C788; }
    .cookie-switch input:checked ~ .cookie-knob { transform: translateX(18px); background: #0A0A0C; }
    #cookie-banner[hidden], #cookie-modal[hidden] { display: none !important; }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
    }
    ::selection { background: #E6C788; color: #0A0A0C; }
  

    @media (max-width: 540px) {
      /* Header: brand text vuelve ilegible y empuja la hamburguesa fuera del viewport.
         Ocultar el texto del logo en pantallas muy estrechas, dejar solo el icono. */
      nav a[href="#hero"] > span { display: none !important; }
      nav .lang-switch { margin-right: 4px !important; }
      nav .lang-switch a { padding: 5px 9px !important; font-size: 10px !important; }
      nav > div { padding-left: 12px !important; padding-right: 12px !important; gap: 8px !important; }
    }

    /* Cinco claves — justificar párrafos (Por dentro / Lo que casi nadie te dice) */
    #claves p { text-align: justify; text-justify: inter-word; hyphens: auto; }

    /* ============================================================
       MOBILE FIXES — colapso de grids fijos en pantallas ≤ 720px
       Override de inline styles via [style*=...] + !important
       ============================================================ */
    @media (max-width: 720px) {
      /* 5 claves: "01 + content" → stack vertical */
      [style*="grid-template-columns: 120px minmax(0, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
      }
      /* Mockup del producto (libro + app + 2 bonos): 4 cols → 2x2 */
      [style*="grid-template-columns: 1.1fr 1fr 1fr 1fr"] {
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
      }
      /* Acceso 2x2 piezas → 1 col en mobile estrecho */
      [style*="margin-top: clamp(56px, 7vw, 88px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr))"] {
        grid-template-columns: 1fr !important;
      }
      /* Cómo se ve tu dinero (8 tarjetas en 2 col) → 1 col */
      section[data-screen-label="Cómo se ve tu dinero"] [style*="grid-template-columns: repeat(2, minmax(0, 1fr))"],
      section[data-screen-label="After your money"] [style*="grid-template-columns: repeat(2, minmax(0, 1fr))"] {
        grid-template-columns: 1fr !important;
      }
      /* Tabla precio real: 3 cols con anchos fijos → stack */
      [style*="grid-template-columns: 1fr 140px 140px"] {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
      }
      [style*="grid-template-columns: 1fr 140px 140px"] > *:nth-child(2),
      [style*="grid-template-columns: 1fr 140px 140px"] > *:nth-child(3) {
        text-align: left !important;
      }
      /* Garantía: círculo izq + texto der → stack */
      [style*="grid-template-columns: minmax(140px, 180px) 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        text-align: center;
      }
      [style*="grid-template-columns: minmax(140px, 180px) 1fr"] > div:first-child {
        display: flex; justify-content: center;
      }
    }
    @media (max-width: 480px) {
      /* En pantallas muy estrechas, también el mockup del producto a 1 col */
      [style*="grid-template-columns: 1.1fr 1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
      }
    }

/* --- 2 · Hover / focus generados ---------------------------- */
.__h1:hover { transform: translateX(2px) }
.__h2:hover { border-color: #E6C788; color: #F4EFE6; transform: translateY(-3px) scale(1.02) }
.__h3:hover { transform: translateY(-8px) scale(1.025); border-color: #E6C788; box-shadow: 0 22px 56px rgba(230, 199, 136, 0.20), 0 0 0 1px rgba(230, 199, 136, 0.25); background: #1a2c47 }
.__h4:hover { transform: translateY(-8px) scale(1.025); border-color: #E6C788; box-shadow: 0 22px 56px rgba(230, 199, 136, 0.20), 0 0 0 1px rgba(230, 199, 136, 0.25); background: #1a2c47 }
.__h5:hover { transform: translateY(-8px) scale(1.025); border-color: #E6C788; box-shadow: 0 22px 56px rgba(230, 199, 136, 0.20), 0 0 0 1px rgba(230, 199, 136, 0.25); background: #1a2c47 }
.__h6:hover { transform: translateY(-8px) scale(1.025); border-color: #E6C788; box-shadow: 0 22px 56px rgba(230, 199, 136, 0.20), 0 0 0 1px rgba(230, 199, 136, 0.25); background: #1a2c47 }
.__h7:hover { transform: translateY(-8px) scale(1.025); border-color: #E6C788; box-shadow: 0 22px 56px rgba(230, 199, 136, 0.20), 0 0 0 1px rgba(230, 199, 136, 0.25); background: #1a2c47 }
.__h8:hover { transform: translateY(-8px) scale(1.025); border-color: #E6C788; box-shadow: 0 22px 56px rgba(230, 199, 136, 0.28), 0 0 0 1px rgba(230, 199, 136, 0.35) }
.__h9:hover { transform: translateY(-10px) scale(1.025); border-color: #E6C788; box-shadow: 0 26px 64px rgba(230, 199, 136, 0.22), 0 0 0 1px rgba(230, 199, 136, 0.3) }
.__h10:hover { transform: translateY(-10px) scale(1.025); border-color: #E6C788; box-shadow: 0 26px 64px rgba(230, 199, 136, 0.28), 0 0 0 1px rgba(230, 199, 136, 0.35) }
.__h11:hover { background: linear-gradient(90deg, rgba(230, 199, 136, 0.04), rgba(230, 199, 136, 0)) }
.__h12:hover { background: linear-gradient(90deg, rgba(230, 199, 136, 0.04), rgba(230, 199, 136, 0)) }
.__h13:hover { background: linear-gradient(90deg, rgba(230, 199, 136, 0.04), rgba(230, 199, 136, 0)) }
.__h14:hover { background: linear-gradient(90deg, rgba(230, 199, 136, 0.04), rgba(230, 199, 136, 0)) }
.__h15:hover { transform: translateY(-10px) scale(1.025); border-color: #E6C788; box-shadow: 0 30px 70px rgba(230, 199, 136, 0.28), 0 0 0 1px rgba(230, 199, 136, 0.3) }
.__h16:hover { background: #F0D7A4; transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 48px rgba(230, 199, 136, 0.35) }
.__h17:hover { transform: translateY(-6px) scale(1.03); border-color: rgba(230, 199, 136, 0.45); box-shadow: 0 18px 44px rgba(230, 199, 136, 0.10) }
.__h18:hover { transform: translateY(-8px) scale(1.035); border-color: #E6C788; box-shadow: 0 22px 56px rgba(230, 199, 136, 0.25) }
.__h19:hover { transform: translateY(-6px) scale(1.03); border-color: rgba(230, 199, 136, 0.45); box-shadow: 0 18px 44px rgba(230, 199, 136, 0.10) }
.__h20:hover { transform: translateY(-8px) scale(1.035); border-color: #E6C788; box-shadow: 0 22px 56px rgba(230, 199, 136, 0.25) }
.__h21:hover { transform: translateY(-6px) scale(1.03); border-color: rgba(230, 199, 136, 0.45); box-shadow: 0 18px 44px rgba(230, 199, 136, 0.10) }
.__h22:hover { transform: translateY(-8px) scale(1.035); border-color: #E6C788; box-shadow: 0 22px 56px rgba(230, 199, 136, 0.25) }
.__h23:hover { transform: translateY(-6px) scale(1.03); border-color: rgba(230, 199, 136, 0.45); box-shadow: 0 18px 44px rgba(230, 199, 136, 0.10) }
.__h24:hover { transform: translateY(-8px) scale(1.035); border-color: #E6C788; box-shadow: 0 22px 56px rgba(230, 199, 136, 0.25) }
.__h25:hover { transform: translateY(-10px) scale(1.03); border-color: #E6C788; box-shadow: 0 24px 60px rgba(230, 199, 136, 0.22), 0 0 0 1px rgba(230, 199, 136, 0.3) }
.__h26:hover { transform: translateY(-10px) scale(1.03); border-color: #E6C788; box-shadow: 0 24px 60px rgba(230, 199, 136, 0.22), 0 0 0 1px rgba(230, 199, 136, 0.3) }
.__h27:hover { transform: translateY(-10px) scale(1.03); border-color: #E6C788; box-shadow: 0 24px 60px rgba(230, 199, 136, 0.22), 0 0 0 1px rgba(230, 199, 136, 0.3) }
.__h28:hover { transform: translateY(-8px) scale(1.025); border-color: #E6C788; box-shadow: 0 22px 56px rgba(230, 199, 136, 0.25), 0 0 0 1px rgba(230, 199, 136, 0.3) }
.__h29:hover { transform: translateY(-8px) scale(1.025); border-color: #E6C788; box-shadow: 0 22px 56px rgba(230, 199, 136, 0.25), 0 0 0 1px rgba(230, 199, 136, 0.3) }
.__h30:hover { transform: translateY(-8px) scale(1.025); border-color: #E6C788; box-shadow: 0 22px 56px rgba(230, 199, 136, 0.25), 0 0 0 1px rgba(230, 199, 136, 0.3) }
.__h31:hover { transform: translateY(-8px) scale(1.025); border-color: #E6C788; box-shadow: 0 22px 56px rgba(230, 199, 136, 0.25), 0 0 0 1px rgba(230, 199, 136, 0.3) }
.__h32:hover { background: #F0D7A4; transform: translateY(-3px) scale(1.02) }
.__h33:hover { background: rgba(230, 199, 136, 0.06) }
.__h34:hover { background: #F0D7A4; transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 52px rgba(230, 199, 136, 0.4) }
.__h35:hover { color: #E6C788 }
.__h36:hover { color: #E6C788 }
.__h37:hover { color: #E6C788 }
.__h38:focus { outline: 2px solid #E6C788; outline-offset: 3px }
.__h39:focus { outline: 2px solid #F4EFE6; outline-offset: 3px }
.__h40:focus { outline: 2px solid #F4EFE6; outline-offset: 3px }
.__h41:focus { outline: 2px solid #E6C788; outline-offset: -2px }
.__h42:focus { outline: 2px solid #F4EFE6; outline-offset: 3px }
.__h43:focus { outline: 2px solid #E6C788; outline-offset: 3px }
.__h44:focus { outline: 2px solid #E6C788; outline-offset: 3px }
.__h45:focus { outline: 2px solid #E6C788; outline-offset: 3px }
.__h1:hover { transform: translateX(2px) }
.__h2:hover { border-color: #E6C788; color: #F4EFE6; transform: translateY(-3px) scale(1.02) }
.__h3:hover { transform: translateY(-8px) scale(1.025); border-color: #E6C788; box-shadow: 0 22px 56px rgba(230, 199, 136, 0.20), 0 0 0 1px rgba(230, 199, 136, 0.25); background: #1a2c47 }
.__h4:hover { transform: translateY(-8px) scale(1.025); border-color: #E6C788; box-shadow: 0 22px 56px rgba(230, 199, 136, 0.20), 0 0 0 1px rgba(230, 199, 136, 0.25); background: #1a2c47 }
.__h5:hover { transform: translateY(-8px) scale(1.025); border-color: #E6C788; box-shadow: 0 22px 56px rgba(230, 199, 136, 0.20), 0 0 0 1px rgba(230, 199, 136, 0.25); background: #1a2c47 }
.__h6:hover { transform: translateY(-8px) scale(1.025); border-color: #E6C788; box-shadow: 0 22px 56px rgba(230, 199, 136, 0.20), 0 0 0 1px rgba(230, 199, 136, 0.25); background: #1a2c47 }
.__h7:hover { transform: translateY(-8px) scale(1.025); border-color: #E6C788; box-shadow: 0 22px 56px rgba(230, 199, 136, 0.20), 0 0 0 1px rgba(230, 199, 136, 0.25); background: #1a2c47 }
.__h8:hover { transform: translateY(-8px) scale(1.025); border-color: #E6C788; box-shadow: 0 22px 56px rgba(230, 199, 136, 0.28), 0 0 0 1px rgba(230, 199, 136, 0.35) }
.__h9:hover { transform: translateY(-10px) scale(1.025); border-color: #E6C788; box-shadow: 0 26px 64px rgba(230, 199, 136, 0.22), 0 0 0 1px rgba(230, 199, 136, 0.3) }
.__h10:hover { transform: translateY(-10px) scale(1.025); border-color: #E6C788; box-shadow: 0 26px 64px rgba(230, 199, 136, 0.28), 0 0 0 1px rgba(230, 199, 136, 0.35) }
.__h11:hover { background: linear-gradient(90deg, rgba(230, 199, 136, 0.04), rgba(230, 199, 136, 0)) }
.__h12:hover { background: linear-gradient(90deg, rgba(230, 199, 136, 0.04), rgba(230, 199, 136, 0)) }
.__h13:hover { background: linear-gradient(90deg, rgba(230, 199, 136, 0.04), rgba(230, 199, 136, 0)) }
.__h14:hover { background: linear-gradient(90deg, rgba(230, 199, 136, 0.04), rgba(230, 199, 136, 0)) }
.__h15:hover { transform: translateY(-10px) scale(1.025); border-color: #E6C788; box-shadow: 0 30px 70px rgba(230, 199, 136, 0.28), 0 0 0 1px rgba(230, 199, 136, 0.3) }
.__h16:hover { background: #F0D7A4; transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 48px rgba(230, 199, 136, 0.35) }
.__h17:hover { transform: translateY(-6px) scale(1.03); border-color: rgba(230, 199, 136, 0.45); box-shadow: 0 18px 44px rgba(230, 199, 136, 0.10) }
.__h18:hover { transform: translateY(-8px) scale(1.035); border-color: #E6C788; box-shadow: 0 22px 56px rgba(230, 199, 136, 0.25) }
.__h19:hover { transform: translateY(-6px) scale(1.03); border-color: rgba(230, 199, 136, 0.45); box-shadow: 0 18px 44px rgba(230, 199, 136, 0.10) }
.__h20:hover { transform: translateY(-8px) scale(1.035); border-color: #E6C788; box-shadow: 0 22px 56px rgba(230, 199, 136, 0.25) }
.__h21:hover { transform: translateY(-6px) scale(1.03); border-color: rgba(230, 199, 136, 0.45); box-shadow: 0 18px 44px rgba(230, 199, 136, 0.10) }
.__h22:hover { transform: translateY(-8px) scale(1.035); border-color: #E6C788; box-shadow: 0 22px 56px rgba(230, 199, 136, 0.25) }
.__h23:hover { transform: translateY(-6px) scale(1.03); border-color: rgba(230, 199, 136, 0.45); box-shadow: 0 18px 44px rgba(230, 199, 136, 0.10) }
.__h24:hover { transform: translateY(-8px) scale(1.035); border-color: #E6C788; box-shadow: 0 22px 56px rgba(230, 199, 136, 0.25) }
.__h25:hover { transform: translateY(-10px) scale(1.03); border-color: #E6C788; box-shadow: 0 24px 60px rgba(230, 199, 136, 0.22), 0 0 0 1px rgba(230, 199, 136, 0.3) }
.__h26:hover { transform: translateY(-10px) scale(1.03); border-color: #E6C788; box-shadow: 0 24px 60px rgba(230, 199, 136, 0.22), 0 0 0 1px rgba(230, 199, 136, 0.3) }
.__h27:hover { transform: translateY(-10px) scale(1.03); border-color: #E6C788; box-shadow: 0 24px 60px rgba(230, 199, 136, 0.22), 0 0 0 1px rgba(230, 199, 136, 0.3) }
.__h28:hover { transform: translateY(-8px) scale(1.025); border-color: #E6C788; box-shadow: 0 22px 56px rgba(230, 199, 136, 0.25), 0 0 0 1px rgba(230, 199, 136, 0.3) }
.__h29:hover { transform: translateY(-8px) scale(1.025); border-color: #E6C788; box-shadow: 0 22px 56px rgba(230, 199, 136, 0.25), 0 0 0 1px rgba(230, 199, 136, 0.3) }
.__h30:hover { transform: translateY(-8px) scale(1.025); border-color: #E6C788; box-shadow: 0 22px 56px rgba(230, 199, 136, 0.25), 0 0 0 1px rgba(230, 199, 136, 0.3) }
.__h31:hover { transform: translateY(-8px) scale(1.025); border-color: #E6C788; box-shadow: 0 22px 56px rgba(230, 199, 136, 0.25), 0 0 0 1px rgba(230, 199, 136, 0.3) }
.__h32:hover { background: #F0D7A4; transform: translateY(-3px) scale(1.02) }
.__h33:hover { background: rgba(230, 199, 136, 0.06) }
.__h34:hover { background: #F0D7A4; transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 52px rgba(230, 199, 136, 0.4) }
.__h35:hover { color: #E6C788 }
.__h36:hover { color: #E6C788 }
.__h37:hover { color: #E6C788 }
.__h38:focus { outline: 2px solid #E6C788; outline-offset: 3px }
.__h39:focus { outline: 2px solid #F4EFE6; outline-offset: 3px }
.__h40:focus { outline: 2px solid #F4EFE6; outline-offset: 3px }
.__h41:focus { outline: 2px solid #E6C788; outline-offset: -2px }
.__h42:focus { outline: 2px solid #F4EFE6; outline-offset: 3px }
.__h43:focus { outline: 2px solid #E6C788; outline-offset: 3px }
.__h44:focus { outline: 2px solid #E6C788; outline-offset: 3px }
.__h45:focus { outline: 2px solid #E6C788; outline-offset: 3px }


/* --- 3 · Focus accesible (sin outline blanco) --------------- */
*:focus { outline: none; }
*:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(230, 199, 136, 0.5), 0 0 18px 4px rgba(230, 199, 136, 0.25);
  border-radius: 4px;
  transition: box-shadow 0.2s ease;
}
button:focus-visible,
a.cta-shine:focus-visible, a.cta-pulso:focus-visible {
  box-shadow: 0 0 0 3px rgba(230, 199, 136, 0.85), 0 0 32px 8px rgba(230, 199, 136, 0.45), 0 16px 48px rgba(230, 199, 136, 0.35) !important;
}
* { -webkit-tap-highlight-color: rgba(230, 199, 136, 0.18); }
*:focus:not(:focus-visible) { outline: none; box-shadow: none; }

/* --- 4 · Video embed ---------------------------------------- */
.video-embed { transition: box-shadow 0.4s ease, transform 0.4s ease; }
.video-embed:hover { box-shadow: 0 40px 100px rgba(230, 199, 136, 0.25), 0 0 0 1px rgba(230, 199, 136, 0.35); transform: translateY(-4px); }
.video-embed:hover .video-overlay > div:first-child { transform: scale(1.08); }

/* --- 5 · Lang switch ---------------------------------------- */
.lang-switch .lang-opt:hover:not(.is-active) { color: #E6C788 !important; }
.lang-switch .lang-opt.is-active { pointer-events: none; }

/* --- 6 · Cookie banner + modal ------------------------------ */
@keyframes cookie-rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes cookie-pop  { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
#cookie-banner button[data-cookie-action="accept"]:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(230, 199, 136, 0.35); }
#cookie-banner button[data-cookie-action="reject"]:hover { border-color: #E6C788; color: #E6C788; }
#cookie-modal  button[data-cookie-action="close"]:hover  { border-color: #E6C788; color: #E6C788; }
#cookie-modal  button[data-cookie-action="save"]:hover   { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(230, 199, 136, 0.35); }
.cookie-switch input:checked ~ .cookie-slider { background: #E6C788; }
.cookie-switch input:checked ~ .cookie-knob   { transform: translateX(18px); background: #0A0A0C; }
#cookie-banner[hidden], #cookie-modal[hidden] { display: none !important; }

/* --- 7 · Scroll reveal universal --------------------------- */
@supports (animation-timeline: view()) {
  section[data-screen-label] p:not([style*="animation:"]),
  section[data-screen-label] h2:not([style*="animation:"]),
  section[data-screen-label] h3:not([style*="animation:"]),
  section[data-screen-label] h4:not([style*="animation:"]),
  section[data-screen-label] li:not([style*="animation:"]),
  section[data-screen-label] ul:not([style*="animation:"]),
  section[data-screen-label] .faq-item,
  footer p, footer nav, footer > div > div {
    animation: aparecer 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}

/* --- 8 · Mobile fixes -------------------------------------- */
#claves p { text-align: justify; text-justify: inter-word; hyphens: auto; }
@media (max-width: 720px) {
  [style*="grid-template-columns: 120px minmax(0, 1fr)"] { grid-template-columns: 1fr !important; gap: 16px !important; }
  [style*="grid-template-columns: 1.1fr 1fr 1fr 1fr"]    { grid-template-columns: 1fr 1fr !important; gap: 20px !important; }
  [style*="margin-top: clamp(56px, 7vw, 88px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr))"] { grid-template-columns: 1fr !important; }
  section[data-screen-label="Cómo se ve tu dinero"] [style*="grid-template-columns: repeat(2, minmax(0, 1fr))"],
  section[data-screen-label="After your money"]    [style*="grid-template-columns: repeat(2, minmax(0, 1fr))"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns: 1fr 140px 140px"] { grid-template-columns: 1fr !important; gap: 8px !important; }
  [style*="grid-template-columns: 1fr 140px 140px"] > *:nth-child(2),
  [style*="grid-template-columns: 1fr 140px 140px"] > *:nth-child(3) { text-align: left !important; }
  [style*="grid-template-columns: minmax(140px, 180px) 1fr"] { grid-template-columns: 1fr !important; gap: 24px !important; text-align: center; }
  [style*="grid-template-columns: minmax(140px, 180px) 1fr"] > div:first-child { display: flex; justify-content: center; }
}
@media (max-width: 480px) {
  [style*="grid-template-columns: 1.1fr 1fr 1fr 1fr"] { grid-template-columns: 1fr !important; }
}


/* --- 9 · Mobile fix · 30 years / The same money cards ----- */
@media (max-width: 720px) {
  .trampa-card [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}


/* ===== Efectos recientes (sincronizados desde la versión .dc.html) ===== */

/* === Hover selección sobre filas de la tabla de precios === */
.price-row { position: relative; transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1); }
.price-row::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #E6C788; transform: scaleY(0); transform-origin: top; transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1); }
.price-row:hover { background: rgba(230, 199, 136, 0.06); box-shadow: 0 0 0 1px rgba(230, 199, 136, 0.18) inset; }
.price-row:hover::before { transform: scaleY(1); }
.price-row:hover .price-name { color: #E6C788 !important; }

/* === Zoom + glow sobre la tarjeta Launch offer === */
.selection-glow { transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.5s ease, border-color 0.4s ease; }
.selection-glow:hover { transform: translateY(-6px) scale(1.015); border-color: #E6C788 !important; box-shadow: 0 32px 80px rgba(230, 199, 136, 0.28), 0 0 0 1px rgba(230, 199, 136, 0.35) !important; }

/* === Cronómetro: más llamativo === */
@keyframes timer-glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(230, 199, 136, 0.32), 0 12px 36px rgba(230, 199, 136, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.03); }
  50%      { box-shadow: 0 0 0 1px rgba(230, 199, 136, 0.55), 0 18px 48px rgba(230, 199, 136, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
}
@keyframes timer-seconds-pulse {
  0%, 100% { transform: scale(1); text-shadow: 0 0 18px rgba(230, 199, 136, 0.35), 0 0 0 rgba(230, 199, 136, 0); }
  50%      { transform: scale(1.04); text-shadow: 0 0 28px rgba(230, 199, 136, 0.6), 0 0 8px rgba(230, 199, 136, 0.3); }
}
@keyframes timer-shine {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}
.timer-tile {
  position: relative;
  background: linear-gradient(180deg, #122339 0%, #0B1525 100%) !important;
  border-color: rgba(230, 199, 136, 0.4) !important;
  border: 1px solid rgba(230, 199, 136, 0.4);
  animation: timer-glow 3.4s ease-in-out infinite;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), border-color 0.35s ease;
}
.timer-tile::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(230, 199, 136, 0.18) 50%, transparent 62%);
  transform: translateX(-100%);
  animation: timer-shine 6s ease-in-out infinite;
  animation-delay: 1.5s;
}
.timer-tile:nth-child(2)::after { animation-delay: 2.2s; }
.timer-tile:nth-child(3)::after { animation-delay: 2.9s; }
.timer-tile:nth-child(4)::after { animation-delay: 3.6s; }
.timer-tile:hover { transform: translateY(-3px); border-color: #E6C788 !important; }
.timer-num {
  position: relative; z-index: 1;
  background: linear-gradient(180deg, #F4EFE6 0%, #E6C788 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 12px rgba(230, 199, 136, 0.25));
}
.timer-tile.is-seconds .timer-num {
  background: linear-gradient(180deg, #FBE7B5 0%, #E6C788 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: timer-seconds-pulse 1s ease-in-out infinite;
  display: inline-block;
}
.timer-label {
  position: relative; z-index: 1;
  color: #E6C788 !important;
  opacity: 0.9;
}
.timer-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px; border: 1px solid rgba(230, 199, 136, 0.4);
  border-radius: 999px; background: rgba(230, 199, 136, 0.05);
}
.timer-eyebrow::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: #E6C788;
  box-shadow: 0 0 0 0 rgba(230, 199, 136, 0.7);
  animation: timer-led 1.6s ease-in-out infinite;
}
@keyframes timer-led {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230, 199, 136, 0.7), 0 0 8px rgba(230, 199, 136, 0.6); }
  50%      { box-shadow: 0 0 0 8px rgba(230, 199, 136, 0), 0 0 14px rgba(230, 199, 136, 0.9); }
}
@media (prefers-reduced-motion: reduce) {
  .timer-tile, .timer-tile::after, .timer-tile.is-seconds .timer-num, .timer-eyebrow::before { animation: none !important; }
}

/* === Zoom + glow sobre el mockup del producto === */
.mockup-zoom { transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.55s ease, border-color 0.45s ease; }
.mockup-zoom:hover {
  transform: scale(1.035) translateY(-12px);
  border-color: #E6C788 !important;
  box-shadow: 0 56px 130px rgba(230, 199, 136, 0.34), 0 0 0 1px rgba(230, 199, 136, 0.5), inset 0 1px 0 rgba(230, 199, 136, 0.14) !important;
}

/* === FAQ · selección sobria === */
.faq-row { position: relative; transition: background 0.4s ease; }
.faq-row::before {
  content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px;
  background: #E6C788; opacity: 0;
  transform: scaleY(0); transform-origin: center;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.35s ease;
}
.faq-row:hover { background: rgba(255, 255, 255, 0.022); }
.faq-row:hover::before { transform: scaleY(1); opacity: 0.65; }
.faq-q { transition: color 0.3s ease; }
.faq-row:hover .faq-q { color: #FFFFFF !important; }
