/* Szwędaczki Supraskie – noc w puszczy, światło pochodni, papier i czerwień z marki */
:root {
  --night: #170B09;
  --night-2: #221210;
  --night-3: #2E1915;
  --line-d: rgba(243, 231, 216, .14);
  --cream: #F3E7D8;
  --cream-2: #CDBFAF;
  --ember: #F2B36B;
  --paper: #F6F0E7;
  --paper-2: #EEE4D6;
  --line: #DDCFBD;
  --ink: #2A1712;
  --ink-2: #5E4A40;
  --red: #C4262C;
  --red-d: #A11F24;
  --serif: 'Alegreya', Georgia, serif;
  --sans: 'Alegreya Sans', system-ui, sans-serif;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --sec: clamp(72px, 9vw, 128px);
  --r: 4px;
  --ease: cubic-bezier(.22, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.1875rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem); }
h3 { font-size: clamp(1.45rem, 1.2rem + .9vw, 1.9rem); }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.night :focus-visible, .head :focus-visible, .foot :focus-visible, .hero :focus-visible, .phero :focus-visible, .cta :focus-visible, .menu :focus-visible, .lb :focus-visible { outline-color: var(--ember); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ember); color: var(--night); padding: 10px 16px; border-radius: var(--r); font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- przyciski i linki ---------- */
.btn { display: inline-flex; align-items: center; gap: .6em; min-height: 52px; padding: 0 1.4em; border-radius: var(--r); font: 700 1.0625rem/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease); }
.btn .arr { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-d); }
.btn-line { border-color: rgba(243, 231, 216, .42); color: var(--cream); }
.btn-line:hover { border-color: var(--ember); color: var(--ember); }
.link-red, .link-ember { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; text-decoration: none; }
.link-red { color: var(--red-d); }
.link-ember { color: var(--ember); }
.link-red .arr, .link-ember .arr { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.link-red:hover .arr, .link-ember:hover .arr { transform: translateX(3px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- nagłówek ---------- */
.head { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--cream); transition: background .3s, box-shadow .3s; }
.head::before { content: ''; position: absolute; inset: 0 0 -30px; background: linear-gradient(rgba(23, 11, 9, .7), transparent); pointer-events: none; transition: opacity .3s; }
.head.is-stuck { background: rgba(23, 11, 9, .96); box-shadow: 0 1px 0 var(--line-d); }
.head.is-stuck::before { opacity: 0; }
.head-in { position: relative; display: flex; align-items: center; gap: 28px; height: 76px; }
.logo img { width: 190px; height: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; }
.nav a { display: block; padding: 10px 12px; text-decoration: none; font-weight: 500; font-size: 1.0625rem; color: var(--cream); position: relative; }
.nav a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1.5px; background: var(--ember); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.head-tel { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1.5px solid rgba(243, 231, 216, .32); border-radius: var(--r); text-decoration: none; font-weight: 700; white-space: nowrap; transition: border-color .2s, color .2s; }
.head-tel:hover { border-color: var(--ember); color: var(--ember); }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: none; color: var(--cream); cursor: pointer; align-items: center; justify-content: center; }
.burger .i { width: 28px; height: 28px; }
.burger .i + .i, .burger[aria-expanded="true"] .i:first-child { display: none; }
.burger[aria-expanded="true"] .i + .i { display: block; }
.menu { position: fixed; inset: 76px 0 0; background: var(--night); padding: 12px var(--gut) 32px; overflow-y: auto; display: flex; flex-direction: column; }
.menu[hidden] { display: none; }
.menu ul { list-style: none; }
.menu li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-d); font: 500 1.9rem/1.2 var(--serif); text-decoration: none; }
.menu li a[aria-current] { color: var(--ember); }
.menu-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 14px; }
.menu-foot .btn { justify-content: center; }
.menu-mail { text-align: center; color: var(--cream-2); }
@media (max-width: 960px) {
  .nav, .head-tel { display: none; }
  .burger { display: inline-flex; }
  .head-in { height: 68px; }
  .menu { inset: 68px 0 0; }
  .logo img { width: 168px; }
}

