/* =============================================================================
   ATTICO PANORAMICO — Stile "Mediterraneo elegante"
   Blu notte, avorio e oro · cornici ad arco · Cormorant Garamond + Manrope
   ============================================================================= */

/* Caratteri ospitati sul sito (più veloci di Google Fonts e senza inviare dati a terzi).
   Font variabili, solo alfabeto latino; licenza SIL Open Font License */
@font-face {
  font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(fonts/cormorant-garamond.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 700; font-display: swap;
  src: url(fonts/cormorant-garamond-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(fonts/manrope.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink:        #13212e;
  --ink-2:      #1c3142;
  --sea:        #24506a;
  --gold:       #b48a4a;
  --gold-deep:  #7a5a26;
  --gold-light: #dcc08c;
  --paper:      #f7f2ea;
  --paper-2:    #eee5d6;
  --card:       #fffdf9;
  --text:       #1d2830;
  --muted:      #55616b;
  --line:       rgba(19, 33, 46, .13);
  --wa:         #178a47;
  --wa-hover:   #12733a;

  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans:  'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --header-h: 108px;
  --radius: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 30px 60px -30px rgba(19, 33, 46, .45);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 8px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
strong { font-weight: 700; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.ico { width: 1.25em; height: 1.25em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ico--lg { width: 44px; height: 44px; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }

.skip {
  position: fixed; top: -80px; left: 16px; z-index: 3000;
  background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 0 0 12px 12px; font-weight: 700;
}
.skip:focus { top: 0; }

.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 1200; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Tipografia comune ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .78rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-deep);
}
.section__head .eyebrow::before,
.section__head .eyebrow::after,
.faq__head .eyebrow::before,
.eyebrow--line::before { content: ''; width: 30px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--light { color: var(--gold-light); }
.eyebrow--light::before { content: ''; width: 30px; height: 1px; background: currentColor; opacity: .7; }

.title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.3rem, 4.6vw, 3.7rem); line-height: 1.06; letter-spacing: -.005em;
  color: var(--ink); margin: .35em 0 .45em;
}
.title--sm { font-size: clamp(2rem, 3vw, 2.6rem); margin: .3em 0 .4em; }
.title--light { color: var(--paper); }
.title--xl { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 40em; }

.section { padding: clamp(84px, 11vw, 150px) 0; }
.section__head { text-align: center; max-width: 780px; margin: 0 auto clamp(44px, 6vw, 70px); }
.section__head .lead { margin-inline: auto; }

/* ---------- Pulsanti ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--sans); font-size: .98rem; font-weight: 600; letter-spacing: .01em; line-height: 1.2;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn .ico { width: 1.15em; height: 1.15em; }
.btn--ink  { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--sea); box-shadow: 0 14px 30px -14px rgba(19,33,46,.6); }
.btn--ink .ico { transition: transform .3s var(--ease); }
.btn--ink:hover .ico { transform: translateX(3px); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-light); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-hover); box-shadow: 0 14px 30px -14px rgba(23,138,71,.7); }
.btn--glass { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgba(255,255,255,.18); }
.btn--sm { min-height: 42px; padding: 9px 20px; font-size: .9rem; }
.btn--block { width: 100%; padding-inline: 18px; text-align: center; }

/* ---------- Intestazione ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 1000; transition: background .4s, box-shadow .4s; }
.cinbar {
  background: var(--ink); color: var(--gold-light);
  font-size: .72rem; letter-spacing: .14em; text-align: center; padding: 5px 16px; line-height: 1.4;
}
.cinbar b { color: #fff; font-weight: 600; letter-spacing: .08em; margin-left: 4px; }
.header__bar {
  width: min(1320px, 100% - 40px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 80px;
}
.header.is-scrolled { background: rgba(247, 242, 234, .9); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 10px 30px -18px rgba(19,33,46,.35); }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--gold), 0 0 0 4px rgba(180,138,74,.18); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.brand__tag { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--gold-deep); }

.nav ul { display: flex; gap: clamp(16px, 2vw, 30px); }
.nav a { position: relative; font-size: .92rem; font-weight: 600; color: var(--ink); padding: 6px 0; white-space: nowrap; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav a.is-active { color: var(--gold-deep); }

.header__tools { display: flex; align-items: center; gap: 14px; }
.langs { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: rgba(255,255,255,.5); }
.langs button { font-size: .74rem; font-weight: 700; letter-spacing: .1em; padding: 6px 10px; border-radius: 999px; color: var(--muted); transition: background .25s, color .25s; }
.langs button:hover { color: var(--ink); }
.langs button.is-on { background: var(--ink); color: var(--paper); }
/* Nelle pagine guida le lingue sono collegamenti */
.langs a { font-size: .74rem; font-weight: 700; letter-spacing: .1em; padding: 6px 10px; border-radius: 999px; color: var(--muted); transition: background .25s, color .25s; }
.langs a:hover { color: var(--ink); }
.langs a[aria-current="page"] { background: var(--ink); color: var(--paper); }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* Menu a tutto schermo */
.menu {
  position: fixed; inset: 0; z-index: 990; background: var(--paper);
  padding: calc(var(--header-h) + 24px) 28px 36px; display: flex; flex-direction: column; justify-content: space-between;
  overflow-y: auto; animation: menuIn .45s var(--ease);
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-12px); } }
.menu ol { counter-reset: m; }
.menu li { counter-increment: m; border-bottom: 1px solid var(--line); }
.menu li a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; font-family: var(--serif); font-size: clamp(1.8rem, 6vw, 2.4rem); color: var(--ink); line-height: 1.15; }
.menu li a::before { content: '0' counter(m); font-family: var(--sans); font-size: .75rem; font-weight: 700; color: var(--gold-deep); letter-spacing: .1em; }
.menu__foot { display: grid; gap: 18px; margin-top: 30px; }
.langs--big { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 16px; }
.langs--big button { font-size: .85rem; letter-spacing: .02em; padding: 12px 4px; border-radius: 12px; }
.menu__phone { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.6rem; color: var(--wa); }

