.home-equipo {
  padding-bottom: 24px;
}

.home-equipo__tarjeta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #e5e9ef;
  border-radius: 18px;
  background: #f7f9fb;
  box-shadow: 0 14px 36px rgba(30, 43, 60, 0.08);
}

.home-equipo__foto {
  min-width: 0;
}

.home-equipo__foto img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-equipo__contenido {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: clamp(28px, 3.4vw, 44px);
}

.home-equipo .home-equipo__titulo {
  display: block;
  margin: 0 0 20px;
  padding: 0;
  /* La regla global de h2 fuerza 20px con !important. */
  font-size: 30px !important;
  line-height: 1.3;
}

.home-equipo__texto {
  margin: 0 0 28px;
  line-height: 1.75;
  text-align: left;
}

.home-equipo__boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 10px;
  color: #005e46;
  line-height: 1.5;
  text-decoration: none;
  transition: background-color 160ms ease;
}

.home-equipo__boton svg {
  flex-shrink: 0;
}

.home-equipo__boton:hover {
  background-color: #fdbf00;
  color: #005e46;
}

.home-equipo__boton:focus-visible {
  outline: 3px solid #005e46;
  outline-offset: 4px;
}

@media (max-width: 991px) {
  .home-equipo__tarjeta {
    grid-template-columns: 1fr;
  }

  .home-equipo__foto img {
    height: auto;
  }
}

@media (max-width: 575px) {
  .home-equipo__contenido {
    padding: 26px 24px 30px;
  }

  .home-equipo .home-equipo__titulo {
    font-size: 26px !important;
    letter-spacing: 1px;
  }
}
