/* Smaki Smaczki: style wspólne dla wszystkich stron */

/* Fallbacki dopasowane do metryk webfontów (ograniczenie CLS przy podmianie) */
@font-face {
  font-family: "Jost Fallback";
  src: local("Arial");
  size-adjust: 95.1%;
}
@font-face {
  font-family: "Cormorant Fallback";
  src: local("Times New Roman");
  size-adjust: 91.2%;
}

:root {
  --white: #ffffff;
  --mist: #f6f4f4;
  --line: #e4dfdf;
  --grey: #686263;
  --ink: #2e2a2b;
  --red: #b42424;
  --red-dark: #8f1b1b;
  --blush: #f8ecec;

  --font-head: "Cormorant Garamond", "Cormorant Fallback", Georgia, serif;
  --font-body: "Jost", "Jost Fallback", Arial, sans-serif;

  /* skala odstępów 4/8 */
  --s1: 4px;
  --s2: 8px;
  --s3: 16px;
  --s4: 24px;
  --s5: 32px;
  --s6: 48px;
  --s7: 64px;
  --s8: 96px;

  --gutter: 16px;
  --radius: 12px;
  --arch: 999px 999px var(--radius) var(--radius);
  --dur: 180ms;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 var(--s3);
  text-wrap: balance;
}
h1 { font-size: clamp(2.125rem, 1.4rem + 3.4vw, 3.75rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 var(--s3); }

a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
a[href^="tel:"] { white-space: nowrap; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--s3); top: -100px; z-index: 100;
  background: var(--ink); color: var(--white); padding: var(--s2) var(--s3);
  border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: var(--s3); color: var(--white); }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px;
  border: 1.5px solid var(--red); border-radius: 999px;
  font: 500 1rem/1.2 var(--font-body); text-decoration: none;
  transition: background-color var(--dur) ease, color var(--dur) ease, border-color var(--dur) ease;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.btn-ghost { background: var(--white); color: var(--red); }
.btn-ghost:hover { background: var(--blush); color: var(--red-dark); }
.btn:active { transform: translateY(1px); }

/* ---------- Nagłówek ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  max-width: 1160px; margin-inline: auto;
  padding: var(--s2) var(--gutter);
}
.brand { justify-self: center; display: grid; justify-items: center; }
.logo { display: block; border-radius: 6px; }
/* napis „Strona główna” pod logo tylko na desktopie; na telefonie jest w menu */
.home-link { display: none; }
.logo img { width: 128px; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%;
  background: var(--white); color: var(--red); cursor: pointer;
  transition: background-color var(--dur) ease;
}
.icon-btn:hover { background: var(--blush); }
.icon-btn svg { width: 22px; height: 22px; }
.call-btn svg { fill: currentColor; }
.menu-btn svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: inline; }

.nav { display: none; }

.mobile-menu {
  border-top: 1px solid var(--line);
  padding: var(--s2) var(--gutter) var(--s4);
  max-height: calc(100vh - 80px); overflow-y: auto;
}
.mobile-menu nav { display: grid; }
.mobile-menu nav a {
  display: flex; align-items: center; min-height: 48px;
  border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-size: 1.125rem;
}
.mobile-menu nav a:hover,
.mobile-menu nav a[aria-current="page"] { color: var(--red); }
.mobile-menu nav a[aria-current="page"] { font-weight: 500; }
.mobile-contact { display: grid; gap: var(--s1); margin-top: var(--s3); }
.mobile-contact a {
  display: flex; align-items: center; min-height: 44px;
  font-weight: 500; overflow-wrap: anywhere;
}

