:root {
  --rc-red: #e2001a;
  --rc-red-dark: #c40016;
  --ink: #141820;
  --ink-muted: #5c6370;
  --surface: #f7f8fa;
  --surface-elevated: #ffffff;
  --border: #e2e6ed;
  --radius: 14px;
  --radius-pill: 999px;
  --nav-h: 4.5rem;
  --max: 75rem;
  --rail-gutter: 1rem;
  --rail-width: min(calc(100vw - 2 * var(--rail-gutter)), var(--max));
  --rail-inset: max(var(--rail-gutter), calc((100vw - var(--rail-width)) / 2));
  --shadow: 0 20px 60px rgb(20 24 32 / 0.07);
  color-scheme: light only;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light only;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-media img,
.wieliczka-bg img,
.travel-pane-bg {
  max-width: none;
}

a {
  color: var(--rc-red);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--rc-red-dark);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--rc-red);
  color: #fff;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: var(--rail-width);
  max-width: calc(100vw - 2 * var(--rail-gutter));
  margin-inline: auto;
}

section[id],
#kontakt {
  scroll-margin-top: calc(var(--nav-h) + 0.75rem);
}

.text-rail {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  padding-inline: var(--rail-inset);
}

.text-rail-inner {
  width: 100%;
  max-width: var(--max);
  margin-inline: 0;
  text-align: left;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  background: rgb(255 255 255 / 0.88);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 32px rgb(20 24 32 / 0.06);
  backdrop-filter: blur(16px) saturate(160%);
}

@supports not (backdrop-filter: blur(16px)) {
  .site-header.is-scrolled {
    background: #fff;
  }
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  width: var(--rail-width);
  max-width: calc(100vw - 2 * var(--rail-gutter));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 2.35rem;
  max-width: min(46vw, 13.5rem);
  object-fit: contain;
  object-position: left center;
  transition: filter 0.35s ease;
}

.site-header:not(.is-scrolled) .brand-logo {
  filter: brightness(0) invert(1);
}

@media (min-width: 768px) {
  .brand-logo {
    height: 2.65rem;
    max-width: 15rem;
  }
}

.nav-center {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

@media (min-width: 900px) {
  .nav-center {
    display: flex;
    gap: 1.35rem;
  }
}

.nav-center a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 550;
  color: rgb(255 255 255 / 0.9);
  transition: color 0.25s ease;
}

.nav-center a:hover {
  color: #fff;
}

.site-header.is-scrolled .nav-center a {
  color: var(--ink-muted);
}

.site-header.is-scrolled .nav-center a:hover {
  color: var(--rc-red);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: rgb(0 0 0 / 0.15);
  transition: border-color 0.35s ease, background 0.35s ease;
}

.site-header.is-scrolled .lang-switch {
  border-color: var(--border);
  background: var(--surface-elevated);
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: rgb(255 255 255 / 0.85);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.38rem 0.75rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-header.is-scrolled .lang-switch button {
  color: var(--ink-muted);
}

.lang-switch button[aria-pressed="true"] {
  background: #fff;
  color: var(--ink);
}

.site-header.is-scrolled .lang-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-pill);
  font: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.55rem 1.15rem;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--rc-red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--rc-red-dark);
  color: #fff;
}

.btn-nav {
  background: transparent;
  color: #fff;
  border: 1px solid rgb(255 255 255 / 0.5);
}

.btn-nav:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.site-header.is-scrolled .btn-nav {
  background: var(--rc-red);
  color: #fff;
  border-color: var(--rc-red);
}

.site-header.is-scrolled .btn-nav:hover {
  background: var(--rc-red-dark);
  border-color: var(--rc-red-dark);
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  height: 60vh;
  min-height: 22rem;
  max-height: 40rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgb(10 12 18 / 0.25) 0%,
    rgb(10 12 18 / 0.55) 55%,
    rgb(10 12 18 / 0.82) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: var(--nav-h);
  max-width: 36rem;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-inner h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.25rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: #fff;
  max-width: 18ch;
}

.hero-meta {
  margin: 0 0 1.5rem;
  color: rgb(255 255 255 / 0.9);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 34ch;
}

.btn-hero {
  padding: 0.7rem 1.5rem;
}

/* Sections */
.section-block {
  padding-block: 4.5rem;
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 3.2vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-weight: 700;
}

.section-title-center {
  text-align: center;
  margin-bottom: 2rem;
}

.section-text {
  margin: 0 0 1rem;
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 58ch;
}

.subsection-title {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.split-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e8ebf0;
}

.split-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-about {
  background: var(--surface-elevated);
}

.about-event-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: min(72%, 11.5rem);
  margin: 0 0 2.35rem;
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 900px) {
  .about-event-logo {
    max-width: 13rem;
    margin-bottom: 2.75rem;
  }
}

