* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  font-family: Arial, Helvetica, sans-serif;
  color: #ffffff;
  background: #010d1c;
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.site {
  width: 100%;
  overflow: hidden;
  background: #032946;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      #86d7ff 0%,
      #b9ecff 36%,
      #d8f7ff 55%,
      #8ee3ef 58%,
      #35b6d8 63%,
      #0f9bc4 72%,
      #087fb2 86%,
      #056c9f 100%
    );
}

.sky {
  position: absolute;
  inset: 0 0 42% 0;
  overflow: hidden;
  z-index: 1;
}

.sky-img {
  position: absolute;
  display: block;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.sun-img {
  top: 7%;
  right: 10%;
  width: clamp(88px, 19vw, 140px);
  filter: drop-shadow(0 0 34px rgba(255, 218, 82, 0.7));
}

.cloud-img {
  opacity: 0.88;
  filter: drop-shadow(0 8px 18px rgba(255, 255, 255, 0.18));
}

.cloud-img-01 {
  top: 16%;
  left: 7%;
  width: clamp(130px, 38vw, 250px);
}

.cloud-img-02,
.cloud-img-03 {
  display: none;
}

.hero-copy {
  position: absolute;
  left: 50%;
  top: calc(env(safe-area-inset-top, 0px) + 88px);
  z-index: 5;
  width: min(92vw, 920px);
  transform: translateX(-50%);
  text-align: center;
}

.hero-heading {
  margin: 0;
  color: #ffffff;
  font-size: clamp(38px, 9vw, 92px);
  line-height: 0.88;
  font-weight: 900;
  letter-spacing: -0.08em;
  text-align: center;
  text-transform: uppercase;
  text-shadow:
    0 3px 0 rgba(0, 74, 116, 0.18),
    0 18px 46px rgba(0, 74, 116, 0.25);
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.02em;
  transition:
    transform 220ms ease,
    background 220ms ease,
    color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.hero-btn:hover {
  transform: translateY(-2px);
}

.hero-btn--telegram {
  background: #2aabee;
  color: #ffffff;
  border: 1px solid rgba(42, 171, 238, 0.48);
  box-shadow: 0 18px 42px rgba(0, 90, 140, 0.24);
}

.hero-btn--telegram:hover {
  background: #38bfff;
  color: #ffffff;
  border-color: rgba(56, 191, 255, 0.66);
  box-shadow: 0 22px 48px rgba(0, 90, 140, 0.3);
}

.hero-btn--call {
  background: #29d66f;
  color: #ffffff;
  border: 1px solid rgba(41, 214, 111, 0.42);
  box-shadow: 0 18px 42px rgba(0, 90, 140, 0.22);
}

.hero-btn--call:hover {
  background: #36ef80;
  color: #ffffff;
  border-color: rgba(54, 239, 128, 0.62);
  box-shadow: 0 22px 48px rgba(0, 90, 140, 0.28);
}

.surface {
  position: absolute;
  left: 0;
  right: 0;
  top: 56%;
  height: 44%;
  overflow: visible;
  z-index: 3;
  background:
    linear-gradient(
      180deg,
      rgba(47, 176, 211, 0.52) 0%,
      rgba(8, 136, 184, 0.48) 24%,
      rgba(5, 113, 170, 0.24) 62%,
      rgba(5, 108, 159, 0) 100%
    );
}

.surface::before {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  top: -6px;
  height: 28px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0.06) 38%,
      transparent 100%
    );
  filter: blur(6px);
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
}

.surface::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.018) 0px,
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px,
      transparent 30px
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.025) 0%,
      transparent 28%
    );
  opacity: 0.18;
  animation: waterTexture 14s linear infinite;
  z-index: 0;
  pointer-events: none;
}

.wave {
  position: absolute;
  left: -10%;
  width: 120%;
  height: 34px;
  z-index: 1;
  opacity: 0.14;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      transparent 90px,
      rgba(255, 255, 255, 0.1) 92px,
      transparent 180px
    );
  filter: blur(0.8px);
}

