/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Arial', sans-serif;
}

/* Imagen de fondo */
.background {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: #ee3324 url('../assets/img/background-img/FONDO-CONST.webp') no-repeat center center/cover;
  z-index: -1;
}

/* Capa roja con degradado */
.overlay {
  width: 100%;
  height: 100vh;                /* Ocupa toda la altura de la ventana */
  display: flex;
  flex-direction: column;
  justify-content: center;      /* Centra verticalmente */
  align-items: center;          /* Centra horizontalmente */
  padding: 1rem;
  padding-bottom: 80px;
  position: relative;
}

/* +10 AÑOS */
.top-left {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: white;
  font-weight: bold;
  z-index: 2;
}
.top-left .plus {
  font-size: 2.5rem;
  display: block;
}
.top-left .years {
  font-size: 1.2rem;
}

/* Logo y título */
.logo-section {
  text-align: center;
  justify-content: center;
  color: white;
}
.logo {
  max-width: 500px;
  width: 80%;
  height: auto;
  margin-bottom: 0.5rem;
}

.text-sitio {
  font-size: 1.2rem;
  font-weight: bold;
  color: black;
}

.logo-10anos {
  max-width: 200px;
  width: 80%;
  height: auto;
  margin-bottom: 0.5rem;
}

.correo {
  text-align: center;
  justify-content: center;
}
.correo {
  max-width: 40px;
  width: 80%;
  height: auto;
  margin: 0.5rem;
}

/* Barra de progreso */
.progress-container {
  width: 80%;
  max-width: 600px;
  margin: 1.5rem 0;
}
.progress-container .progress-bar {
  height: 20px;
  background: white;
  width: 0;
  transition: width 2.5s ease;
  border-radius: 3px;
}
.progress-text {
  display: flex;
  justify-content: space-between;
  color: white;
  font-weight: bold;
  margin-top: 0.5rem;
  font-size: 1.2rem;
}

/* Footer */
footer {
  position: fixed;         /* Lo fija en la pantalla */
  bottom: 0;              /* Pegado al fondo */
  left: 0;
  width: 100%;            /* Ocupa todo el ancho */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: white;
  color: black;
  gap: 0.5rem;
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1); /* Sutil sombra superior */
        /* Asegura que quede por encima del contenido */
}

footer .contact p {
  margin: 0.2rem 0;
}

footer .social {
  display: flex;
  gap: 0.5rem;
}

footer .social img {
  width: 40px;
  height: 40px;
}

.rights{
    font-size: 1rem;
    color: black;
    font-weight: bold;
    display: flex;
    align-items: center;    
    gap: 0.5rem;
}

.company{
    width: 20px;
    height: auto;
    margin-bottom: 0.2rem;
}

/* Responsividad */
@media (min-width: 600px) {
  footer {
    flex-direction: row;
    justify-content: space-between;
    padding: 0.5rem 2rem;
  }
  .correo {
    max-width: 40px;
    width: 40px;
    height: auto;
    margin: 0.25rem;
  }
  .contact, .rights, .social {
    flex: 1;
  }
  .contact {
    text-align: left;
  }
  .rights {
    text-align: center;
  }
  .social {
    justify-content: flex-end;
  }
}
