/* ==========================================================================
   WEBFACTOR STUDIO - CSS ESPECÍFICO DE NOSOTROS.HTML
   ========================================================================== */

/* Tabla comparativa */
.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px;
}

.comparison-table th,
.comparison-table td {
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.92rem;
}

.comparison-table th {
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  color: #ffffff;
}

.comparison-table th.col-highlight {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border-top: 3px solid var(--primary);
}

.comparison-table td.col-highlight {
  background: rgba(99, 102, 241, 0.06);
  font-weight: 600;
  color: #ffffff;
}

.check-icon { color: #10b981; font-weight: bold; }
.cross-icon { color: #ef4444; font-weight: bold; }

/* Proceso de trabajo */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  position: relative;
}

@media (min-width: 640px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }

.process-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  position: relative;
  transition: all var(--transition-normal);
}

.process-step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.4);
}

.step-num-badge {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.step-title { font-size: 1.15rem; margin-bottom: 0.6rem; }
.step-desc { font-size: 0.88rem; line-height: 1.6; }

/* Testimonios */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
}

@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.3);
}

.stars-rating { color: #f59e0b; margin-bottom: 1rem; font-size: 1rem; letter-spacing: 2px; }

.testimonial-text {
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.7;
  color: #e2e8f0;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-client {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.client-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary); }
.client-name { font-weight: 700; font-size: 0.95rem; color: #ffffff; }
.client-role { font-size: 0.78rem; color: var(--text-muted); }

/* Tabla comparativa mobile */
@media (max-width: 767px) {
  .comparison-table-wrapper { -webkit-overflow-scrolling: touch; border-radius: 12px; margin-left: -0.2rem; margin-right: -0.2rem; }
  .comparison-table th, .comparison-table td { padding: 0.85rem 0.95rem !important; font-size: 0.82rem !important; white-space: nowrap; }
}

/* ==========================================================================
   CLASES EXTRAÍDAS DE ESTILOS INLINE (NOSOTROS.HTML)
   ========================================================================== */
.nosotros-features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.nosotros-feature-card { background: var(--bg-card); border: 1px solid var(--border-subtle); padding: 2.2rem; border-radius: var(--radius-lg); }
.nosotros-feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.nosotros-feature-title { font-size: 1.3rem; margin-bottom: 0.8rem; color: #ffffff; }
.nosotros-feature-desc { font-size: 0.95rem; line-height: 1.6; }
.nosotros-cta-section { text-align: center; border-top: 1px solid var(--border-subtle); }
.nosotros-cta-title { font-size: 2rem; margin-bottom: 1rem; }
.nosotros-cta-desc { max-width: 550px; margin: 0 auto 2rem auto; }
.nosotros-cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
