/* =========================================
   ESTILOS ESPECÍFICOS: PÁGINA DE SERVICIOS
   ========================================= */

/* --- CLASES DE FUERZA PARA CONTRASTE --- */
.text-white-force { color: #ffffff !important; }
.text-light-force { color: #e2e8f0 !important; }

/* --- GENERALES DE SECCIÓN --- */
.section-padding { padding: 80px 10%; }
.text-center { text-align: center; }
.section-title { color: var(--text-title); font-size: 2.5rem; margin-bottom: 10px; }
.sec-desc { color: var(--text-p); margin-bottom: 40px; font-size: 1.1rem; }

/* --- HERO DE SERVICIOS --- */
.hero-servicios {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    padding: 160px 10% 80px 10%;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-servicios::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40px;
    background: linear-gradient(to bottom, transparent, #ffffff);
}
.hero-servicios-content { max-width: 800px; margin: 0 auto; position: relative; z-index: 2; }
.hero-servicios-content h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 20px; text-shadow: 0 4px 10px rgba(0,0,0,0.4); }
.hero-servicios-content p { font-size: 1.2rem; line-height: 1.6; }

/* --- SECCIÓN ZIG-ZAG (Los 8 Servicios) --- */
.services-list-section { padding: 60px 5% 80px 5%; max-width: 1400px; margin: 0 auto; }
.service-row { display: flex; align-items: center; gap: 60px; margin-bottom: 100px; }
.service-row.reverse { flex-direction: row-reverse; }
.srv-image { flex: 1; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.15); position: relative; }
.srv-image img { width: 100%; height: 400px; object-fit: cover; display: block; transition: transform 0.5s ease; }
.service-row:hover .srv-image img { transform: scale(1.05); }
.srv-text { flex: 1; }
.srv-badge {
    display: inline-block; background-color: rgba(42, 110, 242, 0.1); color: var(--arcadian-blue);
    padding: 6px 15px; border-radius: 50px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; margin-bottom: 15px;
}
.srv-text h2 { font-size: 2.2rem; color: var(--text-title); margin-bottom: 20px; line-height: 1.2; }
.srv-text p { color: var(--text-p); font-size: 1.05rem; line-height: 1.6; margin-bottom: 25px; }
.srv-features { list-style: none; padding: 0; margin-bottom: 30px; }
.srv-features li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; color: #475569; font-weight: 600; }
.srv-features li i { color: var(--arcadian-green); background: rgba(16, 185, 129, 0.1); padding: 5px; border-radius: 50%; font-size: 0.8rem; }
.btn-srv-outline {
    display: inline-block; border: 2px solid var(--arcadian-blue); color: var(--arcadian-blue);
    padding: 12px 25px; border-radius: var(--radius-btn); font-weight: 700; text-decoration: none; transition: all var(--transition-hover);
}
.btn-srv-outline:hover { background-color: var(--arcadian-blue); color: var(--white); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(42, 110, 242, 0.2); }

/* --- TIMELINE (REDISEÑO PREMIUM OSCURO) --- */
.timeline-section { 
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); 
    border-top: 1px solid rgba(255,255,255,0.05);
}
.timeline-section .section-title { color: #ffffff; }
.timeline-section .sec-desc { color: #94a3b8; }
.timeline-container { position: relative; max-width: 900px; margin: 0 auto; padding: 40px 0; }
.timeline-container::before {
    content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px;
    background: none; border-left: 2px dashed rgba(245, 158, 11, 0.3); 
    transform: translateX(-50%); border-radius: 4px;
}
.timeline-item { position: relative; width: 50%; padding: 20px 40px; box-sizing: border-box; }
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; text-align: left; }
.timeline-dot {
    position: absolute; top: 30px; width: 40px; height: 40px; 
    background: var(--arcadian-gold); color: #000;
    border-radius: 50%; display: flex; align-items: center; justify-content: center; 
    font-weight: 800; font-size: 1.2rem; z-index: 2; 
    box-shadow: 0 0 0 6px rgba(15, 23, 42, 1), 0 0 15px rgba(245, 158, 11, 0.4);
}
.timeline-item:nth-child(odd) .timeline-dot { right: -20px; }
.timeline-item:nth-child(even) .timeline-dot { left: -20px; }
.timeline-content {
    background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
    padding: 30px; border-radius: var(--radius-card); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.2); border: 1px solid rgba(255, 255, 255, 0.1); 
    transition: all 0.3s ease;
}
.timeline-content:hover { 
    transform: translateY(-5px); border-color: var(--arcadian-gold);
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.15); 
}
.timeline-content h3 { color: var(--arcadian-gold); font-size: 1.4rem; margin-bottom: 10px; }
.timeline-content p { color: #cbd5e1; line-height: 1.6; }

/* --- GARANTÍAS (SELLOS DE CALIDAD) --- */
.guarantees-section { background-color: var(--white); border-bottom: 1px solid #e2e8f0; }
.guarantees-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto; }
.guarantee-card { 
    text-align: center; padding: 40px 30px; 
    background: linear-gradient(180deg, #fffbec 0%, #ffffff 100%); 
    border-radius: 20px; border: 1px solid rgba(245, 158, 11, 0.1);
    border-top: 4px solid var(--arcadian-gold); box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}
.guarantee-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(245, 158, 11, 0.1); }
.guarantee-card i { 
    display: inline-flex; align-items: center; justify-content: center;
    width: 80px; height: 80px; border-radius: 50%;
    background-color: var(--arcadian-gold); color: #ffffff; 
    font-size: 2.2rem; margin-bottom: 25px; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2)); 
}
.guarantee-card h3 { font-size: 1.3rem; color: var(--text-title); margin-bottom: 15px; }
.guarantee-card p { color: var(--text-p); line-height: 1.6; font-size: 0.95rem; }

