/* Sanatorio portal homepage: white, Poppins, rounded cards and large photos. Tokens first. */
:root {
  --blue: #0e66a6; --blue-dark: #0f5180; --blue-tint: #eaf3fa; --paper: #eef3f5;
  --green: #3f6e0a; --green-hover: #335a07; --green-tint: #edf6e3;
  --lime: #89c02c;
  --ink: #1c1f21; --muted: #3f505a; --line: #e1eaef; --line-strong: #7f97aa;
  --orange: #a3440a; --orange-tint: #fdeee0; --navy: #0b3a5c; --red: #b3261e; --white: #fff; --radius: 12px; --radius-lg: 18px;
  --font: 'Poppins', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: 96px; }
html { font-size: 112.5%; }
html[data-text="s"] { font-size: 100%; }
html[data-text="l"] { font-size: 125%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1rem/1.6 var(--font); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .2em; }
button, input, select { font: inherit; color: inherit; }
button, select, summary { cursor: pointer; }
h1, h2, h3, p, figure, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { line-height: 1.25; font-weight: 600; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--blue-dark); outline-offset: 3px; }
.container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.icon { flex-shrink: 0; overflow: visible; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
.skip-link:focus { position: fixed; z-index: 50; top: 8px; left: 8px; background: var(--white); padding: 14px 18px; border-radius: var(--radius); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); text-decoration: none; font-weight: 600; font-size: 28px; letter-spacing: -.8px; line-height: 1; min-height: 48px; }
.brand-mark { flex-shrink: 0; }
.brand-badge { fill: var(--blue); }
.brand-glyph { fill: var(--white); }
.brand-rays, .brand-wave { fill: none; stroke-width: 2.4; stroke-linecap: round; }
.brand-rays { stroke: var(--white); }
.brand-wave { stroke: var(--lime); }
.brand b { color: var(--lime); font-weight: 600; }
.main-nav { display: flex; gap: 6px; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.9375rem; padding: 12px 14px; border-radius: var(--radius); }
.main-nav a:hover { background: var(--paper); color: var(--blue-dark); }
.header-phone { display: flex; align-items: center; gap: 12px; padding: 6px 20px 6px 6px; border-radius: 999px; background: var(--paper); color: var(--ink); text-decoration: none; }
.header-phone:hover { background: var(--line); }
.header-phone-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--blue); }
.header-phone-text { display: grid; gap: 2px; line-height: 1.2; }
.header-phone-text strong { font-size: 1.03125rem; font-weight: 600; letter-spacing: -.1px; line-height: 1.2; }
.header-phone-text small { display: flex; align-items: center; gap: 7px; font-size: 0.875rem; line-height: 1.2; color: var(--muted); }
.dot { position: relative; display: inline-block; flex-shrink: 0; width: 8px; height: 8px; margin-top: 1px; border-radius: 50%; background: #9aa7ae; }
.dot--open { background: #2ea043; }
.dot--open::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #2ea043; animation: dot-pulse 2.8s ease-out infinite; }
@keyframes dot-pulse { 0% { transform: scale(1); opacity: .45; } 70%, 100% { transform: scale(2.4); opacity: 0; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 48px 0 0; background: var(--white); color: var(--ink); text-align: center; }
.hero-kicker { display: none; padding: 4px 12px; border-radius: 999px; background: #ffffff26; border: 1px solid #ffffff55; font-size: 0.875rem; font-weight: 500; }
.hero h1 { margin: 0 auto; max-width: 820px; color: var(--navy); font-weight: 600; font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.25; letter-spacing: -.5px; text-wrap: balance; }

.hero-help { margin-top: 14px; font-size: 0.9375rem; color: #f1f6fa; }
.hero-help a { color: var(--white); font-weight: 600; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: var(--radius); border: 1px solid transparent; font-weight: 600; font-size: 1rem; text-decoration: none; text-align: center; transition: background-color .15s, border-color .15s; }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-dark); }
.btn--outline { background: var(--white); color: var(--ink); border-color: var(--line-strong); }
.btn--outline:hover { background: var(--paper); border-color: var(--blue); }

/* Trust strip */

/* Sections */
.section { padding: 48px 0; }
.section--tint { background: var(--paper); }
.section.section--catalog { padding: 0 0 8px; }
.section-head { text-align: center; margin-bottom: 28px; }
.section-head h2 { font-size: 1.75rem; letter-spacing: -.3px; }
.section-head p { margin-top: 6px; color: var(--muted); }
.section-head--row { text-align: center; }

/* Destinations */
.dest-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 24px; }
.dest { display: grid; align-content: start; color: var(--ink); text-decoration: none; }
.dest img { width: 100%; aspect-ratio: 440 / 300; object-fit: cover; border-radius: var(--radius); background: var(--paper); }
.dest-body { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 12px 0 0; }
.dest-body .icon { margin-top: 1px; }
.dest-text { display: grid; }
.dest-text strong { font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
.dest-text small { font-size: 0.875rem; color: var(--muted); }
.dest:hover strong { color: var(--blue); }
.dest:hover .icon { transform: translateX(3px); }
.dest .icon { color: var(--ink); transition: transform .15s; }
.dest-all-media { overflow: hidden; display: grid; align-content: center; gap: 4px; min-width: 0; aspect-ratio: 440 / 300; padding: 0 22px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white); transition: border-color .15s, background-color .15s; }
.dest-all-media strong { font-size: min(1.125rem, 22px); font-weight: 600; line-height: 1.3; }
.dest-all-media small { font-size: min(0.9375rem, 18px); line-height: 1.3; color: var(--muted); }
.dest--all:hover .dest-all-media { border-color: var(--blue); background: var(--blue-tint); }

/* Catalogue */
.catalog-status:empty { display: none; }
.catalog-status { margin-bottom: 12px; color: var(--muted); font-size: 0.875rem; }
.catalog[aria-busy="true"] .offers-grid { opacity: .55; }
.list-bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin: 32px 0 14px; }
.place-field { display: block; width: min(260px, 100%); flex: 0 0 auto; }
.place-field select { width: 100%; min-width: 0; min-height: 48px; padding: 0 42px 0 44px; border: 1px solid var(--line-strong); border-radius: 999px; background: url(/assets/pin.svg) no-repeat 16px center / 20px, url(/assets/chevron-down.svg) no-repeat right 16px center / 18px, var(--white); font-size: 1rem; font-weight: 600; color: var(--ink); appearance: none; -webkit-appearance: none; }
.place-field select:hover { background-color: var(--blue-tint); }
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 18px; padding: 0 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); color: var(--ink); font-size: 0.9375rem; font-weight: 600; line-height: 1.2; text-align: center; transition: background-color .15s; }
.chip:hover { background: var(--blue-tint); }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.offers-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.empty-state { grid-column: 1 / -1; display: grid; justify-items: center; gap: 12px; padding: 56px 24px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); }
.empty-state h3 { font-size: 1.25rem; }
.empty-state p { max-width: 52ch; color: var(--muted); }
.pagination { display: grid; justify-items: center; gap: 14px; margin-top: 36px; }
.pagination p { color: var(--muted); font-size: 0.875rem; }

