/* ==========================================================================
   Tre6nove — Società di catering
   Palette dal logo 369, versione chiara: crema + salvia/rosa chiarissimi (80%) · verde notte solo per footer e una sezione · salvia scuro per le azioni
   Oro per filetti e ornamenti, rosa cipria per gli accenti decorativi (mai testo piccolo su crema).
   ========================================================================== */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-var.woff2') format('woff2');
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('../fonts/jost-variable.woff2') format('woff2');
  font-weight: 300 600; font-style: normal; font-display: swap;
}

:root {
  /* palette */
  --espresso: #1F2A26;      /* verde notte: header, hero, footer */
  --espresso-2: #2A3832;    /* card su fondo scuro */
  --cream: #F6F0E6;         /* fondo principale */
  --cream-2: #EDE3D3;       /* sezioni alternate */
  --paper: #FBF8F2;         /* card su crema */
  --gold: #C9A257;          /* oro del logo: filetti, numeri, ornamenti */
  --gold-soft: rgba(201, 162, 87, .35);
  --sage: #6E9A87;          /* salvia del "6" */
  --sage-soft: #CFE1D7;
  --blush: #E3A79B;         /* rosa cipria del "9" */
  --blush-soft: #F3D5CD;
  --accent: #4A7363;        /* salvia scuro — SOLO azioni (5.2:1 col bianco) */
  --accent-dark: #375749;
  --ink: #1E2622;           /* titoli */
  --text: #3A3F3A;          /* testo */
  --muted: #5F655E;         /* testo secondario (5.3:1 su crema) */
  --on-dark: #EDE6D9;       /* testo su espresso */
  --on-dark-muted: #B3B8AD;
  --bg: var(--cream);
  --bg-alt: #EAF1EC;       /* salvia chiarissimo: sezioni alternate */
  --bg-blush: #F8EAE5;     /* rosa cipria chiarissimo: sezioni alternate */
  --line: #DCD3C2;

  /* tipografia */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* sistema */
  --shadow-sm: 0 2px 10px rgba(31, 42, 38, .06);
  --shadow-md: 0 18px 40px rgba(31, 42, 38, .12);
  --shadow-lg: 0 34px 80px rgba(31, 42, 38, .28);
  --radius: 6px;
  --radius-lg: 14px;
  --container: 1240px;
  --nav-h: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* --- reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.75; font-weight: 400;
  -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); font-weight: 500; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.9rem, 7vw, 5.6rem); font-weight: 400; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 400; }
h3 { font-size: 1.6rem; }
h4 { font-family: var(--font-body); font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; z-index: 200; }
.skip-link:focus { left: 12px; color: #fff; }

/* --- utility -------------------------------------------------------------- */
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-blush { background: var(--bg-blush); }
.section-dark { background: var(--espresso); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark h2 em { color: var(--gold); }
.section-dark .lead, .section-dark p { color: var(--on-dark-muted); }
.section-head { max-width: 720px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .74rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--gold); }
.center .eyebrow::after { content: ''; width: 34px; height: 1px; background: var(--gold); }
.section-dark .eyebrow, .on-dark .eyebrow { color: var(--gold); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--muted); line-height: 1.7; font-weight: 300; }
.muted { color: var(--muted); }
.todo { background: #FFF2C9; color: #6E5200; padding: 0 .35em; border-radius: 4px; font-style: normal; white-space: nowrap; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); margin: 0 auto 26px; }
.ornament::before, .ornament::after { content: ''; width: 60px; height: 1px; background: currentColor; opacity: .7; }
.ornament svg { width: 18px; height: 18px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px 30px; border-radius: 2px; font: 500 .82rem/1 var(--font-body);
  letter-spacing: .18em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

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

/* --- logotipo (provvisorio, in attesa del logo ufficiale) ------------------ */
.logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.logo .mark { width: 56px; height: 56px; flex-shrink: 0; filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)); }
.footer-top .logo .mark { width: 132px; height: 132px; margin-bottom: 8px; }
.logo-word { font-family: var(--font-display); font-size: 1.85rem; font-weight: 500; letter-spacing: .01em; line-height: 1; display: inline-flex; align-items: center; }
.logo-six { color: var(--sage); font-style: italic; margin: 0 .02em; }
.logo-sub { display: block; font-family: var(--font-body); font-size: .6rem; letter-spacing: .34em; text-transform: uppercase; opacity: .75; margin-top: 6px; }
.logo-text { display: flex; flex-direction: column; }

