/**
 * ============================================================
 * Implementación, Soporte y Acompañamiento PointSeller
 * Componente reutilizable (includes/soporte.php).
 * Reutiliza variables de css/modern-theme.css. Prefijo .sop-
 * ============================================================
 */

.sop-section { padding: 6rem 0; background: var(--white); }

/* Grilla principal de dos columnas (instalación + 30 días) */
.sop-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Tarjeta base */
.sop-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--rounded-2xl);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
}
.sop-card__head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}
.sop-card__icon {
    width: 54px; height: 54px; min-width: 54px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--rounded-lg);
    font-size: 1.4rem;
    color: var(--white);
    background: var(--gradient-primary);
}
.sop-card__head h3 { font-size: 1.3rem; font-weight: 700; color: var(--gray-900); margin: 0; }

/* Listas con iconos */
.sop-list { display: flex; flex-direction: column; gap: 0.85rem; }
.sop-list li { display: flex; align-items: flex-start; gap: 0.7rem; color: var(--gray-700); line-height: 1.5; }
.sop-list li i { margin-top: 0.25rem; font-size: 0.95rem; flex-shrink: 0; }
.sop-list--check li i { color: var(--success); }
.sop-list--plus li i { color: var(--warning); }

/* Bloque destacado: 30 días incluidos */
.sop-free {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 100%);
    border: 1px solid #a7f3d0;
}
.sop-free .sop-card__icon { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.sop-badge-free {
    display: inline-block;
    background: var(--success);
    color: var(--white);
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
    padding: 0.3rem 0.85rem;
    border-radius: var(--rounded-full);
    margin-bottom: 1rem;
}
.sop-free p { color: var(--gray-700); margin-bottom: 1.25rem; line-height: 1.65; }

/* Servicios con costo adicional */
.sop-paid {
    background: linear-gradient(135deg, #fffbeb 0%, #fefce8 100%);
    border: 1px solid #fde68a;
    border-radius: var(--rounded-2xl);
    padding: 2.25rem;
    margin-bottom: 2rem;
}
.sop-paid .sop-card__icon { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.sop-paid__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.75rem 2rem;
    margin-top: 1.5rem;
}

/* Cajas informativas (hardware / impresoras) */
.sop-note {
    display: flex;
    gap: 1.1rem;
    background: var(--gray-50);
    border-left: 4px solid var(--primary);
    border-radius: var(--rounded-lg);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
}
.sop-note__icon {
    width: 46px; height: 46px; min-width: 46px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--rounded-md);
    background: var(--primary-100);
    color: var(--primary);
    font-size: 1.2rem;
}
.sop-note h3 { font-size: 1.15rem; font-weight: 700; color: var(--gray-900); margin: 0 0 0.5rem; }
.sop-note p { color: var(--gray-600); line-height: 1.65; margin: 0; }
.sop-note--printer { border-left-color: var(--warning); }
.sop-note--printer .sop-note__icon { background: #fef3c7; color: #d97706; }
.sop-price-tag { color: var(--warning); font-weight: 700; }

/* Horario de soporte */
.sop-schedule {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem 2.5rem;
    background: var(--gradient-dark);
    color: var(--white);
    border-radius: var(--rounded-2xl);
    padding: 2rem 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}
.sop-schedule__item { display: flex; align-items: center; gap: 0.75rem; }
.sop-schedule__item i { font-size: 1.5rem; color: #60a5fa; }
.sop-schedule__label { font-size: 0.8rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.05em; }
.sop-schedule__value { font-weight: 700; font-size: 1.05rem; }
.sop-schedule__divider { width: 1px; height: 36px; background: rgba(255,255,255,0.2); }

/* Planes de soporte */
.sop-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}
.sop-plan {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--rounded-2xl);
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.sop-plan:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: var(--primary-light); }
.sop-plan--featured { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.sop-plan__tag {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--gradient-primary); color: var(--white);
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
    padding: 0.35rem 1rem; border-radius: var(--rounded-full); white-space: nowrap;
}
.sop-plan__icon {
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--rounded-lg);
    background: var(--primary-50); color: var(--primary);
    font-size: 1.3rem; margin-bottom: 1rem;
}
.sop-plan h3 { font-size: 1.3rem; font-weight: 700; color: var(--gray-900); margin: 0 0 0.75rem; }
.sop-plan p { color: var(--gray-600); line-height: 1.6; margin: 0 0 1rem; flex: 1; }
.sop-plan__includes { font-size: 0.9rem; color: var(--gray-500); margin-bottom: 1.5rem; line-height: 1.6; }
.sop-plan__cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    font-weight: 600; color: var(--primary); font-size: 0.92rem;
    border: 1.5px dashed var(--gray-300); border-radius: var(--rounded-md);
    padding: 0.7rem 1rem;
}

/* CTA final */
.sop-cta {
    background:
        radial-gradient(700px 350px at 85% 0%, rgba(124,58,237,0.35), transparent 60%),
        var(--gradient-hero);
    color: var(--white);
    border-radius: var(--rounded-2xl);
    padding: 3.5rem;
    text-align: center;
}
.sop-cta h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--white); margin: 0 0 1rem; }
.sop-cta p { color: rgba(255,255,255,0.85); max-width: 640px; margin: 0 auto 2rem; line-height: 1.7; }
.sop-cta__buttons { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* Responsive */
@media (max-width: 860px) {
    .sop-two { grid-template-columns: 1fr; }
    .sop-schedule__divider { display: none; }
}
@media (max-width: 640px) {
    .sop-section { padding: 4rem 0; }
    .sop-card, .sop-paid { padding: 1.75rem; }
    .sop-cta { padding: 2.5rem 1.75rem; }
}
