@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;500;700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Outfit', sans-serif;
  background: linear-gradient(to bottom right, #e0f2ff, #f8fbff);
  color: #0a2c4d;
}

.encabezado {
  background: linear-gradient(90deg, #0B132B 0%, #1e3a8a 100%);
  padding: 2rem 1rem 1rem 1rem;
  color: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.header-content {
  max-width: 1200px;
  margin: 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;
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
  margin: 0;
}

.boton-inicio {
  background-color: #1e3a8a;
  color: white;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.boton-inicio:hover {
  background-color: #3346b2;
  transform: scale(1.05);
}

.contenido {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.servicio {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: nowrap;
  max-width: 1100px;
  margin: auto;
}

.collage-imagenes {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.2rem;
  align-items: center;
}

.imagen-circular {
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin: 0 auto;
}

.imagen-circular:hover {
  transform: scale(1.05);
}

.info-servicio {
  flex: 1;
  min-width: 280px;
}

.info-servicio h2 {
  font-size: 1.6rem;
  color: #1766a6;
  margin-bottom: 1rem;
}

.info-servicio ul {
  margin-bottom: 1rem;
  padding-left: 1.2rem;
}

.info-servicio ul li {
  margin-bottom: 0.5rem;
}

.link-sin-estilo {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.link-sin-estilo:hover {
  text-decoration: underline;
  color: #1766a6;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  font-size: 1.8rem;
  width: 44px;
  height: 44px;
  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;
}

.footer {
  text-align: center;
  padding: 1.5rem;
  background: #0B132B;
  color: #ffffff;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 3rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .titulo-encabezado {
    font-size: 1.6rem;
  }

  .servicio {
    flex-direction: column;
    text-align: center;
  }

  .collage-imagenes {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .imagen-circular {
    width: 150px;
    height: 150px;
  }

  .logo {
    height: 50px;
  }
}
