/* ==========================================================================
   Casetta di Campagna - Celle Ligure
   Stile: minimal beige/bianco con accenti blu mare (Liguria)
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--c-text); background: var(--c-bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* ---------- Tokens ---------- */
:root {
  --c-bg: #fbf8f3;
  --c-bg-alt: #f3ede2;
  --c-text: #2a2a26;
  --c-muted: #6e6a62;
  --c-line: #e3dccd;
  --c-accent: #1f6b7a;
  --c-accent-2: #cfa46a;
  --c-white: #ffffff;
  --c-overlay: rgba(20, 18, 14, 0.45);
  --font-head: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(72px, 10vw, 140px);
  --radius: 4px;
  --shadow: 0 14px 40px -20px rgba(20, 18, 14, .35);
  --t: .35s cubic-bezier(.2,.7,.2,1);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; color: var(--c-text); letter-spacing: .005em; line-height: 1.1; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
p  { font-size: clamp(1rem, 1.05vw, 1.075rem); color: var(--c-text); }
.eyebrow { font-family: var(--font-body); font-size: .82rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 1rem; }

/* ---------- Layout primitives ---------- */
.container { width: min(100% - var(--gutter)*2, var(--container)); margin-inline: auto; }
.section   { padding-block: var(--section-y); }
.section--alt { background: var(--c-bg-alt); }
.section__head { max-width: 700px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55rem; padding: .9rem 1.6rem; border-radius: 999px; font-size: .95rem; font-weight: 500; letter-spacing: .04em; transition: transform var(--t), background var(--t), color var(--t), border-color var(--t); white-space: nowrap; border: 1px solid transparent; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--c-accent); color: var(--c-white); }
.btn--primary:hover { background: #18545f; }
.btn--ghost { color: var(--c-white); border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--outline { color: var(--c-text); border-color: var(--c-text); }
.btn--outline:hover { background: var(--c-text); color: var(--c-white); }
.btn--whatsapp { background: #25D366; color: #fff; }
.btn--whatsapp:hover { background: #1ebe5b; }
.btn .icon { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; padding: 1.1rem var(--gutter); transition: background var(--t), box-shadow var(--t), padding var(--t); }
.site-header.is-scrolled { background: rgba(251, 248, 243, .94); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--c-line); padding-block: .7rem; }
.site-header__inner { width: 100%; max-width: var(--container); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .85rem; line-height: 1; color: var(--c-white); transition: color var(--t); }
.site-header.is-scrolled .brand { color: var(--c-text); }
.brand__logo {
  width: clamp(86px, 12vw, 120px);
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 0;
  image-rendering: auto;
}
.brand__text { display: flex; flex-direction: column; }
.brand__name { font-family: var(--font-head); font-size: 1.55rem; letter-spacing: .04em; }
.brand__sub  { font-size: .68rem; letter-spacing: .35em; text-transform: uppercase; opacity: .8; margin-top: .35rem; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { color: var(--c-white); font-size: .92rem; letter-spacing: .04em; transition: color var(--t), opacity var(--t); position: relative; }
.site-header.is-scrolled .nav a { color: var(--c-text); }
.nav a::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 0; height: 1px; background: currentColor; transition: width var(--t), left var(--t); }
.nav a:hover::after { width: 100%; left: 0; }
.lang { display: flex; gap: .35rem; align-items: center; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.lang a { opacity: .6; }
.lang a.is-active { opacity: 1; }
.lang span { opacity: .35; }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--c-white); }
.site-header.is-scrolled .menu-toggle { color: var(--c-text); }
.menu-toggle svg { width: 26px; height: 26px; }
@media (max-width: 880px) {
  .site-header__inner { gap: .65rem; }
  .brand { flex: 1 1 auto; min-width: 0; }
  .menu-toggle { flex-shrink: 0; display: inline-flex; }
  .nav--desktop { display: none; }
}
@media (min-width: 881px) {
  .menu-toggle { display: none; }
}

/* ---------- Mobile full-screen menu modal (fuori dall'header) ---------- */
.nav-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t), visibility 0s linear .35s;
}
.nav-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity var(--t);
}
.nav-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 14, .55);
  backdrop-filter: blur(4px);
}
.nav-modal__panel {
  position: relative;
  margin: auto;
  width: 100%;
  height: 100%;
  background: var(--c-bg);
  display: flex;
  flex-direction: column;
  animation: navSlideIn .35s cubic-bezier(.2,.7,.2,1);
}
.nav-modal[aria-hidden="true"] .nav-modal__panel { animation: none; }
@keyframes navSlideIn {
  from { transform: translateY(-12px); opacity: .6; }
  to   { transform: translateY(0); opacity: 1; }
}
.nav-modal__close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text);
  border-radius: 50%;
  transition: background var(--t);
  z-index: 2;
}
.nav-modal__close:hover { background: var(--c-bg-alt); }
.nav-modal__close svg { width: 26px; height: 26px; }
.nav-modal__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  padding: 4rem var(--gutter) 2rem;
  text-align: center;
  overflow-y: auto;
}
.nav-modal__nav a {
  color: var(--c-text);
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: .02em;
  transition: color var(--t);
}
.nav-modal__nav a:hover { color: var(--c-accent); }
.nav-modal__nav .lang {
  font-family: var(--font-body);
  font-size: .95rem;
  margin-top: .8rem;
  gap: .5rem;
}
.nav-modal__nav .lang a { font-size: .95rem; font-family: var(--font-body); }
@media (min-width: 881px) {
  .nav-modal { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: var(--c-white); overflow: hidden; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.05); transition: opacity 1.4s ease, transform 8s ease; }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero::after { content: ''; position: absolute; inset: 0; background:
  radial-gradient(ellipse at center, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 60%, transparent 80%),
  linear-gradient(180deg, rgba(20,18,14,.55) 0%, rgba(20,18,14,.45) 50%, rgba(20,18,14,.7) 100%);
  pointer-events: none; }
