/* ALLA POSTA — foglio di stile unico
   Concetto: pagine come una "guida di riserva" — testo a colonna leggibile,
   bande colore lago/canneto, epigrafi latine in capitale romana. */

:root {
  /* colore: acqua del Fibreno, canneto, calcare, inchiostro */
  --bg: #f2f4f1;          /* calcare chiaro, leggermente verde */
  --surface: #ffffff;
  --surface-2: #e4ebe7;   /* fondo bande */
  --fg: #16231f;          /* inchiostro verde-nero */
  --muted: #4f615b;
  --line: #c9d4cf;
  --lake: #0e6f6b;        /* turchese profondo del lago (accento) */
  --lake-ink: #ffffff;
  --reed: #a48e4f;        /* oro del logo Alla Posta (marchio) */
  --deep: #0b2f2d;        /* banda scura */
  --deep-fg: #e6f0ec;
  --ok: #2f7a45;
  --focus: #e0a43a;

  /* tipografia */
  --f-display: "Gloock", "Georgia", "Times New Roman", serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-epi: "Cinzel", "Trajan Pro", "Georgia", serif;

  --s-xs: .8125rem; --s-sm: .9375rem; --s-md: 1.0625rem; --s-lg: 1.375rem;
  --s-xl: clamp(1.75rem, 3.2vw, 2.4rem); --s-xxl: clamp(2.3rem, 6vw, 4.2rem);
  --r: 6px;
  --wrap: 1180px;
  --read: 68ch;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1716; --surface: #15201e; --surface-2: #1a2826; --fg: #e4ece8; --muted: #9fb2ab;
    --line: #2b3b38; --lake: #4cc2b8; --lake-ink: #06201e; --reed: #c4ae6e; --deep: #081312;
    --deep-fg: #dbe8e3; --ok: #6cc085; --focus: #f0b85a; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1716; --surface: #15201e; --surface-2: #1a2826; --fg: #e4ece8; --muted: #9fb2ab;
  --line: #2b3b38; --lake: #4cc2b8; --lake-ink: #06201e; --reed: #c4ae6e; --deep: #081312;
  --deep-fg: #dbe8e3; --ok: #6cc085; --focus: #f0b85a; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *{animation:none!important;transition:none!important} }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 var(--s-md)/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--lake); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.12; text-wrap: balance; margin: 0; letter-spacing: -.005em; }
h1 { font-size: var(--s-xxl); }
h2 { font-size: var(--s-xl); }
h3 { font-size: var(--s-lg); }
p { margin: 0; }
.prose > * + * { margin-top: 1em; }
.prose { max-width: var(--read); }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .35em; }

.skip { position: absolute; left: -999px; top: 0; background: var(--fg); color: var(--bg); padding: .6em 1em; z-index: 99; }
.skip:focus { left: max(16px, env(safe-area-inset-left, 0px)); }

.wrap {
  max-width: var(--wrap); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.band { padding-block: clamp(3rem, 7vw, 5.5rem); }
.band--tint { background: var(--surface-2); }
.band--deep { background: var(--deep); color: var(--deep-fg); }
.band--deep a { color: var(--deep-fg); }
.band--deep .muted { color: color-mix(in srgb, var(--deep-fg) 72%, transparent); }

.eyebrow { font: 600 var(--s-xs)/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--lake); }
.band--deep .eyebrow { color: var(--reed); }
.muted { color: var(--muted); }
.small { font-size: var(--s-sm); }
.lead { font-size: var(--s-lg); line-height: 1.5; max-width: 60ch; }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.stack-lg { display: flex; flex-direction: column; gap: 2rem; }

