/* Tiuni Osteria Contemporanea - stile crema e verde oliva (ripreso dal progetto Bolt) */
:root {
  --cream: #f2eee4; --paper: #faf8f2; --sand: #e4e0d0;
  --olive: #66704b; --olive-light: #dce2c7; --deep-olive: #39422d;
  --ink: #25261f; --line: #c9c7b8;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Helvetica Neue', Arial, sans-serif;
  --pad: clamp(22px, 7vw, 120px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--serif); font-size: 17px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--deep-olive); color: var(--paper); padding: 8px 14px; }
.skip-link:focus { left: 8px; }

h1, h2, h3 { font-weight: 400; letter-spacing: -.02em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(36px, 5.2vw, 72px); }
h2 { font-size: clamp(30px, 4vw, 56px); }
h3 { font-size: clamp(24px, 2.4vw, 32px); }
h1 strong, h2 strong { font-weight: 400; }
em { color: var(--olive); font-style: italic; }
strong { font-weight: 700; }

/* Intestazione */
.site-header { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 12px var(--pad); background: rgba(242,238,228,.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(57,66,45,.12); }
.brand-mark { grid-column: 2; display: block; width: 150px; }
.brand-mark img { width: 100%; height: auto; }
.main-nav { grid-column: 1; grid-row: 1; display: flex; gap: 30px; }
.main-nav a { color: var(--ink); text-decoration: none; font: 13px var(--sans); letter-spacing: .08em; padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.main-nav a:hover { color: var(--olive); }
.main-nav a[aria-current="page"] { color: var(--olive); border-bottom-color: currentColor; }
.menu-toggle { display: none; grid-column: 3; justify-self: end; width: 44px; height: 44px; border: 0; background: transparent; padding: 12px 10px; }
.menu-toggle span { display: block; height: 1.5px; background: var(--deep-olive); margin: 6px 0; transition: transform .25s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Pulsanti */
.solid-button, .outline-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 26px; border: 1px solid var(--deep-olive); font: 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: background .2s, color .2s; }
.solid-button { background: var(--deep-olive); color: var(--paper); }
.solid-button:hover { background: var(--olive); border-color: var(--olive); }
.solid-button.light { background: var(--paper); color: var(--deep-olive); border-color: var(--paper); }
.solid-button.light:hover { background: var(--olive-light); }
.outline-button { background: transparent; color: var(--deep-olive); }
.outline-button:hover { background: var(--sand); }

/* Home */
.hero-section { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; padding: 60px var(--pad) 90px; }
.hero-copy h1 { max-width: 560px; margin-bottom: 44px; animation: rise .8s ease both; }
.hero-dishes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 560px; }
.hero-dishes img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-image-wrap { height: min(82vh, 760px); overflow: hidden; border-radius: 999px 999px 0 0; }
.hero-image { width: 100%; height: 100%; object-fit: cover; }

.chef-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 6vw; padding: 90px var(--pad); background: var(--paper); }
.chef-image img { width: 100%; aspect-ratio: 2 / 3; max-height: 760px; object-fit: cover; position: sticky; top: 110px; }
.chef-copy h2 { margin-bottom: 28px; }
.chef-copy p { max-width: 560px; }
.video-frame { margin-top: 44px; }
.video-frame iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; background: var(--ink); }

.welcome-section { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; align-items: center; padding: 110px var(--pad); }
.welcome-image img { width: 100%; height: min(80vh, 720px); object-fit: cover; }
.welcome-copy { max-width: 560px; }
.welcome-copy h2 { margin-bottom: 28px; }
blockquote { margin: 38px 0; padding-left: 24px; border-left: 1px solid var(--olive); color: var(--deep-olive); font-size: 20px; font-style: italic; line-height: 1.5; }
blockquote p { margin: 0 0 10px; }
blockquote cite { display: block; margin-top: 14px; color: var(--olive); font: 15px var(--sans); letter-spacing: .04em; font-style: normal; }
.welcome-invite { font-size: 21px; line-height: 1.5; margin-bottom: 32px; }

