@charset "UTF-8";
/* ────────────── ESTILO GENERAL ────────────── */
body {
  background-color: #1b1f27;
  color: #c0c5ce;
  font-size: 1rem;
  line-height: 1.6;
}

/* Enlaces */
a {
  color: #61afef;
  text-decoration: none;
}

a:hover {
  color: #98c379;
  text-decoration: underline;
}

/* Títulos */
h1, h2, h3, h4, h5, h6 {
  color: #e5c07b;
  margin-top: 0.2em;
  margin-bottom: 0.2em;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.6rem;
}

h3 {
  font-size: 1.3rem;
}

/* Código */
pre, code {
  background-color: #2c313c;
  color: #abb2bf;
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-family: Consolas, monospace;
}

/* Citas */
blockquote {
  border-left: 4px solid #98c379;
  padding-left: 1em;
  color: #aaa;
  font-style: italic;
}

/* Emojis en títulos */
h1 .emoji, h2 .emoji, h3 .emoji {
  font-size: 1.4em;
  margin-right: 0.3em;
  vertical-align: middle;
}

/* Separador */
hr {
  border-color: #444;
  margin: 1rem 0;
}

.tagline {
  margin-top: 0.5rem;
  color: #c0c5ce;
  font-size: 1rem;
  font-style: italic;
}

/* ────────────── CABECERA Y NAVEGACIÓN ────────────── */
.navbar {
  background-color: #1b1f27 !important;
}

#header {
  width: 100%;
  background-color: #1b1f27 !important;
  margin: 0;
  padding: 0.5rem 0;
  border-bottom: none;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 100;
}

#header .navigation {
  margin: 0;
}

#header nav {
  width: 100%;
  text-align: center;
}

#header nav ul {
  display: inline-block;
  padding: 0;
}

#header nav a {
  color: #c0c5ce;
  font-weight: normal;
  padding: 0.5rem 1rem;
  display: inline-block;
}

#header nav a:hover,
#header nav li.active > a {
  color: #e5c07b;
  font-weight: bold;
  text-decoration: none;
}

#header nav a:hover {
  border-bottom: 2px solid #e5c07b;
}

/* Footer */
#footer {
  background-color: #1b1f27;
  border-top: 1px solid #333;
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
}
#footer .footer-contenido {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  opacity: 0.8;
}
#footer .footer-frase {
  font-style: italic;
}
#footer .footer-separador {
  opacity: 0.4;
}
#footer a {
  color: #e5c07b;
  text-decoration: none;
}
#footer a:hover {
  color: #87cefa;
  text-decoration: none;
}
#footer .footer-copyright {
  font-size: 0.85rem;
  opacity: 0.6;
}

.intro-home {
  text-align: center;
  background: linear-gradient(to bottom, #1b1f27, transparent);
}
.intro-home .titulo-home {
  font-size: 2.6rem;
  color: #e5c07b;
  margin-bottom: 1rem;
  font-family: "IBM Plex Sans", sans-serif;
}
.intro-home .frase-home {
  font-style: italic;
  opacity: 0.8;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}
.intro-home .cita-home {
  background-color: rgba(255, 255, 255, 0.03);
  border-left: 4px solid #87cefa;
  padding: 1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  font-style: italic;
  color: #ccc;
}
.intro-home .boton-indice-home {
  margin-top: 1rem;
}

.contenido-home {
  max-width: 700px;
  margin: 0 auto;
}

.boton-descubrir {
  margin: 2rem auto;
  display: inline-block;
  background: transparent;
  color: #87cefa;
  border: 1px solid #87cefa;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-size: 1rem;
  font-family: "IBM Plex Sans", sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}
.boton-descubrir:hover {
  background-color: #87cefa;
  color: #000;
}

.contenido-animado {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s ease, opacity 0.6s ease;
}

.contenido-animado.mostrar {
  max-height: 5000px;
  opacity: 1;
}

.acceso-archivo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
}

