body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #fafafa;
  color: #2a2a2a;
}

/* menu */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 96%;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    background-color: #111;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  }
  
  .logo img {
    height: 60px;
  }
  
  .menu {
    list-style: none;
    display: flex;
    gap: 30px;
  }
  .menu li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s;
  }
  .menu li a:hover {
    color: #aaff00;
  }
  
  /* Botón hamburguesa oculto por defecto */
  .menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #5b7e24;
    border-radius: 50%;
    cursor: pointer;
  }
  .menu-toggle span {
    display: block;
    width: 25px;
    height: 4px;
    background-color: yellow;
    margin: 3px 0;
    border-radius: 2px;
  }

/* hasta acá llega el menú*/

.faq-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
}

.faq-container h1 {
  text-align: center;
  font-size: 2em;
  color: #2c1d58;
}

.intro {
  text-align: center;
  font-size: 1em;
  color: #555;
  margin-bottom: 40px;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  overflow: hidden;
}

.faq-question {
  background: #fff;
  border: none;
  width: 100%;
  text-align: left;
  padding: 15px 20px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: "⌄";
  position: absolute;
  right: 20px;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  transform: rotate(180deg);
}

.faq-answer {
    transition: max-height 0.4s ease;
    overflow: hidden;
    max-height: 0;
    background-color: #f9f9f9;
    padding: 0 20px;
  }

.faq-answer p {
  margin: 15px 0;
  font-size: 0.95rem;
}

/* footer */

.footer {
    background-color: #181919;
    color: white;
    text-align: center;
    padding: 30px 20px;
  }
  
  .footer p {
    margin-bottom: 15px;
    font-size: 14px;
  }
  
  .footer-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 20px;
  }
  
  .footer-icons a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .footer-icons a:hover {
    color: #aaff00;
  }

/* Botón flotante de WhatsApp */

    /* Botón flotante de WhatsApp */
/* Contenedor flotante */
.whatsapp-fixed {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

/* Enlace estilo botón */
.whatsapp-fixed a {
  display: flex;
  align-items: center;
  background-color: #25D366;
  color: white;
  padding: 10px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  max-width: 52px; /* solo ícono visible por defecto */
  transition: max-width 0.4s ease, padding 0.4s ease;
  white-space: nowrap;
}

/* Ícono */
.whatsapp-fixed img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

/* Texto oculto inicialmente */
.whatsapp-fixed span {
  margin-left: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  font-size: 14px;
  font-weight: 500;
}

/* Al hacer hover o focus, expandir botón y mostrar texto */
.whatsapp-fixed a:hover,
.whatsapp-fixed a:focus,
.whatsapp-fixed a:active {
  max-width: 300px;
  padding-right: 15px;
}

.whatsapp-fixed a:hover span,
.whatsapp-fixed a:focus span,
.whatsapp-fixed a:active span {
  opacity: 1;
  visibility: visible;
}


/* Responsive */
@media (max-width: 600px) {
  .faq-container {
    padding: 10px;
  }

  .faq-question {
    font-size: 0.95rem;
    padding: 12px 15px;
  }

  .faq-answer p {
    font-size: 0.9rem;
  }
}

.faq-search {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 30px auto;
    display: block;
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: border 0.2s ease;
  }
  
  .faq-search:focus {
    outline: none;
    border-color: #2c1d58;
  }
  
  @media (max-width: 600px) {
    .faq-search {
      font-size: 0.95rem;
      padding: 10px 12px;
    }
  }

  /* Responsivo menu*/
  @media (max-width: 768px) {
    .menu {
      position: absolute;
      top: 80px;
      left: 0;
      width: 100%;
      flex-direction: column;
      background-color: #111;
      display: none;
      gap: 20px;
      padding: 20px 0;
      text-align: center;
    }
    .menu.active {
      display: flex;
    }
    .menu-toggle {
      display: flex;
    }
  }