/* =============================================================
   Strona główna — nowy wygląd (październik 2026), jak w makiecie.
   Klasy z prefiksem h26- (nie kolidują ze starym style/style.css).
   Tokeny --ui-* i przyciski bazowe: style/navbar.css.
   Ładowany z partials/head.php.
   ============================================================= */

body { background: var(--ui-ground); }
#main-content { background: var(--ui-ground); color: var(--ui-ink); }

.h26-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.h26-section { padding: 48px 0; }

.h26-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--ui-muted); text-transform: uppercase; letter-spacing: .06em; }
.h26-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; max-width: 46em; }
.h26-head--row { max-width: none; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.h26-head--row > div:first-child { display: flex; flex-direction: column; gap: 8px; }
.h26-section h2 { margin: 0; font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: -0.01em; color: var(--ui-ink); }
.h26-sub { margin: 0; color: var(--ui-muted); font-size: 16px; line-height: 1.5; }

.h26-chip { display: inline-flex; align-items: center; gap: 6px; background: #F4F3EF; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--ui-ink); }
.h26-chip--white { background: var(--ui-card); border: 1px solid var(--ui-line); }
.h26-live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ui-live); flex: none; }

/* przyciski */
.h26-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 22px;
    border-radius: 14px; border: none;
    font-weight: 800; font-size: 15px; line-height: 1.1;
    text-decoration: none; text-align: center;
    cursor: pointer;
}
.h26-btn--lg { min-height: 56px; padding: 0 26px; font-size: 16px; }
.h26-btn--sm { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 12px; }
.h26-btn--red, .h26-btn--red:hover { background: var(--ui-red); color: #FFFFFF; }
.h26-btn--red:hover { background: var(--ui-red-dark); }
.h26-btn--ink, .h26-btn--ink:hover { background: var(--ui-ink); color: #FFFFFF; }
.h26-btn--line, .h26-btn--line:hover { background: var(--ui-card); color: var(--ui-ink); border: 1px solid var(--ui-line); }
.h26-btn--line:hover { background: #F7F6F2; }
.h26-btn:focus-visible, .h26-seg button:focus-visible, .h26-faq-item summary:focus-visible, .h26-live-card:focus-visible { outline: 3px solid var(--ui-ink); outline-offset: 2px; }

/* ── baner ── */
/* odstęp pod przypiętym paskiem daje już body (padding-top w style.css) */
.h26-hero { padding: 48px 0 32px; background: var(--ui-ground); }
.h26-hero-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; }
.h26-hero-text { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.h26-hero h1 { margin: 0; font-size: 58px; line-height: 1.04; font-weight: 800; letter-spacing: -0.02em; color: var(--ui-ink); }
.h26-lead { margin: 0; font-size: 19px; line-height: 1.5; color: var(--ui-muted); max-width: 30em; }
.h26-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.h26-facts { display: flex; flex-wrap: wrap; gap: 22px; margin: 6px 0 0; }
.h26-facts div { display: flex; flex-direction: column; }
.h26-facts dt { font-size: 26px; font-weight: 800; color: var(--ui-ink); }
.h26-facts dd { margin: 0; font-size: 13px; color: var(--ui-muted); }
.h26-hero-media { position: relative; }
.h26-hero-media img { width: 100%; height: 520px; object-fit: cover; border-radius: 28px; display: block; }
.h26-live-card {
    position: absolute; left: -28px; bottom: 28px;
    width: 320px;
    background: var(--ui-card);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(23, 24, 28, .18);
    padding: 14px;
    display: flex; flex-direction: column; gap: 10px;
    text-decoration: none; color: var(--ui-ink);
}
.h26-live-text { font-size: 16px; font-weight: 800; line-height: 1.3; }

/* ── bilety ── */
.h26-seg { display: flex; background: var(--ui-card); border: 1px solid var(--ui-line); border-radius: 14px; padding: 4px; gap: 4px; }
.h26-seg button {
    min-height: 44px; padding: 0 20px;
    border: none; border-radius: 10px;
    background: transparent; color: var(--ui-ink);
    font: inherit; font-weight: 700; font-size: 15px;
    cursor: pointer;
}
.h26-seg button[aria-pressed="true"] { background: var(--ui-ink); color: #FFFFFF; font-weight: 800; }
.h26-tickets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.h26-ticket { position: relative; background: var(--ui-card); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.h26-ticket > .h26-btn { margin-top: auto; }
.h26-ticket--featured { border: 2px solid var(--ui-ink); }
.h26-ticket-badge {
    position: absolute; top: -14px; left: 24px;
    background: var(--ui-yellow); color: var(--ui-ink);
    font-size: 12px; font-weight: 800;
    padding: 5px 12px; border-radius: 999px;
    text-transform: uppercase; letter-spacing: .05em;
}
.h26-ticket-name { font-size: 22px; font-weight: 800; }
.h26-ticket-for { color: var(--ui-muted); font-size: 14px; }
.h26-price { display: flex; align-items: baseline; gap: 6px; }
.h26-price b { font-size: 48px; line-height: 1; font-weight: 800; }
.h26-price > span { font-size: 18px; font-weight: 800; }
.h26-price small { color: var(--ui-muted); font-size: 14px; }
.h26-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.h26-checks li { display: flex; gap: 10px; align-items: center; }
.h26-checks li > span { width: 22px; height: 22px; border-radius: 50%; background: #E4ECFB; color: var(--ui-blue); display: flex; align-items: center; justify-content: center; flex: none; }
.h26-ticket--dark { background: var(--ui-ink); color: #FFFFFF; gap: 14px; }
.h26-ticket--dark p { margin: 0; color: #C9C7C0; font-size: 15px; line-height: 1.5; }
.h26-ticket--dark small { color: #C9C7C0; font-size: 13px; }
.h26-price-table { width: 100%; border-collapse: collapse; border-top: 1px solid #34363C; font-size: 15px; }
.h26-price-table th, .h26-price-table td { padding: 12px 0; border-bottom: 1px solid #34363C; text-align: left; font-weight: 500; }
.h26-price-table td { text-align: right; }
.h26-price-table tr:last-child th, .h26-price-table tr:last-child td { border-bottom: none; }

/* ── trasy ── */
.h26-routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.h26-route { background: var(--ui-card); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.h26-route > img { width: 100%; height: 220px; object-fit: cover; display: block; }
.h26-route-body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.h26-route-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.h26-route-title h3 { margin: 0; font-size: 24px; font-weight: 800; }
.h26-route-title .h26-chip { margin-left: auto; }
.h26-route-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--ui-red); }
.h26-route--blue .h26-route-dot { background: var(--ui-blue); }
.h26-route-body p { margin: 0; color: var(--ui-muted); line-height: 1.5; }
.h26-route-meta { font-size: 14px; font-weight: 700; color: var(--ui-ink); }
.h26-route-actions { display: flex; gap: 10px; margin-top: auto; }
.h26-route-actions .h26-btn { flex: 1; }

/* ── twój plan ── */
.h26-plan { background: var(--ui-card); border-radius: 28px; padding: 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; align-items: start; }
.h26-plan-intro { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.h26-plan-intro .h26-btn { margin-top: 8px; }
.h26-plan h2 { font-size: 36px; }
.h26-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.h26-step { background: var(--ui-ground); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.h26-step-time { font-weight: 800; color: var(--ui-red); font-size: 14px; }
.h26-step--blue .h26-step-time { color: var(--ui-blue); }
.h26-step h3 { margin: 0; font-size: 18px; font-weight: 800; }
.h26-step p { margin: 0; color: var(--ui-muted); font-size: 14px; line-height: 1.5; }

/* ── atrakcje ── */
.h26-hl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.h26-hl { background: var(--ui-card); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.h26-hl > img { width: 100%; height: 220px; object-fit: cover; display: block; }
.h26-hl-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.h26-hl-body h3 { margin: 0; font-size: 19px; font-weight: 800; }
.h26-hl-body p { margin: 0; color: var(--ui-muted); font-size: 14px; line-height: 1.5; }
.h26-hl-body p strong { color: var(--ui-ink); }
.h26-hl-stops { display: flex; gap: 6px; flex-wrap: wrap; }
.h26-stop-chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 10px 4px 4px; font-size: 13px; font-weight: 700; background: #FBE6E7; color: var(--ui-ink); }
.h26-stop-chip > span { width: 22px; height: 22px; border-radius: 50%; background: var(--ui-red); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; }
.h26-stop-chip--blue { background: #E4ECFB; }
.h26-stop-chip--blue > span { background: var(--ui-blue); }

/* ── FAQ ── */
.h26-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; }
.h26-faq h2 { font-size: 36px; }
.h26-faq-list { display: flex; flex-direction: column; gap: 10px; }
.h26-faq-item { background: var(--ui-card); border-radius: 18px; }
.h26-faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    min-height: 56px;
    padding: 16px 22px;
    font-weight: 800; font-size: 17px; color: var(--ui-ink);
}
.h26-faq-item summary::-webkit-details-marker { display: none; }
.h26-faq-item summary::after { content: '+'; font-size: 22px; font-weight: 600; color: var(--ui-muted); flex: none; }
.h26-faq-item[open] summary::after { content: '−'; }
.h26-faq-item p { margin: 0; padding: 0 22px 20px; color: var(--ui-muted); line-height: 1.55; }

/* ── telefon / tablet ── */
@media (max-width: 1023.98px) {
    .h26-hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .h26-hero-media { order: -1; }
    .h26-hero-media img { height: 340px; }
    .h26-live-card { position: static; width: auto; margin-top: 12px; box-shadow: 0 6px 24px rgba(23, 24, 28, .08); }
    .h26-tickets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .h26-ticket--dark { grid-column: 1 / -1; }
    .h26-hl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .h26-plan { grid-template-columns: 1fr; padding: 28px; }
    .h26-faq { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 640px) {
    .h26-wrap { padding: 0 16px; }
    .h26-section { padding: 32px 0; }
    .h26-section h2, .h26-plan h2, .h26-faq h2 { font-size: 28px; }
    .h26-hero { padding: 16px 0 16px; }
    .h26-hero h1 { font-size: 34px; line-height: 1.06; }
    .h26-lead { font-size: 16px; }
    .h26-hero-media img { height: 260px; border-radius: 22px; }
    .h26-actions, .h26-actions .h26-btn { width: 100%; }
    .h26-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; }
    .h26-facts div { background: var(--ui-card); border-radius: 16px; padding: 12px 14px; }
    .h26-facts dt { font-size: 22px; }
    .h26-seg { width: 100%; }
    .h26-seg button { flex: 1; }
    .h26-tickets, .h26-routes, .h26-hl-grid, .h26-steps { grid-template-columns: 1fr; }
    .h26-ticket { padding: 20px; }
    .h26-price b { font-size: 40px; }
    .h26-route > img { height: 160px; }
    .h26-route-body { padding: 18px; }
    .h26-route-title .h26-chip { margin-left: 0; }
    .h26-route-actions { flex-direction: column; }
    .h26-plan { padding: 20px; border-radius: 22px; }
    .h26-hl > img { height: 180px; }
    .h26-faq-item summary { padding: 14px 16px; font-size: 16px; }
    .h26-faq-item p { padding: 0 16px 16px; font-size: 15px; }
}

/* style.css zeruje padding body do 480 px — wtedy odstęp pod paskiem daje nagłówek */
@media (max-width: 480px) {
    .h26-hero { padding-top: calc(var(--navbar-height, 68px) + 16px); }
}
