/* =====================================================================
   B&B Al Roncaccio · foglio di stile
   Identità: verde muschio del giardino, terracotta delle pareti del salone,
   avena e lino della casa. Forma firma: la «foglia» (due angoli molto
   arrotondati e due quasi vivi) su foto, mappa e card.
   ===================================================================== */

/* ------------------------------------------------------------- font */
/* Fraunces (titoli, morbido e leggibile) e Figtree (testi): self-hosted */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/fraunces-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: 'Fraunces'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/fraunces-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: 'Fraunces'; font-style: italic; font-weight: 300 700; font-display: swap; src: url(../fonts/fraunces-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: 'Fraunces'; font-style: italic; font-weight: 300 700; font-display: swap; src: url(../fonts/fraunces-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: 'Figtree'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/figtree-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: 'Figtree'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/figtree-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ------------------------------------------------------------- token */
:root {
  --oat: #f3eee3;
  --sand: #e8e0cd;
  --paper: #fcfaf5;
  --moss: #2b3a27;
  --moss-2: #1e291b;
  --moss-3: #3c4f36;
  --sage: #d6dcc4;
  --sage-d: #556a4a;
  --terra: #9a4527;
  --terra-d: #7c3519;
  --terra-l: #e0a27f;
  --ochre: #e0b05a;
  --ink: #1b2017;
  --ink-2: #3a4234;
  --ink-3: #59614f;
  --cream: #f6f1e6;
  --line: rgba(27, 32, 23, .13);
  --line-2: rgba(27, 32, 23, .24);
  --line-m: rgba(246, 241, 230, .2);
  --booking: #003b95;
  --trip: #1859c7;
  --google-star: #f4b400;
  --ta: #00aa6c;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --wrap: 1280px;
  --gut: clamp(16px, 4vw, 44px);
  --hdr: 78px;
  --sec: clamp(72px, 9.5vw, 136px);
  --r: 12px;
  --r-lg: 20px;
  --leaf-big: clamp(34px, 6vw, 88px);
  --leaf: var(--leaf-big) 12px;
  --leaf-sm: 30px 8px;
  --shadow-soft: 0 1px 2px rgba(30, 41, 27, .06), 0 22px 44px -26px rgba(30, 41, 27, .34);
  --shadow-lift: 0 2px 6px rgba(30, 41, 27, .07), 0 36px 64px -30px rgba(30, 41, 27, .44);
}
@media (max-width: 759px) { :root { --hdr: 64px; } }

/* ------------------------------------------------------------- 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); }
body {
  margin: 0;
  background: var(--oat);
  color: var(--ink);
  font: 400 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
q { quotes: '«' '»'; }
[hidden] { display: none !important; }
::selection { background: var(--terra-l); color: var(--ink); }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--moss); color: var(--cream); padding: 10px 16px; border-radius: 10px; font-size: 14px; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ------------------------------------------------------------- tipografia */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 12.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--terra-d);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 11px; height: 11px; border-radius: 11px 0; background: currentColor; flex: none; }
.eyebrow--light { color: var(--ochre); }

.h2 {
  font: 400 clamp(34px, 4.7vw, 62px)/1.06 var(--serif);
  letter-spacing: -.015em;
  text-wrap: balance;
}
.h2 em, .hero__title em, .cta__title em { font-style: italic; font-weight: 400; color: var(--terra); }
.h2--light { color: var(--cream); }
.h2--light em { color: var(--terra-l); }
.prose { color: var(--ink-2); max-width: 56ch; }
.prose p + p { margin-top: 1em; }
.prose--light { color: rgba(246, 241, 230, .9); }