.acceso-centro {
  max-width: 700px;
  padding: 2rem;
  margin: auto;
}

.titulo-acceso {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.mensaje-acceso {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 2rem;
}

.categoria-header {
  display: flex;
  align-items: end;
  gap: 1rem;
  padding-bottom: 1rem;
}

.categoria-icono {
  width: 96px;
  height: 96px;
  border-radius: 8px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.categoria-title {
  font-size: 2rem;
  color: #e5c07b;
  margin: 0;
}

.categoria-intro {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  color: #c0c5ce;
  padding-bottom: 0.8rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ────────────── PANEL LATERAL: ARCHIVO MENTAL ────────────── */
.overlay-indice {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1001;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.overlay-indice.visible {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.panel-indice {
  position: absolute;
  top: 0;
  left: -620px;
  width: 600px;
  height: 100%;
  background: #1a1a1a;
  padding: 2rem;
  overflow-y: auto;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.4);
  transition: left 0.3s ease;
}

.overlay-indice.visible .panel-indice {
  left: 0;
}

.btn-cerrar-indice {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 1.2em;
  color: #ccc;
  cursor: pointer;
}

.titulo-panel-indice {
  color: #ffffff;
  font-size: 1.4em;
  margin-bottom: 1.5rem;
}

/* Lista de categorías */
.lista-categorias {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.lista-categorias li {
  margin: 0.5rem 0;
}

.lista-categorias li a {
  color: #cceeff;
  text-decoration: none;
  font-size: 1em;
  display: block;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.lista-categorias li a:hover {
  background: rgba(255, 255, 255, 0.05);
}

.lista-categorias li.activo > a {
  font-weight: bold;
  text-decoration: underline;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* ────────────── PANEL LATERAL: ARCHIVO MENTAL ────────────── */
.overlay-indice {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1001;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.overlay-indice.visible {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.panel-indice {
  position: absolute;
  top: 0;
  left: -620px;
  width: 600px;
  height: 100%;
  background: #1a1a1a;
  padding: 2rem;
  overflow-y: auto;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.4);
  transition: left 0.3s ease;
}

.overlay-indice.visible .panel-indice {
  left: 0;
}

.btn-cerrar-indice {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 1.2em;
  color: #ccc;
  cursor: pointer;
}

.subtitulo-redes {
  text-align: center;
  color: #e5c07b;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.redes-panel-contacto {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1rem;
}
.redes-panel-contacto a {
  font-size: 2rem;
  color: #cccccc;
  transition: color 0.3s ease, transform 0.3s ease;
}
.redes-panel-contacto a:hover {
  color: #87cefa;
  transform: scale(1.1);
}

#panel-resonancia {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  padding: 2rem;
  text-align: center;
}

.popup-resonancia-contenido {
  background: rgb(21, 31, 39);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 2.5rem;
  max-width: 960px;
  width: 100%;
  color: #ddd;
  font-size: 1rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  font-family: var(--font-principal, "Inter", sans-serif);
  line-height: 1.6;
  margin: auto;
}

.popup-resonancia-contenido h1 {
  font-size: 1.6rem;
  color: #d4af37; /* dorado */
  margin-bottom: 0.5rem;
  text-align: center;
}

.popup-resonancia-contenido p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #ccc;
  text-align: center;
}

.popup-resonancia-contenido form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  text-align: left;
}

.popup-resonancia-contenido label {
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #ccc;
}

.popup-resonancia-contenido input[type=checkbox] {
  margin-right: 0.6rem;
  transform: scale(1.1);
  accent-color: #999;
}

.popup-resonancia-contenido button[type=submit],
.popup-resonancia-contenido button[type=button] {
  margin-top: 1rem;
  padding: 0.6rem 1.4rem;
  background: #1f1f1f;
  border: 1px solid #444;
  color: #fff;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 1rem;
}

.popup-resonancia-contenido button[type=submit]:hover,
.popup-resonancia-contenido button[type=button]:hover {
  background: #2e2e2e;
}

#boton-explorar-archivo {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.6rem 1.2rem;
  color: #ddd;
  font-size: 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 2rem;
}

#boton-explorar-archivo:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
}

#boton-explorar-archivo.bloqueado {
  opacity: 0.7;
  filter: grayscale(20%);
  font-style: italic;
}

#mensaje-no-resuena {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(30, 30, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 1rem;
  color: #eee;
  font-family: var(--font-principal, "Inter", sans-serif);
  text-align: center;
  z-index: 1100;
  max-width: 90vw;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  animation: fadeIn 0.4s ease-out;
}

#mensaje-no-resuena p {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  color: #f0e68c;
}

