/* ============================================================
   Bary Mleczne - demo scall.me
   Paleta: krem / butelkowa zielen / musztarda. Mobile-first.
   ============================================================ */

:root {
  --cream: #f8f2e6;
  --cream-2: #f1e8d6;
  --green: #1d4a33;
  --green-deep: #143826;
  --ink: #1e2a20;
  --muted: #49584b;
  --mustard: #e0a526;
  --mustard-ink: #7c5c0d;
  --line: #e0d5bd;
  --white: #fffdf8;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(29, 74, 51, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.15;
  color: var(--green-deep);
  font-weight: 600;
}

img { max-width: 100%; height: auto; display: block; }

section { scroll-margin-top: 130px; }

.wrap {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

/* ---------- przyciski ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn-solid { background: var(--green); color: var(--white); }
.btn-solid:hover { background: var(--green-deep); }
.btn-ghost { background: transparent; color: var(--green-deep); border-color: var(--green); }
.btn-ghost:hover { background: rgba(29, 74, 51, 0.08); }
.btn-mustard { background: var(--mustard); color: #241d06; }
.btn-mustard:hover { background: #f0b736; }
.btn-wide { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 242, 230, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 4px 20px rgba(30, 42, 32, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}
.brand-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--mustard);
  box-shadow: 0 0 0 4px rgba(224, 165, 38, 0.25);
}
.brand-name {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--green-deep);
}
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--green); }
.nav-cta { padding: 10px 18px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-deep);
  margin-inline: auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px 20px 20px;
  border-top: 1px solid var(--line);
  background: var(--cream);
}
.mobile-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a.btn { color: var(--white); border-bottom: 0; margin-top: 10px; }
.mobile-nav.open { display: flex; }

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- hero ---------- */
.hero { padding: 48px 0 30px; }
.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}
.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--mustard-ink);
  margin-bottom: 14px;
}
.eyebrow-light { color: #f3cd76; }
.hero h1 {
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  margin-bottom: 18px;
}
.hero h1 em {
  font-style: normal;
  color: var(--green);
  border-bottom: 5px solid var(--mustard);
}
.hero-lead {
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 26px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero-note {
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.stars { color: var(--mustard); letter-spacing: 2px; }
.hero-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

@media (min-width: 900px) {
  .hero { padding: 64px 0 44px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; }
}

/* ---------- pasek zaufania ---------- */
.trust {
  background: var(--green);
  color: var(--cream);
  padding: 26px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 16px;
}
.trust-item { text-align: center; }
.trust-item strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.7rem;
  color: #f3cd76;
}
.trust-item span {
  font-size: 0.85rem;
  color: #e9e2cf;
}
@media (min-width: 760px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- sekcje: naglowki ---------- */
.section-head {
  max-width: 40rem;
  margin-bottom: 28px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  margin-bottom: 10px;
}
.section-head p { color: var(--muted); }

/* ---------- SILNIK: przelacznik lokali ---------- */
.lokale { padding: 56px 0 30px; }

.switcher-sticky {
  position: sticky;
  top: 68px;
  z-index: 40;
  background: var(--cream);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.switcher {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.switcher::-webkit-scrollbar { display: none; }

.sw-tab {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 9px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.sw-tab:hover { border-color: var(--green); }
.sw-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--green-deep);
}
.sw-place {
  font-size: 0.74rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.sw-tab.active {
  background: var(--green);
  border-color: var(--green);
}
.sw-tab.active .sw-name { color: var(--white); }
.sw-tab.active .sw-place { color: #d8cfae; }
.sw-tab.soon { opacity: 0.62; border-style: dashed; }
.sw-tab.soon.active { opacity: 1; background: var(--green-deep); border-style: solid; }

/* panele lokali */
.panels { padding-top: 30px; }
.lokal-panel[hidden] { display: none; }
/* bez JS: pokaz wszystkie panele jeden pod drugim */
html:not(.js) .lokal-panel[hidden] {
  display: block;
  margin-top: 34px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}

.panel-grid { display: grid; gap: 28px; }
@media (min-width: 900px) {
  .panel-grid { grid-template-columns: 1.15fr 1fr; gap: 48px; }
}

.panel-info h3 {
  font-size: 1.55rem;
  margin-bottom: 6px;
}
.panel-tag {
  color: var(--mustard-ink);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 18px;
}
.facts { list-style: none; margin-bottom: 18px; }
.facts li {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.fact-label {
  flex: 0 0 76px;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
  padding-top: 2px;
}
.rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.rating-score {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green-deep);
}
.rating-count { color: var(--muted); font-size: 0.9rem; }
.panel-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.panel-quotes {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
.panel-quotes blockquote {
  background: var(--white);
  border-left: 4px solid var(--mustard);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 20px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.08rem;
  color: var(--green-deep);
  box-shadow: var(--shadow);
}
.panel-quotes cite {
  display: block;
  margin-top: 8px;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-size: 0.8rem;
  color: var(--muted);
}
.lokal-soon .panel-info h3 { color: var(--muted); }
.soon-note { color: var(--muted); font-size: 0.95rem; margin-bottom: 20px; }
.soon-quote { opacity: 0.75; border-left-color: var(--line); }

/* ---------- dzis gotujemy ---------- */
.menu { padding: 56px 0; }
.menu-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .menu-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .menu-grid { grid-template-columns: repeat(4, 1fr); } }

.dish {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.dish img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.dish-body { padding: 18px 20px 22px; }
.dish-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.dish-body p { font-size: 0.92rem; color: var(--muted); }
.dish-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mustard-ink);
  margin-bottom: 10px;
}
.dish-text {
  background: var(--green);
  justify-content: center;
}
.dish-text .dish-body { padding: 26px 24px; }
.dish-text h3 { color: var(--white); }
.dish-text p { color: #dfd8c2; }
.dish-text .dish-kicker { color: #f3cd76; }
.text-link {
  display: inline-block;
  margin-top: 14px;
  color: #f3cd76;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.menu-note {
  margin-top: 24px;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 44rem;
}

/* ---------- praga ---------- */
.praga {
  background: var(--green-deep);
  color: var(--cream);
  padding: 52px 0;
}
.praga-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.praga h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 4.5vw, 2.3rem);
  margin-bottom: 10px;
}
.praga p { color: #d9d2bd; max-width: 36rem; }
@media (min-width: 860px) {
  .praga-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- kontakt ---------- */
.kontakt { padding: 60px 0; }
.kontakt-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .kontakt-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; } }

.kontakt-info h2 { font-size: clamp(1.7rem, 4.5vw, 2.3rem); margin-bottom: 12px; }
.kontakt-info > p { color: var(--muted); margin-bottom: 20px; }
.kontakt-list { list-style: none; margin-bottom: 20px; }
.kontakt-list li {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.kontakt-list a { color: var(--green-deep); font-weight: 600; text-decoration: none; }
.kontakt-list a:hover { text-decoration: underline; }
.kontakt-hint {
  background: var(--cream-2);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 0.92rem;
  color: var(--ink);
}

.kontakt-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--green-deep);
}
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 0.95rem;
  background: var(--cream);
  color: var(--ink);
}
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
  border-color: var(--green);
}
.field [aria-invalid="true"] { border-color: #b3261e; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-status { margin-top: 12px; font-size: 0.9rem; min-height: 1.4em; }
.form-status.ok { color: #1c6b3c; font-weight: 600; }
.form-status.err { color: #b3261e; font-weight: 600; }

/* ---------- stopka ---------- */
.site-footer {
  background: var(--green-deep);
  color: #d9d2bd;
  padding: 28px 0 8px;
  font-size: 0.88rem;
}
.footer-inner { text-align: center; }
.footer-sub { margin-top: 6px; opacity: 0.7; font-size: 0.8rem; }

/* ---------- reveal (ukryte TYLKO pod .js - Bramka 1 pkt 5) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.js .reveal.in,
.js.ready .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}
