@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700&family=Nunito:wght@400;600;700&display=swap');

:root {
  --color-bg: #F4F9F8;
  --color-bg-alt: #E7F4F4;
  --color-sand: #FBF3E7;
  --color-primary: #FF6B5B;
  --color-primary-light: #FF9569;
  --color-accent: #2AC7C4;
  --color-deep: #0E4B4A;
  --color-text: #1D3A3A;
  --color-text-muted: #4C6B6A;
  --color-white: #FFFFFF;
  --font-heading: 'Baloo 2', sans-serif;
  --font-body: 'Nunito', sans-serif;
  --cta-gradient: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  --header-height: 84px;
  --shadow-soft: 0 20px 45px rgba(14, 75, 74, 0.12);
  --shadow-card: 0 12px 30px rgba(14, 75, 74, 0.08);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

html.hide #preloader {
  opacity: 0;
  visibility: hidden;
}

html.fixed {
  overflow: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-deep);
  font-weight: 700;
  line-height: 1.2;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  color: var(--color-white);
  padding: 16px 36px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-gradient {
  background: var(--cta-gradient);
  box-shadow: 0 14px 30px rgba(255, 107, 91, 0.35);
}

.btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(255, 107, 91, 0.42);
}

.btn-lg {
  padding: 20px 48px;
  font-size: 19px;
}

.btn-levitate {
  animation: levitate 3s ease-in-out infinite;
}

.btn-levitate:hover {
  animation-play-state: paused;
}

@keyframes levitate {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.1));
  pointer-events: none;
  animation: bubble-float 8s ease-in-out infinite;
}

@keyframes bubble-float {
  0% { transform: translateY(0) translateX(0); opacity: 0.7; }
  50% { transform: translateY(-24px) translateX(10px); opacity: 1; }
  100% { transform: translateY(0) translateX(0); opacity: 0.7; }
}

.bubble--1 { width: 22px; height: 22px; top: 22%; left: 8%; animation-delay: 0s; }
.bubble--2 { width: 14px; height: 14px; top: 62%; left: 5%; animation-delay: 1.5s; }
.bubble--3 { width: 30px; height: 30px; top: 40%; left: 3%; animation-delay: 3s; }
.bubble--4 { width: 18px; height: 18px; top: 12%; right: 6%; animation-delay: 0.7s; background: radial-gradient(circle at 30% 30%, rgba(42, 199, 196, 0.55), rgba(42, 199, 196, 0.05)); }
.bubble--5 { width: 26px; height: 26px; top: 18%; left: 6%; animation-delay: 2.2s; background: radial-gradient(circle at 30% 30%, rgba(255, 107, 91, 0.4), rgba(255, 107, 91, 0.05)); }

.wave-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
  z-index: 2;
  pointer-events: none;
}

.wave-divider svg {
  width: 100%;
  height: 70px;
  display: block;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(244, 249, 248, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(244, 249, 248, 0.92);
  box-shadow: 0 8px 24px rgba(14, 75, 74, 0.08);
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.logo {
  height: 34px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav .nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-deep);
  position: relative;
  padding: 6px 2px;
  transition: color 0.2s ease;
}

.main-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.25s ease;
}

.main-nav .nav-link:hover {
  color: var(--color-accent);
}

.main-nav .nav-link:hover::after {
  width: 100%;
}

.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 0;
  cursor: pointer;
  z-index: 1001;
}

.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-deep);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger-btn.act span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger-btn.act span:nth-child(2) {
  opacity: 0;
}

.burger-btn.act span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity 0.3s ease;
  z-index: 999;
}

.mobile-menu.opened {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu .nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 22px;
  color: var(--color-deep);
}

.mobile-menu .nav-link:hover {
  color: var(--color-accent);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 149, 105, 0.25), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(42, 199, 196, 0.3), transparent 55%),
    linear-gradient(100deg, rgba(14, 75, 74, 0.55) 0%, rgba(14, 75, 74, 0.15) 55%, rgba(14, 75, 74, 0.05) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding-top: 60px;
  padding-bottom: 100px;
}

.hero-content {
  color: var(--color-white);
}