@media (min-width: 1080px) {
  .header-inner {
    grid-template-columns: 1fr auto 1fr;
    gap: var(--s4);
    padding-block: var(--s3);
  }
  .header-inner .icon-btn { display: none; }
  .mobile-menu { display: none; }
  .nav { display: flex; align-items: center; gap: var(--s1); }
  .nav-left { justify-content: flex-end; }
  .nav-right { justify-content: flex-start; }
  .nav a {
    display: inline-flex; align-items: center; min-height: 44px;
    padding: 0 var(--s3);
    color: var(--ink); text-decoration: none; font-weight: 500;
    border-radius: 999px; white-space: nowrap;
    transition: color var(--dur) ease, background-color var(--dur) ease;
  }
  .nav a:hover { color: var(--red); }
  .nav a[aria-current="page"] { color: var(--red); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
  .nav a.nav-contact { border: 1.5px solid var(--red); color: var(--red); margin-left: var(--s2); }
  .nav a.nav-contact:hover,
  .nav a.nav-contact[aria-current="page"] { background: var(--red); color: var(--white); text-decoration: none; }
  .logo img { width: 168px; }
  .home-link {
    display: inline-flex; align-items: center; min-height: 28px; margin-top: 2px; padding: 0 var(--s2);
    font-size: 0.875rem; font-weight: 500; color: var(--grey); text-decoration: none; white-space: nowrap;
    border-radius: 999px; transition: color var(--dur) ease;
  }
  .home-link:hover { color: var(--red); }
  .home-link[aria-current="page"] { color: var(--red); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
  .nav .social-header { display: flex; gap: 0; margin-left: var(--s1); }
  .nav .social-header a { padding: 0; width: 44px; justify-content: center; color: var(--red); }
  .nav .social-header a:hover { color: var(--red-dark); background: var(--blush); }
}

/* ---------- Hero ---------- */
.hero { padding: var(--s5) 0 var(--s6); }
.hero-text { text-align: center; max-width: 820px; }
.hero h1 { margin-bottom: var(--s3); }
.lead { color: var(--grey); font-size: 1.125rem; max-width: 36em; margin-inline: auto; }
.cta-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2) var(--s3);
  margin-top: var(--s4);
}
.hero-address { margin: var(--s3) 0 0; color: var(--grey); font-size: 0.9375rem; }

.hero-photos {
  display: grid; grid-template-columns: 1fr;
  margin-top: var(--s5);
}
.arch { border-radius: var(--arch); overflow: hidden; background: var(--mist); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-photos .arch-main { aspect-ratio: 4 / 5; max-width: 420px; margin-inline: auto; width: 100%; }
.hero-photos .arch-side { display: none; }

@media (max-width: 380px) {
  .cta-row .btn { width: 100%; }
}

@media (min-width: 900px) {
  .hero { padding: var(--s7) 0 var(--s8); }
  .hero-photos {
    grid-template-columns: 1fr 1.25fr 1fr;
    align-items: end; gap: var(--s5);
    margin-top: var(--s7);
    max-width: 1040px;
  }
  .hero-photos .arch-side { display: block; aspect-ratio: 3 / 4; }
  .hero-photos .arch-main { max-width: none; aspect-ratio: 4 / 5; }
}

/* ---------- Sekcje ---------- */
.section { padding: var(--s7) 0; }
.tint { background: var(--mist); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto var(--s6); }
.section-head p { color: var(--grey); }
.section-head-only { margin-bottom: 0; }
.section-head-only p:last-child { margin-bottom: 0; }

.split { display: grid; gap: var(--s5); align-items: center; }
.split-photo { aspect-ratio: 4 / 5; max-width: 440px; width: 100%; margin-inline: auto; }
.split-text { max-width: 36em; }
.split-text h3 { margin-top: var(--s5); }
.split-text .btn { margin-top: var(--s2); }

@media (min-width: 900px) {
  .section { padding: var(--s8) 0; }
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s7); }
  .split-reverse { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
}

.ticks { list-style: none; padding: 0; margin: 0 0 var(--s4); display: grid; gap: var(--s3); }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.35em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.5 2.5L13 6.5' fill='none' stroke='%23b42424' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}

/* Okazje */
.occasions {
  display: grid; margin: 0;
  border-top: 1px solid var(--line);
}
.occasions > div { padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.occasions dt { font-family: var(--font-head); font-weight: 600; font-size: 1.5rem; line-height: 1.2; margin-bottom: var(--s2); color: var(--ink); }
.occasions dd { margin: 0; color: var(--grey); }

@media (min-width: 768px) {
  .occasions { grid-template-columns: 1fr 1fr; column-gap: var(--s6); }
}

/* Para zdjęć catering */
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); align-items: start; }
.photo-pair .arch { aspect-ratio: 3 / 5; }
.photo-pair .arch:nth-child(2) { margin-top: var(--s6); }
@media (min-width: 900px) { .photo-pair { gap: var(--s4); } }

/* ---------- Menu food truck ---------- */
.menu-card {
  max-width: 1000px; margin-inline: auto;
  border: 1.5px solid var(--red); border-radius: var(--radius);
  outline: 1px solid var(--line); outline-offset: 6px;
  padding: var(--s5) var(--s4);
  background: var(--white);
}
.menu-head { text-align: center; margin-bottom: var(--s5); }
.menu-kicker { color: var(--red); font-weight: 500; margin-bottom: var(--s1); }
.menu-head h2 { font-size: clamp(2.5rem, 1.8rem + 3vw, 3.75rem); margin-bottom: var(--s1); }
.menu-head p:last-child { color: var(--grey); margin: 0; }

