/* =====================================================================
   B&B La Perla dei Casali — foglio di stile
   Identità: indaco notturno dei Picentini, albicocca dell'alba,
   madreperla (sfumature iridescenti). Lora + Albert Sans.
   ===================================================================== */

/* ------------------------------------------------------------ font */
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/lora-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: 'Lora'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/lora-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: 'Lora'; font-style: italic; font-weight: 400 700; font-display: swap; src: url(../fonts/lora-italic-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: 'Lora'; font-style: italic; font-weight: 400 700; font-display: swap; src: url(../fonts/lora-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; }
@font-face { font-family: 'Albert Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/albert-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: 'Albert Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/albert-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: 'Albert Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/albert-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; }

/* ------------------------------------------------------------ variabili */
:root {
  --ink: #1c2148;          /* indaco notte */
  --indigo: #2b3270;
  --indigo-2: #3d4692;     /* corsivi dei titoli */
  --apricot: #f2a46a;      /* albicocca */
  --apricot-dk: #a24f1c;   /* testo d'accento su fondi chiari */
  --pearl: #f7f5f2;        /* madreperla */
  --lilac: #efebf4;        /* fascia perla-lilla */
  --peach: #fcefe4;        /* fascia pesca */
  --text: #23263b;
  --muted: #53586f;
  --line: rgba(28, 33, 72, .13);
  --on-ink: #f3f1fa;
  --on-ink-2: #c3c6e4;
  --star: #f0a43a;
  --nacre: linear-gradient(125deg, #fffdfb 0%, #efe8f8 28%, #fde6d6 56%, #e2efee 80%, #f4eefb 100%);
  --nacre-line: linear-gradient(125deg, rgba(200, 186, 232, .9), rgba(246, 196, 160, .9) 45%, rgba(166, 214, 208, .9) 75%, rgba(200, 186, 232, .9));
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'Albert Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 30px;
  --shadow: 0 1px 2px rgba(28, 33, 72, .06), 0 10px 30px -12px rgba(28, 33, 72, .22);
  --shadow-lg: 0 2px 6px rgba(28, 33, 72, .08), 0 30px 70px -24px rgba(28, 33, 72, .38);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --hdr: 68px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --dock: calc(76px + var(--safe-b));
}
@media (min-width: 980px) { :root { --hdr: 78px; --dock: 0px; } }

/* ------------------------------------------------------------ base */
*, *::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); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--pearl); color: var(--text); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; padding-bottom: var(--dock); }
@media (max-width: 420px) { body { font-size: 16.5px; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo); text-underline-offset: 3px; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
strong, b { font-weight: 700; }
:focus-visible { outline: 3px solid var(--apricot); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
@media (max-width: 420px) { .wrap { width: calc(100% - 28px); } }
section { position: relative; }
[hidden] { display: none !important; }

.eyebrow { font: 700 13.5px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--apricot-dk); }
.eyebrow--light { color: var(--apricot); }
.h2 { font: 500 clamp(31px, 4.4vw, 54px)/1.1 var(--serif); letter-spacing: -.012em; color: var(--ink); margin-top: 12px; text-wrap: balance; }
.h2 em { font-style: italic; color: var(--indigo-2); }
.h2--light { color: #fff; }
.h2--light em { color: var(--apricot); }
.sec-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 46px); }
.sec-head__lead { margin-top: 14px; color: var(--muted); font-size: 17.5px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 30px; }
.sec-head--row .sec-head__lead { margin: 0; }

