HTML, body {
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: black;
}

.contenedor-pagina {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  background-color: #232020;
  color: white;
}

main {
  flex: 1;
  padding: 20px;
  min-height: auto;
}

footer {
  background: #ff914d;
  color: black;
  font-weight: bold;
  text-align: center;
  padding: 10px;
}


nav {
  background: #ff914d;
  padding: 10px;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: space-around;
}

nav a {
  color: black;
  text-decoration: none;
  font-weight: bold;
}

h2 {
  color: white;
}

.info-general, .mision-vision {
  margin-bottom: 20px;
  text-align: justify;
  font-size: 15px;
}


.sucursales {
  background-color: #3a3535;
  border: 2px solid #3a3535;
  text-align: center;
  border-radius: 10px;
  margin-top: 10vh;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 10px;
}

.sucursales img {
  max-width: 15%;
  height: auto;
  padding: 8px;
}

.rotador {
  width: 200px;
  height: 200px;
  overflow: hidden;
  position: relative;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rotador img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  position: absolute;
  opacity: 0;
  animation: cambio 6s infinite;
}

.rotador img:nth-child(1) { animation-delay: 0s; }
.rotador img:nth-child(2) { animation-delay: 3s; }

@keyframes cambio {
  0% { opacity: 0; }
  10% { opacity: 1; }
  45% { opacity: 1; }
  55% { opacity: 0; }
  100% { opacity: 0; }
}

.info-con-imagen {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  margin-top: 5vh;
}

.textos-info {
  flex: 2;
  min-width: 300px;
}

.imagenes-negocio {
  flex: 1;
  text-align: center;
  margin-top: 2vh;
}

.imagenes-negocio img {
  width: 100%;
  max-width: 200px;
  height: auto;
}

.social-icons {
  margin-bottom: 10px;
}

.icon {
  display: inline-block;
  margin: 0 10px;
  font-size: 24px;
  color: black;
  transition: transform 0.3s, color 0.3s;
}

.icon:hover {
  transform: scale(1.1);
}

.x:hover {
  color: #1DA1F2;
}

.facebook:hover {
  color: #1877F2;
}

.youtube:hover {
  color: #FF0000;
}


