/*-------------------------------------- BASE --------------------------------------*/
html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* evita scroll horizontal */
  overflow-y: auto; /* permite scroll vertical */
  height: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  min-height: 100vh;
  overflow-y: scroll;
  display: flex;
  flex-direction: column;
}

body {
  background-color: #3f3f3f;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/*-------------------------------------- NAVEGACIÓN --------------------------------------*/
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #273f4f, #d2d2d2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 50px;
  box-sizing: border-box;
  z-index: 1000;
}

.marca {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 40px;
}

.nombre {
  font-size: 1.1rem;
  color: #d2d2d2;
}

/* Toggle oculto pero funcional */
.menu-toggle {
  display: none;
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Icono hamburguesa - visible en móvil */
.menu-icon {
  display: none;
  top: 10px;
  right: 100px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 1001;
}

.menu-icon span {
  display: block;
  height: 3px;
  width: 25px;
  background-color: #d45725;
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.3s ease;
  transform-origin: center;
}

/* Transforma el ícono en X cuando está activado */
#menu-toggle:checked + .menu-icon span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle:checked + .menu-icon span:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked + .menu-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Menú horizontal (escritorio) */
.menu {
  display: flex;
  flex-direction: row;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li a {
  text-decoration: none;
  color: #273f4f;
  font-size: 0.9rem;
  font-weight: 400;
  padding: 8px 12px;
  border-radius: 20px;
  transition: background 0.3s;
}

.menu li a:hover {
  color: #d45725;
}

.menu li a.acceso {
  background-color: #d45725;
  color: #fff;
  border: 2px solid #fff;
}

.menu li a.acceso:hover {
  background-color: #fff;
  color: #d45725;
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 20px;
  }

  .menu-icon {
    display: flex;
    position: absolute;
    top: 5px;
    right: 20px;
    padding: 10px;
  }

  .menu {
    display: none;
    flex-direction: column;
    gap: 0px;
    padding: 15px 0 15px 0;
    margin: 0 auto;
    width: 80%;
  }
  #menu-toggle:checked ~ .menu {
    display: flex;
  }

  .menu li {
    text-align: center;
    margin: 10px;
  }

  .menu li a {
    color: #d2d2d2;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
  }

  .menu li a,
  .menu li a.acceso {
    background-color: transparent; /* o un color apropiado */
    color: #d2d2d2;
    border: none;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    padding: 10px 0;
    transition: all 0.3s ease;
  }

  .menu li a:hover,
  .menu li a.acceso:hover {
    color: #d45725;
  }
}

/*-------------------------------------- POP-UP LOGIN --------------------------------------*/
.bloqueo-scroll {
  overflow: hidden;
  height: 100vh;
}

.popup {
  position: fixed;
  display: none;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000; /* por encima del menú */
}

.popup:target {
  display: flex;
}

.popup-content input,
.popup-content button {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.popup-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  max-width: 15%;
  min-height: 60%;
  height: auto;
  padding: 40px;
  margin: 0;
  border: 1px solid rgba(212, 87, 37, 0.3);
  border-radius: 30px;
  background: #d2d2d2;
  backdrop-filter: blur(10px);
  z-index: 4100;
  box-shadow: 0 0 20px rgba(212, 87, 37, 0.6);
  text-align: center;
}

body:has(.popup:target) {
  overflow: hidden;
  height: 100vh;
}

.popup-content::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 350px;
  height: 350px;
  transform: translate(-50%, -50%);
  background-image: url("/static/img/Integra\ azul.png");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.popup-content h3 {
  margin: 40px 0px 20px 0px;
  text-align: center;
  color: #d45725;
  font-weight: 600;
  font-family: sans-serif;
  font-size: 1.8rem;
}

.popup-content h6 {
  margin: 30px 15px 30px 20px;
  text-align: justify;
  color: #273f4f;
  font-family: sans-serif;
  font-size: 0.9rem;
  font-weight: 550;
}

.popup-content label {
  display: block;
  color: #273f4f;
  text-align: center;
  padding: 5px;
  margin: 20px 0px 5px 5px;
  font-size: 0.7rem;
}

