:root {
  --ink: #17262c;
  --sea: #123840;
  --sea-deep: #0c2830;
  --coral: #d8432a;
  --coral-dark: #a82e1b;
  --gold: #f0b429;
  --sand: #f6efe4;
  --sand-2: #efe2cf;
  --foam: #ffffff;
  --line: rgba(18, 56, 64, 0.12);
  --shadow: 0 18px 50px rgba(18, 40, 48, 0.12);
  --radius: 22px;
  --header: 76px;
  --font: "Outfit", "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
[id] { scroll-margin-top: 96px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--sand);
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--coral-dark); }
button, input, textarea { font: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 560; letter-spacing: -0.03em; line-height: 1.08; }
p { margin: 0; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: #fff;
  color: var(--sea);
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  z-index: 80;
}
.skip:focus { top: 0.7rem; }

.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.kicker {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(246, 239, 228, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 24px rgba(18, 40, 48, 0.05); }
.header-inner { display: flex; align-items: center; gap: 1rem; width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { height: 58px; width: auto; mix-blend-mode: multiply; }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  color: var(--sea);
}
.nav { display: flex; align-items: center; gap: 0.2rem; }
.nav a {
  color: var(--sea);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
}
.nav a:hover { background: rgba(18, 56, 64, 0.06); }
.nav .prenota {
  background: var(--coral);
  color: #fff;
  margin-left: 0.3rem;
}
.nav .prenota:hover { background: var(--coral-dark); }

.hero { position: relative; padding: 2.2rem 0 3.5rem; overflow: hidden; }
.sky {
  position: absolute;
  z-index: 4;
  right: 8px;
  top: -8px;
  width: 168px;
  height: 128px;
  pointer-events: none;
}
.orb {
  position: absolute;
  right: 18px;
  top: 10px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, #fff4c2, #ffe38a 28%, var(--gold) 58%, #f08a1f 80%, transparent 81%);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.sky[data-kind="sun"] .orb { animation: bob 6s ease-in-out infinite; }
.puff {
  position: absolute;
  height: 28px;
  border-radius: 20px;
  background: #f7fbff;
  opacity: 0;
  filter: drop-shadow(0 8px 10px rgba(18, 40, 48, 0.14));
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.puff::before, .puff::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
}
.p1 { width: 96px; left: 18px; top: 46px; }
.p1::before { width: 42px; height: 42px; left: 16px; top: -24px; }
.p1::after { width: 30px; height: 30px; left: 48px; top: -16px; }
.p2 { width: 64px; left: 78px; top: 28px; }
.p2::before { width: 28px; height: 28px; left: 10px; top: -16px; }
.p2::after { width: 18px; height: 18px; left: 32px; top: -10px; }
.drops, .flakes { position: absolute; left: 24px; top: 78px; width: 110px; height: 46px; }
.drops i, .flakes i {
  position: absolute;
  top: 0;
  opacity: 0;
}
.drops i {
  width: 4px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(#d7f3ff, #145c78);
  box-shadow: 0 16px 0 #1d6f8c, 0 32px 0 rgba(29, 111, 140, 0.75);
}
.flakes i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}
.drops i:nth-child(1), .flakes i:nth-child(1) { left: 8px; }
.drops i:nth-child(2), .flakes i:nth-child(2) { left: 32px; }
.drops i:nth-child(3), .flakes i:nth-child(3) { left: 56px; }
.drops i:nth-child(4), .flakes i:nth-child(4) { left: 78px; }
.drops i:nth-child(5) { left: 98px; }
.bolt {
  position: absolute;
  left: 78px;
  top: 62px;
  width: 16px;
  height: 30px;
  background: #ffe56a;
  clip-path: polygon(55% 0, 100% 0, 42% 46%, 78% 46%, 8% 100%, 36% 54%, 0 54%);
  opacity: 0;
}
.mist {
  position: absolute;
  left: 0;
  right: 0;
  top: 48px;
  height: 42px;
  opacity: 0;
  background: repeating-linear-gradient(to bottom, transparent 0 8px, rgba(255, 255, 255, 0.92) 8px 16px);
  filter: blur(1.5px);
  transition: opacity 0.7s ease;
}
.sky[data-kind="cloud"] .orb,
.sky[data-kind="rain"] .orb,
.sky[data-kind="snow"] .orb,
.sky[data-kind="storm"] .orb,
.sky[data-kind="fog"] .orb { opacity: 0; transform: scale(0.45); }
.sky[data-kind="cloud-sun"] .orb { transform: translate(-26px, 8px) scale(0.72); }
.sky[data-kind="cloud"] .puff,
.sky[data-kind="cloud-sun"] .p1,
.sky[data-kind="rain"] .puff,
.sky[data-kind="snow"] .puff,
.sky[data-kind="storm"] .puff { opacity: 1; }
.sky[data-kind="cloud"] .p1,
.sky[data-kind="rain"] .p1,
.sky[data-kind="snow"] .p1,
.sky[data-kind="storm"] .p1 { animation: drift 7s ease-in-out infinite; }
.sky[data-kind="storm"] .puff,
.sky[data-kind="storm"] .puff::before,
.sky[data-kind="storm"] .puff::after { background: #9aafb8; }
.sky[data-kind="rain"] .drops i,
.sky[data-kind="storm"] .drops i { opacity: 1; animation: fall 1.05s linear infinite; }
.sky[data-kind="rain"] .drops i:nth-child(2),
.sky[data-kind="storm"] .drops i:nth-child(2) { animation-delay: 0.2s; }
.sky[data-kind="rain"] .drops i:nth-child(3),
.sky[data-kind="storm"] .drops i:nth-child(3) { animation-delay: 0.45s; }
.sky[data-kind="rain"] .drops i:nth-child(4),
.sky[data-kind="storm"] .drops i:nth-child(4) { animation-delay: 0.15s; }
.sky[data-kind="rain"] .drops i:nth-child(5),
.sky[data-kind="storm"] .drops i:nth-child(5) { animation-delay: 0.6s; }
.sky[data-kind="snow"] .flakes i { opacity: 1; animation: fall 1.8s linear infinite; }
.sky[data-kind="snow"] .flakes i:nth-child(2) { animation-delay: 0.4s; }
.sky[data-kind="snow"] .flakes i:nth-child(3) { animation-delay: 0.9s; }
.sky[data-kind="snow"] .flakes i:nth-child(4) { animation-delay: 0.2s; }
.sky[data-kind="storm"] .bolt { opacity: 1; animation: flash 2.6s infinite; }
.sky[data-kind="fog"] .mist { opacity: 1; animation: drift 8s ease-in-out infinite; }
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}
.hello { color: var(--sea); font-weight: 600; margin-bottom: 0.35rem; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin: 0 0 0.8rem; color: var(--sea-deep); }
.lead { font-size: 1.18rem; max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.3rem 0 1rem; }
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.85rem 0.45rem 0.55rem;
  box-shadow: var(--shadow);
  font-weight: 600;
}
.dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #9aa4a8;
  box-shadow: 0 0 0 5px rgba(154, 164, 168, 0.2);
}
.status.is-season .dot { background: var(--gold); box-shadow: 0 0 0 5px rgba(240, 180, 41, 0.28); }
.clock { display: block; color: #5d6b70; font-weight: 500; font-size: 0.92rem; margin-top: 0.15rem; }

.stack { position: relative; min-height: 460px; }
.polaroid {
  background: #fff;
  padding: 0.7rem 0.7rem 1.4rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin: 0;
}
.polaroid img { width: 100%; height: 280px; object-fit: cover; border-radius: 3px; }
.polaroid figcaption { font-family: var(--display); font-style: italic; padding: 0.55rem 0.3rem 0; color: var(--sea); }
.shot-a { position: absolute; width: 78%; right: 0; top: 0; transform: rotate(2.5deg); z-index: 1; }
.shot-b { position: absolute; width: 58%; left: 0; bottom: 0; transform: rotate(-5deg); z-index: 2; }
.shot-b img { height: 210px; }

.waves { display: block; width: 100%; height: 70px; margin-top: -1px; }
.waves path { fill: #123840; }
.w2 { fill: #1b5360; opacity: 0.95; }

.ticker { background: var(--sea); color: #f6efe4; overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: tick 28s linear infinite; }
.ticker p { margin: 0; padding: 0.7rem 1.5rem; white-space: nowrap; font-weight: 650; letter-spacing: 0.01em; }

.shortcuts { padding: 1.6rem 0 0.4rem; }
.shortcut-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
.shortcut {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: #fff;
  text-decoration: none;
  color: var(--sea);
  border-radius: 18px;
  padding: 1rem 1rem 0.95rem;
  border: 1px solid transparent;
  box-shadow: 0 8px 24px rgba(18, 40, 48, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.shortcut:hover { transform: translateY(-4px); border-color: var(--gold); }
.shortcut strong { font-size: 1.05rem; }
.shortcut span { color: #5c6c72; font-size: 0.92rem; }
.shortcut svg { width: 28px; height: 28px; color: var(--coral); }

.band { padding: 3.2rem 0; }
.band h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0 0 0.6rem; color: var(--sea-deep); }
.intro { max-width: 40rem; color: #3d4e54; margin-bottom: 1.4rem; }

.promo-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 1rem; align-items: stretch; }
.ticket {
  background:
    radial-gradient(circle at left, transparent 12px, #fff 13px) left center / 22px 100% no-repeat,
    radial-gradient(circle at right, transparent 12px, #fff 13px) right center / 22px 100% no-repeat,
    #fff;
  border-radius: 18px;
  padding: 1.4rem 1.8rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  align-items: center;
  box-shadow: var(--shadow);
}
.off {
  font-family: var(--display);
  font-size: clamp(3.2rem, 6vw, 5rem);
  line-height: 0.85;
  color: var(--coral);
  margin: 0;
  animation: pulse 2.8s ease-in-out infinite;
}
.ticket h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 0.35rem; }
.rule-card, .panel {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.3rem 1.3rem 1.4rem;
  box-shadow: var(--shadow);
}
.rule-card h2 { font-size: 1.7rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-dark); }
.btn-ghost { background: transparent; color: var(--sea); border-color: rgba(18, 56, 64, 0.25); }
.btn-ghost:hover { border-color: var(--sea); background: #fff; }
.btn-sea { background: var(--sea); color: #fff; }
.btn-sea:hover { background: var(--sea-deep); }

.spot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.spot {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform 0.25s ease;
}
.spot:hover { transform: translateY(-6px); }
.spot-photo { position: relative; }
.spot-photo img { width: 100%; height: 230px; object-fit: cover; }
.people {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  background: rgba(255, 255, 255, 0.94);
  color: var(--sea);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.85rem;
}
.spot-body { padding: 1.05rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.spot h3 { margin: 0; font-size: 1.8rem; color: var(--sea-deep); }
.kit { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.kit li { background: var(--sand); border-radius: 999px; padding: 0.25rem 0.65rem; font-size: 0.9rem; }
.spot details { border-top: 1px dashed var(--line); padding-top: 0.6rem; }
.spot summary { cursor: pointer; font-weight: 700; color: var(--sea); }
.spot details ul { margin: 0.55rem 0 0; padding-left: 1.1rem; }
.spot details li { margin: 0.25rem 0; }
.spot .btn { margin-top: auto; align-self: flex-start; }

.meteo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.meteo-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(240, 180, 41, 0.34), transparent 46%),
    #fff;
  border-radius: 24px;
  padding: 1.2rem 1.25rem 1.15rem;
  box-shadow: var(--shadow);
  min-height: 180px;
}
.meteo-card.is-tomorrow {
  background:
    radial-gradient(circle at 100% 0%, rgba(18, 56, 64, 0.14), transparent 48%),
    #fff;
}
.wx-top { display: flex; align-items: center; gap: 0.85rem; }
.wx-ico { width: 52px; height: 52px; color: #e0a020; flex: none; }
.meteo-card.is-tomorrow .wx-ico { color: var(--sea); }
.wx-temp {
  font-family: var(--display);
  font-size: clamp(2.3rem, 4vw, 3.3rem);
  line-height: 0.95;
  color: var(--sea-deep);
  margin: 0;
}
.wx-min { font-size: 0.55em; color: #5d6b70; }
.wx-desc { margin-top: 0.75rem; font-weight: 650; color: var(--sea); }
.wx-meta { margin-top: 0.25rem; color: #5d6b70; }
.meteo-src { margin-top: 0.75rem; font-size: 0.88rem; color: #5d6b70; }
.meteo-src a { white-space: nowrap; }

.legal { padding: 2.4rem 0 4.2rem; }
.legal h1 { margin: 0 0 0.6rem; font-size: clamp(2.4rem, 5vw, 4rem); color: var(--sea-deep); }
.legal-lead { max-width: 42rem; margin-bottom: 1.3rem; font-size: 1.12rem; }
.legal-card {
  background: #fff;
  border-radius: 24px;
  padding: 1.15rem 1.25rem 1.25rem;
  box-shadow: var(--shadow);
  margin: 0 0 0.85rem;
}
.legal-card h2 { margin: 0 0 0.45rem; font-size: clamp(1.45rem, 2vw, 1.8rem); color: var(--sea-deep); }
.legal-card p + p { margin-top: 0.55rem; }
.legal-card ul { margin: 0.45rem 0 0; padding-left: 1.15rem; }
.legal-card li { margin: 0.35rem 0; }
.legal-card li strong { color: var(--sea); }

.sheet-card {
  position: relative;
  background: var(--sand);
  border-radius: 26px;
  padding: 1.35rem 1.3rem 1.2rem;
  box-shadow: var(--shadow);
  max-height: min(86vh, 820px);
  overflow: auto;
}
dialog.sheet { width: min(860px, 94vw); }
.sheet-x {
  position: sticky;
  float: right;
  margin: 0 0 0.2rem 0.6rem;
  border: 0;
  background: #fff;
  color: var(--sea);
  border-radius: 999px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  font-size: 1.4rem;
  box-shadow: var(--shadow);
}
.sheet-card h2 { margin: 0 0 0.25rem; font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--sea-deep); }
.sheet-lead { color: #3d4e54; margin-bottom: 0.95rem; }
.sheet-lead a { white-space: nowrap; }
body:has(dialog[open]) .dock { display: none !important; }
.sheet-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1rem; align-items: start; clear: both; }
.sheet-grid img { width: 100%; height: 100%; min-height: 280px; max-height: 520px; object-fit: cover; border-radius: 18px; }
.sheet-col h3 { margin: 0.15rem 0 0.35rem; font-size: 1.25rem; color: var(--sea); }
.sheet-col ul { list-style: none; margin: 0 0 0.85rem; padding: 0; }
.sheet-col li { background: #fff; border-radius: 12px; padding: 0.48rem 0.72rem; margin: 0.35rem 0; }
.sheet-pdf { font-size: 0.92rem; }
.deal-block {
  background: #fff;
  border-radius: 20px;
  padding: 1rem 1.05rem 1.05rem;
  margin: 0.75rem 0 0;
  clear: both;
}
.deal-block h3 {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sea);
}
.deal-block > p { margin: 0.15rem 0 0; }
.deal-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin-top: 0.8rem; }
.deal-row article {
  background: var(--sand);
  border-radius: 16px;
  padding: 0.85rem 0.8rem 0.65rem;
  text-align: center;
}
.deal-when { margin: 0; font-weight: 700; color: var(--sea); }
.deal-off {
  margin: 0.1rem 0 0;
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  line-height: 0.95;
  color: var(--coral);
}
.deal-where { margin: 0.35rem 0 0; font-weight: 650; }
.deal-online {
  background: var(--sea);
  color: #f4efe6;
}
.deal-online h3,
.deal-online .deal-when { color: var(--gold); }
.deal-online .deal-off { color: var(--gold); text-align: center; font-size: clamp(3.4rem, 8vw, 5rem); }
.deal-online .deal-when,
.deal-online .deal-where { text-align: center; }
.deal-online ul { list-style: none; margin: 0.8rem 0 0; padding: 0; }
.deal-online li {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.48rem 0.72rem;
  margin: 0.35rem 0;
}
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; clear: both; }
.rules section {
  background: #fff;
  border-radius: 18px;
  padding: 0.85rem 0.95rem 0.95rem;
}
.rules h3 { margin: 0 0 0.4rem; font-size: 1.05rem; color: var(--sea); }
.rules ul { margin: 0; padding-left: 1.1rem; }
.rules li { margin: 0.38rem 0; }
.rules strong { color: var(--sea-deep); }
.foot-links button {
  background: none;
  border: 0;
  padding: 0;
  color: #ffd78a;
  font: inherit;
  cursor: pointer;
}
.foot-links button:hover { text-decoration: underline; }

.park-grid, .visit-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1.4rem; align-items: center; }
.video-frame {
  background: var(--sea-deep);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.video-frame video { width: 100%; display: block; max-height: 460px; background: #000; }
.gallery-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 0.7rem; }
.shot {
  border: 0;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  cursor: zoom-in;
  background: #ddd;
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.shot:hover img { transform: scale(1.05); }
.shot:first-child { grid-row: 1 / span 2; }

.visit { background: linear-gradient(180deg, var(--sand), #e7f3f4 40%, #e7f3f4); }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.facts li { background: #fff; border-radius: 16px; padding: 0.75rem 0.9rem; }
.facts span { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #6a787c; }
.map-frame { border-radius: 24px; overflow: hidden; min-height: 420px; box-shadow: var(--shadow); background: #d5e3e6; }
.map-frame iframe { width: 100%; height: 460px; border: 0; }
.fine { margin-top: 0.8rem; font-size: 0.95rem; }

.site-footer { background: var(--sea-deep); color: #e7eef0; padding: 2rem 0 2.4rem; }
.site-footer a { color: #ffd78a; }
.foot-grid { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; align-items: end; }
.site-footer .brand { display: inline-flex; width: auto; margin: 0 0 0.85rem; background: #fff; border-radius: 14px; padding: 0.15rem 0.4rem; }
.site-footer .brand img { height: 52px; }
.foot-links { display: flex; gap: 0.8rem; flex-wrap: wrap; }

.dock {
  display: none;
  position: fixed;
  transition: transform 0.25s ease;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.7rem;
  z-index: 45;
  gap: 0.5rem;
  padding: 0.45rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.dock a { flex: 1; text-align: center; }

dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(960px, 94vw);
}
dialog::backdrop { background: rgba(8, 20, 24, 0.82); }
.lb { position: relative; }
.lb img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: 12px; background: #000; }
.lb p { color: #fff; text-align: center; margin-top: 0.5rem; }
.lb-nav, .lb-x {
  position: absolute;
  border: 0;
  background: #fff;
  color: var(--sea);
  border-radius: 999px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  font-size: 1.3rem;
}
.lb-x { top: -0.2rem; right: -0.2rem; }
.lb-nav.prev { left: 0.4rem; top: 45%; }
.lb-nav.next { right: 0.4rem; top: 45%; }

.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s ease; }

@media (max-width: 980px) {
  .hero-grid, .promo-grid, .park-grid, .visit-grid, .meteo-grid, .sheet-grid, .deal-row, .rules { grid-template-columns: 1fr; }
  .sheet-grid img { min-height: 0; height: 210px; }
  .shortcut-grid { grid-template-columns: 1fr 1fr; }
  .spot-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 180px 200px; }
  .shot:first-child { grid-row: auto; grid-column: 1 / -1; height: 200px; }
  .stack { min-height: 0; }
  .shot-a, .shot-b { position: relative; width: 100%; transform: none; }
  .shot-b { margin-top: 0.8rem; width: 88%; }
  .shot-a img, .shot-b img { height: 220px; }
  .ticket { grid-template-columns: 1fr; }
  .sky { width: 132px; height: 104px; top: 4px; right: 4px; }
  .orb { width: 74px; height: 74px; }
  .brand img { height: 46px; }
  .dock { transform: translateY(140%); }
  .dock.is-on { transform: translateY(0); }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fffaf3;
    padding: 0.6rem;
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav .prenota { margin: 0.3rem 0 0; text-align: center; }
  .dock { display: flex; }
  body { padding-bottom: 5rem; }
  .site-footer .brand img { height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@keyframes bob { 50% { transform: translateY(12px); } }
@keyframes drift { 50% { transform: translateX(10px); } }
@keyframes fall {
  0% { transform: translateY(-4px); opacity: 0.35; }
  25% { opacity: 1; }
  100% { transform: translateY(40px); opacity: 0.9; }
}
@keyframes flash {
  0%, 100% { opacity: 0.45; }
  46%, 58% { opacity: 1; }
}
@keyframes tick { to { transform: translateX(-50%); } }
@keyframes wave { to { transform: translateX(-40px); } }
@keyframes pulse { 50% { transform: scale(1.04); } }