.hero-title {
  font-size: clamp(38px, 5vw, 60px);
  margin-bottom: 22px;
  color: var(--color-white);
  background: linear-gradient(120deg, #ffffff 0%, #ffe8cf 45%, var(--color-primary-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 6px 24px rgba(14, 75, 74, 0.35);
}

.hero-subtitle {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-pers {
  max-width: 100%;
  width: 480px;
  filter: drop-shadow(0 30px 40px rgba(14, 75, 74, 0.35));
  animation: hero-drift 6s ease-in-out infinite;
}

@keyframes hero-drift {
  0% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
  100% { transform: translateY(0); }
}

.section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.section-reef {
  background: var(--color-bg);
}

.section-sea-life {
  background: var(--color-bg-alt);
}

.section-restoration {
  background: var(--color-sand);
}

.section-zones {
  background: var(--color-bg-alt);
  padding-bottom: 160px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  background: rgba(42, 199, 196, 0.12);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.section-grid--image-right .section-media {
  order: 2;
}

.section-grid--image-right .section-content {
  order: 1;
}

.section-media-frame {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--color-white);
}

.section-media-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 32px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

.section-media-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.section-content h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin-bottom: 22px;
}

.section-content p {
  color: var(--color-text-muted);
  font-size: 16px;
  margin-bottom: 16px;
  max-width: 560px;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
  margin-bottom: 30px;
}

.feature-list li {
  position: relative;
  padding: 16px 18px 16px 42px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow-card);
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(42, 199, 196, 0.18);
}

.feature-list--centered {
  grid-template-columns: repeat(2, minmax(0, 320px));
  justify-content: center;
  text-align: left;
}

.section-zones-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-media--zones {
  width: 100%;
  max-width: 760px;
  margin: 8px auto 40px;
}

.section-media--zones .section-media-frame {
  border-radius: 40px;
}

.section-content--zones {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 780px;
}

.section-content--zones p {
  max-width: 680px;
  text-align: center;
}

.section-content--zones .btn {
  margin-top: 16px;
}

.site-footer {
  position: relative;
  color: var(--color-white);
  padding-top: 90px;
  overflow: hidden;
}

.footer-bg {
  position: absolute;
  inset: 0;
  background-color: var(--color-deep);
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 75, 74, 0.55) 0%, rgba(9, 46, 45, 0.9) 100%);
  z-index: 1;
}

.footer-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-logo {
  height: 32px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.footer-text {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  max-width: 340px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s ease;
  width: fit-content;
}

.footer-nav a:hover {
  color: var(--color-accent);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.footer-email {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--color-white);
}

.footer-email:hover {
  color: var(--color-accent);
}

.footer-domain {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
  position: relative;
  z-index: 2;
  padding: 24px 0;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.legal-page {
  padding: 160px 0 100px;
  background: var(--color-bg);
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  padding: 56px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.legal-content h1 {
  font-size: clamp(30px, 4vw, 42px);
  margin-bottom: 18px;
}

.legal-content h2 {
  font-size: 22px;
  margin-top: 36px;
  margin-bottom: 14px;
}

.legal-content h3 {
  font-size: 18px;
  color: var(--color-accent);
  margin-top: 32px;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.legal-content p {
  color: var(--color-text-muted);
  margin-bottom: 14px;
  font-size: 15px;
}

.legal-content ul {
  margin: 0 0 16px 0;
  padding-left: 4px;
}

.legal-content li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--color-text-muted);
  font-size: 15px;
}

.legal-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

.legal-content a {
  color: var(--color-primary);
  font-weight: 600;
}

.legal-content a:hover {
  color: var(--color-accent);
}

.legal-content .date {
  color: var(--color-accent);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 20px;
  }

  .hero-content {
    order: 1;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    order: 2;
  }

  .hero-pers {
    width: 360px;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-grid--image-right .section-media,
  .section-grid--image-right .section-content {
    order: initial;
  }

  .section-content p {
    max-width: none;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .main-nav {
    display: none;
  }

  .burger-btn {
    display: flex;
  }

  .section {
    padding: 90px 0;
  }

  .legal-page {
    padding: 130px 0 70px;
  }

  .legal-content {
    padding: 36px 24px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .feature-list--centered {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .btn {
    padding: 14px 28px;
    font-size: 15px;
    width: 100%;
  }

  .btn-lg {
    padding: 17px 28px;
  }

  .hero-pers {
    width: 260px;
  }

  .section-content h2 {
    font-size: 26px;
  }

  .section-media-frame {
    border-radius: 22px;
  }

  .wave-divider svg {
    height: 40px;
  }
}
