body {
  background-color: white;
}
*{
  margin: 0;
  padding: 0;
}
.seccion-contacto {
  background: linear-gradient(to right, #f5f7fa, #e4ecf5);
  padding: 60px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.contenedor-contacto {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
  justify-content: space-between;
}

.info-contacto {
  flex: 1;
  min-width: 300px;
}

.info-contacto p {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #333;
}

.botones-llamada {
  display: flex;
  gap: 15px;
  margin: 20px 0;
}

.btn-telefono {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #00a8e8;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 168, 232, 0.3);
  transition: background 0.3s ease;
}

.btn-telefono:hover {
  background: #007bb8;
}

.datos-contacto p {
  margin-bottom: 15px;
  line-height: 1.5;
}

.datos-contacto a {
  color: #007bb8;
  text-decoration: none;
  font-weight: bold;
}

.negrita {
  font-weight: bold;
}

.color-azul {
  color: #007bb8;
}

.formulario-contacto {
  flex: 1;
  min-width: 300px;
  background: #ffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.formulario-contacto img {
  display: block;
  width: 100%;
  height: auto;
}

.formulario-contacto p {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 1rem;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.formulario-contacto:hover p {
  opacity: 1;
  transform: translateY(0%);
}

@media (max-width: 992px) {
  .contenedor-contacto {
    flex-direction: column;
    gap: 50px;
  }

  .formulario-contacto,
  .info-contacto {
    padding: 20px;
  }

  .formulario-contacto h3 {
    font-size: 1.1rem;
  }
}

.mapa-ubicacion {
  margin-top: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mapa-ubicacion iframe {
  width: 100%;
  height: 300px;
  border: none;
}

.oficina-info {
  text-align: center;
  font-size: 1rem;
  color: #001f66;
  margin-top: 40px;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.info-contacto p,
.datos-contacto p {
  color: #333;
  font-size: 1rem;
}

.info-contacto p strong {
  color: #001f66;
}

.btn-telefono i {
  font-size: 1.2rem;
}

.mapa-ubicacion {
  width: 100%;
  padding: 0;
  margin: 0;
}

.mapa-ubicacion iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
}

ul#loadingbar {
  position: absolute;
  top: 10%;
  left: 40%;
  width: 100%;
  height: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  transform: rotate(180deg);
}

ul#loadingbar li {
  width: 10%;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 10px 0;
  animation: loader 5s linear infinite;
}

ul#loadingbar li:nth-child(1) { animation-delay: 0.3s; }
ul#loadingbar li:nth-child(2) { animation-delay: 0.5s; }
ul#loadingbar li:nth-child(3) { animation-delay: 0.8s; }
ul#loadingbar li:nth-child(4) { animation-delay: 0.2s; }
ul#loadingbar li:nth-child(5) { animation-delay: 0.9s; }
ul#loadingbar li:nth-child(6) { animation-delay: 0.1s; }
ul#loadingbar li:nth-child(7) { animation-delay: 0.8s; }
ul#loadingbar li:nth-child(8) { animation-delay: 0.4s; }
ul#loadingbar li:nth-child(9) { animation-delay: 0.3s; }
ul#loadingbar li:nth-child(10) { animation-delay: 0.5s; }
ul#loadingbar li:nth-child(11) { animation-delay: 0.8s; }
ul#loadingbar li:nth-child(12) { animation-delay: 0.2s; }
ul#loadingbar li:nth-child(13) { animation-delay: 0.9s; }
ul#loadingbar li:nth-child(14) { animation-delay: 0.1s; }
ul#loadingbar li:nth-child(15) { animation-delay: 0.8s; }
ul#loadingbar li:nth-child(16) { animation-delay: 0.4s; }
ul#loadingbar li:nth-child(17) { animation-delay: 0.3s; }
ul#loadingbar li:nth-child(18) { animation-delay: 0.5s; }
ul#loadingbar li:nth-child(19) { animation-delay: 0.8s; }
ul#loadingbar li:nth-child(20) { animation-delay: 0.2s; }
ul#loadingbar li:nth-child(21) { animation-delay: 0.9s; }
ul#loadingbar li:nth-child(22) { animation-delay: 0.1s; }


@keyframes loader {
  0%   { width: 10%; }
  30%  { width: 70%; }
  50%  { width: 30%; }
  65%  { width: 90%; }
  85%  {
    width: 100%;
    background-color: rgba(0, 191, 255, 0.4);
  }
  100% { width: 5%; }
}

.contenedor-contacto {
  position: relative;
  z-index: 1;
}

@media (max-width: 992px) {
  ul#loadingbar{
    top: -20%;
    left: 90%;
    width: 10%;
  }
}