/* ==========================================================================
   Albergo Ristorante Altopiano – foglio di stile unico
   Riproduce l'identità visiva del sito originale (tema Jupiter) senza framework.
   Misure ricavate dal sito originale a 1920 / 1440 / 768 / 375 px.
   ========================================================================== */

/* ---------- Font (self-hosted, OFL) ---------- */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/montserrat-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: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Variabili ---------- */
:root {
  --green: #0f4837;
  --green-60: rgba(15, 72, 55, .6);
  --yellow: #fdcf5f;
  --leaf: #61a229;
  --text: #000;
  --btn-text: #252525;
  --line: #e0e0e0;
  --bg-soft: #f7f7f7;
  --error: #ffb4b4;
  --header-h: 90px;
  --header-h-sticky: 55px;
  --gutter: 20px;
  --col8: calc(66.666% - 30px);   /* colonna 8/12 a tutta larghezza (come le righe "full width" del tema) */
  --font: "Montserrat", Arial, Helvetica, sans-serif;
}

/* ---------- Reset essenziale ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h-sticky) + 10px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.66;
  color: var(--text);
  background: #fff;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
source { display: none; }   /* con picture{display:contents} le <source> non devono diventare celle di griglia */
a { color: var(--green); }
a:hover { color: var(--leaf); }
p { margin: 0 0 20px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.3; }
ul { margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--yellow); color: var(--green); padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; }

