/* ===== La Vega – trattoria w Pabianicach ===== */
:root {
  --crema: #f6efe2;
  --carta: #fffaf1;
  --espresso: #2b1c14;
  --inchiostro: #3d2c22;
  --grigio: #7a6a5e;
  --pomodoro: #c5261c;
  --pomodoro-scuro: #9f1d15;
  --basilico: #2c7a3a;
  --basilico-scuro: #1e4d2a;
  --linea: #e0d3bc;
  --oro: #a8782e;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--inchiostro);
  background: var(--crema);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--espresso); margin: 0; line-height: 1.15; font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.tricolore {
  height: 5px;
  background: linear-gradient(90deg, var(--basilico) 0 33.33%, #fff 33.33% 66.66%, var(--pomodoro) 66.66%);
}

.eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--pomodoro);
  margin: 0 0 .35em;
  letter-spacing: .01em;
}
.eyebrow.light { color: #f3c9a5; }

/* ----- przyciski ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 700 .95rem/1 var(--sans);
  letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  padding: .95em 1.5em; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 1.1em 1.9em; font-size: 1rem; }
.btn-red { background: var(--pomodoro); color: #fff; }
.btn-red:hover { background: var(--pomodoro-scuro); }
.btn-green { background: var(--basilico); color: #fff; }
.btn-green:hover { background: var(--basilico-scuro); }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--espresso); }
.btn-outline { border-color: var(--espresso); color: var(--espresso); background: transparent; }
.btn-outline:hover { background: var(--espresso); color: var(--carta); }
:focus-visible { outline: 3px solid var(--oro); outline-offset: 3px; }

/* ----- nagłówek ----- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 241, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--linea);
  transition: transform .28s ease;
}
/* autoukrywanie: chowa się przy przewijaniu w dół, wraca przy przewijaniu w górę */
.site-header.is-hidden { transform: translateY(-100%); }
.header-in { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand img { height: 58px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  font-weight: 600; text-decoration: none; padding: 6px 0;
  border-bottom: 2px solid transparent; transition: border-color .15s, color .15s;
}
.nav a:hover { color: var(--pomodoro); border-color: var(--pomodoro); }
.nav .nav-social { display: inline-flex; align-items: center; gap: 8px; border-bottom: 0; padding: 6px; }
.nav-social svg { width: 22px; height: 22px; fill: currentColor; }
.nav-social span { display: none; }
.nav-toggle { display: none; }

/* ----- hero ----- */
.hero {
  position: relative; color: #fff;
  background:
    linear-gradient(90deg, rgba(24, 12, 6, .88) 0%, rgba(24, 12, 6, .62) 45%, rgba(24, 12, 6, .12) 80%),
    url(../img/hero.jpg) center 70% / cover no-repeat;
}
.hero-in { padding: clamp(72px, 12vw, 150px) 0 clamp(56px, 8vw, 96px); max-width: 1180px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 4.2rem); max-width: 15ch; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 36em; margin: 1.2em 0 1.8em; color: #f4e9dc; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 14px 44px;
  margin-top: clamp(40px, 6vw, 72px); padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .25);
  max-width: 640px;
}
.hero-facts li { display: flex; flex-direction: column-reverse; }
.hero-facts strong { font: 700 1.6rem/1.2 var(--serif); }
.hero-facts span { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: #e5cfba; }

/* ----- atuty ----- */
.pillars { padding: clamp(56px, 8vw, 96px) 0; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.pillars article img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 4px; margin-bottom: 20px;
  box-shadow: 0 10px 30px -18px rgba(43, 28, 20, .6);
}
.pillars h3 { margin-bottom: .45em; font-size: 1.45rem; }
.pillars article p:last-child { margin: 0; color: var(--grigio); }

/* ----- menu ----- */
.menu-section { padding: 0 0 clamp(56px, 8vw, 96px); }
.carta {
  background: var(--carta);
  border: 1px solid var(--linea);
  outline: 1px solid var(--linea); outline-offset: -9px;
  padding: clamp(28px, 5vw, 64px);
  box-shadow: 0 24px 60px -40px rgba(43, 28, 20, .55);
}
.section-head { text-align: center; margin-bottom: 36px; }
.section-sub { color: var(--grigio); margin: .6em auto 0; max-width: 40em; }

.signature {
  position: relative; display: flex; justify-content: flex-end;
  min-height: 300px; margin-bottom: 36px; border-radius: 4px; overflow: hidden; color: #fff;
  background: #3b2416;
}
.signature-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.signature::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(30, 15, 8, 0) 30%, rgba(30, 15, 8, .82) 62%);
}
.signature-text { position: relative; z-index: 1; width: min(480px, 100%); padding: 36px 40px; align-self: center; }
.signature .eyebrow { color: #f3c9a5; }
.signature h3 { color: #fff; font-size: 2.2rem; margin-bottom: .3em; }
.signature p { color: #f1e4d6; }
.signature-prices { display: flex; gap: 26px; margin-top: 18px; }
.signature-prices li { font: 700 1.25rem/1.2 var(--serif); }
.signature-prices span { display: block; font: 600 .75rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #e5cfba; }

.menu-tools { margin-bottom: 12px; }
.search {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--linea); border-radius: 999px;
  padding: 0 18px; flex: 1 1 280px; min-width: 0;
}
[hidden] { display: none !important; }
.pickers { margin-top: 18px; }
.pickers-row { display: flex; flex-wrap: wrap; gap: 12px; max-width: 760px; margin: 0 auto; }
.ing-select { flex: 1 1 240px; min-width: 0; }
.ing-select select {
  width: 100%; font: inherit; color: var(--espresso); cursor: pointer;
  padding: 13px 44px 13px 20px; border: 1px solid var(--linea); border-radius: 999px;
  appearance: none; -webkit-appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a6a5e' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 16px center / 18px no-repeat;
}
.ing-select select:focus-visible { outline: 0; border-color: var(--oro); box-shadow: 0 0 0 3px rgba(168, 120, 46, .2); }
.ing-tags { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 12px; }
.ing-tags:empty { display: none; }
.ing-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 .9rem/1 var(--sans); color: #fff; background: var(--basilico);
  border: 0; border-radius: 999px; padding: .6em .8em .6em 1em; cursor: pointer; transition: background .15s;
}
.ing-tag span { font-size: 1.15rem; line-height: .7; opacity: .8; }
.ing-tag:hover { background: var(--basilico-scuro); }
.ing-clear { font: 600 .88rem var(--sans); color: var(--grigio); background: none; border: 0; padding: 6px; cursor: pointer; text-decoration: underline; }
.ing-clear:hover { color: var(--pomodoro); }
.group-note { margin: 10px 0 0; font-size: .92rem; color: var(--grigio); }
.drink-prices { display: flex; gap: 18px; font-weight: 700; color: var(--espresso); font-variant-numeric: tabular-nums; line-height: 1.6; white-space: nowrap; }
.drink-prices span { text-align: right; }
.drink-prices small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--grigio); line-height: 1.3; }
.drinks .section-sub a { color: var(--pomodoro); }
.search:focus-within { border-color: var(--oro); box-shadow: 0 0 0 3px rgba(168, 120, 46, .2); }
.search svg { width: 20px; height: 20px; fill: none; stroke: var(--grigio); stroke-width: 2; stroke-linecap: round; flex: none; }
.search input { flex: 1; border: 0; outline: 0; background: transparent; font: inherit; padding: 13px 0; color: var(--espresso); min-width: 0; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip {
  font: 600 .92rem/1 var(--sans); color: var(--inchiostro);
  padding: .7em 1.1em; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid var(--linea); transition: all .15s;
}
.chip:hover { border-color: var(--espresso); }
.chip[aria-pressed="true"] { background: var(--espresso); border-color: var(--espresso); color: var(--carta); }
.menu-count { text-align: center; color: var(--grigio); font-size: .92rem; margin: 14px 0 0; min-height: 1.4em; }

.menu-group { margin-top: 28px; }
.group-head {
  display: flex; align-items: baseline; gap: 14px;
  border-bottom: 3px double var(--linea); padding-bottom: 10px;
}
.group-head h3 { font-size: 1.7rem; }
.group-it { font: italic 500 1.05rem var(--serif); color: var(--pomodoro); }

.sizes-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding-top: 10px; }
.sizes { display: flex; justify-content: flex-end; }
.sizes span, .dish-prices span { width: 62px; text-align: right; }
.sizes span { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--grigio); }
.sizes.n2 span { width: 78px; }