/* --- header (chiaro, crema) ------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 90; height: var(--nav-h);
  background: rgba(247, 241, 230, .97); color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), height .3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(31, 42, 38, .08); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header .logo { color: var(--ink); }
.site-header .logo .mark { filter: none; }
.nav-menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-menu a:not(.btn) {
  display: block; padding: 10px 15px; color: var(--text); text-decoration: none;
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; position: relative;
}
.nav-menu a:not(.btn)::after {
  content: ''; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav-menu a:not(.btn):hover { color: var(--ink); }
.nav-menu a:not(.btn):hover::after, .nav-menu a[aria-current="page"]::after { transform: scaleX(1); }
.nav-menu a[aria-current="page"] { color: var(--accent-dark); }
.nav-cta { margin-left: 14px; }
.nav-cta .btn { padding: 14px 22px; }

/* --- menu mobile (da templates/menu.css + correzioni Sole Luna) ------------- */
body.is-locked { position: fixed; width: 100%; overflow: hidden; top: var(--scroll-lock-top, 0); overflow-anchor: none; }
body.is-locked .site-header { position: fixed; top: 0; left: 0; right: 0; }
body.is-locked .site-header + main { margin-top: calc(var(--nav-h) + 1px); }
.nav-overlay { display: none; }
.site-header.has-menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
.nav-toggle {
  display: none; width: 48px; height: 48px; border: 1px solid var(--gold); border-radius: 50%;
  background: transparent; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  position: relative; z-index: 2;
}
.nav-toggle span { display: block; width: 18px; height: 1.4px; background: var(--ink); transition: transform .3s var(--ease), opacity .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.4px) 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.4px) rotate(-45deg); }

