/* deepfolio · Página de estado (/estado/, mejora 71). Claro y Burdeos aquí mismo. */
body { overflow-x: hidden; line-height: 1.6; }
.es-hero { padding: 8rem 2rem 0.5rem; position: relative; }
.es-hero .section-container { text-align: center; max-width: 720px; margin: 0 auto; }
.es-hero .section-title { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 600; margin-bottom: 1rem; line-height: 1.2; }
.es-hero .section-title em { color: var(--gold-light, #D4B96A); }
.es-hero .section-subtitle { font-size: 1.05rem; color: var(--cream); opacity: 0.7; font-weight: 300; }
.es-main { padding: 2rem 2rem 6rem; }
.es-contenedor { max-width: 820px; margin: 0 auto; display: grid; gap: 1.5rem; }

.es-general { display: flex; align-items: center; gap: 18px; padding: 1.4rem 1.6rem; border: 1px solid rgba(201,168,76,0.35); background: rgba(42,16,21,0.6); }
.es-luz { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; background: #8B7075; box-shadow: 0 0 0 6px rgba(139,112,117,0.15); }
.es-general[data-est="ok"] .es-luz { background: #4CAF7A; box-shadow: 0 0 0 6px rgba(76,175,122,0.18); }
.es-general[data-est="parcial"] .es-luz { background: #D4A03A; box-shadow: 0 0 0 6px rgba(212,160,58,0.2); }
.es-general[data-est="caido"] .es-luz { background: #E0626B; box-shadow: 0 0 0 6px rgba(224,98,107,0.2); }
.es-general-txt { display: grid; gap: 4px; }
.es-general-txt strong { font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; color: var(--cream); line-height: 1.25; }
.es-general-txt small { font-size: 0.92rem; color: var(--cream); opacity: 0.68; }
.es-general a, .es-nota a { color: var(--gold-light, #D4B96A); }
[data-si][hidden] { display: none !important; }

.es-servicios { list-style: none; margin: 0; padding: 0; border: 1px solid rgba(123,45,53,0.35); background: rgba(42,16,21,0.45); }
.es-servicios li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 1rem 1.3rem; border-top: 1px solid rgba(123,45,53,0.3); }
.es-servicios li:first-child { border-top: 0; }
.es-servicios .ico { width: 20px; height: 20px; color: var(--gold, #C9A84C); }
.es-servicios b { display: block; font-weight: 600; color: var(--cream); }
.es-servicios small { display: block; font-size: 0.85rem; color: var(--cream); opacity: 0.6; line-height: 1.45; }
.es-pastilla { font-size: 0.8rem; font-weight: 600; white-space: nowrap; padding: 4px 12px; border: 1px solid rgba(245,237,228,0.2); color: var(--cream); opacity: 0.85; }
.es-pastilla i { font-style: normal; }
li[data-est="ok"] .es-pastilla { color: #7FD1A0; border-color: rgba(76,175,122,0.5); background: rgba(76,175,122,0.08); }
li[data-est="mal"] .es-pastilla { color: #F0A35E; border-color: rgba(224,140,70,0.5); background: rgba(224,140,70,0.08); }

.es-dia { padding: 1.3rem 1.5rem; border: 1px solid rgba(123,45,53,0.35); background: rgba(42,16,21,0.45); display: grid; gap: 10px; }
.es-dia-cab { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; }
.es-dia h2 { margin: 0; font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; color: var(--cream); }
.es-leyenda { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--cream); opacity: 0.65; }
.es-leyenda i { width: 10px; height: 10px; display: inline-block; margin-left: 8px; }
.es-barras { display: flex; gap: 3px; height: 38px; }
.es-barras i { flex: 1 1 0; min-width: 2px; background: rgba(245,237,228,0.12); }
.es-b-ok, .es-l-ok { background: #4CAF7A !important; }
.es-b-mal, .es-l-mal { background: #E08C46 !important; }
.es-l-nada { background: rgba(245,237,228,0.18); }
.es-ejes { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--cream); opacity: 0.55; }
.es-resumen { margin: 0; font-size: 0.88rem; color: var(--cream); opacity: 0.75; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.es-resumen b { font-weight: 600; }
.es-nota { margin: 0; text-align: center; font-size: 0.88rem; color: var(--cream); opacity: 0.6; }

@media (max-width: 640px) {
    .es-hero { padding: 6.5rem 1rem 0.5rem; }
    .es-main { padding: 1.5rem 1rem 4rem; }
    .es-servicios li { grid-template-columns: 22px minmax(0, 1fr); }
    .es-pastilla { grid-column: 2; justify-self: start; }
    .es-barras { gap: 2px; height: 32px; }
}

/* Claro */
html[data-tema="claro"] .es-general, html[data-tema="claro"] .es-servicios, html[data-tema="claro"] .es-dia { background: #FBF8F2; border-color: rgba(110,31,42,0.22); }
html[data-tema="claro"] .es-general { border-color: rgba(110,31,42,0.4); }
html[data-tema="claro"] .es-servicios li { border-color: rgba(110,31,42,0.14); }
html[data-tema="claro"] .es-general-txt strong, html[data-tema="claro"] .es-servicios b, html[data-tema="claro"] .es-dia h2 { color: #2A1015; }
html[data-tema="claro"] .es-general-txt small, html[data-tema="claro"] .es-servicios small, html[data-tema="claro"] .es-leyenda,
html[data-tema="claro"] .es-ejes, html[data-tema="claro"] .es-resumen, html[data-tema="claro"] .es-nota, html[data-tema="claro"] .es-pastilla,
html[data-tema="claro"] .es-hero .section-subtitle { color: #2A1015; }
html[data-tema="claro"] .es-servicios .ico { color: #7A1E28; }
html[data-tema="claro"] .es-hero .section-title em, html[data-tema="claro"] .es-general a, html[data-tema="claro"] .es-nota a { color: #7A1E28; }
html[data-tema="claro"] .es-barras i, html[data-tema="claro"] .es-l-nada { background: rgba(110,31,42,0.12); }
html[data-tema="claro"] .es-pastilla { border-color: rgba(110,31,42,0.25); }
html[data-tema="claro"] li[data-est="ok"] .es-pastilla { color: #23794A; border-color: rgba(35,121,74,0.45); background: rgba(35,121,74,0.07); }
html[data-tema="claro"] li[data-est="mal"] .es-pastilla { color: #A4561B; border-color: rgba(164,86,27,0.45); background: rgba(164,86,27,0.07); }
html[data-tema="claro"] .es-b-ok, html[data-tema="claro"] .es-l-ok { background: #2E8B57 !important; }
