/* Cibelium · Tema de día (claro). El tema de noche es el estilo original. */
html[data-theme="light"]{
  --navy:#EEF3FA; --navy-2:#FFFFFF; --white:#0E1A2B; --gray:#5A6778; --gray-2:#34404F; --sky:#4338CA;
  --glass:rgba(255,255,255,.72); --glass-b:rgba(14,26,43,.11); color-scheme:light;
}
html[data-theme="dark"]{color-scheme:dark}
html.theme-anim body,html.theme-anim body *{transition:background-color .6s ease,color .6s ease,border-color .6s ease,box-shadow .6s ease!important}
html[data-theme="light"] .bg{background:radial-gradient(1200px 700px at 80% -10%,#dfe6ff 0%,transparent 60%),radial-gradient(900px 600px at -10% 40%,#e2eefb 0%,transparent 60%),var(--navy)}
html[data-theme="light"] .grid{background-image:linear-gradient(rgba(14,26,43,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(14,26,43,.05) 1px,transparent 1px)}
html[data-theme="light"] .orb.a,html[data-theme="light"] .orb.b{opacity:.35}
html[data-theme="light"] .orb.a2,html[data-theme="light"] .orb.b2{opacity:.6}
html[data-theme="light"] .aurora{opacity:.22}
html[data-theme="light"] .glass{background:linear-gradient(150deg,rgba(255,255,255,.9),rgba(255,255,255,.62));box-shadow:0 14px 34px -22px rgba(14,26,43,.35)}
html[data-theme="light"] header .nav.glass{background:rgba(255,255,255,.72)}
html[data-theme="light"] .mobile-menu.glass{background:rgba(255,255,255,.96)}
html[data-theme="light"] .mobile-menu a:active{background:rgba(14,26,43,.06)}
html[data-theme="light"] .menu-btn{background:rgba(14,26,43,.04);color:var(--white)}
html[data-theme="light"] .menu-btn svg{stroke:var(--white)}
html[data-theme="light"] .links a:hover,html[data-theme="light"] .link-btn:hover{color:#000}
html[data-theme="light"] .wordmark{color:var(--white)}
html[data-theme="light"] .divider{background:linear-gradient(180deg,transparent,rgba(14,26,43,.45),transparent)}
html[data-theme="light"] .btn.ghost{border-color:rgba(14,26,43,.16);background:rgba(255,255,255,.65);color:var(--white)}
html[data-theme="light"] .btn.ghost:hover{background:#fff}
html[data-theme="light"] .tag{color:#4338CA;border-color:rgba(67,56,202,.25);background:rgba(67,56,202,.07)}
html[data-theme="light"] .hero h1 span{background-image:linear-gradient(90deg,#4f46e5,#7837fd 30%,#0284c7 60%,#4f46e5)}
html[data-theme="light"] .eyebrow{background-image:linear-gradient(90deg,#6a2ff0,#0284c7)}
html[data-theme="light"] .hero-card .row,html[data-theme="light"] .hero-card .card-top{border-color:rgba(14,26,43,.08)}
html[data-theme="light"] .ic svg{stroke:#5b3ae0}
html[data-theme="light"] .hero-card .ok,html[data-theme="light"] .path .tagline{color:#0369a1}
html[data-theme="light"] .badge{color:#15803d}
html[data-theme="light"] .svc:hover{background:rgba(120,55,253,.06)}
html[data-theme="light"] .svc.feat{background:linear-gradient(160deg,rgba(120,55,253,.10),rgba(43,184,252,.07) 55%,rgba(255,255,255,.8))}
html[data-theme="light"] .client-logo{border-color:rgba(14,26,43,.1)}
html[data-theme="light"] .chip{background:rgba(14,26,43,.04)}
html[data-theme="light"] .stats > div{background:rgba(255,255,255,.7);border-color:rgba(14,26,43,.08)}
html[data-theme="light"] input,html[data-theme="light"] select,html[data-theme="light"] textarea{background:#fff;color:var(--white);border-color:rgba(14,26,43,.16)}
html[data-theme="light"] select option{background:#fff}
html[data-theme="light"] .f-help.small,html[data-theme="light"] .opt,html[data-theme="light"] .req,html[data-theme="light"] .f-count{color:var(--gray)}
html[data-theme="light"] label{color:var(--gray-2)}
html[data-theme="light"] .f-err{color:#b42318}
html[data-theme="light"] [aria-invalid="true"]{border-color:#d92d20!important}
html[data-theme="light"] .consent a,html[data-theme="light"] .legal-links a{color:#0369a1}
html[data-theme="light"] footer .wrap{border-top-color:rgba(14,26,43,.1)}
html[data-theme="light"] .promise p,html[data-theme="light"] .values-intro strong{color:var(--white)}
html[data-theme="light"] .path li::before{background:#fff;color:var(--white)}
html[data-theme="light"] #intro{background:radial-gradient(800px 500px at 50% 45%,#ffffff,var(--navy) 70%)}
html[data-theme="light"] #intro .word{color:var(--white)}
html[data-theme="light"] #intro .tag-line{color:#4338CA}
html[data-theme="light"] :focus-visible{outline-color:#2563eb}
html[data-theme="light"] #sL stop:nth-child(1){stop-color:#8a9abb} html[data-theme="light"] #sL stop:nth-child(2){stop-color:#3f5073}
html[data-theme="light"] #sR stop:nth-child(1){stop-color:#9aa9c8} html[data-theme="light"] #sR stop:nth-child(2){stop-color:#4b5d82}
html[data-theme="light"] .cookie{background:rgba(255,255,255,.97);color:var(--white);border-color:rgba(14,26,43,.14);box-shadow:0 20px 60px rgba(14,26,43,.25)}
html[data-theme="light"] .cookie p{color:var(--gray-2)}
html[data-theme="light"] .cookie a{color:#0369a1}
html[data-theme="light"] .ck-opt{background:rgba(14,26,43,.04);border-color:rgba(14,26,43,.1)}
html[data-theme="light"] .ck-btn{background:rgba(14,26,43,.04);border-color:rgba(14,26,43,.2);color:var(--white)}
html[data-theme="light"] .ck-btn.primary{color:#fff}

/* Botón de tema */
.theme-btn{width:44px;height:44px;border-radius:12px;border:1px solid var(--glass-b);background:var(--glass);color:var(--white);display:grid;place-items:center;cursor:pointer;position:relative;transition:transform .2s}
.theme-btn:hover{transform:rotate(-12deg)}
.theme-btn svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;display:none}
html[data-mode="auto"] .theme-btn .i-auto,html[data-mode="light"] .theme-btn .i-sun,html[data-mode="dark"] .theme-btn .i-moon{display:block}
.theme-btn .auto-badge{position:absolute;right:3px;bottom:3px;font:700 9px Inter,sans-serif;color:var(--cyan);display:none}
html[data-mode="auto"] .theme-btn .auto-badge{display:block}
html[data-theme="light"] .ck-btn.primary{background:#5b2fd9;border-color:#5b2fd9;color:#fff}
html[data-theme="light"] .ck-btn.primary:hover{background:#4a22c4}