@media (max-width: 960px) {
  .site-header { overflow: hidden; overflow: clip; }
  .nav-toggle { display: flex; }
  .nav-overlay {
    display: block; position: fixed; inset: 0; z-index: 89; background: rgba(31, 42, 38, .45);
    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; width: min(86vw, 380px); background: var(--cream);
    border-left: 1px solid var(--line);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2px; padding: 108px 28px 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:not(.btn) {
    padding: 14px 4px; font-family: var(--font-display); font-size: 1.7rem; letter-spacing: 0; text-transform: none;
    color: var(--ink); border-bottom: 1px solid var(--line);
  }
  .nav-menu a:not(.btn)::after { display: none; }
  .nav-cta { margin: 26px 0 0; }
  .nav-cta .btn { width: 100%; }
}

/* --- hero home (foto luminosa con velo crema a sinistra) --------------------- */
.hero {
  position: relative; min-height: calc(100svh - var(--nav-h)); display: flex; align-items: flex-end;
  color: var(--ink); overflow: hidden; background: var(--cream);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 241, 230, .97) 0%, rgba(247, 241, 230, .9) 38%, rgba(247, 241, 230, .35) 62%, rgba(247, 241, 230, 0) 80%),
    linear-gradient(0deg, rgba(247, 241, 230, .9) 0%, rgba(247, 241, 230, 0) 30%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-content { position: relative; z-index: 1; padding: clamp(80px, 12vh, 140px) 0 clamp(56px, 9vh, 96px); }
.hero h1 { color: var(--ink); max-width: 11em; margin-bottom: 26px; }
.hero h1 em { color: var(--accent); }
.hero .eyebrow { color: var(--accent-dark); }
.hero .lead { color: var(--text); max-width: 31em; margin-bottom: 40px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-foot {
  margin-top: clamp(48px, 8vh, 88px); padding-top: 26px; border-top: 1px solid var(--gold-soft);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.hero-foot div { display: flex; gap: 14px; align-items: center; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.hero-foot svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }
.scroll-cue { position: absolute; right: 32px; bottom: 36px; z-index: 1; writing-mode: vertical-rl; font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 14px; }
.scroll-cue::after { content: ''; width: 1px; height: 60px; background: linear-gradient(var(--gold), transparent); }

/* --- intro / manifesto ------------------------------------------------------ */
.intro { text-align: center; max-width: 900px; margin-inline: auto; }
.intro .big { font-family: var(--font-display); font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.3; color: var(--ink); font-weight: 400; margin-bottom: 30px; }
.intro .big em { color: var(--accent); }
.signature { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--accent-dark); }

/* --- pilastri ------------------------------------------------------------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); margin-top: clamp(56px, 8vw, 88px); }
.pillar { padding: 44px 36px 8px; text-align: center; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar .ic { width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; border: 1px solid var(--gold); color: var(--accent-dark); display: grid; place-items: center; }
.pillar .ic svg { width: 28px; height: 28px; }
.pillar p { color: var(--muted); margin: 0; }

/* --- servizi: card verticali con foto ------------------------------------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  position: relative; display: block; aspect-ratio: 3 / 4.3; overflow: hidden; border-radius: var(--radius-lg);
  color: #fff; text-decoration: none; background: var(--espresso-2); isolation: isolate;
}
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); z-index: -2; }
.service-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(31,42,38,0) 30%, rgba(31,42,38,.92) 100%); transition: background .6s var(--ease); }
.service-card:hover img { transform: scale(1.07); }
.service-card:hover::before { background: linear-gradient(180deg, rgba(31,42,38,.2) 0%, rgba(31,42,38,.95) 100%); }
.service-card .body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 26px; }
.service-card .num { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--gold); display: block; margin-bottom: 6px; }
.service-card h3 { color: #fff; font-size: 1.85rem; margin-bottom: 10px; }
.service-card p { color: rgba(255,255,255,.78); font-size: .95rem; margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .6s var(--ease), margin .6s var(--ease); }
.service-card:hover p, .service-card:focus-visible p { max-height: 8em; opacity: 1; margin-bottom: 14px; }
.service-card .more { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.service-card .more svg { width: 16px; height: 16px; }

/* --- split -------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media .frame { overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); }
.split-media .frame.wide { aspect-ratio: 5 / 4; }
.split-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.split-media::before {
  content: ''; position: absolute; inset: -18px auto auto -18px; width: 62%; height: 62%;
  border: 1px solid var(--gold); border-radius: var(--radius-lg); z-index: -1;
}
.split-media .float {
  position: absolute; right: -36px; bottom: -40px; width: 46%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 8px solid var(--bg); box-shadow: var(--shadow-md);
}
.split-media .float img { width: 100%; height: 100%; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin: 26px 0 36px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--accent); margin-top: 5px; }

/* --- processo (fondo scuro) ---------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.step { padding: 0 30px 0 0; position: relative; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-display); font-style: italic; font-size: 3.4rem; line-height: 1; color: var(--gold); margin-bottom: 22px;
}
.step::after { content: ''; position: absolute; top: 1.7rem; left: 4.6rem; right: 24px; height: 1px; background: rgba(201, 162, 87, .3); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.55rem; }
.step p { font-size: .97rem; margin: 0; }

/* --- galleria a mosaico ------------------------------------------------------ */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.mosaic figure { margin: 0; overflow: hidden; border-radius: var(--radius); position: relative; }
.mosaic figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaic figure:hover img { transform: scale(1.06); }
.mosaic .tall { grid-row: span 2; }
.mosaic .wide { grid-column: span 2; }

/* --- testimonianze ---------------------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px 34px 34px; position: relative; margin: 0; }
.quote::before { content: '“'; position: absolute; top: 4px; left: 26px; font-family: var(--font-display); font-size: 5.5rem; line-height: 1; color: var(--blush); opacity: .9; }
.quote blockquote { margin: 26px 0 26px; font-family: var(--font-display); font-size: 1.32rem; line-height: 1.45; color: var(--ink); font-style: italic; }
.quote figcaption { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.quote figcaption strong { display: block; color: var(--ink); font-weight: 500; margin-bottom: 2px; }

/* --- proposte / menu -------------------------------------------------------- */
.menu-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 48px; }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.menu-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(32px, 4vw, 48px); position: relative; }
.menu-card::after { content: ''; position: absolute; inset: 10px; border: 1px solid var(--blush-soft); border-radius: 10px; pointer-events: none; }
.menu-card h3 { font-size: 2rem; text-align: center; margin-bottom: 4px; }
.menu-card .tag { text-align: center; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 26px; }
.menu-list { list-style: none; padding: 0; margin: 0; }
.menu-list li { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.menu-list li:last-child { border-bottom: 0; }
.menu-list strong { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; color: var(--ink); }
.menu-list span { display: block; font-size: .93rem; color: var(--muted); line-height: 1.5; }
.menu-note { text-align: center; color: var(--muted); font-size: .93rem; margin-top: 36px; }

/* --- blog card --------------------------------------------------------------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.post-card { display: flex; flex-direction: column; }
.post-card .media { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius-lg); margin-bottom: 24px; }
.post-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover .media img { transform: scale(1.05); }
.post-card .meta { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 10px; }
.post-card h3 { font-size: 1.85rem; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--accent); }
.post-card p { color: var(--muted); }
.link-arrow { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; text-decoration: none; }
.link-arrow svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --- CTA a tutta larghezza con foto ---------------------------------------- */
.cta-photo { position: relative; overflow: hidden; color: var(--ink); text-align: center; padding: clamp(100px, 14vw, 170px) 0; background: var(--blush-soft); }
.cta-photo .bg { position: absolute; inset: 0; }
.cta-photo .bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-photo .bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(250, 238, 233, .94) 0%, rgba(248, 232, 226, .86) 60%, rgba(243, 213, 205, .7) 100%); }
.cta-photo .container { position: relative; z-index: 1; max-width: 820px; }
.cta-photo h2 { color: var(--ink); }
.cta-photo h2 em { color: var(--accent); }
.cta-photo p { color: var(--text); font-size: 1.15rem; font-weight: 300; margin-bottom: 38px; }
.cta-photo .hero-cta { justify-content: center; }

