:root {
  --paper: #faf5e9;
  --paper-2: #f1e6cd;
  --paper-3: #e8dabb;
  --card: #fffdf6;
  --line: rgba(43, 32, 20, 0.14);
  --brick: #a8412f;
  --brick-deep: #7c2e22;
  --brick-bright: #bd4631;
  --gold: #a9761f;
  --gold-soft: #d0a259;
  --gold-deep: #7d5414;
  --teal: #355c54;
  --parchment: #fffdf6;
  --parchment-2: #ece0c7;
  --ink: #2a2117;
  --ivory: #fdf8ee;
  --ink-text: #2a2117;
  --muted: rgba(43, 32, 20, 0.62);
  --shadow: 0 30px 50px -28px rgba(60, 40, 20, 0.28);
  --radius: 6px;
  --ff-display: 'Fraunces', serif;
  --ff-body: 'Inter', sans-serif;
  --ff-mono: 'Space Mono', monospace;
  --ease: cubic-bezier(.16, .84, .44, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--ff-display);
  font-weight: 500;
  margin: 0;
  color: var(--ink);
}

p {
  margin: 0 0 1.1em;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}

.eyebrow {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--gold-soft);
  display: inline-block;
}

/* ---------- gothic arch clip path (signature motif) ---------- */
svg.defs {
  position: absolute;
  width: 0;
  height: 0;
}

.frame {
  position: relative;
  clip-path: url(#archClip);
  -webkit-clip-path: url(#archClip);
  overflow: hidden;
  background: linear-gradient(155deg, var(--brick-bright) 0%, var(--brick) 55%, var(--gold-deep) 100%);
}

.frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame .frame-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(246, 241, 230, 0.5);
}

.frame .frame-fallback svg {
  width: 34%;
  height: 34%;
  opacity: .8;
}

.frame .frame-tag {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  letter-spacing: .04em;
  color: rgba(246, 241, 230, 0.55);
  padding: 6px 10px 16px;
  text-align: center;
  pointer-events: none;
}

/* arch skyline divider */
.skyline {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 38px 0;
  opacity: .55;
}

.skyline span {
  width: 18px;
  height: 30px;
  clip-path: url(#archClipSmall);
  background: var(--gold);
}

.skyline span:nth-child(2n) {
  height: 42px;
  background: var(--brick-bright);
}

.skyline span:nth-child(3n) {
  height: 24px;
  background: var(--teal);
}

/* =================== HEADER / NAV =================== */
header.site {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2147483647 !important;
  padding: 22px 0;
  transition: padding .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}

header.site.scrolled {
  padding: 12px 0;
  background: rgba(250, 245, 233, 0.92);
  backdrop-filter: blur(10px);
  border-color: var(--line);
  box-shadow: 0 8px 24px -16px rgba(60, 40, 20, 0.25);
}

header.site .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-display);
}

.brand .mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  position: relative;
  flex: none;
}

.brand .mark::before {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 12px 1px var(--gold-soft);
}

.brand .word {
  font-size: 1.18rem;
  letter-spacing: .01em;
  line-height: 1;
}

.brand .word small {
  display: block;
  font-family: var(--ff-mono);
  font-size: .6rem;
  letter-spacing: .18em;
  color: var(--muted);
  margin-top: 4px;
  text-transform: uppercase;
}

nav.primary {
  display: flex;
  align-items: center;
  gap: 2px;
}

nav.primary>ul {
  display: flex;
  align-items: center;
  gap: 2px;
}

nav.primary>ul>li {
  position: relative;
}

nav.primary>ul>li>a,
nav.primary>ul>li>button {
  font-family: var(--ff-body);
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  transition: background .2s var(--ease), color .2s var(--ease);
}

nav.primary>ul>li>a:hover,
nav.primary>ul>li>button:hover,
nav.primary>ul>li.open>button {
  background: rgba(168, 65, 47, 0.08);
  color: var(--brick);
}

nav.primary svg.chev {
  width: 10px;
  height: 10px;
  transition: transform .25s var(--ease);
}

nav.primary li.open svg.chev {
  transform: rotate(180deg);
}

.cta-call {
  font-family: var(--ff-mono);
  font-size: .74rem;
  letter-spacing: .05em;
  color: var(--ink);
  background: var(--gold-soft);
  padding: 10px 16px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .2s var(--ease), transform .2s var(--ease);
}

.cta-call:hover {
  background: var(--ivory);
  transform: translateY(-1px);
}

