.solution-card {
  background-color: #f8f8f8;
  border-top: 1px solid #e2e8f0;
  padding: 3rem 0 1.5rem 0;
  margin-top: auto;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  isolation: isolate;
}

.solution-card::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 420px;
  height: 600px;
  background-image: url('/dist/bootstrap-5.3.8-dist/img/Card-logo.svg');
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: contain;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.solution-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

.card-body {
  background: #DA0712;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2rem;
}

.card-body h3 {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  text-align: center;
}

/* Título */
.solution-title {
  margin: 0;
  line-height: 1;
  padding-bottom: 1.5rem;
}

.solution-title-small {
  display: block;
  font-size: 1.8rem;
  font-weight: 600;
  color: #222;
}

.solution-title-black {
  font-size: 3rem;
  font-weight: 700;
  color: #000;
}

.solution-title-red {
  font-size: 3rem;
  font-weight: 700;
  color: #DA0712;
}

/* ── RESPONSIVE ── */

/* Laptop */
@media (max-width: 1199px) {
  .solution-title-black,
  .solution-title-red {
    font-size: 2.5rem;
  }

  .solution-card::after {
    width: 320px;
    height: 460px;
  }
}

/* Tablet */
@media (max-width: 991px) {
  .solution-title-small {
    font-size: 1.4rem;
  }

  .solution-title-black,
  .solution-title-red {
    font-size: 2rem;
  }

  .solution-card::after {
    width: 240px;
    height: 360px;
    opacity: 0.4; /* menos protagonismo en tablet */
  }

  .card-body h3 {
    font-size: 1.1rem;
  }
}

/* Móvil grande */
@media (max-width: 767px) {
  .solution-card {
    padding: 2rem 0 1rem 0;
  }

  .solution-container {
    padding: 0 1rem;
  }

  .solution-title-small {
    font-size: 1.2rem;
  }

  .solution-title-black,
  .solution-title-red {
    font-size: 1.8rem;
  }

  .solution-card::after {
    width: 180px;
    height: 260px;
    opacity: 0.3;
  }

  .card-body {
    height: 60px;
    padding: 1rem;
  }

  .card-body h3 {
    font-size: 1rem;
  }
}

/* Móvil pequeño */
@media (max-width: 480px) {
  .solution-title-black,
  .solution-title-red {
    font-size: 1.5rem;
  }

  .solution-title-small {
    font-size: 1rem;
  }

  .solution-card::after {
    display: none; 
  }
}