/* ---------- Apertura (hero) ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  padding-top: calc(var(--header-h) + 2vh);
  display: flex; flex-direction: column;
  background:
    radial-gradient(1200px 600px at 85% 20%, rgba(180,138,74,.13), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(36,80,106,.08), transparent 60%),
    var(--paper);
  overflow: hidden;
}
.hero__inner {
  width: min(1240px, 100% - 80px); margin-inline: auto; flex: 1;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center;
  gap: clamp(30px, 5vw, 90px); padding: 3vh 0 4vh;
}
.hero__title { font-family: var(--serif); font-weight: 500; color: var(--ink); margin: 22px 0 22px; }
.hero__name { display: block; font-size: clamp(3.4rem, 8.4vw, 7.6rem); line-height: .9; letter-spacing: -.015em; }
.hero__word { display: inline-block; animation: rise 1.2s var(--ease) both; }
.hero__word + .hero__word { animation-delay: .12s; }
.hero__sub { display: block; font-style: italic; font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.2; color: var(--gold-deep); margin-top: .35em; animation: rise 1.2s .25s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(32px); } }
.hero__desc { font-size: 1.14rem; color: var(--muted); max-width: 33em; animation: rise 1.2s .38s var(--ease) both; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 30px; animation: rise 1.2s .5s var(--ease) both; }
.hero__rating { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; animation: rise 1.2s .6s var(--ease) both; }
.hero__rating:hover .hero__ratingtext { color: var(--ink); }
.stars { color: var(--gold); letter-spacing: .12em; }
.hero__score { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--ink); line-height: 1; }

/* La foto d'apertura compare subito (opacità quasi piena fin dal primo fotogramma): conta per la velocità misurata da Google */
.hero__visual { position: relative; justify-self: end; width: min(100%, 520px); animation: heroIn 1.4s var(--ease) both; }
@keyframes heroIn { from { opacity: .35; transform: scale(.97); } }
@keyframes fadeIn { from { opacity: 0; transform: scale(.97); } }
/* Animazioni continue ferme quando la loro zona non è sullo schermo (classe messa da app.js) */
.anim-off, .anim-off * { animation-play-state: paused !important; }
.hero__visual::before {
  content: ''; position: absolute; inset: 0; transform: translate(20px, 20px);
  border: 1px solid var(--gold); border-radius: 999px 999px 22px 22px; pointer-events: none;
}
.arch { position: relative; overflow: hidden; border-radius: 999px 999px 22px 22px; background: var(--paper-2); box-shadow: var(--shadow); isolation: isolate; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--hero { aspect-ratio: 4 / 5; max-height: calc(100svh - var(--header-h) - 190px); min-height: 380px; width: 100%; }
.arch--hero img { animation: kenburns 26s ease-in-out infinite alternate; transform-origin: 70% 40%; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14); } }