/* Offer card: photo | details | price and call to action */
.offer-card { --media-w: clamp(340px, 42vw, 560px); display: grid; grid-template-columns: var(--media-w) minmax(0, 1fr); grid-template-areas: "media body"; column-gap: 32px; padding: 20px; background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); transition: border-color .2s; }
.offer-card:focus-within { border-color: var(--blue); outline: 2px solid var(--blue); outline-offset: 0; background: var(--blue-tint); }
@media (hover: hover) { .offer-card:hover { border-color: var(--blue); outline: 2px solid var(--blue); outline-offset: 0; background: var(--blue-tint); } }
.card-media { grid-area: media; position: relative; min-height: 280px; max-height: calc(var(--media-w) * 1.12); border-radius: 14px; overflow: hidden; background: var(--paper); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; left: 14px; bottom: 14px; padding: 6px 14px; border-radius: 999px; color: var(--white); font-size: 0.9375rem; font-weight: 600; line-height: 1.2; background: var(--blue); }
.badge--promotion { background: var(--orange); }
.badge--last-minute { background: var(--red); }
.badge--standard { background: #3d5361; }
.card-media figcaption { position: absolute; left: 14px; top: 14px; padding: 3px 11px; border-radius: 999px; background: #0a233ca6; color: var(--white); font-size: 0.875rem; line-height: 1.3; }
/* Spacing in the card: 4 inside one block, 16 between related blocks and rows, 32 between groups */
.card-body { --gap-in: 4px; --gap-sm: 8px; --gap-rel: 16px; --gap-group: 32px; grid-area: body; display: flex; flex-direction: column; min-width: 0; padding: 4px 0 0; }
.card-where { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 var(--gap-sm); color: var(--muted); font-size: 0.9375rem; font-weight: 500; line-height: 1.4; }
.card-where .icon { margin: 0 2px 0 -3px; color: var(--blue-dark); }
.card-where-sep { color: #8fa1ac; }
.card-body h3 { margin: 0; font-size: 1.375rem; line-height: 1.25; letter-spacing: -.01em; text-wrap: balance; }
.card-name, .card-sub { display: block; }
.card-sub { margin-top: var(--gap-in); color: var(--muted); font-size: 1rem; font-weight: 400; line-height: 1.4; letter-spacing: 0; }
.card-facts { display: grid; gap: var(--gap-rel); margin: var(--gap-group) 0 0; }
.card-facts div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 16px; align-items: start; }
.card-facts dt { display: flex; align-items: center; gap: 10px; min-height: calc(1.0625rem * 1.5); color: var(--muted); font-size: 0.9375rem; font-weight: 400; line-height: 1.5; }
.card-facts dt .icon { margin-left: -2px; color: var(--blue-dark); }
.card-facts dd { margin: 0; min-width: 0; color: var(--ink); font-size: 1.0625rem; font-weight: 400; line-height: 1.5; overflow-wrap: anywhere; }
.fact-main, .fact-note { display: block; }
.fact-note { margin-top: 0; color: var(--muted); font-size: 0.9375rem; line-height: 1.45; }
.fact-note--urgent { color: var(--orange); font-weight: 600; }
.card-flags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--gap-in); }
.chip-flag { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 14px 6px 10px; border-radius: 999px; font-size: 0.9375rem; font-weight: 600; line-height: 1.3; }
.chip-flag .icon { flex-shrink: 0; }
.chip-flag--deal { background: var(--orange); color: var(--white); font-weight: 700; }
.chip-flag--urgent { background: var(--orange-tint); color: #8a3a08; }
.chip-flag--best { background: var(--green-tint); color: #2c5f09; }
.card-discount { margin: 0; color: var(--muted); font-size: 0.9375rem; line-height: 1.4; }
.card-discount strong { color: var(--ink); font-weight: 600; }
.fact-list { margin: 0; padding: 0; list-style: none; }
.fact-list li + li { margin-top: 8px; }
.card-pricing { display: grid; gap: var(--gap-in); margin-top: var(--gap-rel); }
.card-price { display: grid; gap: var(--gap-in); min-width: 0; }
.price { display: flex; align-items: baseline; gap: 8px; color: var(--blue); }
.price strong { font-size: 2rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.price strong span { font-size: 1.125rem; font-weight: 600; letter-spacing: 0; }
.price-prefix { font-size: 1rem; color: var(--muted); font-weight: 500; }
.price--unknown { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
.price-unit { text-wrap: pretty; margin: 0; font-size: 0.9375rem; font-weight: 400; color: var(--muted); line-height: 1.4; }
.price-quote { margin: 0; font-size: 0.875rem; color: var(--muted); }
.card-action { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap-rel) 28px; margin-top: var(--gap-group); }
.card-action .btn { flex: 0 0 auto; min-width: 250px; min-height: 54px; padding: 0 22px; font-size: 1.0625rem; }

/* Types, trust */
.type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.type { display: flex; align-items: center; gap: 14px; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--ink); text-decoration: none; }
.type:hover { border-color: var(--blue); }
.type img { width: 72px; height: 72px; flex-shrink: 0; object-fit: cover; border-radius: var(--radius); }
.type span { display: grid; gap: 2px; }
.type strong { font-size: 1rem; font-weight: 600; line-height: 1.3; }
.type small { font-size: 0.875rem; color: var(--muted); line-height: 1.4; }
.trust-card p { color: var(--muted); font-size: 0.9375rem; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trust-card { display: grid; gap: 10px; align-content: start; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.trust-card .icon { color: var(--blue); }
.trust-card h3 { font-size: 1.125rem; }
.trust-grid--info { margin-top: 24px; }
.credits { margin-top: 2px; }
.credits summary { min-height: 48px; display: flex; align-items: center; font-size: 0.875rem; font-weight: 500; color: var(--blue-dark); }
.credits ul { display: grid; gap: 8px; padding: 4px 0 8px; font-size: 0.875rem; color: var(--muted); line-height: 1.5; }

/* Footer */
.site-footer { background: var(--navy); color: #d6e6f2; padding: 52px 0 28px; }
.site-footer a { color: #d6e6f2; text-underline-offset: .2em; }
.site-footer a:hover { color: var(--white); }
.site-footer :focus-visible { outline-color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand .brand { color: var(--white); }
.footer-brand .brand-badge { fill: var(--white); }
.footer-brand .brand-glyph { fill: var(--blue); }
.footer-brand .brand-rays { stroke: var(--blue); }
.footer-phone { margin-top: 12px; }
.footer-phone a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; color: var(--white); font-size: 1.125rem; font-weight: 600; text-decoration: none; }
.footer-hours { margin-top: 2px; font-size: 0.875rem; color: #b9cfe0; }
.footer-brand p { margin-top: 14px; max-width: 34ch; font-size: 0.90625rem; }
.site-footer h2 { margin-bottom: 14px; font-size: 1rem; color: var(--white); }
.site-footer li + li { margin-top: 4px; }
.site-footer li a { display: inline-block; padding: 8px 0; font-size: 0.90625rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 40px; padding-top: 22px; border-top: 1px solid #ffffff2e; font-size: 0.875rem; }

/* Mobile menu (phones and small tablets) */
.mobile-menu { display: none; }
.mobile-menu summary { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--paper); color: var(--ink); list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu .menu-close, .mobile-menu[open] .menu-open { display: none; }
.mobile-menu[open] .menu-close { display: block; }
.mobile-nav { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; display: grid; padding: 8px 16px 18px; background: var(--white); border-bottom: 1px solid var(--line); }
.mobile-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1.0625rem; font-weight: 500; text-decoration: none; }
.mobile-hours { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; font-size: 0.875rem; color: var(--muted); text-align: center; }
.mobile-nav .mobile-call { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; padding: 0 18px; min-height: 52px; border: 0; border-radius: var(--radius); background: var(--blue); color: var(--white); font-weight: 600; }

/* Text size control */
.text-size { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--paper); }
.text-size button { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font-weight: 600; line-height: 1; }
.text-size button:hover { background: var(--line); }
.text-size button[data-text-size="s"] { font-size: 14px; }
.text-size button[data-text-size="m"] { font-size: 18px; }
.text-size button[data-text-size="l"] { font-size: 23px; }
.text-size button[aria-pressed="true"] { background: var(--blue); color: var(--white); }
.mobile-size { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--line); font-size: 1.0625rem; font-weight: 500; }

/* Sales and trust details */
.card-assure { display: grid; flex: 0 1 auto; gap: 6px; margin: 0; padding: 0; color: var(--ink); font-size: 0.9375rem; font-weight: 400; line-height: 1.45; }
.card-assure li { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.card-assure .icon { flex-shrink: 0; color: #2f6a0a; }
.dest { position: relative; }
.dest-badge { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 4px 12px; border-radius: 999px; background: var(--white); color: var(--blue-dark); font-size: 0.875rem; font-weight: 600; }
.faq { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--white); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding: 14px 28px; font-size: 1.125rem; font-weight: 600; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .icon { color: var(--blue-dark); transition: transform .15s; }
.faq-item[open] .icon { transform: rotate(180deg); }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-item p { max-width: 80ch; padding: 18px 28px 24px; font-size: 1.0625rem; line-height: 1.65; }
.faq-item p a { font-weight: 600; }
.call-bar { display: none; }
.nowrap { white-space: nowrap; }

/* Extra persuasion, kept honest: operator discount, cheapest in place, share, help, recently viewed */
.badge-discount { position: absolute; right: 14px; top: 14px; padding: 6px 12px; border-radius: 10px; background: var(--white); color: #a3440a; font-size: 1.0625rem; font-weight: 700; line-height: 1.1; }
.offer-card.is-viewed .card-media::after { content: "Oglądana"; position: absolute; right: 14px; bottom: 14px; padding: 4px 12px; border-radius: 999px; background: #ffffffeb; color: var(--ink); font-size: 0.875rem; font-weight: 600; }
.inline-help { display: grid; grid-template-columns: auto minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 20px 32px; align-items: center; padding: 28px 32px; border-radius: var(--radius-lg); background: var(--paper); }
.inline-help-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--white); color: var(--blue); }
.inline-help-text { display: grid; gap: 6px; min-width: 0; }
.inline-help-text strong { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
.inline-help-text span { color: var(--muted); font-size: 1rem; line-height: 1.5; }
.inline-help-list, .contact-band-list { display: grid; gap: 10px; margin: 0; font-size: 1rem; line-height: 1.4; }
.inline-help-list li, .contact-band-list li { display: flex; align-items: flex-start; gap: 10px; }
.inline-help-list .icon { flex-shrink: 0; color: #2f6a0a; }
.inline-help-cta { display: grid; gap: 10px; justify-items: center; }
.inline-help-cta .btn { min-width: 260px; }
.inline-help-cta small { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.9375rem; }
.recent { margin: 0 0 28px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.recent[hidden] { display: none; }
.recent-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.recent-head h3 { font-size: 1.125rem; }
.recent-clear { min-height: 44px; padding: 0 12px; border: 0; background: none; color: var(--blue-dark); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.recent-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.recent-list a { display: grid; gap: 2px; height: 100%; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--ink); text-decoration: none; background: var(--white); }
.recent-list a:hover { border-color: var(--blue); background: var(--blue-tint); }
.recent-list strong { font-size: 1rem; line-height: 1.35; }
.recent-list span { color: var(--muted); font-size: 0.9375rem; line-height: 1.35; }
.recent-list b { margin-top: 4px; color: var(--blue); font-size: 1.0625rem; }

/* Contact band */
.section--band { padding: 8px 0 56px; }
.contact-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px 64px; padding: 40px 48px; border-radius: 18px; color: var(--white); background: var(--blue); }
.contact-band h2 { font-size: 1.625rem; letter-spacing: -.3px; }
.contact-band p { margin-top: 8px; color: #e8f2fa; }
.contact-band-actions { display: grid; gap: 14px; justify-items: stretch; min-width: 300px; }
.contact-hours-box { display: grid; gap: 2px; text-align: center; }
.contact-status { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; color: var(--white); font-size: 1rem; font-weight: 600; }
.contact-status--open .dot, .contact-status--open .dot::after { background: #6fdc8c; }
.contact-summary { margin: 0; color: #d6e6f3; font-size: 0.9375rem; }
.contact-band-list { margin-top: 18px; color: var(--white); }
.contact-band-list .icon { flex-shrink: 0; color: #fff; }
.contact-band-list .icon circle { fill: #4fb324; }
.contact-band-list .icon path { stroke: #fff; }
.btn--light { min-height: 54px; background: var(--white); color: var(--blue-dark); font-size: 1.125rem; }
.btn--light:hover { background: var(--blue-tint); }
.btn--phone { gap: 14px; min-height: 64px; padding: 0 24px 0 12px; background: var(--white); color: #0b2f4a; border-radius: 14px; }
.btn--phone:hover { background: var(--blue-tint); }
.phone-icon { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: var(--white); }
.phone-text { display: grid; gap: 2px; text-align: left; line-height: 1.2; }
.phone-text small { color: var(--muted); font-size: 0.875rem; font-weight: 600; }
.phone-text strong { font-size: 1.25rem; font-weight: 700; letter-spacing: .01em; word-spacing: .1em; white-space: nowrap; }
.btn--ghost { min-height: 54px; border-color: #ffffff88; color: var(--white); }
.btn--ghost:hover { background: #ffffff1f; }
.btn:focus-visible { outline-offset: 3px; }
.contact-band :focus-visible { outline-color: var(--white); }

/* Destinations toggle (phones, needs script) */
.dest-toggle { display: none; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 48px; margin-top: 20px; border: 0; background: none; color: var(--blue-dark); font-size: 1rem; font-weight: 600; }
.dest-toggle .icon { transition: transform .15s; }
.dest-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

/* Polish layer: refined surfaces and calm accents */
.site-header { box-shadow: 0 1px 0 var(--line); }
.hero > .container { position: relative; }
.section { padding: 64px 0; }
.section--tint { background: var(--paper); }
.section-head h2 { font-weight: 600; font-size: 1.875rem; line-height: 1.25; letter-spacing: -.3px; }
.section-head h2::after { content: ""; display: block; width: 52px; height: 3px; margin: 16px auto 0; border-radius: 3px; background: var(--blue); }
.section-head p { margin-top: 12px; }
.btn { border-radius: var(--radius); }
.btn--primary { background: var(--blue); }
.btn--primary:hover { background: var(--blue-dark); }
.dest img { border-radius: var(--radius-lg); transition: filter .2s; }
.dest:hover img { filter: brightness(1.06) saturate(1.05); }
.dest-all-media { border-radius: var(--radius-lg); border-color: var(--line-strong); }
.trust-card, .type { border-color: #d3dfe7; }
.trust-card .icon { box-sizing: content-box; padding: 11px; border-radius: 50%; color: var(--blue); background: var(--blue-tint); }
.faq-item { border-color: var(--line-strong); transition: background-color .2s; }
.faq-item[open] { background: var(--white); }
.contact-band h2 { font-weight: 600; font-size: 1.75rem; letter-spacing: -.3px; }
.site-footer { background: var(--navy); }

/* Responsive */
@media (max-width: 1280px) {
}
@media (max-width: 1180px) {
  .site-header { position: relative; z-index: 40; }
  .header-inner { min-height: 68px; gap: 12px; }
  .main-nav, .header-inner > .text-size { display: none; }
  .mobile-menu { display: block; margin-left: 0; }
  .header-phone { margin-left: auto; }
  .offer-card { grid-template-columns: minmax(0, 1fr); grid-template-areas: "media" "body"; padding: 16px; }
  .card-body { padding: 20px 4px 0; }
  .card-media { min-height: 0; aspect-ratio: 16 / 9; max-height: 380px; width: 100%; }
}
@media (max-width: 1100px) {
  .dest-grid .dest:nth-child(9) { display: none; }
  .dest-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .type-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1000px) {
  .inline-help { grid-template-columns: auto minmax(0, 1fr); }
  .inline-help-list, .inline-help-cta { grid-column: 1 / -1; }
  .inline-help-cta { justify-items: start; }
  .contact-band { grid-template-columns: minmax(0, 1fr); }
  .recent-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 56px 0 52px; }
  .contact-band { flex-direction: column; align-items: flex-start; padding: 30px 28px; }
}
@media (max-width: 600px) {
  .inline-help { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .inline-help-icon { width: 56px; height: 56px; }
  .inline-help-cta { justify-items: stretch; }
  .inline-help-cta .btn { width: 100%; min-width: 0; }
  .inline-help-cta small { justify-content: center; }
  .recent { padding: 16px; }
  .container { width: min(1200px, calc(100% - 32px)); }
  .header-inner { min-height: 64px; }
  .hero { padding: 30px 0 0; }
  .hero-flow { margin-top: 8px; }
  .hero h1 { max-width: none; margin: 0; font-size: 1.5rem; line-height: 1.3; text-wrap: balance; }
  .section { padding: 36px 0; }
  .section.section--catalog { padding: 0 0 4px; }
  .section-head { margin-bottom: 22px; }
  .section-head h2 { font-size: 1.5rem; }
  .dest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .dest-grid .dest:nth-child(9) { display: grid; }
  html:not(.no-js) .dest-grid:not(.is-open) .dest--extra { display: none; }
  html:not(.no-js) .dest-toggle { display: flex; }
  .dest-body { padding-top: 8px; }
  .dest-text strong { font-size: 0.96875rem; }
  .dest .icon { display: none; }
  .dest-all-media { padding: 0 16px; }
  .dest-all-media strong { font-size: 1rem; }
  .dest-all-media small { font-size: 0.875rem; }
  .list-bar { margin: 24px 0 12px; }
  .place-field { width: 100%; }
  .filters { margin-bottom: 14px; padding: 0; }
  .filters .chips { width: 100%; }
  .chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .offers-grid { gap: 16px; }
  .offer-card { grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: "media" "body"; padding: 12px; }
  .card-action { display: grid; gap: var(--gap-rel); }
  .card-action .btn { min-width: 0; width: 100%; }
  .card-media { aspect-ratio: 4 / 3; max-height: none; }
  .card-body { padding: 18px 4px 0; }
  .card-body h3 { font-size: 1.3125rem; }
  .card-where-sep { display: none; }
  .card-where span:last-child { flex-basis: 100%; padding-left: 32px; font-weight: 400; }
  .card-facts div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .card-facts dd { padding-left: 32px; }
  .type-grid { grid-template-columns: 1fr; gap: 12px; }
  .trust-card { padding: 18px; }
  .section--band { padding-bottom: 36px; }
  .contact-band { padding: 24px 20px; border-radius: 16px; }
  .contact-band h2 { font-size: 1.375rem; }
  .contact-band-actions, .contact-band-actions .btn { width: 100%; min-width: 0; }
  .contact-band-actions .btn--phone { gap: 8px; padding-inline: 12px; }
  .mobile-size { flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .footer-brand, .footer-grid nav:nth-of-type(1) { grid-column: 1 / -1; }
  .footer-grid nav:nth-of-type(1) ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .site-footer { padding-top: 36px; }
}
@media (max-width: 900px) {
  body { padding-bottom: 5.4rem; }
  .call-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line-strong); }
  .call-bar a { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 60px; padding: 0 18px; border-radius: 14px; background: var(--green); color: var(--white); text-decoration: none; }
  .call-bar a > span { display: grid; line-height: 1.25; }
  .call-bar strong { font-size: 1.0625rem; font-weight: 600; }
  .call-bar small { display: flex; align-items: center; gap: 7px; font-size: 0.875rem; }
  .call-bar .dot--open, .call-bar .dot--open::after { background: #7ee787; }
  .faq-item summary { padding: 12px 18px; font-size: 1.0625rem; }
  .faq-item p { padding: 14px 18px 18px; }
}
@media (max-width: 480px) {
  .brand { font-size: 24px; gap: 8px; }
  .brand-mark { width: 38px; height: 38px; }
  .header-phone { padding: 4px; }
  .header-phone-icon { width: 38px; height: 38px; }
  .header-phone-text { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } .dot--open::after { animation: none; opacity: .3; transform: scale(1.8); } }


/* Hero artwork and the original opening animation. */
.hero-story { display: grid; justify-items: center; gap: 14px; width: min(940px, 100%); margin: 0 auto; }
.hero-lines { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 2px; width: 100%; }
.hero-flow { width: min(100vw, 1260px); margin-top: 8px; overflow: hidden; transition: opacity .6s ease; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent), linear-gradient(to right, transparent, #000 9%, #000 91%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent), linear-gradient(to right, transparent, #000 9%, #000 91%, transparent); mask-composite: intersect; }
.flow-art { display: block; position: relative; left: 50%; width: max(100%, 780px); height: auto; transform: translateX(-50%); }
.flow-line { fill: none; stroke: #b5c8d6; stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.flow-ring { fill: var(--white); stroke: #c3d3df; stroke-width: 1.5; }
.flow-icon { color: var(--blue); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flow-halo { fill: var(--white); }
.flow-pulse { fill: none; stroke: var(--blue); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: flow-pulse 3.4s ease-out infinite; }
.flow-pulse--late { animation-delay: -1.7s; }
@keyframes flow-pulse { 0% { opacity: .5; transform: scale(.96); } 100% { opacity: 0; transform: scale(1.7); } }
@media (prefers-reduced-motion: reduce) { .flow-pulse { display: none; } }
/* The strip of reasons to trust the service, under the hero */
.trust-strip { margin-top: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.trust-strip ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px; margin: 0; padding: 18px 0; list-style: none; }
.trust-item { display: flex; align-items: center; gap: 14px; min-width: 0; }
.trust-item .icon { box-sizing: content-box; flex: 0 0 auto; padding: 10px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); }
.trust-text { display: grid; gap: 1px; min-width: 0; line-height: 1.3; }
.trust-text strong { color: var(--ink); font-size: 1.0625rem; font-weight: 600; }
.trust-sub { color: var(--muted); font-size: 0.9375rem; }

/* "Z ostatniej chwili": the lower part of the hero picture, one real event at a time */
.ticker { display: grid; justify-items: center; gap: 1px; width: min(100%, 760px); margin: -2px auto 0; font-size: 1.0625rem; line-height: 1.45; text-align: center; }
.ticker-label { color: var(--navy); font-size: 0.9375rem; font-weight: 600; white-space: nowrap; }
.ticker-label .dot { margin: 0 9px 0 0; vertical-align: middle; position: relative; top: -1px; }
.ticker-label .dot--open, .ticker-label .dot--open::after { background: var(--lime); }
.ticker-list { display: grid; width: 100%; min-width: 0; margin: 0; padding: 0; overflow: hidden; color: var(--ink); list-style: none; }
.ticker-list li { grid-area: 1 / 1; min-width: 0; overflow: hidden; opacity: 0; transform: translateY(80%); visibility: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticker-list li.is-on { opacity: 1; transform: none; visibility: visible; transition: opacity .4s ease .2s, transform .5s ease .15s; }
.ticker-list li.is-leaving { opacity: 0; transform: translateY(-80%); visibility: visible; transition: opacity .25s ease, transform .5s ease; }
/* Featured offer: approved variant 4, ordinary card layout with decoration only. */
.featured { margin: 28px 0 0; }
.featured .offer-card--highlighted { position: relative; background: #fff8e8; border-color: #c7a45a; box-shadow: 0 0 0 1px #c7a45a20, 0 8px 24px #7b5b1508; }
.featured .offer-card--highlighted:focus-within { background: #fff3d4; }
@media (hover: hover) { .featured .offer-card--highlighted:hover { background: #fff3d4; } }
.featured .standard-featured-label { position: absolute; z-index: 1; top: -15px; left: 28px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; background: #f5dfa4; border: 1px solid #c7a45a; color: #594218; font-size: 14px; font-weight: 600; line-height: 1.3; }
/* The title of the list: an invitation and how many offers there are */
.list-head { display: grid; flex: 1 1 360px; gap: 6px; min-width: 0; margin: 0; padding: 0 4px; }
.list-sub { margin: 0; color: var(--muted); font-size: 0.9375rem; line-height: 1.4; text-wrap: balance; }
.list-sub strong { color: var(--ink); font-weight: 600; }
.list-title { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--navy); font-size: 1.5rem; font-weight: 600; line-height: 1.25; letter-spacing: -.2px; }
.list-count { display: inline-flex; align-items: center; justify-content: center; min-width: 2.1rem; height: 1.9rem; padding: 0 0.7rem; border-radius: 999px; background: var(--blue-tint); color: var(--blue-dark); font-size: 1rem; font-weight: 700; letter-spacing: 0; font-variant-numeric: tabular-nums; }
/* Opening line: one step with a spinner that turns into a tick, and a thick bar */
.hero-boot { position: absolute; top: 50%; left: 50%; width: min(520px, 100%); padding: 22px 26px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--white); transform: translate(-50%, -50%); opacity: 0; pointer-events: none; transition: opacity .4s ease; }
.boot-steps { margin: 0 0 16px; padding: 0; list-style: none; }
.boot-step { display: flex; align-items: center; gap: 14px; color: var(--navy); font-size: 1.375rem; font-weight: 500; line-height: 1.3; text-align: left; }
.boot-mark { position: relative; flex: 0 0 30px; width: 30px; height: 30px; border: 3px solid var(--line); border-radius: 50%; }
.boot-step.is-active .boot-mark { border-color: var(--blue) var(--blue) var(--blue) transparent; animation: boot-spin .8s linear infinite; }
.boot-step.is-done .boot-mark { border-color: var(--green); background: var(--green); }
.boot-step.is-done .boot-mark::after { content: ""; position: absolute; left: 8px; top: 3px; width: 7px; height: 13px; border: solid var(--white); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.boot-num { color: var(--blue); font-weight: 700; font-variant-numeric: tabular-nums; }
.boot-bar { display: block; height: 6px; overflow: hidden; border-radius: 6px; background: var(--line); }
.boot-bar::after { content: ""; display: block; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.hero-story.is-booting .hero-boot { opacity: 1; }
.hero-story.is-booting .hero-flow { opacity: 0; }
.hero-story.is-booting .boot-bar::after { animation: boot-fill 2s linear forwards; }
@keyframes boot-fill { to { transform: scaleX(1); } }
@keyframes boot-spin { to { transform: rotate(360deg); } }
@keyframes boot-failsafe { to { filter: none; opacity: 1; pointer-events: auto; } }
/* While the line runs, the first offers stay blurred and the rest of the page waits; a CSS timer lifts it after 6 s whatever happens */
.offer-card, .ticker, .site-footer, main > section { transition: filter .9s ease, opacity .9s ease, border-color .2s ease; }
html.is-booting main > section:not(.hero), html.is-booting .ticker, html.is-booting .site-footer { filter: blur(10px); opacity: .55; pointer-events: none; animation: boot-failsafe .01s linear 6s forwards; }
@media (max-width: 700px) {
  .hero-story { gap: 10px; }
  .trust-strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; padding: 14px 0; }
  .trust-strip { margin-top: 20px; }
  .trust-item { gap: 10px; }
  .trust-item .icon { padding: 8px; width: 20px; height: 20px; }
  .trust-text strong { font-size: 0.9375rem; }
  .trust-sub { display: none; }
  .ticker { margin-top: 2px; font-size: 1rem; }
  .ticker-list li { white-space: normal; }
  .list-title { font-size: 1.25rem; }
  .list-sub { font-size: 0.9375rem; }
  .hero-boot { padding: 16px 18px; }
  .boot-step { font-size: 1.125rem; gap: 12px; }
  .boot-mark { flex-basis: 26px; width: 26px; height: 26px; }
  .boot-step.is-done .boot-mark::after { left: 7px; top: 2px; width: 6px; height: 12px; }

}
@media (max-width: 400px) {
  .trust-item .icon { display: none; }
  .contact-band-actions .phone-icon { display: none; }
}
