/* html, body {
  margin: 0;
  padding: 0;
  height: 100%;
} */

.home-bg {
  width: 100vw;
  min-height: 100vh;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover; /* ahora cubre todo el ancho y alto */
  position: relative;
  z-index: 0;
}

.hero {
  width: 100vw;
  min-height: 50vh;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 0;
  padding-top: 80px; /* ajustado para header más compacto */
  padding-right: 30px;
  padding-bottom: 15px;
  padding-left: 30px;
  position: relative;
  box-sizing: border-box;
  z-index: 1;
  background: none !important;
}

.hero__content {
  max-width: 600px;
}

.hero__content h1 {
  font-size: 32px; /* más pequeño para 720p */
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-color);
}

.social-icons {
  position: absolute;
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.social-icons a {
  color: var(--text-color);
  font-size: 20px;
  text-decoration: none;
}

.membership {
  background: var(--background-overlay);
  text-align: left;
  padding: 15px 15px; /* reducir 10% más la altura */
  border-top-right-radius: 40vw; /* mantener forma original */
  margin-top: 20px;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: 100%; /* mantener ancho original */
  max-width: 1200px; /* mantener ancho máximo original */
  margin-left: auto;
  margin-right: auto;
}

.membership h2 {
  font-size: 24px;
  color: var(--text-color);
  margin-bottom: 10px; /* reducir más el margen para menos altura */
  font-weight: 600;
  box-sizing: border-box;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  padding: 0 15px; /* padding original */
}

.membership__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* centrar elementos */
  gap: 8px;
  padding: 5px 8px; /* reducir más el padding vertical */
  max-width: 1000px; /* mantener ancho original */
  margin: 0 auto;
  box-sizing: border-box;
}
.item {
  text-align: center;
  max-width: 140px;
}

.item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 12px;
  display: block;
}

.item span {
  display: block;
  color: var(--text-color);
  font-weight: 500;
}

.item-horizontal {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex: 0 1 calc(25% - 9px); /* 4 elementos por fila con gaps */
  max-width: calc(25% - 9px);
  min-width: 140px; /* ancho mínimo para forzar 4 por fila en 720p */
  box-sizing: border-box;

.item-horizontal img {
  width: 66px; /* 10% más grande que 60px */
  height: 50px; /* 10% más grande que 45px */
  object-fit: cover;
  flex-shrink: 0;

  /* esquinas personalizadas */
  border-top-left-radius: 10px;
  border-bottom-right-radius: 10px;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
}

.item-horizontal span {
  font-weight: 600;
  color: var(--text-color);
  font-size: 13px; /* 10% más grande que 12px */
  line-height: 1.2;
  flex: 1;
  text-align: left;
  padding-left: 5px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.membership__items span,
.membership__items .item-horizontal span {
  background: none !important;
}



/* Media queries para resoluciones HD y superiores */
@media (min-width: 1400px) {
  .membership__items {
    max-width: 1600px;
    gap: 40px 30px;
  }
  
  .item-horizontal {
    flex: 0 1 380px;
    max-width: 400px;
    min-width: 350px;
  }
  
  .item-horizontal img {
    width: 140px;
    height: 105px;
  }
  
  .item-horizontal span {
    font-size: 22px;
  }
}

@media (min-width: 1920px) {
  .membership__items {
    max-width: 1800px;
    gap: 50px 40px;
  }
  
  .item-horizontal {
    flex: 0 1 420px;
    max-width: 450px;
  }
  
  .item-horizontal img {
    width: 160px;
    height: 120px;
  }
  
  .item-horizontal span {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .hero {
    background-size: cover;
    background-position: center;
    flex-direction: column;
    text-align: center;
    padding: 120px 20px 40px;
  }

  .social-icons {
    position: static;
    margin-top: 20px;
    flex-direction: row;
    justify-content: center;
  }

  .social-icons a {
    font-size: 18px;
  }

  .membership {
    padding: 40px 20px;
  }

  .item-horizontal {
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    margin: 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.15);
  }

  .item-horizontal img {
    width: 100%;
    max-width: 200px;
    height: auto;
  }

  .membership__items {
    justify-content: center;
    padding: 20px 10px;
    max-width: 100%;
  }

  .membership h2 {
    background: none !important;
    padding: 0 10px;
    font-size: 24px;
  }
}