.menu-cols { display: grid; gap: var(--s5); }
.menu-cols h3 { color: var(--red); margin-bottom: var(--s2); }
.menu-cols h3:not(:first-child) { margin-top: var(--s5); }
.menu-note { color: var(--grey); font-size: 0.9375rem; }

.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s3);
  padding: var(--s3) 0; border-bottom: 1px dashed var(--line);
}
.price-list li:last-child { border-bottom: 0; }
.price-list.compact li { padding: var(--s2) 0; }
.dish { font-weight: 500; }
.price { font-weight: 500; color: var(--red); white-space: nowrap; }
.price-list p { grid-column: 1 / -1; margin: var(--s1) 0 0; color: var(--grey); font-size: 0.9375rem; line-height: 1.5; }

.combo {
  margin: var(--s4) 0 0; padding: var(--s3);
  background: var(--blush); border-radius: 8px;
}

@media (min-width: 768px) {
  .menu-card { padding: var(--s6); }
  .menu-cols { grid-template-columns: 1fr 1fr; gap: var(--s7); }
}

/* ---------- Galeria ---------- */
.gallery {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3);
}
.gallery img {
  width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: var(--radius); background: var(--line);
}

@media (min-width: 640px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
  .gallery { gap: var(--s4); }
}

/* ---------- Opinie ---------- */
.opinions { background: var(--blush); text-align: center; }
.quotes { display: grid; gap: var(--s5); max-width: 980px; margin: var(--s5) auto 0; }
.quotes blockquote { margin: 0; }
.quotes p {
  font-family: var(--font-head); font-size: 1.5rem; line-height: 1.4; font-weight: 500;
  margin: 0; text-wrap: pretty;
}
.quotes p::before { content: "„"; }
.quotes p::after { content: "”"; }
@media (min-width: 768px) { .quotes { grid-template-columns: 1fr 1fr; gap: var(--s6); } }

/* ---------- Stopka / Kontakt ---------- */
.site-footer { background: var(--ink); color: #e9e5e5; padding: var(--s7) 0 var(--s4); }
.footer-name { font-family: var(--font-head); font-weight: 600; font-size: 1.75rem; line-height: 1.2; color: var(--white); margin-bottom: var(--s2); }
.footer-intro p { color: #cfc8c9; max-width: 28em; }
.footer-grid { display: grid; gap: var(--s5); }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.c-label { display: block; color: #b9b1b2; font-size: 0.9375rem; margin-bottom: var(--s1); }
.contact-list a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--white); font-size: 1.25rem; font-weight: 500;
  text-decoration-color: #e07a7a;
}
.contact-list a:hover { color: #f3c4c4; }
.site-footer :focus-visible { outline-color: var(--white); }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s2);
  margin-top: var(--s6); padding-top: var(--s3); border-top: 1px solid #4a4445;
  font-size: 0.9375rem; color: #b9b1b2;
}
.footer-bottom p { margin: 0; }
.footer-nav { display: flex; flex-wrap: wrap; column-gap: var(--s3); }
.footer-nav a { min-width: 44px; justify-content: center; }
.footer-bottom a { color: #e9e5e5; display: inline-flex; align-items: center; min-height: 44px; }

@media (min-width: 640px) {
  .contact-list { display: flex; flex-wrap: wrap; gap: var(--s4) var(--s6); }
}
@media (min-width: 1100px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
}

/* ---------- Social ---------- */
.social { display: flex; gap: var(--s2); }
.social a {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-width: 44px; min-height: 44px; border-radius: 999px; color: var(--red);
}
.social svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; }
.social svg .dot, .social svg .fill { fill: currentColor; stroke: none; }
.social a:hover { color: var(--red-dark); }
.social-header { display: none; }
.social-mobile { margin-top: var(--s2); margin-left: -10px; }
.social-footer { margin-top: var(--s3); margin-left: -10px; }
.social-footer a { color: var(--white); }
.social-footer a:hover { color: #f3c4c4; }
.social-contact { flex-wrap: wrap; gap: var(--s2) var(--s4); }
.social-contact a { font-weight: 500; font-size: 1.125rem; text-decoration: none; }
.social-contact a:hover { text-decoration: underline; }

/* ---------- Podstrony ---------- */
.page-hero { padding: var(--s6) 0 var(--s5); text-align: center; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 18em; margin-inline: auto; }
.page-hero .lead a { color: var(--red); padding-block: 12px; }
.page-hero .cta-row { margin-top: var(--s4); }
.section-tight { padding: var(--s6) 0; }
@media (min-width: 900px) {
  .page-hero { padding: var(--s7) 0 var(--s6); }
  .section-tight { padding: var(--s7) 0; }
}
.note { padding: var(--s3); background: var(--blush); border-radius: 8px; }
.tint .note { background: var(--white); }
.cta-inline { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); margin-top: var(--s2); }
.split-text .cta-inline .btn { margin-top: 0; }

