/* ═══════════════════════════════════════════════════════════════════════════════
   SERVICIOS EMPRESA - REDISEÑO V2
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════════
   1. SERVICIOS - GRID CON FILTROS FUNCIONALES
   ═══════════════════════════════════════════════════════════════════════════════ */
.services-b2b-new {
    padding: 5rem 5%;
    background: linear-gradient(180deg, #050a30, #0a0f3a);
}

.services-b2b-new .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Filtros de categoría */
.service-filters-b2b {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin: 2rem 0 3rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 50px;
}

.filter-btn-b2b {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn-b2b:hover {
    border-color: rgba(245, 158, 11, 0.5);
    color: #fff;
}

.filter-btn-b2b.active {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    border-color: transparent;
    color: #000;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.filter-btn-b2b i {
    font-size: 0.85rem;
}

/* Grid de servicios */
.services-grid-b2b {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* Card de servicio B2B */
.service-card-b2b-v2 {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    display: none;
}

.service-card-b2b-v2.visible {
    display: block;
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.service-card-b2b-v2:hover {
    border-color: rgba(245, 158, 11, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.1);
}

.service-card-b2b-v2.featured {
    border: 2px solid #f59e0b;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(5, 10, 48, 0.95));
}

.service-card-b2b-v2.featured::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 20%;
    right: 20%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #f59e0b, transparent);
}

.service-badge-b2b {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.service-badge-b2b.basico {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.service-badge-b2b.recomendado {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #000;
}

.service-badge-b2b.pro {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.service-icon-b2b {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(251, 191, 36, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.service-icon-b2b i {
    font-size: 1.5rem;
    color: #f59e0b;
}

.service-card-b2b-v2 h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.service-card-b2b-v2 .description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.service-features-b2b {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.service-features-b2b li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-features-b2b li:last-child {
    border-bottom: none;
}

.service-features-b2b li i {
    color: #f59e0b;
    font-size: 0.8rem;
}

.service-pricing-b2b {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.price-b2b {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}

.price-b2b small {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

/* Botón shine para B2B */
@keyframes btnShineB2B {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.btn-service-b2b {
    position: relative;
    padding: 0;
    background: conic-gradient(from 0deg, #f59e0b, #0a0f3a, #0a0f3a, #f59e0b, #0a0f3a, #0a0f3a, #0a0f3a, #f59e0b);
    background-size: 300% 300%;
    animation: btnShineB2B 6s ease-out infinite;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-service-b2b:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 25px rgba(245, 158, 11, 0.4);
}

.btn-service-b2b:active {
    transform: scale(1);
}

.btn-service-b2b span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #0a0f3a;
    border-radius: 50px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   2. PROCESO - DISEÑO MODERNO
   ═══════════════════════════════════════════════════════════════════════════════ */
.process-b2b-new {
    padding: 5rem 5%;
    background: linear-gradient(180deg, #0a0f3a, #050a30);
}

.process-header-b2b {
    text-align: center;
    margin-bottom: 3rem;
}

.process-badge-b2b {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 50px;
    color: #fbbf24;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.process-header-b2b h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.process-header-b2b p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.process-cards-b2b {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.process-card-b2b {
    flex: 0 0 280px;
    max-width: 300px;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(100, 116, 139, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.process-card-b2b:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.5);
}

.process-card-b2b:nth-child(2) {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(15, 23, 42, 0.95));
    border: none;
    box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.5);
}

.process-card-b2b-icon {
    color: #f59e0b;
    margin-bottom: 1rem;
}

.process-card-b2b h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
}

.process-card-b2b p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   3. CASOS DE ÉXITO / TESTIMONIOS MARQUEE
   ═══════════════════════════════════════════════════════════════════════════════ */
.cases-section-new {
    padding: 5rem 5%;
    background: linear-gradient(180deg, #050a30, #0a0f3a);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   4. FAQ - MISMO ESTILO
   ═══════════════════════════════════════════════════════════════════════════════ */
.faq-b2b-new {
    padding: 5rem 5%;
    background: linear-gradient(180deg, #0a0f3a, #050a30);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   5. CTA B2B
   ═══════════════════════════════════════════════════════════════════════════════ */
.cta-b2b-new {
    padding: 5rem 5%;
    text-align: center;
}

.cta-b2b-new h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-b2b-new p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.cta-buttons-b2b {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.btn-cta-b2b {
    position: relative;
    padding: 0;
    background: conic-gradient(from 0deg, #f59e0b, #0a0f3a, #0a0f3a, #f59e0b, #0a0f3a, #0a0f3a, #0a0f3a, #f59e0b);
    background-size: 300% 300%;
    animation: btnShineB2B 6s ease-out infinite;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-b2b:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 25px rgba(245, 158, 11, 0.4);
}

.btn-cta-b2b span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #0a0f3a;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

.btn-cta-b2b.secondary {
    background: conic-gradient(from 0deg, #00d4ff, #0a0f3a, #0a0f3a, #00d4ff, #0a0f3a, #0a0f3a, #0a0f3a, #00d4ff);
    background-size: 300% 300%;
}

.btn-cta-b2b.secondary:hover {
    box-shadow: 0 5px 25px rgba(0, 212, 255, 0.4);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .service-filters-b2b {
        border-radius: 20px;
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .filter-btn-b2b {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .services-grid-b2b {
        grid-template-columns: 1fr;
    }
    
    .service-card-b2b-v2 {
        padding: 1.5rem;
    }
    
    .process-cards-b2b {
        flex-direction: column;
        align-items: center;
    }
    
    .process-card-b2b {
        width: 100%;
        max-width: 100%;
    }
    
    .cta-b2b-new h2 {
        font-size: 1.5rem;
    }
    
    .cta-buttons-b2b {
        flex-direction: column;
        align-items: center;
    }
}

/* Ocultar estilos viejos */
.services-b2b,
.cases-section,
.cta-b2b {
    display: none !important;
}

/* Unified button styling for B2B page */
.btn-primary,
.btn-card,
.btn-submit,
.btn-cta-b2b,
.btn-service-b2b,
.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 212, 255, 0.28);
    background: linear-gradient(135deg, #233dff, #00d4ff);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-primary:hover,
.btn-card:hover,
.btn-submit:hover,
.btn-cta-b2b:hover,
.btn-service-b2b:hover,
.whatsapp-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.35);
    filter: brightness(1.05);
}

.btn-primary:active,
.btn-card:active,
.btn-submit:active,
.btn-cta-b2b:active,
.btn-service-b2b:active,
.whatsapp-button:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn-service-b2b {
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    animation: none;
}

.btn-service-b2b span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 212, 255, 0.28);
    background: linear-gradient(135deg, #233dff, #00d4ff);
    color: #fff;
    font-weight: 700;
}

.btn-cta-b2b.secondary {
    background: transparent;
    border: 1px solid rgba(0, 212, 255, 0.4);
    color: #fff;
}

.whatsapp-button {
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-color: rgba(37, 211, 102, 0.4);
}
