/* RESET */
body {
  margin: 0;
  font-family: Calibri, "Segoe UI", Arial, sans-serif;
  color: white;
  font-size: 18px;
    background-image: url('./img/bg_dt.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* SECCIONES FULL */
.section {
  width: 100%;
  position: relative;
  min-height: 100svh; /* mejor que 100vh en mobile */
}


.hero-text {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  max-width: 30%;
  text-align: center;
}

.spacer {
  height: 100px;
}

.middle-text,
.content-text {
  max-width: 44%;
  margin: 0 auto;
  text-align: center;
  font-size: 1.2em;
  margin-top: 35%;
}

/* ===================== */
/* PASTILLAS */
/* ===================== */
.pill {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

/* GRANDES */
.pill-large {
  height: 295px;
  display: flex;
  align-items: flex-end;
}

.pill-large.pl1 {
  background-image: url('./img/destacado.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.pill-large.pl2 {
  background-image: url('./img/DESTACADO_WIN_WIN.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.pill-large .pill-text {
  max-width: 65%;
  text-align: center;
  margin: 0px auto;
  line-height: 1.2em;
}

.pill-text {
  padding: 15px;
}

/* VERTICALES */
.pill-vertical {
  background: black;
}

.pill-img {
  min-height: 224px;
  background-image: url('./img/IMG_SMALL.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* línea roja */
.pill-img {
  border-bottom: 2px solid red;
}

.tit_pill {
  font-size: 1.3em;
  font-weight: bold;
}

.pill-bottom {
    padding: 6% 10%;
    background: linear-gradient(to bottom, black 70%, #395d75);
    height: 180px;
}

/* ===================== */
/* FOOTER */
/* ===================== */
.footer {
  padding: 40px 0;
}

.footer p{
  line-height: 1.2em;
}

.logo-placeholder {
  height: 40px;
  margin: 10px auto 0;
}

/* ===================== */
/* RESPONSIVE */
/* ===================== */
@media (max-width: 768px) {

  body {
    margin: 0;
    font-family: Calibri, "Segoe UI", Arial, sans-serif;
    color: white;
    min-height: 100svh;

    /* Imagen + degradado */
    background-image:
      url('./img/bg_mb.png'),
      linear-gradient(to bottom, #122c3e 0%, black 100%);
    
    /* Primera capa ocupa su altura */
    background-size: 100% auto, 100% 100%;
    background-repeat: no-repeat, no-repeat;

    /* Posiciones */
    background-position: top center, top center;
    font-size: 12px;
  }
  .section {min-height:  auto;}

  /* TEXTOS */
  .hero-text,
  .middle-text,
  .content-text {
    max-width: 90%;
    margin-top: 0%;
  }

  /* MEJOR ENCUADRE IMÁGENES */
  .section-hero {
    background-position: center center;
  }

  .section-middle {
    background-position: center center;
  }

  .section-content {
    background-position: top center;
    padding: 45% 0 10%;
  }

  /* PASTILLAS */
  .pill-large {
    height: 200px;
  }

  .pill-img {
    height: 150px;
    min-height: inherit;
  }

  .pill-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .pill-bottom {
    height: auto;
    padding: 20px 10px;
    min-height: 160px;
  }

  .tit_pill {
    font-size: 1.1em;
  }
  
  .logo-placeholder img {
    max-width: 60%;
  }
  
}