/* Kafelki prowadzące do podstron */
.tiles {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--s5) var(--s4); grid-template-columns: minmax(0, 1fr);
}
.tile { display: grid; gap: var(--s2); color: var(--ink); text-decoration: none; border-radius: var(--radius); }
.tile-photo { display: block; aspect-ratio: 4 / 3; }
.tile-photo img { transition: transform 400ms ease; }
.tile-title {
  font-family: var(--font-head); font-weight: 600; font-size: 1.625rem; line-height: 1.2;
  margin-top: var(--s2); color: var(--red);
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px;
  transition: text-decoration-color var(--dur) ease;
}
.tile-text { color: var(--grey); }
.tile:hover { color: var(--ink); }
.tile:hover .tile-title, .tile:focus-visible .tile-title { text-decoration-color: currentColor; }
.tile:hover .tile-photo img { transform: scale(1.03); }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) {
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tile-photo { aspect-ratio: 3 / 4; }
}

/* Galeria z powiększeniem */
.gallery-title { margin-bottom: var(--s4); }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; }
.gallery a img { border-radius: 0; transition: transform 400ms ease; }
.gallery a:hover img { transform: scale(1.03); }

.lightbox {
  width: 100%; max-width: 100%; height: 100%; max-height: 100%;
  margin: 0; padding: var(--s3); border: 0;
  background: transparent;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(30, 27, 28, 0.94); }
.lightbox img { max-width: 100%; max-height: calc(100vh - 112px); width: auto; height: auto; border-radius: 8px; }
.lightbox-close { position: fixed; top: var(--s3); right: var(--s3); }
.lightbox-close svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* Kontakt */
.contact-cards {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--s4); grid-template-columns: minmax(0, 1fr);
}
.contact-cards li { padding: var(--s4); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-cards h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 500; margin-bottom: var(--s1); color: var(--grey); }
.contact-big {
  display: inline-flex; align-items: center; min-height: 44px; margin: 0 0 var(--s2);
  font-size: 1.375rem; font-weight: 500; line-height: 1.3; color: var(--ink);
}
a.contact-big { color: var(--red); }
.contact-cards p:last-child { margin-bottom: 0; color: var(--grey); }
.contact-cards li > a:not(.contact-big) { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 768px) { .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Oferta dodatkowa: usługi bez zdjęć */
.extras { display: grid; gap: var(--s4); }
.extras > div { padding: var(--s5) var(--s4); border: 1px solid var(--line); border-radius: var(--radius); }
.extras h3 { margin-bottom: var(--s2); }
.extras p { color: var(--grey); }
.extras a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }
@media (min-width: 768px) { .extras { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); } }
.tint .extras > div { background: var(--white); }
.extras-title { font-size: 1.75rem; margin-bottom: var(--s2); }
.fee-note { max-width: 36em; margin: var(--s4) auto 0; font-size: 1rem; color: var(--ink); }

