/* ═══════════════════════════════════════════════════════════════════════
   EnerPhys — Energía & Física
   Paleta verde sobre fondo oscuro, derivada del child theme Apaxi.
═══════════════════════════════════════════════════════════════════════ */

:root {
    --ep-deep:      #030d06;
    --ep-surface:   #071a0d;
    --ep-card:      #0a2212;
    --ep-border:    rgba(0, 230, 118, 0.15);
    --ep-primary:   #00e676;
    --ep-secondary: #69f0ae;
    --ep-light:     #b9f6ca;
    --ep-energy:    #ffd740;
    --ep-nuclear:   #ff6e40;
    --ep-danger:    #ff5252;
    --ep-text:      #e0f2e9;
    --ep-muted:     rgba(176, 230, 198, 0.55);
    --ep-font-sans: 'Inter', system-ui, sans-serif;
    --ep-font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* ─── Reset Base ─── */
*,
*::before,
*::after { box-sizing: border-box; }

body.is-enerphys { overflow-x: hidden; }

.ep-page {
    background-color: var(--ep-deep);
    color: var(--ep-text);
    font-family: var(--ep-font-sans);
    min-height: 100vh;
}

/* ─── Global link reset ─── */
.ep-page a,
.ep-page a:hover,
.ep-page a:focus { text-decoration: none; }

/* ═══════════════════════════════════════════════════════════════════════
   HEADER — sticky verde
═══════════════════════════════════════════════════════════════════════ */

/* ── Header area: overlay sobre el slider, igual que front page ── */
.is-enerphys .header-area {
    position: absolute !important;
    top: 0; left: 0; right: 0;
    z-index: 100;
}

/* ── Altura del nav igual a la página principal (32px top/bottom) ── */
.is-enerphys .main-menu ul li a { padding: 32px 2px !important; }
.is-enerphys .header-sticky.sticky-bar .main-menu ul li a { padding: 20px 2px !important; }
.is-enerphys .main-menu ul li a::after { bottom: 26px !important; }
.is-enerphys .header-sticky.sticky-bar .main-menu ul li a::after { bottom: 14px !important; }

/* ── Responsive: compact columns — mirrors apaxi-theme.css 1650px breakpoint ── */
@media (max-width: 1650px) {
    .is-enerphys .header-bottom .col-xl-2,
    .is-enerphys .header-bottom .col-lg-2  { flex: 0 0 auto !important; width: auto !important; max-width: none !important; }
    .is-enerphys .header-bottom .col-xl-10,
    .is-enerphys .header-bottom .col-lg-10 { flex: 1 !important; max-width: none !important; min-width: 0 !important; }
    .is-enerphys .main-menu nav ul { display: flex; flex-wrap: nowrap; justify-content: flex-end; }
    .is-enerphys .main-menu ul li { flex-shrink: 1; margin: 0 12px; }
    .is-enerphys .main-menu ul li a { white-space: nowrap; }
}
@media (max-width: 1380px) {
    .is-enerphys .main-menu ul li { margin: 0 8px; }
    .is-enerphys .main-menu ul li a { letter-spacing: 0.05em; }
}
@media (max-width: 1150px) {
    .is-enerphys .main-menu ul li { margin: 0 4px; }
    .is-enerphys .main-menu ul li a { font-size: 0.76rem; letter-spacing: 0.03em; }
}

/* ── Sticky animado al hacer scroll ── */
.is-enerphys .header-sticky.sticky-bar {
    position: fixed !important;
    top: 0; left: 0; right: 0;
    background: rgba(3, 13, 6, 0.97) !important;
    border-bottom: 1px solid rgba(0, 230, 118, 0.14) !important;
    backdrop-filter: blur(14px) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5) !important;
    animation: slideDown 0.3s ease !important;
    z-index: 999 !important;
}

.is-enerphys .apaxi-header {
    background: transparent;
    border-bottom: none;
}
.is-enerphys .apaxi-logo-text            { color: var(--ep-text); font-size: 2.3rem; }
.is-enerphys .apaxi-logo-text span       { color: var(--ep-primary); }
@media (max-width: 1650px) { .is-enerphys .apaxi-logo-text { font-size: 2rem; } }
@media (max-width: 1380px) { .is-enerphys .apaxi-logo-text { font-size: 1.75rem; } }
@media (max-width: 1199px) { .is-enerphys .apaxi-logo-text { font-size: 1.5rem; } }

/* Nav link padding — igual al main APAXI */
.is-enerphys .main-menu ul li a                          { padding: 32px 2px; }
.is-enerphys .main-menu ul li a::after                   { bottom: 26px; }
.is-enerphys .header-sticky.sticky-bar .main-menu ul li a        { padding: 20px 2px; }
.is-enerphys .header-sticky.sticky-bar .main-menu ul li a::after { bottom: 14px; }

/* ─── EnerPhys logo ─── */
.ep-logo-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
}
.ep-logo-mark { flex-shrink: 0; display: block; overflow: visible; }

/* Animated energy bolt */
.ep-logo-bolt {
    transform-origin: 0 0;
    animation: ep-bolt-pulse 1.9s ease-in-out infinite;
}
@keyframes ep-bolt-pulse {
    0%, 100% { opacity: 0.82; filter: drop-shadow(0 0 2px rgba(255,215,64,0.35)); }
    50%       { opacity: 1;    filter: drop-shadow(0 0 9px rgba(255,215,64,1.0)) drop-shadow(0 0 20px rgba(255,215,64,0.5)); }
}