/* ===== header ===== */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.brand { display: block; line-height: 0; padding-block: 6px; }
.brand img { height: 58px; width: auto; }
.foot-logo { height: 120px; width: auto; align-self: flex-start; }
.nav { margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.nav a { color: var(--fg); text-decoration: none; white-space: nowrap; padding: .5rem .55rem; border-radius: var(--r); font-size: var(--s-sm); font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--surface-2); }
.nav .lang { font-weight: 700; letter-spacing: .06em; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 var(--s-sm)/1 var(--f-body); padding: .9em 1.3em; border-radius: var(--r);
  border: 1px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.btn--primary { background: var(--lake); color: var(--lake-ink); }
.btn--primary:hover { filter: brightness(1.08); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--wa { background: #1f8f4e; color: #fff; }
.nav .btn { margin-left: .5rem; padding: .75em 1.1em; }
.nav .btn:hover { background: var(--lake); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--fg); border-radius: var(--r); padding: .55rem .8rem; font: 600 var(--s-sm) var(--f-body); }
@media (max-width: 1180px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line);
    padding: .5rem max(16px, env(safe-area-inset-right, 0px)) 1rem max(16px, env(safe-area-inset-left, 0px)); }
  .nav.open { display: flex; }
  .nav a { padding: .8rem .5rem; font-size: var(--s-md); }
  .nav .btn { margin: .5rem 0 0; }
}

