.about {
  background-color: var(--bg-light);
  font-family: var(--font-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 75vh;
  padding: 20px 0;
}

.about .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.about .col-md-6 {
  flex: 1;
}

/* ============================= */
/* TEXTOS */
/* ============================= */

.about h3 {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 16px;
  font-size: 2rem;
}

.about p {
  color: var(--text-color);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.about ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
  color: var(--text-color);
  font-weight: 500;
  font-size: 1.05rem;
}

/* ============================= */
/* LISTA DE SERVICIOS */
/* ============================= */

.service-list {
  list-style: none;
  padding-left: 0;
  margin-top: 8px;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--text-color);
  font-size: 1.1rem;
  transition: transform var(--transition-fast);
}

.service-list li:hover {
  transform: translateX(3px);
}

/* Cuadro con ícono médico */
.icon-box {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background-color: rgba(42, 157, 144, 0.12);
  color: var(--secondary-color);
  font-size: 1.3rem;
  box-shadow: 0 2px 6px var(--shadow);
  transition: all var(--transition-fast);
}

.icon-box:hover {
  background-color: var(--secondary-color);
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 3px 8px var(--shadow-hover);
}

/* ============================= */
/* IMAGEN */
/* ============================= */

.about .img-overlay {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  animation: fadeInRight 1.2s ease;
}

.about .img-overlay img {
  border-radius: 16px;
  box-shadow: 0 6px 18px var(--shadow);
  width: 100%;
  filter: brightness(0.96);
  transition: transform var(--transition-medium),
    box-shadow var(--transition-medium),
    filter var(--transition-medium),
    opacity 0.3s ease;
}

.about .img-overlay:hover img {
  transform: scale(1.04);
  filter: brightness(1);
  opacity: 0.98;
  box-shadow: 0 10px 24px var(--shadow-hover);
}

/* Degradado */
.about .img-overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(26, 54, 93, 0.25), rgba(255, 255, 255, 0));
  transition: opacity var(--transition-medium);
  opacity: 0;
}

.about .img-overlay:hover::after {
  opacity: 1;
}

/* ============================= */
/* RESPONSIVIDAD */
/* ============================= */

@media (max-width: 900px) {
  .about {
    height: auto;
    padding: 60px 0;
  }

  .about .container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
    padding: 0 20px;
  }

  .about h3 {
    font-size: 1.8rem;
  }

  .about p,
  .service-list li {
    font-size: 1rem;
    justify-content: center;
    /* Center list items on mobile */
  }

  .about .img-overlay {
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
  }
}