/* Il Grifo — Cornaredo · proposta di restyling */
:root {
  --verde: #1e3b2f;
  --verde-scuro: #142a21;
  --verde-chiaro: #2b5141;
  --oro: #c9a227;
  --oro-chiaro: #e2c56a;
  --oro-testo: #7a5d0c;
  --pergamena: #f3ead6;
  --pergamena-2: #e8dbbd;
  --inchiostro: #1f1d18;
  --grigio: #57524a;
  --brace: #c4471d;
  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --display: "Alegreya SC", Georgia, serif;
  --text: "Alegreya Sans", "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 72px; }
body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--inchiostro);
  background: var(--pergamena);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -.01em; margin: 0; }
h2 { font-size: clamp(2.3rem, 6vw, 3.9rem); letter-spacing: -.02em; margin-bottom: .45em; }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--oro); color: var(--verde-scuro); padding: .6em 1em; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--oro); outline-offset: 3px; }

/* striscia anteprima */
.preview-strip {
  height: 28px; line-height: 28px; font-size: .78rem; letter-spacing: .04em;
  text-align: center; background: var(--verde-scuro); color: var(--oro-chiaro);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 12px;
}

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--verde);
  color: var(--pergamena);
  border-bottom: 1px solid rgba(201, 162, 39, .35);
  transition: box-shadow .3s var(--ease);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; transition: height .3s var(--ease); }
.site-header.is-compact .header-inner { height: 56px; }
.site-header.is-compact { box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.brand { display: flex; align-items: baseline; gap: .55rem; text-decoration: none; color: var(--pergamena); }
.brand-mark { width: 34px; height: 34px; color: var(--oro); align-self: center; transition: width .3s var(--ease), height .3s var(--ease); }
.is-compact .brand-mark { width: 28px; height: 28px; }
.brand-name { font-family: var(--display); font-size: 1.65rem; font-weight: 800; letter-spacing: .01em; }
.brand-sub { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--oro-chiaro); }

.menu-toggle {
  display: inline-flex; align-items: center; gap: .6rem; background: none; border: 1px solid rgba(243, 234, 214, .4);
  color: var(--pergamena); font: 500 .95rem var(--text); padding: .45rem .8rem; border-radius: 2px; cursor: pointer;
}
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .25s var(--ease), background .25s;
}
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--verde); border-bottom: 1px solid rgba(201, 162, 39, .35); display: none; }
.nav.is-open { display: block; animation: drop .25s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.nav ul { list-style: none; margin: 0; padding: 8px var(--gutter) 20px; }
.nav a { display: block; padding: .8rem 0; text-decoration: none; font-size: 1.15rem; border-bottom: 1px solid rgba(243, 234, 214, .12); }
.nav a:hover { color: var(--oro-chiaro); }
.nav-cta a { color: var(--oro-chiaro); font-weight: 700; border-bottom: 0; }

@media (min-width: 960px) {
  .menu-toggle { display: none; }
  .nav { position: static; display: block; background: none; border: 0; }
  .nav ul { display: flex; align-items: center; gap: 1.6rem; padding: 0; }
  .nav a { padding: .3rem 0; border: 0; font-size: 1rem; position: relative; }
  .nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--oro); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
  .nav-cta a { background: var(--oro); color: var(--verde-scuro); padding: .55rem 1rem; border-radius: 2px; }
  .nav-cta a::after { display: none; }
  .nav-cta a:hover { background: var(--oro-chiaro); color: var(--verde-scuro); }
}

/* bottoni */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.35rem; font: 700 1rem var(--text); letter-spacing: .02em;
  text-decoration: none; border-radius: 2px; border: 2px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, transform .2s var(--ease), border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--oro); color: var(--verde-scuro); }