.seal { position: absolute; width: 156px; height: 156px; left: -64px; bottom: 34px; }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
/* L'ombra sta sulla base ferma; la scritta ruota su un livello a parte (niente ridisegno a ogni fotogramma) */
.seal__base { filter: drop-shadow(0 18px 30px rgba(19,33,46,.35)); }
.seal__spin { animation: spin 40s linear infinite; will-change: transform; }
.seal__bg { fill: var(--ink); }
.seal__ring { fill: none; stroke: var(--gold); stroke-width: 1; }
.seal__text { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 3px; fill: var(--gold-light); }
.seal__num { font-family: var(--serif); font-size: 42px; font-weight: 600; fill: var(--paper); }
.seal__stars { font-size: 13px; letter-spacing: 2px; fill: var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Striscia "Milazzo in tempo reale" */
.live {
  width: min(1240px, 100% - 80px); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); padding: 18px 0 24px;
}
.live__item {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
  padding: 4px 22px; border-left: 1px solid var(--line);
}
.live__item:first-child { border-left: 0; padding-left: 0; }
.live__item .ico { grid-row: span 2; width: 26px; height: 26px; color: var(--gold-deep); }
.live__label { font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.live__value { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.live__value small { font-family: var(--sans); font-size: .8rem; font-weight: 500; color: var(--muted); margin-left: 6px; }

/* ---------- Nastro dei punti di forza ---------- */
.ribbon {
  background: var(--ink); color: var(--paper);
  display: flex; justify-content: center; flex-wrap: wrap; gap: 18px clamp(26px, 3.4vw, 54px);
  padding: 30px 24px;
}
.ribbon__item { display: flex; align-items: center; gap: 14px; }
.ribbon__item .ico { width: 30px; height: 30px; color: var(--gold-light); stroke-width: 1.3; }
.ribbon__item strong { display: block; font-size: .98rem; font-weight: 600; line-height: 1.3; }
.ribbon__item span { display: block; font-size: .8rem; color: rgba(247,242,234,.65); }

/* ---------- L'appartamento ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about__visual { position: relative; padding: 0 16% 14% 0; }
.arch--about { aspect-ratio: 4 / 5; }
.about__inset {
  position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 8px solid var(--paper); box-shadow: var(--shadow);
}
.about__inset img { width: 100%; height: 100%; object-fit: cover; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; margin-top: 40px; }
.stat { border-top: 1px solid var(--line); padding-top: 14px; }
.stat__num { font-family: var(--serif); font-size: clamp(2.6rem, 4vw, 3.4rem); font-weight: 500; color: var(--ink); line-height: 1; }
.stat__star { color: var(--gold); font-size: .6em; vertical-align: .55em; margin-left: 2px; }
.stat dd { font-size: .9rem; color: var(--muted); margin-top: 6px; }

/* ---------- Galleria ---------- */
.gallery { background: var(--card); }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.chip {
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 20px; min-height: 44px;
  font-size: .9rem; font-weight: 600; color: var(--muted); transition: all .3s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.ggrid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 14px; }
.gitem {
  position: relative; overflow: hidden; border-radius: 16px; background: var(--paper-2);
  cursor: zoom-in; text-align: left; animation: gIn .7s var(--ease) both;
}
@keyframes gIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.gitem:hover img, .gitem:focus-visible img { transform: scale(1.06); }
.gitem::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(19,33,46,.75)); opacity: .85; transition: opacity .4s; }
.gitem__cap {
  position: absolute; left: 18px; right: 18px; bottom: 14px; z-index: 1;
  font-family: var(--serif); font-size: 1.2rem; font-style: italic; color: #fff; line-height: 1.25;
  transform: translateY(6px); opacity: .92; transition: transform .4s var(--ease), opacity .4s;
}
.gitem:hover .gitem__cap { transform: none; opacity: 1; }
.g--grande { grid-column: span 2; grid-row: span 2; }
.g--larga  { grid-column: span 2; }
.g--alta   { grid-row: span 2; }
.g--grande .gitem__cap { font-size: 1.6rem; }
.ggrid.is-filtered .gitem { grid-column: auto; grid-row: auto; }
.ggrid.is-filtered { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; }

/* ---------- Schede (dotazioni e scopri) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px 32px; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 28px 50px -30px rgba(19,33,46,.45); border-color: rgba(180,138,74,.45); }
.card__num { position: absolute; top: 24px; right: 28px; font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--gold); }
.card__ico { width: 40px; height: 40px; color: var(--gold-deep); stroke-width: 1.25; }
.card h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--ink); line-height: 1.15; margin: 18px 0 14px; }
.card p { color: var(--muted); font-size: .98rem; }
.ticks li { position: relative; padding: 5px 0 5px 28px; color: var(--muted); font-size: .98rem; line-height: 1.5; }
.ticks li::before {
  content: ''; position: absolute; left: 2px; top: .72em; width: 12px; height: 7px;
  border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg);
}
.amenities .card:nth-child(2) { transition-delay: .06s; }

/* ---------- Dove siamo ---------- */
.location { background: var(--card); }
.location__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.walk { margin-top: 34px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px 14px; }
.walk__title { display: flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 6px; }
.walk__title .ico { width: 22px; height: 22px; }
.walk__list li { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.walk__list li:last-child { border-bottom: 0; }
.walk__name { font-weight: 600; color: var(--ink); font-size: .96rem; line-height: 1.35; }
.walk__bar { height: 6px; border-radius: 6px; background: var(--paper-2); position: relative; overflow: hidden; }
.walk__bar::after {
  content: ''; position: absolute; inset: 0 auto 0 0; width: calc(var(--w) * 100%); border-radius: 6px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--ease);
}
.walk.in .walk__bar::after { transform: scaleX(1); }
.walk__list li:nth-child(2) .walk__bar::after { transition-delay: .12s; }
.walk__list li:nth-child(3) .walk__bar::after { transition-delay: .24s; }
.walk__list li:nth-child(4) .walk__bar::after { transition-delay: .36s; }
.walk__list li:nth-child(5) .walk__bar::after { transition-delay: .48s; }
.walk__val { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ink); white-space: nowrap; text-align: right; min-width: 4.6em; }
.walk__val small { display: block; font-family: var(--sans); font-size: .7rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; line-height: 1; }
.notes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.note { display: flex; gap: 12px; align-items: flex-start; padding: 6px 4px; }
.note .ico { width: 26px; height: 26px; color: var(--gold-deep); margin-top: 2px; }
.note strong { display: block; color: var(--ink); font-size: .96rem; }
.note span { font-size: .9rem; color: var(--muted); line-height: 1.5; }

