/* Estilos mejorados para el banner */
.banner {
  position: relative;
  width: 100%;
  height: 80vh; /* Altura completa de la ventana */
  max-height: 800px; /* Altura máxima para pantallas grandes */
  overflow: hidden;
}

.banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4); /* Overlay oscuro para mejor legibilidad */
  z-index: 1;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Asegura que la imagen cubra todo el espacio */
  object-position: center;
}

.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2; /* Por encima del overlay */
  width: 90%;
  max-width: 800px;
  padding: 20px;
}

.banner-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-content p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #25D366;
  color: white;
  text-decoration: none;
  border-radius: 50px; /* Botón más redondeado */
  font-size: 1.2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.cta-button:hover {
  background-color: #20BA56;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Estilos responsivos */
@media (max-width: 1024px) {
  .banner-content h1 {
      font-size: 3rem;
  }
  
  .banner-content p {
      font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .banner {
      height: 80vh;
  }
  
  .banner-content h1 {
      font-size: 2.5rem;
  }
  
  .banner-content p {
      font-size: 1.1rem;
  }
  
  .cta-button {
      padding: 12px 25px;
      font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .banner {
      height: 70vh;
  }
  
  .banner-content h1 {
      font-size: 2rem;
      margin-bottom: 15px;
  }
  
  .banner-content p {
      font-size: 1rem;
      margin-bottom: 20px;
  }
  
  .cta-button {
      padding: 10px 20px;
      font-size: 1rem;
  }
}
/*----------------------------------------------------------
/* Nuevos estilos para la sección "Por qué elegirnos" */
.why-choose-us {
  padding: 60px 20px;
  background-color: #f5f5f5;
}

.why-choose-us h2 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #1a73e8;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-item {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-item h3 {
  color: #1a73e8;
  margin-bottom: 15px;
  font-size: 1.5em;
}

.feature-item p {
  color: #666;
  line-height: 1.6;
}

/* Estilos responsivos */
@media (max-width: 768px) {
  .features-grid {
      grid-template-columns: 1fr;
  }

  .why-choose-us {
      padding: 40px 15px;
  }

  .why-choose-us h2 {
      font-size: 2em;
  }
}
/*--------- facebook
/* Estilos actualizados para la sección de Facebook con diseño de tarjeta */
.facebook-feed {
  padding: 40px 20px;
  background-color: #f5f5f5;
}

/* Contenedor principal tipo tarjeta */
.facebook-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 30px;
  max-width: 1600px;
  margin: 0 auto;
}

.facebook-feed h2 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #1a73e8; /* Color actualizado según lo solicitado */
  font-weight: 600;
}

/* Grid para publicaciones en modo escritorio */
.facebook-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.facebook-post {
  position: relative;
  width: 100%;
  padding-top: 100%; /* Mantiene relación de aspecto 1:1 */
  background-color: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
}

.facebook-post iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.facebook-cta {
  text-align: center;
  margin-top: 40px;
}

.fb-follow-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #1a73e8;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(26, 115, 232, 0.2);
}

.fb-follow-button:hover {
  background-color: #1557b0;
  box-shadow: 0 4px 8px rgba(26, 115, 232, 0.3);
  transform: translateY(-2px);
}

/* Estilos responsivos */
@media (max-width: 1024px) {
  .facebook-posts {
    grid-template-columns: repeat(3, 1fr); /* 3 columnas en tablets */
  }
}

@media (max-width: 768px) {
  .facebook-card {
    padding: 20px;
  }

  .facebook-feed h2 {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .facebook-posts {
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en móviles */
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .facebook-feed {
    padding: 20px 10px;
  }

  .facebook-feed h2 {
    font-size: 1.8em;
  }

  .fb-follow-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}

@media (max-width: 768px) {
  .facebook-feed {
    display: none;
  }
}

/*seccion vista solo moviles*/

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
}

.bym-section {
    padding: 30px 20px;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.bym-content {
    max-width: 600px;
    margin: 0 auto;
}

.bym-content h2 {
    font-size: 2em;
    font-weight: 700;
    color: #1a73e8;
    margin-bottom: 20px;
    text-align: center;
}

.bym-content p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333;
    text-align: justify;
}

.fb-follow-button {
    display: block;
    width: 80%;
    max-width: 300px;
    margin: 30px auto;
    padding: 12px 24px;
    background-color: #1a73e8;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(26, 115, 232, 0.2);
}

.fb-follow-button:hover {
    background-color: #1557b0;
    box-shadow: 0 4px 8px rgba(26, 115, 232, 0.3);
    transform: translateY(-2px);
}

.bym-image-container {
    margin-top: 30px;
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    background-color: #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.bym-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bym-content, .bym-image-container {
    animation: fadeIn 1s ease-in-out;
}

@media (min-width: 769px) {
    .bym-section {
        display: none;
    }
}



/* preguntas y respuestas css
/* Estilos para la sección de FAQ */
.faq-section {
  padding: 60px 20px;
  background-color: #f5f7fa;
}

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
}

.faq-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #1a73e8;
  margin-bottom: 10px;
}

.faq-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 40px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.faq-category {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.category-header {
  display: flex;
  align-items: center;
  padding: 20px;
  background-color: #1a73e8;
  color: white;
}

.category-icon {
  width: 40px;
  height: 40px;
  margin-right: 15px;
}

.category-header h3 {
  margin: 0;
  font-size: 1.3rem;
}

.faq-items {
  padding: 20px;
}

.faq-item {
  margin-bottom: 15px;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 15px;
  background-color: #f0f4f8;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  color: #333;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background-color: #e3e9f2;
}

.icon-toggle {
  font-size: 1.5rem;
  font-weight: bold;
}

.faq-answer {
  display: none;
  padding: 15px;
  color: #666;
  line-height: 1.6;
}
/*------------------------------------------------------------------------------------------------------
/* Clase para cuando la respuesta está visible */
.faq-item.active .faq-question {
  background-color: #e3e9f2;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.faq-item.active .icon-toggle {
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  display: block;
  background-color: #f8fafc;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

/* Estilos responsivos */
@media (max-width: 768px) {
  .faq-section {
      padding: 40px 15px;
  }

  .faq-section h2 {
      font-size: 2rem;
  }

  .category-header h3 {
      font-size: 1.1rem;
  }

  .faq-question {
      font-size: 1rem;
  }
}

/*----------------------------------------------------------------------------
