/* =========================================================
   Farmacia Scaramuzza – foglio di stile
   Mobile-first: base per smartphone, poi tablet (≥700px) e desktop (≥1024px)
   ========================================================= */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans.woff2") format("woff2");
  font-weight: 200 1000; font-style: normal; font-display: swap;
}

:root {
  --navy: #1d3a57;
  --navy-2: #24425f;
  --navy-3: #2f5478;
  --teal: #3fae9f;
  --teal-d: #1b7a6e;
  --teal-l: #7fd3c6;
  --mint: #eaf7f4;
  --mint-2: #d5efe9;
  --cream: #fbfaf6;
  --ink: #172433;
  --ink-2: #4b5d6f;
  --line: #dfe7ec;
  --ok: #1e7b43;
  --err: #b3261e;
  --gold: #e8b04b;

  --r: 18px;
  --r-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(23, 36, 51, .06);
  --shadow: 0 10px 30px -10px rgba(23, 36, 51, .18);
  --shadow-lg: 0 30px 60px -20px rgba(23, 36, 51, .30);
  --ease: cubic-bezier(.2, .8, .2, 1);

  --font: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  --bar-h: 84px;
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--bar-h);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-3); text-underline-offset: 3px; }
a:hover { color: var(--teal-d); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--teal-l); color: var(--ink); }

h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.1; font-weight: 600; letter-spacing: -.01em; }
h1 em, h2 em {
  font-style: italic; color: var(--teal-d);
  text-decoration: underline; text-decoration-color: rgba(63, 174, 159, .35);
  text-decoration-thickness: .14em; text-underline-offset: .1em; text-decoration-skip-ink: none;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 880px; }
.center { text-align: center; }
.muted { color: var(--ink-2); font-size: .95rem; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; vertical-align: -.25em; }
.icon-lg { width: 2rem; height: 2rem; }
.icon-xl { width: 3.5rem; height: 3.5rem; }