select {
  width: 70%;
  padding: 5px 20px 0px;
  margin-top: 5px;
  border: none;
  border-bottom: 2px solid #447d9b;
  color: #273f4f;
  background-color: transparent;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

.popup-content input {
  width: 70%;
  padding: 5px 10px 0px;
  margin-top: 5px;
  border: none;
  border-bottom: 2px solid #447d9b;
  color: #273f4f;
  background-color: transparent;
  font-size: 1rem;
  font-weight: 500;
  outline: none;
  transition: border-color 0.3s;
}

.popup-content input:focus {
  border-bottom-color: #d45725;
}

.popup-olvidado {
  color: #d45725;
  font-size: 0.7rem;
  margin-top: 10px;
  display: block;
  text-align: right;
  margin-right: -80px;
  text-decoration: underline;
  font-weight: inherit;
  font-family: inherit;
  background: none;
  cursor: pointer;
  display: inline;
}

.popup-olvidado:hover {
  color: #273f4f;
  text-decoration: none;
}

.toggle-password {
  position: absolute;
  right: 65px;
  top: 64%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1rem;
  color: #888;
  user-select: none;
  transition: color 0.3s ease;
}

.toggle-password:hover {
  color: #d45725;
}
/*-------------------------------------- POP-UP RECUPERACIÓN --------------------------------------*/

.inicio-popup-recuperacion {
  position: fixed;
  display: none;
  background: none;
  align-items: center;
  justify-content: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3000; /* por encima del pop-up de acceso */
}

.inicio-popup-recuperacion:target {
  display: flex;
}

.inicio-popup-content-recuperacion {
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  background-color: #d2d2d2;
  border-radius: 20px;
  padding: 30px;
  width: 300px;
  font-family: sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: justify;
  color: #273f4f;
  border: 2px solid #d45725;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.4s ease;
}

.cerrar {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2rem;
  color: #273f4f;
  text-decoration: none;
  cursor: pointer;
  z-index: 10; /* suficiente para estar por encima del fondo */
}

.popup-content button {
  display: block;
  padding: 10px 40px 10px 40px;
  margin: 40px auto 35px auto;
  font-size: 0.8rem;
  font-weight: bold;
  color: #d7d7d7;
  background-color: #d45725;
  border: none;
  border-radius: 30px;
  outline: 2px solid #273f4f;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  z-index: 1;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.popup-content button:hover {
  background-color: #d2d2d2; /* fondo sólido y claro */
  color: #d45725; /* texto oscuro para contraste */
  outline: 2px solid #d45725;
  transform: scale(1.03); /* efecto sutil de agrandamiento */
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.cerrar:hover {
  color: #d45725;
}

/*-------------------------------------- REGISTRO LOGIN --------------------------------------*/

.popup-register {
  background: rgba(210, 210, 210, 0.6);
  backdrop-filter: blur(5px);
  color: #d2d2d2;
  padding: 30px 25px;
  border-radius: 20px;
  height: 500px;
  width: 300px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 4100; /* Mayor que .popup y cualquier sección */
}

.aviso-legal {
  font-size: 0.6rem;
  font-weight: 450;
  color: #273f4f;
  margin: auto;
  text-align: justify;
}

.aviso-legal a {
  color: #d45725;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3000;
    background: rgba(0, 0, 0, 0.5);
  }

  .popup:target {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
  }

  .popup-content {
    width: 80vw;
    max-width: 400px;
    height: auto;
    min-height: 200px;
    margin: 0 auto;
    padding: 20px 10px;
    border-radius: 20px;
  }

  .popup-content h3 {
    font-size: 1.3rem;
    margin: 20px 0 20px 0;
  }

  .popup-content label {
    font-size: 0.6rem;
    margin: 0px 0px 0px 15px;
  }

  .popup-content select {
    width: 90%;
  }

  .popup-content input {
    width: 100%;
    margin: 10px auto;
  }

  .popup-content button {
    width: 70%;
    margin: 60px auto;
  }

  .inicio-popup-recuperacion {
    padding: 0px;
  }

  .inicio-popup-content-recuperacion {
    width: 95vw;
    max-width: 400px;
    padding: 20px 10px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 20px;
  }
}

/* Estilo uniforme para errores de formularios */
.error {
  display: block;
  margin-top: 4px;
  color: #d45725; /* Naranja corporativo */
  font-size: 0.75rem; /* Más pequeño que el label */
  font-weight: 500;
  text-align: left; /* alineado al input */
}

/*-------------------------------------- SECCIONES --------------------------------------*/
.seccion {
  position: relative;
  min-height: 100vh; /* ocupa toda la pantalla menos el nav */
  width: 100%;
  box-sizing: border-box;
  scroll-snap-align: start;
  z-index: 1;
  overflow: visible;
  padding-top: 80px;
  scroll-snap-align: start;
  min-height: 100vh;
  scroll-snap-align: start;
  min-height: 100vh;
  animation: entradaSuave 2s ease-out;
}

.seccion::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(39, 63, 79, 0.4); /* azul oscuro con transparencia */
  z-index: 0;
}