/* ------------------------------------------------------------- pulsanti */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px;
  border-radius: var(--r);
  font: 600 15.5px/1 var(--sans); letter-spacing: .01em;
  white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg[aria-hidden]:last-child:not(:first-child) { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--terra { background: var(--terra); color: var(--paper); box-shadow: 0 10px 22px -14px rgba(124, 53, 25, .8); }
.btn--terra:hover { background: var(--terra-d); }
.btn--moss { background: var(--moss); color: var(--cream); }
.btn--moss:hover { background: var(--moss-3); }
.btn--glass { background: rgba(252, 250, 245, .14); color: var(--paper); border: 1px solid rgba(252, 250, 245, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(252, 250, 245, .24); border-color: var(--paper); }
.btn--line-light { border: 1px solid rgba(246, 241, 230, .4); color: var(--cream); }
.btn--line-light:hover { border-color: var(--terra-l); color: var(--terra-l); }

/* ------------------------------------------------------------- logo */
.logo { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); min-width: 0; }
.logo__mark { width: 34px; height: 34px; color: var(--terra); flex: none; }
.logo__txt { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.logo__name { font: 600 22px/1 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.logo__sub { font: 600 11.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; white-space: nowrap; }

/* ------------------------------------------------------------- header */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--hdr);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.hdr.is-stuck {
  background: rgba(243, 238, 227, .9);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.hdr__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav { display: flex; gap: clamp(16px, 2.2vw, 34px); }
.nav a { position: relative; font: 500 15.5px/1 var(--sans); color: var(--ink-2); padding: 8px 0; transition: color .3s var(--ease); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 2px; border-radius: 2px; background: var(--terra); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.hdr__act { display: flex; align-items: center; gap: 14px; flex: none; }
.hdr__tel { display: inline-flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.hdr__tel svg { width: 16px; height: 16px; color: var(--terra); }
.burger { display: none; width: 44px; height: 44px; border-radius: var(--r); border: 1px solid var(--line-2); align-items: center; justify-content: center; background: rgba(252, 250, 245, .6); }
.burger__bars, .burger__bars::before { display: block; width: 18px; height: 1.6px; border-radius: 2px; background: var(--ink); position: relative; transition: transform .35s var(--ease); }
.burger__bars { transform: translateY(-3.5px); }
.burger__bars::before { content: ""; position: absolute; top: 7px; }
.burger[aria-expanded="true"] .burger__bars { transform: translateY(0) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::before { transform: translateY(-7px) rotate(-90deg); }
.menu {
  position: absolute; top: var(--hdr); left: 0; right: 0;
  max-height: calc(100vh - var(--hdr)); max-height: calc(100dvh - var(--hdr)); overflow-y: auto;
  background: var(--oat); box-shadow: 0 1px 0 var(--line), 0 30px 40px -30px rgba(30, 41, 27, .3);
  padding: 6px 0 22px;
}
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a { font: 400 25px/1.2 var(--serif); padding: 12px 0; border-bottom: 1px solid var(--line); }
.menu__nav a:last-child { border-bottom: 0; }
.menu__nav .menu__tel { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; padding: 14px 0 4px; border-bottom: 0; font: 600 17px/1 var(--sans); color: var(--terra-d); }
.menu__tel svg { width: 18px; height: 18px; }

@media (max-width: 1079px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
}
@media (max-width: 759px) {
  .hdr__tel { display: none; }
  .logo__name { font-size: 19.5px; }
  .logo__sub { font-size: 10.5px; letter-spacing: .06em; }
  .logo__mark { width: 30px; height: 30px; }
  .hdr .btn--sm { --h: 40px; padding: 0 15px; }
}
@media (max-width: 379px) { .hdr .btn--sm { display: none; } }

/* ------------------------------------------------------------- hero */
.hero { position: relative; padding: calc(var(--hdr) + 6px) 0 clamp(48px, 6vw, 84px); }
.hero__stage { position: relative; }
.hero__frame {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: clamp(560px, calc(100vh - var(--hdr) - 40px), 860px);
  min-height: clamp(560px, calc(100svh - var(--hdr) - 40px), 860px);
  border-radius: var(--leaf);
  background: var(--moss);
  color: var(--paper);
  box-shadow: var(--shadow-soft);
}
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 38% 52%; }
.hero__frame::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(18, 25, 15, .28) 0%, rgba(18, 25, 15, 0) 24%),
    linear-gradient(180deg, rgba(18, 25, 15, 0) 36%, rgba(18, 25, 15, .55) 64%, rgba(18, 25, 15, .86) 100%),
    linear-gradient(90deg, rgba(18, 25, 15, .5) 0%, rgba(18, 25, 15, 0) 62%);
}
.hero__copy { position: relative; padding: clamp(28px, 4.4vw, 64px); max-width: min(680px, calc(100% - 430px)); }
.hero__title {
  font: 400 clamp(48px, 7vw, 108px)/.98 var(--serif);
  letter-spacing: -.025em;
  margin-bottom: 22px;
  text-shadow: 0 2px 30px rgba(18, 25, 15, .35);
}
.hero__title em { color: var(--terra-l); padding-right: .04em; }
.hero__lead { font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.6; color: rgba(252, 250, 245, .94); max-width: 46ch; margin-bottom: 30px; text-shadow: 0 1px 16px rgba(18, 25, 15, .4); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------------- preview card premium */
.pcard {
  position: absolute; right: clamp(20px, 2.4vw, 32px); bottom: clamp(20px, 2.4vw, 32px); z-index: 2;
  width: 396px;
  display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px;
  padding: 12px 18px 14px 12px;
  background: rgba(252, 250, 245, .93);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(252, 250, 245, .7);
  border-radius: var(--r-lg);
  color: var(--ink);
  box-shadow: var(--shadow-lift);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), opacity .9s var(--ease-out);
}
.pcard:hover { transform: translateY(-4px); }
.pcard__media { border-radius: var(--leaf-sm); overflow: hidden; height: 100%; min-height: 132px; background: var(--sage); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 88%; transform: scale(1.05); transition: transform 1.2s var(--ease-out); }
.pcard .stars { width: 60px; height: 11px; -webkit-mask-size: 12px 11px; mask-size: 12px 11px; }
.pcard:hover .pcard__media img { transform: scale(1.12); }
.pcard__body { min-width: 0; padding-top: 3px; }
.pcard__kicker { font: 700 11.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--terra-d); margin-bottom: 7px; }
.pcard__name { font: 600 20px/1.15 var(--serif); letter-spacing: -.01em; margin-bottom: 5px; }
.pcard__place { display: flex; align-items: center; gap: 5px; font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.pcard__place svg { width: 13px; height: 13px; color: var(--terra); flex: none; }
.pcard__rep { border-top: 1px solid var(--line); margin-bottom: 8px; }
.prep { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); min-height: 42px; }
.prep__logo { width: auto; flex: none; }
.prep__logo--booking { height: 15px; }
.prep__logo--google { height: 17px; margin-top: 2px; }
.prep__row { display: inline-flex; align-items: center; gap: 7px; }
.prep__num { font: 700 15px/1 var(--sans); font-variant-numeric: tabular-nums; }
.prep__meta { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.pcard__cta { display: inline-flex; align-items: center; gap: 8px; font: 700 13.5px/1 var(--sans); color: var(--terra-d); padding: 6px 0; }
.pcard__cta svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.pcard__cta:hover svg { transform: translateX(4px); }

/* entrata della card (solo con JS attivo) */
.js .pcard { opacity: 0; transform: translateY(24px); }
.js .pcard .pc-in { opacity: 0; transform: translateY(10px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--i) * 85ms + 180ms); }
.js .pcard.is-in { opacity: 1; transform: none; }
.js .pcard.is-in:hover { transform: translateY(-4px); }
.js .pcard.is-in .pc-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------- indicatori dei portali (comuni) */
.badge {
  display: inline-grid; place-items: center; min-width: 32px; height: 27px; padding: 0 6px;
  color: #fff; border-radius: 7px 7px 7px 0;
  font: 700 14px/1 var(--sans); font-variant-numeric: tabular-nums;
}
.badge--booking { background: var(--booking); }
.badge--trip { background: var(--trip); border-radius: 7px; }
.badge--lg { min-width: 48px; height: 40px; font-size: 20px; border-radius: 10px 10px 10px 0; }
.badge--trip.badge--lg { border-radius: 10px; }
.badge--sm { min-width: 30px; height: 25px; font-size: 13px; }
.stars, .bubbles {
  --r: .9;
  flex: none;
  width: 70px; height: 13px;
  -webkit-mask-size: 14px 13px; mask-size: 14px 13px;
  -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x;
}
.stars {
  background: linear-gradient(90deg, var(--google-star) calc(var(--r) * 100%), #d6d0c2 0);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 13'%3E%3Cpath d='M6.5.6l1.75 3.7 4.05.5-2.98 2.8.77 4L6.5 9.6 2.9 11.6l.77-4L.7 4.8l4.05-.5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 13'%3E%3Cpath d='M6.5.6l1.75 3.7 4.05.5-2.98 2.8.77 4L6.5 9.6 2.9 11.6l.77-4L.7 4.8l4.05-.5z'/%3E%3C/svg%3E");
}
.bubbles {
  background: linear-gradient(90deg, var(--ta) calc(var(--r) * 100%), #cfd8cf 0);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 13'%3E%3Ccircle cx='6.5' cy='6.5' r='5.6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 13'%3E%3Ccircle cx='6.5' cy='6.5' r='5.6'/%3E%3C/svg%3E");
}
.stars--lg, .bubbles--lg { width: 100px; height: 18px; -webkit-mask-size: 20px 18px; mask-size: 20px 18px; }

/* ------------------------------------------------------------- verifica disponibilità */
.stay {
  position: relative;
  margin-top: 18px;
  display: grid; grid-template-columns: 1fr 1fr .8fr auto; align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 8px;
  box-shadow: var(--shadow-soft);
}
.stay__f { display: flex; flex-direction: column; gap: 5px; padding: 10px 22px; min-width: 0; overflow: hidden; border-right: 1px solid var(--line); cursor: pointer; border-radius: 12px; }
.stay__f:nth-child(3) { border-right: 0; }
.stay__l { font: 700 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--terra-d); }
.stay input, .stay select, .field input, .field select {
  width: 100%; min-width: 0; border: 0; background: transparent; padding: 2px 0;
  font: 500 16px/1.4 var(--sans); color: var(--ink);
  -webkit-appearance: none; appearance: none; border-radius: 0;
}
.stay input:focus, .stay select:focus { outline: none; }
.stay__f:focus-within { background: var(--oat); }
.stay select, .field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5l3-3' fill='none' stroke='%237c3519' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") right center / 12px no-repeat; padding-right: 18px; cursor: pointer; }
.stay input::-webkit-calendar-picker-indicator { opacity: .6; cursor: pointer; }
.stay__go { --h: 58px; padding: 0 32px; }
.stay__msg { position: absolute; left: 30px; top: calc(100% + 10px); font-size: 14px; color: #9a2f1c; }

/* ------------------------------------------------------------- sezioni */
.sec { padding: var(--sec) 0; }
.sec--sand { background: var(--sand); }
.sec--moss { background: var(--moss); color: var(--cream); }
.sec__head { margin-bottom: clamp(36px, 5vw, 64px); }
.sec__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.sec__note { font-size: 16px; color: var(--ink-2); max-width: 44ch; }
.paid { display: inline-grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; border: 1px solid var(--terra); color: var(--terra-d); font-size: 11px; font-weight: 700; line-height: 1; vertical-align: 1px; margin-left: 2px; }
.leaf { position: relative; overflow: hidden; border-radius: var(--leaf); background: var(--sage); isolation: isolate; }
.leaf img { width: 100%; height: 100%; object-fit: cover; }

/* la casa */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.intro__copy .h2 { margin-bottom: 28px; }
.intro__media { position: relative; padding: 0 0 16% 9%; }
.intro__a { aspect-ratio: 4 / 4.4; }
.intro__a img { object-position: 52% 50%; }
.intro__b {
  position: absolute; left: 0; bottom: 0; width: 46%;
  aspect-ratio: 4 / 3; border-radius: var(--leaf-sm); overflow: hidden;
  border: 7px solid var(--oat); box-shadow: var(--shadow-soft); background: var(--sage);
}
.intro__b img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.facts > div { padding: 20px 18px 18px; background: var(--paper); border-radius: 16px 4px 16px 4px; border: 1px solid var(--line); }
.facts dt { font: 400 clamp(28px, 3vw, 40px)/1 var(--serif); letter-spacing: -.01em; margin-bottom: 10px; color: var(--moss); white-space: nowrap; }
.facts dd { font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }

/* camere */
.rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 36px); }
.room__img { aspect-ratio: 4 / 4.6; overflow: hidden; border-radius: var(--leaf-sm); background: var(--sage); margin-bottom: 20px; }
.room:nth-child(2) .room__img { border-radius: 8px 30px; }
.room__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.room:hover .room__img img { transform: scale(1.05); }
.room figcaption { display: grid; gap: 6px; }
.room__n { font: italic 400 17px/1 var(--serif); color: var(--terra); }
.room__t { font: 400 clamp(24px, 2.2vw, 30px)/1.12 var(--serif); }
.room__d { color: var(--ink-2); font-size: 16px; max-width: 36ch; }
.inroom { margin-top: clamp(48px, 6vw, 80px); padding: clamp(24px, 3vw, 36px); background: var(--paper); border-radius: var(--r-lg); display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: start; }
.inroom__title { font: 400 27px/1.15 var(--serif); }
.inroom__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px 28px; }
.inroom__list li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.inroom__list svg { width: 24px; height: 24px; color: var(--sage-d); flex: none; }

/* colazione */
.brk { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.brk__media { position: relative; padding: 0 12% 12% 0; }
.brk__a { aspect-ratio: 4 / 3.6; border-radius: 12px var(--leaf-big); }
.brk__a img { object-position: 60% 50%; }
.brk__b { position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 4 / 3; border-radius: var(--leaf-sm); overflow: hidden; border: 7px solid var(--moss); background: var(--moss-3); }
.brk__b img { width: 100%; height: 100%; object-fit: cover; }
.brk__copy .h2 { margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 32px; }
.chips li { font-size: 14.5px; font-weight: 600; padding: 7px 14px; border-radius: 8px; }
.chips--light li { background: rgba(246, 241, 230, .1); border: 1px solid var(--line-m); color: var(--cream); }
.brk__quote { position: relative; padding: 22px 0 0 0; border-top: 1px solid var(--line-m); }
.brk__quote svg { width: 26px; height: 26px; color: var(--terra-l); margin-bottom: 8px; }
.brk__quote blockquote { font: italic 400 clamp(22px, 2.2vw, 28px)/1.3 var(--serif); color: var(--cream); margin-bottom: 10px; }
.brk__quote figcaption { font-size: 14.5px; color: rgba(246, 241, 230, .78); }

/* servizi */
.svc { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.svc li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; font-size: 16px; line-height: 1.35; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.svc__ico { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 14px 4px; background: var(--sage); color: var(--moss); }
.svc__ico svg { width: 24px; height: 24px; }
.svc li:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }

/* recensioni */
.live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2e9a5a; box-shadow: 0 0 0 4px rgba(46, 154, 90, .16); margin-right: 9px; vertical-align: 1px; }
.scores { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.score { display: flex; flex-direction: column; gap: 14px; padding: 22px 22px 20px; background: var(--paper); border-radius: var(--r-lg); border: 1px solid var(--line); min-width: 0; }
.score__logo { width: auto; height: 20px; align-self: flex-start; }
.score__logo--google { height: 22px; }
.score__logo--ta { height: 21px; }
.score__val { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; min-height: 40px; }
.score__num { font: 500 40px/1 var(--serif); letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }
.score__of { font-size: 15px; color: var(--ink-3); }
.score__meta { font-size: 14.5px; color: var(--ink-2); padding-top: 12px; border-top: 1px solid var(--line); }

.hl { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px 24px; padding: 16px 22px; border-radius: var(--r-lg); background: rgba(252, 250, 245, .55); border: 1px dashed var(--line-2); margin-bottom: clamp(28px, 4vw, 44px); }
.hl__lbl { font: 700 12px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--sage-d); max-width: 16ch; }
.hl__list { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hl__list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font: italic 400 17px/1.35 var(--serif); }
.hl__list li span { font: 500 13.5px/1 var(--sans); font-style: normal; color: var(--ink-3); }

.rvs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.rv { display: flex; flex-direction: column; gap: 16px; padding: 24px 24px 20px; background: var(--paper); border-radius: 22px 6px 22px 6px; border: 1px solid var(--line); min-width: 0; }
.rv:first-child { grid-row: span 2; align-self: stretch; background: var(--moss); color: var(--cream); border-color: var(--moss); }
.rv__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 26px; }
.rv__logo { width: auto; height: 18px; flex: none; }
.rv__logo--google { height: 19px; }
.rv:first-child .rv__logo { background: var(--paper); padding: 6px 8px; border-radius: 8px; box-sizing: content-box; height: 17px; }
.rv__verified { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--sage-d); }
.rv:first-child .rv__verified { color: var(--sage); }
.rv__verified svg { width: 14px; height: 14px; }
.rv__score { display: inline-flex; align-items: baseline; gap: 2px; padding: 5px 9px; border-radius: 8px; background: var(--trip); color: #fff; font: 700 15px/1 var(--sans); }
.rv__score small { font-size: 11.5px; font-weight: 600; opacity: .85; }
.rv__text { font-size: 16.5px; line-height: 1.6; color: var(--ink); }
.rv:first-child .rv__text { font: 400 clamp(20px, 1.9vw, 25px)/1.42 var(--serif); color: var(--cream); }
.rv:first-child .rv__text::before { content: "“"; display: block; height: .42em; font: 400 110px/1 var(--serif); color: var(--terra-l); margin: 10px 0 4px -4px; }
@media (max-width: 759px) { .rv:first-child .rv__text::before { font-size: 72px; margin-top: 6px; } }
.rv__text p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; overflow: hidden; }
.rv:first-child .rv__text p { -webkit-line-clamp: 12; }
.rv.is-open .rv__text p { -webkit-line-clamp: unset; display: block; }
.rv__more { align-self: flex-start; font-size: 14px; font-weight: 700; color: var(--terra-d); border-bottom: 1px solid currentColor; padding: 2px 0; margin-top: -6px; }
.rv:first-child .rv__more { color: var(--terra-l); }
.rv__by { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14px; color: var(--ink-3); margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.rv:first-child .rv__by { color: rgba(246, 241, 230, .78); border-color: var(--line-m); }
.rv__name { font-weight: 700; color: var(--ink); }
.rv:first-child .rv__name { color: var(--cream); }
.rv__date::before, .rv__lang::before { content: "·"; margin-right: 10px; }
.rv__lang { font-style: italic; }

/* galleria */
.gal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(140px, 14.5vw, 205px); gap: clamp(10px, 1.2vw, 16px); grid-auto-flow: dense; }
.gal__i { min-width: 0; }
.gal__i--a { grid-column: span 2; grid-row: span 2; }
.gal__i--t { grid-row: span 2; }
.gal__i--w { grid-column: span 2; }
.gal a { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: var(--r); background: var(--sage); }
.gal__i--a a { border-radius: var(--leaf); }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.gal a:hover img { transform: scale(1.05); }
.gal__ico { position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; padding: 10px; border-radius: 10px; background: rgba(252, 250, 245, .9); color: var(--ink); opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.gal a:hover .gal__ico, .gal a:focus-visible .gal__ico { opacity: 1; transform: none; }

/* dove siamo */
.where { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.where__copy .h2 { margin-bottom: 28px; }
.where__addr { display: flex; gap: 12px; font-size: 17px; font-weight: 500; margin-bottom: 26px; }
.where__addr svg { width: 20px; height: 20px; color: var(--terra); flex: none; margin-top: 3px; }
.dist { border-top: 1px solid var(--line-2); margin-bottom: 18px; }
.dist li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.dist li span:last-child { color: var(--terra-d); font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.where__note { font-size: 15px; color: var(--ink-2); margin-bottom: 26px; max-width: 54ch; }
.map { position: relative; aspect-ratio: 4 / 4.6; border-radius: var(--leaf); overflow: hidden; background: var(--sage); color: rgba(43, 58, 39, .22); box-shadow: var(--shadow-soft); }
.map__ph { position: absolute; inset: 0; width: 100%; height: 100%; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__load {
  position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 22px 30px 20px; border-radius: var(--r-lg);
  background: rgba(252, 250, 245, .95); box-shadow: var(--shadow-soft);
  color: var(--ink); font: 700 15.5px/1.2 var(--sans); white-space: nowrap;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.map__load svg { width: 46px; height: 46px; padding: 12px; border-radius: 16px 4px; background: var(--terra); color: var(--paper); margin-bottom: 6px; }
.map__load:hover { transform: translate(-50%, calc(-50% - 4px)); box-shadow: var(--shadow-lift); }
.map__load small { font: 500 13.5px/1 var(--sans); color: var(--ink-3); }

/* info */
.rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 30px; }
.rules > div { padding: 20px 0 24px; border-top: 2px solid var(--sage); }
.rules dt { font: 400 23px/1.1 var(--serif); color: var(--moss); margin-bottom: 8px; }
.rules dd { font-size: 16px; line-height: 1.5; color: var(--ink-2); max-width: 30ch; }

/* cta */
.cta { padding: 0 0 var(--sec); }
.cta__card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); overflow: hidden; border-radius: var(--leaf); background: var(--moss); color: var(--cream); box-shadow: var(--shadow-soft); }
.cta__media { position: relative; min-height: 340px; background: var(--moss-3); }
.cta__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.cta__body { padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; align-items: flex-start; }
.cta__mark { width: 42px; height: 42px; color: var(--terra-l); margin-bottom: 22px; }
.cta__title { font: 400 clamp(36px, 4.8vw, 64px)/1.04 var(--serif); letter-spacing: -.015em; margin-bottom: 18px; }
.cta__title em { color: var(--terra-l); }
.cta__txt { color: rgba(246, 241, 230, .9); font-size: 17.5px; max-width: 44ch; margin-bottom: 28px; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.cta__rep { display: flex; flex-wrap: wrap; gap: 8px; }
.cta__rep li { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; background: var(--paper); color: var(--ink); border-radius: 10px; }
.cta__rep img { height: 15px; width: auto; }
.cta__rep strong { font: 700 15px/1 var(--sans); font-variant-numeric: tabular-nums; }

/* footer */
.ftr { background: var(--moss-2); color: rgba(246, 241, 230, .86); padding: 60px 0 26px; font-size: 15.5px; }
.ftr__in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.logo--ftr { color: var(--cream); margin-bottom: 18px; }
.logo--ftr .logo__mark { color: var(--terra-l); }
.logo--ftr .logo__sub { color: rgba(246, 241, 230, .72); }
.ftr__nav, .ftr__book { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ftr a { transition: color .3s; }
.ftr a:hover { color: var(--terra-l); }
.ftr__lbl { font: 700 12.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ochre); margin-bottom: 4px; }
.ftr__book a { display: inline-flex; align-items: center; gap: 7px; }
.ftr__book svg { width: 12px; height: 12px; }
.ftr__legal { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 22px; font-size: 14px; color: rgba(246, 241, 230, .7); }
.ftr__legal::before { content: ""; position: absolute; top: 0; left: var(--gut); right: var(--gut); height: 1px; background: rgba(246, 241, 230, .12); }

/* barra rapida mobile */
.qbar { display: none; }
@media (max-width: 759px) {
  .qbar {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 8px 8px 8px 14px;
    background: rgba(252, 250, 245, .95);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lift);
    transform: translateY(150%); transition: transform .5s var(--ease-out);
  }
  .qbar.is-on { transform: none; }
  .qbar__rep { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
  .ftr { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* ------------------------------------------------------------- dialog: prenota */
.sheet {
  width: min(540px, calc(100% - 32px)); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  padding: 0; border: 0; border-radius: 24px 8px 24px 8px;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 50px 100px -30px rgba(18, 25, 15, .55);
  opacity: 0; transform: translateY(18px) scale(.985);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.sheet.is-open { opacity: 1; transform: none; }
.sheet::backdrop { background: rgba(18, 25, 15, .5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sheet__in { position: relative; padding: 32px 32px 26px; overflow-y: auto; max-height: inherit; }
.sheet__x { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--r); border: 1px solid var(--line); transition: background-color .3s, border-color .3s; }
.sheet__x:hover { background: var(--oat); border-color: var(--line-2); }
.sheet__x svg { width: 14px; height: 14px; }
.sheet .eyebrow { margin-bottom: 12px; padding-right: 52px; }
.sheet__title { font: 400 32px/1.1 var(--serif); margin-bottom: 24px; }
.sheet__form { display: grid; gap: 12px; }
.sheet__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--paper); cursor: pointer; transition: border-color .3s; }
.field:focus-within { border-color: var(--terra); }
.field > span { font: 700 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--terra-d); }
.field input:focus, .field select:focus { outline: none; }
.sheet__sum { min-height: 22px; font-size: 15.5px; color: var(--ink-2); padding: 2px 2px 4px; }
.sheet__sum strong { color: var(--ink); font-weight: 700; }
.sheet__sum.is-err { color: #9a2f1c; }
.sheet__direct { padding: 16px 0 8px; border-top: 1px solid var(--line); }
.sheet__lbl { font-size: 15px; color: var(--ink-2); margin-bottom: 12px; }
.sheet__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.sheet__btns .btn { flex: 1 1 150px; }
.btn--booking {
  --h: 58px; width: 100%; gap: 12px;
  background: var(--paper); border: 1px solid var(--line-2); color: var(--ink);
  font-size: 15.5px; font-weight: 600;
  height: auto; min-height: var(--h); padding: 12px 22px; white-space: normal; flex-wrap: wrap; row-gap: 6px; text-align: center; line-height: 1.3;
}
.btn--booking img { height: 17px; width: auto; }
.btn--booking:hover { border-color: var(--booking); box-shadow: 0 0 0 3px rgba(0, 59, 149, .08); }
.sheet__fine { font-size: 13.5px; color: var(--ink-3); text-align: center; }
@media (max-width: 559px) {
  .sheet { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 24px 24px 0 0; max-height: 92vh; max-height: 92dvh; transform: translateY(40px); }
  .sheet__in { padding: 26px 18px calc(22px + env(safe-area-inset-bottom)); }
  .sheet__title { font-size: 28px; padding-right: 44px; }
}

/* ------------------------------------------------------------- dialog: galleria */
.lb {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(14, 19, 12, .96); color: var(--cream);
  opacity: 0; transition: opacity .4s var(--ease);
}
.lb.is-open { opacity: 1; }
.lb::backdrop { background: transparent; }
.lb__fig { position: absolute; inset: 64px 72px 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.lb__fig img { max-width: 100%; max-height: calc(100% - 40px); width: auto; height: auto; object-fit: contain; border-radius: 6px; user-select: none; -webkit-user-drag: none; transition: opacity .35s var(--ease); }
.lb__fig img.is-swap { opacity: 0; }
.lb__cap { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; align-items: baseline; font-size: 15.5px; color: rgba(246, 241, 230, .92); text-align: center; }
.lb__count { font-size: 13px; letter-spacing: .14em; color: var(--ochre); font-variant-numeric: tabular-nums; }
.lb__btn { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--r); background: rgba(246, 241, 230, .08); color: var(--cream); border: 1px solid rgba(246, 241, 230, .18); transition: background-color .3s, border-color .3s; }
.lb__btn:hover { background: rgba(246, 241, 230, .16); border-color: rgba(246, 241, 230, .32); }
.lb__btn svg { width: 16px; height: 16px; }
.lb__btn--x { top: 16px; right: 16px; }
.lb__btn--prev { left: 16px; top: 50%; margin-top: -24px; }
.lb__btn--next { right: 16px; top: 50%; margin-top: -24px; }
@media (max-width: 759px) {
  .lb__fig { inset: 64px 12px 92px; }
  .lb__btn--prev, .lb__btn--next { top: auto; bottom: 22px; margin-top: 0; }
  .lb__btn--prev { left: calc(50% - 60px); }
  .lb__btn--next { right: calc(50% - 60px); }
}

/* ------------------------------------------------------------- movimento */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.07); } to { transform: none; } }
.js .rise { animation: rise 1.1s var(--ease-out) both; animation-delay: var(--d, 0ms); }
.js .hero__img { animation: settle 2.2s var(--ease-out) both; }
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--rd, 0ms); }
.js [data-reveal].is-in, .reveal-all [data-reveal] { opacity: 1; transform: none; }
.reveal-all .pcard, .reveal-all .pcard .pc-in { opacity: 1 !important; transform: none !important; }
.rv.is-new { animation: rise .8s var(--ease-out) both; }

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

