/**
 * Marítima Andina - Numbers Widget CSS (10% Wider & Modern Metric Cards)
 */
.mta-numbers-section {
  width: min(1364px, 100% - 48px);
  margin: auto;
  padding: 40px 0 90px;
}

.mta-numbers-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.mta-numbers-title {
  color: var(--mta-muted, #687585);
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 550;
  letter-spacing: 0.01em;
}

.mta-numbers-grid {
  grid-template-columns: repeat(6, 1fr);
  align-items: stretch;
  gap: 16px;
  display: grid;
}

.mta-number-item,
.mta-number-card {
  background: #ffffff;
  border: 1px solid var(--mta-line, #dce4ea);
  border-radius: 20px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
  box-shadow: 0 8px 24px rgba(6, 26, 47, 0.04);
  position: relative;
  overflow: hidden;
  min-height: 230px;
}

.mta-number-item:hover,
.mta-number-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(6, 26, 47, 0.1);
  border-color: rgba(8, 121, 217, 0.4);
}

.mta-number-top,
.mta-number-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.mta-number-item strong,
.mta-number-card strong {
  letter-spacing: -0.045em;
  font-size: 34px;
  font-weight: 700;
  color: var(--mta-ink, #0a1725);
  line-height: 1.05;
  display: block;
}

.mta-number-item span,
.mta-number-card span,
.mta-card-title {
  color: var(--mta-ink, #0a1725);
  font-size: 13.5px;
  font-weight: 650;
  margin-top: 6px;
  line-height: 1.3;
  display: block;
}

.mta-number-item small,
.mta-number-card small,
.mta-card-sub {
  color: var(--mta-muted, #687585);
  font-size: 11.5px;
  font-weight: 500;
  margin-top: 3px;
  line-height: 1.35;
  display: block;
}

.mta-number-chart {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(220, 228, 234, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
}

.mta-number-chart svg,
.mta-kpi-svg {
  width: 100% !important;
  height: 48px !important;
  max-width: 100% !important;
  display: block;
}

.mta-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(52, 196, 233, 0.12);
  color: #34c4e9;
  border: 1px solid rgba(52, 196, 233, 0.3);
  padding: 3px 9px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.mta-live-badge.green {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.3);
}

.mta-live-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(52, 196, 233, 0.25);
  animation: mtaPulse 1.8s infinite;
}

@keyframes mtaPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

@media (max-width: 1150px) {
  .mta-numbers-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 750px) {
  .mta-numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .mta-numbers-section {
    padding: 30px 0 60px;
  }
}

@media (max-width: 480px) {
  .mta-numbers-grid {
    grid-template-columns: 1fr;
  }
}