/* mega menu */
.mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, 8px);
  width: min(880px, 86vw);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 28px;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 28px;
  opacity: 0;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}

nav.primary li.open .mega {
  display: grid;
  opacity: 1;
  transform: translate(-50%, 0);
}

.mega .col h4 {
  font-family: var(--ff-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 12px;
  font-weight: 700;
}

.mega .col ul li {
  margin-bottom: 7px;
}

.mega .col ul li a {
  font-size: .88rem;
  color: var(--muted);
  transition: color .15s var(--ease), padding-left .15s var(--ease);
  display: block;
}

.mega .col ul li a:hover {
  color: var(--brick);
  padding-left: 3px;
}

.mega.two-col {
  grid-template-columns: repeat(2, 1fr);
  width: min(460px, 86vw);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 1.5px;
  background: var(--ink);
  margin: 4px 0;
  transition: transform .25s, opacity .25s;
}

header.open .menu-toggle span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

header.open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

header.open .menu-toggle span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* =================== HERO =================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: 90px;
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(43, 32, 20, 0.07) 1px, transparent 1.5px),
    radial-gradient(140% 95% at 50% -10%, var(--paper-2) 0%, var(--paper) 62%);
  background-size: 24px 24px, 100% 100%;
  background-position: 0 0, 0 0;
  border-bottom: 1px solid var(--line);
}

.constellation {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at 25% 65%, transparent 10%, black 50%);
  mask-image: radial-gradient(ellipse at 25% 65%, transparent 10%, black 50%);
}

.constellation .links {
  stroke: var(--brick);
  stroke-width: 0.7;
  opacity: .32;
  fill: none;
}

.constellation .node circle {
  fill: var(--gold-deep);
}

.constellation .node circle.big {
  fill: var(--brick-bright);
}

.constellation .node text {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .06em;
  fill: rgba(43, 32, 20, 0.6);
  text-transform: uppercase;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content .container {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.hero-eyebrow {
  font-family: var(--ff-mono);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  display: flex;
  gap: 10px 18px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.hero-eyebrow span {
  opacity: .7;
}

h1.hero-title {
  font-size: clamp(1.8rem, 4.8vw, 3.4rem);
  font-weight: 400;
  line-height: 1.2;
  max-width: 26ch;
  letter-spacing: -0.01em;
  text-shadow:
    0 0 15px var(--paper),
    0 0 30px var(--paper),
    0 0 45px var(--paper);
}

h1.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--brick);
}

.hero-sub {
  max-width: 46ch;
  font-size: 1.08rem;
  color: var(--muted);
  margin: 0;
  text-shadow:
    0 0 8px var(--paper),
    0 0 16px var(--paper);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.btn {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: .92rem;
  padding: 14px 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--brick-bright);
  color: var(--ivory);
}

.btn-primary:hover {
  background: var(--brick);
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--brick);
  color: var(--brick);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 2;
}

.scroll-cue .line {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--brick), transparent);
  animation: dropline 1.8s var(--ease) infinite;
}

@keyframes dropline {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  50.01% {
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* =================== REVEAL =================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* =================== INTRO =================== */
.intro {
  padding: 110px 0 30px;
  position: relative;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 64px;
  align-items: start;
}

.intro h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.18;
  margin-bottom: 22px;
  font-weight: 400;
}

.intro h2 em {
  color: var(--gold-soft);
  font-style: italic;
}

.intro p {
  color: var(--muted);
  font-size: 1.04rem;
}

.intro p strong {
  color: var(--ink);
  font-weight: 600;
}

.intro-note {
  border-left: 1px solid var(--line);
  padding-left: 26px;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold-soft);
  line-height: 1.5;
  align-self: start;
  position: sticky;
  top: 130px;
}

