/* Pizza Matta — shared styles */
:root {
  --bg: #fbf6ee;
  --surface: #ffffff;
  --ink: #241a15;
  --muted: #6e5f55;
  --line: #eadfce;
  --red: #c62828;
  --red-dark: #9f1c1c;
  --yellow: #f6c343;
  --green: #2e7d32;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(36, 26, 21, .06), 0 8px 24px rgba(36, 26, 21, .07);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}
img, iframe { max-width: 100%; }
a { color: var(--red-dark); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 246, 238, .92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 12px; height: 60px; }
.brand {
  font-family: var(--font-display); font-weight: 800; font-size: 1.35rem;
  color: var(--red); text-decoration: none; letter-spacing: -.01em; white-space: nowrap;
}
.brand span { color: var(--ink); }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem;
  padding: 8px 10px; border-radius: 999px;
}
.nav a:hover, .nav a[aria-current="page"] { background: #f1e6d6; }
@media (max-width: 560px) { .nav .hide-sm { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .08s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(246, 195, 67, .35) 0 120px, transparent 121px),
    radial-gradient(circle at 92% 75%, rgba(198, 40, 40, .12) 0 180px, transparent 181px),
    var(--bg);
  padding: 56px 0 48px;
}
@media (max-width: 560px) {
  .hero {
    background:
      radial-gradient(circle at 100% 0%, rgba(246, 195, 67, .35) 0 90px, transparent 91px),
      var(--bg);
  }
}
.kicker {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--red-dark); background: #f6e3cf;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(3rem, 12vw, 6.5rem); font-weight: 800; color: var(--red);
  letter-spacing: -.03em; margin-bottom: .15em;
}
.hero .lead { font-size: clamp(1.05rem, 2.6vw, 1.3rem); max-width: 34ch; color: var(--ink); }
.hero .cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.status {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem;
  margin-top: 20px;
}
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--muted); }
.status.open::before { background: #22a344; box-shadow: 0 0 0 4px rgba(34, 163, 68, .18); }
.status.closed::before { background: var(--red); }

/* ---------- fact strip ---------- */
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin: -8px 0 0; padding: 0; list-style: none;
}
.facts li {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; font-size: .92rem; color: var(--muted);
}
.facts strong { display: block; color: var(--ink); font-size: 1.05rem; }
@media (max-width: 760px) { .facts { grid-template-columns: repeat(2, 1fr); } }

/* ---------- sections ---------- */
section.block { padding: 56px 0; }
section.block + section.block { border-top: 1px solid var(--line); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; gap: 24px; } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
}
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* hours */
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today td { font-weight: 800; color: var(--red-dark); }

/* contact list */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.contact-list a { font-weight: 700; text-decoration: none; font-size: 1.1rem; }

/* map */
.map {
  width: 100%; height: 360px; border: 0; border-radius: var(--radius);
  box-shadow: var(--shadow); background: #eee; display: block;
}

/* qr */
.qr-box { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.qr-box .qr { background: #fff; padding: 12px; border-radius: 12px; border: 1px solid var(--line); line-height: 0; }
.qr-box .qr img, .qr-box .qr canvas { width: 160px; height: 160px; }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .reviews { grid-template-columns: 1fr; } }
.review { margin: 0; }
.review blockquote { margin: 0 0 10px; font-size: 1.02rem; }
.review figcaption { color: var(--muted); font-size: .9rem; font-weight: 600; }
.stars { color: #e0a400; letter-spacing: 2px; }

/* footer */
.site-footer { background: var(--ink); color: #e9dfd3; padding: 32px 0 40px; margin-top: 0; font-size: .92rem; }
.site-footer a { color: #fff; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; }
.demo-note {
  font-size: .85rem; background: #fff6d6; border: 1px solid #f1dc94; color: #6b5300;
  border-radius: 10px; padding: 10px 14px;
}

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid #d9cbb8; border-radius: 10px; padding: 11px 12px;
}
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(198, 40, 40, .15);
}
.field .hint { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--red); }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
