
.contenedor-imagen {
  display: flex;
  justify-content: center;   /* centra horizontalmente */
  align-items: center;       /* centra verticalmente si hay altura */
  width: 100%;
}

.contenedor-imagen img {
  max-width: 100%;  /* se adapta al dispositivo */
  height: auto;     /* mantiene proporción */
}

/* =========================
   IMAGEN RESPONSIVE
========================= */

.img-emergencia{
    display:block;

    width:30%;
    max-width:500px;

    height:auto;

    object-fit:contain;

    margin:0 auto;

    border-radius:12px;
}

/* Previene overflow en grid/flex */
.brand-section,
.contact-section,
.emergency-section,
.info-box{
    min-width:0;
}

/* Tablet */
@media(max-width:992px){

    .img-emergencia{
        max-width:420px;
    }

}

/* Mobile */
@media(max-width:768px){

    .img-emergencia{
        width:100%;
        max-width:100%;
    }

}

/* Pantallas muy pequeñas */
@media(max-width:480px){

    .img-emergencia{
        border-radius:8px;
    }

}