.intro-note span {
  display: block;
  margin-top: 14px;
  font-family: var(--ff-mono);
  font-style: normal;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =================== STATS STRIP =================== */
.container .stats {
  margin: 70px 0;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats .stat {
  padding: 0 24px;
  border-left: 1px solid var(--line);
}

.stats .stat:first-child {
  border-left: none;
  padding-left: 0;
}

.stats .stat .num {
  font-family: var(--ff-mono);
  font-size: 1.7rem;
  color: var(--gold-soft);
}

.stats .stat .lbl {
  font-family: var(--ff-mono);
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

/* =================== SECTION HEADS =================== */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 46px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 400;
  max-width: 18ch;
}

.section-head h2 em {
  font-style: italic;
  color: var(--gold-soft);
}

.section-head .more {
  font-family: var(--ff-mono);
  font-size: .76rem;
  letter-spacing: .06em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 6px;
  white-space: nowrap;
}

.section-head .more:hover {
  color: var(--gold-soft);
}

/* =================== HUB GRID =================== */
.hub {
  padding: 70px 0 110px;
  background: var(--paper-2);
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--brick);
  background: var(--paper-2);
  box-shadow: var(--shadow);
}

.card .frame {
  width: 64px;
  height: 78px;
  flex: none;
}

.card .frame .frame-fallback svg {
  width: 46%;
  height: 46%;
}

.card h3 {
  font-size: 1.18rem;
  font-weight: 500;
}

.card p {
  color: var(--muted);
  font-size: .92rem;
  margin: 0;
  flex: 1;
}

.card .go {
  font-family: var(--ff-mono);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-soft);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.card .go svg {
  width: 12px;
  height: 12px;
  transition: transform .25s var(--ease);
}

.card:hover .go svg {
  transform: translateX(4px);
}

.hub-grid .card.wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: flex-start;
}

.hub-grid .card.wide .frame {
  width: 96px;
  height: 118px;
}

/* =================== ZABYTKI GALLERY =================== */
.gallery-wrap {
  padding: 30px 0 110px;
}

.gallery {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 10px 0 26px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.gallery::-webkit-scrollbar {
  height: 6px;
}

.gallery::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 6px;
}

