/* Tarnina, strona demonstracyjna OK Software */

:root {
  --wegiel: #171411;
  --wegiel-2: #211c18;
  --wegiel-3: #2d2620;
  --krem: #f2eadb;
  --krem-2: #e8dcc5;
  --krem-3: #d6c7a9;
  --bordo: #7b2633;
  --bordo-2: #9a3543;
  --bordo-ciemne: #4d1620;
  --oliwka: #6d7649;
  --zloto: #c9a76b;
  --tekst: #1e1a16;
  --tekst-mut: #6f6659;
  --jasny-mut: #b3a793;
  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4.5vw, 72px);
  --max: 1320px;
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--tekst);
  background: var(--wegiel);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
b { font-weight: 600; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--krem); color: var(--tekst); padding: 10px 16px; border-radius: 4px;
}
.skip:focus { top: 16px; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

.h2 {
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.4em;
}
.h2 em, .hero-h em { font-style: italic; font-weight: 400; }
.h2-sub { display: block; font-size: 0.42em; font-style: italic; font-weight: 400; margin-top: 0.3em; color: var(--tekst-mut); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.32rem); line-height: 1.55; }

/* Przyciski */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 28px; border-radius: 2px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.98rem; letter-spacing: 0.005em; text-decoration: none;
  transition: background .25s, color .25s, border-color .25s, transform .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-krem { background: var(--krem); color: var(--tekst); border-color: var(--krem); }
.btn-krem:hover { background: #fff8ea; }
.btn-bordo { background: var(--bordo); color: var(--krem); border-color: var(--bordo); }
.btn-bordo:hover { background: var(--bordo-2); }
.btn-outline { background: transparent; border-color: currentColor; }
.btn-outline:hover { background: rgba(127, 110, 80, 0.12); }
.btn-s { padding: 11px 20px; font-size: 0.9rem; }
.btn-nav { padding: 11px 20px; font-size: 0.9rem; background: var(--krem); color: var(--tekst); border-color: var(--krem); }
.link-ul {
  background: none; border: 0; padding: 0; text-decoration: none; font-weight: 600;
  border-bottom: 1px solid currentColor; padding-bottom: 2px; line-height: 1.3;
}
.link-ul:hover { border-bottom-color: transparent; }

/* Nawigacja */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  color: var(--krem);
  transition: background .35s, box-shadow .35s;
}
.nav.is-solid { background: rgba(23, 20, 17, 0.94); backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(242, 234, 219, 0.08); }
.nav-in {
  width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; text-decoration: none; letter-spacing: 0.01em; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { text-decoration: none; font-size: 0.95rem; font-weight: 500; opacity: .85; padding-bottom: 3px; border-bottom: 1px solid transparent; transition: opacity .2s, border-color .2s; }
.nav-links a:hover { opacity: 1; border-bottom-color: currentColor; }
.nav-actions { display: flex; align-items: center; gap: 22px; }
.nav-phone { text-decoration: none; font-size: 0.92rem; opacity: .85; }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 10px; flex-direction: column; justify-content: center; gap: 7px; }
.burger span { display: block; height: 2px; background: var(--krem); transition: transform .3s, opacity .3s; }
.burger.is-open span:first-child { transform: translateY(4.5px) rotate(45deg); }
.burger.is-open span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--wegiel);
  color: var(--krem); padding: calc(var(--nav-h) + 24px) var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-100%); transition: transform .4s cubic-bezier(.7,0,.3,1); visibility: hidden;
}
.mobile-menu.is-open { transform: none; visibility: visible; }
.mobile-menu a { font-family: var(--serif); font-size: 2.2rem; text-decoration: none; padding: 6px 0; border-bottom: 1px solid rgba(242, 234, 219, 0.1); }
.mobile-menu-foot { margin-top: auto; font-size: 0.95rem; color: var(--jasny-mut); }
.mobile-menu-foot a { font-family: var(--sans); font-size: 1rem; border: 0; padding: 0; color: var(--krem); }

