body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #0a0a0a;
  color: #ddd;
}

html, body {
  height: 100%;
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
  color: #f0f0f0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  user-select: none;
  overflow-x: hidden;
}


header {
  display: flex;
  align-items: center;
  padding: 10px 30px;
  background-color: #222;
  box-shadow: 0 2px 8px rgba(0,0,0,0.8);
  border-bottom: 2px solid #007bff;
  user-select: none;
}

body > *:not(header) {
  margin-top: 200px !important;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.header-logo:hover {
  transform: scale(1.03);
}

.header-icon {
  width: 55px;
  height: 55px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.header-icon:hover {
  transform: scale(1.1);
  filter: brightness(1.3);
}

.header-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  user-select: text;
  line-height: 1.2;
}

.header-text h1 {
  font-size: 2.2rem;
  color: #00a8ff;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.header-text p {
  margin-top: 0;
  padding-top: 0;
  margin-top: 0;
  line-height: 1.1;
  color: #ccc;
  font-size: 1rem;
}

nav a {
  color: #ccc;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a:hover,
nav a.activo {
  color: #00d1ff;
}


/* Menu */
.menu {
  margin-left: auto; /* Empuja el menú a la derecha */
  
}

/* Menú escritorio */
.menu ul {
  list-style: none;
  display: flex;
  gap: 15px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.menu li {
  display: inline;
}

.menu a {
  color: #f0f0f0;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap; 
}

.menu a:hover,
.menu a:focus {
  background-color: #007bff;
  color: #fff;
  box-shadow: 0 0 10px #007bff;
  outline: none;
  cursor: pointer;
  border-radius: 20px;
}

.hamburguesa {
  display: none; /* Oculto por defecto */
}

@media (max-width: 1024px) {
  .hero-split {
    flex-direction: column;
    text-align: center;
    padding-top: 200px;
  }

  .texto-hero {
    margin-right: 0;
  }

  .imagen-hero {
    margin-top: 20px;
  }

  .menu ul {
    gap: 15px;
  }
}

/* ======= RESPONSIVE MAX 768px ======= */
@media (max-width: 768px) {
  header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
  }

  /* Mostrar hamburguesa */
  .hamburguesa {
    display: block;
    font-size: 1.8rem;
    color: #00a8ff;
    cursor: pointer;
    user-select: none;
    padding: 10px;
    margin-left: auto;
    z-index: 1100;
    right: 8px;
  }

  /* Ajustar logo */
  .header-logo {
    margin-right: auto;
    margin-left: 5px;
  }

  /* Menú oculto */
  .menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; /* Altura del header */
    right: 0;
    width: 250px;
    height: 100vh;
    background-color: #222;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding-top: 20px;
    border-left: 2px solid #007bff;
    z-index: 1000;
  }

  /* Menú visible */
  .menu.activo {
    transform: translateX(0);
  }

  /* Menú móvil */
  .menu ul {
    flex-direction: column;
    gap: 15px;
    margin: 0 10px;
    padding: 0;
  }

  .menu li {
    width: 100%;
  }

  .menu a {
    display: block;
    width: 100%;
    padding: 12px 20px;
    border-radius: 10px;
  }

  /* Ocultar menú horizontal normal */
  .menu ul {
    flex-direction: column;
  }
}

  .menu li {
    width: 100%;
  }

/* Estilos FAQ */

.faq {
  width: 90%;
  max-width: 900px;
  margin: 20px auto 50px;
  padding: 20px;
  background-color: #1b1b1b;
  border-radius: 12px;
  color: #ddd;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-sizing: border-box;
  overflow-wrap: break-word;
}

.faq h1 {
  color: #00d1ff;
  margin-bottom: 30px;
  text-align: center;
  font-size: 2rem;
  padding: 0 10px;
}

.faq-item {
  margin-bottom: 20px;
  border-bottom: 1px solid #444;
  padding-bottom: 15px;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item input[type="checkbox"] {
  display: none;
}

.faq-item label {
  display: block;
  cursor: pointer;
  position: relative;
  padding-left: 35px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #00a8ff;
  user-select: none;
  transition: color 0.3s ease;
  line-height: 1.3;
  word-break: break-word;
}

.faq-item label:hover {
  color: #00d1ff;
}

.faq-item label::before {
  content: "▼"; /* Flecha hacia abajo */
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: #00a8ff;
  transition: transform 0.3s ease;
}

.faq-item input[type="checkbox"]:checked + label::before {
  transform: translateY(-50%) rotate(180deg); /* Gira flecha cuando está abierto */
  color: #00d1ff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
  padding-left: 35px;
  font-weight: 400;
  color: #ccc;
  font-size: 1rem;
  line-height: 1.5;
}

/* Mostrar respuesta cuando está activo */
.faq-item input[type="checkbox"]:checked ~ .faq-answer {
  max-height: 1000px; /* Valor alto para mostrar todo */
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .faq {
    width: 95%;
    padding: 15px;
  }

  .faq h1 {
    font-size: 1.8rem;
  }

  .faq-item label {
    font-size: 1rem;
    padding-left: 30px;
  }

  .faq-item label::before {
    left: 3px;
    font-size: 1rem;
  }

  .faq-answer {
    padding-left: 30px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .faq {
    width: 98%;
    padding: 10px 8px;
  }

  .faq h1 {
    font-size: 1.5rem;
  }

  .faq-item label {
    font-size: 0.95rem;
    padding-left: 25px;
  }

  .faq-item label::before {
    left: 2px;
    font-size: 0.9rem;
  }

  .faq-answer {
    padding-left: 25px;
    font-size: 0.9rem;
  }
}


/* Contenido principal */
.container {
  max-width: 900px;
  margin: 60px auto;
  padding: 30px;
  background-color: #1b1b1b;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

h1 {
  text-align: center;
  color: #00d1ff;
  margin-bottom: 20px;
}

h3 {
  color: #00aaff;
  margin-top: 25px;
}

p, li {
  font-size: 1rem;
  line-height: 1.6;
}

ul {
  padding-left: 20px;
}

/* Footer */
footer {
  background-color: #1f1f1f;
  padding: 35px 10px 20px; /* Igual que la principal */
  border-top: 1px solid #444;
  margin-top: auto;
  line-height: 1.6;
  text-align: center;
}

body > :not(header) {
  padding-top: 110px;
}

.footer-priv {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 50px; /* Más separación entre columnas */
  padding: 30px 20px;
  color: #ccc;
  text-align: left;
}

.footer-priv > div {
  flex: 1 1 200px;
  min-width: 180px;
}

.footer-priv h3 {
  color: #00a8ff;
  margin-bottom: 15px; /* Más separación debajo del título */
  font-size: 1.1rem;
}

.footer-priv ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-priv ul li {
  margin: 10px 0; /* Más separación entre elementos */
  font-size: 0.9rem;
}

.footer-priv i {
  margin-right: 8px;
  color: #00a8ff;
}

.footer-priv a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-priv a:hover {
  color: #00d1ff;
  text-decoration: underline;
}

.copy {
  text-align: center;
  margin-top: 30px;
  font-size: 0.75rem;
  color: #777;
}

