/**
 * DIME Landing - Nosotros Page Styles
 * Hero variant and page-specific enhancements for the about page.
 */

/* ============================================================
   PROGRAM-HERO BASE LAYOUT
   (Duplicated here so nosotros doesn't need CSS_PROGRAMAS)
   ============================================================ */
.program-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.program-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 0.2;
}

.program-hero-content {
  position: relative;
  z-index: 2;
}

.program-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.program-hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 650px;
  margin-bottom: 2rem;
}

/* ============================================================
   NOSOTROS HERO VARIANT
   Blue gradient + dot pattern + warm orange highlight
   ============================================================ */
.nosotros-hero {
  background: linear-gradient(
    160deg,
    var(--color-primary-dark) 0%,
    var(--color-primary) 55%,
    var(--color-primary-dark) 100%
  );
}

/* Dot pattern overlay — adds texture without distraction */
.nosotros-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='52' viewBox='0 0 60 52' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='15' cy='13' r='2'/%3E%3Ccircle cx='45' cy='13' r='2'/%3E%3Ccircle cx='30' cy='39' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 60px 52px;
  pointer-events: none;
  opacity: 0.5;
}

/* Warm orange radial highlight */
.nosotros-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    ellipse at 70% 50%,
    rgba(249, 115, 22, 0.08) 0%,
    transparent 60%
  );
  pointer-events: none;
}

/* ============================================================
   QUIÉNES SOMOS — Image wrapper
   ============================================================ */
.nosotros-image-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  height: 100%;
}

.nosotros-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
  display: block;
}

/* ============================================================
   CÓMO SURGIMOS — Contact card
   ============================================================ */
.nosotros-contact-card {
  background: linear-gradient(
    135deg,
    var(--color-primary-50) 0%,
    rgba(0, 102, 204, 0.03) 100%
  );
  border: 1px solid var(--color-primary-100) !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
  .program-hero {
    min-height: 60vh;
  }
}

@media (max-width: 767.98px) {
  .program-hero-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .program-hero-subtitle {
    font-size: 1.05rem;
  }
}
