/* ==== Reset básico ==== */
body, h1, h2, p, ul {
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background: #0f1115;
  color: #fff;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* ==== Fondo animado (particles.js) ==== */
#particles-js {
  position: fixed;
  top: 0;
  width: 100%;
  height: 50%;
  z-index: -1;
}

/* ==== Logo ==== */
.logo {
  max-width: 380px;
  height: auto;
  margin-bottom: 40px;
}




/* ==== Encabezado principal y secciones ==== */
.section {
  padding: 60px 20px;
  text-align: center;
}
.subtext {
  color: #ccc;
  margin-top: 10px;
  margin-bottom: 30px;
}

/* ==== Precio ==== */
.price {
  color: #fff;
  font-size: 1.5em;
  margin: 10px 0;
  display: block;
  font-weight: bold;
}

/* ==== Beneficios ==== */
.benefits {
  margin: 15px 0;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.benefits li {
  position: relative;
  padding-left: 25px;
  margin: 10px 0;
  color: #ccc;
}
.benefits li::before {
  content: "✔️";
  position: absolute;
  left: 0;
}

/* ==== Botones ==== */
.btn {
  background: #00c6ff;
  color: #000;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  display: inline-block;
  margin-top: 15px;
  transition: background 0.3s ease;
}
.btn:hover {
  background: #00aaff;
}
.btn-mail {
  background: #00c6ff;
  color: #000;
  border: 2px solid #000;
}
.btn-mail:hover {
  background: #0099cc;
}
.btn-whatsapp {
  background: #25d366;
  color: #0e0e0e;
  border: 2px solid #000;
}
.btn-whatsapp:hover {
  background: #1ebe57;
}
.btn-telegram {
  background: #229ED9;
  color: #fff;
  border: 2px solid #000;
}
.btn-telegram:hover {
  background: #1787b7;
}

/* ==== Número de contacto ==== */
.contact-number {
  color: #00c6ff;
  font-size: 1.6em;
  margin: 25px 0;
  text-align: center;
  font-weight: bold;
  text-shadow: 0 0 5px #0f323b;
}

/* ==== Franja blanca central ==== */
.franja-blanca {
  background: #fff;
  color: #000;
  padding: 60px 20px;
  text-align: center;
  box-shadow: 0 0 20px #ccc;
}
.franja-blanca h1,
.franja-blanca h2,
.franja-blanca p,
.franja-blanca ul,
.franja-blanca .btn {
  color: #000;
}

/* ==== Lista de cobertura ==== */
.coverage-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}
.coverage-list li {
  background: #1f1f1f;
  padding: 10px 20px;
  border-radius: 20px;
  box-shadow: 0 0 10px #00c6ff50;
  transition: transform 0.3s;
}
.coverage-list li:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px #00c6ff90;
}

/* ==== Info Boxes ==== */
.info-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 30px 0;
}
.info-box {
  background: #1f1f1f;
  border-radius: 15px;
  padding: 20px;
  width: 280px;
  box-shadow: 0 0 15px #00c6ff30;
}
.info-box h3 {
  color: #00c6ff;
  margin-bottom: 10px;
}
.info-box p {
  color: #ccc;
}

/* ==== Beneficios Box ==== */
.benefits-box {
  background: #1a1a2e;
  border-left: 5px solid #00c6ff;
  border-radius: 10px;
  padding: 20px;
  margin: 30px auto;
  max-width: 600px;
  text-align: left;
}
.benefits-box h3 {
  color: #00c6ff;
  margin-bottom: 10px;
}
.benefits-box ul {
  padding-left: 20px;
}
.benefits-box li {
  color: #ccc;
  margin-bottom: 10px;
}

/* ==== Formulario de contacto ==== */
form {
  max-width: 500px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
form input,
form textarea {
  padding: 12px;
  border: none;
  border-radius: 8px;
  width: 100%;
}
form button {
  background: #00c6ff;
  color: #000;
  padding: 12px;
  border-radius: 30px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}
form button:hover {
  background: #00aaff;
}

/* ==== Sección de pago ==== */
.payment-section {
  margin-top: 40px;
}
.payment-section h2 {
  margin-bottom: 10px;
}

/* ==== Redes sociales ==== */


/* ==== WhatsApp flotante ==== */
.wa-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 99;
}
.wa-float img {
  width: 55px;
  border-radius: 50%;
  box-shadow: 0 0 10px #00c6ff70;
  transition: transform 0.3s;
}
.wa-float img:hover {
  transform: scale(1.1);
}

