.encabezado {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 40vh;
  background-image: url('../imgs/img3.jpg');
  align-items: center;
  justify-content: center;  
  text-align: center;
  padding: 10px;
}

body {background-color: #000000;}

h1 {
  color: #ff547f00; 
  font-size: 1px;
  padding: 0;
}

h2 {
  background-color: #b80808; /* #aa0b0b  */
  font-family: font1;
  font-size: 5vh;
  color: #f0fbff; 
  padding: 1.5vh 1vh 1vh 1vh;
  border: 3px dotted #f0fbff;
  border-radius: 20px;
  container: none;
  margin: 2vh 1vh 2vh 1vh;
  text-align: center;
  text-shadow: 0px 0px 10px #d30c0c;
}

h3 {
  font-family: font1;
  font-size: 5vh;
  font-weight: 600;
  color: #f0fbff;
  margin: 2vh 2vh 4vh 2vh;
  text-align: center;
}

h4 {
  font-family: font1;
  font-size: 3vh;
  font-weight: 600;
  color: #f0fbff;
  background-color: #0B0B0B;
  padding: 2.5vh 2.5vw 2vh 2.5vw;
  border: 0.5vh dotted #f0fbff;
  border-radius: 20px;
  text-align: center;
}

p {
  font-family: font1;
  font-size: 3.2vh;
  font-weight: 600;
  color: #f0fbff;
  line-height: 1.3;
  text-shadow: 0px 0px 10px #631989;
  text-align: center;
  padding: 1vh;
}

.section1 {
  padding: 3vh 4vh;
  margin: auto;
  text-align: center;
}
.section2 {
  padding: 2vh 4vh;
  margin: auto;
  background-color: #b80808;
}
.section3 {
  padding: 0 0;
  margin: auto;
}

.fondo {
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;  /* centra horizontal */
  align-items: center;      /* centra vertical */
  text-align: center;  
  margin: 0;
}

.f1 {
  background-image: url('../imgs/img10.jpg');
  min-height: 30vh;
}
.f2 {
  background-image: url('../imgs/img13.jpg');
  min-height: 30vh;
}
.f3 {
  background-image: url('../imgs/img5.jpg');
  min-height: 30vh;
}
.f4 {
  background-image: url('../imgs/img21.jpg');
  min-height: 30vh;
}
.f5 {
  background-image: url('../imgs/img11.jpg');
  min-height: 30vh;
}
.f6 {
  background-image: url('../imgs/img6.jpg');
  min-height: 30vh;
}

.lista {
  font-size: 4vh;
  color: #f0fbff; 
  text-align: center;
  text-shadow: 0px 0px 2px #631989;
  margin: 2vh 1vh;
  padding: 1vh;
  background-color: #b80808;
  border: 3px dashed #0B0B0B;
}

.srv {
  font-size: 4.5vh;
  color: #f0fbff;
  text-align: center;
  text-shadow: 0px 0px 5px #631989;
}

.services {
  display: flex;
  flex-direction: column; /* móvil */
  gap: 2vh;
  margin: 2vh;
}

.card {
  padding: 7rem 3rem;
  border-radius: 2vh;
  margin: 1vh;
}

.card2 {
  padding: 7rem 3rem;
  margin: 4vh 1vh;
  min-height: 30vh;
}

.card3 {
  margin: 4vh 0;
  min-height: 30vh;
}

.c1 {background-image: url('../imgs/img2.jpg');}
.c2 {background-image: url('../imgs/img9.jpg');}
.c3 {background-image: url('../imgs/img14.jpg');}
.c4 {background-image: url('../imgs/img15.jpg');}
.c5 {background-image: url('../imgs/img16.jpg');}
.c6 {background-image: url('../imgs/img1.png');}
.c7 {background-image: url('../imgs/img17.jpg');}
.c8 {background-image: url('../imgs/img8.png');}
.c9 {background-image: url('../imgs/img18.jpg');}
.c10 {background-image: url('../imgs/img19.jpg');}
.c11 {background-image: url('../imgs/img20.jpg');}
.c12 {background-image: url('../imgs/img23.jpg');}
.c13 {background-image: url('../imgs/img22.jpg');}
.c14 {
  background-size: contain;
  background-repeat: no-repeat;
  min-height: 6vh;
  background-image: url('../imgs/wsp2.png');
  padding: 10px;}
.c15 {
  background-image: url('../imgs/img1.jpeg');
  aspect-ratio: 9 / 16;}
.c16 {
  background-image: url('../imgs/img2.jpeg');
  aspect-ratio: 9 / 16;}
.c17 {
  background-image: url('../imgs/img3.jpeg');
  aspect-ratio: 9 / 16;}
.c18 {
  background-image: url('../imgs/img4.jpeg');
  aspect-ratio: 9 / 16;}
.c19 {
  background-image: url('../imgs/img5.jpeg');
  aspect-ratio: 9 / 16;}
.c20 {background-image: url('../imgs/img24.jpg');}
.c21 {background-image: url('../imgs/img7.jpg');}
.c22 {
  background-image: url('../imgs/img6.jpeg');
  aspect-ratio: 9 / 16;}

.btn-whatsapp {
  display: inline-block;
  margin: 2vh;
  padding: 2vh 6vw 1.5vh 6vw;
  background-color: #19c759;
  color: #f0fbff;
  font-size: 2.5vh;
  font-family: font1;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  text-shadow: 0px 0px 10px rgb(0, 0, 0);
}

.whatsapp-float {
  position: fixed;
  bottom: 2vh;
  right: 2vh;
  border-radius: 50%;
  display: flex;
  align-items: center;
}

.whatsapp-float img {
  width: 9vh;
  height: 9vh;
}

.terminos {
  font-family: font1;
  font-size: 1.5vh;
  font-weight: 500;
  color: #f0fbff;
  line-height: 1.3;
  text-align: justify;
}

@media (min-width: 1024px) {
  .services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .lap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}