.ep-logo-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1;
    gap: 4px;
}
.ep-logo-name {
    font-family: var(--ep-font-sans);
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--ep-text);
    /* Shimmer: gradiente 3× ancho, la ventana visible barre de derecha a izquierda.
       Secciones 0-33% y 67-100% = colores en reposo (blanco→verde).
       Sección 33-67% = destello luminoso que cruza todo el texto. */
    background: linear-gradient(
        90deg,
        #e0f2e9  0%,  #e0f2e9 14%,
        #00e676 20%,  #00e676 33%,
        #b9f6ca 40%,  #ffffff 50%,  #b9f6ca 60%,
        #69f0ae 67%,
        #e0f2e9 74%,  #e0f2e9 82%,
        #00e676 88%,  #00e676 100%
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-position: 0% center;
    animation: ep-nameGlow 5s ease-in-out infinite;
}
.ep-logo-name em {
    font-style: normal;
    color: var(--ep-primary);
}

/* Ambient: resplandor suave periódico — no toca el background-position */
@keyframes ep-nameGlow {
    0%,  40%  { filter: drop-shadow(0 0 0px rgba(0,230,118,0)); }
    62%        { filter: drop-shadow(0 0 5px rgba(0,230,118,0.22)) drop-shadow(0 0 14px rgba(0,230,118,0.09)); }
    82%, 100%  { filter: drop-shadow(0 0 0px rgba(0,230,118,0)); }
}

/* Hover: ping-pong continuo + resplandor verde (sin cambios) */
.ep-logo-wrap:hover .ep-logo-name {
    filter: drop-shadow(0 0 8px rgba(0,230,118,0.55));
    animation: ep-nameSheenHover 1.8s ease-in-out infinite;
}
@keyframes ep-nameSheenHover {
    0%   { background-position: 100% center; }
    50%  { background-position:   0% center; }
    100% { background-position: 100% center; }
}
.ep-logo-powered {
    font-family: var(--ep-font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ep-muted);
}
.ep-logo-powered strong {
    color: rgba(0,230,118,0.5);
    font-weight: 600;
}

.is-enerphys .main-menu ul li a {
    color: var(--ep-text) !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.08em !important;
}
.is-enerphys .main-menu ul li a:hover { color: var(--ep-primary) !important; }

.is-enerphys .main-menu ul li.button-header a::before,
.is-enerphys .main-menu ul li.button-header a::after { display: none !important; }

.is-enerphys .main-menu ul li.button-header a.btn {
    border-color: rgba(0, 230, 118, 0.45);
    color: var(--ep-primary) !important;
    background: transparent;
    padding: 8px 13px !important;
}
.is-enerphys .main-menu ul li.button-header a.btn:hover {
    background: rgba(0, 230, 118, 0.1) !important;
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.3);
    letter-spacing: 0.08em !important;
    transform: none;
}
/* Sticky: botones más compactos horizontalmente */
.is-enerphys .header-sticky.sticky-bar .main-menu ul li.button-header a.btn {
    padding: 6px 11px !important;
}
.is-enerphys .header-sticky.sticky-bar li.button-header .ep-btn-apaxi {
    padding: 6px 17px !important;
}

/* ─── Mobile slicknav verde ─── */
.is-enerphys .slicknav_menu { background: #071a0d; border-bottom: 1px solid rgba(0,230,118,0.18); }
.is-enerphys .slicknav_btn  { background: transparent; border: 1px solid rgba(0,230,118,0.5); margin: 8px 12px; padding: 6px 8px; }
.is-enerphys .slicknav_icon-bar { background: var(--ep-primary); }
.is-enerphys .slicknav_nav { background: #071a0d; }
.is-enerphys .slicknav_nav a,
.is-enerphys .slicknav_nav .slicknav_item a,
.is-enerphys .slicknav_nav .slicknav_row    { color: var(--ep-text) !important; }
.is-enerphys .slicknav_nav a:hover,
.is-enerphys .slicknav_nav .slicknav_item a:hover { color: var(--ep-primary) !important; background: rgba(0,230,118,0.07); }

/* ═══════════════════════════════════════════════════════════════════════
   SLIDER HERO
═══════════════════════════════════════════════════════════════════════ */

/* ── Container — igual que .slider-area del main APAXI ── */
.ep-slider-area {
    position: relative;
    overflow: visible;
    background-color: var(--ep-deep);
}

/* Grid energético de fondo — equivalente al PCB canvas de la página principal */
.ep-slider-area::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,230,118,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,230,118,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
    animation: ep-grid-breathe 8s ease-in-out infinite;
}
@keyframes ep-grid-breathe {
    0%, 100% { opacity: 0.6; }
    50%       { opacity: 1;   }
}

/* Override Slick: neutralizar GPU compositing layer que recorta filtros SVG */
.ep-slider-area .slick-slider { position: relative; z-index: 1; }
.ep-slider-area .slick-list,
.ep-slider-area .slick-track {
    overflow: visible !important;
    -webkit-transform: none !important;
    transform: none !important;
}
/* Slides inactivos en fade mode capturan pointer-events aunque opacity:0 */
.ep-slider-area .slick-slide:not(.slick-active) {
    pointer-events: none;
}

.ep-slide {
    background-color: var(--ep-deep);
    position: relative;
}

.ep-slide--height {
    min-height: 100vh;
    background:
        /* Glow ambiental izquierdo */
        radial-gradient(ellipse 75% 65% at 10% 55%, rgba(0,230,118,0.08) 0%, transparent 60%),
        /* Glow derecho centrado en el límite texto/gráfico: se derrama a ambos lados sin corte */
        radial-gradient(ellipse 110% 85% at 58% 48%, rgba(0,230,118,0.14) 0%, transparent 65%);
}

/* Caption — padding-top para clearance del header flotante */
.ep-caption { position: relative; z-index: 2; padding-top: 115px; padding-bottom: 60px; }
@media (max-width: 991px) { .ep-caption { padding-top: 85px; padding-bottom: 40px; } }

/* Mismo enfoque que la web principal: sin cápsula con fondo, solo un
   subrayado + ícono grande, en vez del chip relleno genérico. */
.ep-caption > span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ep-primary);
    font-family: var(--ep-font-mono);
    padding-bottom: 7px;
    margin-bottom: 26px;
    border-bottom: 1px solid rgba(0,230,118,0.35);
}
.ep-caption > span i { font-size: 1.7em; opacity: 0.95; }

