:root {
  --navy: #0f2a4a;
  --navy-2: #1b3d66;
  --sky: #2f80ed;
  --sky-light: #e8f1fd;
  --amber: #f2a93b;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --text: #1c2733;
  --muted: #5f6f82;
  --border: #dbe3ec;
  --danger: #c0392b;
  --success: #1e8a4c;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(15, 42, 74, 0.08);
  --mono: ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;
  /* Sylwetka samolotu (skierowana w prawo) - używana jako maska, więc przyjmuje kolor elementu */
  --plane: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath transform='rotate(90 12 12)' d='M21 16v-2l-8-5V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z'/%3E%3C/svg%3E");
  --bp-cutout: var(--bg);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
a { color: var(--sky); }
img { max-width: 100%; }
[hidden] { display: none !important; }

.container { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
.container.narrow { max-width: 680px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.error { color: var(--danger); }
.success { color: var(--success); }

/* Przyciski */
.btn {
  display: inline-block; border: 0; border-radius: 8px; padding: 10px 18px;
  font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; text-align: center;
  transition: background .15s, opacity .15s;
}
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--sky); color: #fff; }
.btn-primary:hover:not(:disabled) { background: #1f6fd8; }
.btn-ghost { background: transparent; color: var(--navy); border: 1px solid var(--border); }
.btn-ghost:hover:not(:disabled) { background: var(--bg-alt); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-lg { padding: 14px 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-sm { padding: 5px 10px; font-size: .85rem; }

/* Samolot przelatujący przez przycisk po najechaniu */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::before {           /* smuga */
  content: ""; position: absolute; top: 50%; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55));
  transform: translateY(-50%); z-index: -1; opacity: 0;
}
.btn-primary::after {            /* samolot */
  content: ""; position: absolute; top: 50%; left: -28px; width: 20px; height: 20px;
  background: currentColor; -webkit-mask: var(--plane) center / contain no-repeat; mask: var(--plane) center / contain no-repeat;
  transform: translateY(-50%); opacity: 0; pointer-events: none;
}
.btn-primary:hover:not(:disabled)::after { animation: btn-fly 1.1s ease-in-out; }
.btn-primary:hover:not(:disabled)::before { animation: btn-trail 1.1s ease-in-out; }
@keyframes btn-fly {
  0%   { left: -28px; opacity: 1; transform: translateY(-50%); }
  70%  { opacity: 1; }
  100% { left: calc(100% + 8px); opacity: 0; transform: translateY(-160%) rotate(-12deg); }
}
@keyframes btn-trail {
  0%   { width: 0; opacity: 1; }
  80%  { opacity: .8; }
  100% { width: 100%; opacity: 0; }
}
/* Wysyłanie formularza: samolot startuje w pętli */
.btn-primary.is-sending { opacity: 1 !important; }
.btn-primary.is-sending::after { animation: btn-takeoff 1.4s ease-in infinite; }
@keyframes btn-takeoff {
  0%   { left: -28px; opacity: 1; transform: translateY(0); }
  50%  { transform: translateY(-20%); }
  100% { left: calc(100% + 8px); opacity: 1; transform: translateY(-140%) rotate(-18deg); }
}

/* Baner testowy */
.test-banner {
  background: var(--amber); color: #3b2500; text-align: center;
  font-weight: 700; font-size: .85rem; padding: 6px;
}

/* Nagłówek */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 64px; flex-wrap: wrap; }
.logo { color: #fff; text-decoration: none; font-weight: 700; font-size: 1.1rem; margin-right: auto; display: flex; align-items: center; gap: 14px; }
.logo-img { height: 40px; width: auto; display: block; transition: transform .3s ease; }
.logo:hover .logo-img { transform: translateY(-2px); }
.logo-tag {
  border-left: 1px solid rgba(255, 255, 255, .28); padding-left: 14px; line-height: 1.25;
  font-size: .82rem; font-weight: 500; letter-spacing: .04em; color: #cfe0f5; white-space: nowrap;
}
@media (max-width: 1000px) { .logo-tag { display: none; } }
.logo-mark { color: var(--amber); display: inline-block; transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.logo:hover .logo-mark { transform: translate(5px, -4px) rotate(-14deg); }
.main-nav { display: flex; gap: 20px; }
.main-nav a { color: #cfe0f5; text-decoration: none; }
.main-nav a:hover { color: #fff; }
.lang-switch { display: flex; border: 1px solid rgba(255,255,255,.3); border-radius: 6px; overflow: hidden; }
.lang-switch button { background: transparent; color: #cfe0f5; border: 0; padding: 5px 10px; cursor: pointer; font: inherit; font-size: .85rem; }
.lang-switch button.active { background: rgba(255,255,255,.18); color: #fff; font-weight: 700; }

/* Hero */
.hero {
  background: linear-gradient(170deg, #0b2140 0%, var(--navy-2) 50%, #4a7fb5 88%, #7fa8d1 100%);
  color: #fff; padding: 64px 0 110px; position: relative; overflow: hidden;
}
.hero-content {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start;
}
.hero-kicker { color: var(--amber); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; margin: 0 0 12px; }

/* Niebo: chmury + samolot lecący po łuku ze smugą kondensacyjną */
.hero-sky { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.cloud {
  position: absolute; border-radius: 50%; filter: blur(18px); opacity: .16;
  background: radial-gradient(ellipse at center, #fff 0%, rgba(255,255,255,0) 70%);
  animation: drift linear infinite;
}
.cloud-1 { width: 380px; height: 110px; top: 12%; left: -10%; animation-duration: 70s; }
.cloud-2 { width: 260px; height: 80px; top: 48%; left: -20%; animation-duration: 95s; animation-delay: -40s; }
.cloud-3 { width: 320px; height: 90px; top: 28%; left: -15%; animation-duration: 120s; animation-delay: -80s; opacity: .1; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(140vw); } }

.flight-box { position: absolute; right: 0; top: 40px; width: 600px; height: 260px; }
.flight-path { position: absolute; inset: 0; overflow: visible; }
.contrail {
  fill: none; stroke: rgba(255,255,255,.35); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 760; stroke-dashoffset: 760;
  animation: contrail 11s ease-in-out infinite;
}
.hero-plane {
  position: absolute; left: 0; top: 0; width: 34px; height: 34px; color: #fff;
  background: currentColor; -webkit-mask: var(--plane) center / contain no-repeat; mask: var(--plane) center / contain no-repeat;
  offset-path: path("M -20 240 C 150 230, 260 150, 340 110 S 520 30, 640 20");
  offset-rotate: auto; offset-distance: 0%;
  filter: drop-shadow(0 0 6px rgba(255,255,255,.5));
  animation: fly-arc 11s ease-in-out infinite;
}
@keyframes fly-arc {
  0%   { offset-distance: 0%; opacity: 0; }
  5%   { opacity: 1; }
  60%  { offset-distance: 100%; opacity: 1; }
  61%, 100% { offset-distance: 100%; opacity: 0; }
}
@keyframes contrail {
  0%   { stroke-dashoffset: 760; opacity: 1; }
  60%  { stroke-dashoffset: 0; opacity: 1; }
  85%, 100% { stroke-dashoffset: 0; opacity: 0; }
}

/* Delikatne przejście do kolejnej sekcji: łuk horyzontu z kreskowanym śladem lotu */
.hero-horizon { position: absolute; left: 0; bottom: -1px; width: 100%; height: 70px; z-index: 1; display: block; }
.horizon-fill { fill: var(--bg); }
.horizon-trail {
  fill: none; stroke: rgba(255,255,255,.35); stroke-width: 1.5; stroke-dasharray: 6 8;
  vector-effect: non-scaling-stroke; animation: trail-move 30s linear infinite;
}
@keyframes trail-move { to { stroke-dashoffset: -280; } }
@keyframes blink { 0%, 60% { opacity: 1; } 70%, 90% { opacity: .2; } 100% { opacity: 1; } }

/* Widżet pogody */
.wx {
  background: rgba(8, 24, 46, .55); border: 1px solid rgba(255,255,255,.16); border-radius: 14px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0,0,0,.18); padding: 14px 16px 10px; font-size: .88rem; color: #e3ecf7;
}
.wx-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.wx-coords { font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; color: rgba(255,255,255,.7); }
.wx-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #5fe08a; margin-right: 7px; vertical-align: 1px; animation: blink 2.4s infinite; box-shadow: 0 0 6px #5fe08a; }
.wx-title { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--amber); font-weight: 700; }
.wx-loading { margin: 18px 0; color: rgba(255,255,255,.7); }
.wx-now { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.wx-icon { font-size: 2.4rem; line-height: 1; }
.wx-temp { display: block; font-size: 1.9rem; font-weight: 800; line-height: 1.05; color: #fff; }
.wx-desc { display: block; color: #c6d6ea; }
.wx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 0 0 12px; }
.wx-grid dt { font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.55); }
.wx-grid dd { margin: 0; font-weight: 600; color: #fff; font-family: var(--mono); font-size: .86rem; white-space: nowrap; }
.wx-grid small { color: var(--amber); font-weight: 700; }
.wx-arrow { display: inline-block; margin-right: 4px; color: var(--amber); font-family: system-ui, sans-serif; }
.wx-days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.wx-day {
  background: rgba(255,255,255,.07); border-radius: 8px; padding: 6px 4px; text-align: center;
  display: flex; flex-direction: column; gap: 1px;
}
.wx-day-name { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.65); }
.wx-day-icon { font-size: 1.3rem; }
.wx-svg { width: 1em; height: 1em; display: inline-block; vertical-align: -0.12em; }
.wx-day strong { color: #fff; font-size: .9rem; }
.wx-day strong span { color: rgba(255,255,255,.55); font-weight: 600; }
.wx-day small { font-size: .7rem; color: #c6d6ea; }
.wx-report { background: rgba(0,0,0,.25); border-radius: 6px; padding: 6px 8px; margin-bottom: 6px; }
.wx-report-label { display: block; font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; color: var(--amber); font-weight: 700; cursor: default; }
details.wx-report summary { cursor: pointer; }
.wx-report code { display: block; font-family: var(--mono); font-size: .74rem; color: #d9f3df; white-space: pre-wrap; word-break: break-word; margin-top: 2px; }
.wx-foot { margin: 6px 0 0; font-size: .66rem; color: rgba(255,255,255,.5); }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.15; margin: 0 0 18px; max-width: 760px; }
.hero-sub { font-size: 1.15rem; color: #d6e4f5; max-width: 620px; margin: 0 0 32px; }

/* Sekcje */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 { font-size: 1.9rem; margin: 0 0 28px; color: var(--navy); display: flex; align-items: center; gap: 16px; }
/* Nagłówki sekcji z "trasą lotu" zakończoną samolotem */
.section h2::after {
  content: ""; flex: 1; height: 20px; min-width: 60px; opacity: .55;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232f80ed' transform='rotate(90 12 12)' d='M21 16v-2l-8-5V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z'/%3E%3C/svg%3E") right center / 20px no-repeat,
    repeating-linear-gradient(90deg, var(--sky) 0 8px, transparent 8px 16px) left center / calc(100% - 28px) 2px no-repeat;
}
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); --bp-cutout: #fff; }

/* Pokoje */
.rooms-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.room-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.room-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(15, 42, 74, .14); }
.room-photo {
  aspect-ratio: 16 / 9; position: relative; display: grid; place-items: center;
  background: linear-gradient(180deg, #dceafb, var(--sky-light)) center / cover no-repeat;
}
.room-photo::before { font-size: 3.5rem; opacity: .5; }
.room-photo--single::before { content: "🛏️"; }
.room-photo--double::before { content: "🛏️🛏️"; }
.room-photo.has-split::before { content: none; }
/* Tabliczka z numerem pokoju - jak oznaczenie bramki na lotnisku */
.gate-sign {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  background: var(--amber); color: #1b1300; font-family: var(--mono); font-weight: 800; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
/* Schemat podziału pokoju na miejsca A / B */
.spot-split { display: grid; grid-template-columns: 1fr 1fr; width: 82%; height: 62%; margin-top: 18px; gap: 0; }
.spot-cell {
  border: 2px dashed rgba(15, 42, 74, .35); display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; background: rgba(255,255,255,.55);
}
.spot-cell:first-child { border-radius: 8px 0 0 8px; border-right-width: 1px; }
.spot-cell:last-child { border-radius: 0 8px 8px 0; border-left-width: 1px; }
.spot-label {
  font-family: var(--mono); font-weight: 800; font-size: 1.15rem; color: #fff; background: var(--navy);
  padding: 2px 10px; border-radius: 4px; letter-spacing: .06em;
}
.spot-items { font-size: 1.2rem; letter-spacing: .2em; }
/* Gdy będą zdjęcia: wrzuć je do public/img/ i odkomentuj:
.room-photo--single { background-image: url(/img/pokoj-1.jpg); }
.room-photo--double { background-image: url(/img/pokoj-2.jpg); }
.room-photo--single::before, .room-photo--double::before { content: none; } */
.room-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.room-body h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.3rem; }
.room-desc { color: var(--muted); margin: 0 0 14px; }
.room-features { list-style: none; padding: 0; margin: 0 0 18px; font-size: .92rem; }
.room-features li { padding: 3px 0; }
.room-features li::before { content: "✓ "; color: var(--success); font-weight: 700; }
.room-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.room-price strong { font-size: 1.5rem; color: var(--navy); }
.room-price span { color: var(--muted); font-size: .9rem; }
.room-price-alt { font-size: .88rem; color: var(--muted); }
.room-price-alt strong { color: var(--navy); }
.room-note, .summary-note {
  background: #fff8e8; border-left: 3px solid var(--amber); padding: 8px 12px; border-radius: 6px;
  font-size: .85rem; color: #5c4a1f; margin: 0 0 16px;
}
.summary-note { margin: 12px 0 0; }

/* Wybór: miejsce / cały pokój */
.mode-box { margin-bottom: 14px; }
.mode-title { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.mode-option {
  display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; margin-bottom: 6px;
  border: 1px solid var(--border); border-radius: 8px; cursor: pointer; font-size: .92rem;
}
.mode-option:has(input:checked) { border-color: var(--sky); background: var(--sky-light); }
.mode-option.disabled { opacity: .5; cursor: not-allowed; }
.mode-option input { margin-top: 4px; }
.mode-option small { display: block; color: var(--muted); }

/* Rezerwacja */
.booking-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
/* Panele kroków rezerwacji - wyraźna ramka z nagłówkiem */
.panel {
  background: #fff; border: 2px solid #c9d6e5; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); --bp-cutout: #fff;
}
.panel-head {
  display: flex; align-items: center; gap: 10px; padding: 12px 20px;
  background: var(--navy); color: #fff; font-weight: 700; letter-spacing: .02em;
  border-bottom: 3px solid var(--amber);
}
.panel-step {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--amber); color: #1b1300; font-family: var(--mono); font-size: .85rem; font-weight: 800;
}
.panel-body { padding: 20px 22px 22px; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 5px; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 12px; border: 1.5px solid #9aabbf; border-radius: 8px;
  font: inherit; background: #fff; color: var(--text); transition: border-color .15s, box-shadow .15s;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #6f8399; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(47, 128, 237, .2);
}
.checkbox input { width: 18px; height: 18px; accent-color: var(--sky); flex-shrink: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
/* Kod rabatowy */
.discount-field > label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 5px; color: var(--navy); }
.discount-row { display: flex; gap: 8px; }
.discount-row input { flex: 1; min-width: 0; text-transform: uppercase; font-family: var(--mono); letter-spacing: .06em; }
.discount-row input::placeholder { text-transform: none; }
.discount-row .btn { flex-shrink: 0; border: 1.5px solid var(--navy); font-weight: 700; }
.discount-msg { margin: 6px 0 0; font-size: .85rem; min-height: 0; }
.discount-msg:empty { display: none; }
.discount-msg.is-ok { color: var(--success); font-weight: 600; }
.discount-msg.is-error { color: var(--danger); font-weight: 600; }
.discount-msg.is-info { color: var(--muted); }
.discount-remove { background: none; border: 0; padding: 0 0 0 6px; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-weight: 400; }
.summary-list .discount-line { color: var(--success); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin: 6px 0 12px; }
.checkbox input { margin-top: 2px; }
.booking-form h3 { margin: 20px 0 14px; color: var(--navy); }

/* Kalendarz */
.cal-nav { display: flex; justify-content: space-between; margin-bottom: -38px; position: relative; z-index: 1; pointer-events: none; }
.cal-nav .btn { pointer-events: auto; padding: 4px 14px; font-size: 1.2rem; }
.calendar { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cal-title { text-align: center; font-weight: 700; color: var(--navy); text-transform: capitalize; margin: 6px 0 12px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-dow { text-align: center; font-size: .75rem; color: var(--muted); font-weight: 600; padding-bottom: 4px; }
.cal-day {
  aspect-ratio: 1; border: 0; border-radius: 6px; background: #eef7f0; color: var(--text);
  font: inherit; font-size: .9rem; cursor: pointer; padding: 0; position: relative;
}
/* Przyjazd = start, wyjazd = lądowanie */
.cal-day.start::after, .cal-day.end::after {
  position: absolute; top: 1px; right: 2px; font-size: .62rem; line-height: 1;
}
.cal-day.start::after { content: "🛫"; }
.cal-day.end::after { content: "🛬"; }
.cal-day:hover:not(:disabled) { outline: 2px solid var(--sky); }
.cal-day.today { font-weight: 800; }
.cal-day.past { background: transparent; color: #b8c3cf; cursor: default; }
.cal-day.partial { background: #fdf1d6; }
.cal-day.occupied { background: #f6dede; color: #b07070; text-decoration: line-through; cursor: not-allowed; }
.cal-day.in-range { background: var(--sky-light); color: var(--navy); }
.cal-day.selected { background: var(--sky); color: #fff; font-weight: 700; }
.legend { display: flex; gap: 18px; margin-top: 16px; font-size: .82rem; color: var(--muted); flex-wrap: wrap; }
.legend > span { display: inline-flex; align-items: center; gap: 6px; }
.lg { display: inline-block; width: 14px; height: 14px; border-radius: 4px; }
.lg-free { background: #eef7f0; }
.lg-occupied { background: #f6dede; }
.lg-partial { background: #fdf1d6; }
.lg-selected { background: var(--sky); }

/* Podsumowanie */
/* Podsumowanie: karta pokładowa na całą szerokość panelu; komunikaty w jasnej ramce */
.summary > p { margin: 0; background: var(--bg-alt); border-radius: 8px; padding: 14px 16px; }
.summary > .selection-lost { margin-bottom: 8px; font-weight: 600; background: #fdecec; }
.summary-list { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin: 0; }
.summary-list dt { color: var(--muted); }
.summary-list dd { margin: 0; text-align: right; font-weight: 600; }
.summary-list .total { font-size: 1.15rem; color: var(--navy); border-top: 1px solid var(--border); padding-top: 8px; margin-top: 4px; font-weight: 800; }

/* Karta pokładowa */
.boarding-pass {
  background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 42, 74, .07); animation: bp-in .35s ease-out;
}
@keyframes bp-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.bp-head {
  display: flex; justify-content: space-between; gap: 10px; padding: 8px 14px;
  background: var(--navy); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.bp-code { color: var(--amber); font-family: var(--mono); }
.boarding-pass small {
  display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600;
}
.boarding-pass strong { display: block; color: var(--navy); }
.bp-route { display: grid; grid-template-columns: 1fr 70px 1fr; align-items: center; gap: 8px; padding: 12px 14px 6px; }
.bp-right { text-align: right; }
.bp-plane {
  height: 20px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232f80ed' transform='rotate(90 12 12)' d='M21 16v-2l-8-5V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z'/%3E%3C/svg%3E") center / 18px no-repeat,
    repeating-linear-gradient(90deg, var(--border) 0 5px, transparent 5px 9px) center / 100% 2px no-repeat;
}
.bp-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 6px 14px 4px; }
.bp-seat { font-family: var(--mono); color: var(--sky) !important; font-size: 1.25rem; letter-spacing: .05em; }
.bp-spot-info {
  margin: 8px 14px 0 !important; padding: 8px 10px; border-radius: 6px; font-size: .84rem;
  background: var(--sky-light); color: var(--navy);
}
/* Perforacja "do oderwania" */
.bp-tear { position: relative; height: 0; border-top: 2px dashed var(--border); margin: 14px 0; }
.bp-tear::before, .bp-tear::after {
  content: ""; position: absolute; top: -10px; width: 18px; height: 18px; border-radius: 50%; background: var(--bp-cutout);
  border: 1px solid var(--border);
}
.bp-tear::before { left: -10px; }
.bp-tear::after { right: -10px; }
.boarding-pass .summary-list { padding: 0 14px 12px; }
/* Strona potwierdzenia */
.bp-main { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 14px 14px 4px; }
.bp-passenger strong { font-size: 1.1rem; margin: 2px 0; }
.bp-seat-box { text-align: center; border: 2px solid var(--navy); border-radius: 10px; padding: 6px 16px; }
.bp-seat-big { font-family: var(--mono); font-size: 2.4rem; line-height: 1.1; letter-spacing: .04em; }
.bp-seat-big.multi { font-size: 1.5rem; }
.bp-void { opacity: .55; filter: grayscale(1); }

/* Apartament i udogodnienia */
.section-intro { margin: -14px 0 26px; color: var(--muted); max-width: 640px; }
.am-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 1100px) { .am-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .am-grid { grid-template-columns: 1fr; } }
.am-card {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 22px 18px; box-shadow: var(--shadow);
}
.am-featured { border: 2px solid var(--amber); box-shadow: 0 8px 26px rgba(242, 169, 59, .18); }
.am-badge {
  position: absolute; top: -12px; right: 16px; background: var(--amber); color: #1b1300;
  font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}
.am-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px dashed var(--border); }
.am-head h3 { margin: 0; color: var(--navy); font-size: 1.15rem; }
.am-sub { margin: 2px 0 0; font-size: .82rem; color: var(--muted); }
.am-cat-icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy); color: #fff;
}
.am-featured .am-cat-icon { background: var(--amber); color: var(--navy); }
.am-cat-icon svg { width: 26px; height: 26px; }
.am-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.am-list li { display: flex; align-items: flex-start; gap: 12px; }
.am-icon {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: var(--sky-light); color: var(--sky);
}
.am-icon svg { width: 21px; height: 21px; }
.am-list strong { display: block; color: var(--text); font-weight: 600; line-height: 34px; }
.am-list small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.4; margin-top: -6px; }
.am-featured .am-list li:first-child strong { color: var(--navy); font-weight: 800; }

/* Info */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.info-item { background: var(--bg-alt); border-radius: var(--radius); padding: 20px; }
.section-alt .info-item { background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.info-item h3 { margin: 0 0 10px; font-size: 1.05rem; color: var(--navy); }
.info-item p, .info-item ul { margin: 0; }
.info-item ul { padding-left: 18px; }

.info-item p + p { margin-top: 4px; }

/* Stopka */
.site-footer { background: var(--navy); color: #cfe0f5; padding: 32px 0; font-size: .92rem; border-top: 3px solid var(--amber); }
.site-footer a { color: #fff; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 8px 20px; flex-wrap: wrap; align-items: flex-start; }

/* Dokumenty (regulamin, polityka prywatności) */
.doc { padding: 36px 40px; }
.doc h1 { margin: 4px 0 14px; font-size: 1.9rem; color: var(--navy); }
.doc-meta { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.doc-draft { background: #fff4e0; border-left: 4px solid var(--amber); color: #6b4300; padding: 10px 14px; border-radius: 6px; font-size: .92rem; }
.doc-lang { display: none; background: var(--sky-light); border-left: 4px solid var(--sky); padding: 10px 14px; border-radius: 6px; font-size: .92rem; }
html[lang="en"] .doc-lang { display: block; }
.doc li { margin-bottom: 6px; }
.table-scroll { overflow-x: auto; }
.doc-table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 6px 0 12px; }
.doc-table th, .doc-table td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc-table th { background: var(--bg-alt); color: var(--navy); }
.docs-title { color: var(--navy); margin-top: 0; }
.docs-list { display: grid; gap: 12px; margin: 22px 0; }
.doc-card {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius); color: var(--text); text-decoration: none; box-shadow: var(--shadow); transition: border-color .15s, transform .15s;
}
.doc-card:hover { border-color: var(--sky); transform: translateY(-1px); }
.doc-icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: var(--amber); display: grid; place-items: center; }
.doc-icon svg { width: 26px; height: 26px; }
.doc-text { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.doc-text strong { color: var(--navy); font-size: 1.05rem; }
.doc-text small { color: var(--muted); }
.doc-arrow { font-size: 1.8rem; color: var(--muted); }
@media (max-width: 620px) { .doc { padding: 24px 18px; } }
@media print {
  .site-header, .site-footer, .doc-lang { display: none !important; }
  .doc { box-shadow: none; border: 0; padding: 0; }
}

/* Strony statusu i płatności */
.status-msg { font-size: 1.1rem; font-weight: 600; }
/* Zmiana rezerwacji (strona gościa) */
.change-box { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--border); }
.change-box h2 { font-size: 1.15rem; color: var(--navy); margin: 0 0 6px; }
.change-buttons { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.change-buttons .btn { border: 1.5px solid var(--border); font-weight: 700; }
.change-buttons .btn.active { border-color: var(--sky); background: var(--sky-light); color: var(--navy); }
.change-panel { border: 1.5px solid var(--border); border-radius: var(--radius); padding: 16px; background: #fbfcfe; }
.change-panel > p:first-child { margin-top: 0; }
.change-quote { font-size: 1rem; margin: 0 0 14px; color: var(--navy); }
.change-quote:empty { display: none; }
.refund-methods { display: grid; gap: 8px; margin: 12px 0 14px; }
.refund-state { margin: 16px 0 0; padding: 10px 14px; border-radius: 8px; background: #fff4e0; color: #6b4300; font-weight: 600; }
.refund-state.success { background: #e6f5ec; color: var(--success); }
.pay-card { text-align: center; }
.pay-amount { font-size: 2.2rem; font-weight: 800; color: var(--navy); margin: 18px 0; }
.pay-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.section .prose h2 { font-size: 1.2rem; margin: 28px 0 8px; display: block; }
.section .prose h2::after { content: none; }

@media (max-width: 980px) {
  .booking-layout { grid-template-columns: 1fr; }
  .hero-content { grid-template-columns: 1fr; gap: 28px; }
  .wx { max-width: 460px; }
  .flight-box { transform: scale(.7); transform-origin: top right; opacity: .7; }
}
@media (max-width: 640px) {
  .main-nav { display: none; }
  .calendar { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 80px; }
  .panel-body { padding: 16px; }
  .section { padding: 44px 0; }
  .flight-box { transform: scale(.5); opacity: .5; }
  .bp-seat-big { font-size: 1.8rem; }
}

/* Dla osób z wyłączonymi animacjami w systemie */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-plane { display: none; }
  .contrail { stroke-dashoffset: 0; }
}