.event-meta {
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.event-meta div {
  display: grid;
  gap: 0.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.event-meta dt {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

.event-meta dd {
  margin: 0;
  font-weight: 600;
  font-size: 1.02rem;
}

.section-wieliczka {
  position: relative;
  padding-block: 5rem;
  min-height: 32rem;
  overflow: hidden;
  width: 100%;
}

.wieliczka-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.wieliczka-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wieliczka-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgb(12 14 20 / 0.94) 0%,
    rgb(12 14 20 / 0.82) 38%,
    rgb(12 14 20 / 0.45) 72%,
    rgb(12 14 20 / 0.25) 100%
  );
}

.wieliczka-panel {
  text-align: left;
}

.wieliczka-headline {
  margin: 0 0 1rem;
  max-width: 22ch;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: #fff;
}

.wieliczka-lead {
  margin: 0 0 2.25rem;
  max-width: 42ch;
  font-size: 1.08rem;
  line-height: 1.65;
  color: rgb(255 255 255 / 0.9);
}

.wieliczka-facts-title {
  margin: 0 0 1.15rem;
  font-size: 1rem;
  font-weight: 650;
  color: rgb(255 255 255 / 0.95);
  letter-spacing: -0.02em;
}

.wieliczka-facts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem 1.5rem;
}

@media (min-width: 768px) {
  .wieliczka-facts {
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem 2rem;
  }
}

.wieliczka-fact {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  color: rgb(255 255 255 / 0.9);
  font-size: 0.94rem;
  line-height: 1.55;
}

.wieliczka-fact-mark {
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.45em;
  border-radius: 50%;
  background: var(--rc-red);
  box-shadow: 0 0 0 4px rgb(226 0 26 / 0.25);
}

