/* Mokamia — site styles (clean-design kit, brand palette: cream / espresso / gold) */

:root {
  --font-sans: "Onest", "Golos Text", ui-sans-serif, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Source Serif 4", "PT Serif", Georgia, serif;

  --bg: #f6f1e9;
  --surface: #fffdf9;
  --surface-2: #efe8dc;
  --border: #e2d8c8;
  --border-strong: #cfc2ad;
  --text: #1f1a14;
  --text-2: #5d5347;
  --text-3: #6e6354;

  --accent: #8a6220;
  --accent-hover: #6f4e17;
  --accent-soft: #f1e6d0;
  --on-accent: #ffffff;

  /* always-dark band (brand: black + gold) */
  --ink: #16120e;
  --ink-2: #221c16;
  --ink-line: #3a3128;
  --ink-text: #f3ece0;
  --ink-text-2: #bcae99;
  --gold: #cfa45a;

  --r-sm: 4px; --r: 6px; --r-lg: 8px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --w-page: 1200px;
  --ease: 160ms cubic-bezier(.2,.6,.2,1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #13110e; --surface: #1b1814; --surface-2: #231f1a;
    --border: #2f2922; --border-strong: #41392f;
    --text: #f1ebe1; --text-2: #b9ad9c; --text-3: #978a7a;
    --accent: #d0a659; --accent-hover: #e0bb77; --accent-soft: #2b2316; --on-accent: #1a140a;
    --ink: #0d0b09; --ink-2: #191510; --ink-line: #2e271f;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #13110e; --surface: #1b1814; --surface-2: #231f1a;
  --border: #2f2922; --border-strong: #41392f;
  --text: #f1ebe1; --text-2: #b9ad9c; --text-3: #978a7a;
  --accent: #d0a659; --accent-hover: #e0bb77; --accent-soft: #2b2316; --on-accent: #1a140a;
  --ink: #0d0b09; --ink-2: #191510; --ink-line: #2e271f;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font-sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
h1, h2 { font-family: var(--font-serif); letter-spacing: -0.02em; }
h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.05; }
h2 { font-size: clamp(30px, 4vw, 40px); line-height: 1.12; }
h3 { font-size: 16px; line-height: 1.35; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.small { font-size: 13px; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-sm); }

.wrap { max-width: var(--w-page); margin: 0 auto; padding: 0 var(--s5); }
.section { padding: var(--s9) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s3) var(--s5); margin-bottom: var(--s6); }
.section-head p { max-width: 52ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  height: 44px; padding: 0 var(--s5); border-radius: var(--r);
  font: 500 15px/1 var(--font-sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  border: 1px solid var(--border-strong); background: transparent; color: var(--text);
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}
.btn:hover { background: var(--surface-2); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-sm { height: 36px; padding: 0 var(--s4); font-size: 14px; }
.btn svg { width: 18px; height: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* ---------- Header ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--border); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); height: 64px; }
.brand { display: flex; align-items: baseline; gap: var(--s2); text-decoration: none; }
.brand b { font: 600 22px/1 var(--font-serif); letter-spacing: -0.01em; }
.brand span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.nav { display: flex; gap: var(--s5); font-size: 15px; }
.nav a { color: var(--text-2); text-decoration: none; transition: color var(--ease); }
.nav a:hover { color: var(--text); }
.topbar .actions { gap: var(--s2); }

/* ---------- Hero ---------- */
.hero { padding: var(--s8) 0 var(--s8); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s8); align-items: center; }
.hero-copy .eyebrow { margin-bottom: var(--s4); }
.hero-copy .lead { margin-top: var(--s5); font-size: 19px; line-height: 1.55; color: var(--text-2); max-width: 34ch; }
.hero-copy .actions { margin-top: var(--s6); }
.rating { display: flex; align-items: center; gap: var(--s3); margin-top: var(--s6); font-size: 15px; color: var(--text-2); }
.rating strong { font: 600 28px/1 var(--font-serif); color: var(--text); }
.stars { color: var(--accent); letter-spacing: 2px; font-size: 15px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 50%; border-radius: var(--r-lg); }
.hero-media figcaption { margin-top: var(--s2); font-size: 13px; color: var(--text-3); }

/* ---------- Facts row ---------- */
.facts { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.facts .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.fact { padding: var(--s5) var(--s5) var(--s5) 0; }
.fact + .fact { padding-left: var(--s5); border-left: 1px solid var(--border); }
.fact dt { font-size: 13px; color: var(--text-3); }
.fact dd { margin: var(--s1) 0 0; font-size: 17px; font-weight: 500; }

/* ---------- Menu grid ---------- */
.dishes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s7) var(--s5); }
.dish img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); background: var(--surface-2); }
.dish h3 { margin-top: var(--s4); font-family: var(--font-serif); font-size: 20px; letter-spacing: -0.01em; }
.dish p { margin-top: var(--s1); color: var(--text-2); font-size: 15px; }
.menu-note { margin-top: var(--s7); }