.hero__content { position: relative; z-index: 1; padding: 0 var(--gutter); max-width: 900px; margin: 0 auto; text-align: center; padding-top: 6rem; text-shadow: 0 2px 14px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.45); }
.hero__eyebrow { color: var(--c-white); font-size: .85rem; letter-spacing: .35em; text-transform: uppercase; opacity: .95; margin-bottom: 1.4rem; }
.hero h1 { color: var(--c-white); margin-bottom: 1.2rem; }
.hero__sub { color: var(--c-white); font-size: clamp(1.05rem, 1.5vw, 1.25rem); opacity: 1; margin-bottom: 2.5rem; max-width: 560px; margin-inline: auto; text-shadow: 0 2px 12px rgba(0,0,0,.7), 0 1px 3px rgba(0,0,0,.6); font-weight: 400; }
.hero__ctas { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.hero__dots { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; gap: .55rem; z-index: 2; }
.hero__dots button { width: 28px; height: 3px; background: rgba(255,255,255,.35); border-radius: 2px; transition: background var(--t), width var(--t); }
.hero__dots button.is-active { background: var(--c-white); width: 44px; }
.hero__scroll { position: absolute; bottom: 2.4rem; left: 2rem; z-index: 2; font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); opacity: .8; }
@media (max-width: 600px) { .hero__scroll { display: none; } }

/* ---------- Intro ---------- */
.intro__grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .intro__grid { grid-template-columns: 1fr 1fr; } }
.intro__text p + p { margin-top: 1.1rem; }
.intro__media { aspect-ratio: 4/5; background-size: cover; background-position: center; box-shadow: var(--shadow); border-radius: 2px; }
.amenities { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--c-line); display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.2rem 2rem; font-size: .92rem; color: var(--c-muted); }
.amenities li::before { content: '— '; color: var(--c-accent-2); }

