/* GUIDES GRID SECTION - DISEÑO EXACTO DE LA IMAGEN */
.guides-grid-section {
  padding: 80px 40px;
  background: #000;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}

.guide-card {
  display: block;
  /* Hace que el <a> se comporte como contenedor */
  text-decoration: none;
  /* Quita subrayado */
  color: inherit;
  /* Hereda color del texto */
  border-radius: 10px;
  /* opcional, bordes redondeados */
  overflow: hidden;
  /* opcional, evita que se salga el contenido */

  border-radius: 20px;
  padding: 40px 20px 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.guide-card:hover {

  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Colores específicos como en la imagen */
.guide-card.orange {
  background: linear-gradient(135deg, #f6a433, #f6a433);
}

.guide-card.purple {
  background: linear-gradient(135deg, #ab7fd8, #ab7fd8);
}

.guide-card.blue {
  background: linear-gradient(135deg, #9fc9ff, #9fc9ff);
}

.guide-card.orange-red {
  background: linear-gradient(135deg, #f9d14d, #f9d14d);
}

.guide-card.red {
  background: linear-gradient(135deg, #fb4b42, #fb4b42);
}

.guide-card.green {
  background: linear-gradient(135deg, #97ee7a, #97ee7a);
}

.guide-card.yellow {
  background: linear-gradient(135deg, #eab308, #facc15);
}

.guide-card.blue-dark {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
}

.guide-card.cyan {
  background: linear-gradient(135deg, #06b6d4, #22d3ee);
}

.guide-image {
  width: 160px;
  /* antes 80px, ahora el doble */
  height: 160px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.guide-card h3 {
  display: block;
  /* Hace que el <a> se comporte como contenedor */
  text-decoration: none;
  /* Quita subrayado */
  color: inherit;
  /* Hereda color del texto */
  border-radius: 10px;
  /* opcional, bordes redondeados */
  overflow: hidden;
  /* opcional, evita que se salga el contenido */
  color: white;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.5px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
  }

  .navbar .nav-links,
  .navbar .nav-buttons {
    display: none;
  }

  .news {
    padding: 60px 20px;
  }

  .news-card {
    flex-direction: column;
    text-align: center;
    margin: 40px auto 40px;
    max-width: 95%;
  }

  .news-card img {
    width: 100%;
    height: auto;
    max-width: 300px;
    margin: 20px auto;
    display: block;
  }

  .news-info {
    text-align: center;
    padding: 25px 20px;
  }

  .social-container {
    flex-direction: column;
    text-align: center;
  }

  .social-text {
    text-align: center;
  }

  .footer-top {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Guides Grid Responsive */
  .guides-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 10px;
  }

  .guide-card {
    padding: 30px 15px;
  }

  .guide-icon {
    font-size: 36px;
    margin-bottom: 15px;
  }

  .guide-card h3 {
    font-size: 18px;
  }

  .guides-grid-section h2 {
    font-size: 24px;
  }

  .guides-grid-section p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .guides-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .guide-card {
    padding: 25px 15px;
  }
}