/* ============================================
   UNIFICACIÓN COMPLETA DE SECCIONES
   Todas las secciones usan la misma estructura y alineación
   ============================================ */

/* ===== ESPACIADO DE SECCIONES ===== */
.analitix-section {
  padding-top: 56px;
  padding-bottom: 56px;
}

/* ===== CONTENEDORES UNIFICADOS ===== */
/* Todos los contenedores deben tener el mismo ancho máximo y padding */
.analitix-section .container,
.analitix-casos .casos__container {
  max-width: var(--maxw, 1180px);
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* ===== HEADERS DE SECCIÓN ===== */
.section-header {
  margin-bottom: 32px;
}

/* Casos & Partners tiene un layout especial con botón "Ver todos" */
.analitix-casos .casos__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

/* ===== TÍTULOS PRINCIPALES ===== */
.section-title-main {
  font-size: 19px !important;
  line-height: 1.1 !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin: 0 !important;
  color: var(--fg, #1a1a1a) !important;
}

/* ===== ESPACIADO INTERNO DE CONTENIDO ===== */

/* Servicios: Grid de tarjetas */
.svc-grid {
  margin-top: 0;
}

/* Nosotros: Grid de 2 columnas */
.grid-2 {
  margin-top: 0;
}

/* Proceso: Contenedor de pasos */
.process {
  margin-top: 0;
}

/* Casos: Viewport del carrusel */
[data-casos-viewport] {
  margin-top: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .analitix-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  
  .section-header {
    margin-bottom: 24px;
  }
  
  .analitix-casos .casos__head {
    margin-bottom: 20px;
  }
  
  .section-title-main {
    font-size: 17px !important;
  }
}

@media (max-width: 640px) {
  .analitix-section {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  
  .section-header {
    margin-bottom: 20px;
  }
  
  .analitix-casos .casos__head {
    margin-bottom: 16px;
  }
}
