/* Zmienne CSS dla łatwiejszego zarządzania kolorami */
:root {
    --bg-main: #edf1f6;
    --bg-surface: #f8fafc;
    --bg-soft: #e9eef5;
    --color-text: #1f2940;
    --color-text-light: #6f7d93;
    --color-primary: #0d4f90;
    --color-blue: #0f5ea8;
    --color-teal: #166680;
    --color-orange: #ff6a00;
    --color-grey: #9fa5ae;
    --color-border: rgba(131, 149, 178, 0.24);
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Reset stylów z bootstrapa by nie psuł nowej strony */
body, h1, h2, h3, h4, h5, h6, p, a, span, div, li, ul, ol, strong, b, i, em {
    font-family: var(--font-main);
}
a:hover, a:focus {
    text-decoration: none;
}
.container {
    max-width: 1400px !important;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}
.btn {
    background-image: none !important;
    text-shadow: none !important;
    font-size: 15px;
    border-radius: 8px !important;
    font-weight: 600 !important;
    padding: 10px 20px !important;
    transition: all 0.3s ease !important;
}

.btn-primary {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(13, 79, 144, 0.2) !important;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #0b4076 !important;
    border-color: #0b4076 !important;
    box-shadow: 0 6px 16px rgba(13, 79, 144, 0.3) !important;
    color: #fff !important;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    font-family: var(--font-main);
    background-color: var(--bg-main);
    background-image: linear-gradient(90deg, rgba(219, 227, 238, 0.7) 0%, rgba(237, 241, 246, 0) 8%, rgba(237, 241, 246, 0) 92%, rgba(219, 227, 238, 0.7) 100%);
    color: var(--color-text);
    line-height: 1.5;
    overflow-x: hidden;
    position: relative;
}

body > header,
body > main,
body > .public-page-banner {
    flex-shrink: 0;
}

body::before,
body::after {
    content: "";
    position: fixed;
    pointer-events: none;
    z-index: -1;
    filter: blur(20px);
}

body::before {
    top: 100px;
    left: -90px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(13, 79, 144, 0.18), transparent 68%);
    animation: ambientFloat 16s ease-in-out infinite;
}

body::after {
    right: -60px;
    bottom: 80px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.12), transparent 70%);
    animation: ambientFloat 20s ease-in-out infinite reverse;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

i.fa-solid,
i.fa-regular,
i.fa-brands {
    color: var(--color-orange);
}

/* --- NAGŁÓWEK --- */
.header {
    background: rgba(248, 250, 252, 0.84);
    padding: 18px 0 14px;
    border-bottom: 1px solid rgba(131, 149, 178, 0.16);
    box-shadow: 0 12px 30px rgba(30, 45, 75, 0.05);
    position: relative;
    backdrop-filter: blur(18px);
    z-index: 30;
}

.header::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(13, 79, 144, 0.35), transparent);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
}

.logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(240, 246, 252, 0.78));
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 34px rgba(16, 38, 69, 0.08);
    overflow: hidden;
}

.logo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(255,255,255,0.72), transparent 34%, transparent 70%, rgba(13, 79, 144, 0.08));
    pointer-events: none;
}

.logo img {
    display: block;
    width: clamp(165px, 18vw, 255px);
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 20px rgba(17, 45, 78, 0.08));
    position: relative;
    z-index: 1;
}

.header-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    flex: 1;
    gap: 14px;
    position: relative;
}

.nav-topline {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
}

.nav-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #0d4178;
    background: rgba(248, 250, 252, 0.86);
    border: 1px solid rgba(131, 149, 178, 0.18);
    box-shadow: 0 12px 24px rgba(18, 39, 68, 0.05);
}

.nav-chip i {
    color: var(--color-orange);
    font-size: 11px;
}

.nav-chip-soft {
    color: rgba(7, 49, 93, 0.9);
    background: linear-gradient(135deg, rgba(229, 241, 255, 0.95), rgba(240, 247, 255, 0.82));
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100%, 860px);
    gap: 14px;
    padding: 10px 12px 10px 16px;
    margin-left: auto;
    border-radius: 32px 32px 32px 32px;
    background:
        linear-gradient(135deg, rgba(10, 58, 110, 0.96), rgba(8, 47, 90, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 18px 38px rgba(6, 30, 59, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: visible;
    isolation: isolate;
    z-index: 25;
}

.main-nav::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.08), transparent 24%, transparent 72%, rgba(255,255,255,0.05));
    pointer-events: none;
}

.main-nav::after {
    content: "";
    position: absolute;
    top: -24px;
    left: 24px;
    width: 180px;
    height: 90px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(120, 194, 255, 0.24), transparent 72%);
    filter: blur(12px);
    pointer-events: none;
    z-index: 0;
}

.main-nav-links,
.main-nav-user {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.main-nav-links {
    gap: 8px;
}

.main-nav-user {
    gap: 8px;
    padding-left: 16px;
}

.main-nav-user::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 28px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateY(-50%);
}

.main-nav a,
.admin-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: rgba(237, 244, 252, 0.92);
    margin: 0;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    transition: color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
    border: none;
}

.nav-admin-dropdown {
    position: relative;
    z-index: 15;
}

.nav-admin-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 0;
    width: 340px;
    height: 16px;
}

.main-nav .user-link {
    padding: 10px 13px;
    font-size: 12px;
    letter-spacing: 0.01em;
    background: rgba(255, 255, 255, 0.05);
}

.main-nav .user-link i {
    color: rgba(255, 255, 255, 0.86);
    margin-right: 6px;
}

.main-nav .user-link-accent {
    background: linear-gradient(135deg, rgba(255, 127, 39, 0.18), rgba(255, 255, 255, 0.08));
}

.main-nav a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(117, 191, 255, 0.18));
    border-radius: inherit;
    transform: scale(0.72);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 2px;
    background: linear-gradient(90deg, #9ad3ff, #ffffff);
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(4, 23, 47, 0.18);
}

.main-nav a:hover::before,
.main-nav a:focus-visible::before,
.main-nav a.active::before {
    transform: scale(1);
    opacity: 1;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.main-nav a.active {
    color: #09325f;
    border-bottom: none;
    background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(223, 239, 255, 0.96));
    box-shadow: 0 12px 24px rgba(4, 23, 47, 0.12);
}

.main-nav .user-link.active,
.main-nav .user-link-accent.active {
    color: #09325f;
}

.admin-trigger {
    position: relative;
    display: inline-flex;
    align-items: stretch;
    justify-content: stretch;
    min-width: 118px;
    padding: 0;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    appearance: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(96, 150, 212, 0.12));
    color: rgba(237, 244, 252, 0.96);
}

.admin-trigger-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    padding: 10px 14px 12px;
    position: relative;
    z-index: 1;
}

.admin-trigger-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.admin-trigger-label span {
    display: inline-block;
}

.admin-trigger-label i {
    color: rgba(255, 255, 255, 0.88);
    margin-right: 0;
}

.admin-trigger-caret {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.86);
    flex-shrink: 0;
    transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.admin-trigger-caret i {
    margin-right: 0;
    font-size: 10px;
}

.admin-trigger-line {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 7px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(154, 211, 255, 0.96), rgba(255, 255, 255, 0.96));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.24s ease;
    pointer-events: none;
}

.admin-trigger:hover,
.admin-trigger:focus-visible,
.nav-admin-dropdown:hover .admin-trigger,
.nav-admin-dropdown:focus-within .admin-trigger,
.nav-admin-dropdown.is-open .admin-trigger {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(4, 23, 47, 0.18);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(112, 178, 243, 0.18));
}

.admin-trigger:hover .admin-trigger-line,
.admin-trigger:focus-visible .admin-trigger-line,
.nav-admin-dropdown:hover .admin-trigger-line,
.nav-admin-dropdown:focus-within .admin-trigger-line,
.nav-admin-dropdown.is-open .admin-trigger-line {
    transform: scaleX(1);
}

.admin-trigger:hover .admin-trigger-caret,
.admin-trigger:focus-visible .admin-trigger-caret,
.nav-admin-dropdown:hover .admin-trigger-caret,
.nav-admin-dropdown:focus-within .admin-trigger-caret,
.nav-admin-dropdown.is-open .admin-trigger-caret {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    transform: rotate(180deg);
}