.wave-one {
  top: 14px;
  animation: waveMove 11s ease-in-out infinite;
}

.wave-two {
  top: 40px;
  opacity: 0.1;
  animation: waveMove 15s ease-in-out infinite reverse;
}

.boat {
  position: absolute;
  top: -130px;
  left: 67%;
  width: min(42vw, 190px);
  height: auto;
  transform: translateX(-50%);
  animation: boatFloat 3.8s ease-in-out infinite;
  z-index: 6;
}

.boat-img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.hero-line {
  position: absolute;
  left: 50%;
  top: 70px;
  width: 1px;
  height: calc(100% - 70px);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.18);
  transform: translateX(-50%);
  z-index: 2;
}

.bubble-cue {
  position: absolute;
  left: calc(50% + 1px);
  right: auto;
  bottom: 3px;
  z-index: 7;
  display: block;
  width: clamp(70px, 18vw, 104px);
  opacity: 0.82;
  filter: drop-shadow(0 12px 28px rgba(0, 61, 96, 0.22));
  animation: bubbleCue 2.8s ease-in-out infinite;
}

.bubble-cue img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.onboard-placeholder,
.gallery-placeholder,
.footer-placeholder {
  padding: 76px 22px;
  background: #01172f;
  color: #ffffff;
}

.onboard-placeholder h2,
.gallery-placeholder h2,
.footer-placeholder h2 {
  margin: 0 0 14px;
  font-size: 34px;
  letter-spacing: -0.05em;
}

.onboard-placeholder p,
.gallery-placeholder p,
.footer-placeholder p {
  margin: 0;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.5;
  opacity: 0.78;
}

@keyframes boatFloat {
  0%, 100% {
    transform: translateX(-50%) translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateX(-50%) translateY(5px) rotate(1deg);
  }
}

@keyframes waveMove {
  0%, 100% {
    transform: translateX(-10px);
  }

  50% {
    transform: translateX(10px);
  }
}

@keyframes waterTexture {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(30px);
  }
}

@keyframes bubbleCue {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.76;
  }

  50% {
    transform: translateY(-10px) scale(1.04);
    opacity: 1;
  }
}

@supports (animation-timeline: view()) {
  .bubble-cue {
    animation:
      bubbleCue 2.8s ease-in-out infinite,
      bubbleFade linear both;
    animation-timeline: auto, view();
    animation-range: normal, exit 0% exit 80%;
  }

  @keyframes bubbleFade {
    from {
      opacity: 0.86;
    }

    to {
      opacity: 0;
      transform: translateY(-28px) scale(0.9);
    }
  }
}

@media (min-width: 760px) {
  .sun-img {
    top: 7%;
    right: 11%;
    width: clamp(120px, 10vw, 170px);
  }

  .cloud-img-01 {
    top: 15%;
    left: 8%;
    width: clamp(170px, 17vw, 300px);
  }

  .cloud-img-02 {
    display: block;
    top: 31%;
    right: 6%;
    width: clamp(120px, 13vw, 240px);
    opacity: 0.58;
  }

  .cloud-img-03 {
    display: block;
    top: 9%;
    left: 45%;
    width: clamp(110px, 10vw, 190px);
    opacity: 0.42;
  }

  .hero-copy {
    top: 15%;
  }

  .hero-heading {
    font-size: clamp(72px, 7vw, 128px);
  }

  .hero-actions {
    margin-top: 26px;
    gap: 18px;
  }

  .hero-btn {
    min-height: 54px;
    padding: 0 32px;
    font-size: 15px;
  }

  .boat {
    left: 53.5%;
    width: min(18vw, 220px);
    top: -145px;
  }

  .hero-line {
    left: 50%;
    top: 78px;
    height: calc(100% - 78px);
  }

  .bubble-cue {
    left: calc(50% + 36px);
    right: auto;
    bottom: 54px;
    width: clamp(92px, 8vw, 132px);
  }

  .onboard-placeholder,
  .gallery-placeholder,
  .footer-placeholder {
    padding: 82px max(40px, calc((100vw - 900px) / 2));
  }
}

