/* ==========================================================
   Chiosco Il Gabbiano — Gelateria artigianale, Vibo Marina
   Mobile-first · palette mediterranea · forme "a goccia"
   ========================================================== */

:root {
  --cream: #FFF8EE;
  --cream-2: #FBEBD6;
  --sea: #0B4F6C;
  --sea-deep: #073A50;
  --turq: #2EC4B6;
  --pink: #E75A7C;
  --lemon: #FFD166;
  --ink: #0A2E3F;
  --ink-soft: #3E5A68;

  --f-display: "Fraunces", "DM Serif Display", Georgia, serif;
  --f-body: "Outfit", "Manrope", system-ui, sans-serif;

  --radius-drop: 52% 48% 46% 54% / 44% 42% 58% 56%;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-jelly: cubic-bezier(.34, 1.56, .64, 1);

  --gutter: clamp(16px, 5vw, 64px);
  --header-h: 72px;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.125rem);
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* grana premium su tutto il sito */
body::after {
  content: "";
  position: fixed; inset: 0;
  background-image: var(--noise);
  opacity: .07;
  pointer-events: none;
  z-index: 9000;
  mix-blend-mode: multiply;
}
img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--lemon); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 10001;
  background: var(--lemon); color: var(--sea); padding: .6rem 1rem; border-radius: 99px;
  font-weight: 600; transform: translateY(-160%); transition: transform .3s;
}
.skip-link:focus { transform: none; }
.muted { opacity: .72; font-size: .92em; }

/* ---------- Tipografia ---------- */
.h2 {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 100, "opsz" 144;
  font-weight: 600;
  font-size: clamp(2.2rem, 1.4rem + 4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  color: var(--sea);
}
.h2 em, .hero__title em, .footer__big em {
  font-style: italic; font-weight: 400;
  font-variation-settings: "SOFT" 100, "opsz" 144, "WONK" 1;
}
.h2 em { color: var(--pink); }
.h2--light { color: var(--cream); }
.h2--light em { color: var(--lemon); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--pink); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--lemon); }
.eyebrow--lemon { color: var(--lemon); }
.eyebrow--sea { color: var(--sea); }
.lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); line-height: 1.5; color: var(--ink); margin: 1.4rem 0 1rem; }
p + p { margin-top: .8rem; }

.section-head { margin-bottom: clamp(2rem, 5vw, 4rem); }
.section-head--center { text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--row { display: grid; gap: 1.2rem; align-items: end; }
.section-head__aside { color: var(--ink-soft); max-width: 36ch; }
@media (min-width: 900px) {
  .section-head--row { grid-template-columns: 1.4fr 1fr; }
  .section-head--row .section-head__aside { justify-self: end; }
}

/* split text */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; will-change: transform; }

.link { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; transition: background-size .4s var(--ease-out); font-weight: 600; }
.link:hover { background-size: 0 2px; background-position: 100% 100%; }

