@charset "UTF-8";
/* ==========================================================================
   1. VARIABLES DE DISEÑO (Extraídas directamente de la config original)
   ========================================================================== */
/* ==========================================================================
   2. MIXINS REPETITIVOS (Menú, Footer, Glow Effects, Scrollbar)
   ========================================================================== */
.projects-gallery, .projects-header, .footer-container, .nav-container {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
@media (min-width: 768px) {
  .projects-gallery, .projects-header, .footer-container, .nav-container {
    padding-left: 64px;
    padding-right: 64px;
  }
}

/* ==========================================================================
   1. INICIALIZAR ARQUITECTURA GLOBAL
   ========================================================================== */
.site-body {
  background-color: #000000;
  color: #e2e2e2;
  font-family: "Geist", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: #131313;
}

::-webkit-scrollbar-thumb {
  background: #444748;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #8e9192;
}

.nav-site {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  background-color: rgba(19, 19, 19, 0.8);
  backdrop-filter: blur(12px);
  border-color: #444748;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  vertical-align: middle;
  padding-top: 24px;
  padding-bottom: 24px;
}

.nav-logo {
  font-family: "Space Grotesk", sans-serif;
  color: #ffffff;
  letter-spacing: -0.08em;
  margin-bottom: 10px;
  font-size: 3em;
  text-decoration: none;
}

.nav-links {
  display: none;
  gap: 32px;
  align-items: center;
  position: relative;
}
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-item {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.1em;
  font-weight: 500;
  text-transform: uppercase;
  color: #c4c7c8;
  text-decoration: none;
  transition: color 0.3s ease;
  padding-bottom: 4px; /* Mantiene el espacio visual */
  position: relative;
  z-index: 2; /* Asegura que el texto quede por encima de la barra */
}
.nav-item:hover {
  color: #ffffff;
}

/* Estilos de la barra mágica */
.nav-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px; /* Grosor de la línea */
  background-color: #ffffff;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
  pointer-events: none; /* Evita que estorbe al hacer clic */
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5); /* Ligero brillo cyber */
}

.btn-nav {
  display: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.1em;
  font-weight: 500;
  text-transform: uppercase;
  transition: all 0.3s ease;
  background-color: #ffffff;
  color: #131313;
  border: none;
  padding: 12px 24px;
  cursor: pointer;
  transform: scale(0.95);
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.btn-nav:hover {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  scale: 1.02;
  transition: all 0.5s ease;
}
@media (min-width: 768px) {
  .btn-nav {
    display: inline-flex;
  }
}
.btn-nav:hover {
  background-color: #c6c6c7;
}
.btn-nav:active {
  transform: scale(0.9);
}

.btn-menu-mobile {
  background: transparent;
  border: none;
  color: #e2e2e2;
  cursor: pointer;
  display: block;
}
@media (min-width: 768px) {
  .btn-menu-mobile {
    display: none;
  }
}
.btn-menu-mobile .material-symbols-outlined {
  font-variation-settings: "FILL" 0;
}

/* Estilos solo para pantallas móviles */
@media (max-width: 767px) {
  .nav-links {
    display: none; /* Se mantiene oculto por defecto */
    flex-direction: column;
    position: absolute;
    top: 100%; /* Se coloca justo debajo del nav */
    left: 0;
    width: 100%;
    background-color: rgba(19, 19, 19, 0.95); /* Tono oscuro casi sólido */
    backdrop-filter: blur(12px); /* Efecto cristal */
    border-bottom: 1px solid #444748;
    padding: 24px;
    gap: 24px;
    text-align: center;
  }
  /* Esta es la clase que activa nuestro JS */
  .nav-links.nav-active {
    display: flex;
  }
  .nav-item {
    width: 100%;
    padding: 12px 0;
    display: block;
  }
  /* Ocultamos el indicador mágico en móvil para evitar bugs visuales */
  .nav-indicator {
    display: none !important;
  }
}
.footer-site {
  background-color: rgba(14, 14, 14, 0.9);
  backdrop-filter: blur(12px);
  border-color: #444748;
  border-top: 1px solid #444748;
  width: 100%;
  position: relative;
  z-index: 10;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding-top: 64px;
  padding-bottom: 64px;
}
@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.footer-brand-column {
  grid-column: span 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .footer-brand-column {
    grid-column: span 2;
  }
}

.footer-logo {
  font-family: "Space Grotesk", sans-serif;
  color: #ffffff;
  letter-spacing: -0.05em;
  margin-bottom: 16px;
}

.footer-brand-text {
  color: #c4c7c8;
  max-width: 24rem;
}

.footer-copyright {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.1em;
  font-weight: 500;
  text-transform: uppercase;
  color: #c4c7c8;
  margin-top: 48px;
}
@media (min-width: 768px) {
  .footer-copyright {
    margin-top: 0;
  }
}

.footer-links-column {
  grid-column: span 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.footer-column-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.1em;
  font-weight: 500;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-link {
  font-family: "Geist", sans-serif;
  color: #c4c7c8;
  text-decoration: none;
  width: fit-content;
  transition: color 0.2s ease;
  padding-bottom: 2px;
  position: relative;
  z-index: 2;
}
.footer-link:hover {
  color: #ffffff;
}

.footer-indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
  background-color: #ffffff;
  /* Transición en ejes X/Y y ancho para moverse por la columna */
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), width 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  opacity: 0; /* Oculta por defecto */
  width: 0;
}

