body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  text-align: center;
  overflow-x: hidden;
  background: linear-gradient(-45deg, #001f3f, #003366, #0066cc, #0099ff);
  background-size: 400% 400%;
  animation: gradientBG 12s ease infinite;
}

/* Fondo animado */
@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Partículas premium */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 2px, transparent 3px) repeat;
  background-size: 100px 100px;
  animation: moveParticles 20s linear infinite;
  z-index: 0;
}
@keyframes moveParticles {
  from { background-position: 0 0; }
  to { background-position: 100px 100px; }
}

/* Encabezado con imagen */
header {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
header img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  filter: brightness(0.55);
  animation: fadeIn 2s ease-in-out;
}
header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(0,0,50,0.3), rgba(0,0,50,0.7));
}
header .overlay h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: float 3s ease-in-out infinite;
}
header .overlay p {
  font-size: 1.3rem;
  margin-top: 10px;
  color: #cce7ff;
  animation: fadeIn 3s ease-in-out;
}

/* Animaciones */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes slideUp {
  from {opacity: 0; transform: translateY(50px);}
  to {opacity: 1; transform: translateY(0);}
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Sección contacto */
section {
  padding: 50px 20px;
  animation: slideUp 1.5s ease-out;
  position: relative;
  z-index: 1;
}
h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contacto {
  margin: 20px auto;
  font-size: 1.1rem;
  line-height: 1.8;
  padding: 25px;
  border-radius: 20px;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  box-shadow: 0px 8px 25px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}
.contacto:hover {
  transform: translateY(-5px);
}
.contacto a {
  color: #66ccff;
  text-decoration: none;
  font-weight: bold;
}
.contacto a:hover {
  text-decoration: underline;
}

/* Google Maps */
iframe {
  width: 100%;
  max-width: 800px;
  height: 350px;
  border: none;
  border-radius: 20px;
  margin-top: 25px;
  box-shadow: 0px 6px 20px rgba(0,0,0,0.3);
}

/* Botón WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 65px;
  height: 65px;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 2px 2px 12px rgba(0,0,0,0.3);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 1.5s infinite;
}
.whatsapp-float:hover {
  background-color: #1ebe5c;
  transform: scale(1.1);
  transition: 0.3s;
}
.whatsapp-float svg {
  width: 38px;
  height: 38px;
  fill: white;
}

/* Responsivo */
@media (max-width: 768px) {
  header .overlay h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.6rem;
  }
  .contacto {
    font-size: 1rem;
    padding: 20px;
  }
}
