/* =====================================================================
   B&B Regina · Abetone — foglio di stile
   Palette «ardesia e geranio»: la pietra della villa, la neve, i gerani
   rossi della terrazza. Titoli Marcellus (lettere da insegna incisa),
   testi Source Sans 3.
   ===================================================================== */

@font-face { font-family: 'Marcellus'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/marcellus-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Marcellus'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/marcellus-latin.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: 'Source Sans 3'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/sourcesans-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/sourcesans-latin.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: 'Source Sans 3'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/sourcesans-italic-latin.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: #23292e;          /* ardesia */
  --ink-2: #333c43;
  --ink-3: #46515a;
  --text: #23292e;
  --muted: #4b565e;        /* 7:1 su calce */
  --red: #c0392b;          /* geranio */
  --red-dk: #a12f23;
  --red-tx: #ad3226;       /* testo rosso su chiaro, AA+ */
  --red-lt: #f2b8ae;       /* rosso su scuro */
  --paper: #fbfbf9;        /* calce */
  --white: #ffffff;
  --granite: #ecece7;      /* granito chiaro */
  --line: #d8dad4;
  --on-ink: #e9ecee;
  --on-ink-2: #c3cacf;
  --booking: #003b95;
  --star: #f4b400;

  --serif: 'Marcellus', 'Times New Roman', Georgia, serif;
  --sans: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --wrap: 1200px;
  --gut: clamp(18px, 4.4vw, 44px);
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 10px;
  --hdr: 76px;
  --shadow: 0 1px 2px rgba(20, 26, 30, .06), 0 10px 30px -8px rgba(20, 26, 30, .22);
  --shadow-lg: 0 2px 6px rgba(20, 26, 30, .08), 0 30px 70px -18px rgba(20, 26, 30, .45);
  --ease: cubic-bezier(.22, .7, .2, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17.5px/1.62 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { width: 1em; height: 1em; flex: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
::selection { background: #f4d1cb; color: var(--ink); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }

/* ------------------------------------------------------------ tipografia */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 13px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--red-tx); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--red { color: var(--red-tx); }
.h2 { font: 400 clamp(31px, 4.1vw, 50px)/1.1 var(--serif); letter-spacing: .005em; color: var(--ink); text-wrap: balance; }
.h3 { font: 400 clamp(24px, 2.4vw, 30px)/1.18 var(--serif); color: var(--ink); text-wrap: balance; }
p { text-wrap: pretty; }

/* ------------------------------------------------------------ pulsanti */
.btn { --bg: var(--ink); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border: 0; border-radius: 999px; background: var(--bg); color: var(--fg); font: 700 16.5px/1.15 var(--sans); letter-spacing: .01em; text-decoration: none; text-align: center; transition: transform .25s var(--ease), background-color .25s, box-shadow .25s; -webkit-tap-highlight-color: transparent; }
.btn svg { width: 19px; height: 19px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 15.5px; }
.btn--red { --bg: var(--red); box-shadow: 0 8px 20px -10px rgba(192, 57, 43, .8); }
.btn--red:hover { --bg: var(--red-dk); }
.btn--dark { --bg: var(--ink); }
.btn--dark:hover { --bg: #11161a; }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--line { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--line:hover { --bg: var(--ink); --fg: #fff; }
.lnk { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; padding: 10px 2px; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 100% 1.5px no-repeat; }
.lnk svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.lnk:hover svg { transform: translateX(4px); }

/* ------------------------------------------------------------ header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background-color .3s, color .3s, box-shadow .3s; padding-top: env(safe-area-inset-top, 0px); }
.hdr__in { display: flex; align-items: center; gap: 24px; height: var(--hdr); max-width: calc(1320px + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.hdr::before { content: ''; position: absolute; inset: 0 0 -40px; background: linear-gradient(180deg, rgba(14, 18, 21, .62), rgba(14, 18, 21, 0)); pointer-events: none; transition: opacity .3s; z-index: -1; }
.hdr.is-stuck, .hdr.is-menu { background: rgba(251, 251, 249, .96); color: var(--ink); box-shadow: 0 1px 0 rgba(35, 41, 46, .08), 0 8px 24px -16px rgba(35, 41, 46, .35); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .hdr.is-stuck { background: rgba(251, 251, 249, .86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
}
.hdr.is-stuck::before, .hdr.is-menu::before { opacity: 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand__mark { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .55); }
.hdr.is-stuck .brand__mark, .hdr.is-menu .brand__mark { box-shadow: none; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand__txt strong { font: 400 21px/1.1 var(--serif); letter-spacing: .02em; white-space: nowrap; }
.brand__txt small { font-size: 13px; font-weight: 600; letter-spacing: .06em; opacity: .9; white-space: nowrap; }
.nav { display: none; gap: 4px; margin-left: auto; }
.nav a { position: relative; padding: 10px 11px; font-weight: 600; font-size: 15.5px; text-decoration: none; white-space: nowrap; }
.nav a::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: 5px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.hdr__act { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.hdr__tel { display: none; align-items: center; gap: 8px; font-weight: 700; font-size: 15.5px; text-decoration: none; white-space: nowrap; padding: 8px 4px; }
.hdr__tel svg { width: 18px; height: 18px; }
.hdr__cta { display: none; }
.burger { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: inherit; }
.hdr.is-stuck .burger, .hdr.is-menu .burger { background: var(--granite); }
.burger__bars, .burger__bars::before, .burger__bars::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.burger__bars { position: relative; }
.burger__bars::before, .burger__bars::after { content: ''; position: absolute; left: 0; }
.burger__bars::before { top: -6px; }
.burger__bars::after { top: 6px; }
.hdr.is-menu .burger__bars { background: transparent; }
.hdr.is-menu .burger__bars::before { transform: translateY(6px) rotate(45deg); }
.hdr.is-menu .burger__bars::after { transform: translateY(-6px) rotate(-45deg); }
.menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); color: #fff; max-height: calc(100vh - var(--hdr)); max-height: calc(100dvh - var(--hdr)); overflow: auto; overscroll-behavior: contain; padding: 10px var(--gut) calc(26px + var(--safe-b)); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); animation: menuIn .32s var(--ease); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-10px); } }
.menu__nav { display: grid; }
.menu__nav a { display: flex; align-items: baseline; gap: 14px; padding: 14px 2px; border-bottom: 1px solid rgba(255, 255, 255, .12); font: 400 25px/1.2 var(--serif); text-decoration: none; }
.menu__nav span { font: 700 12.5px/1 var(--sans); letter-spacing: .12em; color: var(--red-lt); }
.menu__foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.menu__foot .btn { flex: 1 1 200px; }

/* ------------------------------------------------------------ hero */
.hero { position: relative; display: grid; place-items: center; min-height: max(660px, min(96vh, 920px)); min-height: max(660px, min(96svh, 920px)); padding: calc(var(--hdr) + 28px) var(--gut) 96px; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #2b3339; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; opacity: 0; transform: scale(1.04); transition: opacity 1s var(--ease), transform 1.6s var(--ease); }
.hero__img.is-on { opacity: 1; transform: none; }
.hero__media::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(18, 23, 27, .34), rgba(18, 23, 27, 0) 70%), linear-gradient(180deg, rgba(18, 23, 27, .3) 0, rgba(18, 23, 27, 0) 28%, rgba(18, 23, 27, 0) 70%, rgba(18, 23, 27, .42)); pointer-events: none; }
.season { position: absolute; left: 50%; bottom: 26px; z-index: 2; display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(20, 25, 29, .5); transform: translateX(-50%); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .season { background: rgba(20, 25, 29, .34); -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3); }
}
.season button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 18px; border: 0; border-radius: 999px; background: transparent; color: #fff; font-weight: 700; font-size: 15px; transition: background-color .3s, color .3s; }
.season button svg { width: 18px; height: 18px; }
.season button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.season button:not([aria-pressed="true"]):hover { background: rgba(255, 255, 255, .14); }

/* card premium: l'insegna */
.sign { position: relative; width: 100%; max-width: 468px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-lg); padding: 9px; }
.sign__frame { position: relative; border-radius: 15px; border: 1px solid rgba(35, 41, 46, .16); padding: 22px 26px 22px; text-align: center; }
.sign__frame::before, .sign__frame::after { content: ''; position: absolute; left: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px rgba(35, 41, 46, .2); transform: translateX(-50%); }
.sign__frame::before { top: -5px; }
.sign__frame::after { bottom: -5px; }
.sign__top { display: flex; align-items: center; justify-content: center; gap: 12px; text-align: left; }
.sign__thumb { width: 50px; height: 50px; border-radius: 14px; object-fit: cover; object-position: 50% 40%; box-shadow: 0 0 0 3px #fff, 0 6px 16px -6px rgba(0, 0, 0, .5); }
.sign__loc { display: flex; flex-direction: column; line-height: 1.25; }
.sign__loc span:first-child { font-weight: 700; font-size: 15.5px; color: var(--ink); }
.sign__loc span:last-child { font-size: 14px; color: var(--muted); }
.sign__kind { margin-top: 18px; font: 700 13px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--red-tx); }
.sign__name { margin-top: 6px; font: 400 clamp(52px, 6.6vw, 74px)/1 var(--serif); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); padding-left: .12em; }
.sign__lead { margin: 12px auto 0; max-width: 34ch; font-size: 16.5px; line-height: 1.5; color: var(--muted); }
.sign__rates { display: grid; grid-template-columns: 1fr 1fr; margin-top: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rate { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 14px 8px; text-align: left; }
.rate + .rate { border-left: 1px solid var(--line); }
.rate img { height: 16px; width: auto; }
.rate__line { display: flex; align-items: center; gap: 10px; }
.rate__badge { display: inline-grid; place-items: center; min-width: 40px; height: 36px; padding: 0 6px; border-radius: 9px 9px 9px 2px; background: var(--booking); color: #fff; font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.rate__num { font: 700 26px/1 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
.rate__txt { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; line-height: 1.2; color: var(--muted); }
.rate__txt strong { font-size: 14.5px; color: var(--ink); }
.sign__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 20px; margin-top: 18px; }
.sign__cta .btn { flex: 1 1 auto; }

/* stelle */
.stars { --r: 1; display: inline-block; width: 5.5em; height: 1em; font-size: 15px; vertical-align: -2px; background: linear-gradient(90deg, var(--star) calc(var(--r) * 100%), #cfd4d8 0); -webkit-mask: url(../brand/star.svg) 0 0 / 1.1em 1em repeat-x; mask: url(../brand/star.svg) 0 0 / 1.1em 1em repeat-x; }

/* comparsa della card */
.js .pcard { opacity: 0; transform: translateY(22px) scale(.985); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .pcard .sign__top, .js .pcard .sign__kind, .js .pcard .sign__name, .js .pcard .sign__lead, .js .pcard .pcard__rate, .js .pcard .pcard__chip { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.js .pcard.is-in { opacity: 1; transform: none; }
.js .pcard.is-in .sign__top { opacity: 1; transform: none; transition-delay: .12s; }
.js .pcard.is-in .sign__kind { opacity: 1; transform: none; transition-delay: .2s; }
.js .pcard.is-in .sign__name { opacity: 1; transform: none; transition-delay: .27s; }
.js .pcard.is-in .sign__lead { opacity: 1; transform: none; transition-delay: .34s; }
.js .pcard.is-in .pcard__rate { opacity: 1; transform: none; transition-delay: .42s; }
.js .pcard.is-in .pcard__rate + .pcard__rate { transition-delay: .5s; }
.js .pcard.is-in .pcard__chip { opacity: 1; transform: none; transition-delay: .58s; }
.reveal-all .pcard, .reveal-all .pcard * { opacity: 1 !important; transform: none !important; }
@media (hover: hover) {
  .sign { transition: box-shadow .4s var(--ease); }
  .sign:hover { box-shadow: 0 2px 6px rgba(20, 26, 30, .1), 0 40px 80px -20px rgba(20, 26, 30, .55); }
  .sign:hover .sign__thumb { transform: scale(1.06); }
  .sign__thumb { transition: transform .5s var(--ease); }
}

/* ------------------------------------------------------------ quota */
.quota { position: relative; background: var(--ink); color: var(--on-ink); }
.quota::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .28) 0 1px, transparent 1px 12px), repeating-linear-gradient(90deg, rgba(255, 255, 255, .5) 0 1px, transparent 1px 60px); background-size: auto 7px, auto 12px; background-repeat: repeat-x; }
.quota__list { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 40px; padding-bottom: 36px; }
.quota__list li { display: flex; flex-direction: column; gap: 6px; padding: 4px 22px; }
.quota__list li + li { border-left: 1px solid rgba(255, 255, 255, .14); }
.quota__list strong { font: 400 clamp(38px, 4vw, 52px)/1 var(--serif); color: #fff; }
.quota__list small { font-size: .46em; letter-spacing: .04em; color: var(--red-lt); }
.quota__list span { font-size: 15.5px; line-height: 1.4; color: var(--on-ink-2); max-width: 24ch; }

/* ------------------------------------------------------------ comparsa allo scroll */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease) var(--rd, 0ms), transform .9s var(--ease) var(--rd, 0ms); }
.js [data-reveal].is-in, .reveal-all [data-reveal] { opacity: 1; transform: none; }

/* ------------------------------------------------------------ la casa */
.casa { padding: clamp(72px, 10vw, 130px) 0 clamp(64px, 8vw, 110px); }
.casa__grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.casa__aerial { position: relative; }
.casa__aerial img, .casa__wide img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.casa__aerial img { aspect-ratio: 1300 / 800; object-fit: cover; }
figcaption { margin-top: 12px; font-size: 14.5px; color: var(--muted); }
.casa__aerial figcaption { position: absolute; left: 16px; bottom: 16px; margin: 0; padding: 7px 14px; border-radius: 999px; background: rgba(251, 251, 249, .94); color: var(--ink); font-weight: 600; font-size: 14px; }
.casa__txt p:not(.eyebrow) { margin-top: 18px; font-size: 18px; color: var(--muted); }
.casa__txt .h2 { margin-bottom: 6px; }
.casa__wide { margin-top: clamp(48px, 7vw, 88px); }
.casa__wide img { aspect-ratio: 1800 / 822; object-fit: cover; }
.relics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; counter-reset: r; }
.relic { position: relative; padding: 24px 24px 26px; border-radius: var(--r-md); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.relic::before { content: ''; position: absolute; left: 24px; right: 24px; top: 0; height: 3px; background: var(--ink); border-radius: 0 0 3px 3px; }
.relic__n { display: block; font: 400 34px/1 var(--serif); color: var(--red-tx); margin-bottom: 14px; }
.relic h3 { font: 400 23px/1.2 var(--serif); color: var(--ink); }
.relic p { margin-top: 8px; font-size: 16.5px; color: var(--muted); }

/* ------------------------------------------------------------ camere */
.rooms { padding: clamp(68px, 9vw, 120px) 0; background: var(--white); border-top: 1px solid var(--line); }
.rooms__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 5vw, 64px); align-items: end; margin-bottom: clamp(30px, 4vw, 46px); }
.rooms__intro { font-size: 18px; color: var(--muted); }
.tabs__list { display: flex; gap: 8px; margin-bottom: 26px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__tab { flex: 1 0 auto; display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 20px; border: 0; border-radius: var(--r-md); background: var(--granite); color: var(--ink); font-weight: 700; font-size: 16px; text-align: left; transition: background-color .3s, color .3s, box-shadow .3s; }
.tabs__tab span { font: 400 20px/1 var(--serif); color: var(--red-tx); transition: color .3s; }
.tabs__tab:hover { background: #e2e2dc; }
.tabs__tab[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -14px rgba(35, 41, 46, .9); }
.tabs__tab[aria-selected="true"] span { color: var(--red-lt); }
.room { display: grid; grid-template-columns: 1.22fr 1fr; gap: clamp(28px, 4.5vw, 64px); align-items: center; animation: roomIn .55s var(--ease); }
@keyframes roomIn { from { opacity: 0; transform: translateY(10px); } }
.room__pics { position: relative; padding-bottom: 46px; padding-right: 46px; }
.room__main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.room__sub { position: absolute; right: 0; bottom: 0; width: 36%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); border: 6px solid var(--white); box-shadow: var(--shadow); }
#room-3 .room__sub { aspect-ratio: 3 / 4; width: 27%; }
.room__txt p { margin-top: 14px; font-size: 18px; color: var(--muted); }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 24px 0 28px; }
.feat li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; font-weight: 600; line-height: 1.35; }
.feat svg { width: 22px; height: 22px; color: var(--red-tx); margin-top: -1px; }

