/* === Estilos base === */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background: #f4f4f4;
  color: #333;
  margin: 0;
}

/* === Header === */
header {
  background-color: #222;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}
header img {
  max-height: 60px;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}
nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}
nav ul li a:hover {
  color: #007bff;
}

/* === Secciones generales === */
section {
  padding: 60px 0;
}
h2, h3 {
  color: #007bff;
  margin-bottom: 30px;
}

/* === Inicio con fondo imagen para pantallas grandes === */
#inicio {
  height: 450px;
  background-image: url('../img/bannerr.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/* === Cambio de imagen para celulares y tablets === */
@media (max-width: 500px) {
  #inicio {
    background-image: url('../img/bannerr2.png');
  }
}

@media (max-width: 430px) {
  #inicio {
    background-image: url('../img/bannerr3.png');
  }
}

/* === Intro sección === */
#intro .intro-text {
  max-width: 80%;
  margin: 0 auto;
  font-size: 1.1rem;
  text-align: justify;
  color: #333;
}
#intro p {
  margin-bottom: 1.5rem;
}

/* === Botones === */
.btn-primary {
  background-color: #007bff;
  border: none;
  padding: 10px 25px;
  font-size: 1.1rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #0056b3;
  outline: none;
}

/* === Hero section === */
.hero {
  background: linear-gradient(135deg, #001f3f, #007bff);
  color: white;
  padding: 80px 0;
}
.hero h1 {
  font-size: 2.8rem;
}

/* === Íconos y beneficios === */
.section-icon {
  font-size: 2rem;
  color: #007bff;
}
.benefit-box {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  transition: 0.3s;
  background-color: white;
}
.benefit-box:hover {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* === CTA section === */
.cta-section {
  background-color: #f8f9fa;
  padding: 60px 0;
}

/* === Formulario === */
form label {
  font-weight: 600;
}
form input,
form textarea {
  border-radius: 5px;
  border: 1px solid #ccc;
  width: 100%;
}
form input:focus,
form textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  outline: none;
}

/* === Footer === */
footer {
  background-color: #222;
  color: white;
  padding: 20px 0;
  font-size: 0.9rem;
  text-align: center;
}

/* === Responsive === */
@media (max-width: 767px) {
  header .container {
    flex-direction: column;
    gap: 15px;
  }
  nav ul {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  #intro .intro-text {
    max-width: 95%;
  }
}


#faq .accordion-button {
  font-weight: 600;
  font-size: 1.1rem;
}



.whatsapp-float {
  position: fixed;
  width: 70px;
  height: 70px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366; /* verde WhatsApp */
  color: #fff;
  border-radius: 50%;
  text-align: center;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}
.whatsapp-float img {
  width: 48px;
  height: 48px;
}








.plan-box {
  transition: all 0.3s ease-in-out;
  border: 1px solid #e0e0e0;
}

.plan-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
}

.plan-box h3 {
  color: #007bff;
}

.plan-box ul li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 10px;
}

.plan-box ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #007bff;
}




.faq-icon {
  flex-shrink: 0;
  color: #007bff;
}

.faq-card p {
  color: #555;
}





#contacto {
  background-color: #f8f9fa;
}

.contact-form input,
.contact-form textarea {
  border-radius: 8px;
  border: 1px solid #ccc;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 6px rgba(0, 123, 255, 0.2);
  outline: none;
}

.contact-form label {
  font-weight: 600;
  color: #333;
}




footer a.text-white:hover {
  color: #0d6efd; /* o un celeste que combine */
  transition: 0.3s;
}

footer i.bi {
  transition: transform 0.3s ease;
}

footer i.bi:hover {
  transform: scale(1.2);
}



.navbar-toggler-icon {
  filter: brightness(0) invert(1); /* Rayas blancas */
}

.navbar-toggler {
  background-color: transparent !important; /* Sin fondo */
  border: none;
  padding: 0.25rem 0.5rem;
  outline: none;
  box-shadow: none !important; /* 👈 Quita el "overlay" del focus */
}

.navbar-toggler:focus {
  box-shadow: none !important;
  outline: none !important;
}





/* Eliminar scroll horizontal en móviles */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
/* PREVENIR scroll horizontal */
body {
  overflow-x: hidden;
}





/* Mejor experiencia en celulares: padding lateral para todo el contenido */
@media (max-width: 767px) {
  main > section,
  main > div,
  #intro .intro-text,
  .cta-section,
  #faq,
  #planes,
  #contacto {
    padding-left: 7%;
    padding-right: 7%;
  }
}
