/* -----------------------------
   Base reset / defaults
------------------------------ */

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

html, body {
  height: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #0d0f10;
  color: #e2e4e5;
  line-height: 1.45;
}

/* -----------------------------
   Header
------------------------------ */

.site-header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1px 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 90px;
  width: auto;
}

.main-nav a {
  margin-left: 24px;
  text-decoration: none;
  color: #cfd3d6; /* blanco roto frío */
  font-size: 16px;
  font-weight: 400;
}

.main-nav a:hover {
  color: #ffffff;
}

/* -----------------------------
   Hero
------------------------------ */

.hero {
  position: relative;
  min-height: 100vh;

  background-image: url("../img/backgroundbike.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: flex-end;
}

/* 
  Overlay documental / unix:
  - baja saturación
  - controla blancos del graffiti
  - no efecto cinematográfico
*/
.hero-overlay {
  position: absolute;
  inset: 0;

  /* Base oscura */
  background-color: rgba(10, 12, 18, 0.55);

  /* Procesamiento digital */
  backdrop-filter:
    saturate(120%)
    contrast(125%)
    brightness(85%)
    hue-rotate(-15deg);

  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    120deg,
    rgba(255, 0, 180, 0.15),
    rgba(0, 180, 255, 0.15)
  );

  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 2;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.15),
    rgba(255,255,255,0.15) 1px,
    rgba(0,0,0,0) 2px,
    rgba(0,0,0,0) 4px
  );

  mix-blend-mode: overlay;
  opacity: 0.25;
  pointer-events: none;
  z-index: 3;
}


.hero-content {
  position: relative;
  z-index: 2;

  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px 48px;
}

/* -----------------------------
   Editorial line
------------------------------ */

.editorial-line {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: #a6abb0; /* gris metadata */
  letter-spacing: 0.6px;
  text-transform: lowercase;
}

/* -----------------------------
   Footer
------------------------------ */

.site-footer {
  background-color: #0d0f10;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}


.legal-nav a {
  margin-right: 16px;
  font-size: 11.5px;
  color: #6f7478;
  text-decoration: none;
}

.legal-nav a:hover {
  color: #9aa0a4;
}

.site-credit a {
  font-size: 11.5px;
  color: #6f7478;
  text-decoration: none;
  font-family: 'JetBrains Mono', monospace;
}

.site-credit a:hover {
  color: #9aa0a4;
}


/* -----------------------------
   Responsive
------------------------------ */

@media (max-width: 768px) {

  .main-nav a {
    margin-left: 16px;
    font-size: 13px;
  }

  .editorial-line {
    font-size: 12px;
  }
}

@media (max-width: 768px) {

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

}