@media (max-width: 420px) {
  .hero-copy {
    top: calc(env(safe-area-inset-top, 0px) + 74px);
  }

  .hero-actions {
    width: min(100%, 320px);
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero-btn {
    width: 100%;
  }
}

@supports (-webkit-touch-callout: none) {
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero-copy {
    top: calc(env(safe-area-inset-top, 0px) + 72px);
  }

  .sun-img {
    top: calc(env(safe-area-inset-top, 0px) + 46px);
  }

  .site-menu-toggle {
    top: calc(env(safe-area-inset-top, 0px) + 18px);
  }
}

@supports (padding: max(0px)) {
  body {
    padding-bottom: env(safe-area-inset-bottom);
    background: #010d1c;
  }
}
/* ===== Mobile / iOS hero fixes ===== */

@media (max-width: 760px) {
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: env(safe-area-inset-top, 0px);
  }

  .hero-copy {
    top: calc(env(safe-area-inset-top, 0px) + 82px);
  }

  .cloud-img-01 {
    top: calc(env(safe-area-inset-top, 0px) + 120px);
    left: 4%;
    width: clamp(150px, 44vw, 230px);
    opacity: 0.42;
    filter:
      blur(0.2px)
      drop-shadow(0 8px 18px rgba(255, 255, 255, 0.08));
  }

  .sun-img {
    top: calc(env(safe-area-inset-top, 0px) + 48px);
    right: 8%;
    width: clamp(78px, 18vw, 116px);
    z-index: 2;
    opacity: 0.9;
  }

  .site-menu-toggle {
    top: calc(env(safe-area-inset-top, 0px) + 44px);
    right: 22px;
    z-index: 9999;
    border: 1px solid rgba(255, 255, 255, 0.16);
    outline: none;
    box-shadow:
      0 14px 34px rgba(0, 55, 86, 0.22),
      inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    background: rgba(35, 83, 103, 0.62);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .site-menu-toggle::before,
  .site-menu-toggle::after {
    display: none;
  }

  .site-menu-toggle span {
    background: #ffffff;
    box-shadow: none;
  }
}
@media (max-width: 760px) {
  html,
  body {
    background:
      linear-gradient(
        180deg,
        #86d7ff 0%,
        #b9ecff 36%,
        #d8f7ff 55%,
        #8ee3ef 58%,
        #35b6d8 63%,
        #0f9bc4 72%,
        #087fb2 86%,
        #056c9f 100%
      );
  }
}
/* ===== Final mobile hero positioning fixes ===== */

@media (max-width: 760px) {
  .sun-img {
    top: calc(env(safe-area-inset-top, 0px) + 0px);
    right: 0px;
    width: 100px;
    z-index: 3;
    opacity: 0.78;
  }

  .site-menu-toggle {
    top: calc(env(safe-area-inset-top, 0px) + 96px);
    right: 22px;
    z-index: 20;

    background: rgba(43, 83, 102, 0.72);
    border: 0;
    outline: 0;
    box-shadow:
      0 14px 32px rgba(0, 55, 86, 0.22),
      inset 0 0 0 1px rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .site-menu-toggle::before,
  .site-menu-toggle::after {
    content: none !important;
    display: none !important;
  }

  .site-menu-toggle span {
    background: #ffffff;
    box-shadow: none;
  }

  .cloud-img-01 {
    top: calc(env(safe-area-inset-top, 0px) + 62px);
    left: -22px;
    width: clamp(165px, 52vw, 245px);
    opacity: 0.34;
    z-index: 2;
    filter:
      blur(0.3px)
      drop-shadow(0 8px 18px rgba(255, 255, 255, 0.06));
  }

  .hero-copy {
    top: calc(env(safe-area-inset-top, 0px) + 104px);
    z-index: 5;
  }
}