* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.header-scrolled {
  background: rgba(10, 46, 92, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 26px rgba(0, 0, 0, 0.18);
}

.mobile-nav {
  transform: translateX(100%);
  transition: transform 0.35s ease;
}

.mobile-nav.open {
  transform: translateX(0);
}

.hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(10, 46, 92, 0.88) 0%,
    rgba(26, 95, 168, 0.75) 50%,
    rgba(74, 159, 227, 0.5) 100%
  );
}

.hero-gradient {
  background: linear-gradient(135deg, #7bbef0, #4a9fe3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dot-pattern {
  background-image: radial-gradient(circle, rgba(74, 159, 227, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
}

.card-hover {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(10, 46, 92, 0.12);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.45); opacity: 0; }
}

.cta-pulse { position: relative; }
.cta-pulse::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: rgba(74, 159, 227, 0.4);
  animation: pulse-ring 2s ease-out infinite;
  z-index: -1;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  font-size: 24px;
  z-index: 999;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.4);
}
