
        :root {
            --acento: #38bdf8;
            --acento-2: #2dd4a7;
            --texto: #e8eef7;
            --tenue: #93a4bb;
            --borde: rgba(148, 176, 214, .18);
            --panel: rgba(17, 32, 56, .72);
            --fondo: #091020;
        }
        * { box-sizing: border-box; }
        html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
        body {
            margin: 0;
            font-family: 'IBM Plex Sans', system-ui, sans-serif;
            color: var(--texto);
            background:
                radial-gradient(1100px 620px at 70% -10%, #122a46 0%, transparent 62%),
                linear-gradient(170deg, #091020 0%, #0d1b30 55%, #0a1526 100%) fixed;
            line-height: 1.6;
        }
        a { color: var(--acento); }
        .degradado {
            background: linear-gradient(100deg, var(--acento), var(--acento-2));
            -webkit-background-clip: text; background-clip: text; color: transparent;
        }

        /* Cabecera */
        .cabecera {
            position: sticky; top: 0; z-index: 10;
            backdrop-filter: blur(14px);
            background: rgba(9, 16, 32, .72);
            border-bottom: 1px solid var(--borde);
        }
        .cabecera .contenedor { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1.25rem; }
        .marca { font-weight: 700; font-size: 1.05rem; color: var(--texto); text-decoration: none; }
        .marca em { font-style: normal; }
        .navegacion { display: flex; gap: 1.4rem; font-size: .88rem; }
        .navegacion a { color: var(--tenue); text-decoration: none; }
        .navegacion a:hover { color: var(--texto); }
        @media (max-width: 860px) { .navegacion { display: none; } }

        .contenedor { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }

        /* Bloques comunes */
        .tarjeta {
            background: var(--panel);
            border: 1px solid var(--borde);
            border-radius: 14px;
            padding: 1.9rem;
            backdrop-filter: blur(14px);
            box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .9);
        }
        .tarjeta h2 { font-size: 1rem; font-weight: 600; margin: 0 0 1.4rem; }
        .form-label { font-size: .82rem; color: var(--tenue); margin-bottom: .35rem; }
        .form-control {
            background: rgba(8, 17, 32, .85); border: 1px solid var(--borde);
            color: var(--texto); padding: .6rem .8rem;
        }
        .form-control:focus {
            background: rgba(8, 17, 32, .95); color: var(--texto);
            border-color: var(--acento); box-shadow: 0 0 0 .18rem rgba(56, 189, 248, .18);
        }
        .form-control::placeholder { color: #55678a; }
        .form-check-input { background-color: rgba(8,17,32,.85); border-color: var(--borde); }
        .form-check-input:checked { background-color: var(--acento); border-color: var(--acento); }
        .form-check-label { font-size: .85rem; color: var(--tenue); }
        .boton {
            display: inline-block; width: 100%; border: 0; border-radius: 8px; padding: .68rem;
            font-weight: 600; color: #04121f; text-align: center; text-decoration: none;
            background: linear-gradient(100deg, var(--acento), var(--acento-2));
            transition: filter .15s ease;
        }
        .boton:hover { filter: brightness(1.08); color: #04121f; }
        .boton-secundario {
            display: inline-block; border: 1px solid var(--borde); border-radius: 8px; padding: .55rem 1rem;
            color: var(--texto); text-decoration: none; font-weight: 500; font-size: .9rem;
        }
        .boton-secundario:hover { border-color: var(--acento); color: var(--texto); }
        .aviso {
            border-radius: 8px; padding: .6rem .8rem; font-size: .86rem; margin-bottom: 1.1rem;
            background: rgba(190, 40, 60, .16); border: 1px solid rgba(248, 113, 133, .35); color: #fecdd3;
        }
        .aviso-ok { background: rgba(20, 150, 110, .16); border-color: rgba(45, 212, 167, .35); color: #b8f1dd; }
        .enlaces { text-align: center; margin-top: 1.2rem; font-size: .84rem; }
        .enlaces a { text-decoration: none; }
        .enlaces a:hover { text-decoration: underline; }

        /* Portada */
        .portada { padding: 4.5rem 0 3.5rem; }
        .portada h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.07; margin: 0 0 1.2rem; }
        .portada .entradilla { color: var(--tenue); font-size: 1.08rem; max-width: 52ch; margin-bottom: 1.6rem; }
        .claves { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .55rem; }
        .claves li { display: flex; gap: .6rem; align-items: baseline; }
        .claves i { color: var(--acento-2); }

        /* Manual */
        .seccion { padding: 3.2rem 0; border-top: 1px solid var(--borde); }
        .seccion > .contenedor > h2 { font-size: 1.65rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: .5rem; }
        .seccion .intro { color: var(--tenue); max-width: 70ch; margin-bottom: 2rem; }
        .modulo {
            height: 100%;
            background: rgba(17, 32, 56, .45);
            border: 1px solid var(--borde);
            border-radius: 12px;
            padding: 1.4rem 1.5rem;
        }
        .modulo h3 { font-size: 1.05rem; font-weight: 600; margin: 0 0 .7rem; display: flex; gap: .55rem; align-items: center; }
        .modulo h3 i { color: var(--acento); font-size: 1.15rem; }
        .modulo p { color: var(--tenue); font-size: .93rem; margin-bottom: .6rem; }
        .modulo ul { color: var(--tenue); font-size: .92rem; padding-left: 1.1rem; margin: 0; }
        .modulo li { margin-bottom: .3rem; }
        .modulo strong { color: var(--texto); font-weight: 500; }
        .limite i { color: #fbbf24 !important; }

        details.pregunta { border-bottom: 1px solid var(--borde); padding: 1rem 0; }
        details.pregunta summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
        details.pregunta summary::after { content: '+'; color: var(--acento); font-size: 1.2rem; line-height: 1; }
        details.pregunta[open] summary::after { content: '−'; }
        details.pregunta p { color: var(--tenue); margin: .8rem 0 0; max-width: 75ch; }

        .pie { border-top: 1px solid var(--borde); padding: 2rem 0; color: var(--tenue); font-size: .85rem; }
        .pie a { color: var(--tenue); text-decoration: none; }
        .pie a:hover { color: var(--texto); }
        .pie .legales { display: flex; gap: 1.2rem; flex-wrap: wrap; }

        /* Textos legales */
        .legal { max-width: 860px; }
        .legal h1 { font-size: 2rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: .3rem; }
        .legal .actualizado { color: var(--tenue); font-size: .85rem; margin-bottom: 2rem; }
        .legal h2 { font-size: 1.2rem; font-weight: 600; margin: 2.2rem 0 .8rem; }
        .legal h3 { font-size: 1rem; font-weight: 600; margin: 1.6rem 0 .6rem; }
        .legal p, .legal li { color: #c8d3e3; }
        .legal li { margin-bottom: .35rem; }
        .legal .recuadro { border: 1px solid var(--borde); border-left: 3px solid var(--acento); border-radius: 8px; padding: 1rem 1.2rem; background: rgba(17,32,56,.45); margin-bottom: 1.5rem; color: #c8d3e3; }
        .legal table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; font-size: .92rem; }
        .legal table th, .legal table td { border-bottom: 1px solid var(--borde); padding: .55rem .6rem; vertical-align: top; text-align: left; color: #c8d3e3; }
        .legal table.datos th { width: 200px; color: var(--tenue); font-weight: 500; }
        .legal table.tabla thead th { color: var(--tenue); font-weight: 500; }
        .legal .cod { font-family: ui-monospace, monospace; font-size: .88em; }
        .legal .falta { color: #fda4af; background: rgba(190,40,60,.18); padding: 0 .3rem; border-radius: 4px; font-weight: 600; }
        .legal .otros-textos { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid var(--borde); font-size: .9rem; }

        .aviso-medicion {
            position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 20; max-width: 560px; margin-left: auto;
            background: #0f1d33; border: 1px solid var(--borde); border-radius: 12px; padding: 1rem 1.1rem;
            box-shadow: 0 18px 50px -20px rgba(0,0,0,.9); font-size: .88rem; color: #c8d3e3;
        }
        .aviso-medicion[hidden] { display: none; }
        .aviso-medicion .botones { display: flex; gap: .5rem; margin-top: .8rem; }
        .aviso-medicion button {
            flex: 1; border-radius: 8px; padding: .5rem; font-weight: 600; font-size: .86rem;
            border: 1px solid var(--borde); background: transparent; color: var(--texto);
        }
        .aviso-medicion button:hover { border-color: var(--acento); }

        @media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
    
/* Ajustes específicos de EasyFactu */
.modulo { height: 100%; }
