:root {
  --abyss: #020c16;
  --deep: #04182a;
  --sea: #0a4a6e;
  --foam: #eaf8fd;
  --muted: #92bdd0;
  --cyan: #5fe1ff;
  --coral: #ff7a3d;
  --gold: #ffd36e;
  --radius: 20px;
  --glass: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .1);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--foam);
  background: var(--abyss);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body {
  margin: 0; line-height: 1.6; overflow-x: hidden;
  /* più scendi, più il mare diventa scuro */
  background: linear-gradient(180deg, #0b5a85 0, #073a5a 20%, var(--deep) 45%, #031322 70%, var(--abyss) 100%);
}
a { color: var(--coral); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, backdrop-filter .3s; }
header.solid, .doc-page header { background: rgba(2, 14, 26, .72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; color: var(--foam); text-decoration: none; letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 0 18px rgba(95, 225, 255, .35); }
nav { display: flex; align-items: center; gap: 22px; }
nav a { color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500; }
nav a:hover { color: var(--foam); }
select { background: rgba(255,255,255,.06); color: var(--foam); border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px; font: inherit; font-size: .9rem; }
select option { color: #000; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: -4%; z-index: -3; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: drift 30s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.14) translate(-2%, 1.5%); } }
.hero::before { /* raggi di luce dalla superficie */
  content: ""; position: absolute; inset: -40% -20% 0; z-index: -2; mix-blend-mode: screen; opacity: .55;
  background: repeating-conic-gradient(from 180deg at 62% 0%, rgba(200,245,255,.22) 0deg 2deg, transparent 2deg 9deg);
  mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
  animation: sway 14s ease-in-out infinite alternate; transform-origin: 62% 0;
}
@keyframes sway { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
.caustics { /* riflessi che danzano */
  position: absolute; inset: 0; z-index: -2; mix-blend-mode: overlay; opacity: .5; pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(255,255,255,.35), transparent) 0 0 / 220px 160px,
    radial-gradient(closest-side, rgba(255,255,255,.25), transparent) 60px 40px / 300px 220px;
  filter: blur(14px); animation: caustic 18s linear infinite;
}
@keyframes caustic { to { background-position: 440px 320px, -540px 480px; } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(2,14,26,.82) 0%, rgba(2,14,26,.35) 55%, rgba(2,14,26,0) 100%),
              linear-gradient(180deg, rgba(2,14,26,0) 55%, #073a5a 100%); }
.hero .wrap { width: 100%; }
.hero-icon { width: 92px; height: 92px; border-radius: 22px; margin-bottom: 26px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 10px 40px rgba(0,0,0,.4), 0 0 60px rgba(95,225,255,.35);
  animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan);
  padding: 6px 12px; border: 1px solid rgba(95,225,255,.35); border-radius: 999px; background: rgba(95,225,255,.08); margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.8rem, 7.5vw, 6rem); line-height: .98; letter-spacing: -.035em; margin: 0 0 22px; font-weight: 850;
  background: linear-gradient(180deg, #fff 30%, #9fe9ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 30px rgba(0,0,0,.35)); }
.hero p { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 560px; margin: 0 0 34px; color: #d3ecf6; }
.buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 15px 26px; border-radius: 999px; font-weight: 700; text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, #ff9a4a, var(--coral) 55%, #f0522a); color: #fff; box-shadow: 0 10px 30px rgba(255,110,50,.35); }
.btn-primary:hover { box-shadow: 0 14px 40px rgba(255,110,50,.5); }
.btn-primary svg { width: 22px; height: 22px; }
.btn-primary small { font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; background: rgba(0,0,0,.18); padding: 3px 8px; border-radius: 999px; }
.btn-ghost { color: var(--foam); border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); color: var(--muted); text-decoration: none;
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-cue::after { content: ""; width: 1px; height: 42px; background: linear-gradient(var(--cyan), transparent); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* bolle */
.bubbles { position: fixed; inset: 0; pointer-events: none; z-index: 5; overflow: hidden; }
.bubble { position: absolute; bottom: -40px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), rgba(200,240,255,.25) 40%, rgba(200,240,255,.05) 70%);
  border: 1px solid rgba(255,255,255,.35); animation: rise linear forwards; }
@keyframes rise {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: .9; }
  50% { transform: translate(var(--wobble), -55vh); }
  100% { transform: translate(0, -115vh); opacity: .3; }
}

/* profondimetro */
.depth { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-variant-numeric: tabular-nums; pointer-events: none; }
.depth .track { width: 3px; height: 180px; border-radius: 3px; background: rgba(255,255,255,.12); position: relative; overflow: hidden; }
.depth .fill { position: absolute; inset: 0 0 auto; height: 0; background: linear-gradient(var(--cyan), var(--coral)); }
.depth b { font-size: 1.05rem; color: var(--foam); }
.depth span { font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: -70px auto 0; position: relative; z-index: 2; }
.stats div { background: rgba(4, 24, 42, .7); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 10px; text-align: center; }
.stats b { display: block; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; font-weight: 850;
  background: linear-gradient(180deg, var(--gold), var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--muted); font-size: .95rem; }

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.kicker { color: var(--cyan); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: .78rem; }
h2 { font-size: clamp(2rem, 4.5vw, 3.3rem); line-height: 1.05; letter-spacing: -.03em; margin: 8px 0 18px; }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 640px; margin: 0 0 40px; }

.rows { display: flex; flex-direction: column; gap: 90px; }
.row { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.row:nth-child(even) { grid-template-columns: 1fr 1.25fr; }
.row:nth-child(even) .shot { order: 2; }
.shot { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px var(--line); }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.row:hover .shot img { transform: scale(1.05); }
.shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(2,14,26,.35)); }
.num { font-size: 4.5rem; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(95,225,255,.45); }
.row h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.02em; margin: 6px 0 12px; line-height: 1.1; }
.row p { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* mari */
.seas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.sea { position: relative; min-height: 290px; border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
  border: 1px solid var(--line); isolation: isolate; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.sea:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(0,0,0,.4); }
.sea::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg); }
.sea::after { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-conic-gradient(from 180deg at 50% -10%, rgba(255,255,255,.12) 0 2deg, transparent 2deg 10deg); mask-image: linear-gradient(#000, transparent 70%); -webkit-mask-image: linear-gradient(#000, transparent 70%); }
.sea h3 { margin: 0 0 6px; font-size: 1.25rem; }
.sea p { margin: 0; font-size: .88rem; color: rgba(255,255,255,.75); line-height: 1.5; }
.sea.med { --bg: linear-gradient(180deg, #29b6e0, #0b5d8c 60%, #06304d); }
.sea.carib { --bg: linear-gradient(180deg, #5ee8e0, #17a3b8 55%, #0a5468); }
.sea.atl { --bg: linear-gradient(180deg, #2f86c4, #154f80 60%, #0a2a48); }
.sea.nord { --bg: linear-gradient(180deg, #5aa58e, #2c6658 55%, #12342f); }
.sea.pac { --bg: linear-gradient(180deg, #2ec7f0, #1478b8 55%, #0b3b6c); }

.marquee { margin-top: 34px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee div { display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.marquee span { white-space: nowrap; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); color: var(--muted); font-size: .95rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* pesca responsabile */
.banner { position: relative; border-radius: 28px; overflow: hidden; padding: clamp(36px, 6vw, 72px); min-height: 380px; display: flex; align-items: flex-end; isolation: isolate; border: 1px solid var(--line); }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(2,14,26,.9), rgba(2,14,26,.3)); }
.banner div { max-width: 560px; }
.banner p { color: #cfe7f1; font-size: 1.15rem; margin: 0; }

/* galleria */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; cursor: zoom-in; aspect-ratio: 16 / 9;
  transition: transform .4s, box-shadow .4s; box-shadow: 0 0 0 1px var(--line); }
.gallery img:hover { transform: scale(1.03); box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(95,225,255,.4); }
.gallery img:nth-child(1) { grid-column: span 4; grid-row: span 2; aspect-ratio: auto; }
.gallery img:nth-child(n+2) { grid-column: span 2; }
.gallery img:nth-child(n+4) { grid-column: span 2; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(1,8,15,.92); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; padding: 4vw; cursor: zoom-out; }
.lightbox.open { display: flex; animation: fade .25s; }
.lightbox img { max-height: 90vh; border-radius: 14px; box-shadow: 0 30px 100px rgba(0,0,0,.6); }
@keyframes fade { from { opacity: 0; } }

/* chiamata finale */
.final { text-align: center; padding: 120px 0 130px; position: relative; }
.final::before { content: ""; position: absolute; left: 50%; top: 40%; width: 600px; height: 600px; transform: translate(-50%, -50%); z-index: -1;
  background: radial-gradient(closest-side, rgba(95,225,255,.18), transparent); }
.final img { width: 120px; height: 120px; border-radius: 28px; margin: 0 auto 28px; box-shadow: 0 0 80px rgba(95,225,255,.35), 0 0 0 1px rgba(255,255,255,.15); animation: bob 5s ease-in-out infinite; }
.final p { color: var(--muted); font-size: 1.15rem; margin: 0 0 34px; }
.final .buttons { justify-content: center; }

/* comparsa allo scorrimento */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Privacy ---------- */
.doc { max-width: 780px; padding-top: 120px; padding-bottom: 80px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3rem); letter-spacing: -.03em; margin-bottom: 4px; }
.doc h2 { font-size: 1.35rem; letter-spacing: -.01em; margin: 36px 0 8px; }
.doc .updated { color: var(--muted); margin-top: 0; }
.doc li { margin-bottom: 6px; }
.doc p, .doc li { color: #cfe3ec; }

footer { border-top: 1px solid var(--line); padding: 30px 0 44px; color: var(--muted); font-size: .9rem; background: var(--abyss); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; }
footer a { color: var(--muted); }
footer .brand { font-size: 1rem; }
footer .brand img { width: 24px; height: 24px; border-radius: 6px; }

@media (max-width: 960px) {
  .seas { grid-template-columns: repeat(2, 1fr); }
  .sea { min-height: 200px; }
  .sea:last-child { grid-column: span 2; }
  .row, .row:nth-child(even) { grid-template-columns: 1fr; gap: 24px; }
  .row:nth-child(even) .shot { order: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery img:nth-child(n) { grid-column: span 1; grid-row: auto; aspect-ratio: 16 / 9; }
  .gallery img:nth-child(1) { grid-column: span 2; }
  .depth { display: none; }
}
@media (max-width: 640px) {
  nav a.hide-sm { display: none; }
  nav { gap: 14px; }
  .sea { padding: 16px; }
  .sea h3 { font-size: 1.05rem; overflow-wrap: anywhere; hyphens: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: -50px; }
  section { padding: 64px 0; }
  .rows { gap: 60px; }
  .num { font-size: 3rem; }
}
@media (max-width: 480px) {
  nav a { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .bubbles { display: none; }
}