/* Hero */
.hero {
  position: relative; min-height: 100svh; min-height: 100vh;
  display: grid; align-items: end; color: var(--krem);
  overflow: hidden; isolation: isolate;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; z-index: -2; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(23,20,17,0.55) 0%, rgba(23,20,17,0.1) 30%, rgba(23,20,17,0.25) 60%, rgba(23,20,17,0.92) 100%),
    linear-gradient(90deg, rgba(23,20,17,0.5) 0%, rgba(23,20,17,0) 60%);
}
.hero-in {
  width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto;
  padding: calc(var(--nav-h) + 40px) 0 clamp(48px, 9vh, 110px);
}
.hero-note { font-family: var(--serif); font-size: clamp(1.2rem, 1.8vw, 1.5rem); margin-bottom: 1.2em; color: var(--krem-2); }
.hero-note i { font-style: italic; }
.hero-h {
  font-size: clamp(2.7rem, 7.2vw, 6.6rem);
  line-height: 1.0; letter-spacing: -0.015em; font-weight: 500;
  max-width: 14ch; margin-bottom: 0.5em;
}
.hero-row { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.hero-side {
  position: absolute; right: var(--gutter); bottom: clamp(48px, 9vh, 110px);
  text-align: right; font-size: 0.92rem; color: var(--krem-2); line-height: 1.5;
}
.hero-side p { margin: 0; }
.hero-side p:first-child { font-family: var(--serif); font-size: 1.35rem; font-style: italic; }

/* Intro */
.intro { background: var(--krem); color: var(--tekst); padding: clamp(72px, 10vw, 150px) 0; }
.intro-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.intro-text .h2 { max-width: 12ch; }
.intro-text p:last-of-type { margin-bottom: 0; }
.intro-sign { margin-top: 1.6em; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--tekst-mut); }
.intro-fig { margin: 0; position: relative; }
.intro-fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.intro-fig figcaption { font-size: 0.88rem; color: var(--tekst-mut); margin-top: 12px; max-width: 40ch; }