/* stelle Google e pallini Tripadvisor (valore in --r da 0 a 1) */
.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%), #d6d3dc 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; }
.dots { --r: 1; display: inline-block; width: 5.5em; height: 1em; font-size: 14px; vertical-align: -2px; background: linear-gradient(90deg, #00aa6c calc(var(--r) * 100%), #cfd8d3 0); -webkit-mask: radial-gradient(circle at center, #000 .4em, transparent .43em) 0 0 / 1.1em 1em repeat-x; mask: radial-gradient(circle at center, #000 .4em, transparent .43em) 0 0 / 1.1em 1em repeat-x; }

/* ------------------------------------------------------------ pulsanti */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px; font: 700 16px/1.2 var(--sans); letter-spacing: .005em; text-decoration: none; text-align: center; transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, color .25s; -webkit-tap-highlight-color: transparent; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.98); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--indigo); box-shadow: 0 10px 24px -12px rgba(28, 33, 72, .7); }
.btn--apricot { background: var(--apricot); color: var(--ink); }
.btn--apricot:hover { background: #f5b47f; box-shadow: 0 10px 24px -12px rgba(162, 79, 28, .6); }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.6px var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn--booking { width: 100%; min-height: 56px; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.6px var(--line); flex-wrap: wrap; gap: 6px 10px; }
.btn--booking:hover { box-shadow: inset 0 0 0 1.6px var(--ink); }
.btn--booking img { width: 112px; height: auto; }

/* ------------------------------------------------------------ intestazione */
.top { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top, 0px); background: rgba(247, 245, 242, .82); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow .3s, background-color .3s; }
.top.is-stuck { background: rgba(247, 245, 242, .94); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(28, 33, 72, .35); }
.top__in { width: min(1240px, 100% - 28px); margin-inline: auto; height: var(--hdr); display: flex; align-items: center; gap: 14px; }
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__txt { display: grid; min-width: 0; }
.brand__name { font: 600 19px/1.15 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand__sub { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: none; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: block; padding: 10px 12px; border-radius: 999px; color: var(--ink); font-weight: 600; font-size: 15.5px; text-decoration: none; transition: background-color .2s; }
.nav a:hover { background: rgba(28, 33, 72, .07); }
.nav a.is-here { background: rgba(28, 33, 72, .08); }
.top__call { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.4px var(--line); }
.top__call svg { width: 21px; height: 21px; }
.top__book { display: none; }
@media (min-width: 980px) {
  .nav { display: block; }
  .top__book { display: inline-flex; min-height: 46px; }
  .top__call { display: none !important; }
  .brand__mark { width: 46px; height: 46px; }
  .brand__name { font-size: 21px; }
}
@media (min-width: 980px) and (max-width: 1159px) { .nav a { padding: 9px 9px; font-size: 15px; } .brand__sub { display: none; } }
@media (max-width: 359px) { .brand__sub { display: none; } .brand__name { font-size: 17px; } .brand__mark { width: 36px; height: 36px; } }
@media (max-width: 299px) { .brand { gap: 8px; } .brand__name { font-size: 15.5px; } .brand__mark { width: 30px; height: 30px; } }

/* barra di navigazione in basso (telefono e tablet) */
.dock { position: fixed; z-index: 55; left: 10px; right: 10px; bottom: calc(10px + var(--safe-b)); display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; height: 62px; max-width: 560px; margin-inline: auto; padding: 0 4px; border-radius: 22px; background: rgba(28, 33, 72, .96); box-shadow: 0 16px 40px -14px rgba(14, 17, 42, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.dock a, .dock button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 54px; min-width: 0; border: 0; border-radius: 16px; background: none; color: var(--on-ink); font: 600 12px/1.1 var(--sans); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.dock a span, .dock button span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dock svg { width: 22px; height: 22px; }
.dock a.is-here { color: var(--apricot); }
.dock__book { background: var(--apricot) !important; color: var(--ink) !important; margin: 0 2px; }
.dock__pearl { width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle at 35% 32%, #fff 0, #f3edf8 45%, #f6d9c4 85%); box-shadow: inset 0 0 0 1.5px var(--ink); }
@media (max-width: 339px) { .dock { grid-template-columns: 1fr 1fr 1.8fr 1fr 1fr; } .dock a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .dock svg { width: 24px; height: 24px; } .dock__book span { font-size: 12.5px; } }
@media (min-width: 980px) { .dock { display: none; } }

/* ------------------------------------------------------------ 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; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ------------------------------------------------------------ apertura */
.hero { padding: calc(var(--hdr) + clamp(22px, 4vw, 48px)) 0 clamp(40px, 6vw, 80px); background: radial-gradient(60% 50% at 88% 8%, rgba(239, 232, 248, .9), transparent 70%), radial-gradient(50% 40% at 6% 30%, rgba(253, 230, 214, .7), transparent 70%), var(--pearl); }
.hero__head { display: grid; gap: 16px 40px; align-items: end; }
.hero__title { margin-top: 12px; font: 500 clamp(48px, 10.5vw, 128px)/.95 var(--serif); letter-spacing: -.025em; color: var(--ink); }
.hero__title em { display: block; font-style: italic; font-weight: 400; color: var(--indigo-2); }
.hero__lead { max-width: 440px; font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); }
.hero__lead strong { color: var(--ink); }
@media (min-width: 900px) { .hero__head { grid-template-columns: 1.5fr 1fr; } .hero__title em { display: inline; } .hero__lead { justify-self: end; padding-bottom: 12px; } }

.hero__stage { position: relative; margin-top: clamp(22px, 3.5vw, 40px); }
.capsule { position: relative; overflow: hidden; border-radius: 999px; aspect-ratio: 1.3 / 1; background: #d9d5e6; box-shadow: var(--shadow-lg); }
.capsule::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); pointer-events: none; }
.capsule img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.capsule__tag { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px; background: rgba(28, 33, 72, .72); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.capsule__tag svg { width: 18px; height: 18px; color: var(--apricot); }
@media (min-width: 560px) { .capsule { aspect-ratio: 1.7 / 1; } }
@media (min-width: 900px) { .capsule { aspect-ratio: 2.35 / 1; } .capsule img { object-position: 50% 42%; } .capsule__tag { left: auto; right: 9%; top: 22px; transform: none; } }

/* card premium della struttura */
.pcard { position: relative; z-index: 2; display: grid; grid-template-columns: 104px 1fr; gap: 16px; width: min(440px, 100% - 20px); margin: -46px auto 0; padding: 14px 18px 14px 14px; border: 1px solid transparent; border-radius: 26px; background: linear-gradient(#fff, #fff) padding-box, var(--nacre-line) border-box; box-shadow: var(--shadow-lg); }
.pcard__photo { overflow: hidden; border-radius: 18px; background: var(--lilac); }
.pcard__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; transition: transform .8s var(--ease); }
.pcard:hover .pcard__photo img { transform: scale(1.05); }
.pcard__body { display: grid; gap: 6px; align-content: center; min-width: 0; }
.pcard__place { display: flex; align-items: center; gap: 5px; font-size: 13.5px; color: var(--muted); }
.pcard__place svg { width: 15px; height: 15px; color: var(--apricot-dk); flex: none; }
.pcard__name { font: 600 20px/1.2 var(--serif); color: var(--ink); }
.pcard__rates { display: grid; gap: 7px; margin: 4px 0 2px; }
.pcard__rate { display: grid; grid-template-columns: 90px auto 1fr; align-items: center; gap: 8px; min-width: 0; }
.pcard__rate img { width: auto; height: 15px; }
.pcard__score { display: inline-grid; place-items: center; min-width: 34px; height: 28px; padding: 0 6px; border-radius: 8px 8px 8px 2px; background: #003b95; color: #fff; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.pcard__g { display: inline-flex; align-items: center; gap: 6px; }
.pcard__g b { font-size: 15.5px; color: var(--ink); font-variant-numeric: tabular-nums; }
.pcard__g .stars { font-size: 12.5px; }
.pcard__meta { font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pcard__cta { justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; padding: 4px 0; color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; background: linear-gradient(var(--apricot), var(--apricot)) 0 100% / 100% 2px no-repeat; }
.pcard__cta svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.pcard__cta:hover svg { transform: translateX(4px); }
@media (max-width: 400px) {
  .pcard { grid-template-columns: 1fr; padding: 12px 14px 16px; }
  .pcard__photo { aspect-ratio: 16 / 7; }
  .pcard__rate { grid-template-columns: 84px auto 1fr; }
}
@media (min-width: 900px) {
  .pcard { position: absolute; right: 5%; bottom: -86px; margin: 0; width: 430px; }
}
/* entrata animata della card */
.js .pcard { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.js .pcard__photo, .js .pcard__body > * { opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.js .pcard.is-in, .js .pcard.is-in .pcard__photo, .js .pcard.is-in .pcard__body > * { opacity: 1; transform: none; }
.js .pcard.is-in .pcard__body > :nth-child(1) { transition-delay: .12s; }
.js .pcard.is-in .pcard__body > :nth-child(2) { transition-delay: .2s; }
.js .pcard.is-in .pcard__body > :nth-child(3) { transition-delay: .28s; }
.js .pcard.is-in .pcard__body > :nth-child(4) { transition-delay: .36s; }
.reveal-all .pcard, .reveal-all .pcard * { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) { .js .pcard, .js .pcard * { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* richiesta in forma di frase */
.ask { margin-top: clamp(26px, 4vw, 36px); display: grid; gap: 18px; }
.ask__line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; font: 400 clamp(21px, 2.4vw, 30px)/1.35 var(--serif); color: var(--ink); }
.ask__w { white-space: nowrap; }
.ask__f { display: inline-flex; flex: 1 1 160px; max-width: 230px; }
.ask__f input, .ask__f select { width: 100%; min-height: 50px; padding: 6px 14px; border: 0; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(28, 33, 72, .18), 0 6px 16px -12px rgba(28, 33, 72, .5); color: var(--ink); font: 600 17px/1.2 var(--sans); -webkit-appearance: none; appearance: none; }
.ask__f input:hover, .ask__f select:hover { box-shadow: inset 0 0 0 1.5px var(--indigo-2); }
.ask__f input:focus, .ask__f select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--indigo-2), 0 0 0 4px rgba(242, 164, 106, .45); }
.ask__f input::-webkit-date-and-time-value { text-align: left; }
.ask__f input::-webkit-calendar-picker-indicator { opacity: .6; cursor: pointer; }
.ask__f--sel { position: relative; max-width: 190px; }
.ask__f--sel::after, .field--sel::after { content: ''; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); pointer-events: none; }
.ask__f--sel select { padding-right: 38px; }
.ask__go { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.ask__msg { font-weight: 700; color: #a3361c; font-size: 15.5px; }
.ask__msg:empty { display: none; }
@media (max-width: 520px) {
  .ask__line { gap: 8px 10px; }
  .ask__f, .ask__f--sel { flex: 1 1 100%; max-width: none; }
  .ask__w { flex: 1 1 100%; }
  .ask__go .btn { width: 100%; }
}
@media (min-width: 900px) { .ask { margin-top: 44px; max-width: calc(100% - 480px); } .ask__go { margin-top: 4px; } }
@media (min-width: 900px) and (max-width: 1100px) { .ask__line { font-size: 22px; } }

/* ------------------------------------------------------------ benvenuti */
.welcome { padding: clamp(60px, 9vw, 120px) 0; }
.welcome__big { margin-top: 18px; font: 400 clamp(26px, 4.1vw, 52px)/1.32 var(--serif); letter-spacing: -.01em; color: var(--ink); max-width: 1120px; }
/* foto a pillola nella frase: pulsanti (anteprima al passaggio del mouse, schermo intero al clic) */
.chip { position: relative; display: inline-block; width: 2.05em; height: 1.02em; margin: 0 .06em; padding: 0; border: 0; vertical-align: -.14em; overflow: hidden; border-radius: 999px; background: var(--lilac); font: inherit; cursor: zoom-in; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px rgba(200, 186, 232, .9), 0 8px 18px -10px rgba(28, 33, 72, .55); transition: transform .45s var(--ease), box-shadow .3s; -webkit-tap-highlight-color: transparent; }
.chip img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.chip:hover, .chip.is-peek { transform: scale(1.1) rotate(-3deg); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--apricot), 0 12px 22px -10px rgba(28, 33, 72, .6); }
.chip:hover img, .chip.is-peek img { transform: scale(1.12); }
.chip:active { transform: scale(.96); }
.chip:focus-visible { outline: 3px solid var(--indigo-2); outline-offset: 5px; }
/* riflesso di madreperla che attraversa le pillole quando la frase compare: invita a toccarle */
.chip::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .85) 46%, rgba(246, 217, 196, .7) 52%, rgba(214, 205, 240, .55) 58%, transparent 72%); transform: translateX(-120%); pointer-events: none; }
.welcome__big.is-in .chip::after { animation: chipGlint 1.5s var(--ease) both; animation-delay: calc(.7s + var(--i, 0) * .22s); }
.welcome__big .chip:nth-of-type(2) { --i: 1; }
.welcome__big .chip:nth-of-type(3) { --i: 2; }
.welcome__big .chip:nth-of-type(4) { --i: 3; }
@keyframes chipGlint { to { transform: translateX(120%); } }

/* anteprima che nasce dalla pillola */
.peek { position: fixed; z-index: 70; left: 0; top: 0; width: clamp(260px, 26vw, 360px); padding: 7px 7px 13px; border: 1.5px solid transparent; border-radius: 24px; background: linear-gradient(#fff, #fff) padding-box, var(--nacre-line) border-box; box-shadow: 0 34px 70px -28px rgba(20, 23, 52, .6), 0 10px 24px -14px rgba(20, 23, 52, .35); pointer-events: none; visibility: hidden; opacity: 0; transform-origin: var(--ox, 50%) var(--oy, 100%); transform: translate(var(--x, 0), var(--y, 0)) scale(.18); transition: opacity .2s ease, transform .42s var(--ease), visibility 0s linear .42s; }
.peek.is-on { visibility: visible; opacity: 1; transform: translate(var(--x, 0), var(--y, 0)) scale(1); transition: opacity .18s ease, transform .5s cubic-bezier(.2, 1.25, .35, 1), visibility 0s; }
.peek img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 17px; background: var(--lilac); }
.peek__cap { display: block; margin: 11px 8px 0; font: italic 500 18px/1.3 var(--serif); color: var(--ink); }
.peek__hint { display: block; margin: 4px 8px 0; font-size: 13.5px; font-weight: 600; color: var(--apricot-dk); }
@media (prefers-reduced-motion: reduce) {
  .peek, .peek.is-on { transition: opacity .15s ease, visibility 0s; transform: translate(var(--x, 0), var(--y, 0)); }
  .welcome__big.is-in .chip::after { animation: none; }
}
.welcome__cols { display: grid; gap: 34px; margin-top: clamp(34px, 5vw, 60px); }
.welcome__text { display: grid; gap: 16px; max-width: 640px; font-size: 18px; }
.welcome__text em { font-family: var(--serif); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fact { display: grid; gap: 4px; align-content: start; padding: 18px; border: 1px solid transparent; border-radius: var(--r); background: linear-gradient(#fff, #fff) padding-box, var(--nacre-line) border-box; }
.fact svg { width: 28px; height: 28px; color: var(--indigo-2); margin-bottom: 6px; }
.fact b { font: 600 18px/1.25 var(--serif); color: var(--ink); }
.fact span { font-size: 15px; color: var(--muted); line-height: 1.4; }
@media (max-width: 359px) { .facts { grid-template-columns: 1fr; } }
@media (min-width: 900px) { .welcome__cols { grid-template-columns: 1.15fr 1fr; align-items: start; gap: 60px; } }

/* ------------------------------------------------------------ camere */
.rooms-sec { padding: clamp(60px, 8vw, 110px) 0; background: var(--lilac); }
.rooms { display: grid; gap: 12px; }
.room { --flower: #5d6fd0; position: relative; overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 1px 2px rgba(28, 33, 72, .05); }
.room__h { margin: 0; font: inherit; }
.room__head { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; height: 92px; padding: 0 20px; border: 0; background: var(--ink); color: #fff; text-align: left; overflow: hidden; -webkit-tap-highlight-color: transparent; }
.room__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; transition: opacity .4s, transform .8s var(--ease); }
.room__head::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28, 33, 72, .92) 10%, rgba(28, 33, 72, .35)); }
.room__head > span { position: relative; z-index: 1; }
.room__dot { width: 14px; height: 14px; flex: none; border-radius: 50%; background: var(--flower); box-shadow: 0 0 0 3px rgba(255, 255, 255, .85); }
.room__name { font: 500 28px/1 var(--serif); letter-spacing: -.01em; }
.room__hint { display: grid; place-items: center; width: 40px; height: 40px; margin-left: auto; border-radius: 50%; background: rgba(255, 255, 255, .16); transition: transform .4s var(--ease), background-color .3s; }
.room__hint svg { width: 20px; height: 20px; }
.room__head[aria-expanded="true"] .room__hint { transform: rotate(45deg); background: var(--apricot); color: var(--ink); }
.room__head:hover .room__bg { opacity: .62; transform: scale(1.04); }
.room__body { display: grid; }
.room__pics { display: grid; gap: 6px; padding: 6px 6px 0; }
.room__main { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; }
.room__thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.room__thumbs img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; }
.room__info { display: grid; gap: 12px; align-content: start; padding: 22px 20px 24px; }
.room__kicker { font-size: 14px; font-weight: 700; color: var(--apricot-dk); letter-spacing: .02em; }
.room__title { display: flex; align-items: center; gap: 12px; font: 500 34px/1.05 var(--serif); color: var(--ink); }
.room__title::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--flower); flex: none; }
.room__info > p:not([class]) { color: var(--text); }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 4px 0 6px; }
.feats li { display: flex; align-items: flex-start; gap: 9px; font-size: 15.5px; line-height: 1.35; }
.feats svg { width: 20px; height: 20px; flex: none; color: var(--flower); margin-top: -1px; }
.room__info .btn { justify-self: start; }
@media (max-width: 380px) { .feats { grid-template-columns: 1fr; } .room__info .btn { width: 100%; } }
.js .room__body:not([hidden]) { animation: roomIn .55s var(--ease) both; }
@keyframes roomIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .room__body:not([hidden]) { animation: none; } }

/* fisarmonica orizzontale da 1100px in su */
@media (min-width: 1100px) {
  .rooms { display: flex; gap: 14px; height: 600px; }
  .room { display: flex; flex: 0 0 112px; transition: flex-grow .7s var(--ease), flex-basis .7s var(--ease); }
  .room.is-open { flex: 1 1 0; }
  .room__h { flex: 0 0 112px; display: flex; }
  .room__head { flex-direction: column; justify-content: space-between; height: 100%; width: 112px; padding: 26px 0 22px; text-align: center; }
  .room__head::after { background: linear-gradient(180deg, rgba(28, 33, 72, .55), rgba(28, 33, 72, .92)); }
  .room__name { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 34px; margin: auto 0; }
  .room__hint { margin: 0; }
  .room.is-open .room__head { cursor: default; }
  .room__body { flex: 1 1 auto; min-width: 0; grid-template-columns: 1.1fr 1fr; }
  .room__pics { grid-template-rows: 1fr auto; padding: 10px 0 10px 10px; min-height: 0; }
  .room__main { height: 100%; aspect-ratio: auto; min-height: 0; }
  .room__thumbs img { aspect-ratio: auto; height: 150px; }
  .room__info { padding: 34px 34px 30px; align-content: center; }
}

.every { display: grid; gap: 14px; margin-top: 22px; padding: 22px; border-radius: var(--r); background: rgba(255, 255, 255, .7); }
.every__t { font: 600 20px/1.2 var(--serif); color: var(--ink); }
.every__list { display: flex; flex-wrap: wrap; gap: 8px; }
.every__list li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: #fff; font-size: 15px; font-weight: 600; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.every__list svg { width: 19px; height: 19px; color: var(--indigo-2); }
@media (min-width: 900px) { .every { grid-template-columns: auto 1fr; align-items: center; gap: 24px; padding: 18px 24px; } }

/* ------------------------------------------------------------ accoglienza */
.host { padding: clamp(70px, 9vw, 130px) 0; background: radial-gradient(50% 60% at 95% 0%, rgba(140, 120, 210, .28), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(242, 164, 106, .16), transparent 70%), var(--ink); color: var(--on-ink); overflow: hidden; }
.host__grid { display: grid; gap: 56px; align-items: center; }
.host__pics { position: relative; padding-bottom: 40px; max-width: 620px; }
.host__a { width: 88%; border-radius: var(--r-lg); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 40px 80px -30px rgba(0, 0, 0, .6); }
.host__b { position: absolute; right: 0; bottom: 0; width: 46%; border-radius: 22px; border: 6px solid var(--ink); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .7); }
.host__txt { display: grid; gap: 20px; }
.host__lead { font-size: 18.5px; color: var(--on-ink); max-width: 560px; }
.host__lead strong { color: #fff; }
.host__quotes { display: grid; gap: 14px; }
.host__quotes li { display: grid; gap: 4px; padding-left: 18px; border-left: 3px solid var(--apricot); }
.host__quotes q { font: italic 400 clamp(19px, 2vw, 23px)/1.4 var(--serif); color: #fff; quotes: '«' '»'; }
.host__quotes span { font-size: 14.5px; color: var(--on-ink-2); }
.host__notes { display: grid; gap: 10px; margin-top: 6px; padding: 18px; border-radius: var(--r); background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.host__notes p { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--on-ink); }
.host__notes b { color: #fff; }
.host__notes svg { width: 22px; height: 22px; flex: none; color: var(--apricot); margin-top: 1px; }
@media (min-width: 900px) { .host__grid { grid-template-columns: 1fr 1fr; gap: 70px; } }

/* ------------------------------------------------------------ recensioni */
.rev { padding: clamp(70px, 9vw, 120px) 0; }
.rev__top { display: grid; gap: 36px; align-items: start; }
.rev__intro { display: grid; gap: 0; }
.medal { display: flex; align-items: center; gap: 20px; margin-top: 26px; }
.medal__pearl { position: relative; display: grid; place-items: center; align-content: center; width: 150px; height: 150px; flex: none; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #fff 0, #f4eefb 30%, #fbe3d2 62%, #dbe9e8 86%, #d6cfe9 100%); box-shadow: inset -10px -14px 30px rgba(120, 100, 170, .22), inset 8px 10px 18px rgba(255, 255, 255, .9), 0 24px 50px -24px rgba(28, 33, 72, .55); }
.medal__pearl b { font: 600 52px/1 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums; }
.medal__pearl span { font-size: 14px; font-weight: 700; color: var(--muted); margin-top: 2px; }
.medal__txt { font-size: 16px; color: var(--muted); }
.medal__txt strong { color: var(--ink); }
.medal__upd { display: inline-block; margin-top: 6px; font-size: 14.5px; }
@media (max-width: 400px) { .medal { flex-direction: column; align-items: flex-start; } }

.board { display: grid; gap: 10px; }
.board__row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'logo score' 'bar bar' 'meta meta'; align-items: center; gap: 8px 14px; padding: 16px 18px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.board__logo { grid-area: logo; display: flex; align-items: center; min-height: 30px; }
.board__logo img { width: auto; height: 20px; }
.board__row[data-p="google"] .board__logo img { height: 21px; }
.board__row[data-p="kayak"] .board__logo img { height: 17px; }
.board__row[data-p="stayforlong"] .board__logo img { height: 32px; margin: -6px 0; }
.board__score { grid-area: score; display: flex; align-items: baseline; gap: 2px; }
.board__score b { font: 600 26px/1 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums; }
.board__score small { font-size: 14px; color: var(--muted); font-weight: 600; }
.board__bar { grid-area: bar; position: relative; height: 8px; border-radius: 99px; background: rgba(28, 33, 72, .08); overflow: hidden; }
.board__bar i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--indigo-2), #8f7fd0 55%, var(--apricot)); transform-origin: 0 50%; transform: scaleX(var(--v, .9)); transition: transform 1.2s var(--ease) .2s; }
.js .board__row:not(.is-in) .board__bar i { transform: scaleX(0); }
.reveal-all .board__bar i { transform: scaleX(var(--v, .9)) !important; }
.board__meta { grid-area: meta; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14.5px; color: var(--muted); }
@media (min-width: 620px) {
  .board__row { grid-template-columns: 128px 84px 1fr 190px; grid-template-areas: 'logo score bar meta'; padding: 14px 20px; }
  .board__meta { justify-content: flex-end; text-align: right; }
}
@media (min-width: 1000px) { .rev__top { grid-template-columns: .85fr 1.15fr; gap: 56px; } }

.hl { display: grid; gap: 14px; margin-top: clamp(40px, 5vw, 64px); }
.hl li { display: grid; gap: 10px; align-content: space-between; padding: 24px 24px 20px; border-radius: var(--r); background: var(--nacre); }
.hl q { font: italic 400 clamp(20px, 1.9vw, 24px)/1.4 var(--serif); color: var(--ink); quotes: '«' '»'; }
.hl span { font-size: 14.5px; font-weight: 600; color: var(--muted); }
@media (min-width: 800px) { .hl { grid-template-columns: repeat(3, 1fr); } }

.rvs { margin-top: clamp(36px, 5vw, 56px); }
.rvs__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.rvs__t { font: 600 22px/1.2 var(--serif); color: var(--ink); }
.rvs__nav { display: flex; gap: 8px; }
.rvs__btn { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.4px var(--line); transition: background-color .2s, color .2s; }
.rvs__btn:hover { background: var(--ink); color: #fff; }
.rvs__btn:disabled { opacity: .35; pointer-events: none; }
.rvs__btn svg { width: 22px; height: 22px; }
.rvs__track { display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 380px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; padding: 4px 2px 16px; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: rgba(28, 33, 72, .25) transparent; }
.rvs__track:focus-visible { outline-offset: 4px; }
.rv { scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; padding: 22px; border: 1px solid transparent; border-radius: var(--r); background: linear-gradient(#fff, #fff) padding-box, var(--nacre-line) border-box; box-shadow: 0 10px 26px -20px rgba(28, 33, 72, .4); }
.rv.is-new { animation: rvIn .6s var(--ease) both; }
@keyframes rvIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.rv__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; }
.rv__logo { width: auto; height: 18px; }
.rv__logo--stayforlong { height: 28px; margin: -5px 0; }
.rv__src { font-weight: 700; font-size: 15px; color: var(--ink); }
.rv__score { display: inline-flex; align-items: baseline; gap: 1px; padding: 4px 9px; border-radius: 8px 8px 8px 2px; background: #003b95; color: #fff; font-weight: 700; font-size: 15px; }
.rv__score small { font-size: 12px; opacity: .85; }
.rv__text { flex: 1; }
.rv__text p { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; font-size: 16.5px; line-height: 1.6; color: var(--text); }
.rv.is-open .rv__text p { -webkit-line-clamp: unset; display: block; }
.rv__more { justify-self: start; align-self: flex-start; padding: 2px 0; border: 0; background: none; color: var(--indigo); font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.rv__by { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.rv__name { font-weight: 700; color: var(--ink); }
.rv__lang { padding: 2px 8px; border-radius: 99px; background: var(--lilac); font-size: 13px; }
.rev__note { margin-top: 18px; font-size: 14.5px; color: var(--muted); max-width: 760px; }

/* ------------------------------------------------------------ servizi */
.serv { padding: clamp(70px, 9vw, 120px) 0; background: var(--peach); }
.serv__grid { display: grid; gap: 34px; align-items: start; }
.serv__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.serv__pics img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.serv__pics img:last-child { margin-top: 28px; }
.menu { display: grid; gap: 0; padding: 10px 26px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); }
.menu__col { padding: 20px 0 22px; }
.menu__col + .menu__col { border-top: 1.5px dashed rgba(28, 33, 72, .18); }
.menu__t { font: italic 500 24px/1.2 var(--serif); color: var(--ink); margin-bottom: 12px; }
.menu ul { display: grid; gap: 4px; }
.menu li { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 16.5px; }
.menu li svg { width: 36px; height: 36px; flex: none; padding: 8px; border-radius: 50%; background: var(--lilac); color: var(--indigo-2); }
@media (min-width: 700px) {
  .menu { grid-template-columns: 1fr 1fr; padding: 14px 34px; gap: 34px; }
  .menu__col + .menu__col { border-top: 0; border-left: 1.5px dashed rgba(28, 33, 72, .18); padding-left: 34px; }
}
@media (min-width: 1000px) { .serv__grid { grid-template-columns: .8fr 1.2fr; gap: 56px; } }

/* ------------------------------------------------------------ dintorni */
.near { padding: clamp(70px, 9vw, 120px) 0; }
.orbit { display: grid; gap: 30px; align-items: start; }
.orbit__map { position: relative; width: min(100%, 300px); aspect-ratio: 1; margin-inline: auto; }
.ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1.5px dashed rgba(28, 33, 72, .26); transform: translate(-50%, -50%); transition: border-color .35s, background-color .35s, box-shadow .35s; }
.ring--1 { width: 34%; height: 34%; }
.ring--2 { width: 56%; height: 56%; }
.ring--3 { width: 78%; height: 78%; }
.ring--4 { width: 100%; height: 100%; }
.ring i { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); padding: 3px 10px; border-radius: 99px; background: var(--pearl); color: var(--ink); font: 700 13.5px/1.2 var(--sans); font-style: normal; box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; transition: background-color .3s, color .3s; }
.orbit__core { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #f2ecf9 55%, #f6dcc8); box-shadow: 0 12px 30px -12px rgba(28, 33, 72, .5); }
.orbit__core img { width: 62%; height: auto; }
.orbit[data-active="1"] .ring--1, .orbit[data-active="2"] .ring--2, .orbit[data-active="3"] .ring--3, .orbit[data-active="4"] .ring--4 { border-style: solid; border-color: var(--apricot); background: rgba(242, 164, 106, .08); box-shadow: 0 0 0 6px rgba(242, 164, 106, .12); }
.orbit[data-active="1"] .ring--1 i, .orbit[data-active="2"] .ring--2 i, .orbit[data-active="3"] .ring--3 i, .orbit[data-active="4"] .ring--4 i { background: var(--apricot); }
.orbit__list { display: grid; gap: 12px; }
.zone { padding: 18px 20px; border-radius: var(--r); background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s, transform .3s var(--ease); }
.zone.is-active { box-shadow: inset 0 0 0 1.6px var(--apricot), 0 14px 30px -20px rgba(28, 33, 72, .45); }
.zone__t { display: flex; align-items: center; gap: 12px; font: 600 21px/1.2 var(--serif); color: var(--ink); margin-bottom: 8px; }
.zone__n { display: inline-grid; place-items: center; min-width: 50px; height: 30px; padding: 0 9px; border-radius: 99px; background: var(--ink); color: #fff; font: 700 14px/1 var(--sans); }
.zone li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 16px; }
.zone li:first-child { border-top: 0; }
.zone li b { flex: none; font-weight: 700; color: var(--apricot-dk); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (min-width: 900px) {
  .orbit { grid-template-columns: 1fr 1.25fr; gap: 56px; }
  .orbit__map { position: sticky; top: calc(var(--hdr) + 40px); width: 100%; max-width: 470px; }
  .orbit__list { grid-template-columns: 1fr 1fr; }
}
.cards { display: grid; gap: 16px; margin-top: clamp(40px, 6vw, 70px); }
.card { overflow: hidden; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover img { transform: scale(1.04); }
.card__b { padding: 16px 18px 20px; display: grid; gap: 6px; }
.card__b h3 { font: 600 21px/1.2 var(--serif); color: var(--ink); }
.card__b p { font-size: 15.5px; color: var(--muted); line-height: 1.5; }
@media (min-width: 600px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, 1fr); } }

/* ------------------------------------------------------------ galleria a righe giustificate */
.gal { padding: clamp(70px, 9vw, 120px) 0; background: #fff; }
.just { --rh: 100px; display: flex; flex-wrap: wrap; gap: 6px; }
.just::after { content: ''; flex-grow: 999; }
.just li { flex-grow: calc(var(--ar) * 100); flex-basis: calc(var(--ar) * var(--rh)); aspect-ratio: var(--ar); max-width: 100%; }
.just button { display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--lilac); cursor: zoom-in; }
.just img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.just button:hover img { transform: scale(1.05); }
@media (min-width: 700px) { .just { --rh: 200px; gap: 10px; } }
@media (min-width: 1100px) { .just { --rh: 240px; } }

/* ------------------------------------------------------------ dove siamo */
.where { padding: clamp(70px, 9vw, 120px) 0; background: var(--lilac); }
.where__grid { display: grid; gap: 34px; align-items: center; }
.where__map { position: relative; overflow: hidden; aspect-ratio: 4 / 3.2; border-radius: var(--r-lg); background: var(--ink); box-shadow: var(--shadow); }
.map__ph img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.map__ph { position: absolute; inset: 0; }
.map__over { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px; padding: 20px; text-align: center; background: radial-gradient(circle at center, rgba(28, 33, 72, .1), rgba(28, 33, 72, .55)); }
.map__pin { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #f2ecf9 55%, #f6dcc8); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .5); }
.map__fine { font-size: 14px; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.where__map.is-live iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.where__txt { display: grid; gap: 18px; }
.addr { font-size: 18px; line-height: 1.55; }
.addr strong { font-family: var(--serif); font-weight: 600; font-size: 20px; color: var(--ink); }
.where__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.how { display: grid; gap: 12px; margin-top: 4px; }
.how li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; }
.how li > span { display: grid; gap: 2px; }
.how b { color: var(--ink); }
.how svg { width: 40px; height: 40px; flex: none; padding: 9px; border-radius: 50%; background: #fff; color: var(--indigo-2); }
@media (min-width: 900px) { .where__grid { grid-template-columns: 1.1fr 1fr; gap: 60px; } }
@media (max-width: 420px) { .where__btns .btn { width: 100%; } }

.info { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: clamp(40px, 5vw, 60px); }
.info > div { padding: 16px 16px 18px; border-radius: 18px; background: #fff; }
.info dt { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); font-size: 15.5px; }
.info dt svg { width: 20px; height: 20px; color: var(--apricot-dk); flex: none; }
.info dd { margin-top: 4px; font-size: 15.5px; color: var(--muted); overflow-wrap: anywhere; }
@media (max-width: 339px) { .info { grid-template-columns: 1fr; } }
@media (min-width: 900px) { .info { grid-template-columns: repeat(4, 1fr); } }

/* ------------------------------------------------------------ prenota */
.book { padding: clamp(60px, 8vw, 110px) 0; }
.book__panel { position: relative; display: grid; justify-items: center; gap: 14px; padding: clamp(36px, 6vw, 76px) clamp(20px, 5vw, 70px); border-radius: 40px; background: var(--nacre); text-align: center; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), var(--shadow); }
.book__panel::before { content: ''; position: absolute; width: 420px; height: 420px; right: -140px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .9), transparent 65%); pointer-events: none; }
.book__mark { position: relative; width: 64px; height: 64px; }
.book__title { position: relative; font: 500 clamp(32px, 5vw, 60px)/1.08 var(--serif); color: var(--ink); max-width: 820px; text-wrap: balance; }
.book__title em { font-style: italic; color: var(--indigo-2); }
.book__lead { position: relative; max-width: 620px; color: var(--text); font-size: 18px; }
.book__btns { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
@media (max-width: 520px) { .book__btns .btn { width: 100%; } }

/* ------------------------------------------------------------ piè di pagina */
.foot { padding: 60px 0 calc(40px + var(--safe-b)); background: var(--ink); color: var(--on-ink-2); font-size: 15.5px; }
.foot__grid { display: grid; gap: 34px; }
.foot__brand { display: grid; gap: 10px; justify-items: start; }
.foot__name { font: 600 22px/1.2 var(--serif); color: #fff; }
.foot a { color: #fff; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 6px 18px; align-content: start; }
.foot__nav a { padding: 6px 0; text-decoration: none; font-weight: 600; }
.foot__nav a:hover { text-decoration: underline; }
.foot__legal { display: grid; gap: 10px; }
.foot__credits { font-size: 14px; line-height: 1.55; }
@media (min-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr 1.4fr; gap: 50px; } .foot__nav { flex-direction: column; } }

/* ------------------------------------------------------------ finestra prenotazione */
.field { display: grid; gap: 6px; position: relative; min-width: 0; }
.field > span { font-weight: 700; font-size: 15px; color: var(--ink); }
.field input, .field select { width: 100%; min-height: 52px; padding: 8px 14px; border: 0; border-radius: 14px; background: #fff; color: var(--ink); font: 600 16.5px/1.2 var(--sans); box-shadow: inset 0 0 0 1.5px rgba(28, 33, 72, .2); -webkit-appearance: none; appearance: none; }
.field input:focus, .field select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--indigo-2), 0 0 0 4px rgba(242, 164, 106, .45); }
.field--sel::after { top: auto; bottom: 22px; margin-top: 0; }
.field--sel select { padding-right: 40px; }
.sheet { width: min(520px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0; border: 0; border-radius: 28px; background: var(--pearl); color: var(--text); 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(20, 23, 52, .58); }
.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(--lilac); color: var(--ink); }
.sheet__x svg { width: 20px; height: 20px; }
.sheet__title { margin-top: 8px; font: 500 30px/1.15 var(--serif); color: var(--ink); padding-right: 48px; }
.sheet__form { display: grid; gap: 14px; margin-top: 20px; }
.sheet__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.sheet__form > * { min-width: 0; }
.field input { min-width: 0; }
.field input::-webkit-date-and-time-value { text-align: left; }
@media (max-width: 359px) { .sheet__row { grid-template-columns: minmax(0, 1fr); } }
.sheet__sum { padding: 12px 14px; border-radius: 14px; background: var(--lilac); font-size: 15.5px; color: var(--ink); }
.sheet__sum.is-err { background: #fbe4dc; color: #8e2e14; font-weight: 700; }
.sheet__direct { display: grid; gap: 10px; padding: 16px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.sheet__lbl { font-weight: 700; font-size: 15px; color: var(--ink); }
.sheet__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.sheet__btns .btn { flex: 1 1 150px; }
.sheet__fine { font-size: 14px; color: var(--muted); text-align: center; }

/* schermo intero */
.lb { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(14, 16, 38, .97); color: #fff; }
.lb::backdrop { background: rgba(14, 16, 38, .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: 10px; }
.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; }
@media (max-width: 600px) {
  .lb__fig { padding: 70px 10px calc(90px + var(--safe-b)); }
  .lb__btn--prev, .lb__btn--next { top: auto; bottom: calc(18px + var(--safe-b)); margin-top: 0; }
  .lb__btn--prev { left: calc(50% - 62px); }
  .lb__btn--next { right: calc(50% - 62px); }
}

@media (hover: none) {
  .chip:hover, .chip:hover img, .card:hover img, .just button:hover img, .pcard:hover .pcard__photo img, .room__head:hover .room__bg { transform: none; }
}
