/* ============================================================ */
/* ===== TIPOS DE MIEMBRO - BANNER PRINCIPAL ===== */
/* ============================================================ */

.types-banner {
  position: relative;
  color: #ffffff;
  padding: 100px 25px;
  text-align: center;
  overflow: hidden;
}

.types-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.types-banner-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 81, 152, 0.92) 0%, rgba(38, 49, 77, 0.88) 100%);
}

.types-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
}

.types-banner-super {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #B8CDDE;
  margin-bottom: 10px;
}

.types-banner h2 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 15px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.types-banner-sub {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 auto;
  max-width: 860px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* ============================================================ */
/* ===== TIPOS DE MIEMBRO - SECCIÓN DE TARJETAS ===== */
/* ============================================================ */

.types-section {
  padding: 60px 25px;
  background: #f0f7ff;
}

.types-container {
  max-width: 1200px;
  margin: 0 auto;
}

.types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* ===== TARJETA ===== */

.type-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  border-top: 6px solid #005198;
  transition: transform 0.3s, box-shadow 0.3s;
}

.type-card.animate {
  opacity: 0;
  transform: translateY(24px);
}

.type-card.animate.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.type-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.type-card-head {
  text-align: center;
  margin-bottom: 18px;
}

.type-card-img {
  width: 90px;
  height: 90px;
  margin: 0 auto 14px;
  border-radius: 50%;
  padding: 8px;
  border: 3px solid #005198;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.type-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.type-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: #005198;
  margin: 0;
}

.type-card-desc {
  font-size: 14px;
  line-height: 1.65;
  color: #444444;
  text-align: justify;
  margin-bottom: 14px;
}

/* ===== LISTA DE REQUISITOS (PALOMITAS) ===== */

.type-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  flex-grow: 1;
}

.type-list li {
  position: relative;
  padding-left: 30px;
  font-size: 14px;
  line-height: 1.6;
  color: #333333;
  text-align: justify;
  margin-bottom: 12px;
}

.type-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
}

/* ===== BOTÓN DE DESCARGA ===== */

.type-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: flex-start;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 24px;
  text-decoration: none;
  transition: filter 0.3s, transform 0.3s;
}

.type-download:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
  color: #ffffff;
}

/* ============================================================ */
/* ===== COLORES POR TIPO DE MIEMBRO ===== */
/* ============================================================ */

.type-1 {
  border-top-color: #005198;
}
.type-1 .type-card-img {
  border-color: #005198;
}
.type-1 h3 {
  color: #005198;
}
.type-1 .type-list li::before {
  color: #005198;
}
.type-1 .type-download {
  background: #005198;
}

.type-2 {
  border-top-color: #1e8449;
}
.type-2 .type-card-img {
  border-color: #1e8449;
}
.type-2 h3 {
  color: #1e8449;
}
.type-2 .type-list li::before {
  color: #1e8449;
}
.type-2 .type-download {
  background: #1e8449;
}

.type-3 {
  border-top-color: #b8860b;
}
.type-3 .type-card-img {
  border-color: #b8860b;
}
.type-3 h3 {
  color: #b8860b;
}
.type-3 .type-list li::before {
  color: #b8860b;
}

.type-4 {
  border-top-color: #6c3483;
}
.type-4 .type-card-img {
  border-color: #6c3483;
}
.type-4 h3 {
  color: #6c3483;
}
.type-4 .type-list li::before {
  color: #6c3483;
}
.type-4 .type-download {
  background: #6c3483;
}

.type-5 {
  border-top-color: #148f77;
}
.type-5 .type-card-img {
  border-color: #148f77;
}
.type-5 h3 {
  color: #148f77;
}
.type-5 .type-list li::before {
  color: #148f77;
}
.type-5 .type-download {
  background: #148f77;
}

.type-6 {
  border-top-color: #ca6f1e;
}
.type-6 .type-card-img {
  border-color: #ca6f1e;
}
.type-6 h3 {
  color: #ca6f1e;
}
.type-6 .type-list li::before {
  color: #ca6f1e;
}
.type-6 .type-download {
  background: #ca6f1e;
}

/* ============================================================ */
/* ===== RESPONSIVO ===== */
/* ============================================================ */

@media (max-width: 768px) {
  .types-banner {
    padding: 70px 20px;
  }

  .types-banner h2 {
    font-size: 28px;
  }

  .types-grid {
    grid-template-columns: 1fr;
  }

  .type-card {
    padding: 24px 20px;
  }

  .type-download {
    align-self: stretch;
  }
}
