/* Pizzeria Da Lino — cream, terracotta, dark green */
:root { --cream: #F6EFE3; --cream-2: #EFE4D2; --paper: #FFFCF7; --ink: #26211B; --muted: #6E6358; --terra: #C0552B; --terra-dark: #9F4421; --green: #1F3D2B; --green-2: #28503A; --gold: #D9A441; --line: #E2D7C4; --wa: #1EBE5D; --wa-dark: #169C4B; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: 'Source Sans 3', system-ui, sans-serif; font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--cream); }
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.1; margin: 0 0 0.4em; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); color: #fff; } h1 em { font-style: italic; color: var(--gold); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
p { margin: 0 0 1em; } a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(100% - 32px, 1120px); margin-inline: auto; }
.eyebrow { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terra); font-weight: 700; margin-bottom: 10px; }
.eyebrow--gold { color: var(--gold); }
.muted { color: var(--muted); } .small { font-size: 0.85rem; }
.tag { display: inline-block; font-size: 0.65rem; font-weight: 700; padding: 1px 6px; border-radius: 4px; background: var(--green); color: #fff; vertical-align: middle; letter-spacing: 0.03em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: #fff; padding: 8px 12px; z-index: 999; } .skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 8px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 700; transition: transform 0.2s, background 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn--wa { background: var(--wa); color: #fff; } .btn--wa:hover { background: var(--wa-dark); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn--sm { padding: 9px 16px; font-size: 0.9rem; }

.demobar { background: #0B1020; color: #E6E9F2; font-size: 0.82rem; padding: 7px 0; }
.demobar .wrap { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; text-align: center; }
.demobar strong { color: #A78BFA; } .demobar a { color: #fff; font-weight: 700; }

.nav { position: sticky; top: 0; z-index: 50; background: rgba(246,239,227,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.nav.scrolled { border-color: var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.brand em { font-style: italic; color: var(--terra); }
.brand__mark { width: 34px; height: 34px; border-radius: 50%; background: var(--terra); color: var(--cream); display: grid; place-items: center; font-style: italic; flex-shrink: 0; }
.nav__links { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: 0.95rem; }
.nav__links a:not(.btn) { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; } .nav__links a:not(.btn):hover { border-color: var(--terra); }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

.hero { position: relative; min-height: 86vh; display: grid; align-items: end; color: #fff; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; } .hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,15,10,0.25), rgba(20,15,10,0.75) 70%); }
.hero__in { padding: 120px 0 64px; max-width: 720px; animation: rise 0.9s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.hero .eyebrow { color: var(--gold); }
.hero .lead { font-size: 1.2rem; color: #F3EBDD; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 20px; }
.hero__status { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.95rem; color: #F3EBDD; margin: 0; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 3px rgba(30,190,93,0.3); } .dot.off { background: var(--terra); box-shadow: 0 0 0 3px rgba(192,85,43,0.3); }

.section { padding: 88px 0; opacity: 0; transform: translateY(14px); transition: opacity 0.7s, transform 0.7s; } .section.in { opacity: 1; transform: none; }
.section--green { background: var(--green); color: #EDE6D6; } .section--green h2 { color: #fff; } .section--green p { color: #D7CFBF; }
.section--cream { background: var(--cream-2); }
.section__head { max-width: 640px; margin-bottom: 28px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } .two--top { align-items: start; }

.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: none; } .tabs::-webkit-scrollbar { display: none; }
.tab { flex-shrink: 0; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font: inherit; font-weight: 700; cursor: pointer; color: var(--muted); }
.tab--on { background: var(--green); color: #fff; border-color: var(--green); }
.menu { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 48px; }
.dish { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); animation: fade 0.45s both; animation-delay: calc(var(--i) * 40ms); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.dish h3 { margin: 0; font-size: 1.1rem; font-weight: 600; } .dish .price { font-weight: 700; color: var(--terra); white-space: nowrap; }
.dish p { grid-column: 1 / 3; margin: 0; font-size: 0.92rem; color: var(--muted); } .dish .tag { margin-left: 4px; }

.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.facts li { display: flex; align-items: baseline; gap: 16px; padding: 18px 20px; border: 1px solid var(--green-2); border-radius: 12px; background: rgba(255,255,255,0.04); }
.facts strong { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--gold); min-width: 110px; } .facts span { color: #D7CFBF; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery figure { margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; opacity: 0; transform: scale(0.97); transition: opacity 0.6s, transform 0.6s; }
.gallery figure.in { opacity: 1; transform: none; } .gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; } .gallery figure:hover img { transform: scale(1.04); }

.hours { border-collapse: collapse; width: 100%; max-width: 440px; margin: 16px 0 10px; }
.hours th, .hours td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; } .hours th { font-weight: 700; width: 42%; }
.hours tr.today th, .hours tr.today td { color: var(--terra); font-weight: 700; }
.map { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: #E6DDCB; } .map iframe { width: 100%; height: 100%; border: 0; display: block; }

.contact { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-weight: 600; }
.contact__list a, .contact__list span { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; } .contact__list a:not(.btn):hover { color: var(--terra); }

.footer { background: var(--green); color: #D7CFBF; padding: 36px 0; font-size: 0.9rem; }
.footer__in { display: grid; gap: 14px; } .footer a { color: #fff; } .footer__links { display: flex; flex-wrap: wrap; gap: 18px; } .footer__links a { text-decoration: none; font-weight: 600; }
.footer__small { margin: 0; font-size: 0.78rem; color: #B9AF9C; }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(30,190,93,0.45); z-index: 40; transition: transform 0.2s; }
.wa-float:hover { transform: scale(1.08); }

/* QR menu page */
.qrpage { background: var(--paper); }
.qr__head { padding: 20px 16px 10px; border-bottom: 1px solid var(--line); text-align: center; } .qr__head .brand { justify-content: center; margin-bottom: 8px; } .qr__head p { margin: 0; }
.catbar { position: sticky; top: 0; z-index: 20; display: flex; gap: 6px; overflow-x: auto; padding: 10px 12px; background: var(--paper); border-bottom: 1px solid var(--line); scrollbar-width: none; } .catbar::-webkit-scrollbar { display: none; }
.catbar a { flex-shrink: 0; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: 0.9rem; color: var(--muted); } .catbar a.on { background: var(--green); color: #fff; border-color: var(--green); }
.qr__main { max-width: 640px; margin: 0 auto; padding: 8px 16px 40px; } .qr__cat { padding-top: 24px; } .qr__cat h2 { font-size: 1.5rem; color: var(--terra); }
.qr__foot { max-width: 640px; margin: 0 auto; padding: 0 16px 48px; display: grid; gap: 16px; text-align: center; } .qr__foot .btn { width: 100%; }
.qr__print { border: 1px solid var(--line); border-radius: 12px; padding: 12px; } .qr__print summary { cursor: pointer; font-weight: 700; } .qr__print img { margin: 14px auto 6px; }

@media (max-width: 900px) { .two, .contact { grid-template-columns: 1fr; gap: 32px; } .menu { grid-template-columns: 1fr; } .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 1023px) {
  .nav, .nav.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav__links { position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); flex-direction: column; align-items: stretch; padding: 90px 24px 24px; background: var(--cream); box-shadow: -10px 0 40px rgba(0,0,0,0.15); transform: translateX(100%); transition: transform 0.3s; gap: 6px; }
  .nav__links.open { transform: none; } .nav__links a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); } .nav__links .btn { margin-top: 12px; }
  .burger { display: flex; position: relative; z-index: 60; }
}
@media (max-width: 767px) {
  .hero { min-height: 78vh; } .hero__in { padding: 90px 0 48px; } .hero__cta .btn { width: 100%; }
  .section { padding: 56px 0; } .gallery { grid-template-columns: 1fr 1fr; gap: 8px; } .gallery figure { aspect-ratio: 1; }
  .facts strong { font-size: 1.6rem; min-width: 90px; }
  .wa-float { right: 14px; bottom: 14px; }
}
@media print { .demobar, .catbar, .qr__foot .btn, #printQr, .qr__main { display: none !important; } .qr__print { border: 0; } .qr__print summary { display: none; } .qr__print img { width: 320px; height: 320px; } }
