/* =========================================================
   Blisko – kawiarnia z bawialnią · style.css
   Paleta z logo i ulotki: krem, rdzawy bordo, niebieski.
   ========================================================= */

:root {
  --cream: #FBF9ED;
  --cream-2: #F3EEDD;
  --bordo: #7C341C;
  --bordo-dark: #5E2612;
  --blue: #2F6BA8;
  --blue-dark: #24578A;
  --dusty: #A4C2CA;
  --dusty-light: #D9E6EA;
  --ink: #2B2226;
  --ink-soft: #5A4D52;
  --white: #FFFFFF;
  --radius: 22px;
  --wrap: 1120px;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 0.5em; color: var(--bordo); }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-bordo { background: var(--bordo); color: var(--white); }
.btn-bordo:hover { background: var(--bordo-dark); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-dark); }
.btn-ghost { background: transparent; color: var(--bordo); border-color: var(--bordo); }
.btn-ghost:hover { background: rgba(124,52,28,.08); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- Nagłówek ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .5rem clamp(1rem, 3vw, 2.5rem);
  background: rgba(251,249,237,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(124,52,28,.08);
}
.brand img { width: 96px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.75rem); }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; padding: .35rem 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { border-bottom-color: var(--blue); }
.nav .btn { padding: .6rem 1.2rem; font-size: .95rem; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; height: 3px; background: var(--bordo); margin: 6px 0; border-radius: 3px; transition: transform .2s, opacity .2s; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid rgba(124,52,28,.12);
    padding: .5rem 1.25rem 1.25rem; display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .8rem 0; border-bottom: 1px solid rgba(124,52,28,.08); }
  .nav .btn { margin-top: 1rem; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

/* ---------- Fale (nawiązanie do wycięć w bawialni) ---------- */
.wave { position: absolute; left: 0; width: 100%; height: clamp(24px, 4vw, 48px); display: block; }
.wave-bottom { bottom: -1px; fill: var(--cream); }
.wave-top { top: -1px; fill: var(--cream); }

/* ---------- Hero ---------- */
.hero {
  position: relative; display: grid; grid-template-columns: 1.15fr 1fr; min-height: min(88vh, 760px);
  background: var(--bordo);
}
.hero-photo { position: relative; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.hero-text {
  color: var(--white); padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 5rem) clamp(4rem, 8vw, 6rem);
  display: flex; flex-direction: column; justify-content: center;
}
.hero-text h1 { color: var(--white); }
.hero-place { font-size: 1.1rem; font-weight: 500; color: var(--dusty); margin-top: -.5rem; }
.hero-lead { font-size: 1.1rem; max-width: 34ch; margin: 1.25rem 0 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero .btn-bordo { background: var(--blue); }
.hero .btn-bordo:hover { background: var(--blue-dark); }
.hero .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.6); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.1); }
.hero-hours { display: grid; grid-template-columns: auto auto; gap: .2rem 1.25rem; margin: 2.25rem 0 0; font-size: .95rem; }
.hero-hours dt { color: var(--dusty); }
.hero-hours dd { margin: 0; font-weight: 600; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .hero-text { padding-bottom: 4.5rem; }
}

/* ---------- Oferta ---------- */
.offer-head { max-width: 56ch; margin-bottom: 2.5rem; }
.offer-head p { font-size: 1.1rem; color: var(--ink-soft); }
.offer-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.offer-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 2rem; }
.offer-list article { border-top: 3px solid var(--dusty); padding-top: .9rem; }
.offer-list article:nth-child(odd) { border-top-color: var(--blue); }
.offer-list h3 { margin-bottom: .3rem; }
.offer-list p { color: var(--ink-soft); margin: 0; font-size: .97rem; }

