/* RESET Y FUENTE BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  background: #f9f9f9;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* HEADER */
header {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 2em;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .logo {
  font-weight: bold;
  font-size: 1.3em;
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 1em;
}

nav a {
  text-decoration: none;
  color: #333;
}

/* HERO */
.hero {
  background: linear-gradient(to right, #00aaff, #00cc88);
  color: white;
  text-align: center;
  padding: 4em 2em;
}

.hero h1 {
  font-size: 2em;
  margin-bottom: 0.5em;
}

.hero h2 {
  font-size: 1.2em;
  margin-bottom: 1.5em;
}

button {
  padding: 1em 2em;
  font-size: 1em;
  background: #ff8800;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #e57100;
}

/* SECCIONES GENERALES */
section {
  padding: 4em 2em;
  max-width: 1200px;
  margin: auto;
}

h2 {
  text-align: center;
  margin-bottom: 2em;
}

/* BENEFICIOS */
.benefit-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: center;
}

.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  padding: 1em;
  text-align: center;
  width: 220px;
}

.card span {
  font-size: 2em;
  display: block;
  margin-bottom: 0.5em;
}

/* CÓMO FUNCIONA */
.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: center;
}

.step {
  width: 250px;
  text-align: center;
}

/* PRECIOS */
.price-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
}

.price-card {
  background: #fff;
  padding: 1em;
  width: 200px;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.1);
  text-align: center;
}

.extra-services {
  text-align: center;
  margin: 1em 0;
}

/* FAQ */
.accordion {
  max-width: 700px;
  margin: auto;
}

.accordion-item {
  margin-bottom: 12px;
}

.accordion-header {
  background-color: #0a3d62; /* Azul oscuro con buena presencia */
  color: #ffffff; /* Texto blanco */
  padding: 14px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.accordion-header:hover {
  background-color: #1e6091; /* Azul más claro en hover */
  transform: translateY(-2px);
}

.accordion-header.active {
  background-color: #0077b6; /* Azul brillante cuando está activo */
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.accordion-body {
  background: #f5f5f5;
  padding: 1em;
  display: none;
}

/* FOOTER */
footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 2em 1em;
}

.footer-links,
.socials {
  margin-top: 1em;
}

.footer-links a,
.socials a {
  color: #ccc;
  margin: 0 0.5em;
  text-decoration: none;
}

/* MODAL */
.modal {
  position: fixed;
  display: none;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal-content {
  background: white;
  padding: 2em;
  border-radius: 8px;
  text-align: center;
  max-width: 90%;
  width: 400px;
  position: relative;
}

.closeBtn {
  position: absolute;
  right: 1em;
  top: 1em;
  cursor: pointer;
  font-size: 1.5em;
}

#priceInfo {
  margin: 1em 0;
}

#whatsappBtn {
  display: inline-block;
  background: #25D366;
  color: white;
  padding: 0.75em 1.5em;
  border-radius: 5px;
  text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .benefit-cards, .steps, .price-cards {
    flex-direction: column;
    align-items: center;
  }

  header nav ul {
    flex-direction: column;
    background: #fff;
    position: absolute;
    right: 2em;
    top: 60px;
    display: none;
  }
}

/* Logo combinado (imagen + texto) */
.logo {
  display: flex;
  align-items: center;
  gap: 10px; /* Espacio entre logo e icono+texto */
  font-weight: bold;
  font-size: 1.2rem;
}

.logo img {
  max-height: 50px;
  width: auto;
}

/* Sección de cobertura */
.coverage {
  text-align: center;
  padding: 60px 20px;
  background: #f8f9fa;
}

.coverage h2 {
  color: #222;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.coverage p {
  color: #555;
  margin: 5px 0;
}

/* Checkbox cobertura */
.coverage-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  font-size: 0.9rem;
  color: #333;
}

.warning {
  color: #d9534f;
  font-size: 0.85rem;
  margin-top: 8px;
}

#whatsappBtn.disabled {
  pointer-events: none;
  background: #ccc;
  cursor: not-allowed;
}


/* Centrar el botón de Membresía */
#ctaMembership {
  display: block;
  margin: 30px auto 0 auto; /* centra horizontalmente */
  background-color: #007BFF; /* color principal (ajusta si usas otro) */
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

#ctaMembership:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}




#EFECTOFONDO
body {
  background: linear-gradient(270deg, #0077b6, #0096c7, #00b4d8, #48cae4);
  background-size: 800% 800%;
  animation: waves 12s ease infinite;
}

@keyframes waves {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}