.mapframe { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); height: 520px; background: var(--paper-2); position: relative; }
.mapframe iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.75) sepia(.08); transition: filter .5s; }
.mapframe:hover iframe { filter: none; }
.mapaddr { display: flex; gap: 12px; align-items: flex-start; font-style: normal; margin-top: 22px; color: var(--ink); font-weight: 500; }
.mapaddr .ico { width: 24px; height: 24px; color: var(--gold-deep); margin-top: 2px; }
.mapbtns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* ---------- Scopri Milazzo ---------- */
.eolie {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  background: var(--ink); color: var(--paper); border-radius: 28px; overflow: hidden; margin-bottom: 26px;
  box-shadow: 0 40px 80px -40px rgba(19,33,46,.6);
}
.eolie__map { position: relative; margin: 0; min-height: 100%; }
.eolie__map svg { display: block; width: 100%; height: 100%; }
.eolie__map figcaption {
  position: absolute; left: 24px; top: 20px; font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); opacity: .85;
}
.eolie__text { padding: clamp(30px, 4vw, 54px); align-self: center; }
.eolie__text .ico { color: var(--gold-light); stroke-width: 1.2; }
.eolie__text .title { color: var(--paper); }
.eolie__text p { color: rgba(247,242,234,.82); }
.islands { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.islands button {
  border: 1px solid rgba(220,192,140,.38); border-radius: 999px; padding: 7px 15px; min-height: 40px;
  font-size: .86rem; font-weight: 600; color: var(--paper); transition: all .3s var(--ease);
}
.islands button:hover, .islands button.is-hot { background: var(--gold-light); border-color: var(--gold-light); color: var(--ink); }

.eolie__land { fill: #e8dcc6; stroke: var(--gold); stroke-width: 1; }
.eolie__sicily { font-family: var(--serif); font-style: italic; font-size: 22px; letter-spacing: .3em; fill: var(--ink-2); }
.eolie__sea { font-family: var(--serif); font-style: italic; font-size: 21px; letter-spacing: .35em; fill: rgba(220,192,140,.45); }
.route { fill: none; stroke: var(--gold-light); stroke-width: 1.1; stroke-dasharray: 3 7; opacity: .45; animation: sail 2.4s linear infinite; transition: opacity .3s, stroke-width .3s; }
@keyframes sail { to { stroke-dashoffset: -20; } }
.route.is-hot { opacity: 1; stroke-width: 1.8; }
.isola { cursor: pointer; outline: none; }
.isola circle { fill: #e8dcc6; stroke: var(--gold-light); stroke-width: 1.2; transition: fill .3s, transform .4s var(--ease); transform-box: fill-box; transform-origin: center; }
.isola text { font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: .05em; fill: rgba(247,242,234,.88); transition: fill .3s; }
.isola.is-hot circle, .isola:hover circle, .isola:focus-visible circle { fill: var(--gold); transform: scale(1.18); }
.isola.is-hot text, .isola:hover text, .isola:focus-visible text { fill: var(--gold-light); }
.plume { fill: none; stroke: rgba(247,242,234,.5); stroke-width: 1.2; stroke-linecap: round; }
.home-dot { fill: var(--gold); stroke: var(--paper); stroke-width: 2; }
.home-pulse { fill: none; stroke: var(--gold-light); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(3); opacity: 0; } }
.home-label { font-family: var(--serif); font-size: 19px; font-weight: 600; font-style: italic; fill: var(--paper); }
.eolie__compass circle { fill: none; stroke: rgba(220,192,140,.4); }
.eolie__compass path { fill: rgba(247,242,234,.22); }
.eolie__compass .eolie__north { fill: var(--gold-light); }
.eolie__compass text { font-family: var(--sans); font-size: 12px; font-weight: 700; fill: var(--gold-light); }

.cards--discover { display: flex; flex-wrap: wrap; justify-content: center; }
.cards--discover .card { flex: 1 1 calc(33.333% - 22px); max-width: calc(33.333% - 14px); }
.card--soft .card__ico { width: 54px; height: 54px; padding: 12px; border-radius: 50%; background: var(--paper-2); }

/* ---------- Disponibilità ---------- */
.avail { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.booking { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 26px; align-items: start; }
.cal { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 22px 26px 18px; box-shadow: 0 30px 60px -45px rgba(19,33,46,.5); }
.cal__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.iconbtn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: all .3s; }
.iconbtn:hover:not(:disabled) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.iconbtn:disabled { opacity: .3; cursor: default; }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: .82rem; color: var(--muted); }
.legend > span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.dot--free { background: #e3eedd; box-shadow: inset 0 0 0 1px #b9d2ad; }
.dot--busy { background: repeating-linear-gradient(135deg, #ecdcd6 0 3px, #dcc2b9 3px 6px); }
.dot--mine { background: var(--ink); }
.cal--nodata .legend .is-data { display: none; }

.cal__months { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; }
.month__title { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; text-align: center; color: var(--ink); margin: 6px 0 10px; }
.month__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.dow { text-align: center; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 4px 0 6px; }
.d {
  height: 44px; border-radius: 10px; font-size: .95rem; font-weight: 600; font-variant-numeric: tabular-nums;
  display: grid; place-items: center; color: var(--ink); position: relative; transition: background .2s, color .2s, box-shadow .2s;
}
.d--empty { visibility: hidden; }
.d--past { color: #b8b1a6; cursor: default; font-weight: 500; }
.d--free { background: #e9f2e4; color: #24502c; }
.cal--nodata .d--free { background: var(--paper); color: var(--ink); }
.d--free:hover, .d--co:hover { box-shadow: inset 0 0 0 2px var(--gold); }
.d--busy { background: repeating-linear-gradient(135deg, #f3e6e1 0 5px, #e8d4cd 5px 10px); color: #94675e; text-decoration: line-through; text-decoration-color: rgba(148,103,94,.5); cursor: not-allowed; }
.d--co { cursor: pointer; }
.d--today::after { content: ''; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.d--range, .d--hover { background: #f1e2c3; color: var(--ink); text-decoration: none; }
.d--hover { background: #f6ecd8; }
.d--start, .d--end { background: var(--ink) !important; color: var(--paper) !important; text-decoration: none; }
.d--start::after, .d--end::after { background: var(--gold-light); }
.d--shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.cal__status { font-size: .8rem; color: var(--muted); text-align: center; margin-top: 14px; min-height: 1.4em; }

.ticket {
  background: var(--ink); color: var(--paper); border-radius: 26px; padding: 30px 28px 26px;
  position: sticky; top: calc(var(--header-h) + 20px);
  background-image: radial-gradient(400px 220px at 100% 0%, rgba(180,138,74,.25), transparent 70%);
}
.ticket__hint { font-family: var(--serif); font-style: italic; font-size: 1.4rem; line-height: 1.3; color: var(--gold-light); min-height: 2.6em; }
.ticket__hint.is-warn { color: #f0b3a3; }
.ticket__dates { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; border-top: 1px solid rgba(247,242,234,.14); border-bottom: 1px solid rgba(247,242,234,.14); padding: 18px 0; margin: 18px 0 20px; }
.ticket__field:last-child { text-align: right; }
.ticket__label { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(247,242,234,.6); }
.ticket__value { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; line-height: 1.25; margin-top: 4px; }
.ticket__pick {
  position: relative; display: block; cursor: pointer; border-radius: 14px;
  padding: 10px 12px; border: 1px solid rgba(220,192,140,.35); transition: background .25s, border-color .25s;
}
.ticket__pick:hover, .ticket__pick:focus-within { background: rgba(247,242,234,.07); border-color: var(--gold-light); }
.ticket__date {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer;
  border: 0; font-size: 16px; color-scheme: dark;
}
.ticket__value.is-empty { color: var(--gold-light); font-style: italic; font-weight: 500; }
.ticket__value.is-empty::after { content: ' ▾'; font-style: normal; font-size: .8em; opacity: .8; }
.stepper__num { position: relative; display: inline-block; }
.stepper__num select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.stepper__num:hover output { color: var(--gold-light); }
.ticket__sep span { display: inline-block; border: 1px solid rgba(220,192,140,.5); border-radius: 999px; padding: 3px 10px; font-size: .74rem; font-weight: 700; color: var(--gold-light); white-space: nowrap; }
.ticket__sep span:empty { display: none; }
.ticket__guests { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(247,242,234,.3); display: grid; place-items: center; transition: all .3s; }
.stepper button:hover:not(:disabled) { background: var(--gold-light); color: var(--ink); border-color: var(--gold-light); }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper output { display: block; font-family: var(--serif); font-size: 1.8rem; font-weight: 600; width: 2em; text-align: center; }
.linkbtn { display: block; margin: 14px auto 0; color: var(--gold-light); font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Recensioni ---------- */
.reviews {
  background:
    radial-gradient(800px 400px at 0% 0%, rgba(36,80,106,.55), transparent 70%),
    radial-gradient(700px 500px at 100% 100%, rgba(180,138,74,.18), transparent 70%),
    var(--ink);
  color: var(--paper);
}
.reviews__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.reviews__score { position: sticky; top: calc(var(--header-h) + 30px); }
.bigscore { display: flex; flex-direction: column; gap: 6px; margin-top: 20px; }
.bigscore__num { font-family: var(--serif); font-size: clamp(6rem, 12vw, 9rem); font-weight: 500; line-height: .85; color: var(--gold-light); }
.bigscore__stars { color: var(--gold); font-size: 1.5rem; letter-spacing: .22em; }
.bigscore__count { font-size: 1rem; color: rgba(247,242,234,.85); margin-top: 6px; }
.bigscore__src { font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(247,242,234,.5); }
.quotes { display: grid; gap: 20px; }
.quote { position: relative; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1); border-radius: 22px; padding: 34px 34px 24px 34px; margin: 0; }
.quote__mark { position: absolute; top: -6px; left: 22px; font-family: var(--serif); font-size: 6.5rem; line-height: 1; color: var(--gold); opacity: .4; }
.quote blockquote { font-family: var(--serif); font-style: italic; font-size: 1.38rem; line-height: 1.5; color: rgba(247,242,234,.94); position: relative; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.quote figcaption b { display: block; font-weight: 600; }
.quote figcaption small { display: block; font-size: .82rem; color: rgba(247,242,234,.55); }
.quote figcaption .stars { margin-left: auto; font-size: .85rem; }
/* Schede con i voti dei portali (Airbnb, Booking.com, Vrbo) */
.piatt { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 20px; padding: 26px 30px; color: var(--paper); transition: border-color .3s, background .3s; }
.piatt:hover, .piatt:focus-visible { border-color: var(--gold); background: rgba(255,255,255,.08); }
.piatt__nome { font-family: var(--serif); font-size: 2rem; font-weight: 600; line-height: 1.1; color: var(--paper); }
.piatt__voto { grid-row: span 2; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.4rem); font-weight: 500; line-height: 1; color: var(--gold-light); text-align: right; white-space: nowrap; }
.piatt__voto small { font-size: .42em; color: rgba(247,242,234,.6); }
.piatt__info { font-size: .98rem; color: rgba(247,242,234,.78); }
.piatt__link { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-light); }
.piatt__link .ico { transition: transform .3s var(--ease); }
.piatt:hover .piatt__link .ico { transform: translateX(4px); }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; flex-shrink: 0; }

/* ---------- Domande frequenti ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 30px); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; position: relative; padding: 22px 52px 22px 0;
  font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--ink); line-height: 1.3;
  transition: color .3s;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary:hover { color: var(--gold-deep); }
.faq__list summary::before, .faq__list summary::after {
  content: ''; position: absolute; right: 12px; top: 50%; width: 16px; height: 1.5px; background: var(--gold-deep); transition: transform .4s var(--ease);
}
.faq__list summary::after { transform: rotate(90deg); }
.faq__list details[open] summary::after { transform: rotate(0deg); }
.faq__list details p { color: var(--muted); padding: 0 52px 24px 0; max-width: 62ch; animation: rise .5s var(--ease); }

/* ---------- Invito finale ---------- */
.cta { position: relative; min-height: 78vh; display: grid; place-items: center; text-align: center; overflow: hidden; color: var(--paper); padding: 110px 20px; }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.cta::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(19,33,46,.78), rgba(19,33,46,.62) 50%, rgba(19,33,46,.88)); }
.cta__inner { position: relative; z-index: 2; max-width: 980px; }
.cta__desc { font-size: 1.15rem; color: rgba(247,242,234,.88); max-width: 36em; margin: 0 auto 34px; }
.cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- Piè di pagina ---------- */
.footer { background: #0d1822; color: rgba(247,242,234,.72); padding: 80px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; }
.brand--footer .brand__name { color: var(--paper); }
.brand--footer .brand__tag { color: var(--gold-light); }
.footer__brand p { margin: 20px 0 14px; max-width: 26em; font-size: .96rem; }
.footer__addr { font-size: .92rem; color: var(--gold-light); }
.footer__addr:hover { text-decoration: underline; }
.footer h4, .footer .footer__title { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; line-height: 1.2; letter-spacing: 0; color: var(--paper); margin-bottom: 16px; }
.footer__col li { margin-bottom: 10px; }
.footer__col a { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; transition: color .3s; }
.footer__col a:hover { color: var(--gold-light); }
.footer__col .ico { color: var(--gold-light); width: 18px; height: 18px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(247,242,234,.1); font-size: .84rem; color: rgba(247,242,234,.55); }

/* ---------- Barra contatti (telefono) ---------- */
.mobilebar { display: none; }

/* ---------- Visore foto ---------- */
.lb {
  position: fixed; inset: 0; z-index: 2000; background: rgba(9, 16, 23, .97);
  display: grid; grid-template-rows: 1fr auto; place-items: center; animation: fadeIn .35s var(--ease);
}
.lb__fig { margin: 0; padding: 70px 90px 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; }
.lb__fig img { max-width: min(100%, 1100px); max-height: calc(100vh - 220px); width: auto; height: auto; border-radius: 10px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.lb__fig figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; width: 100%; margin-top: 16px; color: var(--paper); }
#lbCap { font-family: var(--serif); font-style: italic; font-size: 1.35rem; }
.lb__count { font-size: .8rem; letter-spacing: .18em; color: rgba(247,242,234,.55); white-space: nowrap; }
.lb__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(247,242,234,.25); color: var(--paper); display: grid; place-items: center; transition: all .3s; z-index: 2; }
.lb__btn:hover { background: var(--paper); color: var(--ink); }
.lb__close { top: 20px; right: 20px; }
.lb__prev { left: 24px; top: 45%; }
.lb__next { right: 24px; top: 45%; }
.lb__thumbs { display: flex; gap: 8px; overflow-x: auto; max-width: 100%; padding: 16px 20px 22px; scrollbar-width: none; }
.lb__thumbs button { flex: 0 0 auto; width: 66px; height: 54px; border-radius: 8px; overflow: hidden; opacity: .45; transition: opacity .3s; }
.lb__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.lb__thumbs button:hover { opacity: .8; }
.lb__thumbs button.is-on { opacity: 1; box-shadow: 0 0 0 2px var(--gold-light); }

/* ---------- Comparsa allo scorrimento ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Pagina principale: collegamenti alle guide ---------- */
.guide-links { margin-top: clamp(56px, 7vw, 90px); text-align: center; }
.guide-links ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; text-align: left; }
.guide-links a {
  display: flex; align-items: center; gap: 14px; height: 100%; padding: 22px 24px; border-radius: 18px;
  background: var(--card); border: 1px solid var(--line); color: var(--ink);
  font-family: var(--serif); font-size: 1.4rem; font-weight: 600; line-height: 1.2;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.guide-links a:hover, .guide-links a:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold); }
.guide-links a .ico { width: 30px; height: 30px; color: var(--gold-deep); stroke-width: 1.3; }
.guide-links a .ico:last-child { width: 20px; height: 20px; margin-left: auto; color: var(--gold); }

/* ---------- Pagine guida ---------- */
.pagina-guida { background: var(--paper); }
.guida { padding: calc(var(--header-h) + 34px) 0 clamp(70px, 9vw, 110px); }
.guida__wrap { max-width: 860px; }
.guida__briciole { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--muted); margin-bottom: 28px; }
.guida__briciole a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.guida__head .title { margin: .2em 0 .3em; }
.guida__data { margin-top: 14px; font-size: .9rem; color: var(--muted); }
.guida__foto { margin: 34px 0 46px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 9; background: var(--paper-2); }
.guida__foto img { width: 100%; height: 100%; object-fit: cover; }
.guida__testo { font-size: 1.12rem; line-height: 1.75; color: var(--text); }
.guida__testo h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 3.2vw, 2.3rem); line-height: 1.15; color: var(--ink); margin: 1.5em 0 .45em; }
.guida__testo h2:first-child { margin-top: 0; }
.guida__testo p { margin-bottom: 1em; }
.guida__testo ul, .guida__testo ol { margin: 0 0 1.3em 1.4em; }
.guida__testo li { margin-bottom: .45em; padding-left: .2em; }
.guida__testo li::marker { color: var(--gold-deep); }
.guida__testo strong { color: var(--ink); font-weight: 700; }
.guida__testo a { color: var(--sea); text-decoration: underline; text-underline-offset: 3px; }
.guida__testo a:hover { color: var(--gold-deep); }
.guida__tabwrap { overflow-x: auto; margin: 6px 0 24px; border-radius: 16px; }
.guida__tab { width: 100%; border-collapse: collapse; margin: 0; font-size: 1.02rem; background: var(--card); border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.guida__tab th, .guida__tab td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.guida__tab tr:last-child td { border-bottom: 0; }
.guida__tab th { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); }
.guida__tab td:first-child { font-weight: 700; color: var(--ink); }
.guida__faq { margin-top: 2.4em; }
.guida__faq .faq__list summary { font-size: 1.12rem; }
.guida__cta { margin: clamp(50px, 7vw, 76px) 0; padding: clamp(30px, 5vw, 52px); border-radius: var(--radius); background: var(--ink); color: var(--paper); text-align: center; }
.guida__cta .eyebrow { justify-content: center; }
.guida__cta h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4vw, 2.7rem); line-height: 1.1; color: var(--paper); margin: 8px 0 12px; }
.guida__cta p { color: rgba(247,242,234,.86); max-width: 34em; margin: 0 auto 26px; }
.guida__altre h2 { font-family: var(--serif); font-weight: 600; font-size: 1.8rem; color: var(--ink); margin-bottom: 16px; }
.guida__altre ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.guida__altre a { display: flex; align-items: center; gap: 12px; height: 100%; padding: 18px 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); font-family: var(--serif); font-size: 1.3rem; font-weight: 600; line-height: 1.2; color: var(--ink); transition: border-color .3s, box-shadow .3s; }
.guida__altre a:hover, .guida__altre a:focus-visible { border-color: var(--gold); box-shadow: var(--shadow); }
.guida__altre .ico { width: 26px; height: 26px; color: var(--gold-deep); }
.guida__lingue { margin-top: 34px; font-size: .98rem; color: var(--muted); }
.guida__lingue a { color: var(--sea); text-decoration: underline; text-underline-offset: 3px; margin: 0 4px; }