/* ---------- Pulsanti ---------- */
.btn {
  --bg: var(--sea); --fg: var(--cream);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .85rem 1.6rem;
  border-radius: 999px; background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 1rem; text-decoration: none; letter-spacing: .01em;
  transition: background .3s, color .3s, box-shadow .3s;
  box-shadow: 0 6px 0 rgba(7, 58, 80, .18);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { animation: jelly .7s both; }
.btn:active { box-shadow: 0 2px 0 rgba(7, 58, 80, .18); }
.btn--sm { min-height: 44px; padding: .55rem 1.1rem; font-size: .92rem; }
.btn--lemon { --bg: var(--lemon); --fg: var(--sea); }
.btn--lemon:hover { --bg: #FFDD85; }
.btn--sea:hover { --bg: var(--sea-deep); }
.btn--pink { --bg: #C73B60; --fg: #fff; }
.btn--pink:hover { --bg: #B8324F; }
.btn--ghost { --bg: rgba(255, 248, 238, .12); --fg: var(--cream); box-shadow: inset 0 0 0 2px rgba(255, 248, 238, .75); backdrop-filter: blur(6px); }
.btn--ghost:hover { --bg: var(--cream); --fg: var(--sea); }
.btn--outline { --bg: transparent; --fg: var(--sea); box-shadow: inset 0 0 0 2px var(--sea); }
.btn--outline:hover { --bg: var(--sea); --fg: var(--cream); }

@keyframes jelly {
  0% { transform: scale3d(1, 1, 1); }
  30% { transform: scale3d(1.12, .88, 1); }
  45% { transform: scale3d(.92, 1.08, 1); }
  60% { transform: scale3d(1.05, .95, 1); }
  75% { transform: scale3d(.98, 1.02, 1); }
  100% { transform: scale3d(1, 1, 1); }
}
/* se il pulsante è magnetico, il jelly va su un figlio per non litigare con il transform JS */
.magnetic:hover { animation: none; }
.magnetic > * { transition: transform .3s; }
.magnetic.is-jelly { animation: jelly .7s both; }

/* ---------- Cursore personalizzato ---------- */
.cursor { display: none; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor [data-cursor] { cursor: none; }
.has-cursor .cursor { display: block; }
.cursor__scoop, .cursor__ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  border-radius: 50%;
}
.cursor__scoop {
  width: 14px; height: 14px; margin: -7px 0 0 -7px;
  background: radial-gradient(circle at 35% 30%, #fff 0 12%, var(--scoop, var(--pink)) 13% 100%);
  box-shadow: 0 2px 0 rgba(0, 0, 0, .12);
  transition: width .25s, height .25s, margin .25s, opacity .25s, background .4s;
}
.cursor__scoop::after { /* goccia che cola */
  content: ""; position: absolute; left: 55%; top: 70%;
  width: 5px; height: 7px; background: var(--scoop, var(--pink)); border-radius: 0 0 5px 5px;
}
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1.5px solid var(--sea);
  display: grid; place-items: center;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), background .3s, border-color .3s;
}
.cursor__label {
  font: 600 .72rem/1 var(--f-body); letter-spacing: .04em; color: var(--sea);
  opacity: 0; transform: scale(.6); transition: opacity .25s, transform .3s var(--ease-jelly);
  white-space: nowrap;
}
.cursor.is-link .cursor__ring { width: 76px; height: 76px; margin: -38px 0 0 -38px; background: var(--lemon); border-color: var(--lemon); mix-blend-mode: normal; }
.cursor.is-view .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: rgba(255, 248, 238, .92); border-color: var(--cream); }
.cursor.is-play .cursor__ring { width: 100px; height: 100px; margin: -50px 0 0 -50px; background: var(--pink); border-color: var(--pink); }
.cursor.is-play .cursor__label { color: #fff; }
.cursor.is-link .cursor__label, .cursor.is-view .cursor__label, .cursor.is-play .cursor__label { opacity: 1; transform: none; }
.cursor.is-link .cursor__scoop, .cursor.is-view .cursor__scoop, .cursor.is-play .cursor__scoop { opacity: 0; }
.cursor.is-hidden { opacity: 0; }
.cursor.on-dark .cursor__ring { border-color: var(--cream); }

/* ---------- Gabbiano ---------- */
.seagull {
  position: fixed; top: 22vh; left: 0; z-index: 60; pointer-events: none;
  width: clamp(46px, 6vw, 84px);
  transform: translateX(-120px);
  opacity: 0;
}
.seagull svg { fill: var(--sea); overflow: visible; animation: flap .9s ease-in-out infinite; transform-origin: 50% 60%; filter: drop-shadow(0 12px 6px rgba(11, 79, 108, .15)); }
@keyframes flap { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.45) translateY(4px); } }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  color: var(--cream);
  transition: background .4s, color .4s, box-shadow .4s, transform .4s var(--ease-out);
}
.header__inner {
  height: 100%; max-width: 1400px; margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 1rem;
}
.header.is-solid {
  background: rgba(255, 248, 238, .9); color: var(--sea);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(11, 79, 108, .08), 0 12px 30px -18px rgba(11, 79, 108, .35);
}
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; }
.logo__icon { width: 44px; height: 44px; color: var(--lemon); flex: none; transition: transform .6s var(--ease-jelly); }
.logo:hover .logo__icon { transform: rotate(-12deg) scale(1.06); }
.logo__bird { fill: var(--sea); }
.logo__sea { stroke: var(--turq); }
.logo__text { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-weight: 600; font-size: 1.35rem; line-height: 1; }
.logo__text small { display: block; font-family: var(--f-body); font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; font-weight: 500; opacity: .8; margin-bottom: .2rem; }

.nav { display: none; }
.nav__list { display: flex; gap: .3rem; }
.nav__list a {
  position: relative; display: block; padding: .5rem .85rem; text-decoration: none; font-weight: 500; border-radius: 99px;
  transition: background .3s;
}
.nav__list a::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--pink); transform: translateX(-50%) scale(0); transition: transform .35s var(--ease-jelly);
}
.nav__list a:hover::after, .nav__list a.is-active::after { transform: translateX(-50%) scale(1); }
.header__cta { display: none; }

