/**
 * ============================================================
 * Landing premium: PointSeller vs PixelPoint
 * Reutiliza variables de modern-theme.css. Prefijo .vs-
 * (El hero, FAQ y formulario reutilizan css/landing.css .lp-*)
 * ============================================================
 */

/* Accesibilidad: etiqueta solo para lectores de pantalla */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ===== Sección intro objetiva ===== */
.vs-intro { max-width: 900px; margin: 0 auto; }
.vs-intro p { font-size: 1.12rem; color: var(--gray-600); line-height: 1.85; margin-bottom: 1.25rem; }

.vs-two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.5rem; }
.vs-prod-card {
    border: 1px solid var(--gray-200); border-radius: var(--rounded-2xl);
    padding: 2rem; background: var(--white); box-shadow: var(--shadow-sm);
}
.vs-prod-card h3 { font-size: 1.3rem; margin: 0 0 0.5rem; color: var(--gray-900); }
.vs-prod-card .vs-tag { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--primary); }
.vs-prod-card.is-pp .vs-tag { color: var(--gray-500); }
.vs-prod-card p { color: var(--gray-600); line-height: 1.7; margin: 0.75rem 0 0; }

/* ===== Tabla comparativa premium ===== */
.vs-table-wrap { overflow-x: auto; border-radius: var(--rounded-2xl); box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200); }
.vs-table { width: 100%; border-collapse: collapse; background: var(--white); min-width: 720px; }
.vs-table thead th {
    position: sticky; top: 0;
    padding: 1.1rem 1.25rem; text-align: left; font-weight: 700; font-size: 0.95rem;
}
.vs-table thead th:first-child { background: var(--gradient-dark); color: var(--white); border-top-left-radius: var(--rounded-2xl); }
.vs-table thead th.vs-col-ps { background: var(--gradient-primary); color: var(--white); }
.vs-table thead th.vs-col-pp { background: var(--gray-100); color: var(--gray-700); }
.vs-table thead th .vs-th-sub { display:block; font-size: 0.75rem; font-weight: 500; opacity: 0.85; margin-top: 0.15rem; }

.vs-group td {
    background: var(--gray-50); font-weight: 700; color: var(--gray-800);
    padding: 0.7rem 1.25rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em;
    border-top: 1px solid var(--gray-200);
}
.vs-group td i { color: var(--primary); margin-right: 0.5rem; }

.vs-table tbody td { padding: 1rem 1.25rem; border-top: 1px solid var(--gray-100); vertical-align: top; font-size: 0.95rem; }
.vs-feat { font-weight: 600; color: var(--gray-900); }
.vs-feat small { display: block; font-weight: 400; color: var(--gray-400); font-size: 0.82rem; margin-top: 0.2rem; }
.vs-col-ps-cell { color: var(--gray-800); }
.vs-col-ps-cell .vs-yes { color: var(--success); font-weight: 600; }
.vs-col-pp-cell { color: var(--gray-500); }
.vs-yes i { color: var(--success); }
.vs-soft { color: var(--gray-400); font-style: italic; }
.vs-soft i { color: var(--warning); margin-right: 0.3rem; }
.vs-table tbody tr:hover td { background: var(--primary-50); }
.vs-note { font-size: 0.82rem; color: var(--gray-400); text-align: center; margin-top: 1rem; }

/* ===== Cards "por qué eligen" ===== */
.vs-why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; }
.vs-why {
    background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--rounded-xl);
    padding: 1.75rem; box-shadow: var(--shadow-sm); transition: var(--transition);
}
.vs-why:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.vs-why__icon {
    width: 52px; height: 52px; border-radius: var(--rounded-lg);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; color: var(--white); background: var(--gradient-primary); margin-bottom: 1rem;
}
.vs-why h3 { font-size: 1.08rem; margin: 0 0 0.4rem; color: var(--gray-900); }
.vs-why p { font-size: 0.92rem; color: var(--gray-600); margin: 0; line-height: 1.6; }

/* ===== Ecosistema (diagrama) ===== */
.vs-eco { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; position: relative; }
.vs-eco__node {
    background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--rounded-xl);
    padding: 1.5rem 1rem; text-align: center; transition: var(--transition); position: relative;
}
.vs-eco__node:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.vs-eco__node--core { background: var(--gradient-primary); border: none; }
.vs-eco__node--core .vs-eco__ico, .vs-eco__node--core h4 { color: var(--white); }
.vs-eco__node--core p { color: rgba(255,255,255,0.85); }
.vs-eco__ico { font-size: 1.6rem; color: var(--primary); margin-bottom: 0.6rem; }
.vs-eco__node h4 { font-size: 1rem; margin: 0 0 0.25rem; color: var(--gray-900); }
.vs-eco__node p { font-size: 0.8rem; color: var(--gray-500); margin: 0; }

/* ===== Secciones de módulo (KDS / PS Restaurant / BI) ===== */
.vs-module { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.vs-module.reverse > div:first-child { order: 2; }
.vs-module__badge {
    display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--primary); background: var(--primary-50); padding: 0.4rem 1rem; border-radius: var(--rounded-full); margin-bottom: 1rem;
}
.vs-module h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--gray-900); margin: 0 0 1rem; }
.vs-module__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1.5rem; margin-top: 1.25rem; }
.vs-module__list li { display: flex; align-items: flex-start; gap: 0.55rem; color: var(--gray-700); font-size: 0.95rem; }
.vs-module__list li i { color: var(--success); margin-top: 0.25rem; }
.vs-module__visual {
    border-radius: var(--rounded-2xl); padding: 2.5rem; color: var(--white);
    background: var(--gradient-hero); box-shadow: var(--shadow-xl); position: relative; overflow: hidden; min-height: 280px;
    display: flex; flex-direction: column; justify-content: center; gap: 1rem;
}
.vs-module__visual .vs-kpi { display: flex; align-items: center; gap: 1rem; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--rounded-lg); padding: 1rem 1.25rem; }
.vs-module__visual .vs-kpi i { font-size: 1.5rem; color: #60a5fa; }
.vs-module__visual .vs-kpi b { display:block; font-size: 1.1rem; }
.vs-module__visual .vs-kpi span { font-size: 0.85rem; color: rgba(255,255,255,0.7); }

/* ===== Responsive ===== */
@media (max-width: 860px) {
    .vs-two-cols { grid-template-columns: 1fr; }
    .vs-module { grid-template-columns: 1fr; }
    .vs-module.reverse > div:first-child { order: 0; }
    .vs-module__list { grid-template-columns: 1fr; }
}