.ep-caption h1 {
    font-size: clamp(2.6rem, 5.5vw, 4.6rem);
    font-weight: 800;
    color: var(--ep-text);
    line-height: 1.07;
    margin-bottom: 22px;
    letter-spacing: -0.025em;
}
.ep-em {
    background: linear-gradient(135deg, var(--ep-primary) 0%, var(--ep-secondary) 60%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: normal;
}

.ep-caption p {
    font-size: 1.08rem;
    color: var(--ep-muted);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Buttons */
.slider-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }

.ep-btn-primary {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--ep-primary);
    color: #030d06 !important;
    padding: 11px 24px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    transition: background 0.25s, box-shadow 0.25s, transform 0.2s;
}
.ep-btn-primary:hover {
    background: var(--ep-secondary) !important;
    box-shadow: 0 0 18px rgba(0,230,118,0.5);
    color: #030d06 !important;
    transform: translateY(-1px);
}
.radius-ep-btn { border-radius: 4px; }

.ep-btn-ghost {
    display: inline-flex; align-items: center;
    background: transparent;
    color: var(--ep-text) !important;
    padding: 10px 22px;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(0,230,118,0.35);
    border-radius: 4px;
    transition: border-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.ep-btn-ghost:hover {
    border-color: var(--ep-primary);
    color: var(--ep-primary) !important;
    box-shadow: 0 0 10px rgba(0,230,118,0.2);
}

.ml-20 { margin-left: 0; }

/* Badges — franja dividida sin cápsulas, igual que .hbadge en la web principal */
.ep-badges {
    display: flex; flex-wrap: wrap;
    margin-top: 18px; padding-top: 12px;
    border-top: 1px solid rgba(0,230,118,0.14);
}

.ep-badge {
    display: inline-flex; align-items: center;
    font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ep-secondary);
    font-family: var(--ep-font-mono);
    padding: 0 18px;
    border-left: 1px solid rgba(0,230,118,0.14);
}
.ep-badge:first-child { padding-left: 0; border-left: none; }
.ep-badge--energy,
.ep-badge--solar {
    color: var(--ep-energy);
}

/* Visual / SVG col — ahora a la izquierda */
.ep-slide .row { flex-direction: row-reverse; }

.ep-visual {
    display: flex; align-items: center; justify-content: flex-start;
    position: relative;
    overflow: visible;
    padding-top: 115px;   /* clearance del header flotante, igual que caption */
    padding-bottom: 60px;
}
/* glow ambiental del área visual lo provee el gradiente del slide — sin pseudo-elemento de columna */
.ep-hero-svg {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
    overflow: visible !important;
    pointer-events: none;
    margin-right: auto;
}
/* Detector slide 3 y torre nuclear slide 1: necesitan pointer-events para el hover interactivo */
#hep-det,
#ep-nuclear-scene {
    pointer-events: auto;
}

/* Nuclear slide — SVG fills nearly the full viewport height */
.ep-slide--nuclear .ep-visual {
    padding-top: 72px;
    padding-bottom: 16px;
    align-items: flex-start;
}
.ep-slide--nuclear .ep-hero-svg {
    max-width: none;
    width: 78%;
    height: auto;
}

/* Slick dots — estilo pill igual al main APAXI, paleta verde */
.ep-slider-area .slick-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex !important;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1001; /* above active slide z-index:1000 set by Slick JS in fade mode */
}
.ep-slider-area .slick-dots li { display: flex; align-items: center; }
.ep-slider-area .slick-dots li button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    outline: none;
    border-radius: 50%;
    background: rgba(0,230,118,0.25);
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    transition: background 0.28s, width 0.28s, border-radius 0.28s;
}
.ep-slider-area .slick-dots li button::before { display: none; }
.ep-slider-area .slick-dots li button:hover { background: rgba(0,230,118,0.5); }
.ep-slider-area .slick-dots li.slick-active button {
    width: 28px;
    border-radius: 4px;
    background: var(--ep-primary);
    box-shadow: 0 0 10px rgba(0,230,118,0.55);
}