/* ===== hero ===== */
.hero { position: relative; overflow: hidden; background: var(--deep); color: var(--deep-fg); }
.hero .wrap { position: relative; z-index: 2; padding-block: clamp(3rem, 8vw, 6rem) clamp(9rem, 16vw, 12rem); display: grid; gap: 1.25rem; }
.hero h1 { max-width: 15ch; }
.hero .lead { color: color-mix(in srgb, var(--deep-fg) 85%, transparent); }
.hero-art { position: absolute; inset: auto 0 0 0; z-index: 1; width: 100%; height: auto; pointer-events: none; }
.hero--page .wrap { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(6rem, 11vw, 8rem); }
.hero--page h1 { max-width: 20ch; }
.hero--foto {
  background:
    linear-gradient(to bottom, rgb(0 0 0 / .72), rgb(0 0 0 / .52) 55%, var(--deep)),
    var(--hero-img, none) var(--hero-pos, center) / cover no-repeat,
    var(--deep);
}
/* foto delle hero: una classe per pagina (i percorsi sono relativi a questo file, valgono anche per /en/) */
.hero-img-home     { --hero-img: url("../img/foto/hero-home.webp");     --hero-pos: center 60%; }
.hero-img-alloggio { --hero-img: url("../img/foto/hero-alloggio.webp"); --hero-pos: center 55%; }
.hero-img-lago     { --hero-img: url("../img/foto/hero-lago.webp"); }
.hero-img-storia   { --hero-img: url("../img/foto/hero-storia.webp");   --hero-pos: center 60%; }
.hero-img-dintorni { --hero-img: url("../img/foto/hero-dintorni.webp"); }
.hero-img-natura   { --hero-img: url("../img/foto/hero-natura.webp"); }
.hero-img-sapori   { --hero-img: url("../img/foto/hero-sapori.webp"); }
.hero-img-radici   { --hero-img: url("../img/foto/hero-radici.webp"); }
.hero-img-contatti { --hero-img: url("../img/foto/hero-contatti.webp"); }
.hero-img-prenota  { --hero-img: url("../img/foto/hero-prenota.webp"); }
.hero--foto .hero-art { display: none; }
.hero--foto .wrap { text-shadow: 0 1px 3px rgb(0 0 0 / .7); }
.hero.hero--foto .epigraph { color: color-mix(in srgb, var(--reed) 30%, #fff); }
.hero.hero--foto .epigraph cite { opacity: .95; }
.hero.hero--foto .eyebrow { color: color-mix(in srgb, var(--reed) 30%, #fff); }

.epigraph { font-family: var(--f-epi); font-size: clamp(.95rem, 1.6vw, 1.1rem); letter-spacing: .08em; line-height: 1.5; max-width: 52ch; }
.epigraph cite { display: block; font: italic 400 var(--s-sm)/1.4 var(--f-body); letter-spacing: 0; margin-top: .35rem; opacity: .8; }
.hero .epigraph { color: var(--reed); }

/* booking bar */
.bookbar { position: relative; z-index: 3; margin-top: -4.5rem; }
.bookbar form { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 40px -24px rgb(0 0 0 / .45);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: .75rem; padding: 1rem; align-items: end; }
.field { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.field label { font: 600 var(--s-xs)/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  font: 400 var(--s-md) var(--f-body); color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
  padding: .7rem .75rem; width: 100%; min-width: 0;
}
.field textarea { min-height: 7rem; resize: vertical; }
.bookbar .note { grid-column: 1 / -1; font-size: var(--s-xs); color: var(--muted); }
@media (max-width: 760px) { .bookbar form { grid-template-columns: 1fr 1fr; } .bookbar .btn { grid-column: 1 / -1; } }

/* ===== grids ===== */
.grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.split--top { align-items: start; }
.split > *, .grid > *, .cta > * { min-width: 0; }
@media (max-width: 960px) { .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .g-2, .g-3, .g-4, .split { grid-template-columns: minmax(0, 1fr); } }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.sec-head > div { max-width: 62ch; display: flex; flex-direction: column; gap: .6rem; }

/* photo slot: il webmaster sostituisce con <img> */
.ph { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: var(--ar, 4 / 3); max-width: 100%;
  background:
    linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--lake) 55%, var(--deep)) 55.5%),
    linear-gradient(160deg, color-mix(in srgb, var(--lake) 30%, var(--surface-2)), color-mix(in srgb, var(--reed) 25%, var(--surface-2)));
}
.ph::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(120% 60% at 30% 58%, color-mix(in srgb, var(--deep) 55%, transparent) 0 40%, transparent 41%),
  radial-gradient(90% 50% at 80% 60%, color-mix(in srgb, var(--deep) 40%, transparent) 0 40%, transparent 41%); opacity: .55; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph figcaption { position: absolute; left: .6rem; bottom: .6rem; right: .6rem; font: 600 .6875rem/1.3 var(--f-body); letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: rgb(0 0 0 / .45); padding: .35rem .5rem; border-radius: 4px; width: fit-content; max-width: calc(100% - 1.2rem); }

/* cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: clamp(1.1rem, 2.5vw, 1.6rem); display: flex; flex-direction: column; gap: .75rem; min-width: 0; }
.card .ph { margin-bottom: .25rem; border-radius: 10px 10px 0 0; }
.card h3 { font-size: 1.35rem; }
.card .meta { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { font: 600 var(--s-xs)/1 var(--f-body); padding: .45em .65em; border-radius: 999px; background: var(--surface-2); color: var(--fg); white-space: nowrap; }
.chip--lake { background: color-mix(in srgb, var(--lake) 16%, transparent); color: var(--lake); }
.card .actions { margin-top: auto; padding-top: .5rem; display: flex; gap: .6rem; flex-wrap: wrap; }

/* lista punti di forza */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.ticks li { padding-left: 1.6rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: .8rem; height: .45rem; border-left: 2px solid var(--lake); border-bottom: 2px solid var(--lake); transform: rotate(-45deg); }
.band--deep .ticks li::before { border-color: var(--reed); }

/* quote */
.quote { border-left: 3px solid var(--reed); padding: .25rem 0 .25rem 1.25rem; display: flex; flex-direction: column; gap: .5rem; max-width: 60ch; }
.quote .la { font-family: var(--f-epi); letter-spacing: .05em; font-size: 1.05rem; }
.quote .it { font-family: var(--f-display); font-size: 1.35rem; line-height: 1.35; }
.quote cite { font-style: normal; font-size: var(--s-sm); color: var(--muted); }

/* tabella distanze */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: var(--s-sm); }
th, td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 600 var(--s-xs)/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
.compare th { text-align: center; }
tr:last-child td { border-bottom: 0; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* fatti numerici del lago */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.facts div { padding: 1.1rem 1rem 0 0; display: flex; flex-direction: column; gap: .2rem; }
.facts b { font: 400 clamp(1.8rem, 4vw, 2.6rem)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.facts span { font-size: var(--s-sm); color: var(--muted); }
@media (max-width: 680px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1rem; } }

/* passi (sequenza vera) */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 1rem; }
.steps li::before { content: counter(s); font: 400 1.5rem/2.6rem var(--f-display); text-align: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--reed); color: var(--reed); }
.steps h3 { font-size: 1.2rem; margin-bottom: .3rem; }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
details summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
details summary::after { content: "+"; font: 400 1.4rem/1 var(--f-display); color: var(--lake); }
details[open] summary::after { content: "–"; }
details p { margin-top: .6rem; color: var(--muted); }

/* recensioni */
.reviews-slot { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.reviews { columns: 3 20rem; column-gap: 1.25rem; width: 100%; }
.reviews .review { break-inside: avoid; margin-bottom: 1.25rem; }
.review { position: relative; margin: 0; padding: 1.5rem 1.75rem; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--reed); border-radius: var(--r);
  display: flex; flex-direction: column; gap: 1.25rem; }