/* ---------- hero (start) ---------- */
.hero { position: relative; background: var(--night); color: var(--cream); overflow: hidden; isolation: isolate; }
.hero-pic { position: absolute; inset: 0 0 0 auto; width: 52%; z-index: -1; }
.hero-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-pic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night) 0%, rgba(23, 11, 9, .55) 28%, rgba(23, 11, 9, 0) 60%), linear-gradient(0deg, var(--night) 0%, rgba(23, 11, 9, 0) 30%); }
.hero-in { min-height: min(88vh, 860px); display: flex; align-items: center; padding: 120px 0 56px; }
.hero-txt { max-width: 600px; }
.hero-pre { font-size: 1.125rem; color: var(--cream-2); margin-bottom: 18px; }
.hero-h { margin-bottom: 28px; }
.hero-h img { width: min(100%, 560px); height: auto; filter: drop-shadow(0 2px 18px rgba(0, 0, 0, .35)); }
.hero-lead { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); line-height: 1.55; color: var(--cream); max-width: 34em; margin-bottom: 32px; }
.g-rate { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 1rem; color: var(--cream-2); }
.g-rate b { color: var(--cream); font-size: 1.0625rem; }
.stars { display: inline-flex; gap: 1px; color: var(--ember); }
.star { width: 17px; height: 17px; }
.hero-facts-w { padding-bottom: 40px; }
.facts { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-d); }
.facts li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 22px 20px 0 0; }
.facts .fi { grid-row: span 2; width: 34px; height: 34px; color: var(--ember); }
.facts b { font: 500 1.4rem/1.15 var(--serif); }
.facts span { font-size: 1rem; color: var(--cream-2); }
@media (prefers-reduced-motion: no-preference) {
  .hero-txt > * { animation: rise .9s var(--ease) both; }
  .hero-txt > :nth-child(2) { animation-delay: .08s; }
  .hero-txt > :nth-child(3) { animation-delay: .16s; }
  .hero-txt > :nth-child(4) { animation-delay: .24s; }
  .hero-txt > :nth-child(5) { animation-delay: .32s; }
  .hero-pic img { animation: settle 1.8s var(--ease) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
  @keyframes settle { from { opacity: 0; transform: scale(1.05); } }
}
@media (max-width: 900px) {
  .hero-pic { position: relative; width: 100%; height: 62vh; min-height: 380px; max-height: 560px; }
  .hero-pic::after { background: linear-gradient(0deg, var(--night) 0%, rgba(23, 11, 9, .2) 45%, rgba(23, 11, 9, .55) 100%); }
  .hero-in { min-height: 0; padding: 0 0 40px; margin-top: -120px; position: relative; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li { padding: 18px 12px 18px 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line-d); }
}

/* ---------- sekcje ---------- */
.sec { padding: var(--sec) 0; }
.paper { background: var(--paper); }
.paper-2 { background: var(--paper-2); }
.night { background: var(--night); color: var(--cream); }
.paper + .paper, .paper-2 + .paper-2 { padding-top: 0; }
.sec-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head h2 + p { margin-top: 16px; color: var(--ink-2); font-size: 1.25rem; }
.night .sec-head h2 + p { color: var(--cream-2); }
.sec-head.row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; }
.sec-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.sec-links a { display: inline-flex; align-items: center; gap: .4em; color: var(--red-d); font-weight: 700; text-decoration: none; }
.sec-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.sec-links .i { width: 1.05em; height: 1.05em; }

