/* Variables de colores */
:root {
  --primary-bg: #2575fc;
  --secondary-bg: #6a11cb;
  --accent: #25D366;
  --text-color: #fff;
  --menu-bg: #0a07c7;
}

/* Reset general */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  font-family: 'Poppins', sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(135deg, var(--primary-bg), var(--secondary-bg));
  color: var(--text-color);
  text-align: center;
  overflow-x: hidden;
  position: relative;
}

/* Contenedor principal */
.container {
  padding: 1rem;
  max-width: 700px;
  z-index: 10;
}

/* Título animado */
h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  animation: pulse 2s infinite, float 3s ease-in-out infinite;
}

/* Párrafo */
p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* Loader circular */
.loader {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255,255,255,0.3);
  border-top: 5px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

/* Botón WhatsApp */
.whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent);
  color: var(--text-color);
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 16px;
  border-radius: 25px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 15px 0;
}

.whatsapp-button img {
  width: 20px;
  height: 20px;
  filter: invert(1);
}

.whatsapp-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0,0,0,0.35);
}

/* Redes sociales */
.social {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social a {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social a img {
  width: 24px;
  height: 24px;
  filter: invert(1);
}

.social a:hover img {
  transform: scale(1.2);
  filter: invert(0.8) sepia(1) saturate(5) hue-rotate(45deg);
}

/* Footer */
footer {
  position: absolute;
  bottom: 10px;
  font-size: 0.9rem;
  opacity: 0.8;
  width: 100%;
  text-align: center;
}

/* Animaciones */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Menú móvil */
.contacto_movil {
  display: none;
  width: 100%;
  height: 54px;
  background: linear-gradient(135deg, var(--primary-bg), var(--secondary-bg));
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 -1px 9px rgba(0,0,0,.21);
}

.menu_movil {
  display: flex;
  height: 100%;
  justify-content: space-around;
  align-items: center;
}

.menu_movil a {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 10px;
  color: #fff;
  text-decoration: none;
}

.menu_movil a img {
  width: 22px;
  margin-bottom: 3px;
  transition: transform 0.3s ease;
}

.menu_movil a:hover img {
  transform: scale(1.2);
}

.wsp_movil {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex;
  justify-content: center;
  align-items: center;
}

.wsp_movil img {
  width: 28px;
  height: 28px;
}

/* Responsivo */
@media (max-width: 768px) {
  .contacto_movil { display: block; }
  h1 { font-size: 2.2rem; }
  p { font-size: 1rem; }
  .loader { width: 40px; height: 40px; border-width: 4px; }
}
