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

body {
  background: transparent;
  min-height: auto;
  font-family: Montserrat, sans-serif;
}

.water-section {
  width: 100%;
  max-width: 100%;
  display: block;
  padding: 0;
  margin: 0;
  border-radius: 0 !important;
}

.scene {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0 !important;
  background: linear-gradient(
    180deg,
    #daeef8,
    #c5e4f2 22%,
    #aad5e8 40%,
    #92c8dd,
    #80bdd4 72%,
    #74b5cd
  );
}

.wave-layer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  z-index: 2;
  border-radius: 0 !important;
}

.wave-placeholder {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  border-radius: 0 !important;
}

.wave-sky {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90%;
  background: linear-gradient(
    180deg,
    #f4fafd 0%,
    #e6f4fa 25%,
    #d4ecf6 55%,
    rgba(210, 238, 250, 0.8) 80%,
    transparent 100%
  );
  border-radius: 0 !important;
}

.wave-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 42%;
  border-radius: 0 !important;
}

.wave-back {
  transform-origin: center bottom;
  animation: wave-drift-back 11s ease-in-out infinite alternate;
}

.wave-front {
  transform-origin: center bottom;
  animation: wave-drift-front 7.5s ease-in-out infinite alternate-reverse;
}

@keyframes wave-drift-back {
  0% {
    transform: translate(0) scaleY(1);
  }

  to {
    transform: translate(-1.5%) scaleY(1.06);
  }
}

@keyframes wave-drift-front {
  0% {
    transform: translate(0) scaleY(1);
  }

  to {
    transform: translate(1.8%) scaleY(0.94);
  }
}

.wave-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
}

.title-block {
  position: absolute;
  top: 12%;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  z-index: 10;
  pointer-events: none;
}

.title-top {
  font-size: clamp(0.55rem, 1.45vw, 15px);
  font-weight: 700;
  letter-spacing: 0em;
  color: #1a3d5c;
  margin-bottom: 0.18em;
  
}

/*.title-main {*/
/*  font-size: clamp(1.6rem, 5.2vw, 4.4rem);*/
/*  font-weight: 900;*/
/*  letter-spacing: 0.05em;*/
/*  color: #0cb4cc;*/
/*  line-height: 1;*/
/*}*/

.title-main {
  font-size: clamp(28px, 3.2vw, 55px);
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #0cb4cc;
  line-height: 1;
}


.bubbles-container {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
}

.bubble {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: translate(-50%, -50%);
  width: var(--bw, 4.5%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 35% 30%,
      rgba(255, 255, 255, 0.75) 0%,
      rgba(255, 255, 255, 0.28) 28%,
      rgba(255, 255, 255, 0.10) 58%,
      rgba(255, 255, 255, 0.04) 75%,
      rgba(255, 255, 255, 0) 100%
    );
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.45),
    0 4px 14px rgba(84, 152, 198, 0.18);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    opacity 0.25s ease;
  will-change: transform;
}

.bubble:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    ellipse 42% 22% at 32% 24%,
    rgba(255, 255, 255, 0.78),
    rgba(255, 255, 255, 0.25) 55%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
}

.bubble:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    ellipse 60% 60% at 50% 50%,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.02) 70%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
}

.bubble:hover,
.bubble.active {
  transform: translate(-50%, -50%) scale(1.18);
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.88) 28%,
      rgba(255, 255, 255, 0.48) 52%,
      rgba(255, 255, 255, 0.16) 72%,
      rgba(255, 255, 255, 0) 100%
    );
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 0 22px rgba(255, 255, 255, 0.55),
    0 0 52px rgba(170, 216, 244, 0.35),
    inset 0 2px 6px rgba(255, 255, 255, 0.70);
  z-index: 20;
}

.bubble-label {
  position: relative;
  z-index: 2;
  font-size: clamp(0.38rem, 1.25vw, 1rem);
  font-weight: 700;
  color: #134f86;
  letter-spacing: 0.01em;
  line-height: 1;
  -webkit-user-select: none;
  user-select: none;
  text-align: center;
  pointer-events: none;
}

.bubble-label sub {
  font-size: 0.62em;
  vertical-align: sub;
  font-weight: 700;
}

.bubble-tooltip {
  position: absolute;
  white-space: nowrap;
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  pointer-events: none;
  opacity: 0;
  z-index: 30;
  left: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 0.18s ease;
  color: #2a6ea3;
  font-family: Montserrat, sans-serif;
  font-size: clamp(0.55rem, 1vw, 0.95rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.bubble-tooltip.visible {
  opacity: 1;
}

.bubble-tooltip strong,
.bubble-tooltip b {
  font-weight: 700;
  color: #0e4f88;
}

.bubble--flip-left .bubble-tooltip {
  left: auto;
  right: calc(100% + 14px);
}

.subtitle {
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(0.38rem, 0.72vw, 0.58rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #183e5c99;
  text-align: center;
  line-height: 1.7;
  z-index: 10;
  pointer-events: none;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .water-section {
    padding: 0;
  }

  .scene {
    border-radius: 0 !important;
  }

  .wave-layer,
  .wave-placeholder,
  .wave-video,
  .wave-sky,
  .wave-svg {
    border-radius: 0 !important;
  }

  .bubble-tooltip {
    left: calc(100% + 8px);
    font-size: clamp(0.42rem, 2vw, 0.65rem);
  }

  .bubble--flip-left .bubble-tooltip {
    left: auto;
    right: calc(100% + 8px);
  }

  .subtitle {
    width: 90%;
    white-space: normal;
  }
}