.seccion > * {
  position: relative;
  z-index: 1;
}

.seccion h2 {
  color: #d45725;
  margin-bottom: 20px;
}

/*-------------------------------------- SECCIÓN INICIO --------------------------------------*/
#inicio {
  background-image: url(/static/img/Fondo\ 2.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right;
}

.seccion-inicio {
  position: relative;
  padding: 150px 20px;
  background-color: transparent;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: #d2d2d2;
}

h1 {
  max-width: 700px;
  font-size: 3.2rem;
  font-weight: 600;
  color: #d2d2d2;
  text-align: left;
  margin: 140px 0 10px 160px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

h3 {
  font-size: 1.2rem;
  font-weight: 500;
  color: #d45725;
  text-align: left;
  margin-left: 160px;
}

.boton {
  display: inline-block;
  padding: 10px 20px;
  margin: 20px auto 20px 160px;
  font-size: 0.8rem;
  font-weight: bold;
  color: #d2d2d2;
  background-color: #d45725;
  border: none;
  border-radius: 30px;
  outline: 2px solid #d2d2d2;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.boton:hover {
  background-color: #d2d2d2;
  color: #d45725;
  outline: 2px solid #d45725;
}

.resaltado {
  color: #d45725;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* === ANIMACIONES DE APARICIÓN DE CONSOLA === */
@keyframes crtOn {
  0% {
    transform: translateY(-50%) scaleY(0.1) scaleX(1.3);
    opacity: 0;
    filter: brightness(5) blur(4px);
  }
  40% {
    transform: translateY(-50%) scaleY(0.02) scaleX(1.6);
    opacity: 1;
    filter: brightness(3) blur(2px);
  }
  70% {
    transform: translateY(-50%) scaleY(1.05) scaleX(0.98);
    opacity: 1;
    filter: brightness(1.5);
  }
  100% {
    transform: translateY(-50%) scaleY(1) scaleX(1);
    opacity: 1;
    filter: none;
  }
}

@keyframes glitchIn {
  0% {
    transform: translateY(-50%) translateX(-100%) skewX(-30deg);
    opacity: 0;
  }
  10% {
    transform: translateY(-50%) translateX(10px) skewX(20deg);
    opacity: 0.6;
  }
  20% {
    transform: translateY(-50%) translateX(-6px) skewX(-15deg);
    opacity: 1;
  }
  30% {
    transform: translateY(-50%) translateX(3px) skewX(10deg);
  }
  40% {
    transform: translateY(-50%) translateX(-2px) skewX(-5deg);
    opacity: 0.9;
  }
  60% {
    transform: translateY(-50%) translateX(1px) skewX(2deg);
  }
  80% {
    transform: translateY(-50%) translateX(-1px) skewX(-1deg);
  }
  100% {
    transform: translateY(-50%) translateX(0) skewX(0);
    opacity: 1;
  }
}

.log-console {
  position: absolute;
  top: 47%;
  right: 10%;
  transform: translateY(-50%);
  width: 550px;
  height: 50vh;
  max-height: 50vh;
  overflow-y: hidden;
  color: #d45725;
  text-shadow: 0 0 1px #d45725, 0 0 3px #d45725;
  font-family: "Courier New", monospace;
  font-size: 1rem;
  padding: 0 20px 0 20px;
  border-radius: 10px;
  white-space: pre-wrap;
  z-index: 2;
  background: rgba(39, 63, 79, 0.8);
  background-size: 100% 2px, 4px 4px;
  border: 1px solid #d2d2d2;
  animation: crtOn 0.7s ease-out forwards, glitchIn 0.8s 0.7s ease-out forwards;
}

.log-console::before {
  content: "";
  display: block;
  height: 30px;
  background: #d2d2d2;
  border-bottom: 1px solid #333;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.log-console::after {
  content: "_ □ ✕";
  position: absolute;
  top: 5px;
  right: 20px;
  color: #d45725;
  font-size: 0.8rem;
}

.linea-blanca {
  color: #ffffff;
}

.cursor {
  display: inline-block;
  width: 10px;
  height: 1rem;
  animation: blink 0.7s steps(1) infinite;
  color: #d2d2d2;
}

@media (max-width: 768px) {
  .seccion-inicio {
    padding: 60px 20px;
  }

  .seccion-inicio h1 {
    font-size: 2rem;
    text-align: center;
    margin: 70px 0 20px 0;
  }

  .seccion-inicio h3 {
    text-align: center;
    font-size: 1rem;
    margin: 10px 0 20px 0;
  }

  .paquetes {
    flex-direction: column;
    align-items: center;
    margin-left: 0;
    gap: 20px;
  }

  .paquete {
    max-width: 90%;
    text-align: center;
    justify-content: center;
  }

  .boton {
    margin: 20px auto;
  }
}
/*-------------------------------------- PAQUETES --------------------------------------*/
.paquetes {
  display: flex;
  justify-content: left;
  gap: 40px;
  margin: 20px 0px auto 160px;
  flex-wrap: wrap;
  max-width: 1200px;
}

.paquete {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 15px;
  max-width: 180px;
  color: #d2d2d2;
  font-size: 0.7rem;
  line-height: 1.4;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 5px;
  border-radius: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.paquete:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.paquete img {
  height: 40px;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .seccion-inicio {
    margin: 20px auto;
    max-width: 100%;
    padding: 30px;
  }

  h1 {
    font-size: 2.5rem;
    text-align: center;
    margin: 90px auto;
  }

  .boton {
    margin: 20px auto;
    display: block;
    text-align: center;
    max-width: 20vh;
  }
  .paquetes {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-left: 0;
    margin-bottom: 30px;
  }
}

/*-------------------------------------- SECCION LEGAL --------------------------------------*/

#legal {
  background-color: #3f3f3f;
  background-image: url(/static/img/Legal\ Der.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
}

.seccion-legal {
  position: relative;
  padding: 40px 20px;
  margin-top: 0px;
  background-color: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #d2d2d2;
  text-align: center;
  z-index: 1;
}

.seccion-legal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(39, 63, 79, 0.5); /* overlay azul oscuro */
  z-index: 0;
}

.seccion-legal > * {
  position: relative;
  z-index: 1;
}

.columna-legal {
  max-width: 600px; /* ancho de la columna */
  margin: 5px 100px 0px 160px;
  padding: 10px 0px 0px 30px;
  text-align: left;
  font-family: "Consolas", monospace;
  font-size: 0.95rem;
  line-height: 1.6;
  letter-spacing: 0.3px;
}

.titulo-legal {
  max-width: 600px;
  margin: 150px 100px 0px 160px;
  padding: 0 20px;
  text-align: center;
  font-size: 1.25rem;
  font-family: "Consolas", monospace;
  color: #d45725;
  border-bottom: 1px solid #d45725;
  padding-bottom: 10px;
  word-break: break-word;
}

.censurado {
  background-color: black;
  color: black;
  padding: 0 4px;
  border-radius: 2px;
  transition: color 0.3s ease;
  user-select: none;
}

.censurado:hover {
  color: white;
}

@media (max-width: 768px) {
  #legal {
    background-image: none;
    background-color: #3f3f3f;
  }

  .columna-legal {
    margin: 20px auto;
    padding: 10px 20px;
    max-width: 95%;
    font-size: 1rem;
    text-align: left;
  }

  .titulo-legal {
    margin: 30px auto;
    padding: 0 20px 10px 20px;
    text-align: center;
    max-width: 95%;
  }

  .seccion-legal {
    padding: 60px 10px;
  }
}

/*-------------------------------------- SECCION CONTACTO --------------------------------------*/
#contacto {
  background: linear-gradient(to top, #447d9b, #273f4f);
  background-image: url(/static/img/fondo\ contacto.png);
}

.seccion-contacto {
  position: relative;
  padding: auto 20px;
  background-color: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #d2d2d2;
  text-align: center;
}

.contacto-wrapper {
  max-width: 400px;
  margin: 100px auto;
  padding: 40px 20px;
  background: rgba(210, 210, 210, 0.15);
  border: 2px solid #447d9b;
  border-radius: 30px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  text-align: center;
}

.formulario-contacto {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  width: 100%;
}

.formulario-contacto label {
  margin-bottom: 0px;
  text-align: left;
  font-size: 0.7rem;
  font-weight: 400;
  text-align: justify;
  color: #d2d2d2;
}

.formulario-contacto input,
.formulario-contacto textarea {
  padding: 10px;
  border: 2px solid #447d9b;
  background-color: #d2d2d2;
  border-radius: 10px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
  resize: none;
}

.formulario-contacto input:focus,
.formulario-contacto textarea:focus {
  border-color: #d45725;
}

.contacto-wrapper button {
  width: 100%;
  margin: 30px 0px;
  padding: 10px;
  font-size: 1rem;
  font-weight: bold;
  color: #d2d2d2;
  background-color: #273f4f;
  border: none;
  border-radius: 30px;
  outline: 2px solid #d2d2d2;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.contacto-wrapper button:hover {
  background-color: #d2d2d2;
  color: #273f4f;
  outline: 2px solid #273f4f;
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .contacto-wrapper {
    max-width: 35vh;
    max-height: auto;
    margin: 30px auto;
    padding: 30px 30px;
    background: rgba(210, 210, 210, 0.15);
    border: 2px solid #447d9b;
    border-radius: 30px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    text-align: center;
  }
}

/*-------------------------------------- SECCION FAQ --------------------------------------*/

#faq {
  background-image: url("/static/img/FAQ3.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #293e4b;
  background-attachment: relative;
}

.seccion-faq {
  position: relative;
  overflow: visible;
  position: relative;
  background-color: #0f1c24;
  color: #d2d2d2;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  padding-right: 10px;
}

.seccion-faq::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/static/img/FAQ3.png") no-repeat center center;
  background-size: cover;
  z-index: -1;
  opacity: 0.1;
  pointer-events: none;
}

