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

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

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

.services-section-new .section-title,
.services-section-new .section-subtitle {
    color: rgba(255, 255, 255, 0.92);
}

/* Filtros de categoría */
.service-filters {
    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(35, 61, 255, 0.2);
    border-radius: 50px;
}

.filter-btn {
    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:hover {
    border-color: rgba(0, 212, 255, 0.5);
    color: #fff;
}

.filter-btn.active {
    background: linear-gradient(135deg, #00d4ff, #233dff);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

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

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

/* Card de servicio */
.service-card-v2 {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(35, 61, 255, 0.25);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    display: none; /* Oculto por defecto para filtros */
}

.service-card-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-v2:hover {
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.1);
}

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

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

.service-badge-v2 {
    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-v2.basico {
    background: rgba(0, 212, 255, 0.15);
    color: #00d4ff;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

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

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

.service-icon-v2 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(35, 61, 255, 0.15));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.service-icon-v2 i {
    font-size: 1.5rem;
    color: #00d4ff;
}

.service-card-v2.featured .service-icon-v2 {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(251, 191, 36, 0.1));
}

.service-card-v2.featured .service-icon-v2 i {
    color: #f59e0b;
}

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

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

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

.service-features-v2 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-v2 li:last-child {
    border-bottom: none;
}

.service-features-v2 li i {
    color: #10b981;
    font-size: 0.8rem;
}

.service-pricing-v2 {
    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-v2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.btn-service-v2 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-service-v2:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
}

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

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

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

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

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

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

.process-card {
    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:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.5);
}

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

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

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

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

/* ═══════════════════════════════════════════════════════════════════════════════
   3. TESTIMONIOS MARQUEE (mismo estilo que index)
   ═══════════════════════════════════════════════════════════════════════════════ */
.testimonials-section-new {
    padding: 5rem 5%;
    background: linear-gradient(180deg, #050a30, #0a0f3a);
}

@keyframes marqueeScroll {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

.marquee-row {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    overflow: hidden !important;
    position: relative !important;
    padding: 1rem 0 !important;
}

.marquee-fade-left {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    height: 100% !important;
    width: 80px !important;
    z-index: 10 !important;
    pointer-events: none !important;
    background: linear-gradient(to right, rgba(5, 10, 48, 1), transparent) !important;
}

.marquee-fade-right {
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    height: 100% !important;
    width: 80px !important;
    z-index: 10 !important;
    pointer-events: none !important;
    background: linear-gradient(to left, rgba(5, 10, 48, 1), transparent) !important;
}

.marquee-inner {
    display: flex !important;
    min-width: 200% !important;
    animation: marqueeScroll 30s linear infinite !important;
}

.marquee-reverse {
    animation-direction: reverse !important;
}

.marquee-row:hover .marquee-inner {
    animation-play-state: paused !important;
}

.testimonial-marquee-card {
    flex-shrink: 0 !important;
    width: 320px !important;
    margin: 0 1rem !important;
    padding: 1.5rem !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(35, 61, 255, 0.2) !important;
    border-radius: 16px !important;
    transition: all 0.3s ease !important;
}

.testimonial-marquee-card:hover {
    border-color: rgba(0, 212, 255, 0.5) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1) !important;
}

.tmc-header {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    margin-bottom: 1rem !important;
}

.tmc-avatar {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    color: #fff !important;
    flex-shrink: 0 !important;
}

.tmc-info {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.tmc-info strong {
    color: #fff !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
}

.tmc-info span {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.75rem !important;
}

.tmc-stars {
    margin-bottom: 0.75rem !important;
}

.tmc-stars i {
    color: #fbbf24 !important;
    font-size: 0.85rem !important;
    margin-right: 2px !important;
}

.tmc-text {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1rem !important;
    font-style: italic !important;
}

.tmc-result {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.4rem 0.8rem !important;
    background: rgba(16, 185, 129, 0.15) !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    border-radius: 20px !important;
    color: #10b981 !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
}

.tmc-result i {
    font-size: 0.75rem !important;
}

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

.faq-wrapper-new {
    max-width: 800px;
    margin: 0 auto;
}

/* Los estilos de details/summary ya están en final-v5.css */

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .testimonial-marquee-card {
        width: 280px !important;
        padding: 1.25rem !important;
    }

    .marquee-fade-left,
    .marquee-fade-right {
        width: 40px !important;
    }

    .service-filters {
        border-radius: 20px;
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.9);
    }
    
    .services-grid-new {
        grid-template-columns: 1fr;
    }
    
    .service-card-v2 {
        padding: 1.5rem;
    }

    .service-card-v2 .description {
        color: rgba(255, 255, 255, 0.8);
    }

    .service-features-v2 li {
        color: rgba(255, 255, 255, 0.85);
    }
    
    .process-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .process-card {
        width: 100%;
        max-width: 100%;
    }
    
    .process-header h2 {
        font-size: 1.5rem;
    }
}

/* Ocultar estilos viejos */
.services-section,
.process-section,
.testimonials-section,
.faq-section {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   BOTONES CON EFECTO SHINE ANIMADO
   ═══════════════════════════════════════════════════════════════════════════════ */
@keyframes btnShine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.btn-service-v2 {
    position: relative;
    padding: 0;
    background: conic-gradient(from 0deg, #25d366, #0a0f3a, #0a0f3a, #25d366, #0a0f3a, #0a0f3a, #0a0f3a, #25d366);
    background-size: 300% 300%;
    animation: btnShine 6s ease-out infinite;
    border-radius: 50px;
}

.btn-service-v2:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
}

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

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

/* FAQ CTA Button */
.btn-faq {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    background: conic-gradient(from 0deg, #00d4ff, #0a0f3a, #0a0f3a, #00d4ff, #0a0f3a, #0a0f3a, #0a0f3a, #00d4ff);
    background-size: 300% 300%;
    animation: btnShine 6s ease-out infinite;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-faq:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 25px rgba(0, 212, 255, 0.4);
}

.btn-faq span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    background: #0a0f3a;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
}

.faq-cta {
    text-align: center;
    margin-top: 3rem;
}

.faq-cta p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}