.site-body {
  background: #ffffff;
}

.nav-site {
  background: #1b1b1b;
  border-color: #353535;
}

/* ==========================================================================
   2. EFECTOS AMBIENTALES
   ========================================================================== */
.ambient-glows {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-top {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 50%;
  height: 50%;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
}

.glow-bottom {
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 40%;
  height: 40%;
  border-radius: 50%;
  background-color: #353535;
  filter: blur(100px);
  opacity: 0.1;
}

/* ==========================================================================
   3. CABECERA Y FILTROS
   ========================================================================== */
.projects-main {
  position: relative;
  z-index: 10;
  flex-grow: 1;
}

.projects-header {
  padding-top: 96px;
  padding-bottom: 48px;
}

.projects-header-content {
  max-width: 48rem;
}

.archive-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border: 1px solid #353535;
  border-radius: 9999px;
  background-color: #0e0e0e;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ffffff;
  animation: pulse-opacity 2s infinite;
}

@keyframes pulse-opacity {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
.badge-text {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.1em;
  font-weight: 500;
  text-transform: uppercase;
  color: #c4c7c8;
}

.projects-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #131313;
  margin-bottom: 24px;
}
@media (min-width: 768px) {
  .projects-title {
    font-size: 64px;
    letter-spacing: -0.02em;
    line-height: 1.1;
  }
}

.projects-subtitle {
  font-family: "Geist", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #131313;
  margin-bottom: 40px;
  max-width: 42rem;
}

/* Barra de Filtros */
.project-card {
  border: 1px solid #353535;
  display: block;
  position: relative;
  overflow: hidden;
  background-color: #0e0e0e;
  text-decoration: none;
  will-change: opacity, transform, box-shadow;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}
.project-card:hover {
  border-color: #ffffff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.06);
}
.project-card:hover .project-image, .project-card:hover .project-image-bg {
  transform: scale(1.06);
}
.project-card:hover .project-overlay {
  opacity: 1;
}
.project-card:hover .icon-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* debug badges removed */
.filter-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #131313;
  opacity: 0;
  transform: scale(0);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 8px #131313;
}

/* ==========================================================================
   4. GALERÍA GRID (BENTO SYSTEM)
   ========================================================================== */
.projects-gallery {
  padding-bottom: 96px;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px; /* gap-unit del tailwind config original */
  grid-auto-rows: 240px;
}
@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 320px;
  }
}

/* Tamaños de las tarjetas */
@media (min-width: 768px) {
  .card-large {
    grid-column: span 8;
    grid-row: span 2;
  }
}

@media (min-width: 768px) {
  .card-medium {
    grid-column: span 4;
    grid-row: span 1;
  }
}

