* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Josefin Sans', sans-serif;
}

body {
  color: #fff;
  line-height: 1.6;
}

/* CONTENEDOR */
.container {
  max-width: 1400px;
  margin: auto;
  padding: 4rem 1.5rem;
}

.center {
  text-align: center;
}


/* INTRO */
.intro {
  background: url("../images/fondo3.jpg") center/cover no-repeat;
  background-attachment: fixed;
}

/* SERVICIOS */
.services {
  background: url("../images/fondo2.jpg") center/cover no-repeat;
    background-attachment: fixed;
}

/* CONTENIDO / CONTACTO */
.content,
.contact,
.footer {
 
  background: url("../images/fondo-cuerpo.jpg") center/cover no-repeat;
   background-attachment: fixed;
   background-color: #000;
}



/* SPLIT (TEXTO + IMAGEN) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.intro-image img {
  width: 100%;
  border-radius: 0px;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

/* SERVICIOS – IMÁGENES MÁS LARGAS */
.service-card {
  background: rgb(255 255 255 / 26%);
  color: #000;
  padding: 1.5rem 1rem; /* MÁS ESPACIO */
  border-radius: 8px;
  text-align: left; /* MEJOR PARA MUCHO TEXTO */
  display: flex;
  flex-direction: column;
}


.service-card img {
  width: 100%;
  height: 460px; /* LARGAS */
  object-fit: cover;
  border-radius: 3px;
  margin-bottom: 1.5rem;
}
.service-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.50rem;
}

.service-card p {
  line-height: 1.8;
  font-size: 1rem;
}

/* TESTIMONIOS */
.testimonials {
  background: url("../images/fondo-cuerpo.jpg") center/cover no-repeat;
  background-attachment: fixed;
}
.testimonials2
 {
  background: url("../images/fondo-cuerpo.jpg") center/cover no-repeat;
  background-attachment: fixed;

  
}
.testimonials2 h1
 {
  text-align: center;

  
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0);
  color: #ffffff;
  padding: 2rem;
  border-radius: 0px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* VIDEO E IMÁGENES */
.testimonial-card img {
  width: 100%;
  border-radius: 5px;
  max-height: 500px;
  
}
.testimonial-card video {

  border-radius: 5px;
  min-height: 100px;
  
}
/* TEXTO */
.testimonial-text {
  font-size: 1rem;
  line-height: 1.8;
}

.testimonial-name {
  font-weight: bold;
  font-size: 0.95rem;
  color: #f1ff2a;
}

.bg-overlay {
  background: rgba(0, 0, 0, 0.41); /* ajusta la opacidad */
  width: 100%;
  
}
.container22 {
   background: rgb(0 0 0 / 57%);
   
}
.bg-overlay2 {
    background: rgba(0, 0, 0, 0.41);
    width: 100%;
    max-width: 1400px;
  margin: auto;
  padding: 4rem 1.5rem;
}
/* HERO */
.hero {
  min-height: 100vh;
  background: url("../images/fondo-cuerpo.jpg") center/cover no-repeat;
  display: flex;
  justify-content: center;
    background-attachment: fixed;
}

/* CONTENIDO HERO */
.hero-content {
  max-width: 100%;
  padding: 2rem 1.5rem;
  padding-top: 3rem; /* SUBE TODO */
  width: 100%;
}

/* LOGO */
.logo {
  max-width: 350px; /* MÁS GRANDE */
  margin-bottom:2rem;
}

/* TÍTULO HERO */
.hero h1 {
  margin-top: 0.5rem;
}

/* BOTÓN WHATSAPP */
.whatsapp-float {
  position: fixed;
  left: -47px;
  bottom: -76px;
  background: #25d36500;
  padding: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.whatsapp-float img {
  width: 309px;
  height: 233px;
}

/* BOTÓN NORMAL */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-whatsapp img {
  width: 440px;
  
}
.btn-whatsappp img {
  width: 250px;
  
}
/* IMAGEN FLOTANTE – TEXTO RODEA */
.intro-float-img {
  float: left;
  width: 360px;
  max-width: 100%;
  margin: 0 2rem 1.5rem 0;
  border-radius: 5px;
}

/* LIMPIA EL FLOAT */
.clear {
  clear: both;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 2rem 1.5rem;
}

/* RESPONSIVE */


@media (max-width: 768px) {
  .split {
    grid-template-columns: 1fr;
  }

  .service-card img {
    height: 411px;
  }

  .hero,
  .services,
  .content {
    background-attachment: scroll;
  }

.logo {
  max-width: 250px;
}
 .intro-float-img {
    float: none;
    display: block;
    margin: 0 auto 2rem;
    width: 100%;
    max-width: 350px;
  }
.btn-whatsapp img {
  width: 240px;
  
}

.miniletra {
 font-size: 20px;
}

}
@media (min-width: 768px) {
  .container {
  max-width: 1400px;
  margin: auto;
  padding: 4rem 5rem;
}

.miniletra {
 font-size: 28px;
}

.bg-overlay2 {
   max-width: 1700px;
  margin: auto;
  padding: 4rem 5rem;
   background: rgba(0, 0, 0, 0.41);
}
  .container2 {
  max-width: 1600px;
  margin: auto;
  padding: 4rem 2rem;
  }
   
.container22 {
  max-width: 1600px;
  margin: auto;
  padding: 4rem 2rem;
   background: rgb(0 0 0 / 57%);
   
}


}