/* Contenitore: 1140 px di contenuto (come il tema) */
.container { max-width: calc(1140px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
/* Colonna di testo centrale 8/12 del contenitore (730 px) */
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; padding-left: 15px; padding-right: 15px; }
/* Colonna 8/12 calcolata sulla larghezza intera della pagina */
.wide-col { width: var(--col8); margin-left: auto; margin-right: auto; }

/* ---------- Titoli e testi ---------- */
.title {
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3;
  padding-bottom: 34px;
  margin-bottom: 18px;
  color: var(--green);
}
.title--white { color: #fff; }
.title--yellow { color: var(--yellow); }
.title--sm { font-size: 24px; padding-bottom: 30px; margin-bottom: 0; }
.text { font-size: 16px; line-height: 1.66; }
.text strong { font-weight: 800; }
.text--center { text-align: center; }

/* ---------- Bottoni (stile "flat" del tema) ---------- */
.btn {
  display: inline-block;
  min-width: 200px;
  padding: 19px 28px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 0;
  transition: background-color .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.btn--yellow { background: var(--yellow); color: var(--btn-text); border-color: var(--yellow); }
.btn--yellow:hover { background: var(--green); color: var(--yellow); border-color: var(--yellow); }
.btn--outline-yellow { min-width: 0; background: transparent; color: var(--yellow); border-color: var(--yellow); border-radius: 2px; font-size: 18px; font-weight: 800; letter-spacing: 0; padding: 8px 20px; line-height: 1.15; }
.btn--outline-yellow:hover { background: var(--yellow); color: var(--green); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--outline-light:hover { background: #fff; color: var(--green); }
.btn-row { text-align: center; }

/* ==========================================================================
   Header e navigazione
   Desktop: trasparente sopra l'immagine d'apertura, verde e ridotto allo scroll.
   ≤1140 px: barra verde non fissa con menu a tendina bianco (come l'originale).
   ========================================================================== */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); transition: height .25s ease; }
.site-header::before { content: ""; position: absolute; inset: 0; background: var(--green); opacity: 0; transition: opacity .25s ease; }
.site-header.is-scrolled, .no-hero .site-header { height: var(--header-h-sticky); }
.site-header.is-scrolled::before, .no-hero .site-header::before { opacity: 1; }
.no-hero main { padding-top: var(--header-h-sticky); }
.site-header__inner { position: relative; height: 100%; padding: 0 30px 0 20px; display: flex; align-items: stretch; justify-content: space-between; }
.site-logo { position: relative; display: block; height: 100%; flex-shrink: 0; }
.site-logo img { height: 100%; width: auto; }
.site-logo__sticky { display: none; }
.site-header.is-scrolled .site-logo__top, .no-hero .site-logo__top { display: none; }
.site-header.is-scrolled .site-logo__sticky, .no-hero .site-logo__sticky { display: block; }

.site-nav { height: 100%; }
.site-nav__list { list-style: none; display: flex; height: 100%; }
.site-nav__item { position: relative; display: flex; align-items: stretch; }
.site-nav__item > a {
  display: flex; align-items: center;
  padding: 2px 20px 0;
  color: #fff; text-decoration: none;
  font-size: 13px; font-weight: 600; text-transform: uppercase;
  border-top: 2.4px solid transparent;
  transition: color .2s, border-color .2s;
}
.site-nav__item > a:hover, .site-nav__item.is-active > a, .has-sub:hover > a { border-top-color: #fff; color: #fff; }
.site-header.is-scrolled .site-nav__item > a, .no-hero .site-nav__item > a { color: var(--yellow); }
.site-header.is-scrolled .site-nav__item > a:hover, .site-header.is-scrolled .site-nav__item.is-active > a, .site-header.is-scrolled .has-sub:hover > a,
.no-hero .site-nav__item > a:hover, .no-hero .site-nav__item.is-active > a { border-top-color: var(--yellow); }
.sub-toggle { display: none; }
.site-nav__sub {
  list-style: none;
  position: absolute; top: 100%; left: 0; width: 270px;
  background: var(--green); padding: 0;
  border-top: 3px solid var(--yellow);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.has-sub:hover > .site-nav__sub, .has-sub:focus-within > .site-nav__sub { opacity: 1; visibility: visible; transform: none; }
.site-nav__sub a { display: block; padding: 12px 20px; color: #fff; text-decoration: none; font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: 1px; line-height: 1.4; }
.site-nav__sub a:hover, .site-nav__sub a[aria-current] { background: var(--yellow); color: var(--green); }
.nav-toggle { display: none; color: var(--yellow); width: 44px; align-items: center; justify-content: center; }
.nav-toggle .icon { width: 24px; height: 24px; stroke-width: 3; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

@media (max-width: 1140px) {
  .site-header, .site-header.is-scrolled { position: relative; height: auto; }
  .site-header::before, .site-header.is-scrolled::before { opacity: 1; }
  .no-hero main { padding-top: 0; }
  .site-header__inner { height: auto; flex-wrap: wrap; padding: 0 20px; }
  .site-logo { display: flex; align-items: center; height: var(--header-h); }
  .site-logo__top, .site-header.is-scrolled .site-logo__top { display: none; }
  .site-logo img.site-logo__sticky { display: block; height: 50px; width: auto; }
  .nav-toggle { display: inline-flex; }
  /* tendina a tutta larghezza, sotto la barra (annulla il padding laterale) */
  .site-nav { position: relative; height: auto; display: none; background: #fff; flex: 0 0 calc(100% + 40px); width: calc(100% + 40px); margin: 0 -20px; }
  .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; height: auto; }
  .site-nav__item { flex-wrap: wrap; border-bottom: 1px solid #ededed; }
  .site-nav__item > a, .site-header.is-scrolled .site-nav__item > a {
    flex: 1; padding: 15px 20px; border: 0; height: auto;
    color: #444; font-size: 13px; font-weight: 700;
  }
  /* annulla il bianco/giallo del menu desktop (hover "appiccicoso" al tocco) */
  .site-nav__item > a:hover, .site-nav__item.is-active > a, .has-sub:hover > a,
  .site-header.is-scrolled .site-nav__item > a:hover, .site-header.is-scrolled .site-nav__item.is-active > a, .site-header.is-scrolled .has-sub:hover > a,
  .no-hero .site-nav__item > a, .no-hero .site-nav__item > a:hover, .no-hero .site-nav__item.is-active > a, .no-hero .has-sub:hover > a { color: var(--green); border: 0; }
  .site-nav__item:not(.is-active) > a:not(:hover) { color: #444; }
  .sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 56px; color: #444; }
  .sub-toggle .icon { width: 18px; height: 18px; stroke-width: 3; transition: transform .2s; }
  .sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .site-nav__sub, .has-sub:hover > .site-nav__sub { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: #f7f7f7; display: none; }
  .site-nav__sub.is-open, .has-sub:hover > .site-nav__sub.is-open { display: block; }
  .site-nav__sub a { color: #444; padding: 13px 20px 13px 36px; font-size: 12px; border-top: 1px solid #ededed; }
}

/* ==========================================================================
   Sezioni
   ========================================================================== */
.section { padding: 40px 0; }
.section--green { background: var(--green); color: #fff; }
.section--green .text, .section--green p { color: #fff; }
.section--green a:not(.btn) { color: var(--yellow); }
.section--yellow { background: var(--yellow); }

/* Divisori obliqui (come gli "shape divider" del tema originale) */
.shaped { --shape: 60px; position: relative; padding: 110px 0 130px; clip-path: polygon(0 var(--shape), 50% 0, 100% var(--shape), 100% calc(100% - var(--shape)), 50% 100%, 0 calc(100% - var(--shape))); }
.shaped--top { padding-bottom: 50px; clip-path: polygon(0 var(--shape), 50% 0, 100% var(--shape), 100% 100%, 0 100%); }
@media (max-width: 1023px) { .shaped { --shape: 90px; } }
@media (max-width: 767px) { .shaped { --shape: 115px; padding-top: 115px; padding-bottom: 130px; } .shaped--top { padding-bottom: 40px; } }

/* Immagine d'apertura delle pagine interne (sotto l'header trasparente) */
.page-hero img { width: 100%; height: auto; aspect-ratio: 1920 / 956; object-fit: cover; }

/* Immagine a tutta larghezza */
.full-img img, img.full-img { width: 100%; height: auto; }

/* Sezioni con immagine di sfondo (Home: Ristorante / Le Manie) */
.bg-section { position: relative; overflow: hidden; color: #fff; isolation: isolate; }
.bg-section__img, .bg-section__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.bg-section .text { color: #fff; }
.bg-section--ristorante { --shape: 60px; padding: 110px 0 92px; clip-path: polygon(0 var(--shape), 50% 0, 100% var(--shape), 100% 100%, 0 100%); }
.bg-section--manie { padding: 70px 0; }
.overlay-box { width: 50%; margin: 0 auto; background: var(--green-60); padding: 40px 15px; text-align: center; }
.overlay-box .text { text-transform: uppercase; font-size: 16px; margin: 0 0 39px; }
@media (max-width: 767px) {
  .bg-section--ristorante { --shape: 100px; padding: 110px 0 90px; }
  .bg-section--ristorante .wide-col { width: auto; padding: 0 35px; }
  .bg-section--manie { padding: 71px 0 70px; }
  .overlay-box { width: auto; margin: 0 20px; padding: 40px 15px; }
}

/* ==========================================================================
   Slider Home
   ========================================================================== */
.slider { position: relative; overflow: hidden; aspect-ratio: 1920 / 956; background: #e0e0e0; }
.slider__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.slider__slide.is-active { opacity: 1; z-index: 1; }
.slider__slide img { width: 100%; height: 100%; object-fit: cover; }
.slider__nav {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  color: #fff; background: rgba(0, 0, 0, .25); transition: background .2s;
}
.slider__nav:hover { background: rgba(0, 0, 0, .5); }
.slider__nav .icon { width: 26px; height: 26px; }
.slider__nav--prev { left: 15px; }
.slider__nav--next { right: 15px; }

/* ==========================================================================
   Form "Richiedi informazioni"
   ========================================================================== */
.form-section { background: var(--green); color: #fff; padding: 20px 0 51px; }
.form-section .title { width: calc(83.333% - 30px); margin-left: auto; margin-right: auto; }
.booking-form { width: calc(83.333% - 30px); margin: 0 auto; }
.booking-form__grid {
  display: grid; gap: 15px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
}
.field--arrivo   { grid-column: 4 / span 2; grid-row: 1; }
.field--partenza { grid-column: 6 / span 2; grid-row: 1; }
.field--camera   { grid-column: 8 / span 2; grid-row: 1; }
.field--nome     { grid-column: 1 / span 2; grid-row: 2; }
.field--telefono { grid-column: 3 / span 2; grid-row: 2; }
.field--email    { grid-column: 5 / span 2; grid-row: 2; }
.field--note     { grid-column: 7 / span 3; grid-row: 2; }
.field--privacy  { grid-column: 10 / span 3; grid-row: 2; }

.booking-form input[type="text"], .booking-form input[type="tel"], .booking-form input[type="email"], .booking-form input[type="date"], .booking-form textarea {
  width: 100%; height: 34px;
  padding: 6px 12px;
  font: 600 14px/1.4 var(--font);
  color: #fff; background: var(--green);
  border: 1px solid var(--yellow); border-radius: 2px;
  color-scheme: dark;
}
.booking-form textarea { resize: vertical; display: block; min-height: 34px; }
.booking-form ::placeholder { color: #fff; opacity: 1; }
.booking-form input:focus, .booking-form textarea:focus { outline: none; border-color: #fff; box-shadow: 0 0 0 1px #fff; }
.field--date { position: relative; display: flex; align-items: center; height: 34px; border: 1px solid var(--yellow); border-radius: 2px; background: var(--green); }
.field--date:focus-within { border-color: #fff; box-shadow: 0 0 0 1px #fff; }
.field--date label { padding: 0 0 0 12px; white-space: nowrap; color: #fff; font-size: 14px; }
.booking-form .field--date input { border: 0; box-shadow: none !important; height: 32px; padding: 6px 8px; min-width: 0; flex: 1; font-size: 13px; }
.booking-form input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(84%) sepia(40%) saturate(700%) hue-rotate(350deg); cursor: pointer; }
.privacy-note { font-size: 10px; margin: 0 0 20px; line-height: 1.66; }
.privacy-note a { color: var(--yellow); }
.check { display: flex; gap: 7px; align-items: center; font-size: 10px; font-weight: 400; cursor: pointer; }
.check input { margin: 0; width: 13px; height: 13px; accent-color: var(--yellow); flex-shrink: 0; }
.field.has-error input, .field.has-error textarea, .field--date.has-error { border-color: var(--error) !important; }
.field__error { display: block; color: var(--error); font-size: 11px; font-weight: 600; margin-top: 4px; line-height: 1.3; }
.field--date .field__error { position: absolute; top: 100%; left: 0; }
.booking-form__captcha { margin: 18px auto 0; display: flex; justify-content: center; }
.booking-form__status { margin: 20px auto 0; text-align: center; max-width: 700px; }
.msg { margin: 0; padding: 12px 16px; border-radius: 2px; font-size: 14px; }
.msg--ok { background: rgba(253, 207, 95, .15); color: var(--yellow); border: 1px solid var(--yellow); }
.msg--error { background: rgba(255, 120, 120, .12); color: #fff; border: 1px solid var(--error); }
.msg a { color: var(--yellow); }
.booking-form__submit { text-align: center; margin-top: 40px; }
.booking-form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 1140px) {
  .form-section .title, .booking-form { width: auto; margin-left: 15px; margin-right: 15px; }
  .booking-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-form__grid > .field { grid-column: auto; grid-row: auto; }
  .booking-form__grid > .field--privacy { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .form-section { padding: 20px 0 40px; }
  .booking-form__grid { grid-template-columns: 1fr; }
  .booking-form input:not([type="checkbox"]), .booking-form textarea { font-size: 16px; }  /* 16px: niente zoom automatico su iOS */
  .field--camera { margin-bottom: 47px; }   /* come l'originale: stacco tra date/camera e dati personali */
  .booking-form__submit { text-align: left; margin-top: 60px; }
  .privacy-note { margin-bottom: 26px; }
}

/* ==========================================================================
   Componenti contenuto
   ========================================================================== */

/* Chi siamo: testo centrato su smartphone (come la versione mobile dell'originale) */
@media (max-width: 767px) { .chi-siamo__text { text-align: center; } }

/* Riga immagine 4/12 + testo 8/12 (Chi siamo) */
.media { display: grid; grid-template-columns: 350fr 730fr; gap: 30px; align-items: start; padding: 0 15px; }
@media (max-width: 767px) { .media { grid-template-columns: 1fr; gap: 0; } .media > img, .media > picture img { margin-bottom: 1px; } }

/* Galleria Home: 4 foto a tutta larghezza; su smartphone una alla volta (scorrimento) */
.gallery { display: grid; gap: 30px; }
.gallery--3 { grid-template-columns: repeat(3, 1fr); }
.gallery--4 { grid-template-columns: repeat(4, 1fr); }
.gallery__item { display: block; overflow: hidden; background: var(--bg-soft); }
.gallery__item img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s ease; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery--flush { gap: 0; }
.gallery--flush .gallery__item img { aspect-ratio: 476 / 644; }
@media (max-width: 767px) {
  .gallery--scroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; scrollbar-width: none; }
  .gallery--scroll::-webkit-scrollbar { display: none; }
  .gallery--scroll .gallery__item { flex: 0 0 100%; scroll-snap-align: start; }
  .gallery--scroll .gallery__item img { aspect-ratio: 375 / 249; }
  .gallery--3:not(.gallery--scroll) { grid-template-columns: 1fr; gap: 20px; }
}

/* Album fotografici (Camere, Ristorante): 4 colonne a tutta larghezza */
.albums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.album { margin: 0; }
.album__link { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; }
.album__link:hover { color: #fff; }
.album__cover { width: 100%; aspect-ratio: 473 / 332; object-fit: cover; transition: transform .5s ease; }
.album__caption {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: rgba(15, 72, 55, .75); opacity: 0; transition: opacity .3s;
}
.album__link:hover .album__caption, .album__link:focus-visible .album__caption { opacity: 1; }
.album__link:hover .album__cover { transform: scale(1.05); }
.album__peek { display: flex; gap: 6px; }
.album__peek img { width: 70px; height: 48px; object-fit: cover; }
.album__title { font-size: 25px; font-weight: 600; text-transform: uppercase; }
@media (hover: none) {
  .album__caption { opacity: 1; background: linear-gradient(transparent 45%, rgba(15, 72, 55, .85)); justify-content: flex-end; padding-bottom: 14px; }
  .album__peek { display: none; }
  .album__title { font-size: 20px; }
}
@media (max-width: 767px) { .albums { grid-template-columns: 1fr; } }
@media (min-width: 768px) and (max-width: 1023px) { .albums { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Icone servizi (Camere): colonne da 1/6 del contenitore */
.services { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; row-gap: 28px; margin-top: 144px; }
.services.container { max-width: calc(950px + 2 * var(--gutter)); }
.service { width: 20%; text-align: center; padding: 0 15px; }
.service img { width: 100px; height: 100px; margin: 0 auto 35px; }
.service p { font-size: 16px; margin: 0; color: #fff; }
@media (max-width: 767px) { .services { margin-top: 100px; } .service { width: 100%; } }   /* come l'originale: un servizio per riga */

/* Tabella tariffe */
.prices { overflow-x: auto; text-align: center; }
.prices table { margin: 0; text-align: center; font-size: 14px; }
.prices th { background: var(--green); color: #fff; text-transform: uppercase; font-weight: 700; padding: 18px 12px; line-height: 1.66; }
.prices td, .prices tbody th { padding: 12px; border-bottom: 1px solid var(--line); font-weight: 600; line-height: 1.66; }
.prices tbody th { background: none; color: inherit; text-transform: none; }
.prices tbody tr:nth-child(even) > * { background: var(--bg-soft); }
.prices-intro { margin-bottom: 20px; }
@media (max-width: 599px) {
  .prices th, .prices td, .prices tbody th { padding: 10px 6px; font-size: 13px; }
  .prices thead th { font-size: 11px; }
}

/* Fascia gialla orari (Ristorante) */
.hours { display: flex; align-items: center; justify-content: center; gap: 60px; padding: 30px var(--gutter) 35px; }
.hours img { width: 100px; height: 100px; }
.hours__text { margin: 0; font-size: 16px; line-height: 1.66; color: var(--green); text-align: center; min-width: 280px; }
@media (max-width: 599px) { .hours { flex-direction: column; gap: 16px; } }

/* Menu ristorante */
.menu-block { text-align: center; margin: 0 auto; max-width: 760px; padding: 0 15px 58px; }
.menu-block__icon { width: 70px; height: 70px; margin: 0 auto 35px; }
.menu-block > .title { margin-bottom: 0; }
.menu-block hr { width: 100%; max-width: 730px; border: 0; border-top: 1px solid var(--line); margin: 0 auto 53px; }
.section--green .menu-block hr { border-color: rgba(255, 255, 255, .25); }
.menu-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 350px)); justify-content: center; gap: 0 30px; text-align: left; }
.menu-cols h4 { font-size: 24px; font-weight: 700; text-transform: uppercase; line-height: 1.3; padding-bottom: 30px; margin-bottom: 19px; color: var(--green); }
.section--green .menu-cols h4 { color: var(--yellow); }
.menu-list { list-style: none; font-size: 16px; line-height: 1.3; }
.menu-note { font-weight: 800; font-size: 16px; margin: 20px 0 0; }
@media (max-width: 599px) { .menu-cols { grid-template-columns: 1fr; text-align: center; gap: 20px; } }

/* Due colonne con sfondo (pagina Le Manie) */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split__item { position: relative; isolation: isolate; min-height: 460px; padding: 60px 40px; text-align: center; }
.split__item > picture img, .split__item > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.split__box { background: none; padding: 0; }
.split__box .text { margin-bottom: 20px; }
@media (max-width: 767px) { .split { grid-template-columns: 1fr; } .split__item { min-height: 0; padding: 50px 15px; } }

/* Logo 24h (pagina 24 ore) */
.logo-24h { width: 200px; margin: 0 auto 35px; }

/* Righe di 3 foto (pagina 24 ore): contenitore 1140 px */
.gallery-row { margin: 0 auto 35px; }

/* Accordion (Camminando) */
.band { background: var(--green); padding: 40px 0 0; margin-bottom: 32px; }
.band .title { margin-bottom: 0; padding-bottom: 18px; }
.accordion { max-width: 760px; margin: 0 auto 40px; padding: 0 15px; }
.accordion details { margin-bottom: 1px; background: #fdfdfd; }
.accordion summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 30px 12px 15px; min-height: 48px;
  font-size: 13px; font-weight: 600; color: #222; position: relative;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { width: 13px; height: 13px; flex-shrink: 0; transition: transform .2s; color: #222; position: absolute; right: 12px; transform: rotate(-90deg); }
.accordion details[open] summary .icon { transform: rotate(0deg); }
.accordion summary:hover { color: var(--green); }
.accordion__body { padding: 10px 15px 25px; }
.accordion__body.media { padding-left: 15px; padding-right: 15px; grid-template-columns: 1fr 2fr; }
@media (max-width: 767px) { .accordion__body.media { grid-template-columns: 1fr; gap: 15px; } }
.accordion__body .text { font-size: 14px; }
.accordion__body img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* Contatti: mappa a sinistra, recapiti su fondo giallo a destra */
.contact { display: grid; grid-template-columns: 1fr 1fr; background: var(--yellow); }
.map { padding: 5px; }
.map iframe { width: 100%; height: 500px; border: 0; display: block; }
.contact__panel { padding: 40px 15px 40px 15px; }
.contact__item { margin-bottom: 30px; }
.contact__head { display: grid; grid-template-columns: 25% 1fr; align-items: center; margin-bottom: 18px; }
.contact__head .icon { width: 48px; height: 48px; color: var(--green); stroke-width: 1.5; justify-self: center; }
.contact__head h2, .contact__head h3 { font-size: 24px; text-transform: uppercase; color: var(--green); padding-left: 15px; }
.contact__item p { margin: 0; font-size: 16px; padding-left: 15px; }
.contact__item a { color: var(--text); text-decoration: none; }
.contact__item a:hover { text-decoration: underline; }
@media (max-width: 767px) {
  .contact { grid-template-columns: 1fr; }
  .contact .map { order: 2; }
  .map iframe { height: 350px; }
}

/* Pagina 404 */
.notfound { text-align: center; padding: 80px 0; }
.notfound ul { list-style: none; margin-top: 20px; }
.notfound li { margin: 6px 0; }

/* Pagine legali (cookie policy) */
.legal { padding: 60px 0 80px; font-size: 15px; line-height: 1.7; }
.legal .title { margin-bottom: 6px; }
.legal__updated { text-align: center; font-size: 13px; color: #6b6b6b; margin: 0 0 30px; }
.legal h2 { font-size: 20px; font-weight: 700; color: var(--green); margin: 34px 0 10px; }
.legal p, .legal ul { margin: 0 0 14px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal a, .legal .link-button { color: var(--green); text-decoration: underline; }
.legal .link-button { font: inherit; padding: 0; }
.legal__table { overflow-x: auto; margin: 0 0 14px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid #ddd; }
.legal th { background: var(--green); color: #fff; font-weight: 700; }
.legal code { font-size: 13px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--green); color: #fff; padding: 50px 0 20px; font-weight: 400; }
.site-footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.site-footer__col { padding: 0 22px; }
.site-footer__title { color: var(--yellow); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.site-footer p { margin: 0; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--yellow); }
.site-footer__social { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.site-footer__logo { width: 170px; }
.site-footer__social a:nth-child(2) .site-footer__logo { width: 148px; }
.site-footer__firma { width: 170px; margin-top: 6px; }
.site-footer__legal { max-width: 1140px; margin: 30px auto 0; padding: 14px 42px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12px; display: flex; gap: 10px; flex-wrap: wrap; }
.link-button { color: #fff; text-decoration: underline; font-size: 12px; font-weight: 400; }
.link-button:hover { color: var(--yellow); }
@media (max-width: 767px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .site-footer__legal { padding: 14px 42px 0; }
}

.go-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 45px; height: 45px; display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .2); color: #fff;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s, background .2s;
}
.go-top .icon { width: 22px; height: 22px; }
.go-top:hover { background: rgba(0, 0, 0, .45); color: #fff; }
.go-top.is-visible { opacity: 1; visibility: visible; }

/* Barra fissa "Richiedi informazioni" su smartphone (come l'originale) */
.cta-bar { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: 69px; }
  .cta-bar {
    display: flex; align-items: center; justify-content: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; height: 69px;
    background: var(--green); color: var(--yellow); text-decoration: none;
    font-size: 16px; font-weight: 600; text-transform: uppercase;
    transition: transform .3s;
  }
  .cta-bar:hover { color: #fff; }
  .cta-bar.is-hidden { transform: translateY(100%); }
  .go-top { bottom: 80px; right: 12px; }
}

/* ==========================================================================
   Banner cookie
   ========================================================================== */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--green); color: #fff; font-weight: 400;
  padding: 18px max(var(--gutter), calc((100% - 1140px) / 2));
  box-shadow: 0 -4px 16px rgba(0, 0, 0, .25);
  display: grid; grid-template-columns: 1fr auto; gap: 6px 30px; align-items: center;
}
.cookie__title { grid-column: 1; margin: 0; color: var(--yellow); font-weight: 700; padding-right: 30px; }
.cookie__text { grid-column: 1; margin: 0; font-size: 13px; }
.cookie__text a { color: var(--yellow); }
.cookie__prefs { grid-column: 1 / -1; display: grid; gap: 8px; margin: 8px 0; font-size: 13px; }
.cookie__opt { display: flex; gap: 10px; align-items: flex-start; }
.cookie__opt input { margin-top: 3px; accent-color: var(--yellow); width: 16px; height: 16px; flex-shrink: 0; }
.cookie__actions { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.cookie__prefs:not([hidden]) ~ .cookie__actions { grid-column: 1 / -1; grid-row: auto; }
.cookie .btn { min-width: 0; padding: 11px 18px; font-size: 12px; letter-spacing: 1px; }
.cookie__close { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; color: #fff; }
.cookie__close .icon { width: 18px; height: 18px; }
@media (max-width: 899px) {
  .cookie { grid-template-columns: 1fr; padding: 16px var(--gutter); }
  .cookie__actions { grid-column: 1; grid-row: auto; justify-content: stretch; }
  .cookie__actions .btn { flex: 1 1 auto; text-align: center; }
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0, 0, 0, .92); color: #fff; }
.lightbox::backdrop { background: rgba(0, 0, 0, .92); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox__figure { margin: 0; text-align: center; }
.lightbox__img { max-width: 92vw; max-height: 84vh; width: auto; height: auto; margin: 0 auto; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.lightbox__caption { margin-top: 10px; font-size: 13px; font-weight: 400; opacity: .85; }
.lightbox__btn { position: absolute; display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; color: #fff; background: rgba(255, 255, 255, .08); }
.lightbox__btn:hover { background: rgba(255, 255, 255, .2); }
.lightbox__btn .icon { width: 28px; height: 28px; }
.lightbox__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 10px; top: 50%; transform: translateY(-50%); }
.lightbox__close { right: 10px; top: 10px; }
.lightbox__count { position: absolute; left: 16px; top: 22px; font-size: 13px; opacity: .8; }

/* ---------- Schermi medi ---------- */
@media (max-width: 767px) {
  :root { --gutter: 15px; }
  .title { font-size: 28px; padding-left: 15px; padding-right: 15px; }
  .wide-col { width: auto; padding-left: 15px; padding-right: 15px; }
}

/* Album a tutta larghezza in fondo alle pagine Camere e Ristorante */
.albums-section { padding: 20px 0 5px; }
.menu-block:last-child { padding-bottom: 0; }
