/* Ricetta Sarda — foglio unico. Palette: crema (60) · verde Ortosa + bruno (30) · rosso pomodoro solo per le azioni (10). */
@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces-normal.woff2') format('woff2'); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces-italic.woff2') format('woff2'); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Karla'; src: url('../fonts/karla-normal.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  --green: #0b3d2a;  --green-deep: #062519;  --green-soft: #dfe7dc;
  --red: #b3261e;  --red-dark: #8f1512;
  --gold: #e0a43a;  --gold-soft: #f6e3b8;
  --ink: #2b1d10;  --text: #3d2c1c;  --muted: #6b5a47;
  --bg: #f7efe0;  --bg-alt: #efe2c8;  --paper: #fdf9f0;  --line: #e2d3b8;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Karla', 'Helvetica Neue', Arial, sans-serif;
  --shadow-sm: 0 1px 2px rgba(43,29,16,.06), 0 4px 14px rgba(43,29,16,.06);
  --shadow-md: 0 2px 4px rgba(43,29,16,.06), 0 14px 34px rgba(43,29,16,.10);
  --shadow-lg: 0 24px 60px rgba(43,29,16,.20);
  --radius: 14px;  --radius-lg: 24px;
  --container: 1240px;  --nav-h: 80px;
  --ease: cubic-bezier(.22,1,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.65 var(--font-body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 500; }
h3 { font-size: 1.3rem; }
h1 em, h2 em { font-style: italic; color: var(--red); font-weight: 500; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -60px; background: var(--green); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 200; }
.skip-link:focus { top: 1rem; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-tight { padding-top: 2.5rem; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--green); color: #e8e1d0; }
.section-dark h2, .section-dark h3 { color: #fff; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: .92rem; }

.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font: 700 .78rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin-bottom: 1rem; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--gold); }
.section-dark .eyebrow { color: var(--gold); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 60ch; }

.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 720px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow::after { content: ''; width: 22px; height: 2px; background: var(--gold); }
.section-head p { color: var(--muted); }
.section-head.light p { color: #cfd8cc; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; }
.section-head.split h2 { margin: 0; }

/* bottoni */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font: 700 1rem/1 var(--font-body); padding: 1rem 1.6rem; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn svg[viewBox] path[d^="M20.5"] { fill: currentColor; stroke: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--green); }
.btn-sm { padding: .7rem 1.15rem; font-size: .92rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--red); text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
a:hover .link-arrow svg, .link-arrow:hover svg { transform: translateX(4px); }

/* header */
.site-header { position: sticky; top: 0; z-index: 90; background: rgba(247,239,224,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(43,29,16,.06); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); position: relative; z-index: 95; }
.brand-name { font: 600 1.45rem/1 var(--font-display); letter-spacing: -.01em; }
.brand-name em { color: var(--red); font-style: italic; font-weight: 500; }
.brand-light { color: #fff; }
.brand-light .brand-name em { color: var(--gold); }
.nav-menu { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav-menu a { display: block; padding: .55rem .85rem; color: var(--ink); text-decoration: none; font-weight: 600; border-radius: 999px; transition: background .2s; }
.nav-menu a:hover { background: var(--bg-alt); color: var(--ink); }
.nav-menu a[aria-current="page"] { color: var(--red); }
.nav-cta { margin-left: .6rem; }
.nav-menu .nav-cta a.btn { color: #fff; padding: .75rem 1.2rem; }
.nav-menu .nav-cta a.btn:hover { background: var(--red-dark); }

/* 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); }
.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; position: relative; z-index: 95; }
.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; }
  .nav-overlay { display: block; position: fixed; inset: 0; z-index: 89; background: rgba(6,37,25,.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; border-radius: 12px; }
  .nav-cta { margin: 14px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}

/* hero home */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; right: -180px; top: -160px; width: 520px; height: 520px; border-radius: 50%; border: 2px dashed rgba(224,164,58,.45); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 2.5rem; }
.hero-actions.center { justify-content: center; }
.hero-stats { display: flex; gap: clamp(1rem, 3vw, 2.4rem); list-style: none; padding: 1.6rem 0 0; margin: 0; border-top: 1px solid var(--line); }
.hero-stats strong { display: block; font: 500 2.2rem/1 var(--font-display); color: var(--green); margin-bottom: .35rem; }
.hero-stats span { font-size: .9rem; color: var(--muted); line-height: 1.35; display: block; max-width: 16ch; }
.hero-media { position: relative; }
.hero-media > img { border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 120px; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.6; object-fit: cover; width: 100%; }
.hero-badge { position: absolute; left: -1.5rem; bottom: 1.6rem; display: flex; align-items: center; gap: .8rem; background: var(--green); color: #e8e1d0; padding: .9rem 1.2rem .9rem .9rem; border-radius: 18px; box-shadow: var(--shadow-md); font-size: .92rem; line-height: 1.3; }
.hero-badge strong { display: block; color: var(--gold); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }

/* hero pagine interne */
.page-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); background: var(--bg-alt); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -90px; bottom: -150px; width: 340px; height: 340px; border-radius: 50%; border: 2px dashed rgba(224,164,58,.5); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 22ch; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1.5rem; font-size: .88rem; color: var(--muted); }
.breadcrumb li + li::before { content: '/'; margin-right: .4rem; opacity: .5; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }

/* categorie */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.cat-tile { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 4; display: block; color: #fff; text-decoration: none; box-shadow: var(--shadow-sm); }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,37,25,0) 40%, rgba(6,37,25,.88)); }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile-text { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.1rem; z-index: 1; }
.cat-tile-text strong { display: block; font: 500 1.4rem/1.15 var(--font-display); color: #fff; }
.cat-tile-text small { color: var(--gold-soft); font-size: .88rem; }

/* card ricetta */
.recipe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.recipe-card { background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.recipe-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.recipe-card[hidden] { display: none; }
.recipe-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.recipe-card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.recipe-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.recipe-card:hover .recipe-card-img img { transform: scale(1.05); }
.tag { position: absolute; left: 1rem; top: 1rem; background: var(--paper); color: var(--green); font-size: .78rem; font-weight: 700; padding: .35rem .7rem; border-radius: 999px; letter-spacing: .02em; }
.recipe-card-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.recipe-card-body h3 { font-size: 1.35rem; margin-bottom: .35rem; }
.recipe-card-body p { color: var(--muted); font-size: .97rem; flex: 1; }
.recipe-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; list-style: none; padding: .9rem 0 0; margin: 0; border-top: 1px dashed var(--line); font-size: .88rem; color: var(--muted); }
.recipe-meta li { display: inline-flex; align-items: center; gap: .35rem; }
.recipe-meta svg { width: 16px; height: 16px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; }
.brand-chip { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .65rem; border-radius: 999px; }
.recipe-meta .brand-chip { margin-left: auto; }
.brand-iss { background: #fbe3df; color: var(--red-dark); }
.brand-ortosa { background: var(--green-soft); color: var(--green); }

/* feature split */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.feature-rev .feature-img { order: 2; }
.feature-img { margin: 0; }
.feature-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature-text .brand-chip { margin-bottom: 1rem; }
.feature-list { list-style: none; padding: 0; margin: 1.4rem 0 2rem; display: grid; gap: .7rem; }
.feature-list li { display: flex; align-items: center; gap: .7rem; font-weight: 600; color: var(--ink); }
.feature-list svg { width: 22px; height: 22px; fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* brand duo */
.brand-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.brand-card { display: block; background: var(--green-deep); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: #d9e0d5; border: 1px solid rgba(255,255,255,.08); transition: transform .3s var(--ease); }
.brand-card:hover { transform: translateY(-4px); color: #d9e0d5; }
.brand-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.brand-card-body { padding: 1.6rem 1.8rem 1.9rem; }
.brand-card-body h3 { color: #fff; font-size: 1.6rem; margin: .9rem 0 .4rem; }
.brand-card .link-arrow { color: var(--gold); }

/* blog card */
.post-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.post-card a { display: grid; grid-template-columns: .9fr 1.1fr; background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; color: inherit; text-decoration: none; box-shadow: var(--shadow-sm); height: 100%; transition: box-shadow .3s; }
.post-card a:hover { box-shadow: var(--shadow-md); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 1.5rem; }
.post-card-body .eyebrow { margin-bottom: .6rem; }
.post-card-body h3 { font-size: 1.25rem; }
.post-card-body p:not(.eyebrow) { color: var(--muted); font-size: .96rem; }

/* CTA */
.cta-banner { padding: 0 0 clamp(4rem, 8vw, 6rem); }
.section-alt + .cta-banner, .section-dark + .cta-banner { padding-top: clamp(4rem, 8vw, 6rem); }
.cta-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; background: var(--green); color: #d9e0d5; border-radius: var(--radius-lg); padding: clamp(2rem, 4vw, 3rem); position: relative; overflow: hidden; }
.cta-inner::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 2px dashed rgba(224,164,58,.35); pointer-events: none; }
.cta-inner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .3rem; }
.cta-inner p { margin: 0; }
.cta-actions { display: flex; flex-direction: column; gap: .7rem; position: relative; z-index: 1; }

/* pagina ricetta */
.recipe-hero { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2.5rem, 5vw, 4rem); background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.recipe-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.recipe-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); }
.recipe-hero-img { margin: 0; }
.recipe-hero-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.recipe-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 1rem 2rem; list-style: none; padding: 1.4rem 0; margin: 1.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.recipe-facts li { display: flex; align-items: center; gap: .7rem; }
.recipe-facts svg { width: 28px; height: 28px; fill: none; stroke: var(--red); stroke-width: 1.7; stroke-linecap: round; flex: none; }
.recipe-facts span { font-size: .84rem; color: var(--muted); line-height: 1.3; }
.recipe-facts strong { display: block; color: var(--ink); font-size: 1.02rem; }
.recipe-tools { display: flex; flex-wrap: wrap; gap: .6rem; }
.recipe-body { display: grid; grid-template-columns: 360px 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.ingredients { position: sticky; top: calc(var(--nav-h) + 1.5rem); background: var(--paper); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-sm); border-top: 5px solid var(--gold); }
.ingredients h2 { font-size: 1.6rem; }
.ingredients h2 small { display: block; font: 600 .85rem/1.4 var(--font-body); color: var(--muted); margin-top: .3rem; }
.ingr-list { list-style: none; padding: 0; margin: 0; }
.ingr-list li { border-bottom: 1px dashed var(--line); }
.ingr-list label { display: flex; gap: .75rem; align-items: flex-start; padding: .7rem 0; cursor: pointer; }
.ingr-list input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--green); flex: none; }
.ingr-list input:checked + span { text-decoration: line-through; color: var(--muted); }
.ingr-hint { font-size: .85rem; color: var(--muted); margin: 1rem 0 0; }
.steps { list-style: none; padding: 0; margin: 0 0 2.5rem; counter-reset: none; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.step-n { font: italic 500 2rem/1 var(--font-display); color: var(--red); }
.steps p { margin: .2rem 0 0; font-size: 1.08rem; color: var(--ink); }
.tip { background: var(--gold-soft); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.2rem 1.4rem; margin-bottom: 2rem; }
.tip strong { font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); }
.tip p { margin: .3rem 0 0; }
.product-box { display: grid; grid-template-columns: 140px 1fr; gap: 1.5rem; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; }
.product-box-img img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.product-box h3 { margin-bottom: .3rem; }
.product-box p:not(.eyebrow) { color: var(--muted); font-size: .97rem; }
.product-box .eyebrow { margin-bottom: .5rem; }
.link-arrow svg[viewBox] { width: 16px; height: 16px; }

/* filtri ricettario */
.filters { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin-bottom: 1rem; }
.search { display: flex; align-items: center; gap: .6rem; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 0 1.1rem; flex: 1 1 280px; max-width: 420px; }
.search:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.search svg { width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex: none; }
.search input { border: 0; background: transparent; padding: .9rem 0; font: inherit; color: var(--ink); width: 100%; outline: none; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { font: 600 .92rem/1 var(--font-body); padding: .65rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--green); }
.chip.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.results { color: var(--muted); font-size: .92rem; margin-bottom: 1.5rem; }
.empty { text-align: center; padding: 3rem 0; color: var(--muted); }

/* dispensa */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.4rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.prod-card { background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.prod-card-img img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; }
.prod-card-body { padding: 1.2rem 1.3rem 1.4rem; }
.prod-card-body h3 { font-size: 1.12rem; }
.prod-card-body p { font-size: .94rem; color: var(--muted); }
.prod-uses { font-weight: 700; color: var(--ink) !important; margin-bottom: .3rem; }
.prod-card-body ul { margin: 0; padding-left: 1.1rem; font-size: .94rem; }
.pro-box { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; background: var(--paper); border: 2px dashed var(--gold); border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 2.8rem); }
.pro-box > div { max-width: 640px; }
.pro-box p:last-child { margin: 0; color: var(--muted); }

/* valori */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.value { background: var(--paper); padding: 2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.value svg { width: 40px; height: 40px; fill: none; stroke: var(--red); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.2rem; }
.value p { color: var(--muted); margin: 0; }

/* contatti */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.contact-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.contact-list span { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--red); }
.contact-form { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow-md); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; color: var(--ink); margin-bottom: .4rem; font-size: .95rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: .85rem 1rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; margin: .4rem 0 1.4rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--green); flex: none; }
.form-note { font-size: .86rem; color: var(--muted); margin: .8rem 0 0; }
.form-status { font-weight: 700; color: var(--green); margin: .5rem 0 0; min-height: 1.4em; }