/* oferta: naprzemienne wiersze */
.offers { display: grid; gap: clamp(48px, 7vw, 96px); }
.offer { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.offer.flip .offer-pic { order: 2; }
.offer-pic { display: block; overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 3; background: var(--paper-2); }
.offer-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.offer:hover .offer-pic img { transform: scale(1.03); }
.offer-sub { font-size: 1.0625rem; color: var(--red-d); font-weight: 700; margin-bottom: 10px; }
.offer h3 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem); margin-bottom: 18px; }
.offer h3 a { text-decoration: none; }
.offer h3 a::after { content: ''; position: absolute; inset: 0; }
.offer { position: relative; }
.offer-txt p:not(.offer-sub) { color: var(--ink-2); max-width: 30em; margin-bottom: 22px; }
.offer:hover .link-red .arr { transform: translateX(3px); }
@media (max-width: 760px) {
  .offer { grid-template-columns: 1fr; gap: 22px; }
  .offer.flip .offer-pic { order: 0; }
}

/* trasa */
.route { position: relative; overflow: hidden; isolation: isolate; }
.route-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: .16; filter: grayscale(1) contrast(1.1); mix-blend-mode: luminosity; }
.route::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--night) 0%, rgba(23, 11, 9, .4) 40%, var(--night) 100%); }
.route-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.route-txt { position: sticky; top: 120px; }
.route-txt p { margin: 20px 0 28px; color: var(--cream-2); font-size: 1.25rem; max-width: 26em; }
.stops { list-style: none; position: relative; }
.stops::before { content: ''; position: absolute; left: 27px; top: 28px; bottom: 28px; border-left: 2px dashed rgba(242, 179, 107, .38); }
.stop { position: relative; display: flex; align-items: center; gap: 22px; padding: 12px 0; }
.stop-dot { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--night-2); border: 1px solid rgba(242, 179, 107, .45); color: var(--ember); }
.stop-dot .i { width: 28px; height: 28px; }
.stop-t { font: 500 clamp(1.4rem, 1.2rem + .8vw, 1.85rem)/1.2 var(--serif); }
.stop-last .stop-dot { background: var(--ember); color: var(--night); border-color: var(--ember); box-shadow: 0 0 0 8px rgba(242, 179, 107, .12), 0 0 40px rgba(242, 140, 60, .45); }
.stop-last .stop-t { color: var(--ember); }
@media (prefers-reduced-motion: no-preference) {
  .js .stop { opacity: 0; transform: translateX(-10px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--n) * 110ms); }
  .js .stops.in .stop { opacity: 1; transform: none; }
}
@media (max-width: 860px) {
  .route-in { grid-template-columns: 1fr; }
  .route-txt { position: static; }
  .stop-dot { width: 48px; height: 48px; }
  .stops::before { left: 23px; }
  .stop-dot .i { width: 24px; height: 24px; }
}

/* dzień / noc */
.dn { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 32px); }
.dn-card { margin: 0; }
.dn-ph { aspect-ratio: 4 / 3.4; }
.dn-card figcaption { display: flex; gap: 14px; margin-top: 18px; color: var(--ink-2); }
.dn-card figcaption .i { width: 30px; height: 30px; color: var(--red); margin-top: 2px; }
.dn-card figcaption b { display: block; font: 500 1.5rem/1.2 var(--serif); color: var(--ink); margin-bottom: 4px; }
@media (max-width: 640px) { .dn { grid-template-columns: 1fr; gap: 36px; } }