/* ------------------------------------------------------------- responsive */
@media (max-width: 1179px) {
  .scores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rvs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inroom { grid-template-columns: 1fr; gap: 20px; }
  .ftr__in { grid-template-columns: 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
  .hl { grid-template-columns: 1fr; }
  .hl__lbl { max-width: none; }
}

@media (max-width: 959px) {
  .hero__frame { min-height: min(680px, calc(100vh - var(--hdr) - 24px)); min-height: min(680px, calc(100svh - var(--hdr) - 24px)); }
  .hero__copy { max-width: 100%; padding-bottom: 76px; }
  .pcard { position: relative; right: auto; bottom: auto; width: auto; max-width: 560px; margin: -48px auto 0; }
  .hero__frame::after {
    background:
      linear-gradient(180deg, rgba(18, 25, 15, .3) 0%, rgba(18, 25, 15, 0) 22%),
      linear-gradient(180deg, rgba(18, 25, 15, 0) 26%, rgba(18, 25, 15, .6) 56%, rgba(18, 25, 15, .9) 100%);
  }
  .stay { grid-template-columns: 1fr 1fr; padding: 8px; gap: 0; }
  .stay__f { padding: 12px 16px; }
  .stay__f:nth-child(1) { border-bottom: 1px solid var(--line); border-radius: 12px 12px 0 0; }
  .stay__f:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); border-radius: 12px 12px 0 0; }
  .stay__f--sm { grid-column: 1 / 2; }
  .stay__go { margin: 6px 0 6px 8px; --h: 52px; }
  .stay__msg { position: static; grid-column: 1 / -1; padding: 0 16px; }
  .stay__msg:empty { display: none; }
  .intro, .brk, .where { grid-template-columns: 1fr; }
  .intro__media { max-width: 560px; order: -1; }
  .brk__media { max-width: 600px; }
  .rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rooms .room:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; }
  .rooms .room:last-child .room__img { margin-bottom: 0; }
  .map { aspect-ratio: 4 / 3.6; max-width: 620px; }
  .cta__card { grid-template-columns: minmax(0, 1fr); }
  .cta__media { min-height: 0; aspect-ratio: 16 / 8; }
}