/* ---------- Gallery filter chips ---------- */
.gallery-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; justify-content: center; }
.gallery-filter button { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1.1rem; font-size: .82rem; letter-spacing: .08em; color: var(--c-muted); background: transparent; border: 1px solid var(--c-line); border-radius: 999px; transition: background var(--t), color var(--t), border-color var(--t); cursor: pointer; }
.gallery-filter button:hover { color: var(--c-text); border-color: var(--c-text); }
.gallery-filter button.is-active { background: var(--c-accent); color: var(--c-white); border-color: var(--c-accent); }
.gallery-filter button .count { font-size: .72rem; opacity: .7; }
.gallery-filter button.is-active .count { opacity: .85; }
.gallery__item.is-hidden { display: none; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: .85rem; } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery__item { position: relative; aspect-ratio: 4/3; overflow: hidden; cursor: zoom-in; background: var(--c-bg-alt); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease, filter .6s ease; }
.gallery__item:hover img { transform: scale(1.06); filter: brightness(1.05); }
.gallery__item.is-tall { grid-row: span 2; aspect-ratio: 4/6; }
.gallery__item.is-wide { grid-column: span 2; aspect-ratio: 8/3; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(8,7,5,.94); display: none; align-items: center; justify-content: center; z-index: 100; opacity: 0; transition: opacity .3s; }
.lightbox.is-open { display: flex; opacity: 1; }
.lightbox__img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; box-shadow: 0 40px 80px rgba(0,0,0,.5); }
.lightbox__btn { position: absolute; background: rgba(255,255,255,.08); color: #fff; width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background var(--t), transform var(--t); }
.lightbox__btn:hover { background: rgba(255,255,255,.18); transform: scale(1.05); }
.lightbox__btn--close { top: 1.2rem; right: 1.2rem; }
.lightbox__btn--prev  { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__btn--next  { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__btn--prev:hover, .lightbox__btn--next:hover { transform: translateY(-50%) scale(1.05); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__counter { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.55); font-size: .78rem; letter-spacing: .25em; }
.lightbox__caption {
  position: absolute; bottom: 3.6rem; left: 50%; transform: translateX(-50%);
  max-width: min(720px, 90vw);
  color: var(--c-white);
  font-family: var(--font-head); font-size: clamp(1.05rem, 1.7vw, 1.4rem); font-weight: 400;
  text-align: center; line-height: 1.35;
  padding: .55rem 1.4rem;
  background: rgba(0,0,0,.4); backdrop-filter: blur(6px);
  border-radius: 999px;
  text-shadow: 0 1px 2px rgba(0,0,0,.5);
  pointer-events: none;
}
@media (max-width: 720px) {
  .lightbox__caption { bottom: 3rem; font-size: .95rem; padding: .4rem 1rem; line-height: 1.3; }
  .lightbox__counter { bottom: 1rem; font-size: .72rem; }
  .lightbox__btn--prev { left: .8rem; }
  .lightbox__btn--next { right: .8rem; }
}

/* ---------- Zone (Celle Ligure) ---------- */
.zone__grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
@media (min-width: 900px) { .zone__grid { grid-template-columns: 1.1fr .9fr; } }
.zone__media { background-size: cover; background-position: center; min-height: 380px; box-shadow: var(--shadow); }
.zone__list { margin-top: 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.4rem 2rem; }
.zone__list dt { font-family: var(--font-head); font-size: 1.15rem; color: var(--c-text); margin-bottom: .25rem; }
.zone__list dd { color: var(--c-muted); font-size: .92rem; }

/* ---------- Reviews ---------- */
.reviews__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 800px) { .reviews__grid { grid-template-columns: repeat(2, 1fr); } }
.review { background: var(--c-white); padding: clamp(1.6rem, 2.5vw, 2.2rem); border: 1px solid var(--c-line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 1.1rem; }
.review__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--c-line); }
.review__author { display: flex; flex-direction: column; }
.review__name { font-family: var(--font-head); font-size: 1.25rem; }
.review__meta { color: var(--c-muted); font-size: .82rem; letter-spacing: .03em; }
.review__score { font-family: var(--font-head); font-size: 1.6rem; color: var(--c-accent); font-weight: 500; }
.review__title { font-family: var(--font-head); font-size: 1.35rem; color: var(--c-text); }
.review__text { color: var(--c-muted); font-style: italic; font-size: .98rem; }
.review__source { font-size: .78rem; color: var(--c-muted); letter-spacing: .12em; text-transform: uppercase; margin-top: auto; opacity: .7; }
.reviews__aggregate { display: flex; gap: 1rem; align-items: center; margin-top: 2rem; color: var(--c-muted); font-size: .92rem; }
.reviews__aggregate strong { font-family: var(--font-head); font-size: 2rem; color: var(--c-accent); font-weight: 500; }

/* ---------- Map + Contact ---------- */
.map {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 16/8;
  min-height: 320px;
  border: 1px solid var(--c-line);
  overflow: hidden;
}
.map iframe { width: 100%; height: 100%; max-width: 100%; border: 0; display: block; filter: saturate(.85) contrast(.95); }
.map__placeholder {
  width: 100%;
  max-width: 100%;
  min-height: inherit;
  display: grid;
  place-items: center;
  text-align: center;
  gap: .7rem;
  padding: 1.1rem;
  overflow-wrap: anywhere;
}
.map__placeholder svg { width: 36px; height: 36px; color: var(--c-accent-2); }
.map__title { color: var(--c-white); margin: .1rem 0; font-size: clamp(1.05rem, 3.8vw, 1.35rem); }
.map__text { margin: 0 auto .15rem; max-width: 34ch; font-size: .92rem; color: rgba(255,255,255,.78); }
.map__brand { margin-top: .95rem; display: flex; justify-content: center; }
.map__brand-logo {
  width: clamp(120px, 26vw, 180px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.22));
}
.contact { background: var(--c-text); color: var(--c-white); overflow-x: clip; }
.contact h2 { color: var(--c-white); }
.contact .eyebrow { color: var(--c-accent-2); }
.contact__grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1fr 1fr; } }
.contact__grid > * { min-width: 0; }
.contact__methods { display: flex; flex-direction: column; gap: 1.4rem; margin-top: 1.5rem; }
.contact__method { display: flex; align-items: center; gap: 1.1rem; min-width: 0; padding: 1.2rem 1.4rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); transition: background var(--t), transform var(--t); }
.contact__method:hover { background: rgba(255,255,255,.1); transform: translateX(6px); }
.contact__method .icon { width: 28px; height: 28px; color: var(--c-accent-2); flex-shrink: 0; }
.contact__method > span { min-width: 0; display: block; }
.contact__method .label { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; opacity: .65; display: block; margin-bottom: .15rem; }
.contact__method .value { font-family: var(--font-head); font-size: 1.35rem; line-height: 1.25; overflow-wrap: anywhere; word-break: break-word; }
.contact__address { color: rgba(255,255,255,.75); margin-top: 2rem; font-size: .95rem; line-height: 1.8; }
.contact__address strong { color: var(--c-white); display: block; font-size: 1.1rem; margin-bottom: .25rem; font-family: var(--font-head); font-weight: 500; }
.contact p { color: rgba(255,255,255,.85); }
.map .btn { max-width: 100%; white-space: normal; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { padding: 2.5rem var(--gutter); background: var(--c-text); color: rgba(255,255,255,.55); border-top: 1px solid rgba(255,255,255,.08); }
.site-footer__inner { max-width: var(--container); margin-inline: auto; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; letter-spacing: .04em; }
.site-footer a:hover { color: #fff; }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Utils ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ---------- Pagine legali ---------- */
.legal-body { padding-top: 80px; /* compensa header fixed */ }
.legal { padding-block: clamp(3rem, 6vw, 5rem); }
.legal__container { width: min(100% - var(--gutter)*2, 760px); margin-inline: auto; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); margin-bottom: .35rem; }
.legal__meta { color: var(--c-muted); font-size: .9rem; margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--c-line); }
.legal__intro { font-size: 1.1rem; color: var(--c-text); line-height: 1.65; padding: 1.2rem 1.4rem; background: var(--c-bg-alt); border-left: 3px solid var(--c-accent); border-radius: 2px; margin-bottom: 2rem; }
.legal h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-top: 2.6rem; margin-bottom: .8rem; padding-top: 1.5rem; border-top: 1px solid var(--c-line); }
.legal h2:first-of-type { border-top: none; padding-top: 0; }
.legal h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); margin-top: 1.6rem; margin-bottom: .5rem; color: var(--c-text); }
.legal p { line-height: 1.7; color: var(--c-text); margin-bottom: 1rem; font-size: .98rem; }
.legal a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--c-text); }
.legal ul, .legal ol { margin: .5rem 0 1.2rem 1.5rem; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li { margin-bottom: .5rem; line-height: 1.65; font-size: .96rem; }
.legal__addr { font-style: normal; padding: 1rem 1.2rem; background: var(--c-bg-alt); border-radius: 2px; margin: 1rem 0 1.5rem; line-height: 1.7; font-size: .96rem; }
.legal__dl { margin: 1rem 0 1.5rem; padding: 1rem 1.2rem; background: var(--c-bg-alt); border-radius: 2px; }
.legal__dl dt { font-family: var(--font-head); font-size: 1.05rem; color: var(--c-muted); margin-top: .8rem; }
.legal__dl dt:first-child { margin-top: 0; }
.legal__dl dd { margin-left: 0; font-size: 1.1rem; padding-bottom: .35rem; }
.legal__table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .9rem; }
.legal__table th, .legal__table td { border: 1px solid var(--c-line); padding: .65rem .8rem; vertical-align: top; line-height: 1.5; text-align: left; }
.legal__table th { background: var(--c-bg-alt); font-family: var(--font-head); font-weight: 500; color: var(--c-text); }
.legal__table code { font-family: 'Inter', monospace; font-size: .82rem; background: var(--c-bg); padding: .1rem .35rem; border-radius: 2px; }
@media (max-width: 600px) {
  .legal__table { font-size: .82rem; }
  .legal__table th, .legal__table td { padding: .45rem .55rem; }
}

