@font-face{font-family:'Libre Baskerville';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/libre-baskerville-normal-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Libre Baskerville';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/libre-baskerville-normal-400-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:'Libre Baskerville';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/libre-baskerville-normal-700-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Libre Baskerville';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/libre-baskerville-normal-700-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:'Open Sans';font-style:normal;font-weight:300 800;font-display:swap;src:url('/assets/fonts/open-sans-var-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:300 800;font-display:swap;src:url('/assets/fonts/open-sans-var-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

:root {
  --rosso: #620e0e;
  --rosso-vivo: #b30404;
  --rosso-cupo: #480101;
  --inchiostro: #292a2b;
  --carta: #f6f1e7;
  --bianco: #fffdfd;
  --serif: 'Libre Baskerville', Georgia, serif;
  --sans: 'Open Sans', system-ui, -apple-system, sans-serif;
  --max: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--inchiostro);
  background: var(--carta) url('/assets/img/bg-1600.webp') center / cover fixed no-repeat;
}

@media (max-width: 900px) {
  body { background-image: url('/assets/img/bg-800.webp'); background-attachment: scroll; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--rosso); }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--bianco); color: var(--rosso); padding: .75rem 1rem;
}
.skip:focus { left: .5rem; top: .5rem; }

/* ---------- barra contatti ---------- */
.topbar { background: var(--rosso-cupo); color: var(--bianco); font-size: .85rem; }
.topbar .wrap { display: flex; gap: 1.5rem; justify-content: center; padding: .5rem 0; flex-wrap: wrap; }
.topbar a { color: var(--bianco); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover, .topbar a:focus-visible { text-decoration: underline; }
.topbar svg { width: 1em; height: 1em; fill: currentColor; }

/* ---------- testata ---------- */
.site-header { background: var(--rosso); color: var(--bianco); position: sticky; top: 0; z-index: 50; }
.site-header .wrap {
  display: flex; align-items: center; gap: 1.5rem;
  padding: .75rem 0; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { width: 130px; }

.nav { display: flex; gap: 1.5rem; align-items: center; }
.nav a {
  color: var(--bianco); text-decoration: none; font-weight: 600;
  font-size: .95rem; letter-spacing: .02em; padding: .35rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a:focus-visible { border-bottom-color: var(--bianco); }
.nav a[aria-current='page'] { border-bottom-color: var(--bianco); }

.btn {
  display: inline-block; font-family: var(--serif); font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; text-decoration: none;
  padding: .7rem 1.4rem; border-radius: 2px; border: 2px solid transparent;
  background: var(--rosso-vivo); color: var(--bianco); font-size: .85rem;
}
.btn:hover, .btn:focus-visible { background: var(--bianco); color: var(--rosso-vivo); border-color: var(--rosso-vivo); }
.btn--ghost { background: transparent; color: var(--bianco); border-color: var(--bianco); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--bianco); color: var(--rosso); }
.btn--linea { background: transparent; color: var(--rosso); border-color: var(--rosso); }
.btn--linea:hover, .btn--linea:focus-visible { background: var(--rosso); color: var(--bianco); border-color: var(--rosso); }

/* ---------- ancore di sezione ---------- */
.jump { background: var(--inchiostro); }
.jump ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 2rem;
}
.jump a {
  display: block; padding: .6rem .25rem; color: var(--bianco);
  text-decoration: none; font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; font-weight: 600;
}
.jump a:hover, .jump a:focus-visible { color: #f0c9c9; }

/* ---------- sezioni ---------- */
section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section-head { text-align: center; margin-bottom: 2rem; }
.section-head img.icon { width: 56px; margin: 0 auto .75rem; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.25; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 .5rem; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 .5rem; color: var(--rosso); }
h3 { font-size: 1.15rem; margin: 0 0 .5rem; color: var(--rosso-vivo); }
.lead { max-width: 46rem; margin-inline: auto; }

/* ---------- apertura ---------- */
.hero .cta-riga { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.hero .orari-flash { margin: 1rem auto 0; max-width: 42rem; font-size: .9rem; color: #6b5f52; }
.hero .orari-flash a { color: var(--rosso); }
.hero .foto-coppia { margin-top: 2.5rem; }
.hero .foto-coppia img { aspect-ratio: 3 / 2; object-fit: cover; border: 3px solid var(--rosso); border-radius: 3px; }

/* ---------- listini ---------- */
.listini { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.listino { background: var(--bianco); border: 3px solid var(--rosso); border-radius: 3px; padding: 1.5rem; }
.listino ul { list-style: none; margin: 0; padding: 0; }
.listino li { padding: .35rem 0; border-bottom: 1px dotted #d8cfc2; }
.listino li:last-child { border-bottom: 0; }
.listino--foto { padding: 0; overflow: hidden; display: flex; }
.listino--foto img { width: 100%; height: 100%; object-fit: cover; }
.cta-riga { text-align: center; margin-top: 2rem; }

/* ---------- domande frequenti ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--bianco); border: 1px solid #e3d9ca; border-radius: 3px; margin-bottom: .75rem; }
.faq summary { cursor: pointer; padding: 1rem 1.25rem; font-family: var(--serif); font-weight: 700; }
.faq summary::marker { color: var(--rosso); }
.faq details[open] summary { border-bottom: 1px dotted #d8cfc2; }
.faq details p { margin: 0; padding: 1rem 1.25rem; }

/* ---------- schede ---------- */
.schede { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.scheda { background: var(--bianco); border: 1px solid #e3d9ca; border-radius: 3px; padding: 1.5rem; text-align: center; }
.scheda img.icon { width: 52px; margin: 0 auto 1rem; }

/* ---------- fascia scura ---------- */
.fascia { background: var(--rosso); color: var(--bianco); text-align: center; }
.fascia h2 { color: var(--bianco); }
.fascia a:not(.btn) { color: var(--bianco); }

/* ---------- contatti ---------- */
.orari { width: 100%; border-collapse: collapse; background: var(--bianco); }
.orari caption { font-family: var(--serif); color: var(--rosso); padding-bottom: .5rem; }
.orari th, .orari td { text-align: left; padding: .55rem .9rem; border-bottom: 1px solid #e3d9ca; }
.orari th { font-weight: 600; width: 8.5rem; }
.orari tr:last-child th, .orari tr:last-child td { border-bottom: 0; }
.chiuso { color: var(--rosso-vivo); }

.due-colonne { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.mappa { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.mappa-box { background: var(--bianco); border: 3px solid var(--rosso); border-radius: 3px; padding: clamp(1.25rem, 4vw, 2rem); text-align: center; }
.mappa-box p:last-child { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 0; }
.mappa-box:has(.mappa) { padding: 0; }

.foto-coppia { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.due-colonne > img { border: 3px solid var(--rosso); border-radius: 3px; }

/* ---------- piè di pagina ---------- */
.site-footer { background: var(--inchiostro); color: #cfc9c1; font-size: .9rem; }
.site-footer .wrap { padding: 2.5rem 0 1.5rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.site-footer .foot-title { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; color: var(--bianco); margin: 0 0 .5rem; }
.site-footer a { color: #cfc9c1; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: .2rem 0; }
.social { display: flex; gap: .75rem; margin-top: .5rem; }
.social a { display: inline-flex; }
.social svg { width: 1.5rem; height: 1.5rem; fill: currentColor; }
.legale { border-top: 1px solid #3d3e3f; margin-top: 2rem; padding-top: 1rem; font-size: .78rem; line-height: 1.5; }

/* ---------- testi lunghi (policy) ---------- */
.testo { background: var(--bianco); padding: clamp(1.25rem, 4vw, 2.5rem); border-radius: 3px; }
.testo h2 { margin-top: 2rem; }
.testo table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .9rem; }
.testo th, .testo td { border: 1px solid #e3d9ca; padding: .5rem .7rem; text-align: left; vertical-align: top; }

@media (max-width: 640px) {
  .site-header .wrap { justify-content: center; }
  .brand { margin-right: 0; width: 100%; justify-content: center; }
  .nav { width: 100%; justify-content: center; }
}