.dishes { columns: 2; column-gap: 56px; }
.dish {
  display: grid; grid-template-columns: 30px 1fr auto; column-gap: 10px; align-items: start;
  padding: 13px 0; border-bottom: 1px dotted #cdbfa6; break-inside: avoid;
}
.dish-no { font: 500 .95rem/1.6 var(--serif); color: var(--oro); font-variant-numeric: tabular-nums; }
.dish-main h4 { font-size: 1.12rem; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.dish-main p { margin: 2px 0 0; font-size: .93rem; line-height: 1.45; color: var(--grigio); }
.dish-prices { display: flex; font-weight: 700; color: var(--espresso); font-variant-numeric: tabular-nums; line-height: 1.6; }
.dish-prices.n2 span { width: 78px; }
.chilis { display: inline-flex; }
.chili { width: 15px; height: 15px; }
.more { text-align: center; margin-top: 28px; }
.empty { text-align: center; padding: 40px 0; color: var(--grigio); }
.legend { margin: 26px 0 0; font-size: .9rem; color: var(--grigio); display: flex; align-items: center; gap: 6px; }

.diy { margin-top: 48px; padding-top: 40px; border-top: 3px double var(--linea); }
.diy-head { max-width: 44em; margin-bottom: 20px; }
.diy-head h3 { font-size: 1.7rem; margin-bottom: .3em; }
.diy-head p:last-child { color: var(--grigio); margin: 0; }
.table-scroll { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; margin-top: 18px; }
.price-table th, .price-table td { padding: 12px 10px; border-bottom: 1px dotted #cdbfa6; text-align: right; vertical-align: top; }
.price-table th { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--grigio); border-bottom: 1px solid var(--linea); white-space: nowrap; }
.price-table th:first-child, .price-table td:first-child { text-align: left; padding-left: 0; }
.price-table th:first-child { font: 700 1.1rem var(--serif); letter-spacing: 0; text-transform: none; color: var(--espresso); }
.price-table td:not(:first-child) { font-weight: 700; white-space: nowrap; width: 76px; font-variant-numeric: tabular-nums; }
.price-table.extras td:first-child { font-size: .95rem; color: var(--inchiostro); }

/* ----- o nas ----- */
.about { background: var(--carta); padding: clamp(56px, 8vw, 110px) 0; border-block: 1px solid var(--linea); }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-photo { margin: 0; position: relative; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.about-photo::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border: 2px solid var(--basilico); border-radius: 4px;
}
.about-photo { z-index: 0; }
.about-text h2 { margin-bottom: .6em; }
.timeline { margin-top: 28px; border-left: 2px solid var(--linea); }
.timeline li { display: flex; gap: 20px; padding: 0 0 24px 24px; position: relative; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -8px; top: 8px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--pomodoro); border: 3px solid var(--carta);
}
.timeline time { font: 700 1.5rem/1.2 var(--serif); color: var(--pomodoro); min-width: 3.2em; }
.timeline strong { display: block; color: var(--espresso); font-size: 1.08rem; }
.timeline span { color: var(--grigio); }