.sr-only, .hp {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip { position: absolute; left: 8px; top: -80px; z-index: 1000; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 8px; }
.skip:focus { top: 8px; color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 12px; color: var(--teal-d);
  font-weight: 800; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- Bottoni ---------- */
.btn {
  --bg: var(--teal-d); --fg: #fff; --bd: var(--teal-d);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--bg); color: var(--fg); border: 2px solid var(--bd);
  padding: 11px 22px; min-height: 48px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  box-shadow: 0 6px 18px -8px rgba(27, 122, 110, .6);
}
.btn:hover { transform: translateY(-2px); color: var(--fg); box-shadow: 0 12px 24px -10px rgba(27, 122, 110, .7); --bg: #166a5f; --bd: #166a5f; }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .25s var(--ease); }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
.btn-lg { padding: 14px 28px; min-height: 56px; font-size: 1.05rem; }
.btn-small { padding: 8px 16px; min-height: 42px; font-size: .95rem; }
.btn-outline { --bg: transparent; --fg: var(--navy); --bd: var(--navy); box-shadow: none; }
.btn-outline:hover { --bg: var(--navy); --fg: #fff; --bd: var(--navy); box-shadow: var(--shadow); }
.btn-light { --bg: #fff; --fg: var(--navy); --bd: #fff; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4); }
.btn-light:hover { --bg: var(--mint); --fg: var(--navy); --bd: var(--mint); }
.btn-ghost { --bg: rgba(255, 255, 255, .08); --fg: #fff; --bd: rgba(255, 255, 255, .5); box-shadow: none; }
.btn-ghost:hover { --bg: #fff; --fg: var(--navy); --bd: #fff; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Avviso, topbar, header ---------- */
.notice-bar { background: linear-gradient(90deg, var(--gold), #f3c979); color: var(--ink); font-weight: 700; font-size: .95rem; }
.notice-bar .container { display: flex; gap: 10px; align-items: center; justify-content: center; padding-top: 10px; padding-bottom: 10px; text-align: center; }

.topbar { background: var(--navy); color: #dfe8f0; font-size: .85rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--teal-l); }
.topbar-links { display: flex; gap: 18px; }
.topbar .icon { width: 1em; height: 1em; }
.hide-sm { display: none !important; }

.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: #e35d5d; }
.status.is-open .dot { background: #4ade80; animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); }
  70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid rgba(223, 231, 236, .7);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 8px 30px -12px rgba(23, 36, 51, .25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 16px; }
.logo img { width: 158px; transition: width .3s var(--ease); }

.menu-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; padding: 13px 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; cursor: pointer;
}
.menu-toggle .bar { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  padding: 8px 20px 24px;
  visibility: hidden; opacity: 0; transform: translateY(-10px);
  transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
}
.main-nav.open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s var(--ease); }
.main-nav ul { list-style: none; margin: 0 0 16px; padding: 0; }
.main-nav a:not(.btn) {
  display: flex; padding: 14px 6px; text-decoration: none; font-weight: 700; font-size: 1.1rem; color: var(--navy);
  border-bottom: 1px solid var(--line);
}
.main-nav a.active, .main-nav a:not(.btn):hover { color: var(--teal-d); }
.nav-cta { width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 40px 0 56px; background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.blob.b1 { width: 460px; height: 460px; background: var(--mint-2); top: -140px; right: -120px; }
.blob.b2 { width: 380px; height: 380px; background: #dbe7f3; bottom: -160px; left: -140px; animation-duration: 22s; }
.blob.b3 { width: 260px; height: 260px; background: #fbe9c8; top: 40%; left: 45%; opacity: .35; animation-duration: 26s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.12); }
}

.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 9vw, 4.8rem); margin: 0 0 18px; }
.hero-lead { font-size: 1.15rem; color: var(--ink-2); max-width: 34em; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-media { position: relative; padding: 0 8px 28px; }
.hero-photo {
  border-radius: 999px 999px var(--r-lg) var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.4;
  border: 8px solid #fff; background: var(--mint);
}
.hero-photo img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }

.hero-badge {
  position: absolute; top: 18%; left: -4px;
  display: flex; align-items: center; gap: 10px;
  background: var(--navy); color: #fff; border-radius: var(--r);
  padding: 12px 16px; box-shadow: var(--shadow-lg);
}
.badge-num { font-family: var(--serif); font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--teal-l); }
.badge-txt { font-size: .78rem; line-height: 1.3; font-weight: 600; }

.hero-card {
  position: absolute; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: var(--r); padding: 14px 18px; box-shadow: var(--shadow-lg); max-width: 290px;
}
.hero-card strong { display: block; color: var(--navy); font-size: 1rem; }
.hero-card span { font-size: .88rem; color: var(--ink-2); }
.hero-card-icon { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: #fdecec; color: #c0392b; }
.hero-card-icon.is-open { background: var(--mint); color: var(--teal-d); }
.hero-card-icon .icon { width: 24px; height: 24px; }

.float { animation: float 6s ease-in-out infinite; }
.float-slow { animation: float 8s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Striscia scorrevole ---------- */
.marquee { background: var(--navy); color: #fff; overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.35rem; font-style: italic; white-space: nowrap; }
.marquee .icon { color: var(--teal-l); width: 22px; height: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Accessi rapidi ---------- */
.quick { position: relative; z-index: 2; padding: 0 0 40px; margin-top: -24px; }
.quick + .marquee { margin-top: 0; }
.quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.quick-item {
  display: flex; flex-direction: column; gap: 4px; padding: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; color: var(--ink-2); font-size: .88rem; line-height: 1.4;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.quick-item strong { color: var(--navy); font-size: 1rem; }
.quick-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal-l); color: var(--ink-2); }
.quick-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 8px; border-radius: 14px; background: var(--mint); color: var(--teal-d); transition: background .3s, color .3s, transform .3s var(--ease); }
.quick-icon .icon { width: 24px; height: 24px; }
.quick-item:hover .quick-icon { background: var(--teal-d); color: #fff; transform: rotate(-8deg) scale(1.05); }

/* ---------- Sezioni ---------- */
.section { padding: 64px 0; position: relative; }
.section-soft { background: linear-gradient(180deg, var(--mint) 0%, #f3faf8 100%); }
.section-head { max-width: 640px; margin: 0 auto 36px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head p { color: var(--ink-2); }
.section-title { font-size: clamp(2rem, 6vw, 3rem); margin: 0 0 16px; }

/* Card servizi con luce che segue il mouse */
.services-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 36px; }
.service-card {
  --mx: 50%; --my: 0%;
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 26px 24px; border-radius: var(--r); text-decoration: none; color: var(--ink-2);
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(63, 174, 159, .14), transparent 45%), #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service-card::after {
  content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--teal), var(--navy-3)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink-2); }
.service-card:hover::after { transform: scaleX(1); }
.service-card h3 { font-size: 1.55rem; margin: 10px 0 2px; }
.service-card p { margin: 0 0 8px; font-size: .95rem; }
.service-card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--teal-d); font-size: .92rem; }
.service-card .more .icon { transition: transform .3s var(--ease); }
.service-card:hover .more .icon { transform: translateX(4px); }
.service-icon {
  display: grid; place-items: center; width: 56px; height: 56px; flex-shrink: 0; border-radius: 16px;
  background: linear-gradient(135deg, var(--mint) 0%, var(--mint-2) 100%); color: var(--teal-d);
  transition: transform .4s var(--ease);
}
.service-icon .icon { width: 28px; height: 28px; }
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.08); }
@media (max-width: 699px) {
  .services-grid { gap: 10px; }
  .service-card { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding: 16px; align-items: center; }
  .service-card .service-icon { grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; }
  .service-card h3 { font-size: 1.3rem; margin: 0; }
  .service-card p { font-size: .88rem; margin: 0; line-height: 1.45; }
  .service-card .more { display: none; }
}

/* Illustrazioni */
.explore { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 960px; }
.explore-item { display: block; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.explore-item:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow-lg); }

/* Storia */
.story { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--teal), var(--navy-3)); border-radius: 2px; }
.timeline li { position: relative; padding: 0 0 28px 20px; display: flex; flex-direction: column; color: var(--ink-2); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -26px; top: 12px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); box-shadow: 0 0 0 6px var(--cream); }
.timeline .year { font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--navy); line-height: 1.1; }

/* Prenotazione */
.booking { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
.steps { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 18px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; color: var(--ink-2); }
.steps li > span {
  display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%;
  background: var(--navy); color: #fff; font-family: var(--serif); font-size: 1.4rem; font-weight: 700;
}
.steps strong { display: block; color: var(--navy); font-size: 1.05rem; }

/* ---------- Moduli ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow); }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 700; color: var(--navy); font-size: .95rem; }
.form small { font-weight: 400; color: var(--ink-2); font-size: .85rem; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="password"],
.form input[type="number"], .form input[type="date"], .form input[type="url"], .form select, .form textarea {
  width: 100%; font: inherit; font-weight: 400; color: var(--ink); padding: 12px 14px; min-height: 50px;
  border: 1.5px solid #c9d6df; border-radius: 12px; background: #fbfdfe;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form textarea { resize: vertical; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: #9fb4c3; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal-d); background: #fff; box-shadow: 0 0 0 4px rgba(63, 174, 159, .18); }
.form .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; color: var(--ink); }
.form .check input { width: 22px; height: 22px; margin-top: 2px; flex-shrink: 0; accent-color: var(--teal-d); }
.form .btn { justify-self: start; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.notice { background: #fff8e8; border: 1px solid #f5dfa8; border-left: 4px solid var(--gold); padding: 12px 16px; border-radius: 12px; font-size: .92rem; }
.notice p { margin: 3px 0; }
.alert { padding: 14px 16px; border-radius: 12px; font-weight: 700; }
.alert-ok { background: #e6f4ea; color: var(--ok); border: 1px solid #b7dfc3; }
.alert-err { background: #fce8e6; color: var(--err); border: 1px solid #f3b7b1; }

/* ---------- Linee e marchi ---------- */
.banner { display: block; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.banner:hover { transform: translateY(-4px) scale(1.01); box-shadow: var(--shadow-lg); }
.brands { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 20px; }
.brand {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 28px 20px; min-height: 170px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; font-weight: 700; color: var(--navy);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.brand:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.brand img { max-height: 80px; width: auto; }

/* ---------- Numeri ---------- */
.stats { background: linear-gradient(120deg, var(--teal-d), #1f8f80 55%, var(--navy-3)); color: #fff; padding: 48px 0; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .15), transparent 40%), radial-gradient(circle at 80% 90%, rgba(255, 255, 255, .1), transparent 40%); }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; text-align: center; }
.stat-num { display: block; font-family: var(--serif); font-size: clamp(3rem, 12vw, 4.6rem); font-weight: 700; line-height: 1; }
.stat-label { display: block; margin-top: 6px; font-size: .9rem; opacity: .92; font-weight: 600; }

/* ---------- Tessera fedeltà ---------- */
.section-brand { background: var(--cream); overflow: hidden; }
.loyalty { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.loyalty-cards { position: relative; display: flex; justify-content: center; padding: 20px 0 40px; }
.loyalty-cards a { display: block; width: 44%; max-width: 230px; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); border: 5px solid #fff; transition: transform .5s var(--ease); }
.loyalty-cards .card-0 { transform: rotate(-7deg) translateX(14px); z-index: 1; }
.loyalty-cards .card-1 { transform: rotate(6deg) translate(-14px, 22px); }
.loyalty-cards:hover .card-0 { transform: rotate(-11deg) translate(-6px, -8px); }
.loyalty-cards:hover .card-1 { transform: rotate(10deg) translate(6px, 20px); }

/* ---------- Invito finale ---------- */
.cta-final { background: var(--navy); color: #dfe8f0; padding: 72px 0; position: relative; overflow: hidden; text-align: center; isolation: isolate; }
.cta-final::before, .cta-final::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; filter: blur(50px); }
.cta-final::before { width: 380px; height: 380px; background: rgba(63, 174, 159, .35); top: -160px; left: -80px; }
.cta-final::after { width: 320px; height: 320px; background: rgba(47, 84, 120, .9); bottom: -160px; right: -60px; }
.cta-final h2 { color: #fff; font-size: clamp(2.4rem, 8vw, 4.2rem); margin: 0 0 12px; }
.cta-final h2 em { color: var(--teal-l); text-decoration-color: rgba(127, 211, 198, .4); }
.cta-final p { margin: 0 0 28px; }
.cta-final .hero-actions { justify-content: center; }

/* ---------- Intestazione pagine interne ---------- */
.page-head { position: relative; overflow: hidden; isolation: isolate; padding: 56px 0 48px; background: linear-gradient(180deg, #fff, var(--cream)); }
.page-head h1 { font-size: clamp(2.6rem, 9vw, 4.4rem); margin: 0 0 12px; }
.page-head p { color: var(--ink-2); font-size: 1.1rem; max-width: 40em; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips a {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 700; font-size: .88rem; text-decoration: none;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.chips a:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-2px); }
.chips .icon { width: 1.1em; height: 1.1em; color: var(--teal-d); }
.chips a:hover .icon { color: var(--teal-l); }

/* ---------- Elenco servizi (pagina) ---------- */
.service-list { display: grid; gap: 14px; }
.service-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); transition: box-shadow .3s, border-color .3s; }
.service-item[open] { box-shadow: var(--shadow); border-color: var(--mint-2); }
.service-item:target { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(63, 174, 159, .2), var(--shadow); }
.service-item summary { display: flex; align-items: center; gap: 16px; padding: 18px; cursor: pointer; list-style: none; }
.service-item summary::-webkit-details-marker { display: none; }
.service-sum { flex: 1; display: grid; gap: 2px; }
.service-sum strong { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); line-height: 1.15; }
.service-sum span { font-size: .92rem; color: var(--ink-2); }
.plus { position: relative; width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: var(--mint); transition: background .3s, transform .4s var(--ease); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--teal-d); border-radius: 2px; }
.plus::after { transform: rotate(90deg); transition: transform .3s var(--ease); }
.service-item[open] .plus { background: var(--teal-d); transform: rotate(180deg); }
.service-item[open] .plus::before, .service-item[open] .plus::after { background: #fff; }
.service-item[open] .plus::after { transform: rotate(0); }
.service-body { margin: 0 18px; padding: 0 0 22px; border-top: 1px solid var(--line); }

/* ---------- Testo formattato ---------- */
.prose > :first-child { margin-top: 1em; }
.story-text .prose > :first-child, .booking-info .prose > :first-child, .loyalty-text .prose > :first-child, .news-body .prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.8rem; margin: 1.6em 0 .4em; }
.prose h3 { font-size: 1.45rem; margin: 1.3em 0 .4em; }
.prose ul { padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 26px; margin: 8px 0; }
.prose li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.table-wrap { overflow-x: auto; margin: 1em 0; border-radius: 12px; border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; min-width: 440px; font-size: .95rem; }
th, td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--mint); color: var(--navy); font-weight: 800; }
tbody tr:nth-child(even) { background: #fafcfd; }
tbody tr:last-child td { border-bottom: 0; }

/* ---------- Eventi / promozioni ---------- */
.news-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mint); }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-body { padding: 22px; }
.news-body time { display: inline-flex; align-items: center; gap: 6px; color: var(--teal-d); font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.news-body h2 { font-size: 1.8rem; margin: 8px 0; }
.until { display: inline-block; margin: 8px 0 0; padding: 4px 12px; border-radius: 999px; background: #fff3dc; color: #8a5a00; font-weight: 700; font-size: .85rem; }
.empty { text-align: center; max-width: 520px; margin: 0 auto; padding: 48px 24px; background: #fff; border: 1px dashed var(--mint-2); border-radius: var(--r-lg); }
.empty .icon { color: var(--teal); margin: 0 auto 12px; display: block; }
.empty h2 { font-size: 2rem; margin: 0 0 8px; }
.empty p { color: var(--ink-2); margin: 0; }

/* ---------- Contatti ---------- */
.contact-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.contact-card {
  display: flex; flex-direction: column; gap: 4px; padding: 26px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--ink-2); }
.contact-card .service-icon { margin-bottom: 12px; }
.contact-card .label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--teal-d); }
.contact-card strong { color: var(--navy); font-size: 1.1rem; word-break: break-word; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.status-lg { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); margin: 0 0 16px; }
.status-lg.is-open { color: var(--ok); }
.status-lg.is-closed { color: #b33a3a; }

.hours { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; }
.hours-card { gap: 0 18px; background: #fff; padding: 14px 24px; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.hours-card dt, .hours-card dd { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.hours-card dt:last-of-type, .hours-card dd:last-of-type { border-bottom: 0; }
.hours-card .today { color: var(--teal-d); font-weight: 800; }
.hours-note { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); margin-top: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: #13283d; color: #c6d3de; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--teal-l); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.site-footer .footer-grid { padding-top: 56px; padding-bottom: 48px; }
.footer-logo { display: inline-block; background: #fff; padding: 12px 16px; border-radius: 14px; margin-bottom: 12px; }
.footer-logo img { width: 170px; }
.footer-title { color: #fff; font-size: 1.6rem; margin: 0 0 16px; }
.footer-contacts { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.footer-contacts li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contacts .icon { color: var(--teal-l); margin-top: 3px; }
.site-footer .hours dt { color: #fff; }
.site-footer .hours-note { color: #c6d3de; }
.social { display: flex; gap: 16px; }
.map { border-radius: var(--r); overflow: hidden; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); min-height: 230px; }
.map iframe { width: 100%; height: 260px; border: 0; display: block; }
.map-placeholder { padding: 24px; display: grid; gap: 12px; justify-items: start; font-size: .9rem; }
.map-placeholder .icon { color: var(--teal-l); }
.map-placeholder p { margin: 0; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; font-size: .85rem; text-align: center; }
.footer-bottom p { margin: 6px 0; }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.site-footer .legal-links a, .site-footer .legal-links .linklike { color: #c6d3de; }

/* ---------- Barra azioni (telefono) ---------- */
.mobile-bar {
  position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 90;
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; padding: 6px;
  background: rgba(19, 40, 61, .95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-radius: 20px; box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .5);
}
.mobile-bar button { font: inherit; background: none; border: 0; cursor: pointer; }
.mobile-bar a, .mobile-bar button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 14px; color: #fff; text-decoration: none; font-size: .78rem; font-weight: 700; }
.mobile-bar a.primary { background: var(--teal-d); }
.mobile-bar .icon { width: 22px; height: 22px; }

/* ---------- Banner cookie ---------- */
.cookie-banner {
  position: fixed; left: 10px; right: 10px; bottom: calc(var(--bar-h) + 4px); z-index: 200;
  background: #fff; border-radius: var(--r-lg); box-shadow: 0 20px 60px -10px rgba(0, 0, 0, .35); border: 1px solid var(--line);
  max-width: 560px; margin: 0 auto; animation: slideup .5s var(--ease);
}
@keyframes slideup { from { transform: translateY(30px); opacity: 0; } }
.cookie-inner { padding: 20px; }
.cookie-banner h2 { margin: 0 0 6px; font-size: 1.6rem; }
.cookie-banner p { margin: 0 0 14px; font-size: .92rem; color: var(--ink-2); }
.cookie-options { display: grid; gap: 8px; margin-bottom: 14px; }
.cookie-options .check { display: flex; gap: 10px; align-items: center; }
.cookie-options input { width: 20px; height: 20px; accent-color: var(--teal-d); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions .btn { flex: 1 1 120px; padding: 10px 14px; }

/* ---------- Pannello accessibilità ---------- */
.a11y-toggle {
  display: none;
  position: fixed; left: 14px; bottom: calc(var(--bar-h) + 14px); z-index: 150;
  width: 52px; height: 52px; border-radius: 50%; border: 3px solid #fff; padding: 10px;
  background: var(--navy-3); color: #fff; cursor: pointer; box-shadow: var(--shadow-lg);
  transition: transform .3s var(--ease);
}
.a11y-toggle:hover { transform: scale(1.08); }
.a11y-toggle svg { width: 100%; height: 100%; display: block; }
.a11y-panel {
  position: fixed; left: 14px; bottom: calc(var(--bar-h) + 8px); z-index: 150; width: 260px; max-width: calc(100vw - 28px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg);
  padding: 16px; display: grid; gap: 8px; animation: slideup .3s var(--ease);
}
.a11y-panel h2 { margin: 0 0 4px; font-size: 1.5rem; }
.a11y-panel button {
  font: inherit; font-weight: 600; padding: 10px 12px; min-height: 44px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--cream); color: var(--ink); cursor: pointer; text-align: left;
}
.a11y-panel button:hover { border-color: var(--teal); }
.a11y-panel button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.a11y-panel button[aria-pressed="true"]::before { content: "✓ "; font-weight: 800; }
.a11y-row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; }
.a11y-row button { text-align: center; min-width: 52px; font-weight: 800; }
.a11y-reset { background: #fff !important; }
.a11y-panel a { font-size: .9rem; }

/* ---------- Animazioni di comparsa ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Modalità accessibilità ---------- */
.a11y-links a { text-decoration: underline !important; }
.a11y-readable body, .a11y-readable h1, .a11y-readable h2, .a11y-readable h3, .a11y-readable .service-sum strong,
.a11y-readable .marquee span, .a11y-readable .stat-num, .a11y-readable .timeline .year, .a11y-readable .badge-num {
  font-family: Verdana, Tahoma, Arial, sans-serif !important; letter-spacing: .02em; font-style: normal !important;
}
.a11y-readable body { line-height: 1.9; word-spacing: .1em; }
.a11y-nomotion *, .a11y-nomotion *::before, .a11y-nomotion *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
.a11y-nomotion .reveal { opacity: 1 !important; transform: none !important; }
.a11y-nomotion .hero-photo img { transform: none !important; }
.a11y-contrast body, .a11y-contrast .site-header, .a11y-contrast .main-nav, .a11y-contrast .card, .a11y-contrast .hero,
.a11y-contrast .section-soft, .a11y-contrast .section-brand, .a11y-contrast .page-head, .a11y-contrast .brand, .a11y-contrast .explore-item,
.a11y-contrast .service-card, .a11y-contrast .service-item, .a11y-contrast .quick-item, .a11y-contrast .hours-card, .a11y-contrast .contact-card,
.a11y-contrast .news-card, .a11y-contrast .empty, .a11y-contrast .cookie-banner, .a11y-contrast .a11y-panel, .a11y-contrast .notice,
.a11y-contrast .hero-card, .a11y-contrast .hero-badge, .a11y-contrast .status-lg, .a11y-contrast .chips a, .a11y-contrast .stats, .a11y-contrast .cta-final,
.a11y-contrast .form input, .a11y-contrast .form select, .a11y-contrast .form textarea, .a11y-contrast th, .a11y-contrast tbody tr,
.a11y-contrast .site-footer, .a11y-contrast .topbar, .a11y-contrast .marquee, .a11y-contrast .mobile-bar, .a11y-contrast .service-icon,
.a11y-contrast .quick-icon, .a11y-contrast .notice-bar, .a11y-contrast .map, .a11y-contrast .mobile-bar button {
  background: #000 !important; color: #fff !important; border-color: #fff !important; box-shadow: none !important;
}
.a11y-contrast .hero-bg, .a11y-contrast .stats::before, .a11y-contrast .cta-final::before, .a11y-contrast .cta-final::after { display: none; }
.a11y-contrast h1, .a11y-contrast h2, .a11y-contrast h3, .a11y-contrast label, .a11y-contrast p, .a11y-contrast li, .a11y-contrast td,
.a11y-contrast dt, .a11y-contrast dd, .a11y-contrast strong, .a11y-contrast small, .a11y-contrast span, .a11y-contrast time, .a11y-contrast .eyebrow { color: #fff !important; }
.a11y-contrast h1 em, .a11y-contrast h2 em { color: #ff0 !important; }
.a11y-contrast a, .a11y-contrast .linklike, .a11y-contrast a span, .a11y-contrast a strong { color: #ff0 !important; }
.a11y-contrast .btn, .a11y-contrast .a11y-panel button, .a11y-contrast .mobile-bar a.primary { background: #ff0 !important; color: #000 !important; border-color: #ff0 !important; }
.a11y-contrast .btn *, .a11y-contrast .a11y-panel button *, .a11y-contrast .mobile-bar a.primary * { color: #000 !important; }
.a11y-contrast .a11y-panel button[aria-pressed="true"] { background: #fff !important; }

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

/* =========================================================
   TABLET ≥ 700px
   ========================================================= */
@media (min-width: 700px) {
  .container { padding: 0 32px; }
  .hide-sm { display: inline-flex !important; }
  .logo img { width: 190px; }
  .hero { padding: 64px 0 80px; }
  .hero-media { max-width: 520px; margin: 0 auto; }
  .quick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .explore { gap: 24px; }
  .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { padding: 32px; }
  .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .contact-cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .section { padding: 88px 0; }
  .service-item summary { padding: 20px 24px; }
  .service-body { margin: 0 24px; }
}

/* =========================================================
   DESKTOP ≥ 1024px
   ========================================================= */
@media (min-width: 1024px) {
  body { --bar-h: 0px; }
  .mobile-bar { display: none; }
  .menu-toggle { display: none; }
  .main-nav {
    position: static; visibility: visible; opacity: 1; transform: none; box-shadow: none; border: 0; background: none; padding: 0;
    display: flex; align-items: center; gap: 12px;
  }
  .main-nav ul { display: flex; gap: 2px; margin: 0; }
  .main-nav a:not(.btn) { border: 0; padding: 10px 14px; font-size: .98rem; border-radius: 999px; position: relative; }
  .main-nav a:not(.btn)::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px;
    background: var(--teal); transform: scaleX(0); transition: transform .3s var(--ease);
  }
  .main-nav a:not(.btn):hover::after, .main-nav a.active::after { transform: scaleX(1); }
  .nav-cta { width: auto; padding: 10px 20px; min-height: 44px; }
  .logo img { width: 210px; }
  .site-header.scrolled .logo img { width: 170px; }
  .header-inner { min-height: 88px; transition: min-height .3s var(--ease); }
  .site-header.scrolled .header-inner { min-height: 70px; }

  .hero { padding: 72px 0 110px; }
  .hero-inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; }
  .hero-media { max-width: none; }
  .hero-badge { left: -40px; }
  .hero-card { right: -24px; }
  .quick { margin-top: -56px; padding-bottom: 56px; }
  .quick-item { padding: 22px; }
  .services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .story { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 80px; }
  .booking { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; }
  .booking-info { position: sticky; top: 120px; }
  .brands { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .loyalty { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; }
  .footer-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; }
  .footer-grid > div:last-child { grid-column: auto; }
  .page-head { padding: 80px 0 64px; }
  .cookie-banner { left: auto; right: 24px; bottom: 24px; margin: 0; }
  .a11y-toggle { display: block; left: 24px; bottom: 24px; }
  .a11y-panel { left: 24px; bottom: 88px; }
}

@media print {
  .topbar, .site-header, .site-footer, .cookie-banner, .a11y-toggle, .a11y-panel, .form, .mobile-bar, .marquee, .hero-bg, .cta-final { display: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   BLOCCHI AGGIUNTIVI (gestibili dal pannello)
   ========================================================= */
.section-head-left { margin-bottom: 24px; }
.section-head-left .prose > :first-child { margin-top: 0; }
.story-photo img, .free-photo img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.service-photo { width: 100%; max-height: 360px; object-fit: cover; border-radius: var(--r); margin: 18px 0 6px; }

/* Galleria */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gallery-item { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 1; background: var(--mint); box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; color: #fff; font-weight: 700; font-size: .88rem;
  background: linear-gradient(transparent, rgba(19, 40, 61, .8)); opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s var(--ease);
}
.gallery-item:hover .gallery-caption, .gallery-item:focus-visible .gallery-caption { opacity: 1; transform: none; }
@media (hover: none) { .gallery-caption { opacity: 1; transform: none; } }

/* Visualizzatore foto */
.lightbox { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 20px; background: rgba(10, 20, 32, .92); animation: fadein .25s; }
.lightbox[hidden] { display: none; }
@keyframes fadein { from { opacity: 0; } }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox img { max-width: 100%; max-height: 80vh; margin: 0 auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox figcaption { color: #fff; margin-top: 12px; font-weight: 600; }
.lightbox button {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; transition: background .2s;
}
.lightbox button:hover { background: rgba(255, 255, 255, .3); }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .icon { width: 24px; height: 24px; }

/* Prodotti in vetrina */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.product { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-img { position: relative; aspect-ratio: 1; display: grid; place-items: center; background: linear-gradient(160deg, #fff, var(--mint)); padding: 14px; color: var(--teal); }
.product-img img { max-height: 100%; width: auto; object-fit: contain; transition: transform .5s var(--ease); }
.product:hover .product-img img { transform: scale(1.06); }
.product-tag { position: absolute; top: 10px; left: 10px; background: var(--gold); color: var(--ink); font-size: .75rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.product-body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-body h3 { font-size: 1.3rem; margin: 0; }
.product-body p { margin: 0; font-size: .88rem; color: var(--ink-2); line-height: 1.45; }
.product-foot { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--teal-d); margin: 4px 0; line-height: 1; }
.price s { font-family: var(--font); font-size: .95rem; font-weight: 600; color: var(--ink-2); margin-right: 4px; }

/* Blocco libero */
.free { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.free-nofoto { max-width: 820px; }
.section-dark { background: var(--navy); color: #dfe8f0; }
.section-dark h2, .section-dark .section-title { color: #fff; }
.section-dark .eyebrow { color: var(--teal-l); }
.section-dark h2 em { color: var(--teal-l); }
.section-dark a:not(.btn) { color: var(--teal-l); }
.loyalty-cards.single .card-0 { transform: rotate(-4deg); }

@media (min-width: 700px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .product-body { padding: 20px; }
}
@media (min-width: 1024px) {
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .free { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .free-left .free-photo { order: -1; }
}
.a11y-contrast .product, .a11y-contrast .product-img, .a11y-contrast .section-dark, .a11y-contrast .gallery-item { background: #000 !important; color: #fff !important; border-color: #fff !important; }
