/* 0-light-test.css — AJUSTES DEL MODO CLARO EN PRUEBAS
   Solo se aplica cuando (1) la web está en modo claro y (2) hay una sesión de admin
   abierta (existe el botón "Editar esta página"). Los visitantes NO ven estas reglas.
   Para publicarlas: sustituir el prefijo largo por  html[data-theme="light"]  */


/* Hero (foto de fondo: texto en blanco) */

/* Barra de confianza */
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) .trust-bar .trust-item { color:#1A3A55 !important; }

/* Problemas / solución */
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #problemas .solution-side .intro { color:#4A6A80 !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #problemas .sol-text { color:#2A4A60 !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #problemas .sol-text strong { color:#0D1F30 !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #problemas .prob-desc { color:#4A6A80 !important; }

/* Servicios (tarjetas oscuras: texto claro) */
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #servicios .services-header p { color:#4A6A80 !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #servicios .srv-card .srv-name { color:#fff !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #servicios .srv-card .srv-desc { color:#C8D6E0 !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #servicios .srv-card .srv-feats li { color:#DCE6EE !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #servicios .srv-card a { color:#00C8F0 !important; }

/* Banner urgencia */
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) .urgency-banner p { color:#0D1F30 !important; }

/* Resultados / testimonios */
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #prueba .testi .testi-text { color:#E6EDF3 !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #prueba .testi-name { color:#fff !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #prueba .testi-role { color:#B8C8D8 !important; }

/* Garantía */
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) .kgb-list li { color:#2A4A60 !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) .kgb-badge { color:#fff !important; }

/* Por qué Kiralia */
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #porque .why-left p { color:#4A6A80 !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #porque .why-item .why-title { color:#fff !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #porque .why-item .why-desc { color:#C8D6E0 !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #porque .why-item .ki-ico { color:#00E676 !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #porque .why-big { color:#fff !important; }

/* Sectores */
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #sectores p:not(.sector-desc) { color:#4A6A80 !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #sectores .sector-card .sector-title { color:#fff !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #sectores .sector-card .sector-desc { color:#C8D6E0 !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #sectores .sector-card span { color:#DCE6EE !important; }

/* Proceso (foto de fondo) */
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #proceso .section-h2 { color:#fff !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #proceso p { color:#DCE6EE !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #proceso .step-title { color:#fff !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #proceso .step-desc { color:#C8D6E0 !important; }

/* Contacto */
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #contacto .contact-left p { color:#4A6A80 !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #contacto .contact-direct { color:#2A4A60 !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #contacto .contact-direct div { color:#2A4A60 !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #contacto .contact-direct .cd-title { color:#0B7A4B !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #contacto .lead-form .form-title { color:#fff !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #contacto .lead-form .form-subtitle { color:#B8C8D8 !important; }

/* Footer y barra flotante */
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) .kiralia-site-footer h4 { color:#fff !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) .kiralia-site-footer p, .kiralia-site-footer span, .kiralia-site-footer li, .kiralia-site-footer a { color:#C8D6E0 !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #kiralia-float-bar p, #kiralia-float-bar strong { color:#fff !important; }

/* Footer de la portada (está dentro de main) y tarjetas con fondo sólido */
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) main footer .footer-col h4 { color:#fff !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) main footer p, html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) main footer span, html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) main footer li { color:#C8D6E0 !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) main footer a { color:#DCE6EE !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) main footer .footer-col a:hover { color:#00E676 !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #porque .why-item { background:#111c2b !important; border-color:rgba(0,200,240,.18) !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #sectores .sector-card { background:#111c2b !important; border-color:rgba(0,200,240,.18) !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #prueba .testi { background:#111c2b !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #servicios .srv-card .srv-feats li::before { opacity:1 !important; }


/* Hero en modo claro: velo claro sobre la foto y texto oscuro */
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #hero::before { background: transparent !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #hero::after { background: linear-gradient(rgba(240,247,255,.28) 0%, rgba(240,247,255,.36) 45%, rgba(240,247,255,.60) 80%, #F0F7FF 100%) !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #hero .hero-h1 { color:#0D1F30 !important; text-shadow:none !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #hero .hero-sub { color:#2A4A60 !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #hero .btn-secondary { color:#0D1F30 !important; border-color:rgba(13,31,48,.35) !important; background:rgba(255,255,255,.6) !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #hero .btn-secondary:hover { background:#fff !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #hero .hero-guarantee { color:#0B7A4B !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #hero .hs-n { color:#0D1F30 !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #hero .hero-pill { color:#0369A1 !important; background:rgba(3,105,161,.08) !important; border-color:rgba(3,105,161,.3) !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #hero .hero-location { color:#0B7A4B !important; background:rgba(11,122,75,.08) !important; border-color:rgba(11,122,75,.3) !important; }


/* Hero más oscuro: panel de cristal claro detrás del bloque de texto para asegurar la lectura */
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #hero > div { background:rgba(240,247,255,.62) !important; backdrop-filter:blur(8px) !important; -webkit-backdrop-filter:blur(8px) !important; border:1px solid rgba(255,255,255,.6) !important; border-radius:28px !important; padding:36px 48px !important; box-shadow:0 20px 60px rgba(0,40,80,.12) !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #hero .hero-sub { color:#1A3A55 !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #hero .hero-guarantee { color:#0B7A4B !important; }
html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #hero .hs-l { color:#1A3A55 !important; }
@media (max-width:640px){ html[data-theme="light"]:has(a[href^="/admin/pages.php?edit="]) #hero > div { padding:24px 18px !important; border-radius:18px !important; } }
