/* Usa el verde del sitio */
:root {
  --h3vel-green: rgb(var(--color-verdeZ-900));
  --h3vel-dark: #181818;
  --h3vel-gray: #232323;
}

.h3vel-interactive-grid {
  padding: 18px 8px;
  font-family: sans-serif;
  border-radius: 13px;
}

.h3vel-grid-container {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  /* 9 iconos por fila en desktop */
  gap: 20px;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 10px;
  background: var(--h3vel-dark);
  padding: 0px 20px;
}

@media (max-width: 1024px) {
  .h3vel-grid-container {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 768px) {
  .h3vel-grid-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.h3vel-icon-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(.4, 1.6, .6, 1), box-shadow 0.3s cubic-bezier(.4, 1.6, .6, 1), border 0.3s cubic-bezier(.4, 1.6, .6, 1);
  min-width: 0;
  border-radius: 12px;
  border: 2px solid transparent;
}

.h3vel-icon-wrapper {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--h3vel-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--h3vel-green);
  margin-bottom: 6px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.h3vel-icon-wrapper svg {
  width: 20px;
  height: 20px;
}

.sos-text {
  font-weight: bold;
  font-size: 11px;
}

.h3vel-icon-label {
  color: #eaeaea;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-align: center;
  line-height: 1.1;
  margin-top: 1px;
  font-weight: 600;
}

/* EFECTO HOVER */

/* EFECTO HOVER */
.h3vel-icon-card:hover {
  transform: scale(1.07) translateY(-2px);
  box-shadow: 0 6px 24px 0 rgba(0, 0, 0, 0.22), 0 1.5px 8px 0 rgba(var(--color-verdeZ-900), 0.13);
  border: 2px solid transparent;
}

.h3vel-icon-card:hover .h3vel-icon-wrapper {
  background: var(--h3vel-green);
  color: var(--h3vel-dark);
  border: 2px solid var(--h3vel-green);
}

.h3vel-icon-card:hover .h3vel-icon-label {
  color: #fff;
}

/* TOOLTIP (El texto que aparece) */
.h3vel-tooltip {
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  color: #222;
  padding: 7px 8px;
  border-radius: 7px;
  font-size: 10px;
  width: 130px;
  text-align: center;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
  z-index: 10;
}

.h3vel-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -4px;
  border-width: 4px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

.h3vel-icon-card:hover .h3vel-tooltip {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* Ajuste móvil */
@media (max-width: 480px) {
  .h3vel-grid-container {
    grid-template-columns: repeat(3, 1fr);
    padding: 20px;
    gap: 7px;
  }

  .h3vel-tooltip {
    display: none;
  }
}

/* Heredamos tu fuente Inter */
.h3vel-certificates-grid {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.h3vel-cert-title {
  transition: all 0.3s ease;
  opacity: 0.6;
  /* Un poco apagados por defecto para no distraer */
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 25px;
  font-weight: 600;
}

.h3vel-cert-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 15px;
}

.h3vel-cert-item {
  transition: all 0.3s ease;
  opacity: 0.6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.h3vel-cert-icon svg {
  width: 42px;
  height: 42px;
  color: #222;
  /* El color de las líneas */
  transition: all 0.3s ease;
}

.h3vel-cert-label {
  font-size: 10px;
  font-weight: 700;
  color: #444;
  margin-top: 8px;
  text-align: center;
}

/* EFECTO HOVER: Aquí es donde se ponen "lindos" */
.h3vel-cert-item:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.h3vel-cert-item:hover .h3vel-cert-icon svg {
  color: var(--h3vel-green);
}

@media (max-width: 600px) {
  .h3vel-cert-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}