.burger {
  position: relative; width: 48px; height: 48px; border-radius: 50%;
  background: var(--lemon); display: grid; place-content: center; gap: 5px; z-index: 102;
}
.burger span { display: block; width: 20px; height: 2.5px; background: var(--sea); border-radius: 2px; transition: transform .45s var(--ease-jelly), opacity .25s, width .3s; }
.burger span:nth-child(2) { width: 14px; justify-self: end; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: translateX(8px); }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--sea); color: var(--cream);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  display: flex; flex-direction: column; gap: 2rem;
  clip-path: circle(0 at calc(100% - var(--gutter) - 24px) 36px);
  transition: clip-path .7s var(--ease-out);
  overflow-y: auto;
}
.mobile-menu::before { content: ""; position: absolute; inset: 0; background-image: var(--noise); opacity: .12; pointer-events: none; }
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - var(--gutter) - 24px) 36px); }
.mobile-menu ul { display: grid; gap: .3rem; }
.mobile-menu li a {
  display: flex; align-items: baseline; gap: 1rem; text-decoration: none;
  font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-size: clamp(2.2rem, 10vw, 3.4rem); line-height: 1.15;
  opacity: 0; transform: translateX(40px);
  transition: opacity .5s, transform .6s var(--ease-out), color .3s;
}
.mobile-menu li a:hover { color: var(--lemon); }
.mobile-menu li a span { font-family: var(--f-body); font-size: .8rem; color: var(--turq); }
.mobile-menu.is-open li a { opacity: 1; transform: none; }
.mobile-menu.is-open li:nth-child(1) a { transition-delay: .15s; }
.mobile-menu.is-open li:nth-child(2) a { transition-delay: .2s; }
.mobile-menu.is-open li:nth-child(3) a { transition-delay: .25s; }
.mobile-menu.is-open li:nth-child(4) a { transition-delay: .3s; }
.mobile-menu.is-open li:nth-child(5) a { transition-delay: .35s; }
.mobile-menu .btn { align-self: flex-start; }
.mobile-menu__addr { opacity: .75; font-size: .95rem; }
.menu-open .header { color: var(--cream); background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open { overflow: hidden; }

@media (min-width: 1000px) {
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .burger, .mobile-menu { display: none !important; }
}

/* ---------- Onde SVG ---------- */
.wave {
  position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(40px, 6vw, 80px);
  overflow: hidden; pointer-events: none; z-index: 2;
}
.wave--top { top: -1px; bottom: auto; transform: scaleY(-1); }
.wave__track {
  position: absolute; inset: 0; width: 200%; display: flex;
  animation: wave 14s linear infinite;
}
.wave__track svg { width: 50%; height: 100%; flex: none; }
.wave__track--back { opacity: .45; animation-duration: 22s; animation-direction: reverse; top: -10px; }
@keyframes wave { to { transform: translateX(-50%); } }
.wave--cream { color: var(--cream); }
.wave--pink { color: var(--pink); }
.wave--turq { color: var(--cream); }
.wave--sea { color: var(--cream); }
.wave svg path { fill: currentColor; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh; min-height: 100vh;
  display: flex; align-items: flex-end;
  color: var(--cream); overflow: hidden; isolation: isolate;
  padding-bottom: clamp(7rem, 16vh, 11rem);
}
@supports (height: 100svh) { .hero { min-height: 100svh; } }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 80% 10%, rgba(231, 90, 124, .25), transparent 55%),
    linear-gradient(180deg, rgba(7, 58, 80, .55) 0%, rgba(7, 58, 80, .15) 35%, rgba(7, 58, 80, .8) 100%);
}
.hero__overlay::after { content: ""; position: absolute; inset: 0; background-image: var(--noise); opacity: .18; mix-blend-mode: overlay; }
.hero__content { position: relative; padding-top: calc(var(--header-h) + 2rem); }
.hero__title {
  font-family: var(--f-display); font-variation-settings: "SOFT" 100, "opsz" 144;
  font-weight: 600; font-size: clamp(3rem, 1.6rem + 7.4vw, 8.4rem); line-height: .95; letter-spacing: -.03em;
  max-width: 12ch; text-wrap: balance;
}
.hero__title em { color: var(--lemon); display: inline; }
.hero__sub { margin-top: 1.4rem; font-size: clamp(1.05rem, 1rem + .5vw, 1.4rem); max-width: 34ch; opacity: .95; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.stamp {
  position: absolute; right: var(--gutter); top: calc(var(--header-h) + 3vh);
  width: clamp(96px, 13vw, 170px); aspect-ratio: 1;
  display: grid; place-items: center;
}
.stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.stamp text { font: 600 15.5px var(--f-body); letter-spacing: .22em; fill: var(--cream); }
.stamp__star {
  width: 58%; aspect-ratio: 1; border-radius: var(--radius-drop); background: var(--lemon); color: var(--sea);
  display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: clamp(.9rem, 1.4vw, 1.3rem);
  animation: blob 7s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blob {
  0%, 100% { border-radius: 52% 48% 46% 54% / 44% 42% 58% 56%; }
  50% { border-radius: 42% 58% 60% 40% / 56% 48% 52% 44%; }
}

.scroll-hint {
  position: absolute; left: 50%; bottom: clamp(3.4rem, 8vw, 5.5rem); transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: .5rem; text-decoration: none;
  font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; z-index: 3;
}
.scroll-hint__mouse { width: 26px; height: 42px; border: 2px solid currentColor; border-radius: 14px; display: flex; justify-content: center; padding-top: 7px; }
.scroll-hint__mouse span { width: 4px; height: 8px; border-radius: 2px; background: var(--lemon); animation: scrolldot 1.8s var(--ease-out) infinite; }
@keyframes scrolldot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (min-width: 1000px) { .scroll-hint { display: flex; } }

/* ---------- Galleria video ---------- */
.videos { position: relative; padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 9vw, 7rem); }
.videos__grid { display: grid; gap: 1.2rem; }
@media (min-width: 700px) { .videos__grid { grid-template-columns: repeat(3, 1fr); align-items: center; } }
.vcard {
  --tone: var(--pink);
  position: relative; display: block; width: 100%; text-align: left;
  aspect-ratio: 4 / 5; border-radius: 180px 180px 28px 28px; overflow: hidden;
  background: var(--tone); isolation: isolate;
  box-shadow: 0 30px 50px -30px rgba(11, 79, 108, .55);
  transition: border-radius .6s var(--ease-out), transform .6s var(--ease-out);
}
.vcard:hover { border-radius: 28px 28px 180px 180px; }
.vcard--sea { --tone: var(--sea); }
.vcard--lemon { --tone: var(--lemon); }
@media (min-width: 700px) { .vcard--tall { aspect-ratio: 3 / 4.6; } }
.vcard__media, .vcard__media video { position: absolute; inset: 0; width: 100%; height: 100%; }
.vcard__media video { object-fit: cover; transform: scale(1.04); transition: transform .9s var(--ease-out); }
.vcard:hover .vcard__media video { transform: scale(1.12); }
.vcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7, 58, 80, .85)); z-index: 1; }
.vcard__play {
  position: absolute; top: 50%; left: 50%; z-index: 2; translate: -50% -50%;
  width: 70px; height: 70px; border-radius: 50%; background: rgba(255, 248, 238, .92); display: grid; place-items: center;
  transition: transform .45s var(--ease-jelly);
}
.vcard__play::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255, 248, 238, .7); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.vcard__play svg { width: 26px; fill: var(--pink); margin-left: 4px; }
.vcard:hover .vcard__play { transform: scale(1.12); }
.has-cursor .vcard__play { opacity: 0; }
.vcard__info { position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.3rem; z-index: 2; color: var(--cream); display: grid; gap: .3rem; }
.vcard__num { font-size: .78rem; letter-spacing: .2em; color: var(--lemon); font-weight: 600; }
.vcard__title { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); line-height: 1.15; }