@media (max-width: 759px) {
  body { font-size: 16.5px; }
  .hero { padding-top: calc(var(--hdr) + 4px); }
  .hero__frame { border-radius: 30px 10px; }
  .hero__title { margin-bottom: 18px; }
  .hero__lead { margin-bottom: 24px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .facts { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .facts > div { padding: 16px 12px 14px; }
  .facts dd { font-size: 13.5px; }
  .rooms { grid-template-columns: 1fr; gap: 36px; }
  .rooms .room:last-child { display: block; }
  .rooms .room:last-child .room__img { margin-bottom: 20px; }
  .room__img { aspect-ratio: 4 / 3.4; }
  .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 38vw, 210px); }
  .gal__i--t { grid-row: span 1; }
  .rules { grid-template-columns: 1fr; }
  .sec__head--row { display: block; }
  .sec__note { margin-top: 16px; }
  .ftr__in { grid-template-columns: 1fr; gap: 28px; }
  .cta__btns .btn { flex: 1 1 100%; }
  .scores { gap: 10px; }
  .score { padding: 18px 16px 16px; gap: 12px; }
  .score__num { font-size: 34px; }
  .badge--lg { min-width: 44px; height: 36px; font-size: 18px; }
  /* recensioni: fila scorrevole con l'accenno della successiva */
  .rvs { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin: 0 calc(-1 * var(--gut)); padding: 4px var(--gut) 14px; scroll-padding: 0 var(--gut); scrollbar-width: thin; }
  .rv { flex: 0 0 min(86%, 380px); scroll-snap-align: start; }
  .rv:first-child { grid-row: auto; }
}