.section-important {
  padding-block: 4.5rem;
  background: linear-gradient(180deg, #f0f2f6 0%, #e8ecf2 100%);
}

.info-grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 900px) {
  .info-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.info-card {
  padding: 1.25rem 1.2rem 1.35rem;
  border-radius: var(--radius);
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  box-shadow: 0 8px 28px rgb(20 24 32 / 0.04);
}

.info-card-icon {
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.85rem;
  color: var(--rc-red);
}

.info-card-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.info-card h3 {
  margin: 0 0 0.5rem;
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.info-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.58;
  color: var(--ink-muted);
}

.section-travel {
  padding-block: 0;
  background: var(--surface);
}

.travel-split {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
}

@media (min-width: 768px) {
  .travel-split {
    grid-template-columns: 1fr 1fr;
  }
}

.travel-pane {
  position: relative;
  min-height: min(50vh, 26rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.travel-pane-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.travel-pane-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgb(10 12 18 / 0.35) 0%,
    rgb(10 12 18 / 0.72) 45%,
    rgb(10 12 18 / 0.92) 100%
  );
}

.travel-pane-content {
  position: relative;
  z-index: 1;
  width: 100%;
  box-sizing: border-box;
  padding-block: 2rem 2.25rem;
}

.travel-pane-content--left {
  padding-left: var(--rail-inset);
  padding-right: 1.25rem;
  max-width: min(100%, calc(var(--rail-width) / 2 + var(--rail-inset)));
}

.travel-pane-content--right {
  padding-left: 1.25rem;
  padding-right: var(--rail-inset);
  max-width: min(100%, calc(var(--rail-width) / 2 + var(--rail-inset)));
  margin-left: auto;
}

@media (min-width: 768px) {
  .travel-pane-content {
    padding-block: 2.25rem 2.5rem;
  }
}

.travel-title {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.travel-text {
  margin: 0 0 0.65rem;
  font-size: 0.94rem;
  line-height: 1.6;
  color: rgb(255 255 255 / 0.88);
}

.travel-text-strong {
  font-weight: 650;
  color: #fff;
}

.section-bleed {
  width: 100%;
}

.section-map {
  height: 50vh;
  min-height: 16rem;
  background: var(--border);
}

.hotel-map {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.section-form {
  padding-block: 4.5rem 5rem;
  background: var(--surface-elevated);
}

.form-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-text-center {
  margin-inline: auto;
  max-width: 40ch;
}

.form-intro {
  margin-bottom: 1.5rem;
}

form.reg-form {
  width: min(100%, 28rem);
  display: grid;
  gap: 1.15rem;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: left;
}

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

.field {
  display: grid;
  gap: 0.35rem;
}

.field label,
.field legend {
  font-weight: 600;
  font-size: 0.875rem;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  background: var(--surface);
  color: var(--ink);
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--rc-red);
  outline-offset: 1px;
}

.field textarea {
  min-height: 5rem;
  resize: vertical;
}

fieldset.field {
  border: 0;
  margin: 0;
  padding: 0;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.35rem;
}

.radio-group--stacked {
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}

.radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  cursor: pointer;
}

.radio-group--stacked label {
  align-items: flex-start;
  line-height: 1.45;
}

.radio-group--stacked input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.fieldset-legend-block {
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 58ch;
  margin-bottom: 0.25rem;
}

.field--nested {
  margin-top: 0.65rem;
}

.field-hint {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.field[hidden] {
  display: none;
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.92rem;
  display: none;
  text-align: center;
}

.form-status.is-visible {
  display: block;
}

.form-status.success {
  background: #e8f5ee;
  border: 1px solid #1a8f55;
  color: var(--ink);
}

.form-status.error {
  background: #fdecee;
  border: 1px solid var(--rc-red);
}

.btn-submit {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer */
.site-footer {
  padding: 2rem 1rem 2.5rem;
  background: var(--ink);
  color: rgb(255 255 255 / 0.88);
}

.footer-inner {
  text-align: center;
}

.footer-line {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  font-size: 0.92rem;
  color: rgb(255 255 255 / 0.9);
}

@media (min-width: 720px) {
  .footer-line {
    flex-wrap: nowrap;
    gap: 1.5rem;
  }
}

.footer-line strong {
  font-weight: 650;
  color: #fff;
}

.footer-line a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.footer-line a:hover {
  text-decoration: underline;
  color: rgb(255 255 255 / 0.8);
}

.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.section-tour {
  background: var(--surface-elevated);
}

.tour-layout {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .tour-layout {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem 3rem;
    align-items: start;
  }

  .tour-note {
    grid-column: 1 / -1;
  }
}

.tour-times {
  display: grid;
  gap: 0.85rem;
}

.tour-time-card {
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}

.tour-time-value {
  margin: 0 0 0.35rem;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.tour-time-label {
  margin: 0;
  color: rgb(255 255 255 / 0.82);
  font-size: 0.95rem;
  line-height: 1.45;
}

.tour-note {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: #fdecee;
  border: 1px solid rgb(226 0 26 / 0.18);
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.6;
}

.section-parking {
  background: var(--surface);
}

.parking-graphic,
.parking-extra {
  margin: 1.5rem 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgb(20 24 32 / 0.06);
}

.parking-graphic img,
.parking-extra img {
  width: 100%;
  height: auto;
  display: block;
}

.parking-extra-title {
  margin: 2.25rem 0 0;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.parking-places {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

@media (min-width: 768px) {
  .parking-places {
    grid-template-columns: repeat(3, 1fr);
  }
}

.parking-place {
  display: grid;
  gap: 0.3rem;
  padding: 1.05rem 1.1rem 1.15rem;
  border-radius: var(--radius);
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.parking-place:hover {
  border-color: var(--rc-red);
  color: inherit;
}

.parking-place:active {
  transform: scale(0.98);
}

.parking-place-kicker {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rc-red);
}

.parking-place strong {
  font-size: 1.02rem;
}

.parking-place span:last-child {
  color: var(--ink-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.section-transfers {
  background: var(--surface-elevated);
}

.transfers-toolbar {
  margin: 1.5rem 0 1rem;
}

.transfers-search {
  display: grid;
  gap: 0.4rem;
  max-width: 28rem;
  font-weight: 600;
  font-size: 0.875rem;
}

.transfers-search input {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  font-weight: 500;
  background: var(--surface);
  color: var(--ink);
}

.transfers-search input:focus {
  outline: 2px solid var(--rc-red);
  outline-offset: 1px;
}

.transfer-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  margin-bottom: 1.25rem;
  scrollbar-width: thin;
}

.transfer-tab {
  flex: 0 0 auto;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
}

.transfer-tab:hover {
  border-color: var(--ink-muted);
}

.transfer-tab[aria-selected="true"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.transfer-group + .transfer-group {
  margin-top: 1.75rem;
}

.transfer-group-title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.transfer-group-intro {
  margin: 0 0 1rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 70ch;
}

.transfer-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 0.7rem;
}

.transfer-card summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1rem;
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 1.1rem;
}

.transfer-card summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  margin-left: auto;
  border-right: 2px solid var(--ink-muted);
  border-bottom: 2px solid var(--ink-muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.transfer-card[open] summary::after {
  transform: rotate(-135deg);
}

.transfer-card summary::-webkit-details-marker {
  display: none;
}

.transfer-card-title {
  font-weight: 650;
  font-size: 1rem;
}

.transfer-card-meta {
  color: var(--rc-red);
  font-size: 0.86rem;
  font-weight: 600;
}

.transfer-card-body {
  padding: 0 1.1rem 1.15rem;
}

.transfer-route {
  margin: 0 0 0.85rem;
  color: var(--ink-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.transfer-route span {
  font-weight: 650;
  color: var(--ink);
}

.transfer-table-wrap {
  overflow-x: auto;
}

.transfer-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.transfer-table th,
.transfer-table td {
  text-align: left;
  padding: 0.55rem 0.7rem 0.55rem 0;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.transfer-table th {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.transfer-table tr:last-child td {
  border-bottom: 0;
}

.transfers-empty {
  margin: 0;
  padding: 1.25rem 0;
  color: var(--ink-muted);
}

.travel-pane--shuttle {
  background: var(--ink);
  align-items: center;
}

.shuttle-times {
  margin: 1.15rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.shuttle-times div {
  padding-top: 0.75rem;
  border-top: 1px solid rgb(255 255 255 / 0.16);
}

.shuttle-times dt {
  margin: 0 0 0.2rem;
  font-size: 0.82rem;
  color: rgb(255 255 255 / 0.72);
}

.shuttle-times dd {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