.offer-photos { position: relative; height: 560px; }
.blob { position: absolute; margin: 0; overflow: hidden; box-shadow: 0 18px 40px rgba(43,34,38,.16); border: 6px solid var(--cream); }
.blob img { width: 100%; height: 100%; object-fit: cover; }
.blob-a { width: 58%; aspect-ratio: 1; top: 0; left: 0; border-radius: 52% 48% 55% 45% / 48% 55% 45% 52%; }
.blob-a img { object-position: 50% 60%; }
.blob-b { width: 48%; aspect-ratio: 1; top: 34%; right: 0; border-radius: 45% 55% 50% 50% / 55% 45% 55% 45%; }
.blob-b img { object-position: 50% 40%; }
.blob-c { width: 50%; aspect-ratio: 1; bottom: 0; left: 8%; border-radius: 55% 45% 48% 52% / 45% 52% 48% 55%; }
.blob-c img { object-position: 50% 55%; }

@media (max-width: 900px) {
  .offer-grid { grid-template-columns: 1fr; }
  .offer-photos { height: auto; display: flex; gap: 1rem; }
  .blob { position: static; width: 33.3%; aspect-ratio: 1; border-width: 4px; }
}
@media (max-width: 560px) { .offer-list { grid-template-columns: 1fr; } }

/* ---------- Bawialnia ---------- */
.playroom { background: var(--dusty-light); padding-top: clamp(5rem, 10vw, 8rem); }
.playroom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.playroom-text p { color: var(--ink-soft); }
.playroom-photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 40px rgba(43,34,38,.14); }
.playroom-photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.note { font-size: .92rem; }

