/* ==========================================================================
   La Tana dei Golosi — Pizzeria, Ristorante & Braceria · Enna
   Palette "brace e farina": carbone caldo, crema di farina, arancio brace.
   ========================================================================== */

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

:root {
  /* palette */
  --brand: #241813;        /* carbone caldo — sezioni scure, header */
  --brand-2: #33241c;      /* carbone chiaro — card su scuro */
  --accent: #b8441c;       /* brace — SOLO CTA e link */
  --accent-dark: #963513;
  --gold: #d6a552;         /* crosta dorata — dettagli su scuro */
  --ink: #1c1411;
  --text: #3a2c25;
  --muted: #6f5f55;
  --bg: #f7f1e8;           /* crema di farina */
  --bg-alt: #efe5d6;
  --cream: #f6ecdc;
  --line: #e0d2bf;
  /* tipografia */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* sistema */
  --shadow-sm: 0 2px 8px rgba(36, 24, 19, .08);
  --shadow-md: 0 12px 30px rgba(36, 24, 19, .12);
  --shadow-lg: 0 24px 60px rgba(36, 24, 19, .22);
  --radius: 14px;
  --radius-lg: 24px;
  --arch: 999px 999px 18px 18px;
  --container: 1240px;
  --nav-h: 78px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7;
  color: var(--text); background: var(--bg); -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); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; margin: 0 0 .6em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--accent); }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 16px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--brand); color: #e9dccb; }
.section-dark h2, .section-dark h3 { color: var(--cream); }
.section-dark h2 em { color: var(--gold); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-dark .section-head p { color: #c9b8a5; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px;
  font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--gold); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); }

/* ---------- 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 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(184, 68, 28, .28); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-light { border-color: rgba(246, 236, 220, .55); color: var(--cream); background: transparent; }
.btn-light:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- topbar + header ---------- */
.topbar { background: #170f0c; color: #cdbba7; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: #f0e2cf; text-decoration: none; }
.topbar a:hover { color: var(--gold); }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-badge { color: var(--gold); font-weight: 500; }

.site-header {
  position: sticky; top: 0; z-index: 90; background: rgba(36, 24, 19, .94);
  backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(214, 165, 82, .14); transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.site-header.has-menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--brand); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-h); }
.nav-brand { display: block; flex: none; }
.nav-brand img { width: 172px; 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: #eadcc9; text-decoration: none; font-size: .96rem; font-weight: 500;
  border-radius: 10px; transition: color .2s, background .2s;
}
.nav-menu a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-menu a[aria-current="page"] { color: var(--gold); }
.nav-cta { margin-left: 10px; }
.nav-cta .btn { padding: 12px 22px; color: #fff; }
.nav-cta .btn: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; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid rgba(246, 236, 220, .25); 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(--cream); 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; }
  .nav-overlay {
    display: block; position: fixed; inset: 0; z-index: 89; background: rgba(0, 0, 0, .55);
    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: 95; width: min(86vw, 360px); background: var(--brand);
    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; border-radius: 12px; }
  .nav-cta { margin: 14px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .nav-toggle { position: relative; z-index: 96; }
}

/* ---------- hero home ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--brand); color: #e9dccb;
  padding: clamp(56px, 8vw, 110px) 0 clamp(72px, 9vw, 120px);
}
.hero::before {
  content: ""; position: absolute; inset: auto -10% -45% 30%; height: 90%;
  background: radial-gradient(closest-side, rgba(214, 112, 40, .38), rgba(184, 68, 28, .12) 55%, transparent 75%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.hero h1 { color: var(--cream); }
.hero h1 em { color: var(--gold); }
.hero .lead { color: #cdbca8; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 40px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 14px 34px; padding: 26px 0 0; margin: 0; list-style: none; border-top: 1px solid rgba(214, 165, 82, .2); }
.hero-facts li { font-size: .92rem; color: #bfae9b; line-height: 1.4; }
.hero-facts strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--cream); font-weight: 600; }
.hero-media { position: relative; justify-self: center; width: min(100%, 500px); }
.hero-arch { border-radius: var(--arch); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 40px 80px rgba(0, 0, 0, .45); border: 1px solid rgba(214, 165, 82, .3); }
.hero-arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -28px; bottom: 44px; display: flex; align-items: center; gap: 12px;
  background: var(--cream); color: var(--ink); padding: 14px 18px; border-radius: 16px; box-shadow: var(--shadow-lg);
  font-size: .88rem; line-height: 1.3; max-width: 240px;
}
.hero-badge strong { display: block; font-size: .98rem; }
.hero-badge .ico { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; flex: none; }
.hero-badge .ico svg { width: 22px; height: 22px; }

/* ---------- hero pagine interne ---------- */
.page-hero { position: relative; background: var(--brand); color: #d9c8b4; padding: clamp(64px, 9vw, 110px) 0 clamp(56px, 7vw, 86px); overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; inset: auto -20% -60% 40%; height: 120%;
  background: radial-gradient(closest-side, rgba(214, 112, 40, .3), transparent 70%); pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--cream); max-width: 900px; }