/* ------------------------------------------------------------ terrazza */
.terrace { position: relative; padding: clamp(80px, 11vw, 150px) 0; isolation: isolate; overflow: hidden; }
.terrace__bg { position: absolute; inset: 0; z-index: -1; }
.terrace__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.terrace__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 23, 27, .55) 0, rgba(18, 23, 27, .12) 60%, rgba(18, 23, 27, 0)); }
.terrace__in { display: flex; align-items: flex-end; gap: 28px; }
.terrace__card { max-width: 540px; padding: clamp(28px, 3.6vw, 44px); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-lg); }
.terrace__card p:not(.eyebrow) { margin-top: 16px; font-size: 17.5px; color: var(--muted); }
.terrace__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.terrace__list li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15.5px; line-height: 1.3; }
.terrace__list svg { width: 22px; height: 22px; color: var(--red-tx); }
.terrace__pic { width: 250px; margin-bottom: -26px; }
.terrace__pic img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-md); border: 7px solid var(--paper); box-shadow: var(--shadow-lg); }

/* ------------------------------------------------------------ stagioni */
.seasons { padding: clamp(72px, 10vw, 130px) 0 clamp(60px, 8vw, 100px); }
.seasons__head { max-width: 760px; margin-bottom: clamp(32px, 4.5vw, 52px); }
.seasons__head p:not(.eyebrow) { margin-top: 16px; font-size: 18px; color: var(--muted); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.half { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; }
.half--winter { background: var(--ink); color: var(--on-ink); }
.half--summer { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.half__pic { position: relative; }
.half__pic img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.half__tag { position: absolute; left: 18px; top: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(251, 251, 249, .95); color: var(--ink); font-weight: 700; font-size: 14.5px; }
.half__tag svg { width: 17px; height: 17px; color: var(--red-tx); }
.half__body { padding: clamp(24px, 3vw, 36px); }
.half--winter .h3 { color: #fff; }
.half__body > p { margin-top: 12px; font-size: 17px; }
.half--winter .half__body > p { color: var(--on-ink-2); }
.half--summer .half__body > p { color: var(--muted); }
.posts { display: grid; gap: 9px; margin-top: 24px; }
.post { --tip: 16px; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 46px; padding: 9px calc(var(--tip) + 12px) 9px 22px; background: #fff; color: var(--ink); clip-path: polygon(0 0, calc(100% - var(--tip)) 0, 100% 50%, calc(100% - var(--tip)) 100%, 0 100%); border-radius: 5px 0 0 5px; font-weight: 700; font-size: 16px; line-height: 1.25; }
.post::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 7px; background: var(--red); }
.post::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: calc(var(--tip) + 7px); background: var(--red); clip-path: polygon(0 0, 7px 0, 100% 50%, 7px 100%, 0 100%, calc(100% - 7px) 50%); clip-path: polygon(0 0, 7px 0, calc(7px + var(--tip)) 50%, 7px 100%, 0 100%, var(--tip) 50%); }
.half--summer .post { background: var(--granite); }
.post__t { display: inline-flex; align-items: center; gap: 6px; flex: none; font: 400 19px/1 var(--serif); color: var(--red-tx); white-space: nowrap; }
.post__t svg { width: 17px; height: 17px; }
.post:nth-child(even) { margin-left: 14px; }
.seasons__note { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 15px; color: var(--muted); }
.seasons__note svg { width: 20px; height: 20px; }

/* ------------------------------------------------------------ recensioni */
.rep { padding: clamp(72px, 9vw, 120px) 0; background: var(--granite); }
.rep__head { margin-bottom: clamp(28px, 4vw, 46px); }
.rep__grid { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
.medal { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.medal__disc { position: relative; display: grid; place-content: center; justify-items: center; width: 190px; aspect-ratio: 1; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: 0 0 0 6px var(--granite), 0 0 0 8px var(--red), var(--shadow-lg); }
.medal__disc::before { content: ''; position: absolute; inset: 10px; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .35); }
.medal__disc strong { font: 400 64px/1 var(--serif); font-variant-numeric: tabular-nums; }
.medal__disc span { margin-top: 4px; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-2); }
.medal__cap { font-weight: 700; font-size: 15.5px; text-align: center; color: var(--ink); }
.portals { display: grid; gap: 14px; }
.portal { padding: 18px 22px; border-radius: var(--r-md); background: var(--white); box-shadow: 0 1px 0 rgba(35, 41, 46, .05), 0 10px 26px -18px rgba(35, 41, 46, .5); }
.portal img { height: 20px; width: auto; }
.portal__score { margin-top: 10px; color: var(--ink); }
.portal__score strong { font: 400 42px/1 var(--serif); font-variant-numeric: tabular-nums; }
.portal__score small { font-size: 18px; color: var(--muted); margin-left: 2px; }
.portal__meta { margin-top: 6px; font-size: 15px; color: var(--muted); }
.portal__meta .stars { font-size: 14px; margin-right: 4px; }
.quotes { display: grid; gap: 22px; }
.quotes li { position: relative; padding-left: 46px; }
.quotes li::before { content: '“'; position: absolute; left: 0; top: -14px; font: 400 76px/1 var(--serif); color: var(--red); }
.quotes q { quotes: none; display: block; font: 400 clamp(23px, 2.3vw, 30px)/1.3 var(--serif); color: var(--ink); text-wrap: balance; }
.quotes span { display: block; margin-top: 10px; font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--muted); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.rv { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: var(--r-md); background: var(--white); }
.rv.is-new { animation: roomIn .6s var(--ease); }
.rv__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rv__logo { height: 17px; width: auto; }
.rv__score { font-weight: 700; color: #fff; background: var(--booking); border-radius: 8px 8px 8px 2px; padding: 4px 8px; font-size: 15px; }
.rv__score small { font-weight: 600; opacity: .85; }
.rv__text p { font-size: 16.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.rv.is-open .rv__text p { -webkit-line-clamp: unset; display: block; }
.rv__more { align-self: flex-start; padding: 4px 0; border: 0; background: none; color: var(--red-tx); font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.rv__by { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: auto; font-size: 14.5px; color: var(--muted); }
.rv__name { font-weight: 700; color: var(--ink); }
.rep__upd { margin-top: 34px; font-size: 14.5px; color: var(--muted); }

/* ------------------------------------------------------------ galleria */
.gal { padding: clamp(72px, 9vw, 120px) 0; }
.gal__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.gal__count { font: 400 22px/1 var(--serif); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stage { position: relative; border-radius: var(--r-lg); background: var(--ink); overflow: hidden; }
.stage__view { display: block; width: 100%; height: clamp(300px, 62vh, 640px); padding: 0; border: 0; background: radial-gradient(ellipse at 50% 40%, #39434b, var(--ink) 75%); cursor: zoom-in; }
.stage__view img { width: 100%; height: 100%; object-fit: contain; transition: opacity .35s var(--ease); }
.stage__view.is-loading img { opacity: .25; }
.stage__zoom { position: absolute; right: 16px; top: 16px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(251, 251, 249, .92); color: var(--ink); }
.stage__zoom svg { width: 19px; height: 19px; }
.stage__cap { position: absolute; left: 16px; bottom: 16px; max-width: calc(100% - 150px); padding: 8px 14px; border-radius: 12px; background: rgba(251, 251, 249, .94); color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.3; }
.stage__nav { position: absolute; top: 50%; display: grid; place-items: center; width: 50px; height: 50px; margin-top: -25px; border: 0; border-radius: 50%; background: rgba(251, 251, 249, .94); color: var(--ink); box-shadow: var(--shadow); transition: transform .25s var(--ease), background-color .25s; }
.stage__nav:hover { background: #fff; transform: scale(1.06); }
.stage__nav svg { width: 22px; height: 22px; }
.stage__nav--prev { left: 16px; }
.stage__nav--next { right: 16px; }
.thumbs { display: flex; gap: 10px; margin: 8px -7px 0; overflow-x: auto; padding: 7px 7px 12px; scroll-padding: 0 7px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #b9bdb6 transparent; }
.thumbs li { flex: none; scroll-snap-align: start; }
.thumbs button { display: block; width: 104px; height: 76px; padding: 0; border: 0; border-radius: var(--r-sm); overflow: hidden; background: var(--granite); opacity: .72; transition: opacity .25s, box-shadow .25s; }
.thumbs button:hover { opacity: 1; }
.thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--red); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------ dove siamo */
.where { padding: clamp(72px, 9vw, 120px) 0; background: var(--white); border-top: 1px solid var(--line); }
.where__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.where__map { position: sticky; top: calc(var(--hdr) + 20px); }
.map { position: relative; aspect-ratio: 4 / 3.4; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); box-shadow: var(--shadow); }
.map__ph { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.map::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 23, 27, .05), rgba(18, 23, 27, .72)); pointer-events: none; }
.map.is-live::after { display: none; }
.map__over { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; padding: 22px; color: #fff; }
.map__addr { display: flex; gap: 10px; font-size: 16px; line-height: 1.4; }
.map__addr svg { width: 24px; height: 24px; margin-top: 2px; color: var(--red-lt); }
.map__addr strong { display: block; font: 400 22px/1.2 var(--serif); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.where__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.where__txt > p:not(.eyebrow) { margin-top: 16px; font-size: 18px; color: var(--muted); }
.trip { display: grid; margin-top: 26px; border-top: 1px solid var(--line); }
.trip li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; }
.trip svg { width: 22px; height: 22px; color: var(--red-tx); }
.trip strong { font-weight: 700; white-space: nowrap; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.facts div { padding: 14px 16px; border-radius: var(--r-sm); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.facts dt { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.facts dt svg { width: 18px; height: 18px; color: var(--red-tx); }
.facts dd { margin-top: 4px; font-weight: 700; font-size: 16.5px; color: var(--ink); }
.where__codes { margin-top: 18px; font-size: 14px; color: var(--muted); letter-spacing: .02em; }

/* ------------------------------------------------------------ prenota: skipass */
.book { position: relative; padding: clamp(80px, 11vw, 140px) 0; isolation: isolate; overflow: hidden; }
.book__bg { position: absolute; inset: 0; z-index: -1; }
.book__bg img { width: 100%; height: 100%; object-fit: cover; }
.book__bg::after { content: ''; position: absolute; inset: 0; background: rgba(22, 28, 33, .55); }
.book__in { display: flex; justify-content: center; }
.ticket { --stub: 210px; --notch: 15px; display: grid; grid-template-columns: minmax(0, 1fr) var(--stub); width: 100%; max-width: 940px; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
.ticket__main, .ticket__stub { position: relative; }
.ticket__main { padding: clamp(28px, 4vw, 46px); background: var(--paper); border-radius: var(--r-lg) 0 0 var(--r-lg); -webkit-mask: radial-gradient(circle at 100% 0, transparent var(--notch), #000 calc(var(--notch) + .5px)) top / 100% 51% no-repeat, radial-gradient(circle at 100% 100%, transparent var(--notch), #000 calc(var(--notch) + .5px)) bottom / 100% 51% no-repeat; mask: radial-gradient(circle at 100% 0, transparent var(--notch), #000 calc(var(--notch) + .5px)) top / 100% 51% no-repeat, radial-gradient(circle at 100% 100%, transparent var(--notch), #000 calc(var(--notch) + .5px)) bottom / 100% 51% no-repeat; }
.ticket__stub { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 28px 18px; background: var(--ink); color: #fff; text-align: center; border-radius: 0 var(--r-lg) var(--r-lg) 0; -webkit-mask: radial-gradient(circle at 0 0, transparent var(--notch), #000 calc(var(--notch) + .5px)) top / 100% 51% no-repeat, radial-gradient(circle at 0 100%, transparent var(--notch), #000 calc(var(--notch) + .5px)) bottom / 100% 51% no-repeat; mask: radial-gradient(circle at 0 0, transparent var(--notch), #000 calc(var(--notch) + .5px)) top / 100% 51% no-repeat, radial-gradient(circle at 0 100%, transparent var(--notch), #000 calc(var(--notch) + .5px)) bottom / 100% 51% no-repeat; }
.ticket__stub::before { content: ''; position: absolute; left: 0; top: calc(var(--notch) + 8px); bottom: calc(var(--notch) + 8px); border-left: 2px dashed rgba(255, 255, 255, .35); }
.ticket__stub img { width: 46px; height: 46px; border-radius: 12px; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .5); }
.ticket__alt { font: 400 46px/1 var(--serif); }
.ticket__alt small { font-size: .45em; margin-left: 3px; color: var(--red-lt); }
.ticket__where { font-weight: 700; font-size: 14.5px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.45; color: var(--on-ink-2); }
.ticket__seasons { display: flex; gap: 10px; color: var(--red-lt); }
.ticket__seasons svg { width: 22px; height: 22px; }
.ticket__lead { margin-top: 14px; font-size: 17.5px; color: var(--muted); max-width: 52ch; }
.ticket__form { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-top: 26px; }
.ticket__go { grid-column: 1 / -1; min-height: 56px; font-size: 17.5px; }
.ticket__msg { grid-column: 1 / -1; min-height: 1.4em; font-weight: 700; font-size: 15px; color: var(--red-tx); }
.ticket__msg:empty { min-height: 0; margin-top: -12px; }

/* campi */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field span { font-size: 13.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field input, .field select { width: 100%; min-width: 0; min-height: 52px; padding: 12px 14px; border: 1.5px solid #c9ccc5; border-radius: 12px; background: #fff; color: var(--ink); font-size: 16.5px; font-weight: 600; -webkit-appearance: none; appearance: none; transition: border-color .2s, box-shadow .2s; }
.field input::-webkit-date-and-time-value { text-align: left; }
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(192, 57, 43, .22); }
.field--sel select { padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2323292e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M7 10l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center / 20px; }

/* ------------------------------------------------------------ footer */
.foot { background: var(--ink); color: var(--on-ink-2); padding: 46px 0 calc(40px + var(--safe-b)); }
.foot__in { display: grid; grid-template-columns: 1.2fr 1.6fr; gap: 22px 40px; align-items: center; }
.foot__brand { display: flex; align-items: center; gap: 14px; font-size: 15.5px; line-height: 1.45; }
.foot__brand img { border-radius: 12px; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .45); }
.foot__brand strong { font: 400 21px/1.2 var(--serif); color: #fff; }
.foot__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 18px; }
.foot__nav a { padding: 6px 0; font-weight: 600; font-size: 15.5px; color: #fff; text-decoration: none; }
.foot__nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__copy { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }

/* ------------------------------------------------------------ barra rapida mobile */
.qbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + var(--safe-b)); z-index: 40; display: none; gap: 10px; padding: 8px; border-radius: 999px; background: rgba(251, 251, 249, .96); box-shadow: 0 16px 40px -14px rgba(20, 26, 30, .6), 0 0 0 1px rgba(35, 41, 46, .08); transform: translateY(140%); transition: transform .45s var(--ease); }
.qbar.is-on { transform: none; }
.qbar .btn { flex: 1; }
.qbar__tel { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; }
.qbar__tel svg { width: 20px; height: 20px; }
.qbar__short { display: none; }

/* ------------------------------------------------------------ dialog prenotazione */
.sheet { width: min(520px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--paper); color: var(--ink); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(16px) scale(.985); transition: opacity .28s var(--ease), transform .28s var(--ease); overscroll-behavior: contain; }
.sheet.is-open { opacity: 1; transform: none; }
.sheet::backdrop { background: rgba(18, 23, 27, .55); }
.sheet__in { position: relative; padding: 30px clamp(20px, 5vw, 34px) calc(28px + var(--safe-b)); }
.sheet__x { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--granite); color: var(--ink); }
.sheet__x svg { width: 20px; height: 20px; }
.sheet__title { font: 400 30px/1.15 var(--serif); padding-right: 48px; }
.sheet__form { display: grid; gap: 14px; margin-top: 20px; }
.sheet__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sheet__sum { padding: 12px 14px; border-radius: 12px; background: var(--granite); font-size: 15.5px; color: var(--ink); }
.sheet__sum.is-err { background: #fbe6e2; color: var(--red-dk); font-weight: 700; }
.sheet__direct { display: grid; gap: 10px; padding: 16px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.sheet__lbl { font-weight: 700; font-size: 15px; }
.sheet__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.sheet__btns .btn { flex: 1 1 140px; }
.btn--booking { --bg: #fff; --fg: var(--ink); flex-wrap: wrap; gap: 6px 10px; box-shadow: inset 0 0 0 1.5px #c9ccc5; font-size: 15.5px; }
.btn--booking img { height: 18px; width: auto; }
.btn--booking:hover { box-shadow: inset 0 0 0 1.5px var(--booking); }
.sheet__fine { font-size: 13.5px; color: var(--muted); text-align: center; }

/* ------------------------------------------------------------ lightbox */
.lb { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(14, 18, 21, .97); color: #fff; }
.lb::backdrop { background: rgba(14, 18, 21, .97); }
.lb__fig { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; width: 100%; height: 100%; padding: 70px 72px calc(26px + var(--safe-b)); }
.lb__fig img { max-width: 100%; max-height: calc(100% - 50px); width: auto; height: auto; object-fit: contain; border-radius: 8px; }
.lb__cap { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; font-size: 15.5px; text-align: center; color: var(--on-ink); }
.lb__count { color: var(--on-ink-2); font-variant-numeric: tabular-nums; }
.lb__btn { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; }
.lb__btn:hover { background: rgba(255, 255, 255, .22); }
.lb__btn svg { width: 22px; height: 22px; }
.lb__btn--x { right: 16px; top: calc(14px + env(safe-area-inset-top, 0px)); }
.lb__btn--prev { left: 12px; top: 50%; margin-top: -25px; }
.lb__btn--next { right: 12px; top: 50%; margin-top: -25px; }

/* =====================================================================
   PUNTI DI ROTTURA
   ===================================================================== */
@media (min-width: 1080px) {
  .nav { display: flex; }
  .hdr__act { margin-left: 8px; }
  .hdr__cta { display: inline-flex; }
  .burger { display: none; }
}
@media (min-width: 1280px) {
  .hdr__tel:not([hidden]) { display: inline-flex; }
}
@media (max-width: 1240px) and (min-width: 1080px) {
  .nav a { padding: 10px 8px; font-size: 15px; }
  .nav a::after { left: 8px; right: 8px; }
}

@media (max-width: 1079px) {
  .rep__grid { grid-template-columns: auto 1fr; }
  .quotes { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 10px; }
  .reviews { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 899px) {
  :root { --hdr: 68px; }
  body { font-size: 17px; }
  .qbar { display: flex; }
  .foot { padding-bottom: calc(100px + var(--safe-b)); }

  /* hero: foto in alto, insegna sovrapposta sotto */
  .hero { display: block; place-items: normal; min-height: 0; padding: 0; }
  .hero__media { position: relative; inset: auto; width: 100%; height: 64vh; height: 64svh; min-height: 380px; max-height: 620px; }
  .season { bottom: 104px; }
  .sign { width: calc(100% - var(--gut) * 2); margin: -84px auto 0; z-index: 2; }

  .quota { margin-top: 44px; }
  .quota__list { grid-template-columns: 1fr 1fr; row-gap: 26px; padding-top: 38px; padding-bottom: 32px; }
  .quota__list li { padding: 0 16px; }
  .quota__list li:nth-child(3) { border-left: 0; }

  .casa__grid { grid-template-columns: 1fr; }
  .relics { grid-template-columns: 1fr; gap: 12px; }

  .rooms__head { grid-template-columns: 1fr; align-items: start; }
  .tabs__list { margin-left: calc(var(--gut) * -1); margin-right: calc(var(--gut) * -1); padding: 2px var(--gut); }
  .tabs__tab { flex: 0 0 auto; min-height: 52px; font-size: 15.5px; padding: 10px 16px; }
  .room { grid-template-columns: 1fr; }
  .room__pics { padding-right: 28px; padding-bottom: 34px; }

  .terrace { padding: 0; background: var(--ink); }
  .terrace__bg { position: relative; aspect-ratio: 4 / 3; max-height: 70vh; width: 100%; }
  .terrace__bg::after { background: linear-gradient(180deg, rgba(18, 23, 27, 0) 55%, rgba(35, 41, 46, .9)); }
  .terrace__in { display: block; margin-top: -90px; padding-bottom: 40px; }
  .terrace__card { position: relative; max-width: none; }
  .terrace__pic { display: none; }

  .duo { grid-template-columns: 1fr; }
  .where__grid { grid-template-columns: 1fr; }
  .where__map { position: static; order: 2; }
  .where__txt { order: 1; }

  .ticket { --stub: 150px; }
  .ticket__form { grid-template-columns: 1fr 1fr; }
  .ticket__form .field--sel { grid-column: 1 / -1; }

  .foot__in { grid-template-columns: 1fr; }
  .foot__nav { justify-content: flex-start; }
}

@media (max-width: 699px) {
  .rep__grid { grid-template-columns: 1fr; justify-items: stretch; }
  .medal { flex-direction: row; justify-content: center; gap: 18px; }
  .medal__disc { width: 140px; }
  .medal__disc strong { font-size: 48px; }
  .medal__disc span { font-size: 13px; }
  .medal__cap { max-width: 12ch; text-align: left; }
  .quotes { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }

  .ticket { grid-template-columns: 1fr; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .35)); }
  .ticket__main { border-radius: var(--r-lg) var(--r-lg) 0 0; -webkit-mask: radial-gradient(circle at 0 100%, transparent var(--notch), #000 calc(var(--notch) + .5px)) left / 51% 100% no-repeat, radial-gradient(circle at 100% 100%, transparent var(--notch), #000 calc(var(--notch) + .5px)) right / 51% 100% no-repeat; mask: radial-gradient(circle at 0 100%, transparent var(--notch), #000 calc(var(--notch) + .5px)) left / 51% 100% no-repeat, radial-gradient(circle at 100% 100%, transparent var(--notch), #000 calc(var(--notch) + .5px)) right / 51% 100% no-repeat; }
  .ticket__stub { flex-direction: row; flex-wrap: wrap; gap: 8px 16px; padding: 20px 22px; border-radius: 0 0 var(--r-lg) var(--r-lg); -webkit-mask: radial-gradient(circle at 0 0, transparent var(--notch), #000 calc(var(--notch) + .5px)) left / 51% 100% no-repeat, radial-gradient(circle at 100% 0, transparent var(--notch), #000 calc(var(--notch) + .5px)) right / 51% 100% no-repeat; mask: radial-gradient(circle at 0 0, transparent var(--notch), #000 calc(var(--notch) + .5px)) left / 51% 100% no-repeat, radial-gradient(circle at 100% 0, transparent var(--notch), #000 calc(var(--notch) + .5px)) right / 51% 100% no-repeat; }
  .ticket__stub::before { left: calc(var(--notch) + 8px); right: calc(var(--notch) + 8px); top: 0; bottom: auto; border-left: 0; border-top: 2px dashed rgba(255, 255, 255, .35); }
  .ticket__stub img { width: 38px; height: 38px; }
  .ticket__alt { font-size: 34px; }
  .ticket__where { font-size: 13px; text-align: left; }
  .ticket__where br { display: none; }
  .ticket__seasons { display: none; }
  .ticket__stub { justify-content: center; }

  .stage__view { height: clamp(260px, 58vh, 460px); }
  .stage__cap { left: 10px; bottom: 10px; max-width: calc(100% - 20px); font-size: 14px; }
  .stage__nav { width: 44px; height: 44px; margin-top: -22px; }
  .stage__nav--prev { left: 8px; }
  .stage__nav--next { right: 8px; }
  .thumbs button { width: 84px; height: 62px; }
  .lb__fig { padding: 70px 10px calc(84px + var(--safe-b)); }
  .lb__btn--prev, .lb__btn--next { top: auto; bottom: calc(16px + var(--safe-b)); margin-top: 0; }
  .lb__btn--prev { left: calc(50% - 62px); }
  .lb__btn--next { right: calc(50% - 62px); }
}

@media (max-width: 560px) {
  .sign__frame { padding: 20px 16px 18px; }
  .sign__rates { grid-template-columns: 1fr; }
  .rate { flex-direction: row; justify-content: space-between; padding: 12px 6px; }
  .rate + .rate { border-left: 0; border-top: 1px solid var(--line); }
  .sign__cta { flex-direction: column; }
  .sign__cta .btn { width: 100%; }
  .feat { grid-template-columns: 1fr; }
  .terrace__list { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .post:nth-child(even) { margin-left: 0; }
  .gal__head { flex-direction: column; align-items: flex-start; }
  .gal__count { display: none; }
  .ticket__form { grid-template-columns: 1fr; }
  .sheet__row { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .brand__txt small { display: none; }
  .brand__txt strong { font-size: 19px; }
  .season button { padding: 8px 14px; font-size: 14.5px; }
  .quota__list strong { font-size: 34px; }
  .quota__list span { font-size: 14.5px; }
  .quota__list li { padding: 0 12px; }
  .trip li { grid-template-columns: auto 1fr; }
  .trip strong { grid-column: 2; margin-top: -8px; }
  .medal { flex-direction: column; }
  .medal__cap { text-align: center; }
}

@media (max-width: 340px) {
  .qbar__long { display: none; }
  .qbar__short { display: inline; }
}

@media (max-width: 330px) {
  :root { --gut: 14px; }
  .sign { width: calc(100% - 20px); }
  .sign__name { font-size: 44px; }
  .season { bottom: 96px; }
  .season button { padding: 8px 10px; gap: 6px; }
  .tabs__tab { font-size: 15px; }
  .quota__list { grid-template-columns: 1fr; }
  .quota__list li + li { border-left: 0; }
  .ticket { --notch: 12px; }
}

/* telefono in orizzontale: foto più bassa */
@media (max-width: 899px) and (orientation: landscape) and (max-height: 520px) {
  .hero__media { height: 88vh; height: 88svh; min-height: 300px; }
  .season { bottom: 100px; }
  .terrace__bg { max-height: 82vh; }
  .stage__view { height: 78vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
}