/* Footer multi-colonne con codici legali */
.site-footer__inner { flex-wrap: wrap; gap: 1.2rem 2rem; }
.site-footer__col { display: flex; flex-direction: column; gap: .25rem; }
.site-footer__brand-col { gap: .45rem; min-width: min(100%, 320px); }
.site-footer__brand { display: inline-flex; align-items: center; gap: .9rem; color: var(--c-white); margin-bottom: .25rem; }
.site-footer__brand:hover { color: var(--c-white); }
.site-footer__logo {
  width: clamp(90px, 11vw, 120px);
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 0;
}
.site-footer__brand-text { display: flex; flex-direction: column; gap: .25rem; }
.site-footer__brand-name { font-family: var(--font-head); font-size: 1.2rem; letter-spacing: .04em; color: var(--c-white); }
.site-footer__brand-sub { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.72); overflow-wrap: anywhere; }
.site-footer__col--codes { font-family: var(--font-body); font-size: .8rem; color: rgba(255,255,255,.65); }
.site-footer__col--codes strong { color: var(--c-white); font-weight: 500; letter-spacing: .03em; font-family: 'Inter', monospace; font-size: .82rem; }
.site-footer__col--tax { font-size: .78rem; color: rgba(255,255,255,.55); max-width: 360px; }
.site-footer__tax-label { color: var(--c-accent-2); letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; margin-bottom: .15rem; }
.site-footer__col--tax a { color: rgba(255,255,255,.75); text-decoration: underline; text-underline-offset: 2px; }
.site-footer__col--tax a:hover { color: var(--c-white); }