.ticks { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: .5rem; }
.ticks li { position: relative; padding-left: 1.8rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .28rem; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23000'/%3E%3Cpath d='M7 12.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23000'/%3E%3Cpath d='M7 12.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
@media (max-width: 860px) { .playroom-grid { grid-template-columns: 1fr; } }

/* ---------- Cennik bawialni ---------- */
.pricelist { margin-top: clamp(2.5rem, 5vw, 4rem); background: var(--white); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: 0 12px 30px rgba(43,34,38,.08); }
.pricelist h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.pricelist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2.5rem; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table caption { text-align: left; font-weight: 700; color: var(--blue); padding-bottom: .5rem; }
.price-table th, .price-table td { padding: .6rem .5rem; text-align: left; border-bottom: 1px solid var(--dusty-light); }
.price-table thead th { font-size: .82rem; color: var(--ink-soft); font-weight: 500; text-align: right; }
.price-table tbody th { font-weight: 500; }
.price-table td { text-align: right; font-weight: 700; color: var(--bordo); }
.price-table th:first-child { width: 45%; }
@media (max-width: 640px) { .pricelist-grid { grid-template-columns: 1fr; } }

/* ---------- Urodziny ---------- */
.party-head { max-width: 62ch; margin-bottom: 2.5rem; }
.party-lead { font-size: 1.1rem; color: var(--ink-soft); }
.party-lead b { color: var(--bordo); }

.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.pkg { position: relative; background: var(--white); border-radius: var(--radius); padding: 1.75rem; border: 2px solid var(--dusty-light); display: flex; flex-direction: column; }
.pkg-highlight { border-color: var(--bordo); background: #FFFDF5; }
.pkg-badge { position: absolute; top: -.8rem; left: 1.5rem; background: var(--bordo); color: var(--white); font-size: .75rem; font-weight: 600; padding: .3rem .8rem; border-radius: 999px; }
.pkg h3 { font-size: 1.4rem; margin-bottom: .25rem; }
.pkg-short { color: var(--ink-soft); margin-bottom: .25rem; }
.pkg-meta { font-weight: 600; color: var(--blue); margin-bottom: .5rem; }
.pkg .ticks { margin: .75rem 0 1.25rem; font-size: .95rem; flex: 1; }
.pkg-prices { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: .5rem; }
.pkg-prices div { background: var(--cream); border-radius: 12px; padding: .7rem .9rem; }
.pkg-prices span { display: block; font-size: .8rem; color: var(--ink-soft); }
.pkg-prices b { font-size: 1.35rem; color: var(--bordo); }
.pkg-extra { font-size: .85rem; color: var(--ink-soft); margin-bottom: 1.25rem; }
.pkg .btn { width: 100%; }
@media (max-width: 960px) { .packages { grid-template-columns: 1fr; max-width: 560px; } }

.addons { display: grid; grid-template-columns: 1fr 2.2fr; gap: 1.5rem; margin-top: 2rem; align-items: start; }
.addon { background: var(--white); border-radius: var(--radius); padding: 1.75rem; border: 2px solid var(--dusty-light); }
.addon h3 { font-size: 1.3rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.addon-price { color: var(--blue); font-weight: 700; white-space: nowrap; }
.addon p { color: var(--ink-soft); }
.addon-cakes-head p { max-width: 70ch; }
.cakes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; }
.cake { background: var(--cream); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.cake figure { margin: 0; aspect-ratio: 4 / 3; background: var(--dusty-light); position: relative; }
.cake figure img { width: 100%; height: 100%; object-fit: cover; }
.cake figure.no-img img { display: none; }
.cake figure.no-img::after { content: "zdjęcie tortu"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-soft); font-size: .9rem; }
.cake-body { padding: 1rem 1.1rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.cake h4 { margin: 0 0 .1rem; font-size: 1.05rem; color: var(--bordo); display: flex; justify-content: space-between; gap: .5rem; }
.cake-size { font-size: .8rem; color: var(--ink-soft); margin-bottom: .4rem; }
.cake p { font-size: .9rem; color: var(--ink-soft); flex: 1; }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }
@media (max-width: 960px) { .addons { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .cakes { grid-template-columns: 1fr; } .cake { flex-direction: row; } .cake figure { flex: 0 0 38%; aspect-ratio: auto; } }

/* ---------- Rezerwacja ---------- */
.booking { margin-top: clamp(2.5rem, 5vw, 4rem); background: var(--white); border-radius: calc(var(--radius) + 6px); padding: clamp(1.25rem, 3vw, 2.5rem); box-shadow: 0 18px 50px rgba(43,34,38,.08); }
.booking-title { margin-bottom: 1.25rem; }
.step { border: 0; padding: 0; margin: 0 0 2rem; }
.step legend, .step-label { font-weight: 700; color: var(--blue); margin: 0 0 .9rem; padding: 0; font-size: 1rem; }
.pkg-choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.pkg-radio { display: flex; flex-direction: column; gap: .2rem; padding: .9rem 1.1rem; border: 2px solid var(--dusty-light); border-radius: 14px; cursor: pointer; }
.pkg-radio.selected { border-color: var(--blue); background: rgba(47,107,168,.06); }
.pkg-radio input { position: absolute; opacity: 0; pointer-events: none; }
.pkg-radio b { color: var(--bordo); }
.pkg-radio span { font-size: .85rem; color: var(--ink-soft); }
@media (max-width: 720px) { .pkg-choice { grid-template-columns: 1fr; } }
.slots-price { font-size: .9rem; color: var(--ink-soft); margin: -.4rem 0 .9rem; }
.fields small { font-weight: 400; font-size: .8rem; color: var(--ink-soft); }
.extras { border: 0; padding: 0; margin: 0 0 1.5rem; }
.extras legend { font-weight: 600; margin-bottom: .6rem; padding: 0; }
.check-card { display: flex; align-items: flex-start; gap: .75rem; padding: .9rem 1rem; border: 2px solid var(--dusty-light); border-radius: 14px; cursor: pointer; margin-bottom: 1rem; }
.check-card:has(input:checked) { border-color: var(--blue); background: rgba(47,107,168,.06); }
.check-card input { margin-top: .25rem; width: 1.2rem; height: 1.2rem; accent-color: var(--blue); flex: none; }
.check-card b { color: var(--bordo); display: block; }
.check-card small { color: var(--ink-soft); }
.cake-choice { display: grid; gap: .6rem; }
.cake-choice-label { font-weight: 600; margin: .25rem 0 0; }
.summary { background: var(--cream); border-radius: 14px; padding: 1.1rem 1.25rem; margin-bottom: 1.5rem; }
.summary h4 { margin: 0 0 .6rem; font-size: 1rem; }
.sum-line { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; font-size: .95rem; color: var(--ink-soft); }
.sum-total { display: flex; justify-content: space-between; gap: 1rem; padding-top: .6rem; margin-top: .4rem; border-top: 2px solid var(--dusty-light); font-weight: 700; color: var(--bordo); font-size: 1.1rem; }
.booking-grid { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 760px) { .booking-grid { grid-template-columns: 1fr; } }

.calendar { user-select: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.cal-head strong { font-size: 1.1rem; text-transform: capitalize; }
.cal-nav { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--dusty); background: var(--white); font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--bordo); }
.cal-nav:hover { background: var(--dusty-light); }
.cal-nav[disabled] { opacity: .35; cursor: default; }
.cal-weekdays, .cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-weekdays span { text-align: center; font-size: .8rem; color: var(--ink-soft); padding-bottom: .25rem; }
.cal-days button, .cal-days .pad {
  aspect-ratio: 1; border-radius: 12px; border: 0; font: inherit; font-weight: 600; font-size: .95rem;
  display: flex; align-items: center; justify-content: center; position: relative; cursor: pointer;
}
.cal-days .pad { visibility: hidden; }
.cal-days .off { background: transparent; color: #b9b0a8; cursor: default; font-weight: 500; }
.cal-days .free { background: var(--dusty-light); color: var(--ink); }
.cal-days .free:hover { background: var(--dusty); }
.cal-days .full { background: var(--cream-2); color: #a89a90; cursor: default; text-decoration: line-through; }
.cal-days .selected { background: var(--blue) !important; color: var(--white) !important; }
.cal-days .loading { opacity: .5; }
.cal-legend { font-size: .82rem; color: var(--ink-soft); margin: 1rem 0 0; display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.lg { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-left: .6rem; }
.lg:first-child { margin-left: 0; }
.lg-free { background: var(--dusty-light); } .lg-full { background: var(--cream-2); border: 1px solid #ddd2c6; } .lg-off { background: transparent; border: 1px dashed #c9bfb6; }

.slots h4 { margin: 0 0 .75rem; font-size: 1.05rem; color: var(--ink); }
.slots-empty { color: var(--ink-soft); background: var(--cream); border-radius: 14px; padding: 1.25rem; }
.slot-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }
.slot-list button {
  border: 2px solid var(--dusty); background: var(--white); border-radius: 14px; padding: .8rem .5rem; font: inherit; font-weight: 600; cursor: pointer; color: var(--ink);
}
.slot-list button:hover { border-color: var(--blue); }
.slot-list button.selected { background: var(--blue); border-color: var(--blue); color: var(--white); }
.slot-list button[disabled] { background: var(--cream-2); border-style: dashed; border-color: #ddd2c6; color: #a89a90; cursor: default; }
.slot-list button[disabled]:hover { border-color: #ddd2c6; }
.slot-list button small { display: block; font-weight: 400; font-size: .8rem; opacity: .75; }

.booking-form { margin-top: 1rem; padding-top: 2rem; border-top: 2px dashed var(--dusty-light); }
.booking-form[hidden] { display: none; }
.chosen { background: var(--dusty-light); border-radius: 12px; padding: .8rem 1rem; font-weight: 600; display: inline-block; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; margin: 1rem 0 1.5rem; }
.fields label { display: flex; flex-direction: column; gap: .35rem; font-size: .92rem; font-weight: 500; color: var(--ink-soft); }
.fields .full { grid-column: 1 / -1; }
.fields input, .fields textarea {
  font: inherit; font-size: 1rem; color: var(--ink); padding: .75rem .9rem; border-radius: 12px; border: 2px solid var(--dusty-light); background: var(--white);
}
.fields input:focus, .fields textarea:focus { border-color: var(--blue); outline: none; }
.fields input:user-invalid, .fields textarea:user-invalid { border-color: #c0392b; }
@media (max-width: 620px) { .fields { grid-template-columns: 1fr; } }

.pay-choice { border: 0; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .6rem; }
.pay-choice legend { font-weight: 600; margin-bottom: .5rem; padding: 0; }
.radio { display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem; border: 2px solid var(--dusty-light); border-radius: 14px; cursor: pointer; }
.radio:has(input:checked) { border-color: var(--blue); background: rgba(47,107,168,.06); }
.radio input { width: 1.2rem; height: 1.2rem; accent-color: var(--blue); }
.radio b { color: var(--bordo); }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.check input { margin-top: .25rem; accent-color: var(--blue); width: 1.1rem; height: 1.1rem; flex: none; }
.form-actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.form-note { margin: 0; font-size: .88rem; color: var(--ink-soft); max-width: 46ch; }
.form-error { margin-top: 1rem; color: #a3271a; background: #fbe9e6; border-radius: 12px; padding: .8rem 1rem; font-weight: 500; }
.form-error[hidden] { display: none; }

/* ---------- Galeria ---------- */
.gallery h2 { margin-bottom: 1.5rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 1rem; }
.g { display: block; overflow: hidden; border-radius: 18px; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.g:hover img { transform: scale(1.03); }
.g-1 { grid-column: span 2; grid-row: span 2; }
.g-4, .g-5, .g-6 { grid-column: span 2; }
@media (max-width: 760px) { .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; } .g-1 { grid-column: span 2; } .g-4, .g-5, .g-6 { grid-column: span 1; } }

.lightbox { position: fixed; inset: 0; background: rgba(43,34,38,.92); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 1.5rem; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; }
.lb-close { position: absolute; top: 1rem; right: 1rem; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--cream); color: var(--bordo); font-size: 2rem; line-height: 1; cursor: pointer; }

/* ---------- Kontakt ---------- */
.contact { background: var(--blue); color: var(--white); padding-top: clamp(5rem, 10vw, 8rem); }
.contact h2 { color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact address { font-style: normal; font-size: 1.15rem; font-weight: 600; margin-bottom: 1.5rem; }
.contact address small { display: block; font-weight: 400; color: var(--dusty-light); }
.hours { display: grid; grid-template-columns: auto auto; gap: .35rem 1.5rem; margin: 0 0 1.5rem; }
.hours dt { color: var(--dusty-light); }
.hours dd { margin: 0; font-weight: 600; }
.contact-links a { color: var(--white); font-weight: 600; text-decoration: none; border-bottom: 2px solid rgba(255,255,255,.4); }
.contact-links a:hover { border-bottom-color: var(--white); }
.contact-links { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; }
.contact-links a { white-space: nowrap; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.map iframe { width: 100%; height: 380px; border: 0; display: block; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Stopka ---------- */
.site-footer { background: var(--bordo); color: rgba(255,255,255,.85); font-size: .9rem; padding: 1.5rem 0; }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--white); }

/* ---------- Strony pomocnicze (sukces / anulowano / regulamin) ---------- */
.page-simple { min-height: 60vh; padding: clamp(3rem, 8vw, 6rem) 0; }
.page-simple .wrap { max-width: 720px; }
.page-simple .icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 1.5rem; font-size: 2rem; }
.icon-ok { background: var(--dusty-light); color: var(--blue); }
.icon-warn { background: #FBE5DD; color: var(--bordo); }
.page-simple h2 { margin-top: 2.5rem; font-size: 1.4rem; }

.animator-card { display: flex; flex-direction: column; gap: .4rem; }
.animator-select { display: flex; align-items: center; gap: .9rem; font-weight: 600; color: var(--bordo); }
.animator-select select { font: inherit; font-weight: 500; color: var(--ink); padding: .55rem .8rem; border-radius: 10px; border: 2px solid var(--dusty-light); background: var(--white); min-width: 240px; }
.animator-select select:focus { border-color: var(--blue); outline: none; }