@media (max-width: 519px) {
  .scores { grid-template-columns: 1fr 1fr; }
  .score__logo { height: 17px; }
  .score__logo--google { height: 19px; }
  .score__logo--ta { height: 18px; }
  .stars--lg, .bubbles--lg { width: 80px; height: 15px; -webkit-mask-size: 16px 15px; mask-size: 16px 15px; }
  .facts { grid-template-columns: 1fr; }
  .facts > div { display: flex; align-items: baseline; gap: 14px; padding: 14px 16px; }
  .facts dt { margin-bottom: 0; min-width: 86px; font-size: 28px; }
  .facts dd br { display: none; }
}

@media (max-width: 419px) {
  .pcard { grid-template-columns: 74px minmax(0, 1fr); gap: 12px; padding: 10px 12px 10px 10px; margin: -44px 6px 0; }
  .pcard__name { font-size: 18.5px; }
  .prep { flex-wrap: wrap; row-gap: 6px; }
  .prep__row { flex-wrap: wrap; row-gap: 4px; }
  .stay { grid-template-columns: 1fr; }
  .stay__f { border-right: 0 !important; border-bottom: 1px solid var(--line); border-radius: 12px !important; }
  .stay__f--sm { grid-column: auto; border-bottom: 0; }
  .stay__go { margin: 6px 0 0; width: 100%; }
  .score__val { gap: 8px; }
}