@media (max-width: 640px) {
  .brand__logo { width: 92px; }
  .brand { gap: .55rem; max-width: 100%; }
  .brand__text { min-width: 0; }
  .brand__name { font-size: 1.2rem; }
  .brand__sub { letter-spacing: .14em; margin-top: .2rem; font-size: .62rem; }
  .site-footer__brand { gap: .7rem; }
  .site-footer__logo { width: 96px; }
  .contact__method { padding: 1rem .95rem; gap: .8rem; align-items: flex-start; }
  .contact__method .label { letter-spacing: .12em; }
  .contact__method .value { font-size: clamp(1rem, 5.2vw, 1.18rem); }
  .contact__method:hover { transform: none; }
  .contact__address { overflow-wrap: anywhere; }
  .map { min-height: 280px; }
  .map__placeholder { padding: .9rem .75rem; }
  .map .btn { width: 100%; }
}

@media (hover: none), (pointer: coarse) {
  .contact__method:hover { transform: none; }
}

/* ---------- Cookie banner (overlay + bottom bar) ---------- */
.cb-root[hidden] { display: none !important; }

/* Overlay scuro che copre tutto il viewport */
.cb-overlay {
  position: fixed; inset: 0;
  background: rgba(20, 18, 14, .55);
  backdrop-filter: blur(3px);
  z-index: 199;
  animation: cbFade .35s ease;
  pointer-events: auto; /* blocca interazioni sotto */
}

