/* =========================
   SPECIALTY CARDS GRANDES
========================= */
.specialty-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 35px 30px;

  display: flex;
  align-items: center;
  gap: 20px;

  width: 100%;
  height: 100%;
  min-height: 190px;

  text-decoration: none;
  overflow: hidden;

  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.specialty-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 133, 255, 0.15);
  border-color: #0085FF;
}

/* ICONO */
.icon-container {
  width: 65px;
  flex-shrink: 0;
}

.icon-container img {
  width: 100%;
  height: auto;
}

/* CONTENIDO */
.card-content {
  flex: 1;
  min-width: 0;
}

.card-content h5 {
  display: inline-block;
  background: #F1F7FF;
  color: #0085FF;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 8px 18px;
  border-radius: 24px;
  margin-bottom: 10px;
  box-shadow: 0 3px 8px rgba(0, 133, 255, 0.2);
}

.card-content p {
  color: #7a7a7a;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* FLECHA */
.arrow-circle {
  width: 40px;
  height: 40px;
  flex-shrink: 0;

  background-color: #E9ECEF;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #adb5bd;
  font-size: 1.4rem;
  transition: 0.3s;
}

.specialty-card:hover .arrow-circle {
  background-color: #0085FF;
  color: #fff;
}

/* =========================
   BANNER
========================= */
.banner-Ninna {
  position: relative;
}

.banner-Ninna-fondo img {
  width: 100%;
  height: auto;
  display: block;
}

/* TEXTO DEL BANNER */
.banner-texto {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  text-align: center;
}

.banner-texto h1 {
  color: #fff;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.banner-texto p {
  color: #EAF3FF;
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* =========================
   RESPONSIVE
========================= */

/* Tablets */
@media (max-width: 992px) {
  .specialty-card {
    padding: 28px 24px;
  }

  .banner-texto h1 {
    font-size: 2.5rem;
  }
}

/* Móvil */
@media (max-width: 768px) {
  .specialty-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    min-height: auto;
  }

  .icon-container {
    width: 55px;
  }

  .arrow-circle {
    align-self: flex-end;
    margin-top: 15px;
  }

  .card-content h5 {
    font-size: 1.05rem;
  }

  .card-content p {
    font-size: 0.95rem;
    -webkit-line-clamp: 4;
  }

  .banner-texto h1 {
    font-size: 2.1rem;
  }

  .banner-texto p {
    font-size: 1rem;
  }
}

/* Móvil pequeño */
@media (max-width: 480px) {
  .specialty-card {
    padding: 22px 18px;
  }

  .banner-texto h1 {
    font-size: 1.8rem;
  }

  .banner-texto p {
    font-size: 0.95rem;
  }
}