.gallery .g-card {
  flex: none;
  width: 248px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gallery .g-card .frame {
  width: 100%;
  height: 300px;
}

.gallery .g-card h4 {
  font-size: 1.02rem;
  font-weight: 500;
}

.gallery .g-card .tag {
  font-family: var(--ff-mono);
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =================== PERSONAL NOTE =================== */
.note {
  padding: 30px 0 110px;
}

.note-card {
  background: var(--parchment);
  color: var(--ink-text);
  border-radius: 18px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: center;
  box-shadow: var(--shadow);
}

.note .frame {
  width: 100%;
  aspect-ratio: 3/3.6;
  background: linear-gradient(155deg, #d8c79e, #bfa56e);
}

.note .frame .frame-fallback {
  color: rgba(42, 33, 23, 0.45);
}

.note .eyebrow {
  color: var(--brick-deep);
}

.note .eyebrow::before {
  background: var(--brick-deep);
}

.note h2 {
  color: var(--ink-text);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 400;
  margin-bottom: 18px;
}

.note h2 em {
  font-style: italic;
  color: var(--brick-deep);
}

.note p {
  color: rgba(42, 33, 23, 0.78);
  font-size: 1.02rem;
}

.note .sig {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--brick-deep);
  margin-top: 8px;
}

/* =================== FAQ (NOWA SEKCJA) =================== */
.faq-wrap {
  padding: 40px 0 90px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 26px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.faq-item:hover {
  border-color: var(--brick);
  box-shadow: 0 8px 24px -12px rgba(60, 40, 20, 0.15);
}

.faq-item details>summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item details>summary::-webkit-details-marker {
  display: none;
}

.faq-item details>summary::after {
  content: '+';
  font-family: var(--ff-mono);
  color: var(--brick);
  font-size: 1.6rem;
  transition: transform .3s var(--ease);
  line-height: 1;
  margin-left: 16px;
  flex-shrink: 0;
}

.faq-item details[open]>summary::after {
  transform: rotate(45deg);
}

.faq-item details p {
  margin-top: 16px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item details p strong {
  color: var(--ink);
}

/* =================== PLAN VISIT =================== */
.plan {
  padding: 80px 0 120px;
  background: var(--paper-2);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.plan-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}

.plan-card:hover {
  border-color: var(--teal);
  background: rgba(60, 106, 97, 0.12);
}

.plan-card svg {
  width: 26px;
  height: 26px;
  color: var(--gold-soft);
}

.plan-card h4 {
  font-size: 1rem;
  font-weight: 500;
}

.plan-card span {
  font-family: var(--ff-mono);
  font-size: .78rem;
  color: var(--muted);
}

/* =================== FOOTER =================== */
footer.site {
  background: var(--paper-3);
  border-top: 2px solid var(--brick);
  padding: 80px 0 30px;
}

.foot-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 60px;
}

.foot-brand .word {
  font-family: var(--ff-display);
  font-size: 1.3rem;
}

.foot-brand p {
  color: var(--muted);
  font-size: .9rem;
  max-width: 32ch;
  margin-top: 14px;
}

footer h5 {
  font-family: var(--ff-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brick-deep);
  margin-bottom: 16px;
  font-weight: 700;
}

footer .foot-col ul li {
  margin-bottom: 10px;
}

footer .foot-col ul li a {
  color: var(--muted);
  font-size: .88rem;
  transition: color .15s;
}

footer .foot-col ul li a:hover {
  color: var(--ink);
}

.foot-bottom {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--ff-mono);
  font-size: .72rem;
  color: var(--muted);
}

/* =================== RESPONSIVE =================== */
@media (max-width:1080px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .intro-note {
    position: static;
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 20px;
  }

  .hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hub-grid .card.wide {
    grid-column: span 2;
    flex-direction: column;
  }

  .container .stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 24px;
  }

  .stats .stat:nth-child(3) {
    border-left: none;
  }

  .note-card {
    grid-template-columns: 1fr;
    padding: 40px;
  }

  .note .frame {
    max-width: 220px;
  }

  .plan-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .foot-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:860px) {

  .hero-content {
    padding-top: 110px;
  }

  nav.primary {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .cta-call {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .cta-call {
    display: none;
  }

  header.site.open {
    backdrop-filter: none !important;
    background: var(--paper) !important;
  }

  header.site.open nav.primary {
    display: block;
    position: fixed;
    inset: 0;
    top: 58px;
    background: var(--paper);
    padding: 20px 24px;
    overflow-y: auto;
  }

  header.site.open nav.primary>ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  header.site.open nav.primary>ul>li>a,
  header.site.open nav.primary>ul>li>button {
    width: 100%;
    justify-content: space-between;
    padding: 16px 6px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .mega {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    border: none;
    background: none;
    padding: 6px 0 6px 14px;
    grid-template-columns: 1fr 1fr;
    display: none;
  }

  nav.primary li.open .mega {
    display: grid;
  }

  .mega.two-col {
    width: 100%;
  }

  .hub-grid {
    grid-template-columns: 1fr;
  }

  .hub-grid .card,
  .hub-grid .card.wide {
    grid-column: span 1;
    flex-direction: row;
    align-items: center;
    padding: 16px;
    gap: 18px;
  }

  .hub-grid .card .frame,
  .hub-grid .card.wide .frame {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
  }

  .hub-grid .card p {
    display: none;
  }

  .plan-grid {
    grid-template-columns: 1fr 1fr;
  }

  .container .stats {
    grid-template-columns: 1fr 1fr;
  }

  .foot-top {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .gallery .g-card {
    width: 200px;
  }

  .gallery .g-card .frame {
    height: 240px;
  }
}

/* Przycisk powrotu na górę strony */
#backToTop {
  position: fixed;
  right: 24px;
  bottom: 115px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brick);
  color: var(--ivory);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2147483646;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s, background 0.2s var(--ease);
  box-shadow: 0 4px 12px rgba(60, 40, 20, 0.25);
}

#backToTop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop:hover {
  background: var(--brick-deep);
}

@media (max-width: 860px) {
  #backToTop {
    right: 16px;
    bottom: 100px;
    width: 42px;
    height: 42px;
  }

  .train-layout {
    grid-template-columns: 1fr !important;
    /* Na komórce rezygnujemy z dwóch kolumn */
    gap: 28px !important;
  }

}

/* ============================================================
   SZABLON PODSTRONY / ARTYKUŁU (np. dojazd, noclegi...)
   Te same tokeny co strona główna — rozbudowane o komponenty
   potrzebne do długich, praktycznych treści przewodnika.
   ============================================================ */

/* ---------- breadcrumb ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--ff-mono);
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}

.breadcrumb a {
  color: var(--muted);
  transition: color .15s var(--ease);
}

.breadcrumb a:hover {
  color: var(--brick);
}

.breadcrumb .sep {
  opacity: .5;
}

.breadcrumb .current {
  color: var(--brick-deep);
  font-weight: 700;
}

/* ---------- page hero (lekka wersja hero dla podstron) ---------- */
.page-hero {
  padding: 168px 0 64px;
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(43, 32, 20, 0.06) 1px, transparent 1.5px),
    radial-gradient(140% 90% at 50% -10%, var(--paper-2) 0%, var(--paper) 70%);
  background-size: 24px 24px, 100% 100%;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.page-hero h1.hero-title {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  max-width: 24ch;
}

.page-hero .hero-sub {
  max-width: 62ch;
}

/* ---------- układ artykułu: treść + sticky spis treści ---------- */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 60px;
  align-items: start;
  padding-top: 64px;
  padding-bottom: 30px;
}