/* ---------- Marquee ---------- */
.marquees { position: relative; padding: clamp(2rem, 5vw, 4rem) 0; overflow: hidden; }
.marquee {
  --speed: 38s;
  position: relative; overflow: hidden; padding: 1.1rem 0;
  font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-weight: 600;
  font-size: clamp(1.6rem, 1rem + 3vw, 3.4rem); white-space: nowrap; line-height: 1.1;
}
.marquee--turq { background: var(--turq); color: var(--sea); transform: rotate(-2.5deg) scale(1.05); z-index: 2; box-shadow: 0 20px 40px -24px rgba(11, 79, 108, .6); }
.marquee--pink { background: var(--pink); color: var(--cream); transform: rotate(2deg) scale(1.05); margin-top: -.6rem; font-style: italic; font-weight: 400; --speed: 46s; }
.marquee__track { display: flex; width: max-content; animation: marquee var(--speed) linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Immagini a goccia ---------- */
.drop-img { position: relative; overflow: hidden; border-radius: var(--radius-drop); background: var(--cream-2); }
.drop-img img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.drop-img--a { aspect-ratio: 4 / 5; border-radius: 48% 52% 22px 50% / 38% 40% 22px 60%; }
.drop-img--b { aspect-ratio: 9 / 10; border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%; }

/* ---------- Chi siamo ---------- */
.about { position: relative; padding: clamp(4rem, 10vw, 8rem) 0; }
.about__grid { display: grid; gap: clamp(3rem, 6vw, 5rem); align-items: center; }
@media (min-width: 900px) { .about__grid { grid-template-columns: 1.05fr .95fr; } }
.about__text > p:not(.eyebrow):not(.lead) { color: var(--ink-soft); }
.about__media { position: relative; }
.about__media::before {
  content: ""; position: absolute; inset: 8% -6% -6% 10%; border-radius: var(--radius-drop);
  background: var(--turq); z-index: -1; animation: blob 9s ease-in-out infinite;
}
.about__sticker {
  position: absolute; left: -4%; bottom: 8%;
  width: clamp(110px, 16vw, 150px); aspect-ratio: 1; border-radius: 50%;
  background: var(--lemon); color: var(--sea); display: grid; place-content: center; text-align: center;
  font-size: .82rem; line-height: 1.2; rotate: -12deg;
  box-shadow: 0 16px 30px -16px rgba(11, 79, 108, .6);
}
.about__sticker strong { font-family: var(--f-display); font-style: italic; font-size: 1.25rem; font-weight: 500; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 2.4rem; }
.stat { padding: 1.1rem .9rem; border-radius: 22px 22px 22px 6px; background: #fff; box-shadow: 0 12px 30px -20px rgba(11, 79, 108, .5); }
.stat:nth-child(2) { background: var(--lemon); }
.stat:nth-child(3) { background: var(--sea); color: var(--cream); }
.stat dd:first-of-type { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.8rem); line-height: 1; display: flex; align-items: baseline; gap: .1rem; }
.stat__unit { font-size: .6em; color: var(--pink); }
.stat:nth-child(3) .stat__unit { color: var(--lemon); }
.stat__label { font-size: .85rem; margin-top: .35rem; opacity: .85; }

/* ---------- Specialità ---------- */
.specials {
  position: relative; background: var(--sea); color: var(--cream);
  padding: clamp(8rem, 14vw, 11rem) 0 clamp(7rem, 12vw, 10rem);
  isolation: isolate;
}
.specials::before { content: ""; position: absolute; inset: 0; background-image: var(--noise); opacity: .14; mix-blend-mode: overlay; z-index: -1; }
.drips { position: absolute; top: -1px; left: 0; right: 0; height: 160px; pointer-events: none; }
.drips::before { content: ""; position: absolute; inset: 0 0 auto; height: 24px; background: var(--cream); border-radius: 0 0 40% 40% / 0 0 100% 100%; }
.drips span {
  position: absolute; top: 0; left: var(--l); width: var(--w); height: var(--h);
  background: var(--cream); border-radius: 0 0 999px 999px; transform-origin: top;
}
.drips span::after {
  content: ""; position: absolute; left: 50%; bottom: -14px; translate: -50% 0;
  width: calc(var(--w) * .55); height: calc(var(--w) * .7); background: var(--cream);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  animation: drop 3.2s ease-in infinite; animation-delay: calc(var(--h) / 40px * 1s);
}
@keyframes drop {
  0%, 60% { transform: translateY(0) scale(.6); opacity: 0; }
  70% { opacity: 1; transform: translateY(0) scale(1); }
  100% { transform: translateY(90px) scale(.8); opacity: 0; }
}

.cards { display: grid; gap: 1.4rem; perspective: 1200px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 1.8rem; } .card:nth-child(3n+2) { margin-top: 3rem; } }
.card {
  position: relative; border-radius: 30px; padding: .7rem .7rem 1.4rem;
  background: var(--card); color: var(--ink);
  transform-style: preserve-3d; transition: transform .5s var(--ease-out), box-shadow .5s;
  box-shadow: 0 30px 60px -35px rgba(0, 0, 0, .6);
}
.card:hover { box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7); }
.card::after { /* riflesso */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .35), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.card:hover::after { opacity: 1; }
.card__img { overflow: hidden; border-radius: 22px 22px 120px 22px; aspect-ratio: 5 / 4; transform: translateZ(30px); }
.card:nth-child(even) .card__img { border-radius: 22px 22px 22px 120px; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.card:hover .card__img img { transform: scale(1.08); }
.card__body { padding: 1.2rem .8rem 0; transform: translateZ(40px); }
.card h3 { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-weight: 600; font-size: 1.6rem; line-height: 1.1; margin-bottom: .45rem; }
.card p { font-size: .98rem; opacity: .88; }
.card__badge {
  position: absolute; top: -14px; right: 18px; z-index: 3; transform: translateZ(60px) rotate(6deg);
  background: var(--pink); color: #fff; font-weight: 600; font-size: .8rem; padding: .45rem .9rem; border-radius: 99px;
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .5);
  animation: bob 3s ease-in-out infinite;
}
@keyframes bob { 50% { translate: 0 -5px; } }

