@font-face {
  font-family: "Nunito";
  src: url("fonts/Nunito.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}
@font-face {
  font-family: "Baloo 2";
  src: url("fonts/Baloo2.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --ink: #072b44;
  --deep: #0b3c5d;
  --mid: #0f7c9c;
  --shallow: #3fc6c9;
  --gold: #ffc65c;
  --coral: #f2643d;
  --cream: #fff4d9;
  --paper: #f4fbfb;
  --text: #0c2c3c;
  --muted: #4b6673;
  --line: rgba(7, 43, 68, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 500 17px/1.6 "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--mid); font-weight: 700; }
a:hover { color: var(--deep); }
h1, h2, h3 { font-family: "Baloo 2", "Nunito", system-ui, sans-serif; line-height: 1.15; margin: 0; color: var(--ink); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

/* --- Home --- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 20px 96px;
  text-align: center;
  color: #fff;
  background: var(--deep) url("img/sea.jpg") center / cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4, 45, 72, 0.25) 0%, rgba(4, 45, 72, 0.15) 45%, rgba(7, 43, 68, 0.72) 100%);
}
.hero-inner { max-width: 720px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero .logo { width: min(460px, 78vw); filter: drop-shadow(0 12px 28px rgba(2, 24, 42, 0.45)); }
.hero h1 { color: #fff; font-size: clamp(34px, 6vw, 58px); font-weight: 800; text-shadow: 0 3px 18px rgba(2, 24, 42, 0.55); }
.hero p { margin: 0; font-size: clamp(18px, 2.4vw, 22px); font-weight: 700; max-width: 560px; text-shadow: 0 2px 10px rgba(2, 24, 42, 0.7); }
.badge {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd780, #f7a63c);
  color: #4a2a06;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(2, 24, 42, 0.35);
}

.section { max-width: 1080px; margin: 0 auto; padding: 64px 20px; }
.section > h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; text-align: center; margin-bottom: 34px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 20px 24px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(7, 43, 68, 0.07);
}
.feature img { width: 170px; height: 130px; object-fit: contain; }
.feature h3 { font-size: 23px; font-weight: 700; }
.feature p { margin: 0; color: var(--muted); }

.band { background: linear-gradient(180deg, var(--deep), var(--ink)); }
.band .section > h2 { color: #fff; }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 860px; margin: 0 auto; }
.shots img { width: 100%; border-radius: 26px; border: 3px solid rgba(255, 255, 255, 0.16); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }

.footer { background: var(--ink); color: rgba(255, 255, 255, 0.82); padding: 30px 20px 36px; text-align: center; font-size: 15px; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-bottom: 12px; }
.footer a { color: var(--cream); }
.footer a:hover { color: var(--gold); }
.footer p { margin: 0; }

/* --- Text pages --- */
.bar { background: linear-gradient(180deg, var(--deep), var(--ink)); padding: 14px 20px; }
.bar a { display: inline-block; }
.bar img { width: 112px; }
.doc { max-width: 760px; margin: 0 auto; padding: 36px 20px 72px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); font-weight: 800; margin-bottom: 6px; }
.doc .date { color: var(--muted); margin: 0 0 26px; font-size: 15px; }
.doc h2 { font-size: 24px; font-weight: 700; margin: 32px 0 8px; }
.doc p { margin: 0 0 12px; }
.doc ul, .doc ol { margin: 0 0 12px; padding-left: 24px; }
.doc li { margin-bottom: 6px; }
.note { padding: 14px 18px; margin: 18px 0; border-radius: 14px; background: #e4f6f5; border: 1px solid rgba(15, 124, 156, 0.25); }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { background-image: url("img/sea-portrait.jpg"); min-height: 88vh; padding: 40px 16px 72px; }
  .section { padding: 48px 16px; }
  .shots { grid-template-columns: repeat(3, 62vw); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
  .shots img { scroll-snap-align: center; }
}