@media (min-width: 768px) {
  .card-wide {
    grid-column: span 6;
    grid-row: span 1;
  }
}

/* Estructura Base de la Tarjeta */
.project-card {
  border: 1px solid #353535;
  display: block;
  position: relative;
  overflow: hidden;
  background-color: #0e0e0e;
  text-decoration: none;
  will-change: opacity, transform, box-shadow;
  transition: opacity 0.45s ease-out, transform 0.45s ease-out, border-color 0.35s ease, box-shadow 0.35s ease;
}
.project-card:hover {
  border-color: #ffffff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.06);
}
.project-card:hover .project-image, .project-card:hover .project-image-bg {
  transform: scale(1.08);
}
.project-card:hover .project-overlay {
  opacity: 1;
}
.project-card:hover .icon-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Imágenes de Fondo */
.project-image, .project-image-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-image-bg {
  background-size: cover;
  background-position: center;
}

/* Modificadores de Opacidad */
.op-60 {
  opacity: 0.6;
}

.op-50 {
  opacity: 0.5;
}

.op-40 {
  opacity: 0.4;
}

/* Gradientes */
.project-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #131313, transparent);
}

.project-gradient-large {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #131313, rgba(19, 19, 19, 0.5), transparent);
}

.project-gradient-wide {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #131313, rgba(19, 19, 19, 0.4), transparent);
}

/* Contenidos y Textos */
.project-content-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
}
@media (min-width: 768px) {
  .project-content-bottom {
    padding: 32px;
  }
}
.project-content-bottom.flex-end {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.project-meta-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.project-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.1em;
  font-weight: 500;
  text-transform: uppercase;
  display: inline-block;
  color: #ffffff;
  background-color: rgba(27, 27, 27, 0.5);
  padding: 4px 8px;
  border: 1px solid #353535;
  backdrop-filter: blur(12px);
  margin-bottom: 12px;
}

.project-card-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 32px;
  color: #ffffff;
}

.project-card-title-small {
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  color: #ffffff;
}

.project-card-desc {
  font-family: "Geist", sans-serif;
  color: #c4c7c8;
  margin-top: 8px;
  max-width: 36rem;
}

.icon-arrow {
  color: #ffffff;
  background-color: rgba(27, 27, 27, 0.5);
  padding: 8px;
  border-radius: 50%;
  border: 1px solid #353535;
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateX(16px);
  transition: all 0.3s ease;
}

/* Overlay Tecnológico (Solo tarjeta grande) */
.project-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(19, 19, 19, 0.9);
  backdrop-filter: blur(8px);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overlay-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.1em;
  font-weight: 500;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 16px;
  border-bottom: 1px solid #353535;
  width: 100%;
  padding-bottom: 8px;
}

.overlay-list {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.1em;
  font-weight: 500;
  text-transform: uppercase;
  color: #c4c7c8;
  list-style: none;
  line-height: 2.5;
}
.overlay-list .text-primary {
  color: #ffffff;
}

/* Botón Load More */
.load-more-container {
  margin-top: 64px;
  text-align: center;
}

.project-card.filter-hidden {
  opacity: 0 !important;
  transform: translateY(-28px) !important;
  pointer-events: none !important;
  filter: blur(0.08rem) !important;
}

.project-card.filter-hidden.filter-hide-complete {
  display: none !important;
}

.btn-load-more {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.1em;
  font-weight: 500;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #353535;
  border: 1px solid #353535;
  background: transparent;
  padding: 16px 32px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-load-more:hover {
  border-color: #ffffff;
  background-color: #0e0e0e;
  color: #ffffff;
}
.btn-load-more:hover .icon {
  transform: translateY(4px);
}
.btn-load-more .icon {
  transition: transform 0.3s ease;
  font-size: 18px;
}

/* ==========================================================================
   5. SISTEMA DE ANIMACIÓN REVEAL (JS Triggered)
   ========================================================================== */
.reveal-element {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal-element.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 100ms;
}

.delay-150 {
  transition-delay: 150ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-250 {
  transition-delay: 250ms;
}

.delay-300 {
  transition-delay: 300ms;
}

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