/* ---------- Per tutti i gusti ---------- */
.forall { position: relative; background: var(--pink); color: var(--ink); padding: clamp(5rem, 10vw, 8rem) 0 clamp(7rem, 12vw, 10rem); overflow: hidden; }
.forall::before { content: ""; position: absolute; width: 60vw; aspect-ratio: 1; right: -20vw; top: -20vw; border-radius: var(--radius-drop); background: var(--lemon); opacity: .9; animation: blob 12s ease-in-out infinite; }
.forall .h2 { color: var(--ink); }
.forall .h2 em { color: var(--cream); }
.forall__grid { position: relative; display: grid; gap: clamp(3rem, 7vw, 5rem); align-items: center; }
@media (min-width: 900px) { .forall__grid { grid-template-columns: .95fr 1.05fr; } }
.forall__text .lead { color: var(--ink); }
.forall__list { margin-top: 1.6rem !important; font-family: var(--f-display); font-style: italic; font-size: 1.15rem; color: var(--sea); }
.forall__media { position: relative; }
.badges { position: absolute; inset: 0; pointer-events: none; }
.badge {
  position: absolute; display: inline-flex; gap: .45rem; align-items: center;
  padding: .7rem 1.1rem; border-radius: 99px; font-weight: 600; font-size: clamp(.85rem, .8rem + .3vw, 1rem);
  background: var(--cream); color: var(--sea); box-shadow: 0 14px 30px -14px rgba(7, 58, 80, .6);
  animation: float 5s ease-in-out infinite; white-space: nowrap;
}
.badge--1 { top: 6%; left: -2%; background: var(--turq); animation-delay: -1s; }
.badge--2 { top: 24%; right: -3%; background: var(--cream); animation-delay: -2.4s; }
.badge--3 { bottom: 22%; left: -4%; background: var(--lemon); animation-delay: -3.1s; }
.badge--4 { bottom: 4%; right: 4%; background: var(--sea); color: var(--cream); animation-delay: -.4s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(3deg); } }