.ep-slider-area .slick-prev,
.ep-slider-area .slick-next {
    width: 38px; height: 38px;
    border: 1px solid rgba(0,230,118,0.3);
    border-radius: 50%;
    background: rgba(3,13,6,0.7);
    z-index: 5;
    transition: border-color 0.25s, background 0.25s;
}
.ep-slider-area .slick-prev { left: 20px; }
.ep-slider-area .slick-next { right: 20px; }
.ep-slider-area .slick-prev::before,
.ep-slider-area .slick-next::before { color: var(--ep-primary); font-size: 14px; }
.ep-slider-area .slick-prev:hover,
.ep-slider-area .slick-next:hover {
    border-color: var(--ep-primary);
    background: rgba(0,230,118,0.1);
}

/* ═══════════════════════════════════════════════════════════════════════
   SECTION HEADER
═══════════════════════════════════════════════════════════════════════ */

.ep-section-header {
    text-align: center;
    margin-bottom: 48px;
}
.ep-section-tag {
    display: inline-block;
    background: rgba(0,230,118,0.08);
    border: 1px solid rgba(0,230,118,0.25);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ep-primary);
    font-family: var(--ep-font-mono);
    margin-bottom: 14px;
}
.ep-section-header h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--ep-text);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.ep-section-header p {
    color: var(--ep-muted);
    max-width: 560px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════════
   ÁREAS DE ENFOQUE
═══════════════════════════════════════════════════════════════════════ */

.ep-areas-section {
    padding: 90px 0 80px;
    background: var(--ep-deep);
}

.ep-area-card {
    background: var(--ep-surface);
    border: 1px solid var(--ep-border);
    border-radius: 8px;
    padding: 36px 28px 28px;
    height: 100%;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}
.ep-area-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--ep-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.ep-area-card:hover {
    border-color: rgba(0,230,118,0.35);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,230,118,0.1);
}
.ep-area-card:hover::before { opacity: 1; }

.ep-area-card--solar:hover { box-shadow: 0 12px 32px rgba(255,215,64,0.1); }
.ep-area-card--solar:hover { border-color: rgba(255,215,64,0.3); }
.ep-area-card--solar::before { background: linear-gradient(90deg, transparent, var(--ep-energy), transparent); }

.ep-area-card--hep:hover { box-shadow: 0 12px 32px rgba(255,107,107,0.1); }
.ep-area-card--hep:hover { border-color: rgba(255,107,107,0.25); }
.ep-area-card--hep::before { background: linear-gradient(90deg, transparent, #ff6e40, transparent); }

.ep-area-card__icon {
    width: 50px; height: 50px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 18px;
}
.ep-area-card__icon--nuclear { background: rgba(0,230,118,0.1);  color: var(--ep-primary); }
.ep-area-card__icon--solar   { background: rgba(255,215,64,0.1); color: var(--ep-energy); }
.ep-area-card__icon--hep     { background: rgba(255,110,64,0.1); color: var(--ep-nuclear); }

.ep-area-card h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--ep-text);
    margin-bottom: 10px;
}
.ep-area-card p {
    font-size: 0.875rem;
    color: var(--ep-muted);
    line-height: 1.65;
    margin-bottom: 16px;
}
.ep-tag-list {
    display: flex; flex-wrap: wrap; gap: 6px;
    list-style: none; padding: 0; margin: 0;
}
.ep-tag-list li {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ep-secondary);
    font-family: var(--ep-font-mono);
    background: rgba(0,230,118,0.06);
    border: 1px solid rgba(0,230,118,0.15);
    border-radius: 3px;
    padding: 2px 8px;
}

/* ═══════════════════════════════════════════════════════════════════════
   ARTÍCULOS / POSTS
═══════════════════════════════════════════════════════════════════════ */

.ep-posts-section {
    padding: 80px 0 90px;
    background: linear-gradient(180deg, var(--ep-deep) 0%, var(--ep-surface) 100%);
}

.ep-post-card {
    background: var(--ep-card);
    border: 1px solid var(--ep-border);
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    display: flex; flex-direction: column;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.ep-post-card:hover {
    border-color: rgba(0,230,118,0.3);
    box-shadow: 0 10px 28px rgba(0,230,118,0.08);
    transform: translateY(-3px);
}
.ep-post-card__thumb { overflow: hidden; }
.ep-post-card__thumb img {
    width: 100%; height: 180px; object-fit: cover;
    transition: transform 0.4s;
}
.ep-post-card:hover .ep-post-card__thumb img { transform: scale(1.04); }

.ep-post-card__body {
    padding: 20px 20px 22px;
    flex: 1; display: flex; flex-direction: column;
}
.ep-post-card__area {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ep-primary);
    font-family: var(--ep-font-mono);
    background: rgba(0,230,118,0.07);
    border: 1px solid rgba(0,230,118,0.18);
    border-radius: 3px;
    padding: 2px 8px;
    margin-bottom: 10px;
}
.ep-post-card__body h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ep-text);
    margin-bottom: 8px;
    line-height: 1.4;
}
.ep-post-card__body h4 a { color: inherit; }
.ep-post-card__body h4 a:hover { color: var(--ep-primary); }
.ep-post-card__body p {
    font-size: 0.82rem;
    color: var(--ep-muted);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ep-read-more {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ep-primary) !important;
    display: inline-flex; align-items: center; gap: 5px;
    transition: gap 0.2s;
}
.ep-read-more:hover { gap: 9px; }