.btn-gold:hover { background: var(--oro-chiaro); }
.btn-line { border-color: rgba(243, 234, 214, .55); color: var(--pergamena); }
.btn-line:hover { border-color: var(--oro); color: var(--oro-chiaro); }
.btn-line-dark { border-color: var(--verde); color: var(--verde); background: transparent; }
.btn-line-dark:hover { background: var(--verde); color: var(--pergamena); }
.btn-block { width: 100%; }
.form .btn { grid-column: 1 / -1; }

/* hero */
.hero { position: relative; background: var(--verde); color: var(--pergamena); overflow: hidden; padding: 40px 0 72px; }
.hero::before { /* filetto oro araldico */
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(201, 162, 39, .25); pointer-events: none; display: none;
}
@media (min-width: 700px) { .hero::before { display: block; } }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 40px; }
.eyebrow { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--oro-chiaro); margin-bottom: 1.2rem; }
.h1-name { display: block; font-size: clamp(4.6rem, 17vw, 10.5rem); font-weight: 800; line-height: .82; letter-spacing: -.035em; color: var(--pergamena); }
.h1-tag { display: block; margin-top: 1.1rem; font-family: var(--text); font-weight: 500; font-size: clamp(1.35rem, 3.4vw, 1.9rem); line-height: 1.25; letter-spacing: 0; color: var(--oro-chiaro); max-width: 22ch; }
.hero-lead { max-width: 46ch; margin-top: 1.2rem; color: rgba(243, 234, 214, .88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.live { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.4rem; font-size: .98rem; color: rgba(243, 234, 214, .85); }
.live .dot { width: 10px; height: 10px; border-radius: 50%; background: #9aa39d; box-shadow: 0 0 0 4px rgba(154, 163, 157, .2); }
.live.is-open .dot { background: #7fd18b; box-shadow: 0 0 0 4px rgba(127, 209, 139, .2); }
.live.is-closed .dot { background: #e0896c; box-shadow: 0 0 0 4px rgba(224, 137, 108, .2); }

.hero-figure { margin: 0; justify-self: center; width: min(100%, 470px); }
.scudo-frame { background: var(--oro); padding: 7px; clip-path: url(#scudo); aspect-ratio: 5 / 6; }
.scudo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; clip-path: url(#scudo); }
.hero-figure figcaption { margin-top: .9rem; text-align: center; font-style: italic; color: rgba(243, 234, 214, .78); font-size: .98rem; }
.hero-figure figcaption span, .forno-photo figcaption span { display: block; font-style: normal; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; opacity: .9; margin-top: .2rem; }
.hero-crest { display: none; }

@media (min-width: 900px) {
  .hero { padding: 64px 0 96px; }
  .hero-grid { grid-template-columns: 1.25fr .9fr; align-items: center; gap: 56px; }
  .hero-figure { justify-self: end; margin-top: 20px; }
  .hero-crest { display: block; position: absolute; z-index: 0; width: 460px; height: 460px; left: -150px; bottom: -190px; color: rgba(201, 162, 39, .06); }
}

/* striscia fatti */
.facts {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0;
  margin: -28px auto 0; position: relative; z-index: 2;
  background: var(--pergamena); border: 1px solid var(--oro); outline: 6px solid var(--pergamena);
  padding: 14px 10px; max-width: calc(var(--wrap) - 2 * var(--gutter));
  width: calc(100% - 2 * var(--gutter));
}
@media (min-width: 641px) { .facts li:first-child::before { display: none; } }
.facts li { font-family: var(--display); font-weight: 700; font-size: 1.02rem; padding: .25rem .9rem; color: var(--verde); white-space: nowrap; }
.facts li::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--oro); transform: rotate(45deg); margin-right: 1.2rem; margin-left: -.6rem; vertical-align: middle; position: relative; top: -2px; }
@media (max-width: 640px) {
  .facts { justify-content: flex-start; padding: 12px 14px; }
  .facts li { padding: .2rem .4rem; font-size: .98rem; }
  .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8px; }
  .facts li { white-space: normal; line-height: 1.25; display: flex; align-items: baseline; gap: .5rem; }
  .facts li::before { margin: 0; flex: none; top: -1px; }
}

/* sezioni */
.sec { padding: clamp(72px, 10vw, 128px) 0; }
.kicker { display: flex; align-items: center; gap: .8rem; font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: .12em; color: var(--oro-testo); margin-bottom: 1rem; }
.kicker .num { display: inline-grid; place-items: center; min-width: 2.2rem; height: 2.2rem; padding: 0 .4rem; border: 1px solid currentColor; font-size: .9rem; letter-spacing: 0; }
.kicker::after { content: ""; flex: 0 1 80px; height: 1px; background: currentColor; opacity: .6; }
.small { font-size: .88rem; color: var(--grigio); }
.note { font-size: 1rem; color: var(--grigio); margin-top: 1.8rem; max-width: 60ch; }
.note a { color: var(--verde); font-weight: 700; }

/* forno */
.forno-grid { display: grid; gap: 48px; }
.oven-panel { background: var(--verde); padding: 28px 22px 18px; position: relative; border: 1px solid var(--oro); outline: 1px solid var(--verde); outline-offset: 5px; margin: 6px; }
.oven { width: 100%; height: auto; overflow: visible; }
.o-line, .o-dome, .o-arch, .o-base { fill: none; stroke: var(--oro); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.o-dome { fill: rgba(201, 162, 39, .06); }
.o-base { fill: rgba(201, 162, 39, .12); }
.o-arch { stroke-width: 4; }
.thin { stroke-width: 1.6; opacity: .75; }
.bricks { opacity: .5; }
.smoke path { fill: none; stroke: rgba(243, 234, 214, .35); stroke-width: 2; stroke-linecap: round; }
.peel path { stroke: var(--oro); stroke-width: 4; stroke-linecap: round; }
.peel ellipse { fill: none; stroke: var(--oro); stroke-width: 3; }
.fl { fill: #ffcf6e; opacity: .85; transform-box: fill-box; transform-origin: 50% 100%; }
.fl2 { fill: #ffe39c; }
.logs rect { fill: #3b1f12; stroke: #1c0d06; stroke-width: 1; }
.sparks circle { fill: #ffe0a0; }
.oven-cap { font-size: .85rem; color: rgba(243, 234, 214, .7); text-align: center; margin: 10px 0 0; font-style: italic; }

/* firma: brace che pulsa solo dentro il forno */
.glow-a { animation: brace 3.2s ease-in-out infinite; }
.glow-b { transform-box: fill-box; transform-origin: 50% 100%; animation: alone 2.4s ease-in-out infinite; }
.fl1 { animation: fiamma 1.6s ease-in-out infinite; }
.fl2 { animation: fiamma 1.9s ease-in-out infinite .3s; }
.fl3 { animation: fiamma 1.4s ease-in-out infinite .6s; }
.sparks circle { animation: scintilla 2.6s linear infinite; }
.sparks circle:nth-child(2) { animation-delay: .7s; }
.sparks circle:nth-child(3) { animation-delay: 1.3s; }
.sparks circle:nth-child(4) { animation-delay: 1.9s; }
.smoke path { stroke-dasharray: 6 10; animation: fumo 6s linear infinite; }
@keyframes brace { 0%, 100% { opacity: .82; } 30% { opacity: 1; } 55% { opacity: .9; } 75% { opacity: .97; } }
@keyframes alone { 0%, 100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.08, 1.14); opacity: 1; } }
@keyframes fiamma { 0%, 100% { transform: scale(1, 1) skewX(0); } 35% { transform: scale(.92, 1.12) skewX(-3deg); } 70% { transform: scale(1.05, .9) skewX(2deg); } }
@keyframes scintilla { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-46px); opacity: 0; } }
@keyframes fumo { to { stroke-dashoffset: -64; } }
.oven:not(.is-lit) .glow-a, .oven:not(.is-lit) .glow-b, .oven:not(.is-lit) .fl, .oven:not(.is-lit) .sparks circle { animation-play-state: paused; }

.forno-text h2 { margin-bottom: 1rem; }
.doughs { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 0; }
.doughs li { position: relative; padding: 1.2rem 0 1.2rem 4.2rem; border-top: 1px solid rgba(30, 59, 47, .25); }
.doughs li:last-child { border-bottom: 1px solid rgba(30, 59, 47, .25); }
.d-num { position: absolute; left: 0; top: 1.05rem; font-family: var(--display); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--oro-testo); }
.doughs h3 { margin-bottom: .25rem; color: var(--verde); }
.doughs p { margin: 0; color: var(--grigio); }
.forno-photo { margin: 2rem 0 0; }
.forno-note { margin-top: 1.6rem; color: var(--grigio); }
.forno-note a { color: var(--verde); font-weight: 700; }
@media (max-width: 959px) { .forno-left { order: 2; } }
.forno-photo img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.forno-photo figcaption { font-size: .95rem; color: var(--grigio); margin-top: .6rem; font-style: italic; }
.forno-photo figcaption span { opacity: .8; }

@media (min-width: 960px) {
  .forno-grid { grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: start; }
  .forno-text { padding-top: 40px; }
  .forno-photo { width: 78%; margin: -56px 0 0 auto; position: relative; z-index: 2; border: 8px solid var(--pergamena); background: var(--pergamena); }
  .forno-photo figcaption { padding: 0 4px; }
}

/* cucina */
.cucina { background: var(--pergamena-2); position: relative; }
.cucina::before, .cucina::after { content: ""; position: absolute; left: 0; right: 0; height: 10px; background: repeating-linear-gradient(90deg, var(--verde) 0 18px, var(--oro) 18px 36px); }
.cucina::before { top: 0; }
.cucina::after { bottom: 0; }
.cucina-head { display: grid; gap: 0; margin-bottom: 2.4rem; }
.cucina-intro { max-width: 52ch; font-size: 1.2rem; }
.mosaic { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.mosaic figure { margin: 0; position: relative; overflow: hidden; background: var(--verde); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mosaic figure:hover img { transform: scale(1.04); }
.mosaic figcaption {
  position: absolute; left: 0; bottom: 0; right: 0; padding: 2.2rem 14px 12px;
  background: linear-gradient(to top, rgba(20, 42, 33, .92), rgba(20, 42, 33, 0));
  color: var(--pergamena); font-size: .95rem; line-height: 1.3;
}
.mosaic figcaption b { display: block; font-family: var(--display); font-size: 1.35rem; color: var(--oro-chiaro); }
.m-a { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.m-b { aspect-ratio: 1; }
.m-c { aspect-ratio: 1; }
.m-d { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.m-d img { object-position: 50% 70%; }
@media (min-width: 900px) {
  .cucina-head { grid-template-columns: 1fr 1fr; align-items: end; column-gap: 64px; }
  .cucina-head .kicker { grid-column: 1 / -1; }
  .cucina-intro { margin: 0 0 .4rem; }
  .mosaic { grid-template-columns: 1.4fr 1fr .8fr; grid-template-rows: 260px 260px; gap: 16px; }
  .m-a { grid-column: 1; grid-row: 1 / 3; aspect-ratio: auto; }
  .m-b { grid-column: 2; grid-row: 1 / 3; aspect-ratio: auto; }
  .m-c { grid-column: 3; grid-row: 1; aspect-ratio: auto; }
  .m-d { grid-column: 3; grid-row: 2; aspect-ratio: auto; }
}

/* sala */
.sala { background: var(--verde); color: var(--pergamena); }
.sala .kicker { color: var(--oro-chiaro); }
.sala-grid { display: grid; gap: 40px; }
.sala-photo { margin: 0; position: relative; max-width: 440px; }
.sala-photo img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border: 1px solid var(--oro); padding: 8px; }
.sala-photo figcaption { position: absolute; right: 16px; bottom: 16px; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; background: rgba(20, 42, 33, .8); padding: .2rem .5rem; }
.sala-text h2 { margin-bottom: 1.2rem; }
.sala-text > p { color: rgba(243, 234, 214, .9); max-width: 52ch; }
.sala-list { margin: 2rem 0 0; display: grid; gap: 0; }
.sala-list div { padding: 1rem 0; border-top: 1px solid rgba(201, 162, 39, .35); display: grid; gap: .2rem; }
.sala-list dt { font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--oro-chiaro); }
.sala-list dd { margin: 0; color: rgba(243, 234, 214, .85); }
@media (min-width: 900px) {
  .sala-grid { grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
  .sala-photo { margin-top: -150px; }
  .sala-list div { grid-template-columns: 11rem 1fr; gap: 1.2rem; align-items: baseline; }
}

/* orari + prenota */
.op-grid { display: grid; gap: 64px; }
.badge-line { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 1.2rem 0 1.4rem; }
.badge { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .95rem; padding: .35rem .8rem; border-radius: 999px; background: #e3ded3; color: var(--inchiostro); }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.badge.is-open { background: #dcebdc; color: #1d5a2c; }
.badge.is-closed { background: #f3dcd3; color: #8a2c13; }
.badge-note { color: var(--grigio); font-size: .98rem; }
.hours { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.hours th, .hours td { text-align: left; padding: .62rem .6rem; border-bottom: 1px solid rgba(30, 59, 47, .18); }
.hours th { font-family: var(--display); font-weight: 700; color: var(--verde); width: 40%; }
.hours td { font-variant-numeric: tabular-nums; }
.hours tr.is-today { background: var(--verde); color: var(--pergamena); }
.hours tr.is-today th { color: var(--oro-chiaro); }
.hours tr.is-today th::after { content: " · oggi"; font-family: var(--text); font-weight: 400; font-size: .85rem; letter-spacing: .04em; }

.prenota { background: #fbf6ea; border: 1px solid rgba(201, 162, 39, .6); padding: 28px 22px; position: relative; }
.prenota::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(201, 162, 39, .3); pointer-events: none; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; margin-top: 1.2rem; position: relative; z-index: 1; }
.f-row { grid-column: 1 / -1; display: grid; gap: .35rem; margin: 0; }
.f-half { grid-column: span 1; }
.form label, .form legend { font-weight: 700; font-size: .95rem; color: var(--verde); }
.opt { font-weight: 400; color: var(--grigio); }
.form input:not([type=radio]), .form select, .form textarea {
  width: 100%; font: 400 1.05rem var(--text); color: var(--inchiostro); background: #fff;
  border: 1px solid #b8ad92; border-radius: 2px; padding: .7rem .75rem; min-height: 48px;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(201, 162, 39, .55); outline-offset: 0; border-color: var(--verde); }
.form [aria-invalid="true"] { border-color: #a5321a; background: #fff6f3; }
.f-err { color: #a5321a; font-size: .9rem; margin: 0; }
.f-turno { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.f-turno legend { margin-bottom: .35rem; padding: 0; width: 100%; }
.pill { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border: 1px solid #b8ad92; background: #fff; cursor: pointer; font-weight: 500 !important; color: var(--inchiostro) !important; min-height: 46px; }
.pill:has(input:checked) { background: var(--verde); color: var(--pergamena) !important; border-color: var(--verde); }
.pill input { accent-color: var(--oro); width: 18px; height: 18px; margin: 0; }
.riepilogo { margin-top: 1.4rem; background: var(--verde); color: var(--pergamena); padding: 22px; position: relative; z-index: 1; }
.riepilogo:focus { outline: 3px solid var(--oro); }
.r-title { font-family: var(--display); font-size: 1.3rem; color: var(--oro-chiaro); margin-bottom: .4rem; }
.r-text { font-size: 1.05rem; }
.r-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.riepilogo .btn-line-dark { border-color: rgba(243, 234, 214, .6); color: var(--pergamena); }
.riepilogo .btn-line-dark:hover { background: var(--pergamena); color: var(--verde); }
.riepilogo .small { color: rgba(243, 234, 214, .8); margin: .8rem 0 0; }
@media (min-width: 960px) {
  .op-grid { grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: start; }
  .prenota { padding: 40px 38px; margin-top: 30px; }
}

/* faq */
.faq { background: var(--pergamena-2); }
.faq-grid { display: grid; gap: 32px; }
.faq-crest { display: none; }
.acc { border-top: 2px solid var(--verde); }
.acc-item { border-bottom: 1px solid rgba(30, 59, 47, .25); }
.acc-item h3 { font-family: var(--text); font-size: 1.15rem; font-weight: 700; letter-spacing: 0; }
.acc-item button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left;
  background: none; border: 0; padding: 1.15rem 0; font: inherit; color: var(--verde); cursor: pointer;
}
.acc-item button:hover { color: var(--oro-testo); }
.acc-ico { flex: none; width: 22px; height: 22px; position: relative; border: 1px solid currentColor; border-radius: 50%; }
.acc-ico::before, .acc-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.acc-ico::after { transform: translate(-50%, -50%) rotate(90deg); }
[aria-expanded="true"] .acc-ico::after { transform: translate(-50%, -50%) rotate(0); }
.acc-panel { padding: 0 0 1.2rem; max-width: 60ch; color: var(--grigio); }
.acc-panel p { margin: 0; }
.acc-panel a { color: var(--verde); font-weight: 700; }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 80px; }
  .faq-crest { display: block; width: 180px; height: 180px; color: var(--verde); opacity: .9; margin-top: 2rem; }
}

/* dove */
.dove-grid { display: grid; gap: 36px; }
.dove-text h2 { margin-bottom: 1.4rem; }
address { font-style: normal; font-size: 1.15rem; line-height: 1.7; margin-bottom: 1.6rem; }
address a { color: var(--verde); font-weight: 700; }
.dove-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.map { border: 1px solid var(--oro); padding: 8px; background: #fbf6ea; position: relative; }
.map::before { content: "Mappa · Via Milano 47, Cornaredo"; position: absolute; inset: 8px; display: grid; place-items: center; font-family: var(--display); font-size: 1.2rem; color: var(--verde); background: repeating-linear-gradient(45deg, #efe5cd 0 12px, #f6eedb 12px 24px); }
.map iframe { position: relative; }
.map iframe { display: block; width: 100%; height: 380px; border: 0; filter: saturate(.85); }
@media (min-width: 900px) {
  .dove-grid { grid-template-columns: .9fr 1.3fr; gap: 64px; align-items: center; }
  .map iframe { height: 440px; }
}

/* footer */
.footer { background: var(--verde-scuro); color: rgba(243, 234, 214, .85); padding: 56px 0 28px; font-size: 1rem; }
.footer a { color: var(--oro-chiaro); }
.footer-grid { display: grid; gap: 28px; }
.f-mark { width: 54px; height: 54px; color: var(--oro); }
.f-name { font-family: var(--display); font-size: 2rem; font-weight: 800; color: var(--pergamena); margin: .3rem 0 0; line-height: 1; }
.credits { font-size: .85rem; opacity: .75; }
.f-legal { font-size: .8rem; opacity: .6; margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(201, 162, 39, .2); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1fr 1.2fr 1.2fr; } }

/* barra azioni mobile */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--verde-scuro); border-top: 1px solid var(--oro); padding-bottom: env(safe-area-inset-bottom);
}
.action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 60px; color: var(--pergamena); text-decoration: none; font-size: .82rem; font-weight: 700; letter-spacing: .03em; }
.action-bar a + a { border-left: 1px solid rgba(201, 162, 39, .25); }
.action-bar a:first-child { background: var(--oro); color: var(--verde-scuro); }
.action-bar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.action-bar a:first-child svg { fill: currentColor; stroke: none; }
body { padding-bottom: 60px; }
@media (min-width: 960px) { .action-bar { display: none; } body { padding-bottom: 0; } }

/* reveal */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
