/* BlueNova — public subpages (contact, cookies, legal) */

.bn-subpage__main {
    min-height: calc(100vh - 280px);
    padding-bottom: 64px;
}

.bn-sub-hero {
    position: relative;
    padding: 120px 0 48px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bn-sub-hero__mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 20% 0%, rgba(26, 111, 232, 0.18), transparent 55%),
        radial-gradient(ellipse 50% 40% at 90% 20%, rgba(0, 207, 240, 0.12), transparent 50%);
    pointer-events: none;
}

.bn-sub-hero__inner {
    position: relative;
    max-width: 760px;
}

.bn-sub-hero__eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bn-cyan);
}

.bn-sub-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #fff;
}

.bn-sub-hero p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.62);
    max-width: 56ch;
}

.bn-sub-body {
    padding: 40px 0 0;
}

.bn-sub-body .container {
    max-width: 1080px;
}

.bn-sub-flash {
    max-width: 1080px;
    margin: 88px auto 0;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}

.bn-sub-flash--success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
}

.bn-sub-flash--error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}

.bn-sub-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: 28px;
    align-items: start;
}

.bn-sub-card {
    padding: 28px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
}

.bn-sub-card h2 {
    margin: 0 0 12px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

.bn-sub-card p {
    margin: 0 0 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.68);
}

.bn-sub-card p:last-child {
    margin-bottom: 0;
}

.bn-sub-aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bn-sub-info {
    padding: 22px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(26, 111, 232, 0.12), rgba(0, 207, 240, 0.06));
    border: 1px solid rgba(0, 207, 240, 0.18);
}

.bn-sub-info__label {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.bn-sub-info__value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.bn-sub-info__value--accent {
    color: var(--bn-cyan);
}

.bn-sub-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.bn-sub-social a {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.18s, color 0.18s, background 0.18s;
}

.bn-sub-social a:hover {
    color: #fff;
    border-color: rgba(0, 207, 240, 0.45);
    background: rgba(0, 207, 240, 0.1);
}

/* Contact form */
.bn-sub-form label {
    display: block;
    margin-bottom: 16px;
}

.bn-sub-form label span {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.48);
}

.bn-sub-form input,
.bn-sub-form textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(6, 13, 26, 0.65);
    color: #fff;
    font: inherit;
    transition: border-color 0.18s, box-shadow 0.18s;
}

.bn-sub-form input:focus,
.bn-sub-form textarea:focus {
    outline: none;
    border-color: rgba(0, 207, 240, 0.55);
    box-shadow: 0 0 0 3px rgba(0, 207, 240, 0.12);
}

.bn-sub-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Cookie pages */
.bn-cookie-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bn-cookie-type {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: start;
    padding: 22px 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.bn-cookie-type--locked {
    background: rgba(255, 255, 255, 0.02);
}

.bn-cookie-type__icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(0, 207, 240, 0.1);
    border: 1px solid rgba(0, 207, 240, 0.22);
    font-size: 18px;
}

.bn-cookie-type__body strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
}

.bn-cookie-type__body p {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.58);
}

.bn-cookie-type__meta {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 6px;
}

.bn-cookie-type__meta li {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.42);
}

.bn-cookie-type__meta code {
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
}

.bn-cookie-type__badge {
    align-self: start;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.06);
    white-space: nowrap;
}

.bn-cookie-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bn-cookie-saved {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.28);
}

.bn-cookie-saved[hidden] {
    display: none !important;
}

.bn-cookie-settings-page .cookie-toggle {
    align-self: center;
}

.bn-sub-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.bn-footer--sub {
    margin-top: 0;
}

@media (max-width: 900px) {
    .bn-sub-grid {
        grid-template-columns: 1fr;
    }

    .bn-cookie-type {
        grid-template-columns: 1fr;
    }

    .bn-cookie-type__icon {
        display: none;
    }

    .bn-cookie-type__badge,
    .bn-cookie-settings-page .cookie-toggle {
        justify-self: start;
    }
}

@media (max-width: 640px) {
    .bn-sub-hero {
        padding-top: 104px;
    }

    .bn-sub-form-row {
        grid-template-columns: 1fr;
    }

    .bn-sub-flash {
        margin-left: 16px;
        margin-right: 16px;
    }

    .bn-cookie-page-actions,
    .bn-sub-actions {
        flex-direction: column;
    }

    .bn-cookie-page-actions .bn-btn,
    .bn-sub-actions .bn-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Public schedules page */
.bn-schedules-page__main {
    min-height: calc(100vh - 220px);
}

.bn-schedules-page__hero {
    padding-top: 108px;
}

.bn-schedules-page__status {
    margin: 18px 0 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
}

.bn-schedules-page__status a {
    margin-left: 8px;
    color: var(--bn-cyan);
    font-weight: 700;
    text-decoration: none;
}

.bn-schedules-page__status a:hover {
    text-decoration: underline;
}

.bn-schedules-page__body {
    padding: 28px 0 72px;
}

.bn-schedules-page .pilot-aev-schedules {
    margin: 0;
}

.bn-schedules-page .pilot-aev-schedules__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pilot-aev-schedules__live-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #34d399;
    background: rgba(52, 211, 153, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.28);
    border-radius: 999px;
    padding: 4px 10px;
    white-space: nowrap;
}

.is-hidden {
    display: none !important;
}
