#sospecha-nino-perdido {
  margin-top: 94px; /* deja espacio debajo del navbar fijo */
  width: 100%;
  height: 200px;
  background-image: url('../imagenes/sospecho/02_Desktop_Banner_Sospecho.jpg'); /* ruta de tu imagen */
  background-size: cover;      /* ajusta la imagen para cubrir todo el contenedor */
  background-position: center; /* centra la imagen */
  display: flex;
  align-items: center;         /* centra verticalmente el título */
  padding: 0 80px; /* respeta el margen lateral de toda la página */
}

#sospecha-nino-perdido .contenedor-contacto {
  width: 100%;
  
}

#sospecha-nino-perdido .ayuda-text {
  font-size: 16px;
  color: white;
  margin: 0;
  position: relative;
}
/* Línea debajo del texto "Ayuda" */
#sospecha-nino-perdido .ayuda-text::after {
  content: "";
  display: block;
  width: 41px;
  height: 2px; /* grosor de la línea */
  background-color: white;
  margin-top: 4px;
}
#sospecha-nino-perdido .contacto-titulo {
  color: white;
  font-size: 40px;
  margin: 0;
  font-weight: 600; /* Semi-bold */
}





.contenedor-contacto {
  text-align: left;
  padding: 40px 20px;
}

.contacto-titulo {
  text-align: left;
  color: #050101;
  font-size: 30px;
  margin-top: 20px;
}

#contact-section {
  background-image: url('../imagenes/Frame 482.png');
  background-size: cover;
  background-position: center;
  height: 104px;             /* ✅ Alto fijo del banner */
  display: flex;
  justify-content: center;   /* Centra horizontalmente */
  align-items: center;       /* ✅ Centra verticalmente los hijos */
}

.contact-content {
  display: flex;
  gap: 40px;                 /* Espacio entre WhatsApp y Mail */
}

.contact-box {
  font-weight: 400; 
  font-size: 16px;
  display: flex;
  align-items: center;       /* Centra ícono y texto */
  gap: 10px;
  color: #ffffff;
  border: 1px solid #ffffff;
  padding: 0 20px;
  height: 52px;              /* ✅ Alto fijo */
  border-radius: 8px;
  background-color: transparent;
  margin: 0;
  text-decoration: none;      /* Quita subrayado de enlaces */
  transition: all 0.3s ease; /* animación suave */
}
.contact-box:hover {
  background-color: #fff;
  color: #014375;
  box-shadow: 0 4px 10px rgba(1, 67, 117, 0.2);
}





.sospecho-contactos {
  padding: 0 80px;
}

.titulo-sospecho {
  font-size: 24px;
  font-weight: 700;
  margin-top: 50px;
  margin-bottom: 20px;
  text-align: center;
}
.p-sospecho{
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  
}
.consejos-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center; /* centra horizontalmente las filas */
  align-items: flex-start; /* todas las cards empiezan en la misma línea superior */
  margin-top: 50px;
}

.consejo-card {
  flex: 0 0 calc((100% - 40px) / 3); /* 3 por fila */
  height: 324px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* contenido empieza arriba */
  padding: 20px;
  border: 1px solid transparent; /* 🔑 CLAVE */
}
.consejo-card:hover{
  border: 1px solid #014375; /* ahora sí se ve azul */
  box-shadow: 0 0 8px rgba(1, 67, 117, 0.3); /* sutil sombra azul */
  transform: translateY(-3px); /* pequeño efecto de "levantarse" */
  
}
.contenido-card {
  display: flex;
  flex-direction: column;

  height: 100%; /* ocupa toda la altura de la card */
  padding: 20px; /* mantiene el padding interno */
}

.icono-img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.mini-titulo {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 10px;
}

.descripcion {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}



/* Comunicación Section */
.comunicacion {
  background-image: url("../imagenes/sospecho/banner-wp-sospecho.jpg");
  background-size: cover;
  background-position:  center; 
  background-repeat: no-repeat;
  height: 140px; /* alto fijo del banner */
  text-align: center;
  color: #fff;
  position: relative;
  display: flex; 
  justify-content: center; 
  align-items: center; /* centra vertical y horizontal */
  margin-top: 50px;
}



.comunicacion-container {
  position: relative;
  z-index: 1;
}

.p-banner-sospecho {
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 400;
}

.whatsapp-azul {
  background: #014375;
  color: #fff;
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: 3px;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.3s ease; /* animación suave */
  border: 1px solid #fff;
}

