h1 {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.8rem;
  font-weight: 800;
  color: #003057;
  line-height: 1.2;
}

/* ======== BLOQUE COMPARATIVO ======== */
.pdf-descarga {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.pdf-descarga .img-bloque {
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
}

.pdf-descarga .img-bloque img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.pdf-descarga .texto-bloque {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pdf-descarga .texto-bloque h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #003366;
}

.pdf-descarga .texto-bloque p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.pdf-descarga .btn {
  background-color: #003366;
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.pdf-descarga .btn:hover {
  background-color: #002244;
  transform: translateY(-2px);
}

/* Modo móvil */
@media (max-width: 768px) {
  .pdf-descarga {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .pdf-descarga .texto-bloque,
  .pdf-descarga .img-bloque {
    flex: 1 1 100%;
    max-width: 100%;
  }
}


/* ======== GALERÍA DE IMÁGENES ======== */

.grid-gallery {
  display: flex;
  flex-wrap: wrap;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 4rem; 
}

.grid-gallery img {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

.grid-gallery img:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* ======== TARJETAS DE "NUESTROS SERVICIOS" ======== */
.servicios-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicios-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.servicios-card img {
  width: 100%;
  height: auto;
  display: block;
}

.servicios-card h3 {
  font-family: 'Arial', sans-serif;
  font-size: 1.4rem;
  font-weight: bold;
  color: #003366;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.servicios-card h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: #00a0df;
  margin: 0.4rem auto 0 auto;
  border-radius: 2px;
}

.servicios-card p {
  font-size: 0.95rem;
  line-height: 1.4;
  text-align: center;
  padding: 0 1rem;
  color: #333;
}

.servicios-card a {
  display: inline-block;
  background-color: #003366;
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: bold;
  text-decoration: none;
  margin: 1rem auto 1.5rem auto;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.servicios-card a:hover {
  background-color: #002244;
  transform: translateY(-2px);
}

/* ======== BOTONES GENERALES ======== */
.btn {
  display: inline-block;
  background-color: #003366;
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: #002244;
  transform: translateY(-2px);
}