.admin-dropdown-menu {
    position: absolute;
    top: calc(100% + 13px);
    right: 0;
    display: flex;
    flex-direction: column;
    width: 320px;
    padding: 10px 0;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(7, 63, 121, 0.98), rgba(7, 51, 100, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 28px 54px rgba(4, 23, 47, 0.26);
    backdrop-filter: blur(12px);
    overflow: visible;
    z-index: 80;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.nav-admin-dropdown:hover .admin-dropdown-menu,
.nav-admin-dropdown:focus-within .admin-dropdown-menu,
.nav-admin-dropdown.is-open .admin-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.admin-dropdown-menu a,
.admin-submenu-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 13px 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    box-shadow: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.admin-dropdown-menu a:last-child {
    border-bottom: none;
}

.admin-dropdown-menu a::before,
.admin-dropdown-menu a::after {
    display: none;
}

.admin-dropdown-menu a span,
.admin-submenu-label {
    min-width: 0;
}

.admin-dropdown-menu a:hover,
.admin-dropdown-menu a:focus-visible,
.admin-submenu-trigger:hover,
.admin-submenu-trigger:focus-visible,
.admin-submenu:hover .admin-submenu-trigger,
.admin-submenu:focus-within .admin-submenu-trigger,
.admin-submenu.is-open .admin-submenu-trigger {
    background: rgba(255, 255, 255, 0.08);
    transform: none;
    box-shadow: none;
}

.admin-submenu {
    position: relative;
    display: flex;
    flex-direction: column;
}

.admin-submenu-caret {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: rgba(202, 226, 255, 0.82);
    flex-shrink: 0;
    transition: transform 0.2s ease, color 0.2s ease;
}

.admin-submenu-caret i {
    margin-right: 0;
    font-size: 11px;
}

.admin-submenu:hover .admin-submenu-caret,
.admin-submenu:focus-within .admin-submenu-caret,
.admin-submenu.is-open .admin-submenu-caret {
    color: #ffffff;
    transform: translateX(2px);
}

.admin-submenu-panel {
    position: absolute;
    top: -8px;
    left: calc(100% - 8px);
    width: 220px;
    padding: 10px 0;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(6, 55, 106, 0.99), rgba(5, 42, 82, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 44px rgba(4, 23, 47, 0.3);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 2;
}

.admin-submenu:hover .admin-submenu-panel,
.admin-submenu:focus-within .admin-submenu-panel,
.admin-submenu.is-open .admin-submenu-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

.admin-submenu-panel a {
    padding: 11px 16px;
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-submenu-panel a:last-child {
    border-bottom: none;
}

.admin-badge {
    flex-shrink: 0;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255, 127, 39, 0.95);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
}

.header-contact {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    flex-wrap: wrap;
    gap: 14px;
    position: relative;
    z-index: 5;
}

.phone {
    padding: 11px 15px;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.84), rgba(235, 243, 250, 0.8));
    border-radius: 18px;
    border: 1px solid rgba(131, 149, 178, 0.18);
    box-shadow: 0 10px 24px rgba(30, 45, 75, 0.06);
    position: relative;
    overflow: hidden;
}

.phone::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0.52), transparent 34%);
    pointer-events: none;
}

.nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nav-toggle-label {
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    border: 1px solid rgba(11, 73, 139, 0.14);
    background: rgba(248, 250, 252, 0.9);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    box-shadow: 0 14px 30px rgba(17, 45, 78, 0.09);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    backdrop-filter: blur(12px);
}

.nav-toggle-label:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(17, 45, 78, 0.12);
}

.nav-toggle:checked + .nav-toggle-label {
    border-color: rgba(255, 127, 39, 0.35);
    box-shadow: 0 18px 36px rgba(17, 45, 78, 0.14);
}

.nav-toggle-label span {
    width: 20px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.phone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.phone i { color: var(--color-orange); }
.phone strong { display: block; font-size: 15px; }
.phone span { color: var(--color-text-light); font-size: 12px; }

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #0e4d8a 0%, #0b4279 100%);
    color: #ffffff;
    box-shadow: 0 16px 30px rgba(13, 79, 144, 0.2);
}

.btn-primary:hover {
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 20px 34px rgba(13, 79, 144, 0.24);
}

.btn-primary i {
    color: #ffffff;
}

/* --- SEKCJA HERO --- */
.hero {
    margin-top: 30px;
    background-image: url('/assets/hero-background.png');
    background-size: cover;
    background-position: calc(50%) center;
    background-repeat: no-repeat;
    border-radius: 24px;
    padding: 60px;
    color: #ffffff;
    min-height: 450px;
    display: grid;
    grid-template-columns: minmax(210px, 240px) minmax(0, 1.05fr) minmax(300px, 0.9fr);
    align-items: center;
    gap: 28px;
    overflow: clip;
    position: relative;
    box-shadow: 0 30px 80px rgba(8, 34, 68, 0.22);
}

/* Personalizacja Select2 pod kątem nowego designu */
.select2-container {
    width: 100% !important;
    max-width: 100%;
}

.select2-container .select2-choice,
.select2-container .select2-choices {
    padding: 12px 15px !important;
    font-size: 14px !important;
    border-radius: 8px !important;
    border: 1px solid var(--color-border) !important;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.02) !important;
    font-family: inherit !important;
    height: auto !important;
    line-height: normal !important;
    background: #fff !important;
    color: var(--color-text) !important;
}

.select2-container .select2-choice .select2-arrow {
    background: transparent !important;
    border-left: none !important;
    width: 30px !important;
}

.select2-container .select2-choice .select2-arrow b {
    background-position: 0 5px !important;
}

.select2-drop {
    border-radius: 0 0 8px 8px !important;
    border-color: var(--color-border) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important;
    margin-top: -2px;
}

.select2-results .select2-result-label {
    padding: 10px 15px !important;
    font-size: 14px;
    font-family: inherit;
    color: var(--color-text);
}

.select2-results .select2-highlighted {
    background: var(--color-primary) !important;
    color: #fff !important;
}

.select2-search input {
    border-radius: 6px !important;
    padding: 8px 12px !important;
    font-family: inherit !important;
    border: 1px solid var(--color-border) !important;
    background: url('select2.png') no-repeat 100% -22px, #fff !important;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(-135deg, rgba(17, 77, 137, 0.92) 0%, rgba(13, 65, 120, 0.75) 100%);
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -120px -150px auto;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 68%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content > * {
    opacity: 0;
    transform: translateY(16px);
    animation: fadeSlideUp 0.75s ease forwards;
}

.hero-content > :nth-child(1) { animation-delay: 0.08s; }
.hero-content > :nth-child(2) { animation-delay: 0.16s; }
.hero-content > :nth-child(3) { animation-delay: 0.24s; }
.hero-content > :nth-child(4) { animation-delay: 0.32s; }
.hero-content > :nth-child(5) { animation-delay: 0.4s; }

.hero-sidebar {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-self: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(8, 61, 116, 0.92), rgba(6, 55, 104, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 26px 54px rgba(5, 22, 45, 0.28);
    backdrop-filter: blur(8px);
    transform: translateY(8px);
    animation: fadeSlideUp 0.85s ease 0.05s both;
}

.hero-sidebar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 34%);
    pointer-events: none;
}

.hero-sidebar-head {
    padding: 18px 20px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.hero-sidebar-head span {
    display: block;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(206, 226, 248, 0.7);
    margin-bottom: 4px;
}

.hero-sidebar-head strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.hero-side-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.25s ease, padding-left 0.25s ease, color 0.25s ease;
}

.hero-side-link:last-child {
    border-bottom: none;
}

.hero-side-link:hover,
.hero-side-link:focus-visible {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent);
    padding-left: 24px;
    color: #f7fbff;
}

.hero-side-link i {
    color: rgba(197, 219, 243, 0.82);
    font-size: 11px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 100%;
}

.hero-visual::before {
    content: "";
    position: absolute;
    right: 30px;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(111, 196, 255, 0.24), transparent 70%);
    filter: blur(14px);
    animation: pulseGlow 6s ease-in-out infinite;
}

.hero-floating-badge {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 210px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.92);
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 24px 38px rgba(7, 27, 53, 0.16);
    backdrop-filter: blur(10px);
    animation: floatCard 8s ease-in-out infinite;
}

.hero-floating-badge i {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.18), rgba(13, 79, 144, 0.14));
    color: var(--color-orange);
}