.review .stars { margin: 0; color: var(--reed); letter-spacing: .15em; font-size: 1rem; line-height: 1; }
.review blockquote { margin: 0; }
.review blockquote p { margin: 0; font: 400 var(--s-md)/1.65 var(--f-body); }
.review figcaption { display: flex; flex-direction: column; gap: .15rem; font-size: var(--s-sm); }
.review figcaption span { color: var(--muted); }

/* cta finale */
.cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; }
.cta .btns { display: flex; gap: .75rem; flex-wrap: wrap; }
@media (max-width: 760px) { .cta { grid-template-columns: minmax(0, 1fr); } }

/* box prenotazione */
.engine { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: clamp(1.2rem, 3vw, 2rem); display: flex; flex-direction: column; gap: 1rem; }
.engine-slot { border: 2px dashed color-mix(in srgb, var(--lake) 45%, var(--line)); border-radius: var(--r); padding: 1.25rem; font-size: var(--s-sm); color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.out { background: var(--surface-2); border-radius: var(--r); padding: 1rem; white-space: pre-wrap; font-size: var(--s-sm); }
.compare { width: 100%; min-width: 420px; }
.compare td:nth-child(2), .compare td:nth-child(3) { text-align: center; }

/* footer */
.site-foot { background: var(--deep); color: var(--deep-fg); padding-block: 3rem 2rem; font-size: var(--s-sm); }
.site-foot a { color: var(--deep-fg); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.foot-grid h4 { font: 600 var(--s-xs)/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--reed); margin: 0 0 .8rem; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.foot-legal { border-top: 1px solid color-mix(in srgb, var(--deep-fg) 18%, transparent); margin-top: 2rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; opacity: .85; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* barra mobile prenota */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta { display: flex; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--surface); border-top: 1px solid var(--line);
    padding: .6rem max(12px, env(safe-area-inset-right, 0px)) calc(.6rem + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); }
  .mobile-cta .btn { flex: 1; }
  body { padding-bottom: 4.5rem; }
}
.verify { font-size: var(--s-xs); color: var(--muted); border-top: 1px solid var(--line); padding-top: .75rem; margin-top: 1rem; max-width: var(--read); }
@media (max-width: 560px) { .btn { white-space: normal; text-align: center; line-height: 1.25; } }

/* ===== calcolatore preventivo ===== */
.qbox { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: clamp(1rem, 3vw, 2rem); }
.q-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.25rem, 4vw, 3rem); align-items: start; }
@media (max-width: 860px) { .q-grid { grid-template-columns: minmax(0, 1fr); } }
.q-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; align-items: end; }
.qbox .q-day { display: none; }
.qbox.is-dayuse .q-day { display: flex; }
.qbox.is-dayuse .q-nights { display: none; }
.check { display: flex; gap: .55rem; align-items: flex-start; font-size: var(--s-sm); cursor: pointer; }
.check input { width: 1.1rem; height: 1.1rem; margin-top: .2rem; accent-color: var(--lake); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.q-panel { background: var(--surface-2); border-radius: var(--r); padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .6rem; }
.q-table { width: 100%; min-width: 0; border-collapse: collapse; font-size: var(--s-sm); font-variant-numeric: tabular-nums; }
.q-table th, .q-table td { background: none; border-bottom: 1px solid var(--line); padding: .5rem 0; text-transform: none; letter-spacing: 0; font: inherit; color: var(--fg); vertical-align: top; }
.q-table th { text-align: left; padding-right: 1rem; }
.q-table td { text-align: right; white-space: nowrap; }
.q-sub { display: block; font-size: var(--s-xs); color: var(--muted); margin-top: .15rem; }
.q-table .q-sum th, .q-table .q-sum td { font-weight: 600; }
.q-table .q-total th, .q-table .q-total td { font: 400 1.35rem/1.2 var(--f-display); border-bottom: 0; padding-top: .7rem; }
.q-err, .q-warn, .q-ok { list-style: none; margin: 0; padding: .7rem .9rem; border-radius: var(--r); font-size: var(--s-sm); display: grid; gap: .35rem; }
.q-err { background: color-mix(in srgb, #c0392b 12%, transparent); color: var(--fg); border-left: 3px solid #c0392b; }
.q-warn { background: color-mix(in srgb, var(--reed) 16%, transparent); border-left: 3px solid var(--reed); }
.q-ok { background: color-mix(in srgb, var(--ok) 15%, transparent); border-left: 3px solid var(--ok); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
/* calendario */
.cal { border: 1px solid var(--line); border-radius: var(--r); padding: .9rem; display: flex; flex-direction: column; gap: .6rem; }
.cal-head { display: flex; justify-content: space-between; align-items: center; }
.cal-nav { background: none; border: 1px solid var(--line); color: var(--fg); border-radius: var(--r); width: 2.2rem; height: 2.2rem; font-size: 1.2rem; cursor: pointer; }
.cal-months { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 520px) { .cal-months { grid-template-columns: minmax(0, 1fr); } }
.cal-title { font-weight: 600; font-size: var(--s-sm); text-transform: capitalize; margin-bottom: .35rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.cal-dow { font-size: .6875rem; color: var(--muted); text-align: center; padding-bottom: 2px; }
.cal-day { aspect-ratio: 1; max-width: 100%; border: 0; border-radius: 4px; background: var(--bg); color: var(--fg); font: 500 .8125rem/1 var(--f-body); font-variant-numeric: tabular-nums; cursor: pointer; padding: 0; }
.cal-day:hover:not([disabled]) { outline: 1px solid var(--lake); }
.cal-day.is-past { opacity: .35; cursor: default; }
.cal-day.is-busy { background: color-mix(in srgb, var(--muted) 22%, transparent); color: var(--muted); text-decoration: line-through; }
.cal-day.is-sel { background: var(--lake); color: var(--lake-ink); }
.cal-day.is-sel.is-busy { background: #c0392b; color: #fff; }
.cal-day.is-out { box-shadow: inset 0 0 0 2px var(--lake); }
/* tabella tariffe */
.rates td.num, .rates th.num { text-align: center; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.75rem 1.5rem; display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--reed); }
.timeline .yr { font: 400 1.25rem/1.3 var(--f-display); font-variant-numeric: tabular-nums; color: var(--reed); }
.timeline h3 { font-size: 1.2rem; margin-bottom: .3rem; }
@media (max-width: 560px) { .timeline li { grid-template-columns: minmax(0, 1fr); gap: .2rem; } }
.ph.has-img::before { display: none; }
.ph.has-img figcaption { display: none; }



.nav .btn  {
  color: #fff;

}

.hero .eyebrow {
 
  color: #fff;
}

/* galleria fotografica con miniature + slideshow (alloggio.html, en/index.html) */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem;
  grid-template-columns: repeat(auto-fill, minmax(min(9rem, 100%), 1fr)); }
.gallery a { display: block; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--surface-2); }
.gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, opacity .2s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.lb { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: #0b100f; color: #fff; overscroll-behavior: contain; }
.lb::backdrop { background: rgb(0 0 0 / .6); }
.lb[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: .75rem 1rem; font: 500 var(--s-sm)/1 var(--f-body); }
.lb-stage { position: relative; min-height: 0; touch-action: pan-y; }
.lb-stage img { position: absolute; inset: 0; margin: auto; max-width: calc(100% - 7rem); max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lb-cap { margin: 0; padding: .75rem 1rem 1.25rem; text-align: center; font: 400 var(--s-md)/1.4 var(--f-body); min-height: 3rem; }
.lb button { appearance: none; border: 0; cursor: pointer; color: #fff; background: rgb(255 255 255 / .12); border-radius: 999px;
  width: 2.75rem; height: 2.75rem; display: grid; place-items: center; font-size: 1.4rem; line-height: 1; }
.lb button:hover { background: rgb(255 255 255 / .24); }
.lb button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.lb-prev, .lb-next { position: absolute; z-index: 1; top: 50%; transform: translateY(-50%); }
.lb-prev { left: .5rem; } .lb-next { right: .5rem; }
@media (max-width: 640px) { .lb-stage img { max-width: 100%; } .lb-prev, .lb-next { background: rgb(0 0 0 / .45); } }
html.lb-lock { overflow: hidden; }

