.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  margin-top: 20px;
  padding-bottom: 20px;
  position: relative;
  text-align: center;
}

.main_atlas {
  padding-bottom: 1rem;
}

.section-title::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #0d83fd;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.features .nav-tabs {
  border: 0;
  background-color: color-mix(in srgb, #0d83fd, transparent 96%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  padding: 6px;
  width: auto;
}

.features .nav-item {
  margin: 0;
  padding: 0 5px 0 0;
}

.features .nav-item:last-child {
  padding-right: 0;
}

.features .nav-link {
  background-color: none;
  color: #3f3f3f;
  padding: 10px 30px;
  transition: 0.3s;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  height: 100%;
  border: 0;
  margin: 0;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  color: white;
  background-color: #0d83fd;
  border-color: #0d83fd;
}

@media (max-width: 468px) {
  .features .nav-link {
    padding: 8px 20px;
  }
}

.features .nav-link i {
  padding-right: 15px;
  font-size: 48px;
}

.features .nav-link h4 {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}

.features .nav-link:hover {
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.features .nav-link:hover h4 {
  color: var(--accent-color);
}

.features .nav-link.active {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.features .nav-link.active h4 {
  color: var(--contrast-color);
}

.features .tab-content {
  margin-top: 30px;
}

.features .tab-pane h3 {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 32px;
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.features .tab-pane h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.features .tab-pane ul {
  list-style: none;
  padding: 0;
}

.features .tab-pane ul li {
  padding-top: 10px;
}

.features .tab-pane ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.features .tab-pane p:last-child {
  margin-bottom: 0;
}

.s130 {
  display: flex;
  justify-content: center;
  background-position: bottom right;
  background-repeat: no-repeat;
}

.s130 form {
  width: 100%;
  max-width: 800px;
}

.s130 form .inner-form {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-radius: 34px;
  overflow: hidden;
  background: #fff;
}

.s130 form .inner-form .input-field {
  height: 48px;
}

.s130 form .inner-form .input-field input {
  height: 100%;
  background: transparent;
  border: 0;
  display: block;
  width: 100%;
  padding: 10px 0;
  font-size: 16px;
  color: #000;
}

.s130 form .inner-form .input-field input::placeholder {
  color: #999;
  font-size: 16px;
}

.s130 form .inner-form .input-field input:hover,
.s130 form .inner-form .input-field input:focus {
  box-shadow: none;
  outline: 0;
}

.s130 form .inner-form .input-field.first-wrap {
  flex-grow: 1;
  display: flex;
  align-items: center;
  background: #f8f9fa;
}

.s130 form .inner-form .input-field.first-wrap input {
  flex-grow: 1;
  padding-left: 15px;
}

.s130 form .inner-form .input-field.first-wrap .svg-wrapper {
  display: flex;
  padding-left: 20px;
  padding-right: 10px;
  justify-content: center;
  align-items: center;
}

.s130 form .inner-form .input-field.first-wrap svg {
  width: 24px;
  height: 24px;
  fill: #666;
}

.s130 form .inner-form .input-field.second-wrap {
  min-width: 120px;
}

.s130 form .inner-form .input-field.second-wrap .btn-search {
  height: 100%;
  width: 100%;
  white-space: nowrap;
  font-size: 16px;
  color: #fff;
  border: 0;
  cursor: pointer;
  position: relative;
  z-index: 0;
  background: #0d6efd;
  transition: all 0.2s ease-out;
  font-weight: 400;
  padding: 0 24px;
}

.s130 form .inner-form .input-field.second-wrap .btn-search:hover {
  background: #0b5ed7;
}

.s130 form .inner-form .input-field.second-wrap .btn-search:focus {
  outline: 0;
  box-shadow: none;
}

/* Estilos comunes para el buscador grande */
.s130 {
  display: flex;
  justify-content: center;
}

.s130 .inner-form {
  display: flex;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-radius: 34px;
  overflow: hidden;
  background: #fff;
}

.s130 .input-field.first-wrap {
  flex-grow: 1;
  display: flex;
  align-items: center;
  background: #f8f9fa;
  height: 68px;
}

.s130 .input-field.first-wrap .svg-wrapper {
  padding: 0 20px 0 20px;
  display: flex;
  align-items: center;
}

.s130 .input-field.first-wrap svg {
  width: 24px;
  height: 24px;
  fill: #666;
}

/* Input de texto */
.s130 .search-input {
  flex-grow: 1;
  height: 100%;
  border: none;
  background: transparent;
  padding: 0 15px;
  font-size: 16px;
  color: #000;
  outline: none;
}

.s130 .search-input::placeholder {
  color: #999;
  font-size: 16px;
}

/* Select personalizado para que se vea igual */
.s130 .custom-select-search {
  flex-grow: 1;
  height: 100%;
  border: none;
  background: transparent;
  padding: 0 40px 0 15px;
  /* Espacio para la flecha */
  font-size: 16px;
  color: #000;
  appearance: none;
  /* Quita la flecha por defecto */
  cursor: pointer;
  /* Agregar flecha personalizada */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
}

.s130 .custom-select-search:focus {
  outline: none;
  box-shadow: none;
}

.accordion-body {
  background-color: #f0f7ff;
}

/* ===== PROGRAMA DE APEGO – PLM STYLE ===== */

.card_apego {
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.favorite {
  display: flex;
  padding: 10px;
  justify-content: space-evenly;
  align-items: center;
  border-bottom: 1px solid #0b5ed7;
}

.favorite i {
  font-size: 21px;
  cursor: pointer;
  color: #717275;
}

.favorite i:hover {
  color: #0d83fd;
}

.favorite i:active {
  color: #0d83fd;
}

.card_apego:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

/* Imagen */
.card_img_programa {
  background: #f4f8ff;
  padding: 24px;
  border-bottom: 1px solid #e3ecff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card_img_programa img {
  object-fit: contain;
}

/* Cuerpo */
.card-body_programa {
  background: #e9f2ff;
  padding: 10px;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #0f2a44;
}

.card-text {
  font-size: 0.8rem;
  color: #6c757d;
  margin-bottom: 10px;
}

/* Hover link */
a.text-decoration-none:hover .card-body_programa {
  background: #dbe9ff;
}

.service-card {
  height: 100%;
  padding: 30px;
  background: #fff;
  border-radius: 10px;
  transition: all 0.3s ease;
  display: flex;
}

.service-card img {
  width: 100%;
}

.btn-group-custom .btn {
  margin-right: 8px;
  border-radius: 8px;
}

.btn-group-custom .btn:first-child {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.btn-group-custom .btn:last-child {
  margin-right: 0;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

.service-card .icon {
  width: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #0d83fd;
  font-size: 28px;
  transition: all 0.3s ease;
  line-height: 1;
  margin-right: 20px;
}

.rounded-pill {
  border-radius: 5px !important;
  display: flex;
  justify-content: center;
  text-align: center;
  width: 30px;
  height: 30px;
  line-height: 20px;
  font-size: 22px;
  color: #0133a1;
}

.rounded-pill i {
  transition: all 0.3s ease;
}

.rounded-pill:hover i {
  color: #0133a1;
  cursor: pointer;
}

.rounded-pill:hover i.bi-star::before {
  content: "\f415";
  /* bi-star-fill icon code */
}

.rounded-pill.active i,
.rounded-pill:active i {
  color: #0133a1;
  cursor: pointer;
}

.rounded-pill.active i.bi-star::before,
.rounded-pill:active i.bi-star::before {
  content: "\f415";
  /* bi-star-fill icon code */
}

.service-card .interaction {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-right: 8px;
}

.service-card .interaction h3 {
  color: #0f2a44;
  font-weight: 700;
  font-size: 16px;
  position: relative;
  padding-bottom: 10px;
  text-align: left;
}

.service-card .interaction h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.service-card p {
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
  margin: 0;
}

.service-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0d83fd;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.accordion-template {
  border: none;
  margin-bottom: 1rem;
  border-radius: 15px;
}

.accordion-template-button {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Contenedor de la imagen (span) con posición relativa */
.accordion-template-button .img-wrapper {
  position: relative;
  display: inline-block;
  margin-right: 10px;
}

/* La imagen dentro del contenedor */
.accordion-template-button .img-wrapper img {
  display: block;
  width: 66px;
  height: auto;
}

/* Línea azul debajo de la imagen usando ::after en el contenedor */
.accordion-template-button .img-wrapper::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: #0d83fd;
  left: 3px;
  /* Centrado */
  bottom: -8px;
  /* Separación de la imagen */
}

.bg-light {
  background-color: white !important;
  border-radius: 15px;
}

/* Articulo atlas */
.titulo_atlas_medico {
  font-size: 16px;
  font-weight: 600;
  color: #12438b;
  margin-bottom: 1rem;
}

.titulo_atlas {
  font-size: 24px;
  color: rgba(33, 37, 41, 0.75);
  font-weight: bolder;
  text-align: left;
  margin-bottom: 1rem;
}

.titulo_atlas_modal {
  font-size: 20px;
  color: rgba(33, 37, 41, 0.75);
  font-weight: bolder;
  text-align: left;
  margin-bottom: 0;
}

.descripcion_atlas {
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
  margin-bottom: 1rem;
  color: rgba(33, 37, 41, 0.75);
}

.feature-item .feature-accion {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.icon_imgs {
  border-radius: 16px;
}

.sub-card-pharma {
  border: 1.5px solid rgba(22, 85, 255, 0.4);
  background: linear-gradient(145deg, #ffffff, #eef4ff);
  border-radius: 16px;
}

.contenido {
  border-radius: 32px;
}

.feature-content {
  display: flex;
  justify-content: flex-end;

  padding: 1rem 0;
}

.btn-group-custom .btn {
  font-size: 18px;
}

.btn_share_whatsapp {
  color: #9ca3af;
  border-radius: 50%;
}

.btn_share_x {
  color: #9ca3af;
  border-radius: 50%;
}

.btn_share_email {
  color: #9ca3af;
  border-radius: 50%;
}

.btn_share_whatsapp:hover,
.btn_share_x:hover,
.btn_share_email:hover {
  color: #0133a1;
}
.banner {
  position: sticky;
  top: 100px;
  right: 0;
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .s130 form {
    max-width: 100%;
  }

  .s130 form .inner-form .input-field.second-wrap {
    min-width: 100px;
  }

  .s130 form .inner-form .input-field.second-wrap .btn-search {
    padding: 0 16px;
    font-size: 14px;
  }

  .feature-item .feature-accion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    gap: 1rem;
  }

  .titulo_atlas_medico {
    font-size: 16px;
    font-weight: 600;
    color: #12438b;
    margin-bottom: 0;
  }
}

@media (max-width: 991px) {
  .service-card {
    flex-direction: column;
    padding: 20px;
  }

  .service-card .icon {
    width: 100%;
    margin-right: 16px;
    background: color-mix(in srgb, #0d83fd, transparent 90%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #0d83fd;
    font-size: 28px;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 1rem;
  }

  .service-card img {
    width: 75%;
    padding: 8px;
  }

  /* Fila superior */
  .card-top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
  }

  .card-title h3 {
    font-size: 18px;
    margin: 0;
  }

  /* Cuerpo abajo */
  .card-body {
    gap: 12px;
  }

  .service-card p {
    margin-bottom: 0;
    font-size: 14px;
  }
}