.hero-floating-badge strong {
    display: block;
    font-size: 13px;
    margin-bottom: 2px;
}

.hero-floating-badge span {
    display: block;
    font-size: 11px;
    color: var(--color-text-light);
}

.badge-top {
    top: 26px;
    left: -10px;
}

.badge-bottom {
    right: 18px;
    bottom: 18px;
    animation-delay: -3s;
}

.hero-image-frame {
    position: relative;
    width: min(100%, 580px);
    animation: busFloat 10s ease-in-out infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: drop-shadow(0 20px 30px rgba(4, 21, 43, 0.4));
}

.hero-image-frame img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

/* --- AJAX PAGE AREA --- */
#ajax-page-container {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#ajax-page-container.is-loaded {
    opacity: 1;
    transform: translateY(0);
}

#ajax-page-container.is-loading .hero-loader {
    opacity: 1;
    visibility: visible;
}

#ajax-page-container.is-loading .hero-dynamic-content {
    opacity: 0;
}

.btn-hero-back {
    position: absolute;
    top: 24px;
    right: 24px;
    background: #f1f5f9;
    border: 1px solid rgba(13, 79, 144, 0.08);
    color: var(--color-primary);
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    z-index: 20;
}

.btn-hero-back:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}



.hero-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--color-orange);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 10;
}



.hero-dynamic-content {
    transition: opacity 0.3s ease;
    opacity: 1;
    flex: 1;
}

.hero-dynamic-content h2 {
    font-size: 32px;
    margin-bottom: 24px;
    font-weight: 700;
    color: var(--color-primary);
    position: relative;
    padding-bottom: 20px;
}

.hero-dynamic-content h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-orange), #ff9b52);
    border-radius: 4px;
}

.hero-dynamic-content p {
    font-size: 15px;
    color: #52647c;
    line-height: 1.7;
    margin-bottom: 16px;
}

.hero-dynamic-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* --- DYNAMIC TABS SECTION (INFO-BOX STYLE) --- */
.dynamic-tabs-section {
    margin-bottom: 60px;
}

.tabs-header {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.tabs-header::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    background: #f1f5f9;
    border: 1px solid rgba(13, 79, 144, 0.08);
    color: #52647c;
    padding: 14px 24px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-btn:hover {
    background: #e2e8f0;
    color: var(--color-primary);
}

.tab-btn.active {
    background: var(--color-blue);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(13, 79, 144, 0.2);
}

.tab-content-area {
    min-height: 300px;
}

.tab-pane {
    display: none;
    animation: fadeInTab 0.4s ease forwards;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-pane h3 {
    margin-bottom: 16px;
}

.tab-pane p {
    color: #52647c;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Ukrywanie oryginalnego hero przy włączonym AJAX */
.hero-content.is-hidden,
.hero-visual.is-hidden {
    display: none !important;
}

.hero .badge {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    display: inline-block;
    margin-bottom: 20px;
}

.hero .badge i,
.tag i {
    color: var(--color-orange);
}

.hero-logo-img {
    display: block;
    width: clamp(140px, 15vw, 180px);
    height: auto;
    margin-bottom: 24px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2)) brightness(0) invert(1);
    opacity: 0.9;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 16px;
    color: #d9e4f1;
    margin-bottom: 30px;
}

.hero-search-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 10px;
    margin-bottom: 34px;
    backdrop-filter: blur(12px);
    box-shadow: 0 16px 32px rgba(4, 21, 43, 0.15);
}

.hero-search-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.search-field {
    display: flex;
    align-items: center;
    background: rgba(4, 23, 47, 0.35);
    border-radius: 14px;
    padding: 10px 16px;
    border: 1px solid transparent;
    transition: all 0.25s ease;
}

.search-field:focus-within {
    background: rgba(4, 23, 47, 0.55);
    border-color: rgba(154, 211, 255, 0.35);
}

.search-field > i {
    font-size: 18px;
    color: rgba(154, 211, 255, 0.8);
    margin-right: 14px;
    width: 20px;
    text-align: center;
}

.search-field-inner {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.search-field-inner label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2px;
    font-weight: 600;
}

.search-field-inner input,
.search-field-inner select {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    width: 100%;
    padding: 0;
    outline: none;
}

.search-field-inner select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 16px;
    padding-right: 20px;
}

.search-field-inner select option {
    background: #0b2444;
    color: #ffffff;
}

.search-field-inner select:invalid {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 400;
}

.search-field-inner input::placeholder {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 400;
}

.search-field-inner input:-webkit-autofill,
.search-field-inner input:-webkit-autofill:hover, 
.search-field-inner input:-webkit-autofill:focus, 
.search-field-inner input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px #092c52 inset !important;
    -webkit-text-fill-color: white !important;
    border-radius: 4px;
}

.search-field-inner input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.2s;
}