.article-main {
  min-width: 0;
}

.article-main .postby {
  font-family: var(--ff-mono);
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 40px;
}

.article-main .postby a {
  color: var(--brick);
}

.article-main>p.lead {
  font-size: 1.08rem;
  color: var(--ink);
  max-width: 72ch;
}

.article-main p {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 72ch;
}

.article-main p strong {
  color: var(--ink);
  font-weight: 600;
}

.article-main h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 500;
  margin: 58px 0 18px;
  scroll-margin-top: 120px;
}

.article-main h2:first-of-type {
  margin-top: 0;
}

.article-main ul.styled-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 18px 0 28px;
  padding: 0;
  max-width: 72ch;
}

.article-main ul.styled-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.55;
}

.article-main ul.styled-list li::before {
  content: '';
  position: absolute;
  left: 1px;
  top: .5em;
  width: 7px;
  height: 7px;
  background: var(--brick);
  transform: rotate(45deg);
}

.article-main ul.styled-list li strong {
  color: var(--ink);
  font-weight: 600;
}

.article-main ul.styled-list ul {
  margin: 10px 0 0;
  padding-left: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-main ul.styled-list ul li::before {
  background: var(--gold-soft);
  width: 5px;
  height: 5px;
}

/* ---------- spis treści (sticky) ---------- */
.toc-card {
  position: sticky;
  top: 130px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 26px;
}

.toc-card h3 {
  font-family: var(--ff-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brick-deep);
  font-weight: 700;
  margin-bottom: 18px;
}

.toc-card ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
  counter-reset: toc;
}

.toc-card ol li {
  counter-increment: toc;
}

.toc-card a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: .9rem;
  color: var(--muted);
  transition: color .15s var(--ease), padding-left .15s var(--ease);
}

.toc-card a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--ff-mono);
  font-size: .72rem;
  color: var(--gold-soft);
  flex: none;
}

.toc-card a:hover,
.toc-card a.active {
  color: var(--brick);
  padding-left: 3px;
}

.toc-card a.active::before {
  color: var(--brick);
}

/* ---------- siatka "którym środkiem transportu?" (reużywa .plan-grid/.plan-card) ---------- */
.mode-grid {
  margin: 30px 0 50px;
}

/* ---------- karty dworców / stacji (siatka 3-kolumnowa — użyj z .station-card) ---------- */
.station-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 22px 0 40px;
}

/* Pełna definicja .station-card (baza + warianty + badge) znajduje się
   niżej, w sekcji „Nowoczesny układ sekcji kolejowej” — jest współdzielona
   przez siatkę .station-grid i układ .station-container. */

/* ---------- plakietki tras / odległości ---------- */
.route-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 40px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--ff-mono);
  font-size: .8rem;
  background: var(--card);
  color: var(--ink);
}

.pill strong {
  color: var(--brick);
  font-weight: 700;
}

.pill.pill-deep {
  border-color: var(--brick);
  background: rgba(168, 65, 47, 0.07);
}

/* ---------- wyróżniony box (np. Park & Ride) ---------- */
.callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  background: var(--parchment-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brick);
  border-radius: 14px;
  padding: 32px 34px;
  margin: 24px 0 46px;
}

.callout .icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brick);
  flex: none;
}

.callout .icon svg {
  width: 22px;
  height: 22px;
}

.callout h3 {
  font-size: 1.22rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.callout .btn {
  margin-top: 8px;
}

/* =================== RESPONSIVE: SZABLON PODSTRONY =================== */
@media (max-width:1080px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .toc-card {
    display: none;
  }

  .station-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:860px) {
  .page-hero {
    padding: 140px 0 50px;
  }
}

@media (max-width:680px) {
  .station-grid {
    grid-template-columns: 1fr;
  }

  .callout {
    grid-template-columns: 1fr;
  }

  .article-layout {
    padding-top: 44px;
    padding-bottom: 10px;
  }
}

.station-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}

.station-card:hover {
  border-color: var(--gold-soft);
  transform: translateX(4px);
}

.station-card svg {
  width: 24px;
  height: 24px;
  color: var(--gold-soft);
}

.station-card h4 {
  font-size: 1.04rem;
  font-weight: 500;
}

.station-card .badge {
  margin-bottom: 6px;
}

.station-card p {
  font-size: .95rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: none;
}

.station-card p:not(:first-of-type) {
  margin-top: 8px;
}

.station-card.is-secondary .badge {
  background: rgba(53, 92, 84, 0.12);
  color: var(--teal);
}