/* campi data: altezza e allineamento coerenti anche su iOS */
.stay input[type="date"], .field input[type="date"] { min-height: 26px; text-align: left; }
input[type="date"]::-webkit-date-and-time-value { text-align: left; }

/* telefoni molto stretti (Galaxy Fold chiuso, iPhone SE 1a gen) */
.qbar__short { display: none; }
@media (max-width: 399px) {
  .qbar__long { display: none; }
  .qbar__short { display: inline; }
}
@media (max-width: 359px) {
  .qbar__name { display: none; }
  .sheet__row { grid-template-columns: minmax(0, 1fr); }
  .hero__title { font-size: 42px; }
  .h2 { font-size: 31px; }
  .logo__sub { display: none; }
  .scores { grid-template-columns: 1fr; }
  .hero__copy { padding: 22px 18px 72px; }
  .hero__cta .btn, .cta__btns .btn, .where__cta .btn { white-space: normal; height: auto; min-height: var(--h); padding: 10px 16px; text-align: center; line-height: 1.25; }
  .pcard { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 10px; }
  .pcard__media { min-height: 0; height: 96px; }
  .pcard__body { padding: 0 4px 2px; }
}

/* iPhone/iPad: margini rispetto a tacca e Dynamic Island (la pagina usa viewport-fit=cover) */
@supports (padding: max(0px)) {
  .wrap { padding-left: max(var(--gut), env(safe-area-inset-left)); padding-right: max(var(--gut), env(safe-area-inset-right)); }
  .qbar { left: max(10px, env(safe-area-inset-left)); right: max(10px, env(safe-area-inset-right)); }
}

/* schermi touch: niente effetti hover che restano "attaccati" dopo il tocco */
@media (hover: none) {
  .pcard:hover, .js .pcard.is-in:hover { transform: none; }
  .pcard:hover .pcard__media img { transform: scale(1.05); }
  .room:hover .room__img img, .gal a:hover img { transform: none; }
  .svc li:hover { transform: none; box-shadow: none; }
  .gal__ico { opacity: 1; transform: none; }
  .map__load:hover { transform: translate(-50%, -50%); }
}
