:root {
  --JJColor: #F07D00;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

.hero-institucional {
  min-height: clamp(280px, 45vh, 420px);
  position: relative;
  overflow: hidden;
}

.hero-bg-overlay {
  z-index: 1;
  pointer-events: none;
}

.hero-institucional .container {
  position: relative;
  z-index: 2;
}

.product-card {
  transition: box-shadow 0.2s, transform 0.2s;
}

.product-card:hover {
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.10) !important;
  transform: translateY(-4px) scale(1.03);
}

.stat-card {
  width: 75%;
}

.narrow-card {
  width: 50%;
}

.bg-gray-gradient {
  background: linear-gradient(to bottom, #f4f4f4, #e9ecef);
}

.custom-card {
  background: linear-gradient(145deg, #f8f9fa, #ffffff);
  border: 1px solid #dee2e6;
  border-radius: 16px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.custom-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a2942;
  margin-bottom: 0.5rem;
}

.stat-desc {
  font-size: 1rem;
  color: #6c757d;
}

@media (max-width: 767px) {
  .institutional-page .hero-institucional {
    max-height: none;
    padding: 48px 0;
  }

  .institutional-page .hero-text {
    font-size: clamp(1.4rem, 6vw, 2rem);
    line-height: 1.3;
  }

  .institutional-page .stat-card,
  .institutional-page .narrow-card,
  .institutional-page .feature-callout {
    width: 100%;
    max-width: 100%;
  }

  .institutional-page .card-custom .row {
    text-align: center;
  }

  .institutional-page .card-custom p,
  .institutional-page .card-custom h3 {
    text-align: left;
  }
}
