@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;500;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  background: linear-gradient(to bottom right, #f0f4f8, #e6ecf3);
  color: #0B132B;
  line-height: 1.6;
}

.encabezado {
  background: linear-gradient(90deg, #0B132B 0%, #1e3a8a 100%);
  padding: 2rem 1rem 1rem 1rem;
  color: white;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: relative;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto 1rem auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  height: 60px;
  background: #fff;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.titulo-encabezado {
  flex: 1;
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.btn-inicio {
  background-color: #1e3a8a;
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.3s ease, transform 0.3s ease;
  font-size: 1.1rem;
}

.btn-inicio:hover {
  background-color: #3346b2;
  transform: scale(1.05);
}

.contenido {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.bloque {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.bloque.reverse {
  flex-direction: row-reverse;
}

.bloque img {
  width: 100%;
  max-width: 450px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.bloque .texto {
  flex: 1;
  min-width: 280px;
}

.bloque h2 {
  font-size: 1.6rem;
  color: #1e3a8a;
  margin-bottom: 1rem;
}

.bloque p,
.bloque ul {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #0B132B;
}

.bloque ul {
  padding-left: 1.2rem;
  list-style: disc;
}

.grid-beneficios {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.beneficio {
  background: rgba(255, 255, 255, 0.25);
  padding: 1.5rem;
  border-radius: 16px;
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  max-width: 320px;
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.beneficio:hover {
  transform: translateY(-5px);
}

.beneficio i {
  font-size: 2rem;
  color: #1e3a8a;
  margin-bottom: 0.8rem;
}

.beneficio h3 {
  color: #1e3a8a;
  margin-bottom: 0.5rem;
}

.beneficio p {
  font-size: 0.95rem;
  color: #0B132B;
}

.boton-contacto {
  text-align: center;
  margin: 3rem 0;
  animation: fadeIn 1.5s ease;
}

.btn-contacto {
  display: inline-block;
  padding: 0.9rem 2rem;
  background-color: #1766a6;
  color: #ffffff;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-contacto i {
  margin-right: 8px;
}

.btn-contacto:hover {
  background-color: #0b3f66;
  transform: scale(1.05);
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  font-size: 1.8rem;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s;
  z-index: 999;
}

.whatsapp-float:hover { 
  transform: scale(1.05);
}

.whatsapp-float .tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  right: 60px;
  background: #24d736;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

.whatsapp-float:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

.main-footer {
  text-align: center;
  font-size: 0.9rem;
  padding: 2rem 1rem;
  background: #0B132B;
  color: #ffffff;
  border-top: 1px solid #ccc;
  margin-top: 4rem;
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .titulo-encabezado {
    font-size: 1.7rem;
  }

  .bloque,
  .bloque.reverse {
    flex-direction: column;
    text-align: center;
  }

  .bloque img {
    max-width: 100%;
  }

  .grid-beneficios {
    flex-direction: column;
    align-items: center;
  }
}
