/* Casa Lavinia — legno di larice, grafite, bianco neve, rosa delle Dolomiti */

@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(/fonts/manrope-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(/fonts/manrope-latin-ext-wght-normal.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: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(/fonts/manrope-cyrillic-wght-normal.woff2) format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Cormorant"; font-style: normal; font-display: swap; font-weight: 500;
  src: url(/fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cormorant"; font-style: normal; font-display: swap; font-weight: 500;
  src: url(/fonts/cormorant-garamond-latin-ext-500-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Cormorant"; font-style: normal; font-display: swap; font-weight: 500;
  src: url(/fonts/cormorant-garamond-cyrillic-500-normal.woff2) format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Cormorant"; font-style: normal; font-display: swap; font-weight: 600;
  src: url(/fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cormorant"; font-style: normal; font-display: swap; font-weight: 600;
  src: url(/fonts/cormorant-garamond-latin-ext-600-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Cormorant"; font-style: normal; font-display: swap; font-weight: 600;
  src: url(/fonts/cormorant-garamond-cyrillic-600-normal.woff2) format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }

:root {
  --snow: #f6f2ec;
  --paper: #fffdf9;
  --ink: #24272b;
  --ink-2: #555a60;
  --line: #e3dbd0;
  --wood: #9a6235;
  --wood-2: #c99b6d;
  --wood-soft: #efe3d3;
  --rose: #c77b63;
  --rose-soft: #f3ddd4;
  --busy: #e9e4dd;
  --ok: #3d6b4f;
  --err: #a33b2c;
  --serif: "Cormorant", "Cormorant Garamond", Georgia, "Noto Serif SC", "Songti SC", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --r: 14px;
  --wrap: 1180px;
  --pad: clamp(20px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--snow); color: var(--ink); font: 400 16.5px/1.65 var(--sans); overflow-x: clip; }
h1, h2, h3, p, li, dd, dt, label, .btn, .chip { overflow-wrap: break-word; }
h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; }
/* tedesco e russo hanno parole molto lunghe: sillabazione anche nel testo sugli schermi stretti */
@media (max-width: 480px) { :lang(de) p, :lang(de) li, :lang(de) dd, :lang(ru) p, :lang(ru) li, :lang(ru) dd { hyphens: auto; -webkit-hyphens: auto; } }
body[data-lang="zh"] { line-height: 1.8; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
body[data-lang="zh"] h1, body[data-lang="zh"] h2, body[data-lang="zh"] h3 { font-family: var(--sans); font-weight: 700; letter-spacing: 0; }
h2 { font-size: clamp(34px, 4.6vw, 54px); }
h3 { font-size: 26px; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 max(var(--pad), env(safe-area-inset-right)) 0 max(var(--pad), env(safe-area-inset-left)); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.kicker, .eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--wood); margin: 0 0 14px; }
.prose p { color: var(--ink-2); font-size: 17.5px; }
.icon { width: 22px; height: 22px; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }

/* Bottoni */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; font: 600 15px/1.25 var(--sans); text-align: center;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { background: var(--wood); border-color: var(--wood); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn .icon { width: 18px; height: 18px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); cursor: pointer; transition: background .2s, border-color .2s; }
.icon-btn:hover:not([disabled]) { border-color: var(--ink); }
.icon-btn[disabled] { opacity: .35; cursor: default; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Testata */
.top { position: sticky; top: 0; z-index: 30; background: rgba(246, 242, 236, .9); backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { max-width: var(--wrap); margin: 0 auto; padding: 0 max(var(--pad), env(safe-area-inset-right)) 0 max(var(--pad), env(safe-area-inset-left)); height: 68px; display: flex; align-items: center; gap: 24px; }
.brand { font: 600 25px/1 var(--serif); text-decoration: none; letter-spacing: .01em; white-space: nowrap; padding: 10px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 34px; height: 34px; flex: none; }
.foot-logo { display: block; width: 112px; height: 112px; margin-bottom: 16px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--ink-2); padding: 6px 0; border-bottom: 1.5px solid transparent; }
.nav a:hover { color: var(--ink); border-color: var(--wood-2); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); font: 600 13px/1 var(--sans); color: var(--ink); cursor: pointer; }
.lang-btn .icon { width: 18px; height: 18px; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 6px; min-width: 170px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(36, 39, 43, .35); }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; text-decoration: none; font-size: 15px; }
.lang-menu a:hover { background: var(--snow); }
.lang-menu a[aria-current] { font-weight: 700; background: var(--wood-soft); }
.menu-btn { display: none; width: 42px; height: 42px; border: 0; background: none; color: var(--ink); cursor: pointer; place-items: center; }

/* Hero */
.hero { position: relative; display: grid; grid-template-columns: 1fr; min-height: min(86vh, 820px); }
.hero-img { position: absolute; inset: 0; overflow: hidden; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 55%; }
.hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36, 39, 43, .28) 0%, rgba(36, 39, 43, 0) 55%); }
.hero-card { position: relative; align-self: end; margin: 0 0 clamp(28px, 5vw, 64px) max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad)));
  max-width: 560px; background: var(--paper); border-radius: var(--r); padding: clamp(26px, 3.4vw, 44px); box-shadow: 0 30px 60px -30px rgba(36, 39, 43, .45); }