/* zdjęcia z powiększeniem */
.ph { position: relative; display: block; overflow: hidden; border-radius: var(--r); background: var(--paper-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ph:hover img { transform: scale(1.035); }
.zoom { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(23, 11, 9, .7); color: #fff; opacity: 0; transform: scale(.9); transition: opacity .25s, transform .25s var(--ease); }
.zoom .i { width: 20px; height: 20px; }
.ph:hover .zoom, .ph:focus-visible .zoom { opacity: 1; transform: none; }
@media (hover: none) { .zoom { opacity: 1; transform: none; width: 34px; height: 34px; } }

/* pasek zdjęć */
.strip { display: grid; gap: 12px; }
.strip-5 { grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: repeat(2, clamp(200px, 20vw, 280px)); }
.strip-5 .ph { min-height: 0; }
.strip-5 .ph:first-child { grid-row: span 2; }
.strip-3 { grid-template-columns: repeat(3, 1fr); }
.strip-3 .ph { aspect-ratio: 3 / 4; }
@media (max-width: 760px) {
  .strip-5 { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .strip-5 .ph { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 1; }
  .strip-5 .ph:first-child { grid-column: span 2 !important; aspect-ratio: 4 / 3; }
  .strip-3 { grid-template-columns: 1fr 1fr; }
  .strip-3 .ph:first-child { grid-column: span 2; aspect-ratio: 4 / 3; }
}

/* CTA */
.cta { background: var(--night-2); color: var(--cream); position: relative; overflow: hidden; isolation: isolate; }
.cta::before { content: ''; position: absolute; z-index: -1; right: -10%; top: -40%; width: 70%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(242, 140, 60, .16), transparent); }
.cta-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px 80px; align-items: center; }
.cta p { margin-top: 18px; color: var(--cream-2); font-size: 1.25rem; max-width: 28em; }
.cta-acts { display: grid; gap: 14px; justify-items: start; }
.cta-tel { display: inline-flex; align-items: center; gap: 14px; font: 500 clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem)/1 var(--serif); color: var(--ember); text-decoration: none; }
.cta-tel .i { width: .8em; height: .8em; }
.cta-mail { display: inline-flex; align-items: center; gap: 10px; font-size: 1.25rem; text-decoration: none; color: var(--cream); margin-bottom: 10px; }
.cta-tel:hover, .cta-mail:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
@media (max-width: 860px) { .cta-in { grid-template-columns: 1fr; } }

/* ---------- podstrony ---------- */
.phero { background: var(--night); color: var(--cream); padding: 132px 0 clamp(56px, 7vw, 96px); position: relative; overflow: hidden; isolation: isolate; }
.phero::before { content: ''; position: absolute; z-index: -1; left: -10%; bottom: -50%; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(242, 140, 60, .12), transparent); }
.phero-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.phero-flat .phero-in { grid-template-columns: minmax(0, 760px); }
.phero h1 { font-size: clamp(2.7rem, 1.6rem + 4.4vw, 4.8rem); }
.phero-sub { margin-top: 14px; font: 500 clamp(1.3rem, 1.15rem + .6vw, 1.6rem)/1.3 var(--serif); color: var(--ember); }
.phero-lead { margin-top: 22px; font-size: 1.25rem; color: var(--cream-2); max-width: 32em; }
.phero .cta-row { margin-top: 32px; }
.phero-pic { margin: 0; position: relative; }
.phero-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.phero-pic figcaption { margin-top: 10px; font-size: .9375rem; color: var(--cream-2); text-align: right; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 1rem; color: var(--cream-2); margin-bottom: 22px; }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ember); }
@media (prefers-reduced-motion: no-preference) {
  .phero-txt > * { animation: rise .8s var(--ease) both; }
  .phero-txt > :nth-child(2) { animation-delay: .06s; }
  .phero-txt > :nth-child(3) { animation-delay: .12s; }
  .phero-txt > :nth-child(4) { animation-delay: .18s; }
  .phero-txt > :nth-child(5) { animation-delay: .24s; }
  .phero-pic { animation: rise 1s .1s var(--ease) both; }
}
@media (max-width: 860px) {
  .phero { padding-top: 100px; }
  .phero-in { grid-template-columns: 1fr; }
}

/* fakty na jasnym tle */
.facts-sec { padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); }
.paper .facts { border-top: 0; }
.paper .facts .fi { color: var(--red); }
.paper .facts span { color: var(--ink-2); }
.paper .facts li { padding-top: 0; }
@media (max-width: 900px) { .paper .facts li:nth-child(n+3) { border-top-color: var(--line); padding-top: 18px; } }