/* ==== Footer ==== */
footer {
  background: #000;
  padding: 20px;
  text-align: center;
  font-size: 0.9em;
  color: #888;
}

/* ==== Animaciones suaves ==== */
.section,
.franja-blanca,
footer {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}
.section.visible,
.franja-blanca.visible,
footer.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==== Responsive ==== */
@media (max-width: 768px) {
  .plans,
  .info-boxes {
    flex-direction: column;
  }
  .logo {
    max-width: 200px;
  }
}
/* ==== Planes Encapsulados ==== */
.plans-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 40px auto;
  max-width: 1000px;
}
.plan-card {
  background: #1a1a2e;
  padding: 30px;
  border-radius: 20px;
  width: 320px;
  box-shadow: 0 0 25px rgba(0, 198, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.plan-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 35px rgba(0, 198, 255, 0.5);
}
.plan-card h2 {
  color: #00c6ff;
  margin-bottom: 15px;
}
.plan-card .price {
  color: #fff;
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
}
.plan-card .benefits {
  text-align: left;
  margin-bottom: 20px;
}
.plan-card .btn {
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .plans-container {
    flex-direction: column;
    align-items: center;
  }
}
/* ==== Quiénes Somos Box ==== */
.quienes-somos-box {
  background: #ffffff;
  color: #000000;
  padding: 40px 30px;
  border-radius: 20px;
  max-width: 800px;
  margin: auto;
  box-shadow: 0 0 25px rgba(0, 198, 255, 0.2);
  text-align: center;
}
.quienes-somos-box h2 {
  color: #00c6ff;
  margin-bottom: 20px;
}
.quienes-somos-box p {
  font-size: 1.1em;
  line-height: 1.8;
}
.quienes-somos-box strong {
  color: #00aaff;
}
/* ==== Cuadro de Pago ==== */
.pago-box {
  background: #1a1a2e;
  border: 2px solid #00c6ff;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  max-width: 600px;
  margin: 40px auto;
  box-shadow: 0 0 20px rgba(0, 198, 255, 0.2);
}
.pago-box h2 {
  color: #00c6ff;
  margin-bottom: 15px;
  
}
.pago-box p {
  color: #ccc;
  font-size: 1.1em;
  margin-bottom: 25px;
}
.pago-botones {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}
.btn.btn-whatsapp {
  background: #25d366;
  color: #0e0e0e;
}
.btn.btn-whatsapp:hover {
  background: #1ebe57;
}
@media (max-width: 600px) {
  .logo {
    max-width: 120px;
  }
}
.mapa-container {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
#opciones-whatsapp a,
#opciones-admin a {
  color: #00c6ff;
  font-weight: bold;
}
.header-fixed {
  position: sticky;
  top: 0;
  background: #0f1115;
  z-index: 1000;
  padding-top: 15px;
  border-bottom: 1px solid #00c6ff30;
}

/* ==== Modales Mejorados ==== */
.modal {
  display: none;
  position: fixed;
  z-index: 99999 !important;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.92);
  justify-content: center;
  align-items: center;
  overflow-y: auto;
}
.modal.show {
  display: flex !important;
}
.modal-content {
  background: #fff;
  color: #222;
  padding: 32px 24px 20px 24px;
  border-radius: 16px;
  max-width: 400px;
  width: 95vw;
  box-shadow: 0 0 40px #00c6ffb0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 100000;
  margin: 40px auto;
}
.modal-content h3 {
  color: #00c6ff;
  margin-bottom: 16px;
  text-align: center;
}
.modal-content label {
  color: #222;
  font-weight: 500;
  margin-bottom: 2px;
  text-align: left;
}
.modal-content input,
.modal-content textarea {
  margin-bottom: 10px;
  border: 1px solid #ccc;
  color: #222;
  width: 100%;
  box-sizing: border-box;
  border-radius: 8px;
  padding: 10px;
}
.modal-content button {
  width: 100%;
  margin-top: 10px;
  background: #00c6ff;
  color: #000;
  border-radius: 30px;
  font-weight: bold;
  border: none;
  padding: 12px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.modal-content button:hover {
  background: #00aaff;
}
.close {
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 2em;
  color: #00c6ff;
  cursor: pointer;
  font-weight: bold;
}
@media (max-width: 600px) {
  .modal-content {
    padding: 12px 2vw 10px 2vw;
    max-width: 99vw;
  }
}
body.modal-open {
  overflow: hidden !important;
  height: 100vh;
}
.contacto-botones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

/* Cuando el modal está abierto, baja el z-index de los botones para que no se superpongan */
body.modal-open .contacto-botones {
  z-index: 0 !important;
}
