:root {
  --ecofos-blue: #153f61;
  --ecofos-green: #31e35c;
  --ecofos-text: #153f61;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #ffffff;
}


/* =========================================================
   WRAPPER GENERAL
========================================================= */

.ecofos-construction {
  min-height: 100vh;
}


/* =========================================================
   ESCENARIO CON FONDO
========================================================= */

.construction-stage {
  min-height: 100vh;
  width: 100%;
  position: relative;

  background-image: url(fondo.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;

  overflow: hidden;
}


/* =========================================================
   CONTENIDO CENTRADO SOBRE EL CUADRO BLANCO
========================================================= */

.construction-content {
  width: clamp(240px, 23vw, 390px);
  aspect-ratio: 1 / 1;

  padding: clamp(22px, 2vw, 36px) clamp(18px, 2vw, 30px);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  /*
    No le pongo fondo para aprovechar el cuadro blanco
    que ya viene en la imagen.
  */
}


/* =========================================================
   LOGO
========================================================= */

.construction-logo {
  width: clamp(82px, 7vw, 165px);
  height: auto;
  margin-bottom: clamp(10px, 1.3vw, 18px);
}


/* =========================================================
   LINK PRINCIPAL
========================================================= */

.construction-main-link {
  color: var(--ecofos-text);
  text-decoration: none;
  font-size: clamp(12px, 1.05vw, 19px);
  line-height: 1.1;
  margin-bottom: clamp(8px, 1vw, 14px);
}

.construction-main-link strong {
  font-weight: 700;
}

.construction-main-link:hover {
  color: var(--ecofos-text);
  text-decoration: none;
}


/* =========================================================
   TITULO
========================================================= */

.construction-title {
  color: var(--ecofos-text);
  font-size: clamp(22px, 2.05vw, 38px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.6px;
  white-space: nowrap;
  margin-bottom: clamp(18px, 1.8vw, 28px) !important;
}


/* =========================================================
   BOTONES
========================================================= */

.construction-links {
  gap: clamp(12px, 1.5vw, 24px);
  width: 100%;
  max-width: 300px;
}

.construction-btn {
  flex: 1 1 0;
  min-width: 100px;
  padding: clamp(6px, 0.7vw, 10px) clamp(10px, 1vw, 14px);
  border-radius: 999px;
  background-color: var(--ecofos-green);
  color: var(--ecofos-blue);
  text-decoration: none;
  text-align: center;
  font-size: clamp(10px, 0.9vw, 15px);
  line-height: 1;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.construction-btn:hover {
  color: var(--ecofos-blue);
  text-decoration: none;
  transform: translateY(-1px);
  filter: brightness(0.98);
}


@media (min-width: 992px) and (max-width: 1400px) {
  .construction-stage {
    background-position: center center;
    background-size: cover;
  }

  .construction-content {
    width: clamp(210px, 58vw, 290px);
    padding: 20px 14px;
  }

  .construction-logo {
    width: 65%;
  }

  .construction-main-link {
    font-size: 16px;
  }

  .construction-title {
    font-size: 25px;
  }

  .construction-links {
    max-width: 190px;
    gap: 10px;
  }

  .construction-btn {
    font-size: 15.5px;
    padding: 6px 10px;
    min-width: auto;
  }
}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 992px) {
  .construction-stage {
    background-position: center center;
    background-size: cover;
  }

  .construction-content {
    width: clamp(210px, 58vw, 290px);
    padding: 20px 14px;
  }

  .construction-logo {
    width: 50%;
  }

  .construction-main-link {
    font-size: 16px;
  }

  .construction-title {
    font-size: 25px;
  }

  .construction-links {
    max-width: 190px;
    gap: 10px;
  }

  .construction-btn {
    font-size: 15.5px;
    padding: 6px 10px;
    min-width: auto;
  }
}


/* =========================================================
   MOBILE MUY CHICO
========================================================= */

@media (max-width: 420px) {
  .construction-content {
    width: 220px;
  }

  .construction-logo {
    width: 65%;
  }

  .construction-main-link {
    font-size: 16px;
  }

  .construction-title {
    font-size: 25px;
  }

  .construction-links {
    max-width: 190px;
    gap: 10px;
  }

  .construction-btn {
    font-size: 15.5px;
    padding: 5px 7px;
  }
}