/* RESET Y BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  background: linear-gradient(135deg, #8e2de2, #4a00e0, #ff6fbf);
  color: #333; /* texto general negro */
  line-height: 1.6;
  font-size: 16px;
}

/* HEADER HERO */
.hero-section {
  text-align: center;
  padding: 50px 20px;
  position: relative;
}

.logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.logo {
  width: 300px;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

body.loaded .logo {
  opacity: 1;
}

h1 {
  font-size: 2.5rem;
  color: #fff; /* Blanco */
}

.hero-section p {
  font-size: 1.2rem;
  color: #ddd; /* Gris claro */
  margin-top: 10px;
}

/* CONTENEDOR PRINCIPAL */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* TABS HORIZONTALES */
.tabs {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tab-link {
  flex: 1;
  text-align: center;
  padding: 12px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px 8px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: bold;
  color: #fff;
  margin-right: 5px;
  transition: all 0.3s ease;
}

.tab-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.5);
  border-bottom: 3px solid #FF6F61;
}

/* TAB CONTENT */
.tab-content {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
  display: block;
}

/* TITULOS DENTRO DE CADA TAB */
.tab-content h2 {
  color: #fff; /* Blanco */
  font-size: 2rem;
  margin-bottom: 15px;
}

/* LISTAS DENTRO DE TABS Y ACORDEONES */
/* por defecto color negro */
.tab-content ul,
.accordion-content ul {
  list-style-type: disc; /* viñetas */
  padding-left: 25px; /* margen a la izquierda para alinear bien */
  margin: 10px 0 15px 0;
  color: #000; /* negro por defecto */
}

.tab-content li,
.accordion-content li {
  margin-bottom: 8px;
  line-height: 1.5;
}

/* para listas que quieres blanco sobre fondo degradado, agregar clase .white-text al ul */
.tab-content ul.white-text li {
  color: #fff;
}

/* ACORDEONES */
.accordion-item {
  margin-bottom: 15px;
  border-radius: 8px;
  background: #f2f2f2; /* Gris claro */
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  text-align: left;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #e0e0e0; /* Gris cabecera */
  border: none;
  outline: none;
  transition: background 0.3s ease;
}

.accordion-header:hover {
  background: #d0d0d0;
}

.accordion-content {
  display: none;
  padding: 15px 20px;
  animation: slideDown 0.4s ease-in-out;
}

.accordion-content.show {
  display: block;
}

/* ANIMACIONES */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes slideDown {
  from {opacity: 0; max-height: 0;}
  to {opacity: 1; max-height: 1000px;}
}

/* ICONOS */
.icon {
  width: 40px;
  height: 40px;
}

/* IMÁGENES ILUSTRATIVAS */
.illustration {
  width: 100%;
  max-width: 800px;
  display: block;
  margin: 15px auto;
  border-radius: 8px;
}

/* FAQ */
.faq {
  margin-top: 50px;
}

.faq h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 20px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: rgba(255,255,255,0.2);
  margin-top: 50px;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.3);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .tabs {
    flex-direction: column;
  }

  .tab-link {
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    margin-right: 0;
    margin-bottom: 5px;
  }

  /* Listas responsivas */
  .tab-content ul,
  .accordion-content ul {
    padding-left: 20px;
  }
}