.search-field-inner input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.btn-search {
    background: linear-gradient(135deg, #ff8c3a, #e66a15);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 8px 16px rgba(230, 106, 21, 0.2);
}

.btn-search i {
    color: #ffffff;
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(230, 106, 21, 0.35);
    background: linear-gradient(135deg, #ffa05c, #f0741f);
}

.hero-features {
    display: flex;
    gap: 15px;
}

.feature-box {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    width: 260px;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.2);
}

.feature-box .feature-icon { font-size: 24px; opacity: 1; }
.feature-box strong { display: block; font-size: 14px; }
.feature-box span { font-size: 12px; color: #d2deec; }

/* --- SZYBKIE AKCJE --- */
.actions {
    margin-top: 46px;
    margin-bottom: 50px;
    position: relative;
}

.actions::before {
    content: "";
    position: absolute;
    inset: -18px 10% auto;
    height: 120px;
    background: radial-gradient(circle, rgba(13, 79, 144, 0.08), transparent 72%);
    pointer-events: none;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 { font-size: 20px; }
.link-more { color: #67768f; text-decoration: none; font-size: 14px; font-weight: 600;}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.action-card {
    padding: 30px 20px;
    border-radius: 22px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.action-card::before {
    content: "";
    position: absolute;
    top: -32px;
    right: -20px;
    width: 96px;
    height: 96px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 32px;
    transform: rotate(22deg);
}

.action-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 24%, rgba(255,255,255,0.22) 40%, transparent 56%);
    transform: translateX(-130%);
    transition: transform 0.7s ease;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 36px rgba(30, 45, 75, 0.12);
}

.action-card:hover::after {
    transform: translateX(130%);
}

.card-icon {
    font-size: 30px;
    background: rgba(255,255,255,0.16);
    padding: 15px;
    border-radius: 18px;
    position: relative;
    z-index: 1;
}

.action-card .card-icon,
.action-card .card-arrow {
    color: #ffffff;
}

.card-text {
    position: relative;
    z-index: 1;
}

.card-text h3 { font-size: 18px; margin-bottom: 5px; }
.card-text p { font-size: 12px; opacity: 0.9; }
.card-arrow { position: absolute; right: 20px; background: rgba(255,255,255,0.16); padding: 8px; border-radius: 50%; font-size: 12px; color: #ffffff;}

.card-blue { background: linear-gradient(135deg, #1f6ab1 0%, #095ca7 100%); }
.card-teal { background: linear-gradient(135deg, #276f8c 0%, #0e5b86 100%); }
.card-orange { background: linear-gradient(135deg, #ff7a17 0%, #ec6200 100%); }
.card-grey { background: linear-gradient(135deg, #989ea7 0%, #adb1b8 100%); }

/* --- KONTENER NA TREŚĆ PODSTRON (STATIC PAGE) --- */
.page-content-section {
    margin-bottom: 50px;
}

.page-content-box {
    width: 100%;
    min-height: 300px;
    padding: 45px 50px;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 24px;
}

.page-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-orange), #ff9b52);
    border-radius: 4px;
}

.page-body p {
    font-size: 15px;
    color: #52647c;
    line-height: 1.7;
    margin-bottom: 16px;
}

.page-body h3 {
    font-size: 22px;
    color: var(--color-primary);
    margin-top: 30px;
    margin-bottom: 16px;
    font-weight: 700;
}

.page-body h3:first-child {
    margin-top: 0;
}

.page-body h4 {
    font-size: 18px;
    color: var(--color-primary);
    margin-top: 30px;
    margin-bottom: 14px;
}

.page-body ul {
    color: #52647c;
    line-height: 1.7;
    padding-left: 20px;
    margin-bottom: 16px;
}

.page-body ul li {
    margin-bottom: 8px;
}

/* --- SPRZEDAZ PAGE --- */
.ticket-page-section {
    margin-top: 34px;
    margin-bottom: 56px;
}

.ticket-page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 24px;
    margin-bottom: 28px;
}

.ticket-page-hero-main,
.ticket-page-side-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
}

.ticket-page-hero-main {
    padding: 34px 36px;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(11, 66, 121, 0.96), rgba(8, 47, 90, 0.94)),
        url('hero-background.png') center/cover no-repeat;
    box-shadow: 0 30px 70px rgba(8, 34, 68, 0.18);
}

.ticket-page-hero-main::before,
.ticket-page-side-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ticket-page-hero-main::before {
    background: linear-gradient(120deg, rgba(255,255,255,0.14), transparent 36%, transparent 68%, rgba(255,255,255,0.08));
}

.ticket-page-hero-main > * {
    position: relative;
    z-index: 1;
}

.ticket-page-kicker,
.ticket-page-side-label,
.ticket-selector-eyebrow,
.ticket-sidebar-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ticket-page-kicker {
    color: #fef3e8;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    margin-bottom: 18px;
}

.ticket-page-hero h1 {
    font-size: 42px;
    line-height: 1.08;
    margin-bottom: 16px;
}

.ticket-page-hero p {
    max-width: 620px;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(234, 242, 250, 0.86);
}

.ticket-page-hero-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
}

.ticket-page-point {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ticket-page-point i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    flex-shrink: 0;
}

.ticket-page-point span {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}

.ticket-page-side-card {
    height: 100%;
    padding: 28px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
    border: 1px solid rgba(13, 79, 144, 0.08);
    box-shadow: 0 22px 46px rgba(13, 79, 144, 0.08);
}

.ticket-page-side-card::before {
    background: linear-gradient(125deg, rgba(13, 79, 144, 0.06), transparent 34%);
}

.ticket-page-side-card > * {
    position: relative;
    z-index: 1;
}

.ticket-page-side-label,
.ticket-selector-eyebrow,
.ticket-sidebar-label {
    color: var(--color-primary);
    background: rgba(13, 79, 144, 0.08);
    border: 1px solid rgba(13, 79, 144, 0.08);
}

.ticket-page-steps {
    margin: 20px 0 0;
    padding-left: 20px;
    color: #52647c;
}

.ticket-page-steps li {
    margin-bottom: 12px;
    line-height: 1.6;
    font-weight: 500;
}

.ticket-page-box {
    padding: 0;
    overflow: hidden;
}

.ticket-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
}

.ticket-page-main {
    padding: 40px;
}

.ticket-page-sidebar {
    height: 100%;
    padding: 40px 34px;
    background: linear-gradient(180deg, rgba(241, 245, 249, 0.88), rgba(233, 240, 248, 0.94));
    border-left: 1px solid rgba(13, 79, 144, 0.08);
}

.ticket-selector-head {
    margin-bottom: 28px;
}

.ticket-selector-lead {
    max-width: 640px;
    font-size: 16px;
    color: #5f7087;
    line-height: 1.7;
}

.ticket-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ticket-choice-option {
    display: block;
    cursor: pointer;
}

.ticket-choice-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ticket-choice-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-height: 152px;
    padding: 24px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(13, 79, 144, 0.08);
    box-shadow: 0 18px 36px rgba(13, 79, 144, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.ticket-choice-option:hover .ticket-choice-card {
    transform: translateY(-4px);
    box-shadow: 0 24px 44px rgba(13, 79, 144, 0.1);
}

.ticket-choice-option input:checked + .ticket-choice-card {
    border-color: rgba(255, 106, 0, 0.38);
    background: linear-gradient(180deg, #fff7f0 0%, #ffffff 100%);
    box-shadow: 0 24px 48px rgba(255, 106, 0, 0.12);
}

.ticket-choice-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(13, 79, 144, 0.12), rgba(255, 106, 0, 0.12));
    color: var(--color-orange);
    flex-shrink: 0;
}

.ticket-choice-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ticket-choice-copy strong {
    font-size: 20px;
    color: var(--color-primary);
    line-height: 1.25;
}

.ticket-choice-copy small {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

.ticket-inline-alert {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 106, 0, 0.1);
    border: 1px solid rgba(255, 106, 0, 0.18);
    color: #9a4a09;
    font-size: 14px;
    font-weight: 600;
}

.ticket-selector-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 28px;
}

.ticket-submit-btn {
    border: 0;
    cursor: pointer;
}

.ticket-submit-btn.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

.ticket-selector-note {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.ticket-loader {
    min-height: 48px;
    margin-top: 18px;
    text-align: center;
}

.ticket-loader img {
    display: inline-block;
}

.ticket-output {
    margin-top: 10px;
}

.ticket-sidebar-card h3 {
    margin-top: 16px;
    margin-bottom: 18px;
    font-size: 24px;
    line-height: 1.3;
}

.ticket-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

.ticket-sidebar-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(13, 79, 144, 0.08);
    color: #52647c;
}

.ticket-sidebar-list li i {
    margin-top: 2px;
    color: var(--color-orange);
}

/* --- SEKCJA INFORMACYJNA (REDESIGN PREMIUM) --- */
.info-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 80px;
}

.info-box {
    background: #ffffff;
    padding: 32px;
    border-radius: 28px;
    border: 1px solid rgba(13, 79, 144, 0.06);
    box-shadow: 0 20px 40px -10px rgba(13, 79, 144, 0.05), 0 0 20px rgba(13, 79, 144, 0.02) inset;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.info-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -15px rgba(13, 79, 144, 0.12), 0 0 20px rgba(13, 79, 144, 0.02) inset;
}

.box-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 28px; 
}

.info-box h3 { 
    font-size: 20px; 
    font-weight: 700;
    color: var(--color-primary);
    position: relative;
    padding-left: 16px;
    margin-bottom: 0;
}

.info-box h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, var(--color-orange), #ff9b52);
    border-radius: 4px;
}

/* Aktualności */
.info-box.news h3 { margin-bottom: 0; }
.info-box:not(.news) h3 { margin-bottom: 28px; }

.news-item { 
    display: flex; 
    gap: 18px; 
    padding: 16px; 
    border-bottom: 1px solid rgba(13, 79, 144, 0.06); 
    transition: background 0.3s ease, transform 0.2s ease;
    border-radius: 14px;
    position: relative;
    margin-left: -16px;
    margin-right: -16px;
    text-decoration: none;
    color: inherit;
}

.news-item:first-child { padding-top: 16px; margin-top: -16px; }
.news-item:last-child { border-bottom: none; }

.news-item:hover {
    background: #f8fafc;
    transform: translateX(4px);
    border-bottom-color: transparent;
}

.news-item img { 
    width: 90px;
    height: 70px;
    border-radius: 12px; 
    object-fit: cover; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}

.news-item:hover img {
    transform: scale(1.04);
}

.news-title-row { 
    display: flex; 
    flex-direction: column;
    margin-bottom: 6px;
}

.news-title-row h4 { 
    font-size: 14px; 
    font-weight: 600;
    color: var(--color-primary); 
    line-height: 1.4;
    transition: color 0.2s;
}

.news-item:hover .news-title-row h4 {
    color: var(--color-blue);
}

.news-title-row .date { 
    font-size: 11px; 
    color: var(--color-orange); 
    font-weight: 600;
    margin-top: 4px;
    letter-spacing: 0.5px;
}

.news-content p { 
    font-size: 12.5px; 
    color: #64748b; 
    line-height: 1.5;
    margin-top: 4px;
}

/* O firmie */
.about-text { 
    font-size: 14px; 
    color: #52647c; 
    line-height: 1.6;
    margin-bottom: 28px; 
}

.about-features { 
    display: flex;
    flex-direction: column;
    gap: 14px; 
    margin-top: auto;
}

.a-feat { 
    display: flex; 
    align-items: center; 
    gap: 16px; 
    background: linear-gradient(145deg, #f8fafc, #f1f5f9); 
    padding: 16px 20px; 
    border-radius: 16px; 
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: 0 4px 12px rgba(13, 79, 144, 0.03);
    transition: transform 0.2s, box-shadow 0.2s;
}

.a-feat:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 16px rgba(13, 79, 144, 0.06);
    background: linear-gradient(145deg, #ffffff, #f8fafc); 
}

.a-feat i { 
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 127, 39, 0.1);
    color: var(--color-orange); 
    font-size: 16px; 
    border-radius: 12px;
}

