* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
}
body {
  font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}
.main-wrapper {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}
.icon-container {
  width: 230px;
  height: 230px;
  margin-bottom: 35px;
  background: radial-gradient(circle, #ffffff 0%, #E0F4F7 60%, #45BBCB 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 40px rgba(69, 187, 203, 0.25), inset 0 2px 10px rgba(255, 255, 255, 0.9);
  animation: respirar 3.2s ease-in-out infinite;
}
.ribbon-img {
  width: 135px;
  height: 135px;
  object-fit: contain;
}
@keyframes respirar {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 16px 40px rgba(69, 187, 203, 0.25), inset 0 2px 10px rgba(255, 255, 255, 0.9);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 22px 50px rgba(69, 187, 203, 0.35), inset 0 2px 10px rgba(255, 255, 255, 1);
  }
}
h1 {
  color: #45BBCB;
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  line-height: 1.25; /* Espaciado equilibrado entre líneas */
  max-width: 780px;   /* Ligeramente más ancho para que respire cómodo en escritorio */
  text-transform: uppercase;
}
h3 {
  color: #EB639F;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2.5px;
  margin-bottom: 18px;
}
p {
  color: #64748b;
  font-size: 19px;
  font-weight: 400;
}
footer {
  width: 100%;
  padding: 25px 20px;
  font-size: 14px;
  color: #64748b;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
footer a {
  color: #0f172a;
  text-decoration: none;
  font-weight: 700;
}
footer a:hover {
  text-decoration: underline;
}
.heart-icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: middle;
  margin: 0 2px;
}
@media (max-width: 600px) {
  h1 {
    font-size: 28px;
  }
  h3 {
    font-size: 19px;
  }
  p {
    font-size: 16px;
  }
  .icon-container {
    width: 170px;
    height: 170px;
    margin-bottom: 25px;
  }
  .ribbon-img {
    width: 100px;
    height: 100px;
  }
}

.icon-container {
  position: relative;
  width: 210px;
  height: 210px;
  margin-bottom: 45px;
  background: radial-gradient(circle, #ffffff 0%, #E0F4F7 60%, #45BBCB 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 40px rgba(69, 187, 203, 0.25), inset 0 2px 10px rgba(255, 255, 255, 0.9);
  animation: respirar 3.2s ease-in-out infinite;
}

/* Logo de los pulmones bien definido en el centro */
.logo-pulm-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 125px;
  height: auto;
  z-index: 1;
}

/* Lazo sutil, traslúcido y ajustado para no invadir el título */
.ribbon-overlay-img {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 175px;        /* Reducido para no tocar el texto */
  height: auto;
  z-index: 2;
  opacity: 0.55;       /* Transparencia para traslucir los pulmones */
  pointer-events: none;
  filter: drop-shadow(0px 4px 10px rgba(15, 23, 42, 0.12));
}
@keyframes respirar {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 16px 40px rgba(69, 187, 203, 0.25), inset 0 2px 10px rgba(255, 255, 255, 0.9);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 22px 50px rgba(69, 187, 203, 0.35), inset 0 2px 10px rgba(255, 255, 255, 1);
  }
}