/* === Estilos generales === */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #2B3A70;
  color: white;
  line-height: 1.6;
  scroll-behavior: smooth;
}

h1, h2, h3 {
  margin: 0 0 10px 0;
}

p {
  margin: 5px 0 15px 0;
}

/* === Header === */
.site-header {
  background-color: #2B3A70;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 12px 5%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-header .logo {
  height: 90px;
  width: auto;
  align-items: center;
}

.nav a {
  color: white;
  text-decoration: none;
  margin-left: 44px;
  font-weight: 500;
}

.nav a:hover {
  color: #ffcc00;
}

/* === Hero principal === */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 120px 10% 80px; /* compensar header fijo */
  background-color: #2B3A70;
  min-height: 100vh;
  gap: 40px;
}

.hero-content {
  flex: 1 1 45%;
  max-width: 500px;
}

.hero-content h1 {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.3;
}

.hero-content p {
  font-size: 1.1rem;
  color: #e3e3e3;
  margin-bottom: 25px;
}

/* === Video === */
.hero-video {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-video video {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(0,0,0,0.4);
}

/* === Botones === */
.btn-main, .btn-whatsapp {
  display: inline-block;
  text-decoration: none;
  margin-top: 15px;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-main {
  background-color: #002f6c;
  color: white;
}

.btn-whatsapp {
  background-color: #25D366;
  color: white;
}

.btn-main:hover, .btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* === Beneficios principales === */
.benefits {
  background-color: white;
  color: #2B3A70;
  text-align: center;
  padding: 80px 10%;
}

.benefit-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: #f5f7ff;
  border-radius: 20px;
  padding: 20px;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  max-height: 180px;
  border-radius: 15px;
  margin-bottom: 15px;
}

/* === Cómo funciona === */
.how-it-works {
  background-color: white;
  color: #2B3A70;
  text-align: center;
  padding: 80px 10%;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.step {
  background: #f5f7ff;
  border-radius: 20px;
  padding: 20px;
  max-width: 300px;
  text-align: center;
}

.step img {
  width: 100%;
  max-height: 180px;
  border-radius: 15px;
  margin-bottom: 10px;
}

.how-final {
  margin-top: 40px;
  font-weight: 600;
  font-size: 1.2rem;
}

/* === Planes de servicio === */
.plans {
  background-color: white;
  color: #2B3A70;
  text-align: center;
  padding: 80px 10%;
}

.plan-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.plan {
  background: white;
  border-radius: 20px;
  padding: 25px;
  max-width: 300px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}

.plan:hover {
  transform: translateY(-5px);
}

.plans-note {
  margin-top: 40px;
  font-style: italic;
}

/* === Cierre inspiracional === */
.closing {
  background-color: #2B3A70;
  color: white;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 10%;
}

.closing .btn-whatsapp {
  margin-top: 20px;
}

.contact {
  margin-top: 40px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.social-icons img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  transition: transform 0.3s;
}

.social-icons img:hover {
  transform: scale(1.1);
}

/* === Footer === */
footer {
  background-color: #2B3A70;
  text-align: center;
  color: white;
  padding: 40px 10%;
}

.footer-logo {
  width: 100px;
  margin-bottom: 10px;
  animation: smile 3s ease-in-out infinite alternate;
}

.footer-links a {
  color: #ffcc00;
  text-decoration: none;
  margin: 0 5px;
}

.footer-links a:hover {
  text-decoration: underline;
}

@keyframes smile {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(3deg); }
}

/* === Responsividad === */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 140px;
  }

  .hero-content, .hero-video {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .benefit-cards, .steps, .plan-cards {
    flex-direction: column;
    align-items: center;
  }

  .footer-logo {
    width: 80px;
  }

  .site-header .logo {
    height: 45px;
  }

  .nav a {
    margin-left: 12px;
    font-size: 0.9rem;
  }
}
/* === Menú hamburguesa === */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* Versión móvil */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: absolute;
    right: 25px;
    top: 25px;
    z-index: 1100;
  }

  .nav {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 60%;
    height: 100vh;
    background-color: #2B3A70;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 50px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 12px rgba(0,0,0,0.2);
  }

  .nav a {
    margin: 20px 0;
    font-size: 1.2rem;
  }

  .nav.active {
    right: 0;
  }

.menu-toggle::before {
  content: "☰";
}

.menu-toggle.active::before {
  content: "✖";
}
  }

  /* Oculta el texto interno si lo hubiera */
  .menu-toggle span {
    display: none;
  }
}
/* === Menú hamburguesa === */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* Fondo oscuro (overlay) cuando el menú está activo */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 900;
}

/* Versión móvil */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: absolute;
    right: 25px;
    top: 25px;
    z-index: 1100;
  }

  .nav {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 65%;
    height: 100vh;
    background-color: #2B3A70;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 60px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 12px rgba(0,0,0,0.2);
  }

  .nav a {
    margin: 25px 0;
    font-size: 1.2rem;
  }

  .nav.active {
    right: 0;
  }

  /* Cambia el ícono entre ☰ y ✖ */
  .menu-toggle::before {
    content: "☰";
  }

  .menu-toggle.active::before {
    content: "✖";
  }

  /* Mostrar overlay cuando el menú está activo */
  .overlay.active {
    display: block;
  }
}
background-color: #2B3A70;
body {
  background-color: #2B3A70;
}
/* === CENTRADO PERFECTO DE LA SECCIÓN DE CONTACTO === */
.contact {
  text-align: center;
  background-color: #2B3A70; /* mismo azul del logo */
  padding: 80px 10%;
  color: white;
}

