img {
  height: auto;
  max-width: 100%;
}
.hero {
  padding: 100px 0;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text h1 {
  font-size: 40px;
  margin-bottom: 20px;
}

.hero-text p {
  margin-bottom: 30px;
  font-size: 18px;
  color: #555;
}

.hero-visual .visual-box {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #1f5fa8, #000);
  border-radius: 8px;
}

.problems,
.services {
  padding: 80px 0;
}

.problems {
  background-color: #f7f9fc;
}

h2 {
  font-size: 28px;
  margin-bottom: 40px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card {
  background: #ffffff;
  padding: 35px;
  border-radius: 8px;
  border: 1px solid #eef1f5;
  box-shadow: 0 8px 25px rgba(15, 23, 36, 0.04);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Línea superior elegante */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #1f5fa8, #0f1724);
  opacity: 0.8;
}

/* Hover sutil y profesional */
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(15, 23, 36, 0.08);
}

.card h3 {
  margin-bottom: 16px;
  font-size: 18px;
  color: #0f1724;
}

.card p {
  color: #5c6675;
  font-size: 15px;
}
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .hero {
    padding: 60px 0;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .hero-text h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero-text p {
    font-size: 16px;
  }

  .hero-visual .visual-box {
    height: 220px;
  }
  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
  }

  .hero .btn-primary,
  .hero .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 14px;
    margin-left: 0; /* elimina margin del secundario */
  }

  .hero .btn-secondary {
    background: transparent;
    border: 1.5px solid #1f5fa8;
    color: #1f5fa8;
  }

  /* SECCIONES */
  .problems,
  .services {
    padding: 60px 0;
  }

  h2 {
    font-size: 22px;
    margin-bottom: 30px;
    line-height: 1.3;
  }

  /* CARDS */
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card {
    padding: 25px;
  }

  .card h3 {
    font-size: 17px;
  }

  .card p {
    font-size: 14px;
  }

}

.services-visual{
  text-align: center;
}
























.home-testimonios{

padding:120px 20px;
max-width:1200px;
margin:auto;
text-align: justify;

}

.testimonios-header{

max-width:600px;
margin-bottom:70px;

}

.testimonios-header h2{

font-size:2rem;
margin-bottom:15px;

}

.testimonios-header p{

opacity:0.7;
line-height:1.6;

}


/* grid */

.testimonios-grid{

display:grid;
grid-template-columns:1fr 1fr;
gap:60px;

}


/* card */

.testimonio-card{

padding-left:25px;
border-left:2px solid #e2e2e2;

transition:all .25s ease;

}

.testimonio-card:hover{

border-left-color:#3b6f5c;

}


/* titulo */

.testimonio-card h3{

font-size:1.2rem;
margin-bottom:15px;

}


/* texto */

.testimonio-resumen{

line-height:1.7;
opacity:0.85;
margin-bottom:20px;

}


/* link */

.testimonio-link{

text-decoration:none;
font-size:.9rem;
opacity:.7;

}

.testimonio-link:hover{

opacity:1;

}


/* footer */

.testimonios-footer{

margin-top:60px;

}

.testimonios-ver-mas{

text-decoration:none;
font-size:.95rem;

}


/* responsive */

@media (max-width:900px){

.testimonios-grid{

grid-template-columns:1fr;
gap:40px;

}

}