.whatsapp-azul:hover {
  background: #fff;
  color: #014375;
  
}

.whatsapp-azul i {
  margin-right: 10px;
}

/* Mostrar carrusel solo en mobile */
#carouselConsejos {
  display: block;
}


/* Responsive */
@media (max-width: 767px) {
  .consejos-container{
    display: none;
  }
  #sospecha-nino-perdido {
      margin-top: 50px; /* un poco menos por navbar más compacto */
      height: 180px;
      padding: 0 20px; /* respeta el margen lateral responsive */
      background-size: cover;
      background-position: center;
      display: flex;
      align-items: center;
  }
  .contenedor-contacto{
    padding: 0 !important; /* respeta el margen lateral responsive */
    width: 305px !important;
  }
  .ayuda-text{
    font-size: 14px !important;
  }
  /* Línea debajo del texto "Ayuda" */
  #sospecha-nino-perdido .ayuda-text::after {
    content: "";
    display: block;
    width: 42px;
    height: 1px; /* grosor de la línea */
    background-color: white;
    margin-top: 4px;
  }
  .contacto-titulo {
      font-size: 28px !important;
      font-weight: 700 !important;
      
      
  }

  #contact-section {
      height: 144px;
      margin-top: 30px;
      padding: 20px 10px;
      background-position: center;
  }

  .contact-container {
      flex-direction: column;
      align-items: flex-start;
  }

  .contact-content {
      flex-direction: column;
      gap: 10px;
      
  }

  .contact-socials {
      gap: 10px;
      flex-wrap: wrap;
  }

  .icono-redes {
      height: 40px;
      margin: 0 5px;
      vertical-align: middle;
  }

  .contact-box {
      justify-content: center;
      text-align: center;
      width: 100%;
      font-size: 14px;
      max-width: 310px;
  }

  .sospecho-contactos {
      margin-left: 0;
      padding: 20px;
  }
  .titulo-sospecho{
    font-size: 18px;
    font-weight: 700;
    margin-top: 20px;
    padding-left: 16px;
    padding-right: 16px;
    
  }
  .p-sospecho{
    font-size: 15px;
    padding-left: 16px;
    padding-right: 16px;    
  }
 /* -------------------- NUEVO CARRUSEL MOBILE -------------------- */
 #carouselConsejos {
  margin-top: 20px;
  display: block;
}

.card-container-mobile {
  height: 306px;
  width: 100%;
  padding: 0 16px; /* margen lateral del diseño */
  justify-content: center;
  align-items: center;
}

.consejo-card {
  height: 282px;
  width: 85%;      /* la card ocupa el 85% del ancho del contenedor */
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto; /* centra la card horizontalmente */
}

.contenido-card {
  text-align: left;
}

.icono-img {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
}

.mini-titulo {
  font-size: 16px;
  font-weight: 600;
  color: #014375;
  margin-bottom: 8px;
}

.descripcion {
  font-size: 14px;
  line-height: 1.4;
  color: #333;
}

/* Flechas personalizadas */
.carousel-control-prev-custom,
.carousel-control-next-custom {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  z-index: 10;
}
/* Flecha izquierda (prev) apunta hacia la izquierda */
.carousel-control-prev-custom .flecha-mobile {
  transform: rotate(90deg); /* rota 90° hacia la izquierda */
}

/* Flecha derecha (next) apunta hacia la derecha */
.carousel-control-next-custom .flecha-mobile {
  transform: rotate(-90deg); /* rota 90° hacia la derecha */
}
.carousel-control-prev-custom {
  left: 10px;
}

.carousel-control-next-custom {
  right: 10px;
}

.flecha-mobile {
  width: 32px;
  height: 32px;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.flecha-mobile:hover {
  opacity: 1;
}

  .p-azul {
      font-size: 20px;
  }

  

.comunicacion{
  height: auto !important;
  padding: 24px 0 20px 0; /* arriba 24px, abajo 20px */
}

.p-banner-sospecho {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 15px;
  padding-left: 16px;
  padding-right: 16px; /* respeta el margen lateral mobile */
}
.whatsapp-azul {
  display: flex;               /* activa flexbox */
  align-items: center;         /* centra verticalmente */
  justify-content: center;     /* centra horizontalmente el contenido */
  width: calc(100% - 32px);    /* 100% menos los 16px de cada lado */
  height: 40px;                /* altura fija */
  background-color: #014375;   /* color azul institucional */
  color: white;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  margin: 0 auto;
  gap: 6px;                    /* espacio entre ícono y texto */
}
}