/* ---------- Dark band: corporate ---------- */
.band { background: var(--ink); color: var(--ink-text); }
.band .eyebrow { color: var(--gold); }
.band h2 { color: var(--ink-text); }
.band .muted { color: var(--ink-text-2); }
.band .split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s8); }
.band .lead { margin-top: var(--s4); font-size: 17px; max-width: 42ch; }
.packages { width: 100%; border-collapse: collapse; }
.packages th { text-align: left; font-weight: 500; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-text-2); padding: 0 0 var(--s3); border-bottom: 1px solid var(--ink-line); }
.packages td { padding: var(--s5) var(--s4) var(--s5) 0; border-bottom: 1px solid var(--ink-line); vertical-align: top; }
.packages td:last-child { padding-right: 0; text-align: right; }
.packages .name { font: 600 22px/1.2 var(--font-serif); }
.packages .desc { color: var(--ink-text-2); font-size: 15px; margin-top: var(--s1); }
.packages .price { font: 600 26px/1 var(--font-serif); color: var(--gold); white-space: nowrap; font-variant-numeric: tabular-nums; }
.packages .per { display: block; font: 400 13px var(--font-sans); color: var(--ink-text-2); margin-top: var(--s1); }
.terms { list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); font-size: 15px; }
.terms dt { color: var(--ink-text-2); font-size: 13px; }
.terms dd { margin: var(--s1) 0 0; }
.band .actions { margin-top: var(--s6); }
.band .btn { border-color: var(--ink-line); color: var(--ink-text); }
.band .btn:hover { background: var(--ink-2); }
.band .btn-primary { background: var(--gold); border-color: var(--gold); color: #1a140a; }
.band .btn-primary:hover { background: #ddb871; border-color: #ddb871; }

/* ---------- Visit ---------- */
.visit { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s8); align-items: start; }
.visit-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
.hours { width: 100%; border-collapse: collapse; margin-top: var(--s5); font-size: 15px; }
.hours td { padding: var(--s2) 0; border-bottom: 1px solid var(--border); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today td { font-weight: 600; }
.hours tr.today td:first-child::after { content: " · dziś"; font-weight: 400; color: var(--text-3); }
.contact { margin-top: var(--s6); display: grid; grid-template-columns: max-content 1fr; gap: var(--s2) var(--s5); font-size: 15px; }
.contact dt { color: var(--text-3); }
.contact dd { margin: 0; }
.contact a { color: var(--accent); text-underline-offset: 3px; }
.map { display: block; width: 100%; height: 360px; margin-top: var(--s7); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface-2); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: var(--s6) 0 var(--s7); font-size: 13px; color: var(--text-3); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2) var(--s5); }
footer a { color: var(--text-2); }

/* ---------- Prose page ---------- */
.prose { max-width: 68ch; padding: var(--s8) 0 var(--s9); }
.prose h2 { font-size: 24px; margin: var(--s7) 0 var(--s3); }
.prose a { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .hero .wrap, .band .split, .visit { grid-template-columns: 1fr; gap: var(--s6); }
  .hero-media { order: -1; }
  .hero-media img { aspect-ratio: 4 / 3; }
  .dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .wrap { padding: 0 var(--s4); }
  .section { padding: var(--s8) 0; }
  .hero { padding: var(--s5) 0 var(--s7); }
  .hero-copy .lead { font-size: 17px; }
  .topbar .btn-order, .brand span { display: none; }
  .facts .wrap { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: var(--s4) 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--border); }
  .dishes { gap: var(--s6) var(--s4); }
  .dish h3 { font-size: 17px; }
  .dish p { font-size: 14px; }
  .terms { grid-template-columns: 1fr; }
  .packages td { padding-right: var(--s3); }
  .packages .name { font-size: 19px; }
  .packages .price { font-size: 22px; }
  .map { height: 280px; }
}

/* ---------- Audit fixes (18.11) ---------- */
.status { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s3); margin-top: var(--s4); font-size: 15px; color: var(--text-2); }
.status strong { color: var(--text); font-weight: 600; }
.rating-inline { text-decoration: none; color: inherit; }
.rating-inline:hover strong { text-decoration: underline; }
.status .dot { color: var(--text-3); }
.btn-season { display: none; }
.contact a { display: inline-block; padding: 10px 0; margin: -10px 0; }
footer a { display: inline-block; padding: 10px 0; margin: -10px 0; }
@media (max-width: 960px) {
  .btn-season { display: inline-flex; }
  .hero-media figcaption { display: none; }
}
@media (max-width: 600px) {
  .topbar .btn-sm { height: 44px; }
  .status .dot { display: none; }
  .status { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }

/* Elementy czekające na dane (telefon, e-mail, Instagram, dane firmy). Usuń klasę "todo", gdy dane będą gotowe. */
.todo { display: none !important; }
.ask-onsite { margin-top: var(--s6); font-size: 17px; color: var(--ink-text); }
