/* ============================================================
   ESTILOS GENÉRICOS DE UNIVERSO
   ============================================================ */

.u-section { margin-bottom: 40px; }
.u-section-title { 
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px; 
    font-weight: 900; 
    color: #f8fafc !important; 
    -webkit-text-fill-color: #f8fafc !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    filter: none !important;
    margin-bottom: 22px; 
    text-transform: uppercase; 
    letter-spacing: 0.5px;
    border-bottom: none;
    padding-bottom: 0;
    line-height: 1.25;
}
.u-section-title[style*="text-align: center"],
.u-section-title[style*="text-align:center"] {
    justify-content: center;
}
.u-section-title::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 4px;
    border-radius: 2px;
    background: var(--svc-color);
    box-shadow: 0 0 10px var(--svc-color);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .u-section-title {
        font-size: 19px !important;
        margin-bottom: 16px !important;
        gap: 10px !important;
        line-height: 1.25 !important;
    }
    .u-section-title::before {
        width: 14px !important;
        height: 3px !important;
    }
    .galax-subtitle {
        text-align: left !important;
        margin: -8px 0 20px 0 !important;
        font-size: 13px !important;
        line-height: 1.45 !important;
    }
}
.galax-subtitle { text-align: center; color: rgba(255,255,255,0.7); font-size: 14px; margin: -15px auto 35px auto; max-width: 800px; }
.u-section-grid { display: grid; }

.feed-card {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: 0.3s ease;
    background: #111; /* Dark fallback background */
}