.page-hero h1 em, .article-cta h2 em { color: var(--gold); }
.page-hero .lead { color: #c9b8a5; max-width: 680px; margin: 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .88rem; color: #a8957f; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.breadcrumb a { color: #e3d3bf; text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- card valori ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature {
  background: #fffaf3; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px 32px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-ico { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--brand); color: var(--gold); margin-bottom: 22px; }
.feature-ico svg { width: 28px; height: 28px; }
.feature p { color: var(--muted); margin: 0; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.split-media { position: relative; }
.split-media .main { border-radius: var(--arch); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.split-media .main img { width: 100%; height: 100%; object-fit: cover; }
.split-media .stamp {
  position: absolute; right: -18px; top: 38px; width: 132px; height: 132px; border-radius: 50%;
  background: var(--accent); color: #fff; display: grid; place-items: center; text-align: center;
  font-family: var(--font-display); line-height: 1.05; box-shadow: var(--shadow-md); transform: rotate(-8deg);
}
.split-media .stamp span { display: block; font-size: .78rem; font-family: var(--font-body); letter-spacing: .12em; text-transform: uppercase; }
.split-media .stamp strong { font-size: 2.1rem; font-weight: 600; }
.checklist { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.section-dark .checklist li::before { background-color: var(--gold); }

/* ---------- proposte (3 anime) ---------- */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.offer { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--brand-2); color: #e7d8c6; display: flex; flex-direction: column; }
.offer-img { aspect-ratio: 1 / 1; overflow: hidden; }
.offer-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.offer:hover .offer-img img { transform: scale(1.06); }
.offer-body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.offer-body .tag { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.offer-body h3 { color: var(--cream); margin-bottom: 6px; }
.offer-body p { color: #c6b5a2; font-size: .98rem; }
.offer-body .link-arrow { color: var(--gold); margin-top: auto; }
.offer-body .link-arrow:hover { color: #fff; }

/* ---------- numeri ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 30px 12px; border-left: 1px solid rgba(214, 165, 82, .2); }
.stat:first-child { border-left: 0; }
.stat .num { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.6rem); color: var(--gold); line-height: 1; font-weight: 600; }
.stat p { margin: 10px 0 0; font-size: .95rem; color: #c9b8a5; }

/* ---------- galleria ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 14px; }
.gallery a, .gallery figure { margin: 0; position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--bg-alt); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }
.gallery a:hover img { transform: scale(1.06); filter: brightness(.88); }
.gallery .wide { grid-column: span 2; grid-row: span 2; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; color: #fff; font-size: .9rem; font-weight: 500;
  background: linear-gradient(transparent, rgba(20, 12, 9, .78));
}
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(15, 10, 8, .94); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(92vw, 1000px); max-height: 82vh; width: auto; border-radius: 14px; }
.lightbox p { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #e9dccb; margin: 0; }
.lightbox button {
  position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .06); color: #fff; font-size: 1.5rem; cursor: pointer; display: grid; place-items: center;
}
.lightbox button:hover { background: rgba(255, 255, 255, .16); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- blog ---------- */
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.post-card { background: #fffaf3; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.post-card .thumb { aspect-ratio: 16 / 9; overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 28px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .82rem; color: var(--muted); letter-spacing: .04em; margin-bottom: 10px; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--accent); }
.post-card p { color: var(--muted); }
.post-card .link-arrow { margin-top: auto; }

.article { max-width: 760px; margin: 0 auto; }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; margin: 0 0 40px; aspect-ratio: 16 / 9; box-shadow: var(--shadow-md); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 1.6em; }
.article h3 { margin-top: 1.4em; }
.article .answer { background: var(--bg-alt); border-left: 4px solid var(--accent); padding: 22px 26px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.08rem; color: var(--ink); }
.article .answer p:last-child { margin: 0; }
.article-cta { margin-top: 48px; background: var(--brand); color: #d9c8b4; border-radius: var(--radius-lg); padding: 36px; }
.article-cta h2 { color: var(--cream); margin-top: 0; }
.article-cta .hero-cta { margin: 20px 0 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; margin-top: 20px; }
.faq details { background: #fffaf3; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; position: relative; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--accent); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); }

/* ---------- servizi dettaglio ---------- */
.service { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 86px); align-items: center; }
.service + .service { margin-top: clamp(72px, 9vw, 120px); }
.service.reverse .service-media { order: 2; }
.service-media { border-radius: var(--arch); overflow: hidden; aspect-ratio: 1 / 1; box-shadow: var(--shadow-lg); max-width: 520px; width: 100%; justify-self: center; }
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 28px; padding: 0; list-style: none; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); font-size: .88rem; color: var(--text); }

.notice {
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center;
  background: #fffaf3; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 34px;
}
.notice .feature-ico { margin: 0; background: var(--accent); color: #fff; }
.notice h3 { margin-bottom: 4px; }
.notice p { margin: 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--accent); color: #fff3e8; padding: clamp(64px, 8vw, 96px) 0; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 85% 120%, rgba(36, 24, 19, .5), transparent 70%),
              radial-gradient(500px 260px at 0% -20%, rgba(255, 190, 120, .25), transparent 70%);
}
.cta-band .container { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 8px; }
.cta-band p { margin: 0; color: #ffe2cf; font-size: 1.1rem; }
.cta-band .eyebrow { color: #ffe2cf; }
.cta-band .btn-primary { background: var(--brand); box-shadow: 0 12px 28px rgba(0, 0, 0, .25); }
.cta-band .btn-primary:hover { background: #0f0907; }
.cta-band .btn-light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.cta-band .btn-light:hover { color: var(--accent); background: #fff; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- contatti ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 18px; align-items: flex-start; background: #fffaf3; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.contact-card .feature-ico { width: 48px; height: 48px; border-radius: 14px; margin: 0; flex: none; }
.contact-card .feature-ico svg { width: 22px; height: 22px; }
.contact-card h2 { font-size: 1.15rem; margin: 0 0 4px; }
.contact-card p { margin: 0; color: var(--muted); }
.contact-card a { font-weight: 600; text-decoration: none; }
.form-card { background: #fffaf3; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(184, 68, 28, .14); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.form-note { font-size: .86rem; color: var(--muted); margin: 0; }
.form-status { min-height: 1.4em; margin: 12px 0 0; font-weight: 600; color: var(--accent-dark); }
.map-link { display: block; position: relative; border-radius: var(--radius-lg); overflow: hidden; margin-top: 16px; aspect-ratio: 16 / 9; text-decoration: none; }
.map-link img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.55); transition: transform .6s var(--ease); }
.map-link:hover img { transform: scale(1.04); }
.map-link .map-label { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #fff; font-weight: 600; padding: 20px; }
.map-link .map-label em { display: block; font-style: normal; font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 6px; }

/* ---------- testi legali ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 1.6rem; margin-top: 1.8em; }
.legal table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 10px 0 20px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }

/* ---------- footer ---------- */
.site-footer { background: #170f0c; color: #b9a793; padding: 84px 0 0; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-logo { width: 200px; height: auto; margin-bottom: 18px; }
.site-footer h4 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: #e8d9c6; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-claim { font-family: var(--font-display); font-style: italic; color: #e8d9c6; font-size: 1.15rem; }
.footer-bottom { max-width: var(--container); margin: 64px auto 0; padding: 24px 28px; border-top: 1px solid rgba(214, 165, 82, .14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .85rem; color: #8f7d6b; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #b9a793; }

/* bottone chiamata mobile */
.call-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 80; width: 58px; height: 58px; border-radius: 50%;
  background: var(--accent); color: #fff; display: none; place-items: center; box-shadow: 0 12px 28px rgba(184, 68, 28, .45);
}
.call-fab svg { width: 26px; height: 26px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid, .split, .service, .contact-grid { grid-template-columns: 1fr; }
  .service.reverse .service-media { order: 0; }
  .hero-media { width: min(100%, 420px); }
  .hero-badge { left: -8px; }
  .features, .offers { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .split-media { max-width: 480px; margin: 0 auto; width: 100%; }
  .topbar-hide { display: none; }
}
@media (max-width: 768px) {
  .posts { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .call-fab { display: grid; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; }
  .topbar-badge { display: none; }
  .nav-brand img { width: 150px; }
  .notice { grid-template-columns: 1fr; }
  .split-media .stamp { right: 4px; width: 112px; height: 112px; }
}
@media (max-width: 480px) {
  body { font-size: 1rem; }
  .btn { width: 100%; }
  .hero-cta .btn, .cta-actions .btn { width: 100%; }
  .hero-badge { position: relative; left: 0; bottom: 0; margin: -36px auto 0; }
  .gallery .wide { grid-column: span 2; grid-row: span 1; }
  .gallery .wide { aspect-ratio: 2 / 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
