/* ═══════════════════════════════════════════════════════ */
/* COMPONENTES ESPECÍFICOS - Cargar solo cuando se necesiten */
/* ═══════════════════════════════════════════════════════ */

/* ── Diagnostic Card Interactiva ── */
.spw-diagnostic-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    color: #CBD5E1;
    font-size: 14px;
    cursor: pointer;
    border-radius: 8px;
    transition: all .2s ease;
    text-decoration: none;
}

.spw-diagnostic-item:hover {
    background: rgba(255,255,255,.08);
    transform: translateX(4px);
}

.spw-diagnostic-item:last-child {
    border-bottom: none;
}

.spw-diag-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.spw-diag-icon.red { background: rgba(220,38,38,.2); color: #F87171; }
.spw-diag-icon.amber { background: rgba(245,158,11,.2); color: #FCD34D; }
.spw-diag-icon.green { background: rgba(22,163,74,.2); color: #4ADE80; }

.spw-diag-text { flex: 1; }
.spw-diag-label { display: block; font-weight: 600; color: #E2E8F0; margin-bottom: 2px; }
.spw-diag-detail { font-size: 12px; color: #64748B; }

/* ── Pricing Cards ── */
.spw-pricing-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    text-align: center;
    position: relative;
    transition: all .25s ease;
}

.spw-pricing-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.spw-pricing-card.featured {
    border-color: var(--blue-mid);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}

.spw-pricing-card.featured:hover {
    transform: scale(1.03) translateY(-4px);
}

.spw-pricing-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue-mid);
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 99px;
}

/* ── FAQ Accordion ── */
.spw-faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}

.spw-faq-q {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 28px;
    text-align: left;
    font-family: 'DM Sans', sans-serif;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--txt);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.spw-faq-q i {
    color: var(--blue-mid);
    flex-shrink: 0;
    transition: transform .25s;
}

.spw-faq-q[aria-expanded="true"] i {
    transform: rotate(45deg);
}

.spw-faq-a {
    display: none;
    padding: 0 28px 22px;
    font-size: 14.5px;
    color: var(--txt-mid);
    line-height: 1.7;
}

.spw-faq-a.open {
    display: block;
}

/* ── Testimonials ── */
.spw-testi-card {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: box-shadow .2s;
}

.spw-testi-card:hover {
    box-shadow: var(--shadow-sm);
}

.spw-testi-stars {
    color: var(--amber);
    margin-bottom: 16px;
    font-size: 15px;
}

.spw-testi-text {
    font-size: 15px;
    color: var(--txt-mid);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.spw-testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.spw-testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-glow) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.spw-testi-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--txt);
}

.spw-testi-role {
    font-size: 12px;
    color: var(--txt-lt);
}

/* ── Process Steps ── */
.spw-process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.spw-process-steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--blue) 0%, var(--blue-glow) 100%);
    z-index: 0;
}

.spw-step {
    text-align: center;
    padding: 0 16px;
    position: relative;
    z-index: 1;
}

.spw-step-num {
    width: 72px;
    height: 72px;
    background: white;
    border: 3px solid var(--blue-mid);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: 'Syne', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--blue-mid);
}

.spw-step h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.spw-step p {
    font-size: 13.5px;
    color: var(--txt-mid);
}

/* ── Responsive específico para componentes ── */
@media (max-width: 900px) {
    .spw-process-steps {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 40px !important;
    }
    
    .spw-process-steps::before {
        display: none;
    }
    
    .spw-hero-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    
    .spw-hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .spw-live-badge {
        margin: 0 auto 28px;
    }
    
    .spw-diagnostic-card {
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .spw-process-steps {
        grid-template-columns: 1fr !important;
    }
    
    .spw-pricing-card.featured {
        transform: none;
    }
    
    .spw-pricing-card.featured:hover {
        transform: translateY(-4px);
    }
}