.ep-no-posts {
    color: var(--ep-muted);
    font-family: var(--ep-font-mono);
    font-size: 0.9rem;
    padding: 40px 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   CTA
═══════════════════════════════════════════════════════════════════════ */

.ep-cta-section {
    padding: 90px 0;
    background: var(--ep-surface);
    border-top: 1px solid var(--ep-border);
    position: relative;
    overflow: hidden;
}
.ep-cta-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(0,230,118,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.ep-cta__inner { position: relative; z-index: 1; }

.ep-cta__inner h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--ep-text);
    margin: 12px 0 16px;
}
.ep-cta__inner p {
    color: var(--ep-muted);
    max-width: 520px;
    margin: 0 auto 28px;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════════════ */

.is-enerphys .site-footer,
.is-enerphys footer {
    background: var(--ep-deep);
    border-top: 1px solid var(--ep-border);
    color: var(--ep-muted);
    font-size: 0.82rem;
    text-align: center;
    padding: 24px 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   RECURSOS PANEL — mismo formato que main Apaxi, colores verde
═══════════════════════════════════════════════════════════════════════ */

/* Igual que en la web principal: el panel cubre desde arriba (top:0, por
   encima del header) y lo reemplaza por completo mientras está abierto, en
   vez de calzar su borde con el del header. */
.is-enerphys .recursos-panel {
    display: block !important; /* anula display:none de apaxi-inner.css; visibilidad via opacity */
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(3,13,6,0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0,230,118,0.18);
    box-shadow: 0 24px 60px rgba(0,0,0,0.6);
    padding: 100px 40px 40px;
    z-index: 250;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.28s ease, transform 0.28s ease;
}
.is-enerphys .recursos-panel.is-open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.is-enerphys .recursos-panel__inner { position: relative; }

/* Watermark gigante en mayúsculas, detrás de las tarjetas, degradado verde→blanco sutil */
.is-enerphys .recursos-panel__label {
    position: absolute;
    top: -55px; left: 0; right: 0;
    display: block;
    opacity: 0.18;
    z-index: 0;
    pointer-events: none;
    margin: 0;
}
/* "RECURSOS" conserva su tamaño grande; "PARA" + "INVESTIGADORES" se apilan a su
   derecha en una columna cuya altura combinada calza con la de RECURSOS. */
.is-enerphys .recursos-panel__label--ep {
    display: flex;
    align-items: stretch;
    gap: 16px;
}
.is-enerphys .recursos-panel__label--ep .rpl-main,
.is-enerphys .recursos-panel__label--ep .rpl-sub {
    font-family: var(--ep-font-sans);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--ep-primary) 0%, #fff 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.is-enerphys .recursos-panel__label--ep .rpl-main {
    font-size: clamp(3rem, 6.5vw, 6rem);
    line-height: 0.95;
}
.is-enerphys .recursos-panel__label--ep .rpl-sub {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: clamp(1.2rem, 2.4vw, 2.2rem);
    line-height: 1;
}
.is-enerphys .recursos-panel__label--ep .rpl-sub span:first-child { margin-top: 10px; }
.is-enerphys .recursos-panel__label--ep .rpl-sub span:last-child  { margin-bottom: 10px; }

.is-enerphys .recursos-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 960px;
    margin: 0 auto;
}
@media (max-width: 600px) {
    .is-enerphys .recursos-grid { grid-template-columns: repeat(2, 1fr); }
}

.is-enerphys .rc-card {
    display: flex; flex-direction: column; gap: 8px;
    padding: 22px 20px;
    background: rgba(0,230,118,0.04);
    border: 1px solid rgba(0,230,118,0.12);
    border-radius: 10px;
    color: var(--ep-text) !important;
    transition: border-color .22s, background .22s, transform .22s;
    cursor: pointer;
}
.is-enerphys a.rc-card:hover {
    border-color: rgba(0,230,118,0.38);
    background: rgba(0,230,118,0.10);
    transform: translateY(-3px);
}
.is-enerphys .rc-card--wip { opacity: 0.45; pointer-events: none; }

.is-enerphys .rc-card__icon svg { color: var(--ep-primary); display: block; }

.is-enerphys .rc-card__title {
    font-size: 0.95rem; font-weight: 700; letter-spacing: -0.01em;
    color: var(--ep-text);
}
.is-enerphys .rc-card__desc {
    font-size: 0.76rem;
    color: var(--ep-muted);
    line-height: 1.45;
}
.is-enerphys .rc-card__badge {
    display: inline-block; margin-top: 4px;
    font-size: 0.62rem; font-style: normal; letter-spacing: 0.1em; text-transform: uppercase;
    background: rgba(0,230,118,0.08); border: 1px solid rgba(0,230,118,0.2);
    border-radius: 3px; padding: 1px 6px;
    color: var(--ep-secondary);
    font-family: var(--ep-font-mono);
}

.is-enerphys .recursos-close {
    position: absolute; top: 20px; right: 28px;
    background: rgba(0,230,118,0.08); border: 1px solid rgba(0,230,118,0.18);
    border-radius: 6px; width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--ep-muted);
    transition: background .2s, color .2s;
}
.is-enerphys .recursos-close:hover {
    background: rgba(0,230,118,0.18);
    color: var(--ep-text);
}

.is-enerphys .recursos-backdrop { display: none; }
.is-enerphys .recursos-backdrop.is-open { display: none; }

/* ─── Chevron animate ─── */
.is-enerphys .recursos-chevron {
    display: inline-block;
    transition: transform .25s;
    vertical-align: middle;
    margin-left: 4px;
}
.is-enerphys .recursos-trigger[aria-expanded="true"] .recursos-chevron { transform: rotate(180deg); }

/* ═══════════════════════════════════════════════════════════════════════
   BTN-ENERPHYS en header
═══════════════════════════════════════════════════════════════════════ */