/* EduEko */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split h2 { margin-bottom: 36px; }
.points { list-style: none; display: grid; gap: 28px; }
.points li { display: flex; gap: 18px; }
.points .fi { width: 36px; height: 36px; color: var(--red); margin-top: 2px; }
.points h3 { font-size: 1.5rem; margin-bottom: 6px; }
.points p { color: var(--ink-2); }
.split-pic { margin: 0; }
.split-pic .ph { aspect-ratio: 3 / 4; }
.split-pic figcaption { margin-top: 10px; font-size: 1rem; color: var(--ink-2); }
.combo-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-d); }
.combo-list li { display: flex; align-items: center; gap: 16px; padding: 26px 24px 0 0; font: 500 1.5rem/1.2 var(--serif); }
.combo-list .fi { width: 40px; height: 40px; color: var(--ember); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-pic .ph { aspect-ratio: 4 / 3; }
  .combo-list { grid-template-columns: 1fr; }
  .combo-list li { padding: 20px 0; border-bottom: 1px solid var(--line-d); }
}

/* warsztaty */
.ws-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.ws-grid.flip > :first-child { order: 2; }
.ws-grid h2 { margin-bottom: 28px; }
.ws { list-style: none; border-top: 1px solid var(--line); }
.ws li { display: grid; grid-template-columns: auto 1fr auto; gap: 6px 18px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.ws .fi { width: 34px; height: 34px; color: var(--red); margin-top: 2px; }
.ws h3 { font-size: 1.5rem; }
.ws p { margin-top: 6px; color: var(--ink-2); }
.ws-h { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-weight: 700; color: var(--ink); background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 1rem; margin-top: 4px; }
.paper-2 .ws-h { background: var(--paper); }
.ws-h .i { width: 1em; height: 1em; color: var(--red); }
.ws-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ws-pics .ph:first-child { grid-row: span 2; }
.ws-pics .ph { aspect-ratio: 3 / 4; }
.ws-pics .ph:first-child { aspect-ratio: auto; }
@media (max-width: 860px) {
  .ws-grid { grid-template-columns: 1fr; }
  .ws-grid.flip > :first-child { order: 0; }
}
@media (max-width: 480px) {
  .ws li { grid-template-columns: auto 1fr; }
  .ws-h { grid-column: 2; justify-self: start; margin-top: 8px; }
}

/* galeria */
.gal-sec { padding-top: clamp(40px, 5vw, 64px); }
.gfilter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.gfilter button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; cursor: pointer; font-weight: 500; transition: background .2s, border-color .2s, color .2s; }
.gfilter button:hover { border-color: var(--ink-2); }
.gfilter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.gal { columns: 3 280px; column-gap: 14px; }
.gal .ph { break-inside: avoid; margin-bottom: 14px; }
.gal .ph img { height: auto; }
.gal .ph[hidden] { display: none; }
.gal-fb { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.gal-fb a { display: inline-flex; align-items: center; gap: 8px; color: var(--red-d); font-weight: 700; text-decoration: none; }
.gal-fb a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* kontakt */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.c-tel a { display: inline-flex; align-items: center; gap: 14px; font: 500 clamp(2.3rem, 1.7rem + 2.4vw, 3.4rem)/1 var(--serif); color: var(--red-d); text-decoration: none; }
.c-tel .i { width: .75em; height: .75em; }
.c-dl { margin: 32px 0 0; border-top: 1px solid var(--line); }
.c-dl div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.c-dl dt { display: flex; align-items: center; gap: 10px; color: var(--ink-2); align-self: start; }
.c-dl dt .i { color: var(--red); }
.c-dl dd { margin: 0; }
.c-dl dd a { color: var(--ink); text-underline-offset: 3px; }
.c-dl dd a.link-red { color: var(--red-d); text-decoration: none; margin-top: 4px; }
.c-dl .ext { width: 1em; height: 1em; }
.contact .g-rate { color: var(--ink-2); }
.contact .g-rate b { color: var(--ink); }
.contact .stars { color: #D9921F; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: clamp(24px, 4vw, 44px); display: grid; gap: 20px; }
.form h2 { font-size: clamp(1.8rem, 1.5rem + 1vw, 2.3rem); }
.kinds { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kinds legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; transition: background .2s, border-color .2s, color .2s; }
.chip input:hover + span { border-color: var(--ink-2); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: grid; gap: 6px; }
.fld > span:first-child { font-weight: 700; font-size: 1.0625rem; }
.fld input, .fld textarea { width: 100%; font: inherit; font-size: 1.0625rem; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r); padding: 12px 14px; min-height: 50px; transition: border-color .2s, background .2s; }
.fld textarea { resize: vertical; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.fld input[aria-invalid="true"] { border-color: var(--red); }
.req { color: var(--red); }
.err { color: var(--red-d); font-size: .9375rem; font-weight: 500; }
.kinds .err { width: 100%; margin-top: 4px; }
.form .btn { justify-self: start; }
.form-note { font-size: .9375rem; color: var(--ink-2); }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .f2 { grid-template-columns: 1fr; }
  .c-dl div { grid-template-columns: 1fr; gap: 4px; }
  .form .btn { justify-self: stretch; justify-content: center; }
}
.faq-w { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px 96px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; font: 500 1.4rem/1.25 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { width: 22px; height: 22px; color: var(--red); transition: transform .3s var(--ease); }
.faq details[open] .plus { transform: rotate(45deg); }
.faq p { padding: 0 40px 24px 0; color: var(--ink-2); }
@media (max-width: 860px) { .faq-w { grid-template-columns: 1fr; } }
.map iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.4) sepia(.15); }

