/* =====================================================
   1. RESET GLOBAL
   ===================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


/* =====================================================
   2. BASE GLOBAL
   ===================================================== */
body {
  position: relative;
  z-index: 0;

  min-height: 100vh;
  background-color: #0b0b0b;
  color: #e0e0e0;
  
  font-family: "IBM Plex Sans", system-ui, -apple-system,
               BlinkMacSystemFont, "Segoe UI", Roboto,
               Helvetica, Arial, sans-serif;
}

/* Neutralizar enlaces */
a {
  color: inherit;
  text-decoration: none;
}

a:visited,
a:hover,
a:active {
  color: inherit;
  text-decoration: none;
}


/* =====================================================
   3. FONDOS POR PÁGINA
   ===================================================== */
body.home {
  background-image: url("../img/005.jpg");
}

body.sacro {
  background-image: url("../img/002.jpg");
}

body.almacen {
  background-image: url("../img/002.jpg");
}

body.home,
body.sacro {
  background-size: cover;
  background-position: 50% 30%;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  pointer-events: none;
  z-index: -1;
}


/* =====================================================
   4. CONTENEDOR PRINCIPAL
   ===================================================== */
.container {
  position: relative;
  z-index: 1;

  max-width: 1100px;
  margin: 0 auto;
  padding: 6vh 3rem 8vh;

  background: rgba(0, 0, 0, 0.65);
  border-radius: 4px;

  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}


/* =====================================================
   5. IDENTIDAD
   ===================================================== */
.logo {
  display: block;
  margin: 0 auto 2.5rem;
  width: 96px;
  height: auto;
  opacity: 0.9;
}

/* Título adaptable */
h1 {
  text-align: center;
  font-size: clamp(1.8rem, 6vw, 3.2rem);
  font-weight: 400;
  letter-spacing: 0.45em;
  margin-bottom: 1.4rem;
}

body.sacro h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.tagline {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.9rem;
  font-weight: 300;
  opacity: 0.75;
  margin-bottom: 5rem;
}


/* =====================================================
   6. SISTEMA DE COLUMNAS
   ===================================================== */
.bilingual {
  position: relative;
}

.bilingual::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 4rem;
  margin-bottom: 3rem;
}

.bilingual .pair p {
  font-size: 0.95rem;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 1rem;
  text-align: justify;
}


/* =====================================================
   7. ESTADO SACRO SERVO
   ===================================================== */
.status {
  opacity: 0.85;
}

.status-title {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  font-weight: 400;
  margin-bottom: 0.6rem;
  opacity: 0.6;
}

.status-entry {
  font-size: 0.85rem;
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 2rem;
}

.status-action {
  margin-top: 3rem;
}

.status-action a {
  display: inline-block;
  padding: 0.6rem 1.2rem;

  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 400;

  opacity: 0.6;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.status-action a:hover {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.6);
}

.status-divider {
  border: none;
  height: 1px;
  width: 100%;
  margin: 4rem 0;
  background: rgba(255, 255, 255, 0.15);
}


/* =====================================================
   8. ZONA DE RETENCIÓN
   ===================================================== */
.retention {
  margin-top: 4rem;
}

.retention-block {
  display: grid;
  grid-template-columns: 320px 1fr;
  column-gap: 3rem;

  padding: 2.5rem;
  margin-bottom: 3.5rem;

  border: 1px solid rgba(255, 255, 255, 0.2);
}

.retention-media img {
  width: 100%;
  height: auto;
  display: block;
}

.retention-title {
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  font-weight: 400;
  margin-bottom: 0.8rem;
}

.retention-subtitle {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-bottom: 1.2rem;
}

.retention-description {
  font-size: 0.9rem;
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 2rem;
  text-align: justify;
}


/* =====================================================
   9. FOOTER
   ===================================================== */
.footer p {
  font-size: 0.75rem;
  line-height: 1.4;
  font-weight: 300;
  opacity: 0.5;
}


/* =====================================================
   10. RESPONSIVE
   ===================================================== */
@media (max-width: 900px) {

  .container {
    padding: 8vh 2rem;
  }

  /* Reducir tracking en móvil */
  h1 {
    letter-spacing: 0.15em;
  }

  .bilingual::before {
    display: none;
  }

  .pair {
    grid-template-columns: 1fr;
    row-gap: 1.5rem;
  }

  .bilingual .pair p {
    text-align: left;
  }

  .retention-block {
    grid-template-columns: 1fr;
    row-gap: 2rem;
  }
}