.station-card.is-recommended {
  border-color: var(--brick);
}

.station-card.is-recommended h4 {
  color: var(--brick);
}

.station-card.is-hub {
  margin-bottom: 34px;
  border-color: var(--teal);
}

/* ikona wewnątrz karty stacji/dworca — kolor zależny od kontekstu */
.station-icon {
  padding-top: 4px;
}

.station-icon.c-gold { color: var(--gold-soft); }
.station-icon.c-brick { color: var(--brick); }
.station-icon.c-teal { color: var(--teal); }

/* wiersz plakietek nad tytułem karty */
.badge-row,
.badge-wrapper {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.station-info { min-width: 0; }

/* ---------- uniwersalna plakietka (badge) — używana w kartach stacji, lotnisk, przewoźników ---------- */
.badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  font-family: var(--ff-mono);
  font-size: .64rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
  background: rgba(168, 65, 47, 0.1);
  color: var(--brick-deep);
}

.badge-sm {
  font-size: .6rem;
  padding: 3px 8px;
}

.badge-teal { background: rgba(53, 92, 84, 0.1); color: var(--teal); }
.badge-brick { background: rgba(168, 65, 47, 0.1); color: var(--brick); }
.badge-gold { background: rgba(169, 118, 31, 0.1); color: var(--gold); }
.badge-ink { background: rgba(43, 32, 20, 0.08); color: var(--ink); }

/* ---------- małe kolorowe utility na kolor tekstu (nagłówki kart) ---------- */
.c-brick { color: var(--brick); }
.c-teal { color: var(--teal); }
.c-gold { color: var(--gold); }
.c-gold-deep { color: var(--gold-deep); }
.c-ink { color: var(--ink); }

/* ---------- ozdobny znacznik listy (checkmark / punktor) ---------- */
.bullet {
  position: absolute;
  left: 0;
}

/* ---------- wspólny nagłówek + lead dla podsekcji artykułu (pociąg/samolot/bus/auto) ---------- */
.article-main .section-head {
  margin-bottom: 22px;
}

.article-main .section-head h2 {
  max-width: none;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 500;
  margin: 0;
}

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 30px;
  max-width: 72ch;
}

.section-subhead {
  font-size: 1.2rem;
  margin: 36px 0 18px;
  font-family: var(--ff-display);
  font-weight: 500;
}

/* ---------- kontener podsekcji (węższy niż pełen artykuł) ---------- */
.train-section { padding: 20px 0 46px; }
.flight-section, .bus-section, .car-section { padding: 46px 0 40px; }

.flight-section .container { max-width: 960px; margin: 0 auto; }
.bus-section .container, .car-section .container { max-width: 860px; margin: 0 auto; }

/* ---------- karty lotnisk ---------- */
.airport-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.airport-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color .25s var(--ease);
}

.airport-card:hover { border-color: var(--brick); }

.airport-card .top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.airport-card .km {
  font-family: var(--ff-mono);
  font-size: .85rem;
  color: var(--muted);
}

.airport-card h4 { font-size: 1.2rem; margin-bottom: 8px; }
.airport-card h4 a { color: var(--ink); text-decoration: none; }
.airport-card h4 a:hover { color: var(--brick); }