.is-enerphys .btn-enerphys {
    border-color: rgba(0,230,118,0.7);
    color: var(--ep-primary) !important;
    box-shadow: 0 0 6px rgba(0,230,118,0.18);
}
.is-enerphys .btn-enerphys:hover {
    background: rgba(0,230,118,0.12) !important;
    box-shadow: 0 0 18px rgba(0,230,118,0.5), 0 0 0 2px rgba(0,230,118,0.2);
}

/* ── Botón ← APAXI: azul, fuente del logo APAXI ── */
.ep-btn-apaxi {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
    background: transparent;
    border: 1px solid rgba(74, 158, 255, 0.55);
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 4px;
    font-family: var(--ep-font-sans);
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    text-decoration: none !important;
    transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.ep-btn-apaxi__dot { color: #4a9eff; }
.ep-btn-apaxi::after { display: none !important; }
/* Padding y colores — especificidad alta para ganar al verde global del nav */
.is-enerphys .main-menu ul li .ep-btn-apaxi                        { padding: 8px 24px !important; color: #fff !important; }
.is-enerphys .main-menu ul li .ep-btn-apaxi:hover,
.is-enerphys .main-menu ul li .ep-btn-apaxi:focus                  { color: #fff !important; background: rgba(74,158,255,0.1) !important; border-color: #4a9eff !important; box-shadow: 0 0 14px rgba(74,158,255,0.4), 0 0 0 2px rgba(74,158,255,0.15) !important; }
.is-enerphys .main-menu ul li .ep-btn-apaxi .ep-btn-apaxi__dot     { color: #4a9eff !important; }

/* ── Override blue tones from apaxi-inner.css ── */
.is-enerphys .apaxi-header                     { background: rgba(3,13,6,0.97) !important; border-bottom-color: rgba(0,230,118,0.14) !important; }
.is-enerphys .header-bottom.sticky-bar         { background: rgba(3,13,6,0.97) !important; box-shadow: 0 2px 20px rgba(0,0,0,0.5) !important; }
.is-enerphys .main-menu ul li > a              { color: var(--ep-text) !important; }
.is-enerphys .main-menu ul li > a:hover,
.is-enerphys .main-menu ul li > a:focus        { color: var(--ep-primary) !important; }
.is-enerphys .main-menu ul li > a::after       { background-color: var(--ep-primary) !important; }
.is-enerphys .main-menu ul li.button-header a.btn {
    border-color: rgba(0,230,118,0.45) !important;
    color: var(--ep-primary) !important;
    background: transparent !important;
}
.is-enerphys .main-menu ul li.button-header a.btn:hover {
    background: rgba(0,230,118,0.1) !important;
    box-shadow: 0 0 10px rgba(0,230,118,0.3) !important;
    border-color: var(--ep-primary) !important;
    letter-spacing: 0.08em !important;
    transform: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   SOBRE MÍ
═══════════════════════════════════════════════════════════════════════ */

.ep-about-section {
    padding: 90px 0 80px;
    background: var(--ep-surface);
    border-top: 1px solid var(--ep-border);
}
.ep-about-visual { position: relative; display: flex; justify-content: center; }
.ep-about-svg { width: 100%; max-width: 340px; height: auto; }

.ep-about-content { }
.ep-about-content h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 800; color: var(--ep-text);
    margin: 14px 0 16px; letter-spacing: -0.02em;
}
.ep-about-lead {
    color: var(--ep-muted); font-size: 0.95rem; line-height: 1.75;
    margin-bottom: 28px; max-width: 520px;
}

.ep-about-stats {
    display: flex; gap: 28px; flex-wrap: wrap;
    margin-bottom: 28px;
    padding: 20px 0;
    border-top: 1px solid var(--ep-border);
    border-bottom: 1px solid var(--ep-border);
}
.ep-stat { display: flex; flex-direction: column; gap: 4px; }
.ep-stat__num {
    font-family: var(--ep-font-mono);
    font-size: 1.5rem; font-weight: 700;
    color: var(--ep-primary); line-height: 1;
}
.ep-stat--solar .ep-stat__num { color: var(--ep-energy); }
.ep-stat__label { font-size: 0.72rem; color: var(--ep-muted); letter-spacing: 0.05em; }

.ep-about-skills {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 10px;
}
.ep-about-skills li {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.875rem; color: var(--ep-text);
}
.ep-about-skills li i {
    color: var(--ep-primary); width: 16px; text-align: center; flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   SERVICIOS
═══════════════════════════════════════════════════════════════════════ */

.ep-services-section {
    padding: 90px 0 80px;
    background: var(--ep-deep);
}

.ep-service-card {
    background: var(--ep-surface);
    border: 1px solid var(--ep-border);
    border-radius: 8px;
    padding: 36px 28px 28px;
    height: 100%;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    position: relative; overflow: hidden;
}
.ep-service-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--ep-primary), transparent);
    opacity: 0; transition: opacity 0.3s;
}
.ep-service-card:hover {
    border-color: rgba(0,230,118,0.35);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,230,118,0.1);
}
.ep-service-card:hover::before { opacity: 1; }

.ep-service-card--solar:hover  { border-color: rgba(255,215,64,0.3); box-shadow: 0 12px 32px rgba(255,215,64,0.1); }
.ep-service-card--solar::before { background: linear-gradient(90deg, transparent, var(--ep-energy), transparent); }
.ep-service-card--hep:hover    { border-color: rgba(255,110,64,0.25); box-shadow: 0 12px 32px rgba(255,110,64,0.1); }
.ep-service-card--hep::before  { background: linear-gradient(90deg, transparent, #ff6e40, transparent); }

.ep-service-card__icon {
    width: 50px; height: 50px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin-bottom: 18px;
}
.ep-service-card__icon--nuclear { background: rgba(0,230,118,0.1);  color: var(--ep-primary); }
.ep-service-card__icon--solar   { background: rgba(255,215,64,0.1); color: var(--ep-energy); }
.ep-service-card__icon--hep     { background: rgba(255,110,64,0.1); color: var(--ep-nuclear); }

.ep-service-card h3 { font-size: 1.08rem; font-weight: 700; color: var(--ep-text); margin-bottom: 10px; }
.ep-service-card p  { font-size: 0.875rem; color: var(--ep-muted); line-height: 1.65; margin-bottom: 16px; }

/* ═══════════════════════════════════════════════════════════════════════
   CONTACTO
═══════════════════════════════════════════════════════════════════════ */

.ep-contact-section {
    padding: 90px 0 100px;
    background: var(--ep-surface);
    border-top: 1px solid var(--ep-border);
    position: relative; overflow: hidden;
}
.ep-contact-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(0,230,118,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.ep-contact-inner {
    position: relative; z-index: 1;
    text-align: center;
}
.ep-contact-inner h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800; color: var(--ep-text);
    margin: 14px 0 18px; letter-spacing: -0.02em;
}
.ep-contact-inner > p {
    color: var(--ep-muted); max-width: 520px; margin: 0 auto 36px;
    font-size: 0.97rem; line-height: 1.7;
}

.ep-contact-items {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
    margin-bottom: 36px;
}
.ep-contact-item {
    display: inline-flex; align-items: center; gap: 9px;
    background: rgba(0,230,118,0.06);
    border: 1px solid rgba(0,230,118,0.16);
    border-radius: 30px;
    padding: 8px 18px;
    font-size: 0.82rem; color: var(--ep-text);
}
.ep-contact-item__icon { color: var(--ep-primary); font-size: 0.85rem; }

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════════════ */

@media (max-width: 1199px) {
    .ep-slide--height { min-height: 100svh; }
}

@media (max-width: 991px) {
    .ep-slide--height { min-height: 100svh; }
    .ep-caption h1 { font-size: 2.4rem; }
    .ep-areas-section, .ep-about-section,
    .ep-services-section, .ep-contact-section { padding: 60px 0 55px; }
    .ep-posts-section { padding: 55px 0 65px; }
    .ep-about-svg { max-width: 260px; }
}

@media (max-width: 767px) {
    .ep-caption h1 { font-size: 1.9rem; }
    .ep-caption p   { font-size: 0.95rem; }
    .slider-btns    { flex-direction: column; max-width: 220px; }
    .ep-about-stats { gap: 18px; }
    .ep-contact-items { flex-direction: column; align-items: center; }
}

/* ═══════════════════════════════════════════════════════════════════════
   PRELOADER — EnerPhys
═══════════════════════════════════════════════════════════════════════ */
#ep-preloader-active {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--ep-deep);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.ep-preloader {
    position: relative; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
}
.ep-preloader__grid {
    position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(0,230,118,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,230,118,0.04) 1px, transparent 1px);
    background-size: 52px 52px;
    animation: ep-gridFadeIn 0.8s ease forwards;
}
@keyframes ep-gridFadeIn { from { opacity: 0; } to { opacity: 1; } }

.ep-preloader__scan {
    position: absolute; top: -2px; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(0,230,118,0.8) 50%, transparent 100%);
    animation: ep-scanDown 2.8s ease-in-out infinite;
    pointer-events: none;
}
@keyframes ep-scanDown {
    0%   { top: -2px; opacity: 0; }
    8%   { opacity: 1; }
    92%  { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.ep-preloader__corner {
    position: absolute; width: 28px; height: 28px;
    opacity: 0; animation: ep-cornerIn 0.5s ease 0.2s forwards;
}
.ep-preloader__corner--tl { top: 32px;    left: 32px;  border-top:    1px solid rgba(0,230,118,0.5); border-left:   1px solid rgba(0,230,118,0.5); }
.ep-preloader__corner--tr { top: 32px;    right: 32px; border-top:    1px solid rgba(0,230,118,0.5); border-right:  1px solid rgba(0,230,118,0.5); }
.ep-preloader__corner--bl { bottom: 32px; left: 32px;  border-bottom: 1px solid rgba(0,230,118,0.5); border-left:   1px solid rgba(0,230,118,0.5); }
.ep-preloader__corner--br { bottom: 32px; right: 32px; border-bottom: 1px solid rgba(0,230,118,0.5); border-right:  1px solid rgba(0,230,118,0.5); }
@keyframes ep-cornerIn { to { opacity: 1; } }

/* ── Átomo ── */
.ep-preloader__stage {
    position: relative; width: 400px; height: 400px;
    display: flex; align-items: center; justify-content: center;
}

/* Wrapper de cada órbita — centrado y pre-rotado */
.ep-atom__wrap {
    position: absolute;
    width: 376px; height: 135px;
    top: 50%; left: 50%;
    margin: -67.5px 0 0 -188px;
    transform-origin: 188px 67.5px;
}
.ep-atom__wrap--1 { transform: rotate(0deg); }
.ep-atom__wrap--2 { transform: rotate(60deg); }
.ep-atom__wrap--3 { transform: rotate(-60deg); }

/* Elipse orbital que gira */
.ep-atom__ring {
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(0,230,118,0.28);
    position: relative;
    transform-origin: 188px 67.5px;
    animation: ep-atomSpin 4.5s linear infinite;
}
.ep-atom__wrap--2 .ep-atom__ring {
    border-color: rgba(255,215,64,0.22);
    animation-duration: 6s;
    animation-direction: reverse;
}
.ep-atom__wrap--3 .ep-atom__ring {
    border-color: rgba(105,240,174,0.22);
    animation-duration: 8s;
}

/* Electrón en el extremo superior de cada elipse */
.ep-atom__electron {
    position: absolute;
    width: 9px; height: 9px; border-radius: 50%;
    top: -4.5px; left: calc(50% - 4.5px);
    background: var(--ep-primary);
    box-shadow: 0 0 6px 2px var(--ep-primary), 0 0 18px 4px rgba(0,230,118,0.45);
}
.ep-atom__wrap--2 .ep-atom__electron {
    background: #ffd740;
    box-shadow: 0 0 6px 2px #ffd740, 0 0 18px 4px rgba(255,215,64,0.45);
    width: 8px; height: 8px; top: -4px; left: calc(50% - 4px);
}
.ep-atom__wrap--3 .ep-atom__electron {
    background: var(--ep-secondary);
    box-shadow: 0 0 6px 2px var(--ep-secondary), 0 0 18px 4px rgba(105,240,174,0.45);
    width: 7px; height: 7px; top: -3.5px; left: calc(50% - 3.5px);
}

@keyframes ep-atomSpin { to { transform: rotate(360deg); } }

/* Núcleo — círculo central con logo */
.ep-atom__nucleus {
    position: relative; z-index: 10;
    width: 155px; height: 155px; border-radius: 50%;
    background: radial-gradient(circle at 38% 38%, rgba(0,230,118,0.15) 0%, rgba(3,13,6,0.97) 70%);
    border: 1px solid rgba(0,230,118,0.4);
    box-shadow:
        0 0 28px rgba(0,230,118,0.2),
        0 0 10px rgba(0,230,118,0.12) inset,
        0 0 0 6px rgba(0,230,118,0.04);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center;
    opacity: 0;
    animation: ep-nucleusReveal 0.8s cubic-bezier(.2,.8,.4,1) 0.4s forwards,
               ep-nucleusPulse 3s ease-in-out 1.5s infinite;
}
@keyframes ep-nucleusReveal {
    from { opacity: 0; transform: scale(0.7); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes ep-nucleusPulse {
    0%, 100% { box-shadow: 0 0 28px rgba(0,230,118,0.2), 0 0 10px rgba(0,230,118,0.12) inset, 0 0 0 6px rgba(0,230,118,0.04); }
    50%       { box-shadow: 0 0 40px rgba(0,230,118,0.35), 0 0 16px rgba(0,230,118,0.2) inset, 0 0 0 10px rgba(0,230,118,0.07); }
}

.ep-preloader__logo {
    font-family: var(--ep-font-sans); font-size: 1.75rem; font-weight: 800;
    color: var(--ep-text); letter-spacing: -0.04em; line-height: 1;
}
.ep-preloader__logo em { font-style: normal; color: var(--ep-primary); }
.ep-preloader__sub {
    font-family: var(--ep-font-mono); font-size: 0.5rem;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--ep-muted); margin-top: 5px;
    opacity: 0; animation: ep-fadeUp 0.5s ease 0.9s forwards;
}
.ep-preloader__bar-wrap {
    position: absolute; bottom: 140px; left: 50%; transform: translateX(-50%);
    width: min(480px, 72vw); height: 4px;
    background: rgba(0,230,118,0.12); border-radius: 2px;
    opacity: 0; animation: ep-fadeIn 0.4s ease 0.5s forwards;
}
.ep-preloader__bar {
    height: 100%; width: 0; border-radius: 2px;
    background: linear-gradient(90deg, var(--ep-primary) 0%, #ffd740 50%, var(--ep-primary) 100%);
    background-size: 200% 100%;
    box-shadow: 0 0 10px rgba(0,230,118,0.55), 0 0 4px rgba(255,215,64,0.3);
    animation: ep-barFill 2.8s cubic-bezier(.4,0,.2,1) 0.6s forwards,
               ep-barShimmer 1.2s linear 0.8s infinite;
}
@keyframes ep-barFill    { to { width: 90%; } }
@keyframes ep-barShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.ep-preloader__status {
    position: absolute; bottom: 116px; left: 50%; transform: translateX(-50%);
    font-family: var(--ep-font-mono); font-size: 0.9rem;
    white-space: nowrap; color: var(--ep-muted);
    opacity: 0; animation: ep-fadeIn 0.4s ease 0.7s forwards;
}
.ep-preloader__prompt { color: var(--ep-primary); font-weight: 600; }
.ep-preloader__text   { color: var(--ep-text); }
.ep-preloader__cursor { color: var(--ep-primary); animation: ep-cursorBlink 1s step-end infinite; }

@keyframes ep-spinCW    { to { transform: rotate(360deg); } }
@keyframes ep-spinCCW   { to { transform: rotate(-360deg); } }
@keyframes ep-fadeIn    { to { opacity: 1; } }
@keyframes ep-fadeUp    { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ep-cursorBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