/* --- TABLA DE PRECIOS MSP (B2B) --- */
.pricing-section { background-color: #f8fafc; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1100px; margin: 0 auto; align-items: center; }
.pricing-card {
    background: var(--white); border-radius: var(--radius-card); padding: 40px 30px; border: 1px solid #e2e8f0;
    text-align: center; box-shadow: 0 10px 20px rgba(0,0,0,0.05); transition: transform 0.3s ease; position: relative;
}
.pricing-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.pricing-card.featured { border: 2px solid var(--arcadian-blue); transform: scale(1.05); box-shadow: 0 20px 40px rgba(42, 110, 242, 0.15); z-index: 2; }
.pricing-card.featured:hover { transform: scale(1.05) translateY(-10px); }
.pricing-badge {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--arcadian-blue);
    color: white; padding: 5px 20px; border-radius: 20px; font-size: 0.8rem; font-weight: 800; text-transform: uppercase;
}
.pricing-card h3 { font-size: 1.8rem; color: var(--text-title); margin-bottom: 5px; }
.pricing-desc { color: #64748b; font-size: 0.9rem; margin-bottom: 20px; height: 40px; }

.pricing-from { font-size: 0.85rem; color: #64748b; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; margin-bottom: 5px; }
.pricing-price {
    font-size: 3.5rem; font-weight: 800; color: var(--text-title); margin-bottom: 15px;
    display: flex; justify-content: center; align-items: flex-start; line-height: 1;
}
.pricing-price .currency { font-size: 1.5rem; margin-top: 5px; margin-right: 2px; color: #94a3b8; }
.pricing-price .period { font-size: 0.8rem; font-weight: 600; color: #94a3b8; align-self: flex-end; margin-bottom: 8px; margin-left: 5px; text-transform: none; }

.pricing-users {
    display: inline-block; background-color: #f1f5f9; color: var(--arcadian-blue);
    padding: 8px 15px; border-radius: 8px; font-size: 0.9rem; font-weight: 700; margin-bottom: 25px;
}
.pricing-users i { margin-right: 5px; }

.pricing-features { list-style: none; padding: 0; margin-bottom: 30px; text-align: left; }
.pricing-features li { padding: 12px 0; border-bottom: 1px solid #f1f5f9; color: var(--text-title); font-size: 0.95rem; display: flex; align-items: center; gap: 10px; }
.pricing-features li i.fa-check { color: var(--arcadian-green); }
.pricing-features li.disabled { color: #cbd5e1; text-decoration: line-through; }
.pricing-features li.disabled i { color: #cbd5e1; }
.btn-pricing { display: block; width: 100%; border: 2px solid var(--arcadian-blue); color: var(--arcadian-blue); padding: 12px; border-radius: 8px; font-weight: 700; text-decoration: none; transition: 0.3s; }
.btn-pricing:hover { background: var(--arcadian-blue); color: white; }
.btn-pricing-featured { display: block; width: 100%; background: var(--arcadian-blue); color: white; padding: 12px; border-radius: 8px; font-weight: 700; text-decoration: none; transition: 0.3s; }
.btn-pricing-featured:hover { background: #1e3a8a; }

/* --- FORMULARIO B2B (MAILTO) --- */
.b2b-form-section { background-color: #f8fafc; border-top: 1px solid #e2e8f0; }
.form-card-premium {
    max-width: 850px; margin: 0 auto; background: var(--white);
    padding: 50px; border-radius: 20px; box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}
.corporate-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: flex; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; flex: 1; text-align: left; }
.form-group label { font-size: 0.9rem; font-weight: 700; color: var(--text-title); }
.form-group input, .form-group select, .form-group textarea {
    padding: 14px 15px; border: 2px solid #e2e8f0; border-radius: 10px;
    font-family: 'Inter', sans-serif; font-size: 1rem; color: var(--text-title);
    background-color: #f1f5f9; transition: all 0.3s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--arcadian-blue); background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(42, 110, 242, 0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-submit-form {
    margin-top: 10px; background-color: var(--arcadian-blue); color: white;
    border: none; padding: 18px; border-radius: 10px; font-size: 1.1rem;
    font-weight: 800; cursor: pointer; display: flex; align-items: center;
    justify-content: center; gap: 10px; transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(42, 110, 242, 0.3);
}
.btn-submit-form:hover {
    background-color: #1e3a8a; transform: translateY(-3px); box-shadow: 0 15px 25px rgba(42, 110, 242, 0.4);
}

/* --- FAQ (REDISEÑO OSCURO PREMIUM) --- */
.faq-section { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); border-top: 1px solid rgba(255,255,255,0.05); }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; margin-bottom: 15px; overflow: hidden; background: rgba(255,255,255,0.03); transition: 0.3s ease; }
.faq-item:hover { background: rgba(255,255,255,0.05); border-color: rgba(245, 158, 11, 0.2); }
.faq-question { padding: 25px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: 0.3s; gap: 15px; }
.faq-icon-pre { font-size: 1.5rem; color: var(--arcadian-gold); filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.3)); flex-shrink: 0; }
.faq-question h4 { font-size: 1.15rem; color: #ffffff; font-weight: 600; margin: 0; flex-grow: 1; }
.faq-chevron { color: #94a3b8; transition: transform 0.4s ease; font-size: 1rem; flex-shrink: 0; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-answer p { color: #cbd5e1; line-height: 1.6; margin: 0; padding: 0 25px 0 65px; font-size: 0.95rem; }

.faq-item.active { background: rgba(245, 158, 11, 0.05); border-color: var(--arcadian-gold); box-shadow: 0 10px 30px rgba(245, 158, 11, 0.1); }
.faq-item.active .faq-chevron { transform: rotate(180deg); color: var(--arcadian-gold); }
.faq-item.active .faq-answer { max-height: 300px; padding: 10px 25px 25px 25px; border-top: 1px solid rgba(245, 158, 11, 0.1); }

/* --- CTA BANNER --- */
.cta-diagnostico { background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%); padding: 100px 10%; text-align: center; }
.cta-diagnostico-content { max-width: 700px; margin: 0 auto; }
.cta-diagnostico h2 { font-size: 2.5rem; margin-bottom: 20px; text-shadow: 0 2px 5px rgba(0,0,0,0.4); }
.cta-diagnostico p { font-size: 1.1rem; margin-bottom: 40px; line-height: 1.6; }
.btn-cta-gold { display: inline-block; background-color: var(--arcadian-gold); color: #000; padding: 16px 40px; border-radius: var(--radius-btn); font-weight: 800; text-decoration: none; font-size: 1.15rem; transition: all 0.3s ease; box-shadow: 0 10px 20px rgba(245, 158, 11, 0.4); }
.btn-cta-gold:hover { background-color: #fbbf24; transform: translateY(-5px) scale(1.05); box-shadow: 0 15px 25px rgba(245, 158, 11, 0.6); }

/* --- MODAL WHATSAPP --- */
.quote-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(5px); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.quote-modal-overlay.active { opacity: 1; visibility: visible; }
.quote-modal-box { background: var(--white); width: 90%; max-width: 500px; border-radius: 20px; padding: 40px; position: relative; transform: translateY(30px) scale(0.95); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 25px 50px rgba(0,0,0,0.5); border: 1px solid #e2e8f0; }
.quote-modal-overlay.active .quote-modal-box { transform: translateY(0) scale(1); }
.quote-modal-close { position: absolute; top: 20px; right: 25px; background: none; border: none; font-size: 2.5rem; color: #94a3b8; cursor: pointer; line-height: 1; transition: color 0.3s ease; }
.quote-modal-close:hover { color: var(--arcadian-red); }
.quote-modal-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; color: #25D366; }
.quote-modal-header i { font-size: 2.5rem; filter: drop-shadow(0 2px 4px rgba(37, 211, 102, 0.3)); }
.quote-modal-header h3 { font-size: 1.5rem; color: var(--text-title); margin: 0; font-weight: 800; }
.quote-modal-body p { color: var(--text-p); margin-bottom: 20px; font-size: 0.95rem; line-height: 1.6; }
.quote-modal-body textarea { width: 100%; border: 2px solid #e2e8f0; border-radius: 12px; padding: 15px; font-family: 'Inter', sans-serif; font-size: 1rem; color: var(--text-title); resize: vertical; min-height: 130px; margin-bottom: 25px; transition: all 0.3s ease; box-sizing: border-box; background-color: #f8fafc; }
.quote-modal-body textarea:focus { outline: none; border-color: #25D366; background-color: var(--white); box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.1); }
.btn-whatsapp-send { width: 100%; background-color: #25D366; color: white; border: none; padding: 16px; border-radius: 12px; font-size: 1.1rem; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: all 0.3s ease; box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3); }
.btn-whatsapp-send:hover { background-color: #128C7E; transform: translateY(-3px); box-shadow: 0 15px 25px rgba(37, 211, 102, 0.4); }

/* --- RESPONSIVIDAD MÓVIL --- */
@media (max-width: 900px) {
    .service-row, .service-row.reverse { flex-direction: column; gap: 30px; text-align: center; }
    .srv-image img { height: 300px; }
    .srv-features li { justify-content: center; }
    
    .timeline-container::before { left: 20px; }
    .timeline-item, .timeline-item:nth-child(even), .timeline-item:nth-child(odd) { width: 100%; padding-left: 70px; padding-right: 0; text-align: left; left: 0; }
    .timeline-item:nth-child(odd) .timeline-dot, .timeline-item:nth-child(even) .timeline-dot { left: 0; right: auto; }
    .timeline-dot { box-shadow: 0 0 0 6px rgba(15, 23, 42, 1), 0 0 10px rgba(245, 158, 11, 0.3); }

    .pricing-card.featured { transform: scale(1); }
    .pricing-card.featured:hover { transform: translateY(-10px); }
    
    .guarantee-card { padding: 30px 20px; }
}

@media (max-width: 768px) {
    .hero-servicios-content h1 { font-size: 2.5rem; }
    .srv-text h2 { font-size: 1.8rem; }
    .cta-diagnostico h2 { font-size: 2rem; }
    .pricing-price { font-size: 2.8rem; }
    .faq-question h4 { font-size: 1.05rem; }
    .faq-answer p { padding: 0 15px 0 50px; }
    
    /* Ajuste de formulario a 1 columna en móvil */
    .form-row { flex-direction: column; gap: 20px; }
    .form-card-premium { padding: 30px 20px; }
}