/* Formularz zapytania */
.contact-layout { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 960px) {
  .contact-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s7); }
  .contact-layout .contact-cards { grid-template-columns: minmax(0, 1fr); }
}
.form-wrap h2 { margin-bottom: var(--s2); }
.form-intro { color: var(--grey); margin-bottom: var(--s4); }
.inquiry { display: grid; gap: var(--s4); }
.field-row { display: grid; gap: var(--s4); }
@media (min-width: 640px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: var(--s1); min-width: 0; align-content: start; }
.field label { font-weight: 500; }
.field input,
.field select,
.field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  font: 400 1rem/1.5 var(--font-body); color: var(--ink);
  background: var(--white); border: 1px solid #b9b1b2; border-radius: 8px;
  transition: border-color var(--dur) ease, box-shadow var(--dur) ease;
}
.field select {
  appearance: none; padding-right: 40px; cursor: pointer;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23b42424' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 20px no-repeat;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--grey); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(180, 36, 36, 0.18); border-radius: 8px;
}
.field [aria-invalid="true"] { border-color: var(--red); background-color: #fffafa; }
.field-hint { margin: 0; font-size: 0.9375rem; color: var(--grey); }
.field-error { margin: 0; font-size: 0.9375rem; color: var(--red-dark); font-weight: 500; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-privacy { margin: 0; font-size: 0.9375rem; color: var(--grey); }
.form-privacy a { padding-block: 10px; }
.form-status { padding: var(--s3); border-radius: 8px; background: var(--blush); color: var(--red-dark); font-weight: 500; }
.form-status a { color: inherit; }
.btn-submit { justify-self: start; min-width: 240px; }
@media (max-width: 479px) { .btn-submit { justify-self: stretch; } }
.btn-submit:disabled { opacity: 0.7; cursor: progress; }
.form-success { padding: var(--s5) var(--s4); border-radius: var(--radius); background: var(--blush); }
.form-success h3 { margin-bottom: var(--s2); }
.form-success p { margin: 0; }
.form-success:focus { outline: none; }

/* ---------- Polityka prywatności ---------- */
.legal { max-width: 46em; }
.legal-date { color: var(--grey); }
.legal h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem); margin: var(--s6) 0 var(--s3); }
.legal ul { padding-left: 1.25em; margin: 0 0 var(--s3); display: grid; gap: var(--s2); }
.legal a { overflow-wrap: anywhere; }

/* ---------- Stopka: linki prawne ---------- */
.footer-legal {
  display: flex; flex-wrap: wrap; gap: 0 var(--s4); padding-top: var(--s2);
  font-size: 0.9375rem;
}
.footer-legal a, .footer-legal .link-btn {
  display: inline-flex; align-items: center; min-height: 44px; color: #e9e5e5;
}
.footer-legal a[aria-current="page"] { color: var(--white); font-weight: 500; }

.link-btn {
  padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; color: var(--red); text-decoration: underline; text-underline-offset: 3px;
}
.link-btn:hover { color: var(--red-dark); }
.site-footer .link-btn:hover { color: #f3c4c4; }

/* ---------- Baner zgody na ciasteczka ---------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--white); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(46, 42, 43, 0.12);
}
.cookie-banner-inner {
  max-width: 1160px; margin-inline: auto; padding: var(--s3) var(--gutter);
  display: grid; gap: var(--s3);
}
.cookie-text h2 { font-size: 1.375rem; margin-bottom: var(--s1); }
.cookie-text p { margin: 0; font-size: 0.9375rem; color: var(--grey); }
.cookie-text a { padding-block: 14px; }
.cookie-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); }
.cookie-actions .link-btn { min-height: 44px; }
@media (max-width: 599px) {
  .cookie-banner .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
  .cookie-banner .cookie-actions .btn { padding-inline: 12px; font-size: 0.9375rem; }
  .cookie-banner .cookie-actions .link-btn { grid-column: 1 / -1; justify-self: start; }
  .cookie-text h2 { font-size: 1.25rem; }
}
@media (min-width: 900px) {
  .cookie-banner-inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s5); padding-block: var(--s4); }
}

/* ---------- Okno ustawień ciasteczek ---------- */
.cookie-dialog {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px);
  padding: 0; border: 0; border-radius: var(--radius); color: var(--ink);
}
.cookie-dialog::backdrop { background: rgba(30, 27, 28, 0.6); }
.cookie-form { position: relative; padding: var(--s5) var(--s4) var(--s4); display: grid; gap: var(--s3); }
.cookie-form h2 { font-size: 1.75rem; margin: 0 48px 0 0; }
.cookie-form > p { margin: 0; color: var(--grey); font-size: 0.9375rem; }
.cookie-option {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s3); align-items: start;
  padding: var(--s3); border: 1px solid var(--line); border-radius: 8px;
}
.cookie-option input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--red); cursor: pointer; }
.cookie-option input:disabled { cursor: not-allowed; }
.cookie-option label { cursor: pointer; line-height: 1.5; }
.cookie-option label span { color: var(--grey); font-size: 0.9375rem; }
.cookie-close { position: absolute; top: var(--s3); right: var(--s3); }
.cookie-close svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* ---------- Ruch ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .tile:hover .tile-photo img, .gallery a:hover img { transform: none; }
}