.airport-card p {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.airport-card .transfer {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-size: .9rem;
  color: var(--ink);
}

/* ---------- karty przewoźników autobusowych ---------- */
.carriers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.carrier-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.carrier-card.c-brick-top { border-top-color: var(--brick); }
.carrier-card.c-gold-top { border-top-color: var(--gold); }

.carrier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.carrier-name {
  font-family: var(--ff-mono);
  font-weight: 700;
  color: var(--ink);
  font-size: 1.1rem;
}

.carrier-card p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.carrier-list {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  font-size: .88rem;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.carrier-list li { position: relative; padding-left: 16px; }

.carrier-tip {
  font-family: var(--ff-mono);
  font-size: .75rem;
  padding: 8px 12px;
  border-radius: 6px;
  text-align: center;
}

.carrier-tip.c-teal { color: var(--teal); background: rgba(53, 92, 84, 0.05); }
.carrier-tip.c-brick { color: var(--brick); background: rgba(168, 65, 47, 0.05); }
.carrier-tip.c-gold { color: var(--gold-deep); background: rgba(169, 118, 31, 0.07); }

/* ---------- karty kierunków dojazdu samochodem ---------- */
.directions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.direction-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}

.direction-card h4 { font-size: 1.1rem; margin-bottom: 8px; }

.direction-card p {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ---------- drobne dopracowanie callout (Park&Ride / sekret mieszkańca) ---------- */
.callout p {
  color: rgba(42, 33, 23, 0.78);
  font-size: .95rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.callout p:last-of-type { margin-bottom: 0; }

.callout .styled-list { margin: 0; }
.callout .styled-list li { padding-left: 20px; }
.callout .styled-list li::before { display: none; }

.faq-wrap.compact { padding: 30px 0 0; }
.faq-wrap h2 { margin: 40px 0 24px; }

/* ---------- podpis pod zdjęciem w sekcji kolejowej ---------- */
.train-media .caption {
  display: block;
  margin-top: 14px;
  font-family: var(--ff-mono);
  font-size: .76rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Nowoczesny układ sekcji kolejowej */
.train-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
  margin-top: 30px;
}

.train-media .frame {
  height: 480px;
  box-shadow: var(--shadow);
}

.train-media img {
  transition: transform 0.6s var(--ease);
}

.train-media:hover .frame img {
  transform: scale(1.03);
}

.station-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 992px) {
  .train-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .train-media .frame {
    height: 300px;
  }
}
/* ============================================================
   RESPONSYWNOŚĆ MOBILNA — SZABLON PODSTRONY (dojazd i podobne)
   Naprawia: siatki kart szersze niż ekran (auto-fit + zbyt duży
   minmax powodował przewijanie w bok / "kominy" tekstu), zbyt
   wąski max-width nagłówków sekcji, zbyt duże odstępy i czcionki
   na wąskich ekranach.
   ============================================================ */
@media (max-width: 720px) {
  .train-section,
  .flight-section,
  .bus-section,
  .car-section {
    padding: 30px 0 34px;
  }

  .article-main .section-head { margin-bottom: 16px; }

  .section-lead {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 22px;
  }

  .section-subhead { margin: 28px 0 14px; font-size: 1.1rem; }

  .train-layout { margin-top: 20px; }

  .station-card {
    grid-template-columns: auto 1fr;
    padding: 18px;
    gap: 14px;
  }

  .station-card.is-hub { margin-bottom: 22px; }

  .airport-grid,
  .carriers-grid,
  .directions-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 26px;
  }

  .airport-card,
  .carrier-card,
  .direction-card {
    padding: 18px;
  }

  .route-pills { margin: 16px 0 26px; }

  .pill {
    font-size: .74rem;
    padding: 8px 13px;
  }

  .callout {
    padding: 22px 20px;
    margin: 18px 0 30px;
    gap: 16px;
  }

  .callout .icon {
    width: 40px;
    height: 40px;
  }

  .article-main h2 {
    margin: 40px 0 14px;
  }

  .article-main h2:first-of-type { margin-top: 0; }

  .article-main .lead,
  .article-main p {
    font-size: .98rem;
    line-height: 1.62;
  }

  .faq-wrap.compact { padding: 20px 0 0; }
  .faq-wrap h2 { margin: 30px 0 18px; font-size: 1.5rem; }

  .faq-item { padding: 16px 18px; }
  .faq-item details > summary { font-size: 1.02rem; }
}

@media (max-width: 480px) {
  .airport-card .top-row,
  .carrier-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .badge-row { margin-bottom: 6px; }
}
/* ---------- pozioma fotografia 16:9 z podpisem ---------- */
.photo-feature {
  margin: 0 0 40px;
}

.photo-feature__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--card);
  transition: border-color .3s var(--ease);
}

/* delikatny, trójkolorowy akcent na górnej krawędzi — cegła / złoto piernika / patyna */
.photo-feature__frame::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brick) 0%, var(--gold-soft) 50%, var(--teal) 100%);
  z-index: 2;
}

.photo-feature__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}

.photo-feature:hover .photo-feature__frame { border-color: var(--gold-soft); }
.photo-feature:hover .photo-feature__frame img { transform: scale(1.04); }

.photo-feature figcaption {
  margin-top: 12px;
  font-family: var(--ff-mono);
  font-size: .76rem;
  color: var(--muted);
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 720px) {
  .photo-feature { margin-bottom: 26px; }
  .photo-feature figcaption { font-size: .72rem; }
}

/* ============================================================
   SZABLON PODSTRONY — KOMPONENTY DODATKOWE (parkingi.php)
   Reużywa tokenów i klas z bloku "SZABLON PODSTRONY" powyżej
   (station-card, airport-card, carrier-card, direction-card,
   callout, pill) — tu tylko elementy specyficzne dla tematu
   parkingów: karty stref, tabela stawek, kalkulator kosztów.
   ============================================================ */

