/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body, html {
  width: 100%;
  height: 100%;
  font-family: 'Helvetica Neue', sans-serif;
  background-color: #fff;
  overflow-x: hidden;
}
body {
  position: relative;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #000;
}
.logo img {
  height: 40px;
}
nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}
nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}
.menu-toggle {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* MENSAJE CENTRAL */
main {
  position: relative;
  z-index: 1;
}
.mensaje-central {
  text-align: center;
  padding: 100px 20px 60px;
}
.mensaje-central h1 {
  font-size: 44px;
  color: #000;
}
.mensaje-central p {
  font-size: 20px;
  color: #444;
  margin-top: 20px;
}

/* PALABRAS FLOTANTES */
.palabras-flotantes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.palabras-flotantes span {
  position: absolute;
  font-size: 16px;
  opacity: 0.3;
  filter: blur(1px);
  animation: flotar 20s infinite;
  color: #999;
}
.palabras-flotantes span:nth-child(odd) {
  color: #df0f0f;
}
@keyframes flotar {
  0% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-20px) translateX(10px);
  }
  100% {
    transform: translateY(0) translateX(0);
  }
}

/* Posiciones fijas (puedes duplicar o variar) */
.palabras-flotantes span:nth-child(1) { top: 10%; left: 15%; }
.palabras-flotantes span:nth-child(2) { top: 20%; left: 70%; }
.palabras-flotantes span:nth-child(3) { top: 30%; left: 25%; }
.palabras-flotantes span:nth-child(4) { top: 40%; left: 80%; }
.palabras-flotantes span:nth-child(5) { top: 50%; left: 10%; }
.palabras-flotantes span:nth-child(6) { top: 60%; left: 65%; }
.palabras-flotantes span:nth-child(7) { top: 70%; left: 20%; }
.palabras-flotantes span:nth-child(8) { top: 80%; left: 75%; }
.palabras-flotantes span:nth-child(9) { top: 90%; left: 35%; }
.palabras-flotantes span:nth-child(10) { top: 15%; left: 85%; }
.palabras-flotantes span:nth-child(11) { top: 25%; left: 5%; }
.palabras-flotantes span:nth-child(12) { top: 35%; left: 50%; }
.palabras-flotantes span:nth-child(13) { top: 45%; left: 30%; }
.palabras-flotantes span:nth-child(14) { top: 55%; left: 60%; }
.palabras-flotantes span:nth-child(15) { top: 65%; left: 40%; }
.palabras-flotantes span:nth-child(16) { top: 75%; left: 90%; }
.palabras-flotantes span:nth-child(17) { top: 85%; left: 55%; }
.palabras-flotantes span:nth-child(18) { top: 20%; left: 35%; }
.palabras-flotantes span:nth-child(19) { top: 30%; left: 90%; }
.palabras-flotantes span:nth-child(20) { top: 60%; left: 15%; }
.palabras-flotantes span:nth-child(21) { top: 10%; left: 40%; }
.palabras-flotantes span:nth-child(22) { top: 85%; left: 25%; }
.palabras-flotantes span:nth-child(21) { top: 10%; left: 40%; }
.palabras-flotantes span:nth-child(22) { top: 85%; left: 25%; }
.palabras-flotantes span:nth-child(21) { top: 10%; left: 40%; }
.palabras-flotantes span:nth-child(22) { top: 85%; left: 25%; }
.palabras-flotantes span:nth-child(21) { top: 10%; left: 40%; }
.palabras-flotantes span:nth-child(22) { top: 85%; left: 25%; }
.palabras-flotantes span:nth-child(21) { top: 10%; left: 40%; }
.palabras-flotantes span:nth-child(22) { top: 85%; left: 25%; }


/* SECCIÓN SEGMENTOS CON IMÁGENES */
.segmentos {
  padding: 80px 20px;
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.segmento {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.segmento img {
  width: 300px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.segmento .contenido {
  flex: 1;
  min-width: 280px;
  max-width: 600px;
}
.segmento h2 {
  font-size: 28px;
  color: #000;
  margin-bottom: 10px;
}
.segmento p {
  color: #444;
  font-size: 16px;
  margin-bottom: 15px;
}
.btn-segmento {
  display: inline-block;
  background-color: #000;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  transition: background 0.3s ease;
}
.btn-segmento:hover {
  background-color: #333;
}

/* FOOTER */
footer {
  background: #111;
  color: white;
  text-align: center;
  padding: 40px 20px;
  margin-top: 100px;
}
footer .social a,
footer .legal a {
  color: #aaa;
  margin: 0 10px;
  text-decoration: none;
  display: inline-block;
}
footer .social a:hover,
footer .legal a:hover {
  color: white;
}
footer p {
  margin-top: 20px;
  font-size: 14px;
  color: #555;
}

/* WHATSAPP BUTTON */

/* WHATSAPP BUTTON */
.whatsapp-button {
  position: fixed;
  bottom: 0px;      /* ⬅️ Más abajo que 20px */
  right: 10px;        /* ⬅️ En la esquina inferior izquierda */
  z-index: 1000;
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

/* Imagen del botón */
.whatsapp-button img {
  width: 140px;      /* Puedes ajustar el tamaño */
  height: auto;
  transition: transform 0.3s ease;
  cursor: pointer;
}

/* Efecto hover */
.whatsapp-button img:hover {
  transform: scale(1.1);
}

/* POPUPS */
.popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-color: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.popup-contenido {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}
.popup-contenido h2 {
  color: #000;
  margin-bottom: 10px;
}
.popup-contenido p, .popup-contenido ul {
  color: #333;
  font-size: 15px;
}
.cerrar {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
}

/* RESPONSIVE MENU */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: #111;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 20px;
    border-radius: 8px;
  }
  nav ul.show {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
}
.modal-bienvenida {
  display: flex;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.modal-contenido {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: fadeIn 0.5s ease;
}

.modal-contenido h2 {
  color: #000;
  margin-bottom: 10px;
}

.modal-contenido p {
  color: #333;
  margin-bottom: 20px;
  font-size: 16px;
}

.modal-contenido button {
  background-color: #25d366;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.modal-contenido button:hover {
  background-color: #1ebe57;
}

.cerrar-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
}

.cerrar-modal:hover {
  color: #000;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
.modal-bienvenida {
  display: flex;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

.modal-contenido {
  position: relative;
  background: none;
  padding: 0;
  border-radius: 12px;
  max-width: 90%;
  width: 500px;
  animation: fadeIn 0.4s ease;
}

.img-bienvenida {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.cerrar-modal {
  position: absolute;
  top: -10px;
  right: -10px;
  background: white;
  color: #333;
  border-radius: 50%;
  font-size: 20px;
  padding: 5px 10px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  z-index: 10001;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