/* articolo / policy */
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose p, .prose li { font-size: 1.08rem; }
.prose-img { margin: 0 0 2rem; }
.prose-img img { border-radius: var(--radius-lg); width: 100%; }
.prose-cta { margin-top: 2.5rem; }
.faq-item { background: var(--paper); border-radius: var(--radius); margin-bottom: .7rem; border: 1px solid var(--line); }
.faq-item summary { cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font: 500 1.4rem/1 var(--font-display); color: var(--red); }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { padding: 0 1.3rem 1.2rem; margin: 0; }

.notfound svg { margin: 0 auto 1.5rem; }
.notfound h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.notfound .lead { margin: 0 auto; }

/* footer */
.site-footer { background: var(--green-deep); color: #b9c4b6; padding: clamp(3.5rem, 7vw, 5rem) 0 0; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand p { margin: 1.2rem 0; max-width: 32ch; }
.site-footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .5rem; }
.site-footer a { color: #d9e0d5; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer address { font-style: normal; line-height: 1.8; }
.footer-wa { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--gold) !important; }
.footer-wa svg { width: 20px; height: 20px; fill: currentColor; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.4rem; padding-bottom: 1.6rem; font-size: .86rem; }
.footer-bottom p { margin: 0; }

/* dati anagrafici mancanti (bozza) */
.da-inserire { display: inline-block; background: #ffd84d; color: #2b1d10; font: 700 .82em/1.3 var(--font-body); padding: .1em .5em; border-radius: 4px; letter-spacing: .02em; white-space: nowrap; }
p.footer-wa { margin: 0; }
.contact-list span.da-inserire { display: inline-block; font-size: .9rem; text-transform: none; letter-spacing: .02em; color: #2b1d10; margin: 0; }

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

/* responsive */
@media (max-width: 1024px) {
  .recipe-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-tile { aspect-ratio: 4 / 3; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .post-card a { grid-template-columns: 1fr; }
  .post-card-img img { aspect-ratio: 16 / 9; }
  .recipe-body { grid-template-columns: 300px 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .feature, .recipe-hero-grid, .contact-grid, .brand-duo { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-badge { left: 1rem; bottom: 1rem; }
  .feature-rev .feature-img { order: 0; }
  .recipe-hero-img { order: -1; }
  .recipe-hero-img img { aspect-ratio: 16 / 10; }
  .recipe-body { grid-template-columns: 1fr; }
  .ingredients { position: static; }
  .values { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; text-align: left; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 768px) {
  .post-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .recipe-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .hero-stats li { display: flex; align-items: baseline; gap: .8rem; }
  .hero-stats strong { margin: 0; min-width: 2ch; }
  .hero-stats span { max-width: none; }
  .recipe-facts { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .product-box { grid-template-columns: 1fr; }
  .product-box-img img { aspect-ratio: 16 / 10; }
  .brand-name { font-size: 1.25rem; }
  .cta-mark { display: none; }
}
@media (max-width: 480px) {
  .cat-grid { gap: .8rem; }
  .cat-tile-text strong { font-size: 1.1rem; }
  .btn { width: 100%; }
  .recipe-tools .btn, .chips .chip { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* stampa: solo la ricetta */
@media print {
  .site-header, .site-footer, .cta-banner, .recipe-tools, .section-alt, .product-box, .ingr-hint, .skip-link, .nav-overlay, .recipe-hero-img, .breadcrumb { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .recipe-hero { background: none; border: 0; padding: 0; }
  .recipe-hero-grid, .recipe-body { display: block; }
  .ingredients { position: static; box-shadow: none; border: 1px solid #ccc; margin-bottom: 1rem; }
  .section { padding: 1rem 0; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