/* Menu */
.menu { background: var(--wegiel); color: var(--krem); padding: clamp(72px, 10vw, 150px) 0; }
.menu-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 30px; }
.menu-info { max-width: 44ch; font-size: 0.95rem; color: var(--jasny-mut); margin: 0 0 .6em; }
.tabs { display: flex; gap: 0; border-bottom: 1px solid rgba(242, 234, 219, 0.18); margin-bottom: clamp(30px, 4vw, 56px); overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  background: none; border: 0; padding: 14px 26px 14px 0; margin-right: 26px;
  font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.9rem); color: var(--jasny-mut);
  position: relative; white-space: nowrap; transition: color .25s;
}
.tab::after { content: ""; position: absolute; left: 0; right: 26px; bottom: -1px; height: 2px; background: var(--zloto); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.tab:hover { color: var(--krem); }
.tab.is-active { color: var(--krem); }
.tab.is-active::after { transform: scaleX(1); }
.menu-body { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.panel[hidden] { display: none; }
.panel-note { font-size: 0.98rem; color: var(--krem-2); margin: 0 0 1.4em; max-width: 52ch; }
.panel-note b { color: var(--zloto); font-weight: 600; }
.dishes-h { font-size: 1.15rem; font-style: italic; font-weight: 400; color: var(--zloto); margin: 1.6em 0 .6em; }
.dishes-h:first-child { margin-top: 0; }
.dishes li { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; border-bottom: 1px solid rgba(242, 234, 219, 0.08); }
.d-name { font-family: var(--serif); font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.3; }
.d-name small { font-family: var(--sans); font-size: 0.7rem; color: var(--oliwka); background: rgba(109, 118, 73, 0.18); padding: 2px 7px; border-radius: 2px; margin-left: 6px; vertical-align: middle; }
.d-dots { flex: 1; border-bottom: 1px dotted rgba(242, 234, 219, 0.3); min-width: 24px; transform: translateY(-5px); }
.d-price { font-family: var(--serif); font-size: 1.25rem; color: var(--zloto); white-space: nowrap; }
.panel-cta { margin-top: 30px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.panel-cta-note { font-size: 0.9rem; color: var(--jasny-mut); }
.menu-photos { position: relative; height: 100%; min-height: 560px; }
.mp { position: absolute; object-fit: cover; }
.mp-a { width: 74%; aspect-ratio: 4 / 5; top: 0; right: 0; }
.mp-b { width: 56%; aspect-ratio: 4 / 3; bottom: 0; left: 0; border: 10px solid var(--wegiel); }

/* Szef kuchni */
.szef { background: var(--krem); color: var(--tekst); }
.szef-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 90vh; }
.szef-fig { margin: 0; }
.szef-fig img { width: 100%; height: 100%; object-fit: cover; min-height: 480px; }
.szef-text { padding: clamp(56px, 8vw, 120px) var(--gutter) clamp(56px, 8vw, 120px) clamp(32px, 5vw, 80px); max-width: 640px; }
.szef-quote {
  margin: 1.8em 0; padding-left: 22px; border-left: 2px solid var(--bordo);
  font-family: var(--serif); font-size: 1.45rem; line-height: 1.35; font-style: italic;
}
.szef-small { margin: 2.2em 0 0; max-width: 360px; }
.szef-small img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.szef-small figcaption { font-size: 0.85rem; color: var(--tekst-mut); margin-top: 10px; }

/* Rezerwacja */
.rezerwacja { background: var(--bordo-ciemne); color: var(--krem); padding: clamp(72px, 10vw, 150px) 0; position: relative; }
.rezerwacja::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 20%, rgba(154, 53, 67, 0.35), transparent 70%); pointer-events: none; }
.rez-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); position: relative; }
.rez-intro .lead { color: var(--krem-2); }
.rez-rules li { padding: 10px 0; border-top: 1px solid rgba(242, 234, 219, 0.14); font-size: 0.95rem; color: var(--krem-2); }
.rez-rules li:last-child { border-bottom: 1px solid rgba(242, 234, 219, 0.14); }
.rez-demo { margin-top: 1.6em; font-size: 0.85rem; color: rgba(242, 234, 219, 0.62); }
.rez-form { background: rgba(23, 20, 17, 0.35); padding: clamp(22px, 3vw, 40px); border: 1px solid rgba(242, 234, 219, 0.12); }
.rez-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rez-fields-2 { grid-template-columns: 1fr 1fr; margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.01em; color: var(--krem-2); }
.field > span small { font-weight: 400; color: rgba(242, 234, 219, 0.6); }
.field-full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 2px; border: 1px solid rgba(242, 234, 219, 0.28);
  background: rgba(23, 20, 17, 0.55); color: var(--krem); outline: none; transition: border-color .2s;
  -webkit-appearance: none; appearance: none; min-height: 50px;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23e8dcc5' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(242, 234, 219, 0.4); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--zloto); }
