body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}
header {
  font-size: 20px;
  background: #001f3f;
  color: rgb(230, 32, 32);
  padding: 5px 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header nav a {
  color: rgb(243, 240, 240);
  margin: 0 5px;
  text-decoration: none;
  font-weight: bold;
}
header nav a:hover {
  color: transparent;
}
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

footer {
  background: #001f3f;
  color: #b81818;
  padding: 30px 50px;
  text-align: center;
}
.logo {
  font-size: 18px;
  font-weight: bold;
  color: #b81818;
  margin-right: 1000px;
  margin-left: 15px; /* separa el texto de la imagen */
  white-space: nowrap; /* evita que el nombre se corte en dos líneas */
}
.logito {
  width: 150px;    
}

.logito img {
  width: 130px;     
  height: auto;
}
.btn2, .btn3, .btn4, .btn5{
  border: none;
  font-size: 18px;
  margin-top: 5px;
  padding: 12px 18px;
  margin-left: auto;
  background: #b81818;
  color: #ffffff;
  margin-left: 2%;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
  cursor: pointer;
  border-radius: 30px;

}
.btngeneral {
  display: flex;
  margin-left: -300px;
  gap: 20px; /* espacio entre botones */
}
.btn2:hover, .btn3:hover, .btn4:hover, .btn5:hover{
  background-color: #f5442d; 
}
.medio{
  text-align: center;
  font-size: 40px;
}
.contenedor-boton {
  text-align: center; 
  margin-top: 40px;   
}
.servicioss {
  background-color: #b81818; 
  color: white;
  font-size: 18px;
  padding: 12px 24px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.servicioss:hover {
  background-color: #f5442d; 
}
.tituloem{
  text-align: center;
  font-size: 40px;         
  background: transparent;
  color: #020202;
  width: 40%;                 
  padding: 15px;
  margin-top: 10px;
  border-radius: 8px;
  align-self: flex-start;
  margin-left: 50px;
  text-align: left;          
  line-height: 1.6;  
}
.tituloem p{
  font-size: 17px; 
  text-align: center;        
  background: transparent;
  color: #020202;
  width: 80%;                 
  padding: 15px;
  margin-top: 5px;
  border-radius: 8px;
  align-self: flex-start;
  text-align: left;          
  line-height: 1.6;  
}
.butonno{
  margin-left: 60px;
  margin-top: 20px 40px;   /* Espaciado opcional */
}
.texto{
   margin-top: -30px;
  background-color: #b81818; /* Azul Bootstrap */
  color: white;
  font-size: 18px;
  padding: 12px 24px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.texto:hover {
  background-color: #f5442d; /* Azul más oscuro al pasar el mouse */
}
#contacto2 {
  background-color: #001f3f;
  color: white;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-logo img {
  margin-left: -200px;  /* lo pegas al borde izquierdo */
  width: 250px;
  margin-bottom: 10px;
}

.footer-links ul,
.footer-services ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li,
.footer-services ul li {
  margin: 8px 0;
}

.footer-links ul li a,
.footer-services ul li a {
  color: white;
  text-decoration: none;
  font-size: 14px;
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
  color: #f5442d;
}

.footer-contact p {
  margin: 5px 0;
  font-size: 14px;
}

.btn-contacto {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: #b81818;
  color: white;
  font-weight: bold;
  border-radius: 25px;
  text-decoration: none;
}

.btn-contacto:hover {
  background: #f5442d;
}

.footer-social {
  margin-right: 1380px; 
  text-align: center;
  margin-top: 30px;
}

.footer-social a {
  display: inline-block;
  margin: 0 12px;
  font-size: 20px;
  color: white;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #f5442d;
}

.foter {
  text-align: center;
  background: #001f3f;
  border-top: 1px solid #ccc;
  padding: 10px;
}

.ftext {
  margin: 0;
  font-size: 13px;
  color: #bbb;
}
/* ====== Sección Servicios ====== */
#servicios {
  background: #f5f5f5;
  padding: 60px 40px;
  font-family: Arial, sans-serif;
}

#servicios .descu {
  font-size: 38px;
  font-weight: bold;
  color: #001f3f;
  margin-bottom: 10px;
}

#servicios .subtitulo {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

#servicios .btn-blog {
  display: inline-block;
  float: right;
  background: #b81818;
  color: white;
  padding: 12px 50px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  margin-top: -130px; /* lo alinea al lado del título */
}

#servicios .btn-blog:hover {
  background: #f5442d;
}

/* ====== Cards ====== */
#servicios .services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

#servicios .card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  padding: 20px;
}

#servicios .card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

#servicios .card h3 {
  font-size: 18px;
  margin: 15px 0 10px;
  color: #001f3f;
}

#servicios .card p {
  font-size: 14px;
  color: #444;
}

#servicios .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}
.clientes .logos-clientes {
    display: flex;
    flex-direction: column; /* Agrupar en columnas (filas) */
    gap: 20px;
    margin-top: 20px;
}

.clientes .logos-clientes .fila {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px; /* Espacio horizontal entre logos */
    flex-wrap: wrap;
}

.clientes .logos-clientes .fila img {
    width: 120px;
    height: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.clientes .logos-clientes .fila img:hover {
    transform: scale(1.05);
}
.clientes h2 {
  margin-left: 360px;
    color: #d52b1e;
    font-weight: bold;
    font-size: 24px;
}
.texto-testimonio {
    font-size: 22px;
    line-height: 1.5;
    color: #6b6b6b;
    max-width: 500px;
    margin-top: 20px;
}
.autor {
    font-size: 14px;
    color: #3a3a3a;
    margin-top: 20px;
    font-style: italic;
}

.navegacion {
    margin-top: 20px;
}

.navegacion button {
    background-color: #fff;
    border: 2px solid #777;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    margin: 0 5px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.navegacion button:hover {
    background-color: #f2f2f2;
}

.clientes .logos-clientes {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}
.clientes .logos-clientes img {
    width: 120px;
    height: auto;
    object-fit: contain;
}

.testimonios, .clientes {
    flex: 1;
    min-width: 300px;
    margin: 20px;
}
.contenedor {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px 60px;
    flex-wrap: wrap;
}
.testimonios h2{
    color: #d52b1e;
    font-weight: bold;
    margin-left: 150px;
    font-size: 24px;
}
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 1000;
  transition: transform 0.2s ease;
}

.whatsapp-button:hover {
  transform: scale(1.1);
}

.whatsapp-button img {
  width: 80px;
  height: 80px;
}