/* Il Menù */
.menu-section, .lunch-section { padding: 90px var(--pad) 100px; background: var(--deep-olive); color: var(--paper); }
.menu-heading { text-align: center; margin-bottom: 64px; }
.menu-heading h1 { color: var(--paper); }
.menu-list { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 7vw; max-width: 1100px; margin: 0 auto; }
.menu-category h3 { margin: 0 0 16px; color: var(--olive-light); font-style: italic; }
.menu-item { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid rgba(242,238,228,.2); }
.menu-item .dish { font-weight: 700; }
.menu-item small { display: block; margin-top: 4px; color: #e0e4d7; font: 14px/1.5 var(--sans); }
.menu-item strong { white-space: nowrap; font-weight: 400; color: var(--paper); }
.menu-intro { align-self: center; color: var(--olive-light); font-style: italic; font-size: 19px; line-height: 1.6; }
.menu-intro p { margin: 0 0 14px; }
.lunch-section { background: #4a5339; border-top: 1px solid rgba(242,238,228,.15); }
.lunch-heading { text-align: center; margin-bottom: 56px; }
.lunch-heading h2 { color: var(--paper); }
.lunch-formula { display: inline-block; margin: 20px 0 0; padding: 8px 22px; border: 1px solid var(--olive-light); color: var(--olive-light); font: 15px var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.lunch-note { max-width: 560px; margin: 18px auto 0; color: #e0e4d7; }

.kitchen-section { padding: 100px var(--pad); display: grid; gap: 56px; }
.kitchen-copy { max-width: 760px; margin: 0 auto; text-align: center; }
.kitchen-copy h2 { margin-bottom: 26px; }
.kitchen-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kitchen-gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.kitchen-copy-end .solid-button { margin-top: 18px; }

.banner-section { position: relative; min-height: 62vh; display: grid; place-items: center; overflow: hidden; color: var(--paper); text-align: center; padding: 80px var(--pad); }
.banner-section > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-section::after { content: ''; position: absolute; inset: 0; background: rgba(37,38,31,.45); }
.banner-section h2, .banner-section > div { position: relative; z-index: 1; }
.banner-section h2 { font-size: clamp(34px, 5.5vw, 76px); max-width: 900px; }
.banner-section em { color: var(--olive-light); }
.banner-wine .solid-button { margin-top: 34px; }

/* La Cantina */
.wine-intro { padding: 80px var(--pad) 100px; }
.wine-intro > h1 { text-align: center; margin-bottom: 60px; }
.wine-intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 6vw; align-items: center; }
.wine-intro-image img { width: 100%; height: auto; }
.wine-intro-copy h2 { margin-bottom: 22px; font-size: clamp(28px, 3vw, 40px); }
.aperitivo-section { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; padding: 100px var(--pad); background: var(--paper); }
.aperitivo-copy h2 { margin-bottom: 24px; }
.aperitivo-price { margin-top: 30px; font-size: 22px; }
.aperitivo-images { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; align-items: end; }
.aperitivo-images img { width: 100%; object-fit: cover; }
.aperitivo-images img:first-child { aspect-ratio: 4 / 5; }
.aperitivo-images img:last-child { aspect-ratio: 3 / 4; }
.pairing-section { display: grid; grid-template-columns: 1fr .8fr; gap: 6vw; align-items: center; padding: 100px var(--pad); background: var(--deep-olive); color: var(--paper); }
.pairing-section h2 { color: var(--paper); margin-bottom: 22px; }
.pairing-section em { color: var(--olive-light); font-size: 20px; }
.pairing-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Prenota */
.booking-page { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; padding: 110px var(--pad); min-height: 60vh; }
.booking-title h1 { margin-bottom: 40px; }
.booking-title h2 { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 18px; color: var(--deep-olive); }
.booking-options { max-width: 520px; width: 100%; }
.booking-options > a, .booking-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 0; min-height: 64px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--deep-olive); text-decoration: none; font-size: 19px; }
.booking-options > a:hover { color: var(--olive); }
.booking-options span { font-family: var(--sans); font-size: 17px; }

/* Piè di pagina */
.site-footer { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; padding: 70px var(--pad) 30px; background: var(--ink); color: #e9e6da; font: 15px/1.6 var(--sans); }
.site-footer h3 { color: var(--paper); font-family: var(--serif); font-size: 30px; }
.site-footer p { margin: 0 0 8px; }
.site-footer a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(233,230,218,.3); }
.footer-copy { grid-column: 1 / -1; margin-top: 30px !important; padding-top: 20px; border-top: 1px solid rgba(233,230,218,.15); font-size: 12px; letter-spacing: .08em; color: #b9b6a8; }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Telefono e tablet */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .site-header { grid-template-columns: 44px 1fr 44px; padding: 8px 18px; }
  .brand-mark { width: 120px; justify-self: center; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; gap: 0; padding: 8px 24px 20px; background: var(--cream); border-bottom: 1px solid var(--line); }
  .main-nav.is-open { display: flex; }
  .main-nav a { font-size: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .main-nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .hero-section, .chef-section, .welcome-section, .wine-intro-grid, .aperitivo-section, .pairing-section, .booking-page, .site-footer { grid-template-columns: 1fr; }
  .hero-section { padding: 36px 22px 60px; gap: 34px; }
  .hero-copy h1 { margin-bottom: 28px; }
  .hero-image-wrap { order: -1; height: 66vh; }
  .chef-section, .welcome-section, .aperitivo-section, .pairing-section, .kitchen-section { padding: 64px 22px; gap: 34px; }
  .chef-image img { max-height: 520px; }
  .welcome-image img { height: 440px; }
  .video-frame { margin-top: 30px; }
  .menu-section, .lunch-section { padding: 60px 22px; }
  .menu-heading { margin-bottom: 40px; }
  .menu-list { grid-template-columns: 1fr; gap: 44px; }
  .menu-item strong { font-size: 16px; }
  .kitchen-gallery { grid-template-columns: 1fr 1fr; }
  .kitchen-gallery img:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .wine-intro { padding: 50px 22px 64px; }
  .wine-intro > h1 { margin-bottom: 34px; }
  .wine-intro-grid { gap: 30px; }
  .banner-section { min-height: 50vh; padding: 60px 22px; }
  .booking-page { padding: 60px 22px 80px; gap: 30px; }
  .site-footer { padding: 54px 22px 26px; gap: 26px; }
}