.field input[type="date"] { color-scheme: dark; }
.field input.is-bad, .field select.is-bad { border-color: #e07a86; }
.avail { margin-top: 24px; padding: 18px 20px; background: rgba(242, 234, 219, 0.06); border-left: 2px solid var(--zloto); }
.avail-line { margin: 0; font-family: var(--serif); font-size: 1.2rem; line-height: 1.35; }
.avail-line.is-full { color: #f0a3ad; }
.avail-tables { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 12px; }
.avail-tables span { width: 14px; height: 14px; border-radius: 2px; background: rgba(242, 234, 219, 0.18); }
.avail-tables span.is-free { background: var(--zloto); }
.avail-alt { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.avail-alt:empty { display: none; }
.avail-alt button { background: none; border: 1px solid rgba(242, 234, 219, 0.4); color: var(--krem); padding: 7px 14px; border-radius: 2px; font-size: 0.9rem; }
.avail-alt button:hover { border-color: var(--zloto); color: var(--zloto); }
.rez-event { margin-top: 18px; display: inline-flex; align-items: center; gap: 12px; background: rgba(201, 167, 107, 0.16); border: 1px solid rgba(201, 167, 107, 0.5); padding: 8px 14px; font-size: 0.92rem; }
.rez-event[hidden] { display: none; }
.rez-event-x { background: none; border: 0; padding: 0; text-decoration: underline; font-size: 0.85rem; color: var(--krem-2); }
.form-error { margin: 16px 0 0; color: #f0a3ad; font-size: 0.92rem; }
.form-error[hidden] { display: none; }
.rez-actions { margin-top: 26px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.rez-actions-note { font-size: 0.88rem; color: rgba(242, 234, 219, 0.7); }
.rez-ok { background: rgba(23, 20, 17, 0.35); padding: clamp(22px, 3vw, 40px); border: 1px solid rgba(201, 167, 107, 0.5); }
.rez-ok[hidden] { display: none; }
.rez-ok-kicker { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--zloto); margin-bottom: .4em; }
.rez-ok-h { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: .4em; }
.rez-ok-num b { color: var(--zloto); }
.rez-ok-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 8px; }
.rez-ok-actions .link-ul { color: var(--krem); }

/* Wydarzenia */
.wydarzenia { background: var(--krem); color: var(--tekst); padding: clamp(72px, 10vw, 150px) 0; }
.wyd-head { max-width: 62ch; margin-bottom: clamp(36px, 5vw, 64px); }
.wyd-list { border-top: 1px solid rgba(30, 26, 22, 0.18); }
.wyd { display: grid; grid-template-columns: 170px 1fr 200px; gap: clamp(20px, 4vw, 56px); padding: 34px 0; border-bottom: 1px solid rgba(30, 26, 22, 0.18); align-items: start; }
.wyd-date { display: flex; gap: 12px; align-items: flex-start; }
.wyd-day { font-family: var(--serif); font-size: 4rem; line-height: .9; color: var(--bordo); }
.wyd-month { font-size: 0.85rem; line-height: 1.35; color: var(--tekst-mut); padding-top: 6px; }
.wyd-body h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: .35em; }
.wyd-body p { margin: 0; max-width: 56ch; color: #3d352d; }
.wyd-side { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.wyd-price { font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; }
.wyd-price small { font-family: var(--sans); font-size: 0.8rem; color: var(--tekst-mut); display: block; margin-top: 4px; }
.wyd-seats { font-size: 0.82rem; color: var(--oliwka); font-weight: 600; }
.wyd-side .btn { color: var(--tekst); margin-top: 4px; }
.wyd-fig { margin: clamp(40px, 6vw, 80px) 0 0; }
.wyd-fig img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 40%; }
.wyd-fig figcaption { font-size: 0.88rem; color: var(--tekst-mut); margin-top: 12px; }

/* Galeria */
.galeria { background: var(--wegiel); color: var(--krem); padding: clamp(72px, 10vw, 150px) 0; }
.gal { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; grid-auto-flow: dense; gap: 12px; margin-top: 40px; }
.gal-item { display: block; overflow: hidden; background: var(--wegiel-2); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.gal-item:hover img { transform: scale(1.04); }
.gal-tall { grid-row: span 2; }
.gal-wide { grid-column: span 2; }

/* Opinie */
.opinie { background: var(--krem-2); color: var(--tekst); padding: clamp(72px, 10vw, 150px) 0; }
.op-head { display: flex; align-items: baseline; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 30px; }
.op-summary { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--tekst-mut); margin: 0; }
.op-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px 32px; }
.op { margin: 0; padding: 26px 0 0; border-top: 1px solid rgba(30, 26, 22, 0.25); grid-column: span 2; }
.op p { font-family: var(--serif); font-size: 1.32rem; line-height: 1.35; margin-bottom: 1em; }
.op footer { font-size: 0.88rem; font-weight: 600; }
.op footer span { font-weight: 400; color: var(--tekst-mut); margin-left: 8px; }
.op-big { grid-column: span 3; grid-row: span 2; }
.op-big p { font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.25; }
.op:nth-child(2) { grid-column: 4 / span 3; }
.op:nth-child(3) { grid-column: 4 / span 3; }
.op-score { grid-column: 5 / span 2; padding: 26px 0 0; border-top: 1px solid rgba(30, 26, 22, 0.25); display: flex; flex-direction: column; }
.op-score-n { font-family: var(--serif); font-size: clamp(4rem, 7vw, 6.5rem); line-height: .9; color: var(--bordo); }
.op-score-t { margin-top: 14px; font-size: 0.88rem; color: var(--tekst-mut); line-height: 1.45; }

/* Voucher */
.voucher { background: var(--bordo); color: var(--krem); padding: clamp(80px, 11vw, 160px) 0; text-align: center; position: relative; overflow: hidden; }
.voucher::before { content: "Tarnina"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--serif); font-style: italic; font-size: clamp(9rem, 28vw, 26rem); color: rgba(242, 234, 219, 0.05); white-space: nowrap; pointer-events: none; line-height: 1; }
.voucher-in { position: relative; max-width: 700px; }
.voucher .lead { color: var(--krem-2); margin-bottom: 1.6em; }
.voucher-note { margin-top: 1.4em; font-size: 0.9rem; color: rgba(242, 234, 219, 0.7); }

/* Kontakt */
.kontakt { background: var(--wegiel); color: var(--krem); padding: clamp(72px, 10vw, 150px) 0; }
.kontakt-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.hours { width: 100%; border-collapse: collapse; font-size: 1rem; margin: 10px 0 14px; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid rgba(242, 234, 219, 0.1); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-family: var(--serif); font-size: 1.2rem; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--zloto); font-weight: 600; }
.hours tr.is-today th::after { content: " · dziś"; font-size: 0.8rem; font-weight: 400; }
.hours-note { font-size: 0.88rem; color: var(--jasny-mut); }
.adres { font-style: normal; margin-top: 26px; }
.adres a { color: var(--krem); }
.adres-dojazd { font-size: 0.9rem; color: var(--jasny-mut); }
.mapa { aspect-ratio: 4 / 3; background: var(--wegiel-2); filter: grayscale(.4) contrast(1.05); }
.mapa iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Stopka */
.foot { background: #0f0d0b; color: var(--jasny-mut); padding: 40px 0; font-size: 0.9rem; }
.foot-in p { margin: 0 0 6px; }
.foot-logo { font-family: var(--serif); font-size: 1.6rem; color: var(--krem); }
.foot a { color: var(--krem-2); text-decoration: none; }
.foot-demo { margin-top: 14px; font-size: 0.8rem; opacity: .7; }

/* Modale */
.modal { position: fixed; inset: 0; z-index: 150; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.is-open { display: flex; }
.modal-bg { position: absolute; inset: 0; background: rgba(15, 13, 11, 0.7); backdrop-filter: blur(3px); }
.modal-box { position: relative; background: var(--krem); color: var(--tekst); width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: clamp(24px, 4vw, 40px); border-radius: 2px; }
.modal-box-wide { width: min(640px, 100%); }
.modal-x { position: absolute; top: 10px; right: 12px; background: none; border: 0; font-size: 2rem; line-height: 1; padding: 4px 8px; color: var(--tekst-mut); }
.modal-h { font-size: 2rem; margin-bottom: .3em; }
.modal-p { color: #3d352d; }
.modal-box .field > span { color: var(--tekst); }
.modal-box .field > span small { color: var(--tekst-mut); }
.modal-box .field input, .modal-box .field select, .modal-box .field textarea { background: #fff; color: var(--tekst); border-color: rgba(30, 26, 22, 0.25); }
.modal-box .field input::placeholder, .modal-box .field textarea::placeholder { color: rgba(30, 26, 22, 0.4); }
.modal-box .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231e1a16' stroke-width='1.5'/%3E%3C/svg%3E"); }
.modal-box .field { margin-top: 16px; }
.modal-box .rez-fields .field { margin-top: 0; }
.modal-box .form-error { color: var(--bordo); }
.modal-actions { margin-top: 24px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.modal-note { font-size: 0.82rem; color: var(--tekst-mut); }
.amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.amounts label { position: relative; }
.amounts input { position: absolute; opacity: 0; inset: 0; }
.amounts span { display: block; text-align: center; padding: 12px 6px; border: 1px solid rgba(30, 26, 22, 0.25); font-family: var(--serif); font-size: 1.2rem; cursor: pointer; transition: background .2s, border-color .2s; }
.amounts input:checked + span { background: var(--bordo); color: var(--krem); border-color: var(--bordo); }
.amounts input:focus-visible + span { outline: 2px solid var(--zloto); }
.order-list li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid rgba(30, 26, 22, 0.14); }
.o-name { font-family: var(--serif); font-size: 1.15rem; }
.o-name small { font-family: var(--sans); font-size: 0.7rem; color: var(--oliwka); margin-left: 6px; }
.o-price { font-size: 0.92rem; color: var(--tekst-mut); }
.o-qty { display: inline-flex; align-items: center; gap: 2px; }
.o-qty button { width: 34px; height: 34px; border: 1px solid rgba(30, 26, 22, 0.3); background: #fff; border-radius: 2px; font-size: 1.1rem; }
.o-qty b { width: 28px; text-align: center; font-family: var(--serif); font-size: 1.15rem; }
.order-sum { display: flex; justify-content: space-between; padding: 14px 0 4px; font-size: 1.05rem; }
.order-sum b { font-family: var(--serif); font-size: 1.5rem; color: var(--bordo); }

.lightbox { position: fixed; inset: 0; z-index: 160; background: rgba(15, 13, 11, 0.94); display: none; align-items: center; justify-content: center; flex-direction: column; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 82vh; object-fit: contain; }
.lightbox p { color: var(--krem-2); margin: 14px 0 0; font-family: var(--serif); font-size: 1.2rem; text-align: center; }
.lightbox-x { color: var(--krem); top: 14px; right: 16px; }

body.is-locked { overflow: hidden; }

/* Responsywność */
@media (max-width: 1100px) {
  .nav-phone { display: none; }
  .op-grid { grid-template-columns: repeat(2, 1fr); }
  .op, .op-big, .op:nth-child(2), .op:nth-child(3), .op-score { grid-column: auto; grid-row: auto; }
  .op-big { grid-column: 1 / -1; }
  .wyd { grid-template-columns: 150px 1fr; }
  .wyd-side { grid-column: 2; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 18px; }
  .wyd-price small { display: inline; margin-left: 6px; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .btn-nav { display: none; }
  .hero-side { position: static; text-align: left; padding: 0 0 36px; width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
  .hero { grid-template-rows: 1fr auto; }
  .hero-in { padding-bottom: 28px; }
  .intro-grid, .menu-body, .rez-grid, .kontakt-grid { grid-template-columns: 1fr; }
  .menu-photos { min-height: 0; height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; }
  .mp { position: static; width: 100%; border: 0; }
  .mp-a { aspect-ratio: 1; }
  .mp-b { aspect-ratio: 1; }
  .szef-grid { grid-template-columns: 1fr; min-height: 0; }
  .szef-fig img { min-height: 0; aspect-ratio: 4 / 3; }
  .szef-text { padding: 48px var(--gutter) 64px; max-width: none; }
  .gal { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gal-tall { grid-row: span 2; }
  .gal-wide { grid-column: span 2; }
  .menu-head { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  :root { --nav-h: 64px; }
  .hero-h { font-size: clamp(2.5rem, 12vw, 3.6rem); max-width: none; }
  .hero-row { gap: 20px; }
  .rez-fields { grid-template-columns: 1fr; }
  .rez-fields-2 { grid-template-columns: 1fr; }
  .wyd { grid-template-columns: 1fr; gap: 14px; padding: 26px 0; }
  .wyd-side { grid-column: auto; }
  .wyd-day { font-size: 3.2rem; }
  .op-grid { grid-template-columns: 1fr; }
  .gal { grid-auto-rows: 150px; gap: 8px; }
  .amounts { grid-template-columns: repeat(2, 1fr); }
  .order-list li { grid-template-columns: 1fr auto; }
  .o-price { grid-column: 1; }
  .o-qty { grid-column: 2; grid-row: 1 / span 2; }
  .tab { padding: 12px 0; margin-right: 24px; }
  .d-name { font-size: 1.1rem; }
  .btn { padding: 14px 22px; }
  .mapa { aspect-ratio: 1; }
  .modal-box { max-height: calc(100vh - 24px); }
  .voucher::before { display: none; }
}
