/* ==========================================================================
   Agriturismo Quattromori — Porto Torres
   Palette: crema (60) · oliva campagna (30) · rosso Quattro Mori (10, solo CTA)
   ========================================================================== */

@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url('../fonts/fraunces-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('../fonts/fraunces-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url('../fonts/inter-normal.woff2') format('woff2');
}

:root {
  --brand: #3d4a2f;        /* oliva: prati e macchia mediterranea */
  --brand-dark: #2a3320;
  --accent: #a51e2c;       /* rosso della croce dei Quattro Mori — solo CTA */
  --accent-dark: #85151f;
  --sand: #d9b37a;         /* pietra calda, dettagli su fondo scuro */
  --ink: #1f1b16;
  --text: #3b342c;
  --muted: #6b6156;
  --bg: #f7f2ea;
  --bg-alt: #efe6d6;
  --card: #fffdf9;
  --line: #e2d7c4;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --shadow-sm: 0 2px 8px rgba(42, 34, 22, .06);
  --shadow-md: 0 12px 32px rgba(42, 34, 22, .10);
  --shadow-lg: 0 24px 60px rgba(42, 34, 22, .18);
  --radius: 14px;
  --radius-lg: 24px;
  --container: 1240px;
  --nav-h: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
h1 em, h2 em { font-style: italic; color: var(--accent); }
p { margin: 0 0 1.1em; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--brand-dark); color: #e9e3d6; }
.section-dark h2, .section-dark h3 { color: #fbf7f0; }
.section-dark h2 em { color: var(--sand); }
.section-dark .eyebrow { color: var(--sand); }
.section-dark .eyebrow::before { background: var(--sand); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--accent); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lead { margin-inline: auto; }

/* --- bottoni ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .95rem/1 var(--font-body); letter-spacing: .01em; text-decoration: none;
  cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* --- topbar e header ---------------------------------------------------- */
.topbar { background: var(--brand-dark); color: #d8d1c2; font-size: .84rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; flex-wrap: wrap; }
.topbar a { color: #fbf7f0; text-decoration: none; }
.topbar a:hover { color: var(--sand); }
.topbar span { display: inline-flex; gap: 8px; align-items: center; }
.topbar svg { width: 15px; height: 15px; color: var(--sand); }

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(247, 242, 234, .92);
  backdrop-filter: saturate(1.2) blur(12px); -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--nav-h); }
.nav-brand img { width: 168px; height: auto; }
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { display: block; padding: 10px 14px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; border-radius: 10px; transition: color .25s, background .25s; }
.nav-menu a:hover { color: var(--accent); }
.nav-menu a[aria-current="page"] { color: var(--accent); }
.nav-menu .nav-cta a { background: var(--accent); color: #fff; border-radius: 999px; padding: 12px 22px; margin-left: 10px; }
.nav-menu .nav-cta a:hover { background: var(--accent-dark); color: #fff; }

/* --- MENU MOBILE (da templates/menu.css) ------------------------------- */
body.is-locked { position: fixed; width: 100%; overflow: hidden; top: var(--scroll-lock-top, 0); overflow-anchor: none; }
.nav-overlay { display: none; }
.site-header.has-menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
/* col body bloccato (position:fixed) lo sticky seguirebbe il contenuto fuori schermo: la X deve restare visibile */
body.is-locked .site-header.has-menu-open { position: fixed; top: 0; left: 0; right: 0; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px;
  background: transparent; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 1.6px; background: var(--ink); transition: transform .3s var(--ease), opacity .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; position: relative; z-index: 95; }
  .nav-overlay {
    display: block; position: fixed; inset: 0; z-index: 89; background: rgba(20, 18, 12, .5);
    border: 0; padding: 0; cursor: pointer; opacity: 0; visibility: hidden;
    transition: opacity .38s var(--ease), visibility 0s linear .38s;
  }
  .nav-overlay.is-open { opacity: 1; visibility: visible; transition: opacity .38s var(--ease), visibility 0s linear 0s; }
  .nav-menu {
    position: fixed; inset: 0 0 0 auto; z-index: 92; width: min(86vw, 360px); background: var(--bg);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px; padding: 100px 26px 40px;
    box-shadow: var(--shadow-lg); overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(100%); visibility: hidden;
    transition: transform .38s var(--ease), visibility 0s linear .38s;
  }
  .nav-menu.is-open { transform: none; visibility: visible; transition: transform .38s var(--ease), visibility 0s linear 0s; }
  .nav-menu a { padding: 14px 16px; font-size: 1.1rem; font-family: var(--font-display); }
  .nav-menu .nav-cta a { margin: 14px 0 0; text-align: center; font-family: var(--font-body); font-size: 1rem; }
  .nav-brand img { width: 140px; }
}
html { overflow-x: hidden; }
/* clip: su mobile il pannello fuori schermo non allarga più il layout viewport */
@supports (overflow: clip) { html, body { overflow-x: clip; } }

/* --- hero home ----------------------------------------------------------- */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media img { animation: heroZoom 18s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,22,14,.15) 0%, rgba(20,22,14,.1) 35%, rgba(20,22,14,.78) 100%),
              linear-gradient(90deg, rgba(20,22,14,.5) 0%, rgba(20,22,14,0) 60%);
}
.hero-content { position: relative; z-index: 2; padding: 140px 0 clamp(56px, 8vw, 96px); }
.hero .eyebrow { color: #f1e6d2; }
.hero .eyebrow::before { background: var(--sand); }
.hero h1 { color: #fff; max-width: 15ch; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero h1 em { color: #f3d3a3; }
.hero .lead { color: rgba(255,255,255,.9); max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 44px 0 0; padding: 26px 0 0; border-top: 1px solid rgba(255,255,255,.25); list-style: none; font-size: .92rem; color: rgba(255,255,255,.92); }
.hero-badges li { display: inline-flex; gap: 10px; align-items: center; }
.hero-badges svg { width: 20px; height: 20px; color: var(--sand); }

/* --- hero pagine interne ------------------------------------------------- */
.page-hero { position: relative; color: #fff; min-height: 460px; display: flex; align-items: flex-end; overflow: hidden; }
.page-hero .hero-media img { animation: none; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,22,14,.2), rgba(20,22,14,.75)); }
.page-hero .container { position: relative; z-index: 2; padding: 120px 0 56px; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 18ch; }
.page-hero .lead { color: rgba(255,255,255,.9); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 18px; padding: 0; font-size: .85rem; color: rgba(255,255,255,.8); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { color: var(--sand); }

/* --- numeri ------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); margin-top: -64px; position: relative; z-index: 3; }
.stat { padding: 32px 28px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font: 500 clamp(1.9rem, 3vw, 2.6rem)/1.1 var(--font-display); color: var(--ink); }
.stat span { font-size: .9rem; color: var(--muted); }

/* --- card punti di forza ------------------------------------------------ */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature { background: var(--card); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-img { aspect-ratio: 4 / 3; overflow: hidden; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature:hover .feature-img img { transform: scale(1.06); }
.feature-body { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.feature-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--bg-alt); color: var(--brand); display: grid; place-items: center; margin: -52px 0 16px; position: relative; border: 4px solid var(--card); box-sizing: content-box; }
.feature-icon svg { width: 22px; height: 22px; }
.feature-body p { color: var(--muted); }
.feature-body .link-arrow { margin-top: auto; }

/* --- split -------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media { position: relative; }
.split-media .main { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow-md); }
.split-media .inset { position: absolute; width: 46%; right: -28px; bottom: -40px; border-radius: var(--radius); border: 6px solid var(--bg); aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow-md); }
.section-alt .split-media .inset { border-color: var(--bg-alt); }
.split-media .tag { position: absolute; left: 24px; top: 24px; background: var(--card); color: var(--ink); border-radius: 999px; padding: 10px 18px; font: 500 .95rem var(--font-display); box-shadow: var(--shadow-sm); }
.checklist { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 3px; }
.section-dark .checklist svg { color: var(--sand); }

/* --- mosaico camere ----------------------------------------------------- */
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 16px; }
.mosaic figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.mosaic figure:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(255,253,249,.92); color: var(--ink); font-size: .82rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; }
.rooms-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: end; margin-bottom: 48px; }

/* --- colazione (dark) --------------------------------------------------- */
.food-grid { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 240px 240px; gap: 16px; }
.food-grid img { border-radius: var(--radius); object-fit: cover; width: 100%; height: 100%; }
.food-grid img:first-child { grid-row: span 2; }

/* --- recensioni --------------------------------------------------------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; margin: 0; display: flex; flex-direction: column; }
.review .stars { color: #c98b1d; letter-spacing: 2px; font-size: .95rem; margin-bottom: 12px; }
.review h3 { font-size: 1.25rem; margin-bottom: 10px; }
.review blockquote { margin: 0 0 20px; color: var(--text); font-size: 1rem; }
.review blockquote p { margin: 0; }
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--muted); }
.review .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font: 500 1rem var(--font-display); flex: none; }
.review figcaption strong { color: var(--ink); display: block; font-weight: 600; }
.review .note { font-size: .8rem; font-style: italic; }
.reviews-source { text-align: center; margin-top: 36px; color: var(--muted); font-size: .92rem; }

/* --- strip galleria ----------------------------------------------------- */
.strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.strip a { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; }
.strip a:nth-child(even) { margin-top: 40px; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; }
.strip a:hover img { transform: scale(1.06); }

/* --- CTA banner --------------------------------------------------------- */
.cta-banner { position: relative; overflow: hidden; color: #fff; text-align: center; padding: clamp(96px, 13vw, 160px) 0; }
.cta-banner .hero-media img { animation: none; }
.cta-banner::after { content: ""; position: absolute; inset: 0; background: rgba(24, 26, 16, .62); }
.cta-banner .container { position: relative; z-index: 2; max-width: 780px; }
.cta-banner h2 { color: #fff; }
.cta-banner h2 em { color: #f3d3a3; }
.cta-banner p { color: rgba(255,255,255,.88); font-size: 1.15rem; }
.cta-banner .hero-cta { justify-content: center; }
.cta-banner .eyebrow { color: #f1e6d2; justify-content: center; }
.cta-banner .eyebrow::before { background: var(--sand); }
.checkin { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; margin-top: 36px; font-size: .95rem; color: rgba(255,255,255,.9); }
.checkin strong { color: #fff; }

/* --- servizi: blocchi offerta ------------------------------------------- */
.offer { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.offer + .offer { margin-top: clamp(72px, 10vw, 120px); }
.offer.reverse .offer-media { order: 2; }
.offer-media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.offer-media img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.offer-media img:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }
.info-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.info-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.info-card svg { width: 30px; height: 30px; color: var(--accent); margin-bottom: 14px; }
.info-card h3 { font-size: 1.2rem; }
.info-card p { color: var(--muted); font-size: .97rem; margin: 0; }

/* --- galleria ----------------------------------------------------------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.gallery-filters button { border: 1px solid var(--line); background: var(--card); color: var(--ink); padding: 10px 20px; border-radius: 999px; font: 500 .92rem var(--font-body); cursor: pointer; transition: all .25s; }
.gallery-filters button:hover { border-color: var(--brand); }
.gallery-filters button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.gallery { columns: 3 300px; column-gap: 16px; }
.gallery a { display: block; margin: 0 0 16px; border-radius: var(--radius); overflow: hidden; break-inside: avoid; position: relative; }
.gallery a.is-hidden { display: none; }
.gallery img { width: 100%; transition: transform 1s var(--ease); }
.gallery a:hover img { transform: scale(1.04); }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(16, 15, 10, .94); display: flex; align-items: center; justify-content: center; padding: 60px 70px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .3s, visibility 0s; }
.lightbox img { max-height: 100%; max-width: 100%; width: auto; border-radius: 8px; }
.lightbox p { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #ddd5c6; font-size: .92rem; margin: 0; padding: 0 20px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 50px; height: 50px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* --- contatti ----------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.contact-list .ico { width: 46px; height: 46px; border-radius: 50%; background: var(--bg-alt); display: grid; place-items: center; color: var(--accent); flex: none; }
.contact-list .ico svg { width: 22px; height: 22px; }
.contact-list h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; margin: 0 0 2px; }
.contact-list p { margin: 0; color: var(--muted); }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--accent); }
.form-card { background: var(--card); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(61, 74, 47, .15); }
.field textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin: 6px 0 22px; }
.check input { margin-top: 5px; accent-color: var(--brand); }
.form-status { margin: 14px 0 0; font-size: .92rem; color: var(--brand); min-height: 1.4em; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 12px; }

/* --- testo lungo (chi siamo, policy) ------------------------------------ */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value { border-top: 2px solid var(--accent); padding-top: 24px; }
.value .num { font: italic 400 1rem var(--font-display); color: var(--accent); display: block; margin-bottom: 10px; }
.value p { color: var(--muted); }
.quote { font: italic 400 clamp(1.5rem, 3vw, 2.3rem)/1.35 var(--font-display); color: var(--ink); max-width: 28ch; margin: 0 auto; text-align: center; }
.quote::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--accent); margin-bottom: 14px; }

/* --- footer ------------------------------------------------------------- */
.site-footer { background: var(--brand-dark); color: #cfc8b8; padding: 88px 0 0; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; }
.footer-logo img { width: 210px; height: auto; margin-bottom: 20px; }
.site-footer h4 { color: #fbf7f0; font-size: 1.15rem; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #ebe5d8; text-decoration: none; }
.site-footer a:hover { color: var(--sand); }
.footer-hours li { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dashed rgba(255,255,255,.14); padding-bottom: 8px; }
.footer-hours strong { color: #fbf7f0; font-weight: 500; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 64px; padding: 24px 0 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; color: #a9a291; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #cfc8b8; }

/* --- reveal ------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* --- 404 ---------------------------------------------------------------- */
.notfound { text-align: center; padding: clamp(100px, 14vw, 180px) 0; }
.notfound .big { font: 400 clamp(5rem, 16vw, 10rem)/1 var(--font-display); color: var(--accent); margin: 0; }
.notfound .hero-cta { justify-content: center; }

/* --- responsive --------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .info-cards { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .strip a:nth-child(n+4) { display: none; }
}
@media (max-width: 900px) {
  .split, .offer, .contact-grid, .rooms-grid { grid-template-columns: 1fr; }
  .split.reverse > :first-child, .offer.reverse .offer-media { order: 0; }
  .split-media .inset { right: 12px; bottom: -28px; width: 40%; }
  .features, .reviews, .values { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 180px 180px; }
  .mosaic figure:first-child { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 768px) {
  .topbar .hide-sm { display: none; }
  .hero { min-height: 88vh; }
  .food-grid { grid-template-rows: 180px 180px; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 32px, var(--container)); }
  .footer-grid, .info-cards, .form-row { grid-template-columns: 1fr; }
  .footer-grid { gap: 36px; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip a:nth-child(n+3) { display: none; }
  .strip a:nth-child(even) { margin-top: 24px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .page-hero { min-height: 380px; }
  .lightbox { padding: 60px 10px; }
  .lb-prev, .lb-next { top: auto; bottom: 50px; transform: none; }
}
@media (max-width: 480px) {
  .stat { padding: 22px 12px; }
  .mosaic { grid-template-rows: 220px 150px 150px; gap: 10px; }
  .food-grid { gap: 10px; }
  .hero-badges { gap: 10px 20px; font-size: .86rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