/* EQUIPOS */
.galax-card-equipo {
    background: linear-gradient(135deg, var(--item-color-bg, #3d3d3d) 0%, rgba(255,255,255,0.03) 100%);
    
    border: 1px solid var(--item-color-border, #444);
    border-radius: 12px;
    padding: 20px;
}
.galax-equipo-header { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.galax-equipo-icon { font-size: 32px; color: var(--item-color); }
.galax-equipo-title { margin: 0; font-size: 20px; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: 0.5px; }
.galax-equipo-desc { font-size: 13.5px; color: rgba(255,255,255,0.8); line-height: 1.5; margin-bottom: 18px; }
.galax-equipo-list { list-style: none; padding: 0; margin: 0 0 20px 0; }
.galax-equipo-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 8px; line-height: 1.4; }
.galax-equipo-bullet { margin-top: 5px; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--item-color); box-shadow: 0 0 8px var(--item-color); }
.galax-spacer { flex-grow: 1; }

/* ALACARTA */
.galax-card-alacarta {
    background: linear-gradient(135deg, var(--item-color-bg, #3d3d3d) 0%, rgba(255,255,255,0.03) 100%);
    
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 18px 20px;
    justify-content: space-between;
}
.galax-alacarta-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.galax-alacarta-icon { font-size: 32px; color: var(--item-color); }
.galax-alacarta-title { margin: 0; font-size: 13px; font-weight: 800; color: #fff; text-transform: uppercase; text-align: left; line-height: 1.2; }
.galax-alacarta-pricebox { display: flex; justify-content: center; align-items: baseline; margin: 5px 0 15px 0; width: 100%; flex-wrap: wrap; gap: 6px; }
.galax-alacarta-price { font-size: 24px; font-weight: 900; color: #fff; }
.galax-alacarta-price sup { font-size: 0.6em; vertical-align: baseline; position: relative; top: -0.35em; margin-right: 2px; }
.galax-alacarta-per { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.5); }

/* PLANES */
.galax-card-plan {
    background: linear-gradient(135deg, var(--item-color-bg, #3d3d3d) 0%, rgba(255,255,255,0.03) 100%);
    
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 20px 25px;
}
.galax-plan-header { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin-bottom: 15px; }
.galax-plan-title { margin: 0; font-size: 18px; font-weight: 900; color: #fff; text-transform: uppercase; line-height: 1.2; }
.galax-price-container { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.galax-price-right { font-size: 26px; font-weight: 900; color: #fff; line-height: 1.1; }
.galax-price-right span { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.5); margin-left: 3px; }
.galax-price-right.custom { font-size: 16px; margin-top: 5px; }
.galax-price-right sup { font-size: 0.6em; vertical-align: baseline; position: relative; top: -0.35em; margin-right: 2px; }
.galax-price-usd { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.55); margin: 0; text-align: right; }
.galax-plan-desc { margin-bottom: 15px; font-size: 13.5px; color: rgba(255,255,255,0.7); line-height: 1.5; }
.galax-plan-pills { display: flex; flex-direction: column; gap: 2px; margin-bottom: 20px; }
.galax-plan-pills > span { display: inline-flex; align-items: flex-start; gap: 8px; background: transparent; border: none; padding: 0; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.9); width: 100%; }
.galax-plan-pills > span .material-symbols-outlined { font-size: 18px; color: #05c46b !important; font-weight: 900; margin-top: -1px; }

/* BOTONES HOMOLOGADOS */
.galax-btn-equipo, .galax-btn-plan, .galax-btn-alacarta, .galax-btn-nivel, .galax-btn-proceso {
    border: 1px solid var(--item-color, var(--svc-color));
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.3), 0 4px 10px rgba(0,0,0,0.3);
    color: #fff; cursor: pointer; transition: 0.3s ease; font-weight: 700; text-align: center;
}
.galax-btn-equipo { padding: 12px; font-size: 13px; border-radius: 8px; }
.galax-btn-plan, .galax-btn-nivel, .galax-btn-proceso { padding: 14px; font-size: 14px; border-radius: 8px; width: 100%; }
.galax-btn-alacarta { padding: 10px; font-size: 12px; border-radius: 6px; width: 100%; }

.galax-btn-equipo:hover, .galax-btn-plan:hover, .galax-btn-alacarta:hover, .galax-btn-equipo:hover, .galax-btn-plan:hover, .galax-btn-alacarta:hover, .galax-btn-nivel:hover, .galax-btn-proceso:hover {
    background: linear-gradient(135deg, var(--item-color, var(--svc-color)) 0%, color-mix(in srgb, var(--item-color, var(--svc-color)) 60%, black) 100%) !important;
    
    color: #fff; border-color: var(--item-color, var(--svc-color)); transform: translateY(-2px);
    box-shadow: 0 0 20px var(--item-color, var(--svc-color)), inset 0 1px 3px rgba(255,255,255,0.5);
}


/* NIVELES DE RESCATE (Solo U1/U3 pero lo ponemos generico) */
.galax-card-nivel {
    background: linear-gradient(135deg, var(--item-color-bg, #3d3d3d) 0%, rgba(255,255,255,0.03) 100%);
    border: 1px solid var(--item-color-border, #444);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    box-shadow: none;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.galax-card-nivel.is-critical {
    box-shadow: inset 0 0 20px #ff4444;
    border-color: rgba(255, 68, 68, 0.5);
}
.galax-nivel-header { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 12px; }
.galax-nivel-badge { padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 900; letter-spacing: 1px; color: #fff; background: var(--item-color); text-transform: uppercase; }
.galax-nivel-title { margin: 0; font-size: 18px; font-weight: 900; color: #fff; line-height: 1.2; }
.galax-nivel-desc { font-size: 13.5px; color: rgba(255,255,255,0.8); line-height: 1.5; margin-bottom: 15px; }
.galax-nivel-list { list-style: none; padding: 0; margin: 0 0 20px 0; background: rgba(0,0,0,0.2); border-radius: 8px; padding: 12px; }
.galax-nivel-list li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #fff; margin-bottom: 8px; }
.galax-nivel-list li:last-child { margin-bottom: 0; }
.galax-nivel-list .material-symbols-outlined { font-size: 16px; color: var(--item-color); }

/* PROCESO (U1/U3) */
.galax-proceso { margin-top: 20px; }
.galax-step { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 25px; position: relative; }
.galax-step::after { content: ''; position: absolute; left: 24px; top: 55px; bottom: -25px; width: 2px; background: var(--item-color-border, #444); }
.galax-step:last-child::after { display: none; }
.galax-step-icon { width: 50px; height: 50px; border-radius: 50%; background: var(--item-color-bg, #222); border: 2px solid var(--item-color); display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; z-index: 2; box-shadow: 0 0 15px var(--item-color-bg); }
.galax-step-icon .material-symbols-outlined { font-size: 24px; color: var(--item-color); }
.galax-step-content { padding-top: 4px; }
.galax-step-content h4 { margin: 0 0 6px 0; font-size: 18px; font-weight: 800; color: #fff; text-transform: uppercase; }
.galax-step-content p { margin: 0; font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.5; }


/* ========================================================
   RUTA DE EXCELENCIA (NEON TIMELINE)
   ======================================================== */
.galax-neon-timeline-container {
    position: relative;
    width: 100%;
    margin: 40px 0;
    padding: 20px 0;
}

.galax-neon-line {
    position: absolute;
    top: 60px; /* 20px padding + 40px half ring */
    left: 5%;
    right: 5%;
    height: 2px;
    background: linear-gradient(90deg, var(--item-color, #05c46b) 0%, var(--item-color, #05c46b) 80%, #ffc107 100%);
    z-index: 1;
    opacity: 0.3;
}

.galax-neon-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    width: 100%;
}

.galax-neon-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1 0;
    min-width: 0;
    padding: 0 8px;
    transition: all 0.3s ease;
    cursor: default;
}

.galax-neon-ring {
    width: 76px;
    height: 76px;
    min-width: 76px;
    min-height: 76px;
    max-width: 76px;
    max-height: 76px;
    flex: 0 0 76px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.92);
    border: 2px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px auto;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    will-change: transform;
    box-sizing: border-box;
}

.galax-neon-ring .material-symbols-outlined {
    font-size: 32px;
    color: rgba(255,255,255,0.6);
    transition: all 0.3s ease;
}

.galax-neon-step:hover .galax-neon-ring {
    transform: translateY(-8px);
    border-color: var(--hover-color);
    box-shadow: 0 10px 25px color-mix(in srgb, var(--hover-color) 40%, transparent);
}

.galax-neon-step:hover .galax-neon-ring .material-symbols-outlined {
    color: var(--hover-color);
}

/* Gold Step (Garantia) */
.galax-neon-step.gold-step .galax-neon-ring {
    border-color: rgba(255, 193, 7, 0.4);
}

.galax-neon-step.gold-step .galax-neon-ring .material-symbols-outlined {
    color: #ffc107;
}

.galax-neon-step.gold-step:hover .galax-neon-ring {
    border-color: #ffc107;
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.4);
    animation: none;
}

@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(255, 193, 7, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}

.galax-neon-text h4 {
    margin: 0 0 5px 0;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    transition: color 0.3s ease;
}

.galax-neon-text p {
    margin: 0;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
    line-height: 1.3;
}

.galax-neon-step:hover .galax-neon-text h4 {
    color: var(--hover-color);
}

.galax-neon-step.gold-step:hover .galax-neon-text h4 {
    color: #ffc107;
}

@media (max-width: 768px) {
    .galax-neon-steps {
        flex-direction: column;
        gap: 30px;
    }
    .galax-neon-step {
        width: 100%;
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 20px;
    }
    .galax-neon-ring {
        margin-bottom: 0;
        width: 60px;
        height: 60px;
        min-width: 60px;
        min-height: 60px;
        max-width: 60px;
        max-height: 60px;
        flex: 0 0 60px;
        aspect-ratio: 1 / 1;
        box-sizing: border-box;
    }
    .galax-neon-ring .material-symbols-outlined {
        font-size: 24px;
    }
    .galax-neon-line {
        top: 0;
        bottom: 0;
        left: 30px; /* Centro del anillo de 60px */
        width: 2px;
        height: 100%;
        background: linear-gradient(180deg, var(--item-color, #05c46b) 0%, var(--item-color, #05c46b) 80%, #ffc107 100%);
    }
}