/* Banner attaccato al fondo viewport, full-width */
.cb-banner {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: var(--c-text); color: var(--c-white);
  box-shadow: 0 -10px 40px -8px rgba(0,0,0,.5);
  animation: cbSlideUp .45s cubic-bezier(.2,.7,.2,1);
  border-top: 1px solid rgba(255,255,255,.08);
}
@keyframes cbSlideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes cbFade { from { opacity: 0; } to { opacity: 1; } }

.cb-banner__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 1.4rem var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
@media (min-width: 900px) {
  .cb-banner__inner {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
  }
}

.cb-content { flex: 1 1 auto; min-width: 0; }
.cb-title { font-family: var(--font-head); font-size: 1.35rem; font-weight: 500; margin: 0 0 .35rem; color: var(--c-white); }
.cb-text  { font-size: .92rem; line-height: 1.55; color: rgba(255,255,255,.82); margin: 0; max-width: 760px; }
.cb-text a { color: var(--c-accent-2); text-decoration: underline; text-underline-offset: 3px; }
.cb-text a:hover { color: var(--c-white); }
.cb-more  { display: block; margin-top: .35rem; font-size: .82rem; opacity: .8; }

.cb-actions {
  flex-shrink: 0;
  display: flex; gap: .55rem; flex-wrap: wrap;
  align-items: center;
}
@media (min-width: 900px) {
  .cb-actions { flex-wrap: nowrap; }
}

.cb-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .75rem 1.4rem;
  font-size: .88rem; font-weight: 500; letter-spacing: .03em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t);
  white-space: nowrap;
}
.cb-btn--primary { background: var(--c-accent); color: var(--c-white); }
.cb-btn--primary:hover { background: #18545f; }
.cb-btn--ghost { background: transparent; color: var(--c-white); border-color: rgba(255,255,255,.4); }
.cb-btn--ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }

/* Modale "Personalizza" */
.cb-modal { position: fixed; inset: 0; z-index: 210; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.cb-modal[hidden] { display: none; }
.cb-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(4px); animation: cbFade .2s ease; }
.cb-modal__content { position: relative; background: var(--c-bg); color: var(--c-text); border-radius: 8px; max-width: 560px; width: 100%; max-height: 85vh; display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,.4); animation: cbSlideUp .3s cubic-bezier(.2,.7,.2,1); }
.cb-modal__header { display: flex; align-items: center; justify-content: space-between; padding: 1.4rem 1.6rem; border-bottom: 1px solid var(--c-line); }
.cb-modal__header .cb-title { color: var(--c-text); }
.cb-modal__close { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; transition: background var(--t); cursor: pointer; }
.cb-modal__close:hover { background: var(--c-bg-alt); }
.cb-modal__close svg { width: 20px; height: 20px; }
.cb-modal__body { padding: 1rem 1.6rem; overflow-y: auto; }
.cb-modal__footer { display: flex; gap: .55rem; flex-wrap: wrap; padding: 1.2rem 1.6rem; border-top: 1px solid var(--c-line); justify-content: flex-end; }
.cb-modal__footer .cb-btn--ghost { color: var(--c-text); border-color: var(--c-line); }
.cb-modal__footer .cb-btn--ghost:hover { background: var(--c-bg-alt); border-color: var(--c-text); }

/* Categoria singola nella modale */
.cb-cat { padding: 1rem 0; border-bottom: 1px solid var(--c-line); }
.cb-cat:last-child { border-bottom: none; }
.cb-cat__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .35rem; }
.cb-cat__name { font-family: var(--font-head); font-size: 1.1rem; color: var(--c-text); display: inline-flex; align-items: center; gap: .6rem; cursor: pointer; user-select: none; }
.cb-cat__name input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--c-accent); cursor: pointer; }
.cb-cat__state--locked { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); padding: .2rem .6rem; background: var(--c-bg-alt); border-radius: 999px; }
.cb-cat__desc { font-size: .87rem; color: var(--c-muted); margin: 0; line-height: 1.5; }
