/* =========================================================
   TRANSICIÓN JUSTA ECONÓMICA — Estilos estáticos
   ========================================================= */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: #ffffff;
  background-color: #111111;
  min-height: 100vh;
  overflow-x: hidden;
}

/* --- Background image + overlay --- */
.bg-img {
  position: fixed;
  inset: 0;
  background-image: url('img/transicionjusta.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: -2;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(17, 17, 17, 0.80);
  z-index: -1;
}

/* --- Layout --- */
.main-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.center {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header / Logo --- */
.site-header {
  padding: 48px 0 24px;
  text-align: center;
}

.site-title {
  font-size: clamp(20px, 4vw, 30px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.2;
}

/* --- Main content --- */
.site-content {
  padding: 20px 0 60px;
  color: #ffffff;
  text-align: center;
}

.heading {
  font-size: clamp(22px, 3.5vw, 35px);
  font-weight: 300;
  line-height: 1.35;
  color: #ffffff;
  text-align: center;
}

/* --- Footer --- */
.site-footer {
  padding: 50px 0 32px;
  text-align: center;
  color: #ffffff;
  font-size: 13px;
}

.site-footer a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s ease;
}

.site-footer a:hover {
  opacity: 0.75;
}

/* --- Responsive --- */
@media (max-width: 600px) {
  .site-header {
    padding: 32px 0 16px;
  }
}