/* ---------- Come vuoi tu ---------- */
.modes { padding: clamp(4rem, 10vw, 7rem) 0; }
.modes__list { display: grid; gap: 1.2rem; }
@media (min-width: 800px) { .modes__list { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; } }
.mode {
  text-align: center; padding: 2.2rem 1.6rem 2rem; border-radius: 40px 40px 40px 12px;
  background: #fff; box-shadow: 0 20px 50px -34px rgba(11, 79, 108, .55);
  transition: transform .5s var(--ease-jelly);
}
.mode:hover { transform: translateY(-8px) rotate(-1deg); }
.mode h3 { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-size: 1.5rem; font-weight: 600; color: var(--sea); margin: 1.2rem 0 .5rem; }
.mode p { color: var(--ink-soft); }
.mode__icon {
  display: inline-grid; place-items: center; width: 108px; aspect-ratio: 1; border-radius: var(--radius-drop);
  color: var(--sea); animation: blob 8s ease-in-out infinite;
}
.mode__icon svg { width: 60px; }
.mode__icon--turq { background: var(--turq); }
.mode__icon--pink { background: var(--pink); color: var(--cream); }
.mode__icon--lemon { background: var(--lemon); }
.anim-umbrella { transform-origin: 32px 26px; animation: sway 3s ease-in-out infinite; }
.anim-scoop { animation: bob 2s ease-in-out infinite; }
.anim-scooter { animation: ride 1.2s ease-in-out infinite; }
.anim-speed { animation: speed 1.2s linear infinite; }
@keyframes sway { 50% { transform: rotate(6deg); } }
@keyframes ride { 50% { transform: translate(2px, -1.5px); } }
@keyframes speed { 0% { transform: translateX(6px); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateX(-6px); opacity: 0; } }

/* ---------- Galleria masonry ---------- */
.gallery { padding: 0 0 clamp(7rem, 12vw, 10rem); }
.masonry { columns: 2; column-gap: .8rem; }
@media (min-width: 900px) { .masonry { columns: 3; column-gap: 1.2rem; } }
.masonry__item { break-inside: avoid; margin-bottom: .8rem; }
@media (min-width: 900px) { .masonry__item { margin-bottom: 1.2rem; } }
.masonry__btn { display: block; width: 100%; overflow: hidden; border-radius: 26px; position: relative; background: var(--cream-2); }
.masonry__item:nth-child(3n+1) .masonry__btn { border-radius: 26px 26px 26px 90px; }
.masonry__item:nth-child(3n+2) .masonry__btn { border-radius: 90px 26px 26px 26px; }
.masonry__btn img { width: 100%; transition: transform .9s var(--ease-out), filter .5s; }
.masonry__btn:hover img { transform: scale(1.06); filter: saturate(1.15); }

