main {
    max-width: 650px;
    margin: 60px auto;
    padding: 40px;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    font-family: 'Segoe UI', sans-serif;
    animation: fadeIn 1s ease-in-out;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  main h1 {
    font-size: 34px;
    margin-bottom: 15px;
    color: #2c3e50;
    text-align: center;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
 main p {
    text-align: center;
    margin-bottom: 30px;
    color: #555;
    font-size: 18px;
  }
  
  
  
  
  
  
  
    
  
/* Menú principal (puede estar dentro de un ul grande) */
/* IMPORTAMOS UNA FUENTE MODERNA */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f7f9fc;
  color: #333;
}

/* HEADER */
#head {
  background-color: #1e1e1e;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

/* LOGO / ENLACE PRINCIPAL */
#index {
  text-decoration: none;
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}


/* BOTÓN DE MENÚ (MÓVIL) */
#menu-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  display: none;
  transition: transform 0.3s ease;
}

#menu-toggle:hover {
  transform: scale(1.1);
}

/* MENÚ PRINCIPAL */
#menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
  transition: all 0.3s ease-in-out;
}

/* ENLACES DEL MENÚ */
#menu li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s;
}

#menu li a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: #00bcd4;
  bottom: -4px;
  left: 0;
  transition: width 0.3s ease;
}

#menu li a:hover::after {
  width: 100%;
}

#menu li a:hover {
  color: #00bcd4;
}

/* SUBMENÚ */
.submenu {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 120%;
  left: 0;
  background-color: #ffffff;
  display: none;
  flex-direction: column;
  list-style: none;
  padding: 0.5rem 0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  min-width: 160px;
  animation: fadeIn 0.3s ease-in-out;
}

.submenu:hover .dropdown {
  display: flex;
}

.dropdown li a {
  padding: 0.75rem 1.25rem;
  display: block;
  color: #333;
  white-space: nowrap;
  font-weight: 500;
  transition: background-color 0.3s;
}

.dropdown li a:hover {
  background-color:  white;
  border-radius: 8px;
}

/* ANIMACIÓN DE ENTRADA */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  #menu-toggle {
    display: block;
  }

  #menu {
    display: none;
    flex-direction: column;
    background-color: #ffffff;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  }

  #menu.show {
    display: flex;
  }

  #menu li a {
    color: #333;
    padding: 1rem;
  }

  .submenu .dropdown {
    position: static;
    box-shadow: none;
    background-color: #f9f9f9;
  }

  .submenu.active .dropdown {
    display: flex;
  }

  .submenu:hover .dropdown {
    display: none;
  }
}
/* ==========================================PREGUNTAS===================================================== */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
  }
  
  .faq-container {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  
  .faq-container h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #0057B7;
  }
  
  .accordion {
    margin-bottom: 1rem;
    border-bottom: 1px solid #ddd;
  }
  
  .accordion-header {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    text-align: left;
    font-size: 1.2rem;
    padding: 1rem;
    cursor: pointer;
    position: relative;
    color: #333;
    transition: background-color 0.3s;
  }
  
  .accordion-header:hover {
    background-color: #f0f0f0;
  }
  
  .accordion-header.active::after {
    content: "-";
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
  }
  
  .accordion-header::after {
    content: "+";
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
  }
  
  .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fafafa;
    padding: 0 1rem;
  }
  
  .accordion-content p {
    margin: 1rem 0;
    color: #555;
  }
  