/* --- pagine interne ----------------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; background: var(--cream); color: var(--ink); border-bottom: 1px solid var(--line); padding: clamp(80px, 11vw, 150px) 0 clamp(64px, 8vw, 104px); }
.page-hero .bg { position: absolute; inset: 0; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247,241,230,.98) 0%, rgba(247,241,230,.92) 45%, rgba(247,241,230,.45) 75%, rgba(247,241,230,.2) 100%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--ink); max-width: 14em; font-size: clamp(2.6rem, 6vw, 4.6rem); }
.page-hero h1 em { color: var(--accent); }
.page-hero .eyebrow { color: var(--accent-dark); }
.page-hero .lead { color: var(--text); max-width: 40em; margin: 0; }
.breadcrumb { margin-bottom: 30px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.breadcrumb li + li::before { content: '·'; margin-right: 8px; color: var(--gold); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; padding: clamp(64px, 8vw, 100px) 0; border-bottom: 1px solid var(--line); }
.service-block:last-child { border-bottom: 0; }
.service-block:nth-child(even) .split-media { order: 2; }
.service-block .num { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: var(--accent-dark); margin-bottom: 6px; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { padding: 40px 34px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.value .ic { width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--gold); color: var(--accent-dark); display: grid; place-items: center; margin-bottom: 22px; }
.value .ic svg { width: 26px; height: 26px; }
.value p { color: var(--muted); margin: 0; }

/* --- articolo -------------------------------------------------------------- */
.article { max-width: 780px; margin-inline: auto; }
.article .cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 48px; aspect-ratio: 16 / 9; }
.article .cover img { width: 100%; height: 100%; object-fit: cover; }
.article h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin-top: 1.6em; }
.article .answer { background: var(--paper); border-left: 2px solid var(--gold); padding: 24px 28px; font-size: 1.12rem; color: var(--ink); }
.article-meta { font-size: .9rem; color: var(--muted); margin-top: 22px; }
.faq { margin-top: 1em; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 22px 0; font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-body); font-size: 1.4rem; line-height: 1; color: var(--accent); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 8px; }