.a-feat > div {
    display: flex;
    flex-direction: column;
}

.a-feat strong { 
    font-size: 13px; 
    color: var(--color-primary);
}

.a-feat span { 
    font-size: 12px; 
    color: #64748b; 
    margin-top: 2px;
}

/* Kontakt */
.contact-details { 
    display: flex; 
    flex-direction: column; 
    gap: 4px; 
    margin-bottom: 28px; 
    margin-left: -10px;
    margin-right: -10px;
}

.c-item { 
    display: flex; 
    gap: 16px; 
    align-items: flex-start; 
    font-size: 13.5px; 
    color: #52647c;
    line-height: 1.5;
    padding: 10px;
    border-radius: 12px;
    transition: background 0.2s;
}

.c-item:hover {
    background: #f8fafc;
}

.c-item i { 
    color: var(--color-blue); 
    font-size: 16px; 
    width: 24px; 
    margin-top: 2px;
    text-align: center; 
    opacity: 0.8;
}

.c-item strong { 
    display: block; 
    color: var(--color-primary);
    font-weight: 600;
}

.c-item span { 
    display: block;
    color: #64748b; 
    font-size: 12px;
    margin-top: 2px;
}

.map-placeholder {
    margin-top: auto;
    overflow: hidden;
    border-radius: 16px;
    border: 4px solid #f1f5f9;
    box-shadow: 0 8px 24px rgba(13, 79, 144, 0.08);
    position: relative;
}

.map-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    pointer-events: none;
}

.map-placeholder iframe {
    display: block;
    width: 100%;
    height: 180px;
    border: 0;
    filter: contrast(0.95) saturate(1.1);
}