/* ---------- Recensioni ---------- */
.reviews { position: relative; background: var(--turq); padding: clamp(7rem, 12vw, 10rem) 0 clamp(7rem, 12vw, 10rem); overflow: hidden; }
.reviews::before { content: "“"; position: absolute; right: -2vw; top: 4vw; font-family: var(--f-display); font-size: clamp(16rem, 40vw, 34rem); line-height: .8; color: var(--sea); opacity: .08; pointer-events: none; }
.reviews .h2 em { color: var(--cream); }
.reviews__head { display: grid; gap: 2rem; align-items: end; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 900px) { .reviews__head { grid-template-columns: 1.3fr 1fr; } .rating { justify-self: end; } }
.rating {
  display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: center;
  background: var(--cream); padding: 1.1rem 1.6rem; border-radius: 28px 28px 28px 8px; width: max-content; max-width: 100%;
  box-shadow: 0 20px 40px -26px rgba(7, 58, 80, .6);
}
.rating__score { grid-row: span 2; font-family: var(--f-display); font-weight: 700; font-size: 3.4rem; line-height: 1; color: var(--sea); }
.rating__stars span { --pct: calc(var(--r) / 5 * 100%); display: inline-block; font-size: 1.4rem; letter-spacing: .12em; line-height: 1; }
.rating__stars span::before { content: "★★★★★"; background: linear-gradient(90deg, var(--lemon) var(--pct), rgba(11, 79, 108, .2) var(--pct)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: .5px rgba(11, 79, 108, .35); }
.rating__count { font-size: .9rem; color: var(--ink-soft); }

.slider__viewport { overflow: hidden; border-radius: 36px; }
.slider__track { display: flex; transition: transform .8s var(--ease-out); }
.slide {
  flex: 0 0 100%; padding: clamp(2rem, 5vw, 3.6rem);
  background: var(--sea); color: var(--cream); border-radius: 36px;
}
.slide p { font-family: var(--f-display); font-variation-settings: "SOFT" 100, "opsz" 72; font-size: clamp(1.35rem, 1rem + 1.8vw, 2.4rem); line-height: 1.25; font-weight: 400; max-width: 34ch; }
.slide footer { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; font-weight: 600; }
.slide__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--lemon); color: var(--sea); font-family: var(--f-display); font-size: 1.2rem; }
.slide__stars { color: var(--lemon); letter-spacing: .1em; font-size: .95rem; }
.slider__controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.4rem; }
.slider__arrow { width: 52px; height: 52px; border-radius: 50%; background: var(--cream); color: var(--sea); display: grid; place-items: center; box-shadow: 0 8px 20px -10px rgba(7, 58, 80, .6); }
.slider__arrow svg { width: 22px; }
.slider__dots { display: flex; gap: .5rem; }
.slider__dots button { width: 12px; height: 12px; border-radius: 99px; background: rgba(11, 79, 108, .3); transition: width .4s var(--ease-jelly), background .3s; }
.slider__dots button[aria-current="true"] { width: 34px; background: var(--sea); }
.reviews__cta { margin-top: 2.4rem; text-align: center; }

