/* Hero Reportes */
.hero-reportes {
  padding: 56px 0;
}

.hero-reportes-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}


.hero-reportes-text {
  max-width: 640px;
}

.hero-reportes-title {
  font-size: 48px;
  margin: 8px 0 16px;
}

.hero-reportes-description {
  font-size: 16px;
  color: #495057;
  margin: 0 0 20px;
  max-width: 56ch;
}

.hero-reportes-kpis {
  color: #6c757d;
  font-size: 14px;
}

.hero-reportes-actions {
  display: flex;
  gap: 16px;
  margin: 8px 0 16px;
}

.hero-reportes-metrics {
  color: #6c757d;
  font-size: 14px;
}

.highlight-blue {
  font-weight: 600;
}

.hero-reportes-visual {
  width: 100%;
}

.hero-reportes-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

@media (max-width: 992px) {
  .hero-reportes-content {
    grid-template-columns: 1fr;
  }
  .hero-reportes-title {
    font-size: 40px;
  }
  .hero-reportes-text {
    max-width: none;
    width: 100%;
    text-align: center;
    margin: 0 auto;
  }
  .hero-reportes-actions {
    justify-content: center;
  }
  .hero-reportes-description {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .hero-reportes {
    padding: var(--spacing-xl) 0;
  }
  
  .hero-reportes-content {
    gap: var(--spacing-xl);
    padding: 0 var(--spacing-lg);
  }
  
  .hero-reportes-title {
    font-size: 32px;
    line-height: 1.2;
    margin: 8px 0 12px;
  }
  
  .hero-reportes-description {
    font-size: 15px;
    margin: 0 0 16px;
    max-width: 100%;
  }
  
  .hero-reportes-actions {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    margin: 8px 0 12px;
  }
  
  .hero-reportes-actions .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .hero-reportes-kpis {
    font-size: 13px;
  }
  
  .hero-reportes-visual {
    order: -1;
    margin-bottom: var(--spacing-lg);
  }
}

/* ================================
   SUPERPOSICIÓN DE SECCIONES
   ================================ */

.reportes-criticos {
  padding: var(--spacing-2xl) 0 var(--spacing-xl) 0;
  background: #FFFFFF;
  position: relative;
  z-index: 2;
}

.reportes-criticos .section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.reportes-criticos .section-title {
  font-size: 32px;
  font-weight: 700;
}

.reportes-criticos-placeholder {
  width: 100%;
  height: 420px;
  background: #d9d9d9;
  border-radius: 12px;
  margin: 0 auto var(--spacing-xl) auto;
}

.reportes-criticos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
  position: relative;
  z-index: 3;
  margin-bottom: calc(-1 * var(--spacing-4xl));
}

.reportes-criticos-card {
  background: var(--blue-200);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
}

.reportes-criticos-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.reportes-criticos-description {
  color: var(--text-muted);
}

.reportes-porque {
  padding: calc(var(--spacing-3xl) + var(--spacing-4xl)) 0 var(--spacing-3xl) 0;
  background: var(--blue-50);
  position: relative;
  z-index: 1;
}

.reportes-porque-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.reportes-porque-title {
  font-size: 32px;
  font-weight: 700;
}

.reportes-porque-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--spacing-xl);
  align-items: flex-start;
}

.reportes-porque-item {
  text-align: center;
}

.reportes-porque .kpi-value.highlight-orange {
  color: var(--orange-500);
  font-size: 28px;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .reportes-criticos-grid { grid-template-columns: 1fr; gap: var(--spacing-lg); margin-bottom: calc(-1 * var(--spacing-3xl)); }
  .reportes-porque { padding: calc(var(--spacing-2xl) + var(--spacing-3xl)) 0 var(--spacing-2xl) 0; }
  .reportes-porque-grid { grid-template-columns: repeat(2, 1fr); gap: var(--spacing-lg); }
}

@media (max-width: 480px) {
  .reportes-criticos-placeholder { height: 260px; }
  .reportes-porque-grid { grid-template-columns: 1fr; }
  .reportes-porque-title, .reportes-criticos .section-title { font-size: 24px; }
}

/* ================================
   SECCIÓN CONTROL Y TRAZABILIDAD
   ================================ */

.reportes-control {
  padding: var(--spacing-4xl) 0;
  background: var(--blue-50);
}

.reportes-control-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--spacing-3xl);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.reportes-control-visual {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.reportes-control-visual .solutions-screen {
  position: static;
}

.reportes-control-caption {
  font-size: 14px;
  color: var(--text-muted);
}

.reportes-control-text {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.reportes-control-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-default);
  margin: 0;
}

.reportes-control-description {
  font-size: 16px;
  color: var(--text-muted);
}

.reportes-control-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.reportes-control-list li {
  font-size: 16px;
  color: var(--text-muted);
  position: relative;
  padding-left: calc(24px + var(--spacing-md));
}

.reportes-control-list li::before {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 24px;
  background-image: url('../../../assets/img/icons/check_blue.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

@media (max-width: 992px) {
  .reportes-control-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }
  .reportes-control-visual {
    order: 1;
  }
  .reportes-control-text {
    order: 2;
  }
  .reportes-control-title {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .reportes-control {
    padding: var(--spacing-2xl) 0;
  }
  .reportes-control-title {
    font-size: 24px;
  }
}

/* ================================
   LISTAS EN TABS CON CHECK_BLUE
   ================================ */

.tabs-tab-content ul.tabs-tab-description,
.tabs-mobile-tab-content ul.tabs-tab-description {
  list-style: none !important;
  padding: 0 !important;
  margin: var(--spacing-md) 0 0 0 !important;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.tabs-tab-content ul.tabs-tab-description li,
.tabs-mobile-tab-content ul.tabs-tab-description li {
  font-size: 16px;
  color: var(--text-muted);
  position: relative;
  padding-left: calc(24px + var(--spacing-md)) !important;
  list-style: none !important;
}

.tabs-tab-content ul.tabs-tab-description li::before,
.tabs-mobile-tab-content ul.tabs-tab-description li::before {
  content: "" !important;
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background-image: url('../../../assets/img/icons/check_blue.svg') !important;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* ================================
   SECCIÓN MÁS REPORTES
   ================================ */

.reportes-mas {
  padding: var(--spacing-4xl) 0;
  background: #FFFFFF;
}

.reportes-mas-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.reportes-mas-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-default);
  margin: 0;
}

.reportes-mas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
}

.reportes-mas-card {
  background: var(--yellow-200);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  text-align: center;
}

.reportes-mas-icon {
  margin-bottom: var(--spacing-lg);
  display: flex;
  justify-content: center;
}

.reportes-mas-icon-img {
  width: 48px;
  height: 48px;
}

.reportes-mas-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-default);
  margin: 0 0 var(--spacing-md) 0;
}

.reportes-mas-card-description {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
}

.reportes-mas-actions {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
}

@media (max-width: 992px) {
  .reportes-mas-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
}

@media (max-width: 480px) {
  .reportes-mas {
    padding: var(--spacing-2xl) 0;
  }
  .reportes-mas-title {
    font-size: 24px;
  }
  .reportes-mas-actions {
    flex-direction: column;
    align-items: center;
  }
  .reportes-mas-actions .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* ================================
   CTA ACTIONS
   ================================ */

.cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  .cta-actions .btn {
    width: 100%;
    max-width: 300px;
  }
}
