
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: Arial, sans-serif;
  color: #fff;
}

.principal {
  height: 80vh; 
  background: #ffffff;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 40px;
  animation: slideUp 1s ease forwards;
  opacity: 0;
  transform: translateY(50px);
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.info-principal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  max-width: 10000px;
  width: 100%;
}


.logo-container {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.logo-container img {
  max-width: 280px;
  width: 100%;
  height: auto;
  display: block;
}

.contacto {
  flex: 2;

}

.contacto h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.contacto a {
  display: block;
  font-size: 1.5rem;
  color: #0066cc;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.contacto a:hover {
  color: #004a99;
  text-decoration: underline;
}

.mapa-section {
  background-color: #001f4d;
  padding: 60px 20px 80px;
  margin-top: 40px;
  color: #ddd;
  text-align: center;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  box-shadow: inset 0 10px 30px rgba(0,0,0,0.3);
}

.mapa-section h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #f0f0f0;
  font-weight: 600;
  letter-spacing: 1.2px;
}

.mapa-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.mapa-content img {
  width: auto ;
  justify-content: left;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.mapa-content iframe {
  max-width: 100%;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3; /* mantiene proporción al reducir */
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.mapa-info p {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #dfdfdf;
}

.mapa-info a {
  color: #bedcff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.mapa-info a:hover {
  color: #b9e3ff;
  text-decoration: underline;
}

.btn-mapa {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background-color: #0380fd;
  color: #ffffff;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}


.btn-mapa:hover {
  background-color: #0066cc;
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
}


@media (max-width: 768px) {
    .info-principal {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo-container, .contacto {
    width: 100%;
    box-sizing: border-box;
  }
  .logo-container img {
    width: 100%;
    max-width: 280px;
    height: auto; 
  }
  
  .mapa-content {
    flex-direction: column;
    text-align: center;
  }

  .mapa-content img {
    width: 150px;
    margin-bottom: 20px;
  }

  .mapa-info p, .mapa-info a {
    font-size: 1rem;
  }
}