/* --- contatti ------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 36px; }
.contact-list li { display: flex; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list .ic { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--gold); color: var(--accent-dark); display: grid; place-items: center; flex-shrink: 0; }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(30px, 4vw, 52px); box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent;
  font: inherit; font-size: 1.02rem; color: var(--ink); transition: border-color .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { min-height: 120px; resize: vertical; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin: 6px 0 26px; }
.check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--accent); flex-shrink: 0; }
.form-status { margin: 14px 0 0; font-size: .95rem; color: var(--accent-dark); min-height: 1.4em; }

/* --- testo legale ----------------------------------------------------------- */
.legal { max-width: 820px; margin-inline: auto; }
.legal h2 { font-size: 1.9rem; margin-top: 1.6em; }

/* --- footer (scuro, logotipo in versione chiara) ---------------------------- */
.site-footer { background: var(--espresso); color: var(--on-dark-muted); padding: 96px 0 0; }
.footer-top { text-align: center; padding-bottom: 64px; border-bottom: 1px solid rgba(201, 162, 87, .2); }
.footer-top .logo { color: #fff; flex-direction: column; gap: 10px; }
.footer-top .logo-word { font-size: 3rem; }
.footer-top p { max-width: 34em; margin: 22px auto 0; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 56px 0; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--on-dark); text-decoration: none; }
.footer-col a:hover { color: var(--gold); }
.footer-col h4 { color: var(--gold); margin-bottom: 20px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding: 26px 0 32px;
  border-top: 1px solid rgba(201, 162, 87, .2); font-size: .84rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--on-dark-muted); }
.footer-bottom a:hover { color: var(--gold); }
.site-footer .todo { background: rgba(255, 242, 201, .14); color: #F3DA94; }

/* --- responsive -------------------------------------------------------------- */
@media (max-width: 1100px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .service-card { aspect-ratio: 4 / 4.4; }
  .service-card p { max-height: none; opacity: 1; margin-bottom: 14px; }
}
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .step:nth-child(2)::after { display: none; }
  .hero-foot { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-media::after { background: linear-gradient(0deg, rgba(247,241,230,.98) 0%, rgba(247,241,230,.93) 55%, rgba(247,241,230,.55) 100%); }
  .split, .service-block, .contact-grid, .menu-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media, .service-block:nth-child(even) .split-media { order: 0; }
  .split-media { max-width: 560px; }
  .split-media .float { right: -12px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); }
  .pillar { padding: 36px 12px; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .values { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .scroll-cue { display: none; }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .services, .grid-2, .steps, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .logo-word { font-size: 1.6rem; }
  .logo .mark { width: 48px; height: 48px; }
  .logo-sub { display: none; }
  .hero-foot { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero-foot div { font-size: .68rem; letter-spacing: .12em; }
  .mosaic .wide { grid-column: span 2; }
  .split-media::before { inset: -10px auto auto -10px; }
}
@media (max-width: 480px) {
  .container { width: min(100% - 32px, var(--container)); }
  .btn { width: 100%; }
  .hero-cta { flex-direction: column; }
  .mosaic { grid-auto-rows: 140px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-media img { transform: none; }
}