/* --- STOPKA --- */
.footer {
    margin-top: auto;
    flex-shrink: 0;
    background-color: #112d4e;
    color: #ffffff;
    padding: 20px 0;
    font-size: 13px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
    transform: translateX(-100%);
    animation: sheen 12s linear infinite;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-logo img {
    height: 24px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    display: block;
}

.footer p { 
    color: #8ba2b8; 
    margin-right: auto;
    margin-left: 20px;
}
.footer-links a { color: #8ba2b8; text-decoration: none; margin-left: 20px; }
.footer-links a:hover { color: #ffffff; }

@media (max-width: 1100px) {
    .header-inner {
        align-items: flex-start;
    }

    .header-panel {
        flex-direction: column;
        align-items: flex-end;
    }

    .main-nav {
        justify-content: flex-end;
    }

    .hero {
        padding: 48px 40px;
        min-height: 400px;
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-self: auto;
        transform: none;
    }

    .hero-sidebar-head {
        grid-column: 1 / -1;
    }

    .hero-side-link:nth-last-child(2),
    .hero-side-link:last-child {
        border-bottom: none;
    }

    .hero-side-link {
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }

    .hero-side-link:nth-child(2n) {
        border-right: none;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-visual {
        justify-content: center;
    }

    .badge-top {
        left: 10px;
    }

    .badge-bottom {
        right: 10px;
    }

    .hero-image-frame {
        width: 100%;
        max-width: 680px;
    }

    .hero-image-frame img {
        min-height: auto;
    }

    .actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-section {
        grid-template-columns: 1fr 1fr;
    }

    .contact-widget {
        grid-column: 1 / -1;
    }

    .about-features {
        flex-wrap: wrap;
    }
}

@media (max-width: 780px) {
    .container {
        padding: 0 16px;
    }

    .header {
        padding: 12px 0;
        position: sticky;
        top: 0;
        z-index: 20;
        backdrop-filter: blur(14px);
    }

    .header-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 14px;
        row-gap: 0;
    }

    .logo {
        padding: 8px 12px;
        border-radius: 20px;
        justify-self: start;
        max-width: fit-content;
    }

    .logo img {
        max-width: 65px;
    }

    .nav-toggle-label {
        display: inline-flex;
        margin-left: 0;
        justify-self: end;
        grid-column: 2;
        grid-row: 1;
    }

    .header-panel {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 0 18px;
        margin-top: 0;
        background: rgba(248, 250, 252, 0.96);
        border: 1px solid rgba(131, 149, 178, 0.18);
        border-radius: 24px;
        box-shadow: 0 22px 48px rgba(17, 45, 78, 0.12);
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition: max-height 0.45s ease, opacity 0.3s ease, transform 0.35s ease, padding 0.35s ease, margin-top 0.35s ease;
        grid-column: 1 / -1;
        justify-self: stretch;
    }

    .nav-topline {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .nav-chip {
        justify-content: center;
        text-align: center;
        white-space: normal;
    }

    .nav-toggle:checked + .nav-toggle-label + .header-panel {
        max-height: 640px;
        padding: 18px;
        margin-top: 14px;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-toggle:checked + .nav-toggle-label span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .main-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        width: 100%;
        padding: 12px;
        border-radius: 22px;
        overflow: visible;
    }

    .main-nav::after {
        display: none;
    }

    .main-nav-links,
    .main-nav-user {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
        padding-left: 0;
    }

    .main-nav-user::before {
        left: 0;
        top: 0;
        width: 100%;
        height: 1px;
        transform: none;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    }

    .main-nav-user {
        padding-top: 14px;
    }

    .main-nav a,
    .admin-trigger {
        margin: 0;
        padding: 15px 18px;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.08);
        color: #eef6ff;
        opacity: 0;
        transform: translateY(10px);
        box-shadow: none;
    }

    .main-nav-links a:nth-child(odd) {
        transform: translateX(-12px);
    }

    .main-nav-links a:nth-child(even) {
        transform: translateX(12px);
    }

    .main-nav-user a:nth-child(odd) {
        transform: translateX(-10px);
    }

    .main-nav-user a:nth-child(even) {
        transform: translateX(10px);
    }

    .nav-admin-dropdown {
        width: 100%;
    }

    .admin-trigger {
        width: 100%;
        min-width: 0;
        padding: 0;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.08);
    }

    .admin-trigger-inner {
        padding: 15px 18px;
    }

    .admin-trigger-label {
        width: 100%;
        justify-content: flex-start;
    }

    .main-nav a.active {
        color: #09325f;
        background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(223, 239, 255, 0.96));
    }

    .main-nav .user-link,
    .main-nav .user-link-accent {
        font-size: 13px;
        padding: 15px 18px;
    }

    .admin-trigger-line {
        left: 18px;
        right: 18px;
        bottom: 10px;
    }

    .nav-toggle:checked + .nav-toggle-label + .header-panel .main-nav-links a:nth-child(odd),
    .nav-toggle:checked + .nav-toggle-label + .header-panel .main-nav-user a:nth-child(odd),
    .nav-toggle:checked + .nav-toggle-label + .header-panel .admin-trigger {
        animation: navLinkInLeft 0.4s ease forwards;
    }

    .nav-toggle:checked + .nav-toggle-label + .header-panel .main-nav-links a:nth-child(even),
    .nav-toggle:checked + .nav-toggle-label + .header-panel .main-nav-user a:nth-child(even) {
        animation: navLinkInRight 0.4s ease forwards;
    }

    .nav-toggle:checked + .nav-toggle-label + .header-panel .main-nav-links a:nth-child(1) { animation-delay: 0.05s; }
    .nav-toggle:checked + .nav-toggle-label + .header-panel .main-nav-links a:nth-child(2) { animation-delay: 0.1s; }
    .nav-toggle:checked + .nav-toggle-label + .header-panel .main-nav-links a:nth-child(3) { animation-delay: 0.15s; }
    .nav-toggle:checked + .nav-toggle-label + .header-panel .main-nav-links a:nth-child(4) { animation-delay: 0.2s; }
    .nav-toggle:checked + .nav-toggle-label + .header-panel .main-nav-user a:nth-child(1) { animation-delay: 0.25s; }
    .nav-toggle:checked + .nav-toggle-label + .header-panel .main-nav-user a:nth-child(2) { animation-delay: 0.3s; }

    @keyframes mobileDropdownOpen {
        0% { opacity: 0; transform: translateY(-6px); }
        100% { opacity: 1; transform: translateY(0); }
    }

    .admin-dropdown-menu {
        position: static;
        width: 100%;
        margin-top: 12px;
        padding: 6px;
        border-radius: 20px;
        background: rgba(4, 21, 43, 0.3);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), inset 0 2px 10px rgba(0, 0, 0, 0.2);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        display: none;
        transition: none;
    }

    .nav-admin-dropdown.is-open .admin-dropdown-menu {
        display: flex;
        flex-direction: column;
        gap: 2px;
        animation: mobileDropdownOpen 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .admin-dropdown-menu a,
    .admin-submenu-trigger {
        padding: 12px 16px;
        font-size: 14px;
        border-radius: 14px;
        border-bottom: none;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .admin-dropdown-menu a:hover,
    .admin-submenu-trigger:hover,
    .admin-dropdown-menu a:focus-visible,
    .admin-submenu-trigger:focus-visible {
        background: rgba(255, 255, 255, 0.06);
    }

    .admin-submenu {
        margin: 2px 0;
        background: rgba(0, 0, 0, 0.15);
        border-radius: 16px;
        padding: 4px;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    }

    .admin-submenu-trigger {
        padding: 10px 14px;
    }

    .admin-submenu-panel {
        position: static;
        width: 100%;
        margin-top: 2px;
        padding: 2px 0 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        display: none;
    }

    .admin-submenu.is-open .admin-submenu-panel {
        display: flex;
        flex-direction: column;
        gap: 2px;
        animation: mobileDropdownOpen 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .admin-submenu-panel a {
        padding: 10px 14px 10px 28px;
        font-size: 13px;
        border-radius: 12px;
        background: transparent;
        position: relative;
    }

    .admin-submenu-panel a::before {
        content: "";
        display: block;
        position: absolute;
        left: 14px;
        top: 4px;
        bottom: 4px;
        width: 1px;
        background: rgba(255, 255, 255, 0.08);
        transition: background-color 0.2s ease;
    }

    .admin-submenu-panel a:hover::before {
        background: rgba(154, 211, 255, 0.6);
    }

    .admin-submenu-caret {
        transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, color 0.2s ease;
        width: 24px;
        height: 24px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.05);
        color: rgba(255, 255, 255, 0.7);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .admin-submenu.is-open .admin-submenu-caret {
        transform: rotate(90deg);
        background: rgba(255, 255, 255, 0.12);
        color: #ffffff;
    }

    .header-contact {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .phone {
        padding: 12px 14px;
        background: rgba(248, 250, 252, 0.82);
        border-radius: 16px;
        border: 1px solid rgba(131, 149, 178, 0.16);
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero {
        margin-top: 20px;
        padding: 34px 24px;
        border-radius: 20px;
        min-height: auto;
        gap: 22px;
        background-position: calc(50% + 150px) center;
    }

    .hero-content > * {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .hero-sidebar {
        grid-template-columns: 1fr;
        border-radius: 18px;
    }

    .hero-side-link {
        padding: 16px 18px;
        font-size: 14px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .hero-sidebar-head {
        padding: 16px 18px 12px;
    }

    .hero-floating-badge {
        position: static;
        min-width: 0;
        width: 100%;
        margin-bottom: 12px;
        animation: none;
    }

    .hero-visual {
        flex-direction: column;
        align-items: stretch;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero p br,
    .hero h1 br {
        display: none;
    }

    .hero-search-form {
        grid-template-columns: 1fr;
    }

    .hero-features {
        flex-wrap: wrap;
    }

    .feature-box {
        width: 100%;
    }

    .hero-image-frame {
        border-radius: 0;
    }

    .hero-image-frame img {
        min-height: auto;
    }

    .ticket-page-hero {
        grid-template-columns: 1fr;
    }

    .ticket-page-hero-points {
        grid-template-columns: 1fr;
    }

    .ticket-page-grid {
        grid-template-columns: 1fr;
    }

    .ticket-page-sidebar {
        border-left: 0;
        border-top: 1px solid rgba(13, 79, 144, 0.08);
    }

    .ticket-choice-grid {
        grid-template-columns: 1fr;
    }

    .ticket-selector-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ticket-selector-note {
        text-align: center;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .actions-grid,
    .info-section {
        grid-template-columns: 1fr;
    }

    .action-card {
        padding: 24px 18px;
    }

    .contact-widget {
        grid-column: auto;
    }

    .news-item,
    .news-title-row,
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .footer p {
        margin: 0;
    }

    .news-item img {
        width: 100%;
        height: auto;
        max-width: none;
        aspect-ratio: 16/9;
    }

    .news-title-row {
        gap: 6px;
    }

    .news-title-row h4 {
        width: 100%;
    }

    .footer {
        padding: 24px 0;
    }

    .footer-links a {
        margin-left: 0;
        margin-right: 16px;
    }
}

@keyframes navLinkIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes navLinkInLeft {
    from {
        opacity: 0;
        transform: translateX(-12px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes navLinkInRight {
    from {
        opacity: 0;
        transform: translateX(12px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes busFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.72;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.06);
    }
}

@keyframes ambientFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-18px) translateX(10px);
    }
}

@keyframes sheen {
    0% {
        transform: translateX(-130%);
    }

    55%, 100% {
        transform: translateX(130%);
    }
}

@media (max-width: 560px) {
    .ticket-page-hero-main,
    .ticket-page-side-card,
    .ticket-page-main,
    .ticket-page-sidebar {
        padding: 24px 20px;
    }

    .ticket-page-hero h1 {
        font-size: 30px;
    }

    .ticket-choice-card {
        min-height: 0;
        padding: 20px 18px;
    }

    .ticket-choice-copy strong {
        font-size: 18px;
    }

    .ticket-sidebar-card h3 {
        font-size: 21px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p,
    .tag,
    .feature-box strong,
    .feature-box span {
        font-size: 14px;
    }

    .hero .badge {
        font-size: 12px;
    }

    .card-icon {
        font-size: 24px;
        padding: 12px;
    }

    .card-text h3,
    .info-box h3 {
        font-size: 17px;
    }

    .about-features {
        flex-direction: column;
    }
}

.public-page-banner {
    background: linear-gradient(135deg, var(--color-primary), #072a52);
    padding: 38px 0;
}
.public-page-banner h1 {
    margin: 0;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
}
.public-page-section {
    margin-top: 46px;
    margin-bottom: 60px;
}
.public-page-box {
    display: block;
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
    min-width: 0;
}
.public-page-body {
    min-width: 0;
    display: flow-root;
    overflow-wrap: anywhere;
}
.public-page-body .panel-body,
.public-page-body .news_content {
    display: flow-root;
    font-size: 15px;
    line-height: 1.7;
}
.public-page-body img,
.public-page-body video,
.public-page-body iframe {
    max-width: 100%;
}
.public-page-body img { height: auto; }
.public-page-body .panel-title,
.public-page-body .news_title {
    font-size: 26px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 24px;
}
.public-page-body .panel-heading { margin-bottom: 24px; }
.public-page-body table { max-width: 100%; width: 100%; }
.public-page-body td,
.public-page-body th { overflow-wrap: anywhere; }
.public-page-body .ql-table-temporary { display: none; }
.public-news-meta {
    clear: both;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 26px;
    padding-top: 16px;
    border-top: 1px solid #e3e9ef;
    color: #52647c;
    font-size: 13px;
}
.public-page-body .fb-comments { max-width: 100%; }
@media (max-width: 780px) {
    .header-inner > div:first-child { min-width: 0; }
    .header-inner > div:first-child img { max-width: 100%; height: auto; }
    .public-page-banner { padding: 26px 0; }
    .public-page-banner h1 { font-size: 26px; }
    .public-page-section { margin-top: 24px; margin-bottom: 32px; }
    .public-page-box { padding: 22px 18px; }
    .public-page-body .panel-title { font-size: 23px; }
}

.site-login-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 60px; }
.site-login-form { display: grid; gap: 12px; max-width: 480px; margin-top: 28px; }
.site-login-form label { font-size: 14px; font-weight: 600; color: #52647c; }
.site-login-form .form-control { min-height: 48px; }
.site-login-form > .btn { justify-self: start; margin-top: 12px; padding: 13px 24px; }
.site-password { display: flex; gap: 8px; min-width: 0; }
.site-password input { min-width: 0; }
.site-password .btn { flex-shrink: 0; background: #edf2f7; color: var(--color-primary); border: 1px solid #dce4ee; }
.site-login-aside { align-self: start; border-radius: 12px; background: #f4f7fa; padding: 32px; }
.site-login-aside > span { font-size: 11px; font-weight: 700; color: var(--color-orange); }
.site-login-aside h3 { margin-top: 16px; }
.site-login-register { margin-top: 24px; }
.site-logout-form { margin: 0; }
.site-logout-form button { border: 0; cursor: pointer; font: inherit; }
@media (max-width: 780px) {
    .site-login-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .site-login-aside { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-content > * {
        opacity: 1;
        transform: none;
    }
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

.hero #search-status { color: #d9e4f1 !important; }
.hero .search-field-inner select { appearance: auto; background-image: none; }
.hero .search-field-inner .form-control:disabled,
.hero .search-field-inner .form-select:disabled {
    background-color: transparent;
    color: #d9e4f1;
    opacity: 1;
    -webkit-text-fill-color: #d9e4f1;
}
.hero-side-link[aria-disabled="true"] { cursor: default; }
.hero .btn-search:disabled { cursor: not-allowed; }
.actions-grid a.action-card { text-decoration: none; }
.page-content-section .cta {
    margin-top: 30px;
    font-weight: 600;
    color: var(--color-orange);
}

.timetable-toolbar { display: flex; align-items: end; gap: 16px; margin-bottom: 32px; }
.timetable-toolbar > div { flex: 1; max-width: 520px; }
.timetable-toolbar .form-label { font-weight: 600; }
.timetable-direction { margin-bottom: 32px; min-width: 0; }
.timetable-direction h2 { font-size: 24px; color: var(--color-primary); margin-bottom: 18px; }
.timetable-scroll { overflow-x: auto; border: 1px solid #dce4ed; border-radius: 10px; }
.timetable-table { margin: 0; width: 100%; font-size: 15px; }
.timetable-table th, .timetable-table td { padding: 13px 16px; vertical-align: middle; white-space: nowrap; }
.timetable-table thead th { background: #edf3f9; color: #174572; font-weight: 600; }
.timetable-table th:first-child { position: sticky; left: 0; z-index: 1; min-width: 220px; background: #f8fafc; border-right: 1px solid #dce4ed; }
.timetable-table thead th:first-child { background: #edf3f9; z-index: 2; }
.timetable-table td, .timetable-table thead th:not(:first-child) { text-align: center; }
.timetable-table small { display: block; font-weight: 400; font-size: 12px; color: #62768c; white-space: normal; max-width: 260px; }
.timetable-time { color: #174572; font-weight: 600; font-variant-numeric: tabular-nums; }
.timetable-table sup { margin-left: 4px; color: #bf5a16; }
.timetable-legend { font-size: 13px; color: #62768c; margin: 0; }
.news-journal-intro { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 32px; }
.news-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: #ae5017; }
.news-journal-intro h2 { font-size: clamp(23px, 2.4vw, 32px); margin: 10px 0; color: #174572; letter-spacing: -.035em; }
.news-journal-intro p { margin: 0; color: #62768c; }
.news-journal-intro .btn { flex-shrink: 0; }
.news-journal-entry { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 36px; padding: 38px 0; border-top: 1px solid #dce4ed; }
.news-date-block { align-self: start; display: flex; flex-direction: column; border-left: 3px solid #ff6a00; padding-left: 18px; color: #174572; }
.news-date-block strong { font-size: 38px; line-height: 1.1; font-weight: 600; letter-spacing: -.05em; }
.news-date-block span { font-size: 11px; font-weight: 600; margin-top: 7px; white-space: nowrap; color: #62768c; }
.news-journal-copy { min-width: 0; max-width: 960px; }
.news-journal-copy > h3 { font-size: clamp(21px, 2vw, 28px); margin: 0 0 22px; color: #174572; line-height: 1.3; letter-spacing: -.025em; }
.news-latest { display: block; color: #ae5017; font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.news-rich-text { color: #42566e; font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.news-rich-text p { margin: 0 0 16px; }
.news-rich-text h2, .news-rich-text h3, .news-rich-text h4, .news-rich-text h5, .news-rich-text h6 { font-size: 19px; line-height: 1.6; margin: 18px 0 12px; }
.news-rich-text ul, .news-rich-text ol { padding-left: 24px; }
.news-rich-text blockquote { border-left: 3px solid #dce4ed; padding: 8px 20px; }
.news-rich-text table { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 20px 0; }
.news-rich-text td, .news-rich-text th { border: 1px solid #dce4ed; padding: 10px; overflow-wrap: anywhere; }
.news-rich-text pre { white-space: pre-wrap; }
.news-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px; border-top: 1px solid #dce4ed; padding-top: 28px; }
.news-pagination > span { color: #62768c; font-size: 14px; }
.news-empty { border-top: 1px solid #dce4ed; padding: 32px 0; }
.site-login-modal { border: 1px solid #dce4ed; border-radius: 20px; overflow: hidden; background: #f7f9fc; color: #174572; }
.site-login-modal .modal-header { padding: 28px 28px 20px; border-bottom-color: #dce4ed; align-items: start; }
.site-login-modal .modal-title { margin-top: 8px; font-weight: 600; }
.site-login-modal .modal-body { padding: 24px 28px 28px; }
.site-login-modal .form-control { min-height: 48px; border-radius: 10px; }
.site-login-modal .btn-primary { min-height: 48px; box-shadow: none; }
@media (max-width: 780px) {
    .news-journal-intro { align-items: start; flex-direction: column; }
    .news-journal-entry { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 28px 0; }
    .news-date-block { flex-direction: row; align-items: center; gap: 12px; }
    .news-date-block strong { font-size: 27px; }
    .news-date-block span { margin: 0; }
    .news-rich-text { font-size: 15px; }
    .timetable-toolbar { align-items: stretch; flex-direction: column; }
    .timetable-toolbar > div { max-width: none; }
    .timetable-direction h2 { font-size: 21px; }
    .timetable-table th:first-child { min-width: 150px; max-width: 180px; white-space: normal; }
    .timetable-table th, .timetable-table td { padding: 10px 12px; }
}

.booking-wizard { display:grid; grid-template-columns:minmax(0, 2fr) minmax(230px, 1fr); gap:44px; align-items:start; }
.booking-wizard [hidden] { display:none !important; }
.booking-workspace { min-width:0; padding-top:30px; }
.booking-progress { height:6px; border-radius:6px; background:#edf0f4; overflow:hidden; margin-bottom:18px; }
.booking-progress > div { height:100%; background:#1676e6; transition:width .25s ease; }
.booking-steps { display:flex; gap:7px; flex-wrap:wrap; margin-bottom:36px; }
.booking-steps button { border:0; border-radius:24px; padding:9px 12px; font-size:12px; background:#f1f4f7; color:#536174; transition:background .2s; }
.booking-steps button.active { background:#14558a; color:white; font-weight:700; }
.booking-steps button:disabled { opacity:.45; }
.booking-wizard h2 { font-size:17px; text-transform:uppercase; border-bottom:1px solid #edf0f4; padding-bottom:16px; margin-bottom:20px; color:#303b4c; }
.booking-aside { background:#f7f9fb; padding:28px; border-radius:10px; color:#617082; }
.booking-aside small { color:#c87827; font-size:11px; font-weight:700; }
.booking-aside h3 { font-size:20px; color:#215776; margin:18px 0; }
.booking-aside p { font-size:14px; line-height:1.6; }
.booking-stop-filters { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:20px; }
.booking-stop-filters label { min-width:0; font-size:12px; }
.booking-course-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.booking-course { border:1px solid #edf0f2; border-radius:8px; overflow:hidden; background:white; }
.booking-course header { background:#f7f8fa; border-bottom:1px solid #e5e8ec; padding:11px 16px; color:#737e87; font-size:13px; font-weight:600; }
.booking-course-route { border-left:2px solid #abcbd9; margin:16px; padding-left:14px; }
.booking-course-route > div + div { margin-top:16px; }
.booking-course-route strong, .booking-course-route small:not(.booking-date) { display:block; }
.booking-course-route strong { font-size:14px; }
.booking-course-route small { color:#727d85; font-size:12px; margin:3px 0 7px; }
.booking-time { font-size:12px; font-weight:700; border-radius:4px; padding:3px 7px; color:white; background:#1676e6; }
.booking-time.arrival { background:#298761; }
.booking-course footer { display:flex; align-items:center; justify-content:space-between; gap:10px; border-top:1px solid #edf0f2; margin:0 14px; padding:14px 0; }
.booking-course footer strong { color:#298761; font-size:21px; }
.booking-course footer .btn { font-size:12px; text-transform:uppercase; }
.booking-actions { display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; margin-top:26px; }
.booking-wizard .btn { box-shadow:none; }
#booking-summary { padding:16px; background:#f7f9fb; border-radius:8px; }
@media(max-width:900px) {
    .booking-wizard { grid-template-columns:1fr; gap:24px; }
    .booking-aside { order:2; }
}
@media(max-width:540px) {
    .booking-course-grid, .booking-stop-filters { grid-template-columns:1fr; }
    .booking-steps { gap:4px; }
    .booking-steps button { font-size:11px; padding:8px; }
    .booking-workspace { padding-top:0; }
}
@media(prefers-reduced-motion:reduce) { .booking-progress > div, .booking-steps button { transition:none; } }
.booking-passenger-form { margin:0; display:block; }
.booking-data-section { border:1px solid #edf0f2; border-radius:7px; overflow:hidden; margin-bottom:20px; }
.booking-data-section > header { background:#f7f8fa; border-bottom:1px solid #e2e7ec; font-size:13px; font-weight:700; padding:14px 18px; }
.booking-trip-summary > header { background:#d4e4ff; color:#184679; }
.booking-section-body { padding:20px; margin:0; }
.booking-section-body .form-label { display:block; width:100%; font-size:13px; color:#657080; }
.booking-section-body .form-control,.booking-section-body .form-select { margin-top:7px; }
.booking-total { background:#f7f9fa; text-align:right; margin:18px; padding:18px; border-radius:6px; }
.booking-total small { display:block; font-size:11px; color:#6b747c; }
.booking-total strong { display:block; color:#248761; font-size:28px; font-weight:500; margin-top:6px; }
.booking-consent { display:flex; align-items:flex-start; gap:16px; padding:16px; background:#f8f9fb; border-radius:5px; font-size:12px; color:#687583; line-height:1.6; }
.booking-consent + .booking-consent { margin-top:12px; }
.booking-consent .form-check-input { flex-shrink:0; margin-top:4px; }
.booking-consent small { font-weight:700; }
.booking-tariff-condition { font-size:12px; white-space:pre-line; color:#657080; margin-bottom:0; }
.booking-calendar { background:#fff; padding:0; border:1px solid #aaa; border-radius:4px; overflow:hidden; }
.booking-calendar-header { display:flex; justify-content:space-between; align-items:center; background:#fff; color:#444; border-bottom:1px solid #aaa; min-height:48px; }
.booking-calendar-header button { border:0; background:transparent; color:#333; min-width:44px; min-height:46px; transition:background .15s; }
.booking-calendar-header button:not(:disabled):hover { background:#eee; }
.booking-calendar-header button:disabled { opacity:.25; }
.booking-calendar-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:2px; padding:6px; }
.booking-weekday { text-align:center; padding:12px 0; font-size:13px; color:#999; font-weight:500; }
.booking-calendar-grid button { border:1px solid #dce1e7; border-radius:5px; background:#fff; text-align:center; padding:7px; min-height:44px; color:#444; font-weight:400; font-size:16px; transition:background .15s,color .15s,border-color .15s; }
.booking-calendar-grid button:disabled { background:#fff; color:#bbb; border-color:#edf0f3; }
.booking-calendar-grid button:not(:disabled):hover { background:#5897fb; border-color:#ffc107; color:#fff; }
.booking-calendar-grid button.selected,.booking-calendar-grid button.selected:not(:disabled):hover { background:#5897fb; border-color:#5897fb; color:#fff; font-weight:700; }
.booking-calendar-grid button.selected:not(:disabled):hover { border-color:#ffc107; }
.booking-calendar-selection { padding:12px; background:#eee; border-top:1px solid #aaa; color:#444; font-size:14px; font-weight:600; }
.booking-calendar-grid button:focus-visible,.booking-calendar-header button:focus-visible { outline:2px solid #5897fb; outline-offset:-2px; }
@media(max-width:540px) { .booking-calendar-grid { padding:4px; } .booking-calendar-grid button { padding:5px; font-size:16px; } .booking-weekday { font-size:12px; } }
@media(prefers-reduced-motion:reduce) { .booking-calendar-grid button,.booking-calendar-header button { transition:none; } }
.public-prices .price-table th,.public-prices .price-table td { padding:16px 12px; }
.public-prices .price-table thead th { background:#f4f7fa; color:#53647a; font-size:14px; font-weight:600; }
.public-prices .price-table tbody th { font-weight:500; }
.public-prices .price-amount { color:#12588f; font-weight:700; white-space:nowrap; }
.public-prices .price-table tbody tr:hover { background:#f7f9fc; }
@media(max-width:540px) { .public-prices .price-table th,.public-prices .price-table td { padding:12px 6px; } .public-prices .price-table .btn { white-space:nowrap; } }
@media (min-width:781px) {
    .header-inner > div:first-child { flex-shrink:0; }
    .header-inner > div:first-child img { width:clamp(180px,24vw,340px); height:auto; }
    .header-panel { min-width:0; }
    .main-nav { width:100%; gap:8px; padding:10px; }
    .main-nav-links,.main-nav-user { flex-wrap:nowrap; gap:2px; }
    .main-nav-user { flex-shrink:0; padding-left:10px; }
    .main-nav-links > a { padding:10px 9px; }
}
@media (min-width:781px) and (max-width:1199px) {
    .header-inner { flex-wrap:wrap; gap:16px; }
    .header-panel { flex-basis:100%; }
}
@media (max-width:780px) {
    .hero .hero-search-form { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .hero .hero-search-form > .search-field:nth-child(-n+2) { grid-column:1 / -1; }
    .hero .search-field { min-width:0; padding:10px 12px; }
    .hero .search-field > i { flex-shrink:0; margin-right:10px; }
}
.contact-breadcrumb { display:flex; gap:12px; align-items:center; padding:12px 16px; background:#f3f5f7; border:1px solid #e1e5ea; border-radius:5px; color:#697586; font-size:14px; margin-bottom:28px; }
.contact-breadcrumb span { color:#b2bbc6; }
.contact-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 16px; align-items:start; }
.contact-wide { grid-column:1 / -1; }
.contact-section { border:1px solid #cbd5df; border-radius:6px; overflow:hidden; background:#fff; }
.contact-section h2 { margin:0; padding:14px 18px; background:#073e73; color:#fff; font-size:18px; font-weight:500; line-height:1.4; }
.contact-section h2 i { margin-right:8px; font-size:15px; }
.contact-section-body { padding:18px; font-size:14px; line-height:1.65; }
.contact-section-body p { margin:0; }
.contact-form-grid { display:grid; grid-template-columns:1fr 2fr; gap:14px; }
.contact-form-details { display:grid; gap:12px; }
.contact-form-grid .form-control,.contact-form-grid .form-select { font-size:14px; border-radius:4px; }
.contact-form-grid textarea { height:100%; min-height:148px; resize:vertical; }
.contact-form-footer { display:flex; justify-content:space-between; align-items:center; gap:18px; margin-top:18px; }
.contact-form-footer small { color:#738092; font-size:12px; }
.contact-form-footer .btn { white-space:nowrap; }
.contact-status { margin-top:16px; }
.public-refund-form { max-width:760px; margin:0 auto; padding:8px 0; }
.regulations-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.regulations-document { display:flex; flex-direction:column; border:1px solid #cbd5df; border-radius:6px; overflow:hidden; background:#fff; }
.regulations-document h2 { display:flex; align-items:center; gap:12px; margin:0; padding:18px; background:#073e73; color:#fff; font-size:16px; font-weight:500; line-height:1.5; flex:1; }
.regulations-document h2 i { flex-shrink:0; width:22px; text-align:center; }
.regulations-document-body { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px; }
.regulations-document-body span { color:#738092; font-size:13px; }
.regulations-document-body span i { margin-right:6px; }
@media (max-width:767px) {
    .regulations-grid { grid-template-columns:minmax(0,1fr); }
    .contact-grid,.contact-form-grid { grid-template-columns:minmax(0,1fr); }
    .contact-form-footer { flex-direction:column; align-items:stretch; }
    .contact-form-footer .btn { justify-content:center; }
}