.faq-contenido {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  align-items: center center;
}

.faq-contenido h3 {
  margin: 0 auto 40px auto;
  font-size: 40pt;
  text-align: center;
  text-decoration: underline;
}

.seccion-faq details {
  border-bottom: 1px solid #447d9b;
  padding: 15px 0;
}

.seccion-faq summary {
  cursor: pointer;
  font-size: 1.1rem;
  color: #d45725;
  font-weight: bold;
  list-style: none;
  position: relative;
  text-align: center;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  position: relative;
}

.seccion-faq summary::after {
  content: "▼";
  position: static;
  right: 0;
  top: 0;
  font-size: 0.9rem;
  transition: transform 0.3s;
}

.seccion-faq details[open] summary::after {
  transform: rotate(180deg);
}

.seccion-faq p {
  margin-top: 10px;
  font-size: 1rem;
  color: #d2d2d2;
}

/*-------------------------------------- BLOQUEO DE SCROLL EN POP-UPS --------------------------------------*/
#login-popup:target ~ .bloqueo-scroll,
#popup-register:target ~ .bloqueo-scroll,
#recuperacion-popup:target ~ .bloqueo-scroll {
  overflow: hidden;
  min-height: 100vh;
}

/* ================= FOOTER ================= */
.footer {
  margin-top: auto;
  background: #273f4f;
  color: #d2d2d2;
  padding: 40px 20px 20px;
  font-size: 0.85rem;
  margin-top: auto;
}

.footer-contenido {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col h4 {
  margin-bottom: 15px;
  font-size: 1rem;
  color: #d45725;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin: 8px 0;
}

.footer-col ul li a {
  color: #d2d2d2;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #d45725;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
  color: #aaa;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-contenido {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