#mensaje-no-resuena button {
  background: #1f1f1f;
  color: #fff;
  border: 1px solid #555;
  border-radius: 0.5rem;
  padding: 0.5rem 1.2rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s ease;
}

#mensaje-no-resuena button:hover {
  background: #333;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -55%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}
.btn-indice-vertical {
  position: fixed;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  z-index: 1000;
  background: #1b1f27;
  color: #e5c07b;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 8px 8px;
  font-size: 0.95rem;
  font-weight: bold;
  cursor: pointer;
  padding: 0.6rem 1rem;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease, color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-indice-vertical:hover {
  background: #2c313c;
  color: #ffffff;
}

.btn-indice-vertical .icono {
  display: none;
}

@media (max-width: 1480px) {
  .btn-indice-vertical {
    left: 0rem;
    top: 0rem;
    transform: none;
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    font-size: 1.2rem;
  }
  .btn-indice-vertical .texto {
    display: none;
  }
  .btn-indice-vertical .icono {
    display: block;
  }
}
.btn-indice-vertical.oculto {
  opacity: 0;
  pointer-events: none;
}

@keyframes fadeInIndice {
  from {
    opacity: 0;
    transform: translateY(-50%) rotate(-90deg) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) rotate(-90deg) scale(1);
  }
}
.btn-contacto-vertical {
  position: fixed;
  top: calc(50% + 4rem);
  left: 1rem;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  z-index: 1000;
  background: #1b1f27;
  color: #9cdcfe;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 8px 8px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  padding: 0.6rem 1rem;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease, color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

@media (max-width: 1480px) {
  .btn-contacto-vertical {
    left: 0rem;
    top: 3rem;
    transform: none;
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    font-size: 1.2rem;
  }
}
.boton-volver {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background-color: transparent;
  border: 1px solid #87cefa;
  border-radius: 6px;
  color: #87cefa;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.2s ease;
}
.boton-volver:hover {
  background-color: #87cefa;
  color: #000;
}

/* ────────────── BOTONES EXTRAS ────────────── */
.seguir-archivo {
  text-align: center;
  margin: 3rem 0;
}

.btn-seguir-indice,
.btn-explorar-indice {
  background-color: #2c313c;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  color: #cceeff;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-seguir-indice:hover,
.btn-explorar-indice:hover {
  background-color: #3c4452;
  color: #ffffff;
}

.form-nota {
  background: url("../images/fondo-formulario.png") no-repeat center center;
  background-size: cover;
  padding: 2rem;
  border-radius: 12px;
  max-width: 700px;
  margin: 2rem auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  font-family: "Caveat", cursive;
  color: #2d1b00;
}
.form-nota .form-field {
  margin-bottom: 1.5rem;
}
.form-nota .form-field label {
  font-weight: bold;
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
  display: block;
}
.form-nota .form-textarea-wrapper textarea {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 1px solid #b69355;
  color: #2d1b00;
  padding: 0.75rem;
  border-radius: 6px;
  font-size: 1.1rem;
  font-family: "Caveat", cursive;
  resize: vertical;
  min-height: 300px;
}
.form-nota .g-recaptcha {
  margin: 1.5rem 0;
  display: flex;
  justify-content: center;
}
.form-nota .buttons {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}
.form-nota .buttons .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid #5e3e14;
  color: #5e3e14;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.2rem;
  font-family: "Caveat", cursive;
  font-weight: bold;
  transition: background-color 0.2s ease, color 0.2s ease, border 0.2s ease;
}
.form-nota .buttons .button:hover {
  background-color: #b69355;
  color: #000;
  border-color: #b69355;
}
.form-nota .buttons .button::after {
  content: \"✎\";
  font-size: 1.2rem;
  margin-left: 0.5rem;
  transition: transform 0.2s ease;
}
.form-nota .buttons .button:hover::after {
  transform: translateX(2px) rotate(-10deg);
}

/* ────────────── RESPONSIVE ────────────── */
@media (max-width: 1024px) {
  .btn-indice-hamburguesa {
    font-size: 0.9rem;
    gap: 6px;
  }
  .panel-indice {
    width: 100%;
    left: -100%;
  }
  .overlay-indice.visible .panel-indice {
    left: 0;
  }
}
#logo-header {
  top: 0;
  background: #1b1f27;
  justify-content: center;
  align-items: center;
  padding: 2rem 0 2rem;
  border-bottom: 3px solid rgba(255, 255, 255, 0.08);
}
#logo-header .logo-link {
  display: block;
  max-width: 100%;
  padding: 0 1rem;
}
#logo-header .logo-icon {
  width: 100%;
  max-width: 460px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.icono-red {
  height: 2.9rem;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.icono-red:hover {
  opacity: 1;
}

.encabezado-publicacion {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  max-width: 1296px;
  margin-inline: auto;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.encabezado-publicacion .portada-publicacion img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}
.encabezado-publicacion .titulo-publicacion {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.encabezado-publicacion .titulo-publicacion h1 {
  font-size: 2rem;
  color: #e5c07b;
  margin-bottom: 0.5rem;
}
.encabezado-publicacion .titulo-publicacion .subtitulo {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: #c0c5ce;
  margin: 0;
}

@media (max-width: 768px) {
  .encabezado-publicacion {
    flex-direction: column;
    text-align: center;
  }
  .encabezado-publicacion .portada-publicacion img {
    width: 120px;
    height: 120px;
  }
}
.bloque-etiquetas {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: #ccc;
}
.bloque-etiquetas .titulo-etiquetas {
  font-weight: bold;
  margin-right: 0.5rem;
}
.bloque-etiquetas .etiqueta {
  color: #87cefa;
  margin-right: 0.4rem;
  text-decoration: none;
}
.bloque-etiquetas .etiqueta:hover {
  text-decoration: underline;
}

.pagina-tag {
  padding: 2rem;
}
.pagina-tag .titulo-tag {
  font-size: 1.6rem;
  color: #e5c07b;
}
.pagina-tag .subtitulo-tag {
  font-size: 1rem;
  margin-bottom: 2rem;
  opacity: 0.7;
}
.pagina-tag .lista-tag .item-tag {
  margin-bottom: 1.5rem;
}
.pagina-tag .lista-tag .item-tag a {
  font-size: 1.2rem;
  color: #87cefa;
  text-decoration: none;
}
.pagina-tag .lista-tag .item-tag .sub {
  font-size: 0.95rem;
  color: #999;
  margin-top: 0.2rem;
}

#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #1b1f27;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.4s ease;
}

.loader {
  width: 40px;
  height: 40px;
  border: 4px solid #61afef;
  border-top-color: transparent;
  border-radius: 50%;
  animation: girar 1s linear infinite;
}

@keyframes girar {
  to {
    transform: rotate(360deg);
  }
}
body.cargado #loader-wrapper {
  opacity: 0;
  pointer-events: none;
}

/*# sourceMappingURL=custom.css.map */
