/* ── HERO ── */
.coop-hero {
  background: linear-gradient(90deg, #1a3a6b, #0571cf);
  height: 38vh;
  min-height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  position: relative; 
}

.coop-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.18);
  z-index: 1;
}

.coop-hero-inner {
  position: relative;
  z-index: 2;
  color: white;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.coop-hero-inner h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0 0 8px;
  max-width: 90%;
}

.coop-hero-inner h2 {
  font-size: clamp(0.95rem, 2vw, 1.4rem);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 24px;
}

/* ── SECCIÓN VIDEOS ── */
.seccion-videos {
  background-color: #f4f4f4;
  padding: 60px 40px;
  width: 100%;
}

.seccion-videos h2 {
  font-size: 32px;
  color: rgb(42, 42, 144);
  margin-bottom: 36px;
  text-align: center;
}

.grilla-videos {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
  align-items: stretch;
  justify-content: center;
}

.video-card {
  flex: 0 0 260px;   /* ← clave: no crece, no se encoge, siempre 260px */
  width: 260px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.12);
  background: #000;
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
}

/* ── DESCRIPCIÓN ── */
.coop-descripcion {
  background-color: white;
  padding: 60px 80px;
  display: flex;
  justify-content: center;
}

.coop-descripcion-inner {
  max-width: 1300px;
  width: 100%;
}

.coop-descripcion h3 {
  font-size: 36px;
  color: rgb(42, 42, 144);
  margin-bottom: 24px;
  text-align: center;
}

.coop-descripcion p {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.7;
  text-align: center;
  padding: 0 20px;
  color: #333;
}

/* ── INTEGRANTES ── */
.coop-integrantes {
  width: 100%;
  padding: 40px 15px 60px;
  background-color: #f4f4f4;
}

.coop-integrantes h2 {
  font-size: 32px;
  color: rgb(42, 42, 144);
  margin-bottom: 24px;
  text-align: center;
}

/* ── RESPONSIVE (un solo bloque por breakpoint) ── */
@media (max-width: 992px) {
  .coop-hero {
    height: 28vh;
    min-height: 160px;
  }

  .seccion-videos {
    padding: 40px 20px;
  }

  .grilla-videos {
  grid-template-columns: repeat(2, 1fr);
  max-width: 600px;
}

  .video-card {
    flex: 1 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }

  .coop-descripcion {
    padding: 40px;
  }

  .coop-descripcion h3 { font-size: 26px; }
  .coop-descripcion p  { font-size: 17px; }
  .coop-integrantes h2 { font-size: 24px; }
}

@media (max-width: 600px) {
  .coop-hero-inner h1 { font-size: 7vw; }
  .coop-hero-inner h2 { font-size: 3.5vw; }

  .grilla-videos {
    flex-direction: column;
    max-width: 100%;
  }

  .video-card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .coop-descripcion {
    padding: 30px 20px;
  }
}