* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
}

body {
  min-height: 100dvh;
  padding: 15px;
  background: #f9f8ed;
  font-family: "Iskra W01 Bold";
}


/* =========================
   CONTENEDOR PRINCIPAL
========================= */

.micontainer {
  width: 100%;
  min-height: calc(100dvh - 30px);

  background-color: #f9f8ed;
  background-image: url('../../assets/img/fondoPV.png');
  background-size: cover;
  background-position: center;

  border: 7px solid #a3dbe3;
  border-radius: 20px;

  padding: 2em 0 0 0;

  display: flex;
  flex-direction: column;

  overflow: hidden;
}


/* =========================
   LOGOS
========================= */

.conten-logos {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;

  width: 100%;
  max-width: 850px;

  margin: 0 auto;
  padding: 0 20px;
}

.lg {
  width: 150px;
}

.img-res > img {
  max-width: 100%;
  height: auto;
  display: block;
}


/* =========================
   CONTENIDO CENTRAL
========================= */

.contenido {
  flex: 1;

  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;

  width: 100%;
  max-width: 850px;

  margin: 0 auto;

  padding: 10px 20px;
}


/* =========================
   TITULO
========================= */

.tit {
  color: #0a369e;

  font-family: "Iskra W01 Bold";

  text-align: center;

  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;

  padding: 0 30px;

  margin: 0;
}


/* =========================
   LUMI
========================= */

.lumi {
  width: 100%;

  display: flex;
  justify-content: center;
  align-items: center;
}

.lumi img {
  width: 100%;
  max-width: 500px;

  height: auto;

  display: block;
}


/* =========================
   TEXTOS
========================= */

.text-center {
  text-align: center;
}

p {
  color: #0a369e;
  font-family: "Iskra W01 Light";
}

.clain1 {
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.15;

  margin: 0 0 .7em 0;
}

.clain2 {
  font-size: clamp(1.7rem, 2.5vw, 2.6rem);
  line-height: 1.1;

  margin: 0;
}


/* =========================
   LINK BOTÓN
========================= */

.micontainer > a {
  display: block;
  width: 100%;

  margin-top: auto;

  text-decoration: none;
}


/* =========================
   BOTÓN INFERIOR
========================= */

.boton-home {
  position: relative;

  width: 100%;

  display: flex;
  justify-content: center;
  align-items: center;

  overflow: visible;
}


/* =========================
   EXTENSIÓN DEL CINTILLO
========================= */

.boton-home::before {
  content: "";

  position: absolute;

  left: 0;
  right: 0;

  top: 50%;

  transform: translateY(-50%);

  height: 125px;

  background-color: #87dce4;

  z-index: 0;
}


/* =========================
   IMAGEN BOTÓN
========================= */

.boton-home img {
  position: relative;

  z-index: 1;

  width: 100%;
  max-width: 650px;

  height: auto;

  display: block;
}


/* =========================
   HOVER
========================= */

@media (hover: hover) {

  .boton-home img {
    transition:
      transform .2s ease,
      filter .2s ease;
  }

  .boton-home:hover img {
    transform: scale(1.03);
    filter: brightness(1.03);
  }

}


/* =========================
   DESKTOP
========================= */

@media (min-width: 769px) {

  body {
    padding: 20px;
  }

  .micontainer {
    min-height: calc(100dvh - 40px);
    padding-top: 1.5em;
  }

  .lg {
    width: 130px;
  }

  .lumi img {
    max-width: 420px;
  }

  .boton-home img {
    max-width: 540px;
  }

  .boton-home::before {
    height: 105px;
  }

}


/* =========================
   DESKTOP GRANDE
========================= */

@media (min-width: 1200px) {

  .conten-logos {
    max-width: 750px;
  }

  .contenido {
    max-width: 750px;
  }

  .tit {
    font-size: 2.5rem;
  }

  .lumi img {
    max-width: 390px;
  }

  .clain1 {
    font-size: 1.5rem;
  }

  .clain2 {
    font-size: 2rem;
  }

  .boton-home img {
    max-width: 500px;
  }

  .boton-home::before {
    height: 95px;
  }

}


/* =========================
   MONITORES MUY GRANDES
========================= */

@media (min-width: 1600px) {

  .contenido {
    max-width: 800px;
  }

  .lumi img {
    max-width: 410px;
  }

  .boton-home img {
    max-width: 520px;
  }

  .boton-home::before {
    height: 100px;
  }

}


/* =========================
   CELULAR
========================= */

@media (max-width: 768px) {

  .conten-logos {
    max-width: none;
  }

  .contenido {
    max-width: none;

    padding-left: 0;
    padding-right: 0;
  }

  .lg {
    width: 135px;
  }

  .tit {
    font-size: clamp(2rem, 8vw, 3rem);
    padding: 0 35px;
  }

  .lumi img {
    width: 100%;
    max-width: 550px;
  }

  /* En celular usamos el botón original completo */

  .boton-home::before {
    display: none;
  }

  .boton-home img {
    width: 100%;
    max-width: none;
  }

}


/* =========================
   PANTALLAS BAJAS
========================= */

@media (max-height: 700px) {

  .micontainer {
    padding-top: 1em;
  }

  .lg {
    width: 110px;
  }

  .contenido {
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .tit {
    font-size: 1.8rem;
    padding: 0 30px;
  }

  .lumi img {
    max-width: 350px;
  }

  .clain1 {
    font-size: 1.3rem;
    margin-bottom: .5em;
  }

  .clain2 {
    font-size: 1.8rem;
  }

  .boton-home img {
    max-width: 420px;
  }

  .boton-home::before {
    height: 80px;
  }

}


/* =========================
   CELULAR + PANTALLA BAJA
========================= */

@media (max-width: 768px) and (max-height: 700px) {

  .boton-home img {
    width: 100%;
    max-width: none;
  }

  .boton-home::before {
    display: none;
  }

}