/* ---------- karty stref płatnego parkowania ---------- */
.zone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 22px 0 36px;
}

.zone-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brick);
  border-radius: 14px;
  padding: 24px;
}

.zone-card.c-gold-top { border-top-color: var(--gold); }
.zone-card.c-teal-top { border-top-color: var(--teal); }

.zone-card .zone-code {
  display: block;
  font-family: var(--ff-mono);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.zone-card h4 { font-size: 1.1rem; margin-bottom: 10px; }

.zone-card p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.zone-card .hours {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: .78rem;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.zone-card .hours svg { width: 15px; height: 15px; color: var(--gold-soft); flex: none; }

/* ---------- tabela stawek (przewijana na mobile) ---------- */
.table-scroll {
  overflow-x: auto;
  margin: 20px 0 34px;
  border: 1px solid var(--line);
  border-radius: 14px;
  -webkit-overflow-scrolling: touch;
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: .92rem;
}

.rate-table th,
.rate-table td {
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.rate-table thead th {
  background: var(--paper-2);
  font-family: var(--ff-mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--brick-deep);
  font-weight: 700;
  white-space: nowrap;
}

.rate-table tbody tr:last-child td { border-bottom: none; }
.rate-table tbody tr:nth-child(even) { background: rgba(43, 32, 20, .025); }

.rate-table tbody tr.is-total td {
  font-weight: 700;
  background: rgba(168, 65, 47, .06);
}

.rate-table td.num { font-family: var(--ff-mono); }

/* ---------- interaktywny kalkulator kosztów postoju ---------- */
.calc-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 32px;
  margin: 24px 0 40px;
}

.calc-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.calc-head label {
  font-family: var(--ff-mono);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}

.calc-head .calc-hours {
  font-family: var(--ff-display);
  font-size: 1.7rem;
  color: var(--brick);
  font-style: italic;
}

.calc-slider {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 999px;
  background: var(--paper-3);
  outline: none;
  margin: 16px 0 28px;
}

.calc-slider::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brick);
  border: 3px solid var(--card);
  box-shadow: 0 0 0 1px var(--brick);
  cursor: pointer;
}

.calc-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brick);
  border: 3px solid var(--card);
  box-shadow: 0 0 0 1px var(--brick);
  cursor: pointer;
}

.calc-rows { display: flex; flex-direction: column; gap: 16px; }

.calc-row {
  display: grid;
  grid-template-columns: 130px 1fr 92px;
  align-items: center;
  gap: 14px;
}

.calc-row .calc-label { font-size: .88rem; font-weight: 600; color: var(--ink); }

.calc-row .calc-track {
  background: var(--paper-2);
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.calc-row .calc-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--brick);
  transition: width .35s var(--ease);
}

.calc-row.is-a .calc-fill { background: var(--gold); }
.calc-row.is-b .calc-fill { background: var(--teal); }
.calc-row.is-pr .calc-fill { background: var(--brick-deep); opacity: .5; }

.calc-row .calc-value {
  font-family: var(--ff-mono);
  font-size: .92rem;
  font-weight: 700;
  text-align: right;
  color: var(--ink);
}

.calc-note {
  font-family: var(--ff-mono);
  font-size: .74rem;
  color: var(--muted);
  margin-top: 20px;
  line-height: 1.6;
}

.calc-note a { color: var(--brick); }

/* ---------- wariant callout w cieplejszym, "eco" tonie (EV) ---------- */
.callout.callout-teal {
  border-left-color: var(--teal);
  background: rgba(53, 92, 84, .07);
}

.callout.callout-teal .icon { color: var(--teal); }

/* ---------- cena biletu w karcie przewoźnika (reużyte dla biletów P&R) ---------- */
.carrier-price {
  font-family: var(--ff-mono);
  font-weight: 700;
  color: var(--brick);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.carrier-card.c-teal-top .carrier-price,
.carrier-card .carrier-price.c-teal { color: var(--teal); }

/* ---------- responsywność: nowe komponenty podstrony parkingowej ---------- */
@media (max-width: 1080px) {
  .zone-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .calc-card { padding: 22px 20px; }
  .calc-row { grid-template-columns: 1fr; gap: 6px; }
  .calc-row .calc-value { text-align: left; }
  .zone-grid { gap: 16px; margin: 18px 0 28px; }
  .zone-card { padding: 18px; }
}
