/* =====================================================================
   B&B Villa Albina · foglio di stile
   Identità «glicine»: prugna, viola glicine e cipria, cornici ovali a
   cammeo (come gli specchi delle camere) e bordi a pizzo.
   Titoli Young Serif, testi Plus Jakarta Sans (font ospitati in locale).
   ===================================================================== */

@font-face { font-family: 'Young Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/young-serif-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: 'Young Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/young-serif-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: 'Jakarta'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/jakarta-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: 'Jakarta'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/jakarta-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: 'Jakarta'; font-style: italic; font-weight: 400 700; font-display: swap; src: url(../fonts/jakarta-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #fbf7f4;        /* cipria */
  --paper-2: #f4ece6;      /* cipria più calda */
  --mist: #efe9f6;         /* nebbia di glicine */
  --white: #ffffff;
  --ink: #261d2d;          /* testo principale */
  --ink-2: #554a5e;        /* testo secondario (7:1 sul fondo) */
  --plum: #35253f;         /* prugna: sezioni scure */
  --plum-2: #47344f;
  --plum-3: #231829;       /* piè di pagina */
  --wis: #5b4790;          /* glicine: pulsanti e accenti */
  --wis-deep: #47367a;
  --wis-soft: #c3b4e3;
  --wis-pale: #ddd3f0;
  --petal: #d98aa1;        /* rosa petalo (solo decorativo) */
  --apricot: #e7a77f;
  --sage: #9fb18f;
  --sky: #9cb6d3;
  --gold: #e3a32e;
  --bk: #003b95;           /* blu Booking.com per il badge del voto */
  --line: rgba(53, 37, 63, .14);
  --line-2: rgba(53, 37, 63, .08);
  --shadow-s: 0 1px 2px rgba(38, 22, 48, .06), 0 4px 14px rgba(38, 22, 48, .06);
  --shadow-m: 0 2px 6px rgba(38, 22, 48, .06), 0 18px 40px -12px rgba(38, 22, 48, .2);
  --shadow-l: 0 4px 12px rgba(38, 22, 48, .08), 0 40px 80px -24px rgba(38, 22, 48, .32);
  --r-lg: 30px;
  --r-md: 20px;
  --r-sm: 12px;
  --serif: 'Young Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'Jakarta', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --gutter: clamp(16px, 4.2vw, 44px);
  --hdr: 72px;
}

/* ------------------------------------------------------------- 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(--paper);
  color: var(--ink);
  font: 400 1rem/1.68 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img { display: block; max-width: 100%; height: auto; }
svg { display: inline-block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
p, h1, h2, h3, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2.5px solid var(--wis); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--plum); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
.sec { padding-block: clamp(72px, 9vw, 128px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .8125rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--wis);
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 22px; height: 1.5px; background: currentColor; opacity: .7; border-radius: 2px; }
.eyebrow--light { color: var(--wis-pale); }
.h2 { font: 400 clamp(1.8rem, 1.15rem + 2.3vw, 2.9rem)/1.12 var(--serif); letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.h2--sm { font-size: clamp(1.6rem, 1.15rem + 1.6vw, 2.3rem); }
.h3 { font: 400 clamp(1.35rem, 1.1rem + .8vw, 1.7rem)/1.2 var(--serif); color: var(--ink); }
.lead { font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem); line-height: 1.6; color: var(--ink-2); }
.sec__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec__head .h2 { margin-bottom: 18px; }
.sec__head--center { margin-inline: auto; text-align: center; }
.sec__head--center .eyebrow::after { content: ''; width: 22px; height: 1.5px; background: currentColor; opacity: .7; border-radius: 2px; }

/* ------------------------------------------------------------- pulsanti */
.btn {
  --bg: var(--wis); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 22px;
  border: 1.5px solid var(--bd); border-radius: 14px;
  background: var(--bg); color: var(--fg);
  font: 600 1rem/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, border-color .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn--wis { box-shadow: 0 8px 22px -10px rgba(91, 71, 144, .8); }
.btn--wis:hover { --bg: var(--wis-deep); box-shadow: 0 12px 26px -10px rgba(71, 54, 122, .85); }
.btn--plum { --bg: var(--plum); }
.btn--plum:hover { --bg: var(--plum-2); }
.btn--line { --bg: transparent; --fg: var(--wis-deep); --bd: rgba(91, 71, 144, .45); }
.btn--line:hover { --bg: var(--wis); --fg: #fff; --bd: var(--wis); }
.btn--light { --bg: #fff; --fg: var(--plum); box-shadow: var(--shadow-m); }
.btn--light:hover { --bg: var(--mist); }
.btn--ghost { --bg: rgba(255, 255, 255, .08); --fg: #fff; --bd: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--ghost:hover { --bg: rgba(255, 255, 255, .18); --bd: #fff; }
.btn--sm { min-height: 42px; padding: 9px 16px; font-size: .9375rem; border-radius: 12px; }

/* ------------------------------------------------------------- header */
.hdr { position: sticky; top: 0; z-index: 40; padding-top: env(safe-area-inset-top); transition: background-color .3s, box-shadow .3s; }
.hdr.is-stuck { background: rgba(251, 247, 244, .9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line-2), 0 10px 30px -18px rgba(38, 22, 48, .25); }
.hdr__in { display: flex; align-items: center; gap: 18px; height: var(--hdr); }
.hdr__brand { flex: none; display: block; text-decoration: none; }
.hdr__brand img { width: auto; height: 54px; }
.hdr__nav { display: none; margin-inline: auto; gap: 4px; }
.hdr__nav a { position: relative; padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 500; font-size: .96875rem; color: var(--ink); transition: color .2s, background-color .2s; }
.hdr__nav a:hover { background: var(--mist); color: var(--wis-deep); }
.hdr__act { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.hdr__tel { display: none; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: .9375rem; color: var(--ink); white-space: nowrap; }
.hdr__tel svg { width: 16px; height: 16px; color: var(--wis); }
.hdr__burger { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .6); }
.hdr__lines { display: grid; gap: 6px; width: 20px; }
.hdr__lines i { display: block; height: 2px; border-radius: 2px; background: var(--plum); transition: transform .3s var(--ease); }
.hdr__burger[aria-expanded="true"] .hdr__lines i:first-child { transform: translateY(4px) rotate(45deg); }
.hdr__burger[aria-expanded="true"] .hdr__lines i:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu { border-top: 1px solid var(--line-2); background: rgba(251, 247, 244, .98); max-height: calc(100dvh - var(--hdr)); overflow-y: auto; }
.menu__in { display: grid; padding-block: 10px 22px; }
.menu__in a { padding: 14px 4px; border-bottom: 1px solid var(--line-2); text-decoration: none; font: 400 1.3rem/1.2 var(--serif); color: var(--ink); }
.menu__in a.menu__tel { display: inline-flex; align-items: center; gap: 10px; border: 0; margin-top: 8px; font: 600 1.05rem/1.2 var(--sans); color: var(--wis-deep); }
.menu__tel svg { width: 18px; height: 18px; }
@media (max-width: 379px) { .hdr__brand img { height: 44px; } .hdr__act .btn--sm { padding-inline: 12px; } }
@media (max-width: 299px) { .hdr__act .btn--sm { display: none; } }
@media (min-width: 1080px) {
  .hdr__nav { display: flex; }
  .hdr__burger, .menu { display: none !important; }
  .hdr__brand img { height: 56px; }
}
@media (min-width: 1280px) { .hdr__tel:not([hidden]) { display: inline-flex; } }

/* ------------------------------------------------------------- cammeo (cornici ovali) */
.cameo { position: relative; margin: 0; border-radius: 50%; isolation: isolate; }
.cameo img, .cameo > picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
button.cameo { padding: 0; border: 0; background: transparent; -webkit-tap-highlight-color: transparent; }

/* ------------------------------------------------------------- hero */
.hero { position: relative; padding-block: 8px clamp(56px, 7vw, 96px); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; z-index: -1; inset: -10% auto auto -20%;
  width: min(900px, 120vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(195, 180, 227, .45), rgba(195, 180, 227, 0) 70%);
}
.hero__in { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero__art { position: relative; width: min(100%, 460px); margin-inline: auto; aspect-ratio: 10 / 10.6; }
.cameo--main { position: absolute; left: 17%; top: 1%; width: 62%; aspect-ratio: 62 / 86; box-shadow: var(--shadow-l); }
.cameo--main::before { content: ''; position: absolute; inset: -12px; border-radius: 50%; border: 1.5px solid var(--wis-soft); z-index: -1; }
.cameo--room { position: absolute; left: 0; bottom: 5%; width: 36%; aspect-ratio: 1; border: 6px solid var(--paper); box-shadow: var(--shadow-m); }
.cameo--facade { position: absolute; right: 1%; top: 9%; width: 29%; aspect-ratio: 1; border: 5px solid var(--paper); box-shadow: var(--shadow-m); }
.seal {
  position: absolute; right: 3%; bottom: 3%; width: clamp(92px, 25%, 118px); aspect-ratio: 1;
  display: grid; place-content: center; justify-items: center; gap: 2px; text-align: center;
  border-radius: 50%; background: var(--plum); color: #fff; box-shadow: var(--shadow-m);
}
.seal::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .45); }
.seal__k { font: 600 .6875rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--wis-pale); }
.seal__v { font: 400 1.3rem/1.05 var(--serif); }
.seal svg { width: 34px; height: 14px; color: var(--petal); margin-top: 2px; }

.hero__copy { max-width: 600px; margin-inline: auto; }
.hero__title { font: 400 clamp(2.15rem, 1.3rem + 3.7vw, 4.1rem)/1.06 var(--serif); letter-spacing: -.015em; text-wrap: balance; margin-bottom: 20px; }
.hero__title em { font-style: normal; color: var(--wis); position: relative; white-space: nowrap; }
.hero__title em::after { content: ''; position: absolute; left: 2%; right: 2%; bottom: .02em; height: .12em; border-radius: 1em; background: var(--petal); opacity: .45; z-index: -1; }
.hero__lead { font-size: clamp(1.06rem, 1rem + .35vw, 1.22rem); line-height: 1.6; color: var(--ink-2); margin-bottom: 28px; }
.hero__note { margin-top: 14px; font-size: .9375rem; color: var(--ink-2); }
.hero__note a { color: var(--wis-deep); font-weight: 600; text-underline-offset: 3px; }

/* modulo date nel hero */
.stay { background: #fff; border-radius: var(--r-md); padding: 10px; box-shadow: var(--shadow-m); border: 1px solid var(--line-2); }
.stay__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.stay__f { display: grid; gap: 2px; padding: 10px 12px 8px; border-radius: 12px; background: var(--paper); min-width: 0; cursor: pointer; transition: background-color .2s, box-shadow .2s; }
.stay__f:hover { background: var(--mist); }
.stay__f:focus-within { box-shadow: inset 0 0 0 2px var(--wis); background: #fff; }
.stay__f > span { display: inline-flex; align-items: center; gap: 6px; font: 600 .8125rem/1.2 var(--sans); color: var(--ink-2); }
.stay__f > span svg { width: 14px; height: 14px; color: var(--wis); }
.stay__f input, .stay__f select { width: 100%; min-width: 0; border: 0; padding: 2px 0; background: transparent; font-size: 1rem; font-weight: 600; color: var(--ink); outline: none; -webkit-appearance: none; appearance: none; min-height: 28px; }
.stay__f select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%235b4790' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right 2px center / 12px 8px no-repeat; padding-right: 18px; }
.stay__f--g { grid-column: 1 / -1; }
.stay__go { width: 100%; margin-top: 8px; }
.stay__go svg { transition: transform .25s var(--ease); }
.stay__go:hover svg { transform: translateX(3px); }
.stay__msg { font-size: .9375rem; color: #9b2c3f; padding: 0 4px; }
.stay__msg:not(:empty) { margin-top: 8px; }
@media (max-width: 339px) { .stay__fields { grid-template-columns: 1fr; } }
@media (min-width: 560px) {
  .stay__fields { grid-template-columns: 1fr 1fr .9fr; }
  .stay__f--g { grid-column: auto; }
}

/* telefoni in orizzontale e tablet piccoli: immagine accanto al testo */
@media (min-width: 640px) and (max-width: 899px) and (orientation: landscape) {
  .hero__in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
  .hero__art { width: 100%; max-width: 340px; margin: 12px 0 0; }
  .hero__copy { margin: 0; }
  .hero__title { font-size: clamp(1.9rem, 1rem + 2.6vw, 2.6rem); }
}
@media (min-width: 900px) {
  .hero { padding-top: 24px; }
  .hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); }
  .hero__art { width: 100%; max-width: 520px; margin: 0; }
  .hero__copy { margin: 0; }
}

/* ------------------------------------------------------------- card premium */
.pwrap { position: relative; z-index: 2; margin-top: clamp(-40px, -3vw, -24px); }
.pcard {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px 16px;
  padding: 16px; border-radius: 26px; background: #fff;
  border: 1px solid var(--line-2); box-shadow: var(--shadow-l);
  max-width: 1040px; margin-inline: auto;
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.pcard:hover { box-shadow: 0 6px 16px rgba(38, 22, 48, .08), 0 48px 90px -28px rgba(38, 22, 48, .4); }
.pcard__ph { width: 68px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--wis-soft); }
.pcard__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .pcard__ph img { transform: scale(1.06); }
.pcard__name { font: 400 1.3rem/1.15 var(--serif); color: var(--ink); }
.pcard__loc { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; font-size: .9375rem; color: var(--ink-2); }
.pcard__loc svg { width: 14px; height: 14px; color: var(--wis); flex: none; }
.pcard__rates { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pcard__rate { display: grid; gap: 8px; align-content: start; padding: 12px 12px 10px; border-radius: 16px; background: var(--paper); min-width: 0; }
.pcard__logo { height: 18px; width: auto; max-width: 100%; }
.pcard__logo--g { height: 19px; }
.pcard__val { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: .875rem; color: var(--ink-2); }
.pcard__val strong { font: 700 1.25rem/1 var(--sans); color: var(--ink); }
.pcard__cnt { white-space: nowrap; }
.pcard__cta {
  grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 16px; border-radius: 14px; background: var(--mist); color: var(--wis-deep);
  font-weight: 600; text-decoration: none; transition: background-color .25s, color .25s;
}
.pcard__cta svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.pcard__cta:hover { background: var(--wis); color: #fff; }
.pcard__cta:hover svg { transform: translateY(2px); }
@media (max-width: 339px) { .pcard__rates { grid-template-columns: 1fr; } }
@media (min-width: 760px) {
  .pcard { grid-template-columns: auto minmax(0, 1fr) auto auto; padding: 14px 14px 14px 16px; gap: 18px; border-radius: 999px; }
  .pcard__ph { width: 76px; }
  .pcard__rates { grid-column: auto; display: flex; gap: 8px; }
  .pcard__rate { padding: 10px 16px; border-radius: 18px; }
  .pcard__cta { grid-column: auto; border-radius: 999px; padding-inline: 20px; }
}
@media (min-width: 760px) and (max-width: 979px) {
  .pcard { grid-template-columns: auto minmax(0, 1fr) auto; border-radius: 30px; }
  .pcard__cta { grid-column: 1 / -1; }
}
/* entrata animata della card */
.js .pcard { opacity: 0; transform: translateY(18px); }
.js .pcard .pcard__s { opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .pcard.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow .35s var(--ease); }
.js .pcard.is-in .pcard__s { opacity: 1; transform: none; }
.js .pcard.is-in .pcard__s:nth-child(2) { transition-delay: .12s; }
.js .pcard.is-in .pcard__rates .pcard__s:nth-child(1) { transition-delay: .22s; }
.js .pcard.is-in .pcard__rates .pcard__s:nth-child(2) { transition-delay: .3s; }
.js .pcard.is-in .pcard__cta { transition-delay: .4s; }

/* badge, stelle, barre */
.badge { display: inline-grid; place-items: center; min-width: 38px; height: 34px; padding: 0 7px; border-radius: 9px 9px 9px 2px; background: var(--bk); color: #fff; font: 700 1.0625rem/1 var(--sans); font-variant-numeric: tabular-nums; }
.badge--sm { min-width: 32px; height: 28px; font-size: .9375rem; }
.stars { --r: 1; position: relative; display: inline-block; flex: none; width: 90px; height: 16px;
  background: linear-gradient(90deg, var(--gold) calc(var(--r) * 100%), #d9d2dd 0);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 16'%3E%3Cpath d='M8.2.8l2.2 4.6 5 .6-3.7 3.4 1 5-4.5-2.5-4.4 2.5 1-5L1 6l5-.6z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 16'%3E%3Cpath d='M8.2.8l2.2 4.6 5 .6-3.7 3.4 1 5-4.5-2.5-4.4 2.5 1-5L1 6l5-.6z'/%3E%3C/svg%3E");
  -webkit-mask-size: 18px 16px; mask-size: 18px 16px; -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x;
}
.meter { --r: .9; display: block; height: 6px; border-radius: 6px; background: #ece6ef; overflow: hidden; position: relative; }
.meter::after { content: ''; position: absolute; inset: 0 auto 0 0; width: calc(var(--r) * 100%); border-radius: inherit; background: linear-gradient(90deg, var(--wis-soft), var(--wis)); }

/* ------------------------------------------------------------- reveal */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease) var(--rd, 0ms), transform .8s var(--ease) var(--rd, 0ms); }
.js [data-reveal].is-in, .reveal-all [data-reveal] { opacity: 1; transform: none; }
.reveal-all .pcard, .reveal-all .pcard .pcard__s { opacity: 1 !important; transform: none !important; }

/* ------------------------------------------------------------- la villa */
.villa { padding-top: clamp(72px, 9vw, 120px); }
.villa__in { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
.villa__copy .h2 { margin-bottom: 20px; max-width: 16ch; }
.villa__copy .lead { margin-bottom: 16px; }
.villa__copy p + p { margin-top: 14px; }
.villa__copy p:not(.lead):not(.eyebrow) { color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 10px; margin-top: 30px; }
.facts li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-s); font-size: .96875rem; color: var(--ink-2); }
.facts strong { color: var(--ink); font-weight: 700; }
.facts svg { flex: none; width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: var(--mist); color: var(--wis); }
.villa__art { position: relative; padding: 0 0 56px 0; }
.villa__big { border-radius: 220px 220px var(--r-lg) var(--r-lg); overflow: hidden; box-shadow: var(--shadow-l); aspect-ratio: 4 / 4.3; }
.villa__big img { width: 100%; height: 100%; object-fit: cover; }
.villa__sign { position: absolute; right: -4px; bottom: 0; width: clamp(130px, 34%, 190px); aspect-ratio: 1; border: 7px solid var(--paper); box-shadow: var(--shadow-m); }
.villa__cap { position: absolute; left: 4px; bottom: 6px; max-width: 55%; font-size: .875rem; line-height: 1.4; color: var(--ink-2); font-style: italic; }
@media (min-width: 900px) {
  .villa__in { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
  .villa__art { padding-bottom: 64px; }
  .villa__sign { right: -20px; }
}

/* ------------------------------------------------------------- recensioni (prugna, bordi a pizzo) */
.rep { position: relative; background: var(--plum); color: #fff; padding-block: clamp(80px, 9vw, 124px); margin-block: 18px; }
.rep::before, .rep::after { content: ''; position: absolute; left: 0; right: 0; height: 16px; background-repeat: repeat-x; background-size: 32px 16px; pointer-events: none; }
.rep::before { top: -15px; background-image: radial-gradient(circle at 16px 16px, var(--plum) 15.5px, transparent 16px); }
.rep::after { bottom: -15px; background-image: radial-gradient(circle at 16px 0, var(--plum) 15.5px, transparent 16px); }
.rep .h2 { color: #fff; }
.rep__head { display: grid; gap: 28px; align-items: end; margin-bottom: 36px; }
.rep__sub { margin-top: 14px; color: #ddd3e6; max-width: 56ch; }
.rep__sub [data-r="updated"] { color: #fff; font-weight: 600; }
.avg { display: flex; align-items: center; gap: 16px; padding: 16px 22px 16px 16px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); justify-self: start; }
.avg__num { display: grid; place-content: center; width: 92px; aspect-ratio: 1; border-radius: 50%; background: #fff; color: var(--plum); font: 400 2.1rem/1 var(--serif); text-align: center; box-shadow: 0 0 0 6px rgba(195, 180, 227, .25); }
.avg__num small { font: 600 .8125rem/1 var(--sans); color: var(--ink-2); margin-top: 4px; }
.avg__lbl { font-size: 1rem; line-height: 1.35; color: #ece6f2; max-width: 13ch; }
@media (min-width: 900px) {
  .rep__head { grid-template-columns: minmax(0, 1fr) auto; }
  .avg { justify-self: end; }
}
.portals { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 156px), 1fr)); gap: 10px; }
.portal { display: grid; gap: 10px; align-content: start; padding: 16px; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 16px 34px -20px rgba(0, 0, 0, .55); transition: transform .3s var(--ease); }
.portal:hover { transform: translateY(-3px); }
.portal__logo { height: 20px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.portal__logo--g { height: 21px; }
.portal__logo--tv { height: 24px; }
.portal__logo--lr { height: 15px; margin-block: 2.5px; }
.portal__logo--ky { height: 19px; }
.portal__val { display: flex; align-items: baseline; gap: 6px; margin-top: 2px; }
.portal__val strong { font: 700 1.6rem/1 var(--sans); font-variant-numeric: tabular-nums; }
.portal__val .badge { align-self: center; }
.portal__of { font-size: .875rem; color: var(--ink-2); }
.portal__cnt { font-size: .875rem; color: var(--ink-2); }
.portal .stars { margin-block: -5px; }
@media (min-width: 1180px) { .portals { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.hl { position: relative; margin: 36px 0 28px; padding: 26px 24px 20px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.hl__mark { position: absolute; top: -9px; left: 24px; width: 46px; height: 18px; color: var(--petal); background: var(--plum); padding-inline: 4px; }
.hl__list { display: grid; gap: 14px; }
.hl__list li { display: grid; gap: 4px; }
.hl__list q { font: 400 clamp(1.2rem, 1.05rem + .7vw, 1.55rem)/1.35 var(--serif); color: #fff; quotes: '“' '”'; }
.hl__list span { font-size: .875rem; color: #d6cce0; }
.hl__src { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; font-size: .875rem; color: #d6cce0; }
.hl__src img { height: 16px; width: auto; padding: 3px 6px; box-sizing: content-box; background: #fff; border-radius: 6px; }

.rvs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.rv { display: flex; flex-direction: column; gap: 14px; padding: 20px 20px 18px; border-radius: 22px; background: var(--paper); color: var(--ink); }
.rv.is-new { animation: rvIn .7s var(--ease) both; }
@keyframes rvIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.rv__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 30px; }
.rv__logo { height: 17px; width: auto; max-width: 60%; }
.rv__logo--google { height: 19px; }
.rv__logo--kayak { height: 16px; }
.rv__logo--tripcom { height: 18px; }
.rv__house { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .875rem; color: var(--wis-deep); }
.rv__house img { width: 22px; height: 22px; }
.rv__score { display: inline-flex; align-items: baseline; gap: 1px; padding: 4px 9px; border-radius: 9px 9px 9px 2px; background: var(--bk); color: #fff; font: 700 1rem/1.1 var(--sans); }
.rv__score small { font-size: .75rem; font-weight: 600; opacity: .85; }
.rv__verified { display: inline-flex; align-items: center; gap: 4px; font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.rv__verified svg { width: 14px; height: 14px; color: #1a7f4b; }
.rv__text { position: relative; flex: 1; }
.rv__text p { font-size: 1rem; line-height: 1.6; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.rv.is-open .rv__text p { -webkit-line-clamp: unset; display: block; }
.rv__more { align-self: flex-start; margin-top: -6px; padding: 4px 0; border: 0; background: none; color: var(--wis-deep); font-weight: 600; font-size: .9375rem; 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-2); font-size: .875rem; color: var(--ink-2); }
.rv__name { font-weight: 700; color: var(--ink); }
.rv__date::before, .rv__lang::before { content: '·'; margin-right: 10px; color: var(--wis-soft); }

/* ------------------------------------------------------------- camere */
.rooms .sec__head .lead { max-width: 62ch; margin-inline: auto; }
.room { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; margin-bottom: clamp(64px, 8vw, 110px); }
.room__art { position: relative; padding-bottom: 34px; max-width: 620px; width: 100%; margin-inline: auto; }
.room__main { display: block; width: 100%; aspect-ratio: 5 / 4; box-shadow: var(--shadow-l); }
.room__main::before { content: ''; position: absolute; inset: -11px; border-radius: 50%; border: 1.5px solid var(--wis-soft); z-index: -1; transition: inset .5s var(--ease), border-color .4s; }
.room__main img { transition: transform 1s var(--ease); }
.room__main:hover img { transform: scale(1.035); }
.room__main:hover::before { inset: -16px; border-color: var(--wis); }
.room__thumbs { position: absolute; right: 6%; bottom: 0; display: flex; }
.thumb { position: relative; width: clamp(58px, 15vw, 82px); aspect-ratio: 1; padding: 0; border: 4px solid var(--paper); border-radius: 50%; overflow: hidden; background: var(--mist); box-shadow: var(--shadow-m); transition: transform .3s var(--ease); }
.thumb + .thumb { margin-left: -14px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { transform: translateY(-4px); z-index: 2; }
.thumb--more span { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(53, 37, 63, .62); color: #fff; font-weight: 700; font-size: 1.0625rem; }
.room__copy { max-width: 560px; }
.room__tag { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .9375rem; color: var(--ink-2); margin-bottom: 8px; }
.dot { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line); }
.dot--ortensia { background: var(--sky); }
.dot--salvia { background: var(--sage); }
.dot--margherita { background: var(--apricot); }
.room__name { font: 400 clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem)/1.1 var(--serif); margin-bottom: 16px; }
.room__copy > p { color: var(--ink-2); font-size: 1.0625rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9375rem; font-weight: 500; color: var(--ink); }
@media (min-width: 900px) {
  .room { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
  .room--flip .room__art { order: 2; }
  .room__art { margin: 0; }
  .room--flip .room__thumbs { right: auto; left: 6%; }
}

.comfort { display: grid; gap: 28px; align-items: center; padding: clamp(24px, 4vw, 52px); border-radius: var(--r-lg); background: var(--mist); }
.comfort__art { display: flex; justify-content: center; }
.comfort__ph { display: block; width: min(220px, 62vw); aspect-ratio: 3 / 4; box-shadow: var(--shadow-m); border: 6px solid #fff; }
.comfort__copy .h3 { margin-bottom: 12px; }
.comfort__copy > p { color: var(--ink-2); max-width: 60ch; }
.amen { display: grid; gap: 4px 28px; margin-top: 22px; }
.amen li { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(91, 71, 144, .14); font-size: .96875rem; line-height: 1.45; }
.amen svg { flex: none; width: 22px; height: 22px; color: var(--wis); margin-top: -1px; }
@media (min-width: 700px) { .amen { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .comfort { grid-template-columns: auto minmax(0, 1fr); gap: 56px; } .comfort__ph { width: 240px; } }

/* ------------------------------------------------------------- giardino */
.garden { padding-block: clamp(72px, 9vw, 120px); background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 18%, var(--paper-2) 82%, var(--paper) 100%); }
.garden__head { display: grid; gap: 18px 56px; align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
@media (min-width: 900px) { .garden__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.seasons__tabs { display: flex; gap: 6px; padding: 6px; margin-bottom: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-s); width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seasons__tabs::-webkit-scrollbar { display: none; }
.seasons__tabs button { flex: none; min-height: 44px; padding: 8px 18px; border: 0; border-radius: 13px; background: transparent; font-weight: 600; font-size: .96875rem; color: var(--ink-2); transition: background-color .25s, color .25s; }
.seasons__tabs button:hover { color: var(--wis-deep); background: var(--mist); }
.seasons__tabs button[aria-selected="true"] { background: var(--plum); color: #fff; }
@media (max-width: 419px) { .seasons__tabs { width: 100%; } .seasons__tabs button { flex: 1 0 auto; padding-inline: 12px; } }
.seasons__stage { position: relative; }
.season { display: grid; gap: 14px; }
.season.is-on { animation: seasonIn .7s var(--ease) both; }
@keyframes seasonIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.season__ph { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--mist); box-shadow: var(--shadow-m); }
.season__ph img { width: 100%; height: 100%; object-fit: cover; }
.season__txt { padding: 20px 22px; border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-s); }
.season__k { font: 400 1.4rem/1.2 var(--serif); color: var(--wis-deep); margin-bottom: 6px; }
.season__txt p:not(.season__k) { color: var(--ink-2); }
@media (min-width: 900px) {
  .season { display: block; position: relative; }
  .season__ph { aspect-ratio: 21 / 9; }
  .season__txt { position: absolute; left: 28px; bottom: 28px; max-width: 400px; box-shadow: var(--shadow-l); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); background: rgba(255, 255, 255, .92); }
}
.pebbles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.pebble { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--mist); aspect-ratio: 1 / .86; overflow: hidden; box-shadow: var(--shadow-s); transition: transform .4s var(--ease), box-shadow .4s; }
.pebbles li:nth-child(1) .pebble { border-radius: 58% 42% 46% 54% / 52% 48% 52% 48%; }
.pebbles li:nth-child(2) .pebble { border-radius: 44% 56% 52% 48% / 46% 54% 46% 54%; }
.pebbles li:nth-child(3) .pebble { border-radius: 52% 48% 40% 60% / 56% 44% 56% 44%; }
.pebbles li:nth-child(4) .pebble { border-radius: 46% 54% 58% 42% / 48% 56% 44% 52%; }
.pebble img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pebble span { position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%); max-width: 86%; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--ink); font-weight: 600; font-size: .8125rem; line-height: 1.25; text-align: center; box-shadow: var(--shadow-s); }
.pebble:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.pebble:hover img { transform: scale(1.06); }
@media (min-width: 760px) { .pebbles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } .pebble span { font-size: .875rem; } }
.garden__all { display: flex; justify-content: center; margin-top: 28px; }

/* ------------------------------------------------------------- dintorni */
.near__grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
.exp { display: grid; gap: 14px; }
.exp__item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; padding: 20px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-s); }
.exp__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--mist); color: var(--wis); }
.exp__ic svg { width: 26px; height: 26px; }
.exp__t { font: 400 1.25rem/1.25 var(--serif); margin-bottom: 6px; }
.exp__item p { color: var(--ink-2); font-size: .98rem; }
.route { padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg); background: var(--plum); color: #fff; box-shadow: var(--shadow-l); }
.route__t { font: 400 1.45rem/1.2 var(--serif); margin-bottom: 18px; }
.route__list { position: relative; display: grid; }
.route__list::before { content: ''; position: absolute; left: 33px; top: 14px; bottom: 14px; width: 2px; background: repeating-linear-gradient(180deg, rgba(195, 180, 227, .55) 0 5px, transparent 5px 10px); }
.route__list li { position: relative; display: grid; grid-template-columns: 68px minmax(0, 1fr); align-items: center; gap: 14px; padding: 9px 0; }
.route__min { position: relative; z-index: 1; display: grid; place-items: center; height: 30px; border-radius: 999px; background: var(--wis); color: #fff; font-weight: 700; font-size: .8125rem; white-space: nowrap; }
.route__name { font-size: 1rem; font-weight: 500; color: #f4effa; }
.route__note { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .875rem; line-height: 1.5; color: #d9cfe3; }
@media (min-width: 900px) { .near__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }

/* ------------------------------------------------------------- moncalieri */
.mo { padding-bottom: clamp(72px, 9vw, 120px); }
.mo__box { display: grid; gap: 28px; padding: clamp(24px, 4vw, 52px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-m); overflow: hidden; }
.mo__copy .h2 { margin-bottom: 14px; }
.mo__copy > p { color: var(--ink-2); }
.mo__list { display: grid; gap: 14px; margin: 22px 0; }
.mo__list > div { padding-left: 16px; border-left: 3px solid var(--wis-pale); }
.mo__list dt { font: 400 1.2rem/1.3 var(--serif); color: var(--ink); margin-bottom: 4px; }
.mo__list dd { color: var(--ink-2); font-size: .98rem; }
.mo__contact { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; padding: 14px; border-radius: 16px; background: var(--paper); }
.mo__lbl { flex-basis: 100%; font-weight: 600; font-size: .875rem; color: var(--ink-2); }
.mo__contact a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9375rem; text-decoration: none; color: var(--wis-deep); overflow-wrap: anywhere; }
.mo__contact a svg { width: 15px; height: 15px; flex: none; }
.mo__contact a:hover { border-color: var(--wis); }
.mo__art { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 10px; }
.mo__ph { border-radius: var(--r-md); overflow: hidden; background: var(--mist); }
.mo__ph img { width: 100%; height: 100%; object-fit: cover; }
.mo__ph--a { grid-column: 1 / -1; aspect-ratio: 16 / 8; border-radius: 160px 160px var(--r-md) var(--r-md); }
.mo__ph--b, .mo__ph--c { aspect-ratio: 1; }
@media (min-width: 900px) { .mo__box { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 48px; } }

/* ------------------------------------------------------------- dove siamo + info */
.where { padding-top: 0; }
.where__in { display: grid; gap: clamp(32px, 4vw, 56px); align-items: start; }
.where__map .h2 { margin-bottom: 12px; }
.where__addr { color: var(--ink-2); margin-bottom: 22px; max-width: 48ch; }
.map { position: relative; aspect-ratio: 16 / 11; border-radius: var(--r-lg); overflow: hidden; background: var(--plum); box-shadow: var(--shadow-m); }
.map__ph { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.map::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 55%, rgba(53, 37, 63, 0) 0, rgba(53, 37, 63, .45) 75%); pointer-events: none; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__btn { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap; }
.map__btn:hover { transform: translate(-50%, calc(-50% - 1px)); }
.where__links { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.info { padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-m); }
.info .h3 { margin-bottom: 14px; }
.info__list > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.info__list dt { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .96875rem; color: var(--ink); }
.info__list dt svg { flex: none; width: 20px; height: 20px; color: var(--wis); }
.info__list dd { padding-left: 30px; color: var(--ink-2); font-size: .96875rem; }
.info__codes { margin-top: 16px; font-size: .8125rem; line-height: 1.5; color: var(--ink-2); overflow-wrap: anywhere; }
@media (min-width: 560px) { .info__list > div { grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); align-items: baseline; gap: 12px; } .info__list dd { padding-left: 0; } }
@media (min-width: 900px) { .where__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .where__map { position: sticky; top: calc(var(--hdr) + 24px); } }

/* ------------------------------------------------------------- CTA finale */
.end { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding-block: clamp(96px, 12vw, 168px); text-align: center; background: var(--plum); }
.end__bg { position: absolute; inset: 0; z-index: -2; }
.end__bg img { width: 100%; height: 100%; object-fit: cover; }
.end::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(35, 24, 41, .78) 0%, rgba(53, 37, 63, .7) 50%, rgba(35, 24, 41, .86) 100%); }
.end__in { max-width: 820px; }
.end__sprig { width: 64px; height: 26px; color: var(--petal); margin-bottom: 16px; }
.end__title { font: 400 clamp(2rem, 1.3rem + 3vw, 3.5rem)/1.1 var(--serif); text-wrap: balance; margin-bottom: 18px; }
.end__title em { font-style: normal; color: var(--wis-pale); }
.end__lead { color: #ece5f3; font-size: clamp(1.03rem, 1rem + .3vw, 1.18rem); max-width: 52ch; margin: 0 auto 32px; }
.end__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 479px) { .end__btns .btn { width: 100%; } }

/* ------------------------------------------------------------- footer */
.ftr { background: var(--plum-3); color: #e3dbe9; padding-top: clamp(56px, 7vw, 84px); padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.ftr__in { display: grid; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ftr__brand img { width: 170px; height: auto; margin-bottom: 14px; }
.ftr__brand p { font: 400 1.1rem/1.4 var(--serif); color: #fff; max-width: 26ch; }
.ftr__h { font: 600 .8125rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--wis-soft); margin-bottom: 12px; }
.ftr__col p { margin-bottom: 8px; }
.ftr__col a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #f1ebf6; overflow-wrap: anywhere; }
.ftr__col a svg { width: 15px; height: 15px; }
.ftr__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; font-size: .8125rem; color: #bfb3c9; }
@media (min-width: 760px) { .ftr__in { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ------------------------------------------------------------- barra rapida mobile */
.qbar { position: fixed; z-index: 35; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 12px; border-radius: 18px; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 18px 40px -14px rgba(38, 22, 48, .45), 0 0 0 1px var(--line-2); transform: translateY(140%); transition: transform .45s var(--ease); }
.qbar.is-on { transform: none; }
.menu-open .qbar { transform: translateY(140%); }
.qbar__rep { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-weight: 600; font-size: .875rem; color: var(--ink-2); }
.qbar__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qbar__short { display: none; }
@media (max-width: 359px) { .qbar__long { display: none; } .qbar__short { display: inline; } }
@media (min-width: 900px) { .qbar { display: none; } }

/* ------------------------------------------------------------- dialog prenota */
.sheet { width: 100%; max-width: 100%; max-height: 100%; margin: auto 0 0; padding: 0; border: 0; background: transparent; color: var(--ink); overflow: visible; }
.sheet::backdrop { background: rgba(35, 24, 41, .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.sheet.is-open::backdrop { opacity: 1; }
.sheet__in { position: relative; max-height: 92dvh; overflow-y: auto; padding: 26px 20px calc(22px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; background: var(--paper); box-shadow: var(--shadow-l); transform: translateY(100%); transition: transform .35s var(--ease); }
.sheet.is-open .sheet__in { transform: none; }
.sheet__x { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; box-shadow: var(--shadow-s); }
.sheet__x svg { width: 16px; height: 16px; }
.sheet__title { font: 400 1.7rem/1.15 var(--serif); margin-bottom: 18px; padding-right: 48px; }
.sheet__form { display: grid; gap: 12px; }
.sheet__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: grid; gap: 4px; min-width: 0; }
.field > span { font-weight: 600; font-size: .875rem; color: var(--ink-2); }
.field input, .field select { width: 100%; min-width: 0; min-height: 50px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-size: 1rem; color: var(--ink); -webkit-appearance: none; appearance: none; }
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%235b4790' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right 12px center / 12px 8px no-repeat; padding-right: 32px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--wis); box-shadow: 0 0 0 3px rgba(91, 71, 144, .2); }
.sheet__sum { min-height: 1.5em; padding: 12px 14px; border-radius: 12px; background: var(--mist); font-size: .9375rem; color: var(--ink-2); }
.sheet__sum strong { color: var(--ink); }
.sheet__sum.is-err { background: #fbe9ec; color: #8f2337; }
.sheet__direct { padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line-2); }
.sheet__lbl { font-weight: 600; font-size: .9375rem; margin-bottom: 10px; }
.sheet__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.sheet__btns .btn { flex: 1 1 auto; min-height: 46px; }
.btn--booking { --bg: #fff; --fg: var(--ink); --bd: var(--line); gap: 10px; flex-wrap: wrap; }
.btn--booking img { height: 18px; width: auto; }
.btn--booking:hover { --bd: var(--bk); }
.sheet__fine { font-size: .8125rem; color: var(--ink-2); text-align: center; }
@media (max-width: 339px) { .sheet__row { grid-template-columns: 1fr; } }
@media (min-width: 640px) {
  .sheet { max-width: 520px; margin: auto; }
  .sheet__in { border-radius: 26px; padding: 30px 30px 26px; transform: translateY(16px) scale(.98); opacity: 0; transition: transform .35s var(--ease), opacity .3s; }
  .sheet.is-open .sheet__in { transform: none; opacity: 1; }
}

/* ------------------------------------------------------------- galleria */
.lb { width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: rgba(24, 16, 29, .96); color: #fff; opacity: 0; transition: opacity .3s; overflow: hidden; }
.lb.is-open { opacity: 1; }
.lb::backdrop { background: transparent; }
.lb__fig { position: absolute; inset: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; align-items: center; justify-items: center; gap: 14px; padding: calc(64px + env(safe-area-inset-top)) 16px calc(20px + env(safe-area-inset-bottom)); }
.lb__fig img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 14px; transition: opacity .18s, transform .18s; }
.lb__fig img.is-swap { opacity: 0; transform: scale(.985); }
.lb__cap { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; max-width: 760px; text-align: center; font-size: .96875rem; color: #ece5f2; }
.lb__count { color: #b9accb; font-variant-numeric: tabular-nums; }
.lb__btn { position: absolute; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .2s; }
.lb__btn:hover { background: rgba(255, 255, 255, .22); }
.lb__btn svg { width: 18px; height: 18px; }
.lb__btn--x { right: 14px; top: calc(12px + env(safe-area-inset-top)); }
.lb__btn--prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb__btn--next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 599px) {
  .lb__btn--prev, .lb__btn--next { top: auto; bottom: calc(14px + env(safe-area-inset-bottom)); transform: none; }
  .lb__fig { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}

/* ------------------------------------------------------------- dispositivi touch e movimento ridotto */
@media (hover: none) {
  .btn:hover, .portal:hover, .pebble:hover, .thumb:hover { transform: none; }
  .room__main:hover img, .pebble:hover img, .pcard:hover .pcard__ph img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js [data-reveal], .js .pcard, .js .pcard .pcard__s { opacity: 1; transform: none; }
}