/* ---------- Dove siamo ---------- */
.where { padding: clamp(4rem, 10vw, 7rem) 0 clamp(8rem, 14vw, 11rem); }
.where__grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
@media (min-width: 900px) { .where__grid { grid-template-columns: 1fr 1.1fr; } }
.info-card { margin-top: 2rem; background: #fff; border-radius: 32px 32px 32px 10px; padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: 0 24px 60px -36px rgba(11, 79, 108, .55); display: grid; gap: 1.4rem; }
.info-row { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; }
.info-row__icon { width: 48px; height: 48px; border-radius: var(--radius-drop); background: var(--cream-2); display: grid; place-items: center; }
.info-row__icon svg { width: 22px; fill: var(--pink); }
.info-row h3 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; margin-bottom: .2rem; }
.info-row small { color: var(--ink-soft); }
.open-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #1FA37A; margin-right: .3rem; box-shadow: 0 0 0 0 rgba(31, 163, 122, .5); animation: ping 2s infinite; vertical-align: middle; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(31, 163, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 163, 122, 0); } }
.where__btns { display: flex; flex-wrap: wrap; gap: .8rem; }
.where__map { position: relative; }
.where__map iframe {
  width: 100%; aspect-ratio: 1 / 1; border: 0;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  box-shadow: 0 30px 70px -40px rgba(11, 79, 108, .8), 0 0 0 10px #fff;
  filter: saturate(1.1);
}
@media (min-width: 900px) { .where__map iframe { border-radius: 48% 52% 50% 50% / 42% 44% 56% 58%; } }
.where__pin { position: absolute; top: 4%; right: 8%; width: 70px; height: 70px; display: grid; place-items: center; font-size: 2rem; border-radius: 50%; background: var(--lemon); box-shadow: 0 12px 24px -10px rgba(7, 58, 80, .6); animation: bob 2.6s ease-in-out infinite; }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--sea); color: var(--cream); padding: clamp(6rem, 10vw, 8rem) 0 calc(2rem + 76px); overflow: hidden; }
.footer::before { content: ""; position: absolute; inset: 0; background-image: var(--noise); opacity: .14; mix-blend-mode: overlay; pointer-events: none; }
@media (min-width: 900px) { .footer { padding-bottom: 2rem; } }
.footer__big { font-family: var(--f-display); font-variation-settings: "SOFT" 100, "opsz" 144; font-weight: 600; font-size: clamp(2.8rem, 1rem + 8vw, 8rem); line-height: .95; letter-spacing: -.03em; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.footer__big em { color: var(--lemon); }
.footer__grid { display: grid; gap: 2rem; padding: 2.4rem 0; border-top: 1px solid rgba(255, 248, 238, .18); }
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer h3 { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--turq); margin-bottom: .7rem; font-weight: 600; }
.footer p { opacity: .9; }
.logo--footer .logo__icon { width: 52px; height: 52px; }
.footer__claim { margin-top: 1rem; max-width: 26ch; }
.socials { display: flex; gap: .6rem; }
.socials a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 248, 238, .1); transition: background .3s, color .3s; }
.socials a:hover { background: var(--lemon); color: var(--sea); }
.socials svg { width: 20px; fill: currentColor; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; border-top: 1px solid rgba(255, 248, 238, .18); font-size: .9rem; opacity: .85; }

/* ---------- Barra mobile ---------- */
.mobile-bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 6px; border-radius: 99px; background: rgba(255, 248, 238, .92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px -14px rgba(7, 58, 80, .55);
  transform: translateY(140%); transition: transform .6s var(--ease-jelly);
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar__btn { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; border-radius: 99px; text-decoration: none; font-weight: 600; }
.mobile-bar__btn svg { width: 20px; fill: currentColor; }
.mobile-bar__btn--wa { background: #1B8F5E; color: #fff; }
.mobile-bar__btn--call { background: var(--sea); color: var(--cream); }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* ---------- Lightbox ---------- */
.lightbox {
  width: min(94vw, 1100px); max-width: none; max-height: 92vh; padding: 0; border: 0; background: transparent; overflow: visible;
  color: var(--cream);
}
.lightbox::backdrop { background: rgba(7, 58, 80, .88); backdrop-filter: blur(8px); }
.lightbox[open] { animation: pop .5s var(--ease-jelly); }
@keyframes pop { from { transform: scale(.85); opacity: 0; } }
.lightbox video, .lightbox img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: 24px; background: #000; margin-inline: auto; }
.lightbox--photo img { background: transparent; width: auto; max-width: 100%; }
.lightbox__caption { text-align: center; margin-top: .8rem; font-family: var(--f-display); font-size: 1.15rem; }
.lightbox__close {
  position: absolute; top: -18px; right: -6px; z-index: 2; width: 48px; height: 48px; border-radius: 50%;
  background: var(--lemon); color: var(--sea); font-size: 1.2rem; font-weight: 700; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5);
}
@media (min-width: 700px) { .lightbox__close { top: -22px; right: -22px; } }
.lightbox__nav {
  position: absolute; top: 45%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; z-index: 2;
  background: var(--cream); color: var(--sea); font-size: 2rem; line-height: 1;
}
.lightbox__nav--prev { left: 6px; }
.lightbox__nav--next { right: 6px; }

/* ---------- Stato iniziale animazioni (solo con JS attivo) ---------- */
.js-anim [data-reveal] { opacity: 0; }
.js-anim .split .w > span { transform: translateY(110%); }

/* ---------- Riduzione movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee__track { animation: none; flex-wrap: nowrap; }
  .seagull { display: none; }
  .hero__video { transform: none; }
}