/* ----- dostawa ----- */
.delivery { background: var(--espresso); color: #efe3d3; padding: clamp(56px, 8vw, 100px) 0; }
.delivery h2 { color: #fff; margin-bottom: .5em; }
.delivery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.delivery-phones { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 24px 0; }
.delivery-phones a { font: 700 clamp(1.6rem, 3vw, 2.2rem)/1.2 var(--serif); color: #fff; text-decoration: none; border-bottom: 2px solid var(--pomodoro); }
.delivery-phones a:hover { color: #f3c9a5; }
.delivery-photo { margin: 0; }
.delivery-photo img { width: 100%; border-radius: 4px; }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; border-top: 1px solid rgba(255, 255, 255, .18); }
.facts li { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.facts span { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #cdb8a3; }
.facts strong { font: 700 1.2rem/1.35 var(--serif); color: #fff; }

.hours li { display: flex; justify-content: space-between; gap: 24px; padding: 4px 0; font-weight: 400; max-width: 290px; }
.hours li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours li.today { font-weight: 700; color: var(--espresso); }
.hours li.closed span:last-child { color: var(--pomodoro); }
.open-now { display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: .92rem; font-weight: 700; }
.open-now::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--pomodoro); }
.open-now.is-open::before { background: var(--basilico); }
.open-now:empty { display: none; }

/* znaczniki braków w materiałach – do usunięcia po uzupełnieniu treści */
.todo {
  font-size: .85rem; font-weight: 600; color: #8a5a00;
  background: #fff3cf; border: 1px dashed #d9a520; border-radius: 4px; padding: 5px 10px;
}
.todo.inline { display: inline-block; padding: 1px 8px; }

/* ----- napoje ----- */
.drinks { padding: clamp(56px, 8vw, 100px) 0; }
.drinks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.drinks h3 { font-size: 1.3rem; padding-bottom: 8px; border-bottom: 3px double var(--linea); margin-bottom: 6px; }
.drinks ul + h3 { margin-top: 30px; }
.drinks li { padding: 9px 0; border-bottom: 1px dotted #cdbfa6; color: var(--grigio); font-size: .95rem; }
.drinks li b { display: block; font: 700 1.05rem/1.3 var(--serif); color: var(--espresso); }

/* ----- alergeny ----- */
.allergens { background: var(--carta); border-block: 1px solid var(--linea); padding: clamp(48px, 7vw, 84px) 0; }
.allergens-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 72px); align-items: start; }
.allergens h2 { margin-bottom: .5em; }
.allergens details { border: 1px solid var(--linea); border-radius: 4px; background: #fff; }
.allergens summary { cursor: pointer; padding: 18px 22px; font: 700 1.1rem var(--serif); color: var(--espresso); }
.allergen-list { columns: 2; column-gap: 24px; padding: 0 22px 20px 44px; list-style: decimal; color: var(--grigio); }
.allergen-list li { padding: 3px 0; break-inside: avoid; }

/* ----- franczyza ----- */
.franchise { background: var(--basilico-scuro); padding: clamp(56px, 8vw, 100px) 0; }
.franchise-card { background: var(--carta); border-radius: 4px; padding: clamp(28px, 5vw, 60px); outline: 1px solid var(--linea); outline-offset: -9px; }
.franchise-card > p { max-width: 46em; }
.franchise h2 { margin-bottom: .5em; }
.franchise-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); margin-top: 28px; }
.franchise-cols h3 { margin-bottom: 14px; }
.ticks li { position: relative; padding: 6px 0 6px 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: .85em; width: 12px; height: 7px;
  border-left: 2.5px solid var(--basilico); border-bottom: 2.5px solid var(--basilico); transform: rotate(-45deg);
}
.terms li { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px dotted #cdbfa6; }
.terms strong { font: 700 1.35rem/1.2 var(--serif); color: var(--pomodoro); min-width: 7.2em; }
.terms span { color: var(--grigio); }
.small { font-size: .92rem; color: var(--grigio); margin: 14px 0 0; }
.franchise-contact {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 28px;
  margin-top: 32px; padding-top: 22px; border-top: 3px double var(--linea);
}
.franchise-contact a { font-weight: 700; color: var(--pomodoro); text-decoration: none; white-space: nowrap; }
.franchise-contact a:hover { text-decoration: underline; }

/* ----- kontakt ----- */
.contact { padding: clamp(56px, 8vw, 100px) 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: stretch; }
.contact h2 { margin-bottom: .6em; }
.contact address { font-size: 1.15rem; margin-bottom: 22px; }
.contact address strong { font-family: var(--serif); font-size: 1.3rem; color: var(--espresso); }
.contact-list { margin: 0 0 28px; display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; }
.contact-list dt { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grigio); padding-top: 5px; }
.contact-list dd { margin: 0; font-weight: 600; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--pomodoro); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.map { min-height: 380px; border-radius: 4px; overflow: hidden; border: 1px solid var(--linea); background: #e8dfcf; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
/* mapa Google wczytuje się dopiero po zgodzie */
.map-consent {
  min-height: 380px; height: 100%; padding: 32px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center;
  background:
    linear-gradient(rgba(246, 239, 226, .9), rgba(246, 239, 226, .9)),
    repeating-linear-gradient(0deg, transparent 0 58px, #cdbfa6 58px 60px),
    repeating-linear-gradient(90deg, transparent 0 58px, #cdbfa6 58px 60px);
}
.map-consent strong { font: 700 1.4rem var(--serif); color: var(--espresso); }
.map-consent p { margin: 0; max-width: 26em; color: var(--grigio); font-size: .95rem; }
.map-consent a { font-size: .9rem; color: var(--grigio); }
.map-loaded .map-consent { display: none; }

/* ----- stopka ----- */
.site-footer { background: var(--espresso); color: #d9c8b5; }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; padding: 30px 0; }
.footer-in img { height: 54px; width: auto; background: var(--carta); padding: 6px 10px; border-radius: 4px; }
.footer-in p { margin: 0; font-size: .92rem; flex: 1 1 280px; }
.footer-in nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-in nav a { text-decoration: none; font-weight: 600; font-size: .92rem; }
.footer-in nav a:hover { color: #fff; }
.footer-in .social { display: inline-flex; align-items: center; gap: 6px; }
.footer-in .social svg { width: 18px; height: 18px; fill: currentColor; }

.callbar { display: none; }

/* ----- link "przejdź do menu" dla klawiatury ----- */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--espresso); color: #fff; padding: 10px 16px; border-radius: 4px; }
.skip:focus { top: 12px; }

/* ----- baner zgód (cookies) ----- */
.cookie {
  position: fixed; right: 20px; bottom: 20px; z-index: 80; width: min(460px, calc(100% - 40px));
  background: var(--carta); border: 1px solid var(--linea); border-top: 4px solid var(--basilico); border-radius: 6px;
  padding: 22px 24px; box-shadow: 0 24px 60px -20px rgba(43, 28, 20, .55);
  animation: rise .4s cubic-bezier(.2, .7, .2, 1) both;
}
.cookie[hidden] { display: none; }
.cookie h2 { font-size: 1.25rem; margin-bottom: .4em; }
.cookie p { font-size: .92rem; line-height: 1.5; margin: 0 0 14px; }
.cookie p a { color: var(--pomodoro); font-weight: 600; }
.cookie-options { display: grid; gap: 8px; margin: 0 0 16px; padding: 12px 0; border-block: 1px dotted #cdbfa6; }
.cookie-options[hidden] { display: none; }
.cookie-options label { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.cookie-options input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--basilico); flex: none; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions .btn { flex: 1 1 auto; font-size: .8rem; padding: .85em 1.1em; }

/* ----- podstrony: polityka prywatności, 404 ----- */
.subpage { display: flex; flex-direction: column; min-height: 100vh; padding-bottom: 0; }
.subpage main { flex: 1; }
.subpage .header-call { display: inline-flex; margin-left: auto; }
.nav-static { display: flex !important; position: static !important; flex-direction: row; background: none; border: 0; padding: 0; }
.nav-static a { border-bottom: 0; }
.legal { padding: clamp(40px, 6vw, 80px) 0; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: .3em; }
.legal h2 { font-size: 1.45rem; margin: 2em 0 .6em; }
.legal ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.legal li { margin-bottom: .5em; }
.legal a:not(.btn) { color: var(--pomodoro); }
.legal code { background: #efe5d2; padding: 1px 6px; border-radius: 3px; font-size: .9em; }
.legal-date { color: var(--grigio); }
.notfound { text-align: center; padding: clamp(48px, 9vw, 120px) 0; }
.notfound .wrap { max-width: 640px; }
.notfound-code { font: 700 clamp(5rem, 18vw, 9rem)/1 var(--serif); color: var(--basilico); margin: 0 0 .1em; letter-spacing: .02em; }
.notfound-code span { color: var(--pomodoro); }
.notfound h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .5em; }
.notfound-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 28px 0; }
.notfound-call { color: var(--grigio); }
.notfound-call a { color: var(--espresso); font-weight: 700; white-space: nowrap; }

/* ===== subtelne animacje ===== */
/* pojawianie się sekcji przy przewijaniu (klasę .in dodaje main.js; bez JS wszystko jest widoczne) */
.js .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0ms);
}
.js .reveal.in { opacity: 1; transform: none; }

/* wejście treści w hero po załadowaniu strony */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.hero-in > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-in > :nth-child(2) { animation-delay: .1s; }
.hero-in > :nth-child(3) { animation-delay: .2s; }
.hero-in > :nth-child(4) { animation-delay: .3s; }
.hero-in > :nth-child(5) { animation-delay: .45s; }

/* łagodne przejście listy po zmianie filtra */
.menu-group { animation: fade .35s ease both; }

/* drobne reakcje na najechanie */
.pillars article img, .about-photo img, .delivery-photo img { transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s; }
.pillars article:hover img { transform: translateY(-5px); box-shadow: 0 18px 34px -18px rgba(43, 28, 20, .7); }
.dish-main h4 { transition: color .2s; }
.dish:hover .dish-main h4 { color: var(--pomodoro); }
.signature-bg { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.signature:hover .signature-bg { transform: scale(1.03); }
.timeline li::before { transition: transform .2s; }
.timeline li:hover::before { transform: scale(1.3); }

/* ===== responsywność ===== */
@media (max-width: 1020px) {
  .header-call { display: none; }
  .nav { gap: 20px; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .brand img { height: 46px; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; margin-left: auto; padding: 10px;
    background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span { height: 2px; background: var(--espresso); border-radius: 2px; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; gap: 0; margin: 0;
    background: var(--carta); border-bottom: 1px solid var(--linea); padding: 8px 20px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px dotted #cdbfa6; font-size: 1.1rem; }
  .nav .nav-social { padding: 13px 0; }
  .nav-social span { display: inline; }

  .hero { background:
    linear-gradient(180deg, rgba(24, 12, 6, .8) 0%, rgba(24, 12, 6, .6) 100%),
    url(../img/hero.jpg) 65% center / cover no-repeat; }

  .pillars-grid, .drinks-grid { grid-template-columns: 1fr; }
  .pillars-grid { gap: 40px; }
  .pillars article img { aspect-ratio: 16 / 9; }
  .about-grid, .delivery-grid, .allergens-in, .franchise-cols, .contact-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 460px; margin-right: 18px; }
  .delivery-photo { order: -1; }

  .dishes { columns: 1; }
  .sizes-row { grid-template-columns: 1fr; }
  .sizes-row .sizes + .sizes { display: none; }

  .signature-bg { object-position: 15% center; }
  .signature::after { background: linear-gradient(180deg, rgba(30, 15, 8, .55), rgba(30, 15, 8, .85)); }
  .signature-text { width: 100%; padding: 28px 24px; }

  body { padding-bottom: 60px; }
  .callbar {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: 60px;
    background: var(--pomodoro); color: #fff; text-decoration: none;
    font-weight: 700; letter-spacing: .03em;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, .2);
  }
  .callbar svg { width: 20px; height: 20px; fill: currentColor; }
  .cookie { right: 12px; bottom: 72px; width: calc(100% - 24px); padding: 18px; }
  .subpage .cookie { bottom: 12px; }
  .subpage .header-call { padding: .8em 1.1em; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .carta { padding: 26px 18px; outline: 0; margin-inline: -8px; }
  .franchise-card { padding: 26px 20px; outline: 0; }
  .hero-cta .btn { flex: 1 1 100%; }
  .chips { gap: 6px; }
  .chip { font-size: .88rem; padding: .65em .95em; }

  .sizes-row { display: none; }
  .dish { grid-template-columns: 26px 1fr; }
  .drink-prices { grid-column: 2; margin-top: 8px; flex-wrap: wrap; }
  .drink-prices span { text-align: left; }
  .dish-prices { grid-column: 2; margin-top: 8px; gap: 16px; flex-wrap: wrap; }
  .dish-prices span, .dish-prices.n2 span { width: auto; text-align: left; }
  .dish-prices span::before {
    content: attr(data-size); display: block;
    font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--grigio); line-height: 1.3;
  }
  .signature-prices { gap: 18px; }
  .facts { grid-template-columns: 1fr; }
  .contact-list { grid-template-columns: 1fr; gap: 2px; }
  .contact-list dd { margin-bottom: 14px; }
  .allergen-list { columns: 1; }
  .terms strong { min-width: 6.4em; font-size: 1.2rem; }
  .price-table td:not(:first-child) { width: 58px; }
  .price-table th, .price-table td { padding: 10px 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .site-header { transition: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-in > *, .menu-group, .cookie { animation: none; }
  .pillars article img, .signature-bg, .timeline li::before, .dish-main h4 { transition: none; }
}