/* 404 */
.nf { min-height: 80vh; display: flex; align-items: center; }

/* ---------- stopka ---------- */
.foot { background: var(--night); color: var(--cream-2); padding: 72px 0 28px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr .8fr 1.1fr; gap: 40px; }
.foot-logo { width: 220px; height: auto; margin-bottom: 20px; }
.foot-brand p { max-width: 26em; font-size: 1.0625rem; }
.foot h2 { font: 700 1rem/1.3 var(--sans); color: var(--cream); margin-bottom: 14px; }
.foot-col p + p { margin-top: 12px; }
.foot-col ul { list-style: none; display: grid; gap: 8px; }
.foot a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.foot a:hover { color: var(--ember); }
.foot-bot { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-d); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; font-size: .9375rem; }
@media (max-width: 900px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: span 2; } }
@media (max-width: 520px) { .foot-in { grid-template-columns: 1fr; } .foot-brand { grid-column: auto; } }

/* ---------- lightbox ---------- */
.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 6, 5, .95); color: var(--cream); }
.lb::backdrop { background: transparent; }
.lb figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 72px 24px; gap: 14px; }
.lb img { max-width: 100%; max-height: calc(100dvh - 140px); width: auto; height: auto; object-fit: contain; border-radius: 2px; }
.lb figcaption { text-align: center; color: var(--cream-2); font-size: 1rem; max-width: 60ch; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-d); background: rgba(23, 11, 9, .7); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-btn:hover { border-color: var(--ember); color: var(--ember); }
.lb-btn .i { width: 24px; height: 24px; }
.lb-x { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; translate: 0 -50%; }
.lb-next { right: 14px; top: 50%; translate: 0 -50%; }
.lb-nav[hidden] { display: none; }
@media (max-width: 640px) {
  .lb figure { padding: 64px 12px 84px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; translate: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media (max-width: 520px) {
  .cta-row .btn { flex: 1 1 100%; justify-content: center; }
  .facts b { font-size: 1.25rem; }
}