.hero h1 { font-size: clamp(54px, 7vw, 84px); margin-bottom: .2em; }
.lead { font-size: 18px; color: var(--ink-2); }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 24px; }
.facts li { font-size: 13.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--wood-soft); color: #5a3a1e; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.direct { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; font-size: 14px; color: var(--ink-2); }
.direct .icon { width: 18px; height: 18px; color: var(--ok); }

/* La casa */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.rooms { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 56px; }
.room-img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); margin-bottom: 14px; background: var(--busy); }
.room-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
@media (hover: hover) { .room:hover .room-img img { transform: scale(1.04); } }
.room h3 { font-size: 24px; margin-bottom: .25em; }
.room p { font-size: 15px; color: var(--ink-2); margin: 0; }

/* Separatore montagna */
.ridge { display: block; background: var(--snow); width: 100%; height: clamp(28px, 4vw, 54px); fill: var(--paper); margin-bottom: -1px; }
.photos, .area { background: var(--paper); }
.ridge.on-ink { background: var(--ink); }
.area + .info { padding-top: clamp(64px, 9vw, 112px); }

/* Galleria */
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.head-row h2 { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--snow); border-radius: 999px; padding: 8px 14px; font: 500 14px/1 var(--sans); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 12px; }
.gallery li { aspect-ratio: 4 / 3; }
.gallery li.wide { grid-column: span 2; grid-row: span 2; }
.gallery li.tall { aspect-ratio: auto; grid-row: span 2; }
.ph { display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: var(--busy); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; }
@media (hover: hover) { .ph:hover img { transform: scale(1.03); } }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20, 21, 23, .96); color: #fff; }
.lightbox[open] { display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; }
.lightbox::backdrop { background: rgba(20, 21, 23, .96); }
.lightbox figure { margin: 0; height: 100vh; height: 100dvh; display: grid; grid-template-rows: 1fr auto; align-items: center; justify-items: center; padding: 56px 0 16px; min-width: 0; }
.lightbox img { max-height: calc(100dvh - 120px); max-width: 100%; object-fit: contain; border-radius: 6px; }
.lightbox figcaption { font-size: 14px; color: #cfc8bf; padding-top: 12px; }
.lightbox .icon-btn { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; justify-self: center; }
.lb-close { position: absolute; top: 14px; right: 14px; }

/* Servizi */
.amen { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.amen li { display: flex; align-items: center; gap: 14px; background: var(--snow); padding: 22px 20px; font-size: 15.5px; font-weight: 500; }
.amen .icon { color: var(--wood); width: 26px; height: 26px; }

/* Prenotazione */
.booking { background: var(--ink); color: #f3eee7; }
.booking .kicker { color: var(--wood-2); }
.booking .intro { max-width: 640px; color: #cfc8bf; font-size: 17px; }
.q-was { opacity: .55; font-weight: 400; margin-right: 4px; }
.q-promo { color: var(--rose); font-weight: 600; }
/* Vacanza / Mese o stagione */
.stay-tabs { display: inline-flex; gap: 4px; margin-top: 28px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.08); }
.stay-tabs button { font: inherit; font-size: 15px; font-weight: 600; color: #e9e2d8; background: none; border: 0; padding: 10px 20px; border-radius: 999px; cursor: pointer; min-height: 44px; }
.stay-tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); }
.stay-tabs button:focus-visible { outline: 2px solid var(--wood-2); outline-offset: 2px; }
.stay-tabs + .book-grid { margin-top: 16px; }
.cal-card.is-long .cal-nav, .cal-card.is-long .cal-months, .cal-card.is-long .legend { display: none; }
.long-intro { margin: 0 0 14px; color: var(--ink-2); font-size: 15px; }
.long-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 10px; }
.long-item { width: 100%; text-align: left; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid rgba(0,0,0,.1); border-radius: 12px; padding: 12px 14px; cursor: pointer; display: grid; gap: 2px; min-height: 44px; }
.long-item:hover { border-color: var(--wood-2); }
.long-item.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--wood-soft); }
.long-item[aria-disabled="true"] { opacity: .5; cursor: not-allowed; background: transparent; }
.long-item[aria-disabled="true"]:hover { border-color: rgba(0,0,0,.1); }
.long-name { font-weight: 700; font-size: 16px; }
.long-when { font-size: 13px; color: var(--ink-2); }
.long-price { font-size: 14px; font-weight: 600; margin-top: 4px; }
.long-empty { color: var(--ink-2); grid-column: 1 / -1; }
@media (max-width: 680px) { .long-item { padding: 10px 11px; } .long-name { font-size: 15px; } }
@media (max-width: 680px) { .stay-tabs { display: flex; width: 100%; } .stay-tabs button { flex: 1; padding: 10px 8px; } }
.book-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 24px; margin-top: 36px; align-items: start; }
.cal-card, .req, .done { background: var(--paper); color: var(--ink); border-radius: var(--r); padding: clamp(18px, 2.4vw, 28px); }
.cal-status { font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.cal-status:empty { display: none; }
.cal-status.warn { background: var(--rose-soft); color: #6d2f20; padding: 10px 14px; border-radius: 10px; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.cal-hint { margin: 0; font-weight: 600; font-size: 15px; text-align: center; }
.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.month h3 { font: 600 22px/1.2 var(--serif); text-align: center; margin: 10px 0 12px; text-transform: capitalize; }
body[data-lang="zh"] .month h3 { font-family: var(--sans); font-size: 17px; }
.grid7 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px 0; }
.dow { font-size: 11.5px; font-weight: 700; color: var(--ink-2); text-align: center; padding-bottom: 6px; text-transform: uppercase; letter-spacing: .04em; }
.day { position: relative; aspect-ratio: 1; display: grid; place-items: center; border: 0; background: none; padding: 0; font: 500 14.5px/1 var(--sans);
  color: var(--ink); cursor: pointer; border-radius: 0; }
.day span { position: relative; z-index: 1; display: grid; place-items: center; width: 100%; height: 100%; max-width: 44px; max-height: 44px; border-radius: 50%; transition: background .15s; }
.day:hover:not([aria-disabled="true"]) span { background: var(--wood-soft); }
.day.today span { box-shadow: inset 0 0 0 1.5px var(--wood-2); }
.day[aria-disabled="true"] { cursor: default; color: #b6aea4; }
.day.struck { color: #a39a90; }
.day.struck span { text-decoration: line-through; text-decoration-color: rgba(163, 154, 144, .7); }
.day.shade::before, .day.shade-r::before, .day.shade-l::before { content: ""; position: absolute; inset: 3px 0; background: var(--busy); }
.day.shade-r::before { left: 50%; }
.day.shade-l::before { right: 50%; }
.day.past { color: #cbc4bb; }
.day.in-range::before { content: ""; position: absolute; inset: 3px 0; background: var(--rose-soft); }
.day.sel-start::before { content: ""; position: absolute; inset: 3px 0 3px 50%; background: var(--rose-soft); }
.day.sel-end::before { content: ""; position: absolute; inset: 3px 50% 3px 0; background: var(--rose-soft); }
.day.sel-start.sel-end::before { display: none; }
.day.in-range { color: var(--ink); }
.day.in-range span { text-decoration: none; }
.day.sel-start span, .day.sel-end span { background: var(--rose) !important; color: #fff; font-weight: 700; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; padding: 0; margin: 18px 0 0; font-size: 13.5px; color: var(--ink-2); }
.legend li { display: flex; align-items: center; gap: 8px; }
.lg { width: 16px; height: 16px; border-radius: 4px; border: 1px solid var(--line); background: var(--paper); }
.lg.busy { background: var(--busy); border-color: var(--busy); }
.lg.sel { background: var(--rose); border-color: var(--rose); }

.sum { display: grid; grid-template-columns: 1fr 1fr auto; gap: 4px 14px; padding-bottom: 16px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.sum > div { display: flex; flex-direction: column; }
.sum-l { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.sum-v { font: 600 21px/1.3 var(--serif); }
body[data-lang="zh"] .sum-v { font: 600 16px/1.5 var(--sans); }
.sum-n { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--wood); padding-top: 6px; white-space: nowrap; }
.sum .linkish { grid-column: 1 / -1; justify-self: start; font-size: 13.5px; color: var(--ink-2); }
.price { font-size: 14px; color: var(--ink-2); background: var(--snow); padding: 10px 14px; border-radius: 10px; }
.chk { display: flex; align-items: center; gap: 10px; font-size: 14.5px; margin: 2px 0 14px; cursor: pointer; }
.chk input { width: 20px; height: 20px; accent-color: var(--wood); margin: 0; flex: none; }
.chk-price { color: var(--ink-2); }
.quote { background: var(--snow); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 4px 0 14px; font-size: 14.5px; }
.quote h4 { margin: 0 0 8px; font: 600 19px/1.3 var(--serif); }
body[data-lang="zh"] .quote h4 { font: 600 16px/1.5 var(--sans); }
.quote dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 6px 0; }
.quote dt { color: var(--ink-2); }
.quote dd { margin: 0; padding-left: 16px; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.quote .q-total { font-weight: 700; color: var(--ink); border-top: 1px solid var(--line); padding-top: 8px; margin-top: 2px; }
.quote .q-sub { font-size: 12.5px; color: var(--ink-2); grid-column: 1 / -1; margin-top: -2px; }
.quote .q-note { margin: 10px 0 0; font-size: 13px; color: var(--ink-2); }
.quote .q-warn { margin: 0; color: var(--err); font-weight: 600; }
.f { display: block; margin-bottom: 14px; }
.f > span { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.f input, .f select, .f textarea { width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--snow); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px; transition: border-color .2s, background .2s; }
.f textarea { resize: vertical; min-height: 88px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.f [aria-invalid="true"] { border-color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-err { color: var(--err); background: #f8e5e1; border-radius: 10px; padding: 10px 14px; font-size: 14.5px; }
.fine { font-size: 13px; color: var(--ink-2); margin: 12px 0 0; }
.done { text-align: center; padding: 40px 28px; }
.done-icon { width: 52px; height: 52px; color: #fff; background: var(--ok); border-radius: 50%; padding: 12px; margin: 0 auto 14px; display: block; }
.done:focus { outline: none; }

/* Zona */
.near { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.near li { display: flex; justify-content: space-between; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.near .dist { color: var(--wood); font-weight: 600; text-align: right; white-space: nowrap; }
.area .btn { margin-top: 8px; }

/* Info */
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 36px; margin: 32px 0 40px; }
.info-grid div { border-top: 2px solid var(--wood-2); padding-top: 14px; }
.info-grid dt { font: 600 22px/1.2 var(--serif); margin-bottom: 4px; }
body[data-lang="zh"] .info-grid dt { font: 700 16px/1.4 var(--sans); }
.info-grid dd { margin: 0; color: var(--ink-2); font-size: 15px; }

/* Footer */
.foot { background: #1b1d20; color: #bdb6ad; padding: 48px 0 max(48px, calc(24px + env(safe-area-inset-bottom))); font-size: 14.5px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 32px; align-items: start; }
.foot .brand { color: #fff; margin-bottom: 8px; }
.foot p { margin: 0 0 4px; }
.cin { font-size: 13px; color: #8e877e; }
.foot-langs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 4px 24px; justify-content: start; }
.foot-langs a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.foot-langs a:hover, .foot-langs a[aria-current] { color: #fff; }
.foot-links { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.foot-links a { text-decoration: none; }

/* Pagina privacy */
.legal { max-width: 760px; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 96px); }
.legal h1 { font-size: clamp(38px, 5vw, 56px); margin-bottom: .2em; }
.legal-sub { color: var(--ink-2); margin-bottom: 36px; }
.legal section { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 22px; }
.legal h2 { font-size: 26px; margin-bottom: .4em; }
body[data-lang="zh"] .legal h2 { font-size: 19px; }
.legal p { color: var(--ink-2); }
.legal a { color: var(--wood); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-date { margin-top: 36px; font-size: 14px; }
.legal-back { margin-left: auto; }
.fine a { color: inherit; text-underline-offset: 3px; }

/* Pacchetti e offerte */
.offers { background: var(--paper); }
.offers .intro { max-width: 640px; color: var(--ink-2); font-size: 17px; }
.offers-grid { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.offer { display: flex; flex-direction: column; background: var(--snow); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.offer-img { aspect-ratio: 4 / 3; background: var(--busy); overflow: hidden; }
.offer-img img { width: 100%; height: 100%; object-fit: cover; }
.offer-ph { background: var(--wood-soft); }
.offer-ph svg { display: block; width: 100%; height: 100%; fill: var(--wood-2); }
.offer-body { display: flex; flex-direction: column; gap: 8px; padding: 20px; flex: 1; }
.offer-body h3 { margin: 0; font-size: 26px; }
body[data-lang="zh"] .offer-body h3 { font-size: 19px; }
.offer-when { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--wood); }
.offer-text { margin: 0; color: var(--ink-2); font-size: 15.5px; white-space: pre-line; }
.offer-price { margin: auto 0 4px; padding-top: 6px; font-weight: 700; font-size: 16px; }
.cal-status.note { background: var(--wood-soft); color: #5a3a1e; padding: 10px 14px; border-radius: 10px; }

/* Perché prenotare qui */
.trust { background: var(--paper); border-top: 1px solid var(--line); }
.trust .intro { max-width: 620px; color: var(--ink-2); font-size: 17px; }
.trust-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.trust-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; }
.trust-points li { display: flex; gap: 14px; align-items: flex-start; }
.trust-points .icon { width: 26px; height: 26px; color: var(--wood); margin-top: 2px; }
.trust-points h3 { font-size: 22px; margin: 0 0 4px; }
body[data-lang="zh"] .trust-points h3 { font-size: 17px; }
.trust-points p { margin: 0; color: var(--ink-2); font-size: 15px; overflow-wrap: anywhere; }
.reviews { background: var(--snow); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.reviews .kicker { margin-bottom: 4px; }
.score { display: flex; align-items: center; gap: 10px; margin: 0; font: 600 64px/1 var(--serif); }
.score .star { width: 40px; height: 40px; color: var(--wood); fill: var(--wood-2); }
.score-sub { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.reviews .btn { margin-top: 14px; }
.btn .icon { width: 16px; height: 16px; }
.tease { margin-top: clamp(36px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
  background: var(--wood-soft); border-radius: var(--r); padding: clamp(22px, 3vw, 32px); }
.tease h3 { margin: 0 0 4px; font-size: clamp(26px, 3vw, 34px); }
.tease p { margin: 0; color: #5a3a1e; max-width: 520px; }
.tease-links { display: flex; flex-wrap: wrap; gap: 10px; }
.tease .btn-ghost { background: var(--paper); }
.tease .btn-ghost:hover { background: var(--ink); }
/* Bandiere delle lingue */
.flag { width: 21px; height: 14px; flex: none; border-radius: 2.5px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); overflow: hidden; }
.lang-btn .flag { width: 22px; height: 15px; }

/* Recensioni degli ospiti */
.quotes { list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.quote { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 14px; }
.quote::before { content: "\201C"; position: absolute; top: 2px; right: 22px; font: 600 96px/1 var(--serif); color: var(--wood-soft); pointer-events: none; }
.quote-stars { margin: 0; color: var(--wood); letter-spacing: 2px; font-size: 17px; }
.quote blockquote { margin: 0; flex: 1; }
.quote blockquote p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--ink); }
.quote-foot { display: flex; align-items: center; gap: 12px; }
.quote-foot div { display: flex; flex-direction: column; line-height: 1.3; }
.quote-foot span:not(.avatar) { color: var(--ink-2); font-size: 14px; }
.avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--rose-soft); color: #8a4a35; font: 600 22px/1 var(--serif); }
.quote:nth-child(2n) .avatar { background: var(--wood-soft); color: #6e4421; }
.quote-src { align-self: flex-start; display: inline-flex; min-height: 32px; margin: -5px 0; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.quote-src .icon { width: 14px; height: 14px; }
.quote-src:hover { color: var(--ink); }
@media (max-width: 920px) { .trust-grid { grid-template-columns: 1fr; } .reviews { max-width: 420px; } }
@media (max-width: 600px) { .trust-points { grid-template-columns: 1fr; } .tease-links, .tease-links .btn { width: 100%; } }

/* Responsive */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .rooms { grid-template-columns: repeat(3, 1fr); }
  .amen { grid-template-columns: repeat(3, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1080px) {
  .menu-btn { display: grid; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--snow); border-bottom: 1px solid var(--line);
    padding: 8px var(--pad) 16px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .top-actions { margin-left: auto; }
}
@media (max-width: 920px) {
  .book-grid { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .top-in { gap: 12px; height: 62px; }
  .nav { top: 62px; }
  .brand { font-size: 22px; gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .top-actions .btn-small { display: none; }
  .hero { min-height: 0; }
  .hero-img { position: relative; height: 58vh; height: 58svh; min-height: 280px; }
  .hero-img::after { display: none; }
  .hero-card { margin: -64px 14px 0; box-shadow: 0 20px 40px -24px rgba(36, 39, 43, .4); }
  .lead { font-size: 16.5px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .rooms { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 8px; margin-top: 36px; scrollbar-width: none; }
  .rooms::-webkit-scrollbar { display: none; }
  .room { scroll-snap-align: start; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); }
  .chip { white-space: nowrap; }
  .amen { grid-template-columns: 1fr 1fr; }
  .amen li { padding: 16px 14px; font-size: 14.5px; gap: 10px; align-items: flex-start; }
  .cal-months { grid-template-columns: 1fr; }
  .cal-months .month + .month { display: none; }
  .cal-card, .req { padding: 18px 14px; }
  .info-grid { grid-template-columns: 1fr; gap: 20px; }
  .foot-in { grid-template-columns: 1fr; }
  .lightbox[open] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; }
  .lightbox figure { grid-column: 1 / -1; grid-row: 1; height: auto; padding: 64px 8px 0; }
  .lightbox img { max-height: calc(100dvh - 170px); }
  .lb-prev, .lb-next { grid-row: 2; margin: 12px 0 24px; }
}

/* ── Rifiniture responsive ── */

/* Prenotazione: calendario e modulo uno sotto l'altro fino a 1100 px (giorni grandi sui tablet) */
@media (max-width: 1100px) {
  .book-grid { grid-template-columns: 1fr; }
  .req { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; align-items: start; }
  .req > * { grid-column: 1 / -1; }
  .req > .f:nth-of-type(1), .req > .f:nth-of-type(2), .req > .f:nth-of-type(3), .req > .f:nth-of-type(4) { grid-column: auto; }
  .req .btn-wide { justify-self: start; width: auto; min-width: 280px; }
  .day span { max-width: 52px; max-height: 52px; }
}
@media (max-width: 680px) {
  .req { display: block; }
  .req .btn-wide { width: 100%; min-width: 0; }
  .day span { max-width: 44px; max-height: 44px; }
}

/* Telefoni piccoli */
@media (max-width: 380px) {
  :root { --pad: 16px; }
  .hero h1 { font-size: 46px; }
  h2 { font-size: 32px; }
  .hero-card { margin: -56px 8px 0; padding: 22px 18px; }
  .facts li { font-size: 12.5px; padding: 5px 10px; }
  .amen { grid-template-columns: 1fr; }
  .top-in { gap: 8px; }
  .brand { font-size: 19px; gap: 7px; }
  .brand img { width: 26px; height: 26px; }
  .lang-btn { padding: 0 10px; }
  .menu-btn { width: 40px; }
  .sum { grid-template-columns: 1fr 1fr; }
  .sum-n { grid-column: 1 / -1; padding-top: 2px; }
  .dow { font-size: 10.5px; letter-spacing: 0; }
  .day { font-size: 13.5px; }
  .cal-card, .req { padding: 16px 10px; }
  .near li { flex-direction: column; gap: 2px; }
  .near .dist { text-align: left; }
  .legal h1 { font-size: 34px; }
}

/* Telefoni in orizzontale e schermi bassi: foto e titolo affiancati */
@media (orientation: landscape) and (max-height: 540px) and (min-width: 600px) {
  .top-in { height: 56px; }
  .nav { top: 56px; }
  html { scroll-padding-top: 64px; }
  .hero { grid-template-columns: 1fr 1fr; min-height: 0; }
  .hero-img { position: relative; height: auto; min-height: calc(100vh - 56px); min-height: calc(100svh - 56px); }
  .hero-img::after { display: none; }
  .hero-card { margin: 0; max-width: none; border-radius: 0; box-shadow: none; align-self: stretch; display: flex; flex-direction: column; justify-content: center;
    padding: 20px max(24px, env(safe-area-inset-right)) 20px 28px; }
  .hero h1 { font-size: 40px; }
  .hero .eyebrow, .direct { display: none; }
  .lead { font-size: 15px; margin-bottom: 12px; }
  .hero-cta .btn { min-height: 42px; padding: 0 16px; font-size: 14px; }
  .facts { margin-bottom: 14px; }
  .lightbox[open] { grid-template-columns: 60px 1fr 60px; grid-template-rows: none; }
  .lightbox figure { grid-column: auto; grid-row: auto; height: 100dvh; padding: 12px 0; }
  .lightbox img { max-height: calc(100dvh - 60px); }
  .lb-prev, .lb-next { grid-row: auto; margin: 0; }
}

/* Schermi grandi */
@media (min-width: 1600px) {
  :root { --wrap: 1360px; }
  body { font-size: 17.5px; }
  .hero { min-height: min(80vh, 980px); }
  .hero-card { max-width: 620px; }
  .rooms { gap: 28px; }
}
@media (min-width: 2200px) {
  :root { --wrap: 1560px; }
  body { font-size: 18.5px; }
  .hero { min-height: min(78vh, 1180px); }
  .hero-card { max-width: 680px; }
  .hero h1 { font-size: 96px; }
}