/* =============================================================================
   ADATTAMENTO AGLI SCHERMI
   ============================================================================= */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
}

@media (max-width: 980px) {
  :root { --header-h: 96px; }
  .header__bar { height: 68px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-top: 2vh; }
  .hero__visual { order: -1; justify-self: center; width: min(100%, 560px); }
  .arch--hero { aspect-ratio: 6 / 5; max-height: 52vh; min-height: 260px; }
  .hero__visual::before { transform: translate(12px, 12px); }
  .seal { width: 118px; height: 118px; left: auto; right: -6px; bottom: -26px; }
  .hero__title { margin-top: 14px; }
  .live { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
  .live__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .about__grid, .location__grid, .reviews__grid, .faq__grid, .eolie, .booking { grid-template-columns: minmax(0, 1fr); }
  .about__visual { max-width: 560px; }
  .reviews__score, .faq__head { position: static; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards--discover .card { max-width: calc(50% - 11px); flex-basis: calc(50% - 22px); }
  .ticket { position: static; }
  .ggrid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 190px; }
  .ggrid.is-filtered { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .container { width: min(1180px, 100% - 32px); }
  .header__bar, .hero__inner, .live { width: calc(100% - 32px); }
  .cal__months { grid-template-columns: 1fr; }
  .cal { padding: 18px 14px 14px; }
  .cards { grid-template-columns: 1fr; }
  .cards--discover .card { max-width: 100%; flex-basis: 100%; }
  .notes { grid-template-columns: 1fr; }
  .isola text { font-size: 25px; }
  .home-label, .eolie__sea, .eolie__sicily { font-size: 28px; }
  .eolie__map figcaption { display: none; }
  .ggrid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
  .guide-links ul { grid-template-columns: 1fr; }
  .guida__tab th, .guida__tab td { padding: 10px 12px; }
  .ggrid.is-filtered { grid-auto-rows: 170px; }
  .g--grande .gitem__cap { font-size: 1.3rem; }
  .gitem__cap { font-size: 1.02rem; left: 12px; right: 12px; bottom: 10px; }
  .ribbon { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 24px 16px; scrollbar-width: none; }
  .ribbon::-webkit-scrollbar { display: none; }
  .ribbon__item { flex: 0 0 auto; scroll-snap-align: start; }
  .mapframe { height: 380px; }
  .walk { padding: 20px 18px 10px; }
  .walk__list li { grid-template-columns: minmax(0, 1fr) auto; row-gap: 8px; }
  .walk__bar { grid-column: 1 / -1; grid-row: 2; }
  .quote { padding: 30px 22px 20px; }
  .quote blockquote { font-size: 1.22rem; }
  .faq__list summary { font-size: 1.25rem; padding-right: 44px; }
  .faq__list details p { padding-right: 0; }
  .lb__fig { padding: 70px 12px 0; }
  .lb__prev, .lb__next { top: auto; bottom: 96px; width: 46px; height: 46px; background: rgba(9,16,23,.6); }
  .lb__prev { left: 12px; }
  .lb__next { right: 12px; }
  .lb__fig img { max-height: calc(100vh - 260px); }

  .mobilebar {
    display: grid; grid-template-columns: 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(247,242,234,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .45s var(--ease);
  }
  .mobilebar.is-on { transform: none; }
  .mobilebar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; font-weight: 700; font-size: .95rem; border: 1px solid var(--ink); color: var(--ink); }
  .mobilebar .mobilebar__wa { background: var(--wa); border-color: var(--wa); color: #fff; }
  .footer { padding-bottom: 100px; }
}

@media (max-width: 560px) {
  .header__tools .langs, .header__book { display: none; }
  .brand__name { font-size: 1.3rem; }
  .brand__tag { font-size: .92rem; }
  .hero__name { font-size: clamp(3rem, 14vw, 4.2rem); }
  .hero__cta .btn { width: 100%; }
  .live__item { padding: 4px 12px; }
  .live__value { font-size: 1.25rem; }
  .live__value small { display: block; margin: 0; }
  .stats { gap: 22px 20px; }
  .footer__grid { grid-template-columns: 1fr; }
  .eolie__map figcaption { left: 16px; bottom: 12px; font-size: .62rem; }
  .ticket { padding: 26px 20px 22px; }
  .ticket__value { font-size: 1.12rem; }
  .d { height: 40px; font-size: .9rem; }
}

@media (max-width: 400px) {
  .header__bar { gap: 10px; }
  .brand { gap: 10px; }
  .brand img { width: 40px; height: 40px; }
  .brand__name { font-size: 1.12rem; }
  .brand__tag { font-size: .84rem; }
  .btn { padding: 13px 20px; }
  .live { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* Rispetto per chi preferisce meno movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Stampa: solo i contenuti */
@media print {
  .header, .mobilebar, .progress, .lb, .seal, .cta__bg { display: none !important; }
  .hero { min-height: 0; padding-top: 0; }
  .js .reveal { opacity: 1; transform: none; }
}