.contact img.footer-logo {
  display: block;
  margin: 0 auto 20px;
  width: 180px;
}

.contact h2 {
  margin-bottom: 15px;
  font-weight: 700;
}

.contact p {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.contact .btn-whatsapp {
  display: inline-block;
  margin: 20px auto 30px;
  text-align: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.contact-info p,
.contact-info a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Íconos de redes sociales centrados */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.social-icons img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.15);
}

/* Adaptación móvil */
@media (max-width: 768px) {
  .contact {
    padding: 60px 5%;
  }
  .contact p {
    font-size: 1rem;
  }
  .contact .btn-whatsapp {
    width: 90%;
    max-width: 320px;
  }
}
/* === BOTÓN WHATSAPP DESTACADO === */
.contact .btn-whatsapp {
  display: inline-block;
  background-color: #25D366;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 16px 40px;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 25px auto;
  text-align: center;
}

.contact .btn-whatsapp:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* En móvil: botón más ancho y legible */
@media (max-width: 768px) {
  .contact .btn-whatsapp {
    width: 90%;
    max-width: 360px;
    padding: 14px 0;
    font-size: 1rem;
  }
}
/* === ESTILO UNIFICADO DE BOTONES WHATSAPP === */
.btn-whatsapp {
  display: inline-block;
  background-color: #25D366;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 16px 40px;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-whatsapp:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* === CENTRADO DEL BOTÓN EN SECCIONES === */
.hero .btn-whatsapp,
.contact .btn-whatsapp,
.plans .btn-whatsapp {
  display: block;
  margin: 25px auto;
}

/* === RESPONSIVO === */
@media (max-width: 768px) {
  .btn-whatsapp {
    width: 90%;
    max-width: 360px;
    padding: 14px 0;
    font-size: 1rem;
  }
}
/* === ESTILO UNIFICADO DE BOTONES === */
.btn-main,
.btn-whatsapp {
  display: inline-block;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Botón azul principal */
.btn-main {
  background-color: #2B3A70;
  color: white;
}

.btn-main:hover {
  background-color: #384a8a;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(43, 58, 112, 0.4);
}

/* Botón verde de WhatsApp */
.btn-whatsapp {
  background-color: #25D366;
  color: white;
}

.btn-whatsapp:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* === ESPACIADO ENTRE BOTONES === */
.btn-main + .btn-whatsapp {
  margin-left: 15px;
}

/* === CENTRADO EN SECCIONES === */
.hero .btn-main,
.hero .btn-whatsapp,
.contact .btn-whatsapp,
.plans .btn-whatsapp {
  display: inline-block;
  margin: 25px auto;
}

/* === RESPONSIVO === */
@media (max-width: 768px) {
  .btn-main,
  .btn-whatsapp {
    width: 90%;
    max-width: 360px;
    padding: 14px 0;
    font-size: 1rem;
  }

  /* Botones uno debajo del otro en móvil */
  .btn-main + .btn-whatsapp {
    margin-left: 0;
    margin-top: 15px;
    display: block;
  }
}
/* === CENTRADO DEL HERO PRINCIPAL === */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 10% 80px;
  background-color: #2E3C77;
  min-height: 100vh;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero h1, .hero p {
  max-width: 800px;
  margin: 10px auto;
}
.hero img.footer-logo {
  width: 220px; /* puedes ajustar este tamaño */
  margin-bottom: 25px;
}
.site-header .logo {
  height: 100px;
}
.hero .btn-main,
.hero .btn-whatsapp {
  display: inline-block;
  margin: 20px auto;
  text-align: center;
}
/* === MENÚ HAMBURGUESA RESPONSIVO MEJORADO === */

/* Botón hamburguesa */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 1101;
}

/* Fondo oscuro al abrir el menú */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 900;
}

/* === Versión móvil === */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
    position: absolute;
    right: 25px;
    top: 25px;
  }

  /* Menú lateral */
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: #2B3A70;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: right 0.4s ease;
    box-shadow: -4px 0 12px rgba(0,0,0,0.2);
    z-index: 1000;
  }

  .nav a {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 500;
    transition: color 0.3s;
  }

  .nav a:hover {
    color: #ffcc00;
  }

  /* Mostrar menú activo */
  .nav.active {
    right: 0;
  }

  /* Fondo oscuro activo */
  .overlay.active {
    display: block;
  }

  /* Ícono hamburguesa y "X" */
  .menu-toggle::before {
    content: "☰";
  }

  .menu-toggle.active::before {
    content: "✖";
  }

  /* Evita scroll del fondo al abrir menú */
  body.menu-open {
    overflow: hidden;
  }
}

