
.site-header { position: absolute; z-index: 30; inset: 0 0 auto; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.28); background: rgba(16,26,34,.96); backdrop-filter: blur(8px); }
.site-header.is-condensed { position: fixed; color: var(--ink); background: rgba(246,248,248,.98); border-color: var(--steel); }
.site-header.is-condensed .header-inner { min-height: 52px; }
.site-header.is-condensed .brand img { height: 2rem; }
.site-header.is-condensed .primary-nav a { padding-block: .3rem; }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; flex: 0 0 auto; min-height: 44px; align-items: center; padding: .25rem 0; }
.brand img { width: auto; height: 3.2rem; max-width: 11rem; }
.site-header .brand img { content: url("../logo-inverse.svg"); }
.site-header.is-condensed .brand img { content: url("../logo.svg"); }
.primary-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(.65rem, 2vw, 2rem); min-width: 0; }
.primary-nav a { display: inline-flex; min-height: 44px; align-items: center; padding: .55rem .1rem; color: inherit; font-family: var(--display); font-size: .94rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid transparent; transition: color var(--duration-fast), border-color var(--duration-fast), transform var(--duration-fast); }
.primary-nav a:hover { color: var(--ice); border-color: currentColor; transform: translateY(-1px); }
.primary-nav a:active { color: var(--ice-deep); transform: translateY(0); }
.primary-nav a:focus-visible { outline: 3px solid var(--ice); outline-offset: 4px; }
.nav-toggle { display: none; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: .65rem; color: inherit; border: 1px solid currentColor; transition: background-color var(--duration-fast), color var(--duration-fast), transform var(--duration-fast); }
.nav-toggle:hover { color: var(--ink); background: var(--ice); transform: translateY(-1px); }
.nav-toggle:active { color: var(--ink); background: var(--white); transform: translateY(0); }
.nav-toggle:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; }
.header-inquiry { display: inline-flex !important; padding-inline: .85rem !important; border: 1px solid currentColor; }
.header-inquiry:hover { color: var(--ink) !important; background: var(--ice); border-color: var(--ice); }
.header-inquiry:active { color: var(--ink) !important; background: var(--white); }

.button { display: inline-flex; width: fit-content; max-width: 100%; min-height: 46px; align-items: center; justify-content: center; gap: .6rem; padding: .7rem 1.05rem; color: var(--ink); background: var(--ice); border: 1px solid var(--ice); border-radius: var(--radius); font-family: var(--display); font-size: .94rem; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; transition: background-color var(--duration-fast), border-color var(--duration-fast), color var(--duration-fast), box-shadow var(--duration-fast), transform var(--duration-fast); }
.button:hover { color: var(--ink); background: var(--white); border-color: var(--white); box-shadow: 0 6px 0 rgba(139,212,208,.4); transform: translateY(-2px); }
.button:active { color: var(--ink); background: var(--ice-deep); border-color: var(--ice-deep); box-shadow: none; transform: translateY(0); }
.button:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; }
.button--dark { color: var(--white); background: var(--ink); border-color: var(--ink); }
.button--dark:hover { color: var(--ink); background: var(--ice); border-color: var(--ice); }
.button--dark:active { color: var(--white); background: var(--slate); border-color: var(--slate); }
.button--outline { color: var(--ink); background: transparent; border-color: var(--line-strong); }
.button--outline:hover { color: var(--ink); background: var(--mist); border-color: var(--ink); }
.button--outline:active { color: var(--white); background: var(--slate); border-color: var(--slate); }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: .4rem; color: var(--ink); font-family: var(--display); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--ice-deep); transition: color var(--duration-fast), background-color var(--duration-fast), border-color var(--duration-fast), transform var(--duration-fast); }
.text-link:hover { color: var(--ink); background: var(--ice-pale); border-color: var(--ink); transform: translateX(2px); }
.text-link:active { color: var(--ice-deep); background: transparent; transform: translateX(0); }
.text-link:focus-visible { outline: 3px solid var(--ice-deep); outline-offset: 3px; }

.route-list { display: grid; gap: 0; border-top: 1px solid var(--steel); }
.route-row { display: grid; grid-template-columns: minmax(150px, .7fr) minmax(0, 1.35fr) minmax(130px, .7fr); gap: clamp(1rem, 3vw, 3.5rem); align-items: start; padding: clamp(1.25rem, 3vw, 2.5rem) 0; border-bottom: 1px solid var(--steel); }
.route-row > * { min-width: 0; }
.route-row h3 { font-size: var(--fefe-e29); }
.route-row p { color: var(--slate); }
.route-row .route-meta { padding-top: .25rem; }
.route-meta { color: var(--slate); font-family: var(--mono); font-size: var(--step--2); line-height: 1.55; }
.route-meta strong { display: block; margin-bottom: .5rem; color: var(--ink); font-family: var(--display); font-size: .9rem; }
.route-image { overflow: hidden; background: var(--mist); }
.route-image img { width: 100%; aspect-ratio: 1.5; object-fit: cover; transition: transform 700ms var(--ease-out); }
.route-image:hover img { transform: scale(1.025); }
.service-mark { display: inline-flex; width: 2.3rem; height: 2.3rem; align-items: center; justify-content: center; margin-bottom: 1rem; color: var(--ice-deep); border: 1px solid var(--steel); font-family: var(--mono); font-size: .8rem; }

.surface-panel { padding: clamp(1.25rem, 3vw, 2.5rem); border: 1px solid var(--steel); background: var(--white); }
.surface-panel--dark { color: var(--white); background: var(--ink); border-color: var(--slate); }
.surface-panel.surface-panel--dark p, .surface-panel.surface-panel--dark .kicker { color: #e4edef; }
.surface-panel--dark a:not(.button) { color: var(--ice); }
.status-chip { display: inline-flex; min-height: 27px; align-items: center; padding: .25rem .65rem; color: var(--ink); background: var(--ice); border-radius: var(--radius-status); font-family: var(--mono); font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; }
.note-line { display: flex; gap: .75rem; align-items: baseline; padding: .8rem 0; border-bottom: 1px solid var(--steel); }
.note-line dt { flex: 0 0 9rem; color: var(--slate); font-family: var(--mono); font-size: .72rem; text-transform: uppercase; }
.note-line dd { margin: 0; }

.site-footer { position: relative; z-index: 2; padding: clamp(4rem, 8vw, 8rem) 0 1.5rem; color: var(--white); background: var(--night); }
.footer-top { display: grid; grid-template-columns: minmax(170px, .8fr) minmax(0, 1.25fr) minmax(180px, .8fr); gap: clamp(2rem, 6vw, 7rem); padding-bottom: clamp(3rem, 6vw, 6rem); }
.footer-brand { align-self: start; }
.footer-brand img { width: auto; height: 4.2rem; }
.footer-title { margin-bottom: .9rem; color: var(--ice); font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-copy { color: #c5d0d4; }
.footer-contact { display: grid; gap: .2rem; }
.footer-contact a, .footer-contact address { display: block; min-height: 44px; padding: .55rem 0; color: var(--white); text-decoration: none; }
.footer-contact a:hover { color: var(--ice); }
.footer-contact a:active { color: var(--ice-deep); }
.footer-contact a:focus-visible { outline-color: var(--ice); }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .15rem 1.4rem; align-content: start; }
.footer-links a { min-height: 44px; padding: .55rem 0; color: #dbe4e6; text-decoration: none; }
.footer-links a:hover { color: var(--ice); }
.footer-links a:active { color: var(--white); }
.footer-links a:focus-visible { outline-color: var(--ice); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-top: 1.1rem; border-top: 1px solid #40515e; color: #abb9bd; font-family: var(--mono); font-size: .7rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .15rem 1.2rem; }
.footer-legal a { min-height: 40px; padding: .45rem 0; color: inherit; }
.footer-legal a:hover { color: var(--ice); }
.footer-legal a:active { color: var(--white); }
.footer-legal a:focus-visible { outline-color: var(--ice); }

.form-shell { padding: clamp(1.25rem, 4vw, 3rem); background: var(--white); border: 1px solid var(--steel); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; align-items: start; }
.field { display: grid; gap: .4rem; min-width: 0; align-content: start; }
.field--wide { grid-column: 1 / -1; }
.field label, .field legend { color: var(--ink); font-family: var(--display); font-size: .92rem; font-weight: 600; }
.field label span, .field legend span { color: var(--slate); font-family: var(--body); font-size: .87rem; font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .7rem .8rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--radius); transition: background-color var(--duration-fast), border-color var(--duration-fast), box-shadow var(--duration-fast); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { background: var(--white); border-color: var(--slate); }
.field input:active, .field select:active, .field textarea:active { border-color: var(--ice-deep); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { background: var(--white); border-color: var(--ice-deep); box-shadow: 0 0 0 3px var(--ice-pale); outline: none; }
.field [aria-invalid=true] { border-color: var(--danger); }
.field-error { min-height: 1.25em; color: var(--danger); font-size: .84rem; }
.form-note { color: var(--slate); font-size: .9rem; }
.checkline { display: flex; gap: .7rem; align-items: flex-start; color: var(--slate); font-size: .9rem; }

.checkline input { width: 1.25rem; height: 1.25rem; flex: 0 0 auto; margin-top: .15rem; accent-color: var(--ice-deep); }
.checkline a { color: var(--ink); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.form-status { min-height: 1.4em; color: var(--slate); }

.cookie-banner { position: fixed; z-index: 70; right: 0; bottom: 0; left: 0; display: none; color: var(--white); background: var(--ink); border-top: 1px solid var(--ice); box-shadow: 0 -10px 35px rgba(16,26,34,.2); }
.cookie-banner.is-visible { display: block; }
.cookie-banner[data-906226] { max-height: none; overflow: visible; }
.cookie-inner { display: flex; flex-wrap: wrap; min-height: 68px; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: .5rem 0; }
.cookie-copy { min-width: 0; color: #edf3f3; font-size: .88rem; }
.cookie-copy a { color: var(--ice); }
.cookie-actions { display: flex; flex: 0 1 auto; flex-wrap: wrap; gap: .5rem; min-width: 0; }
.cookie-actions button { white-space: nowrap; }
.cookie-actions button { min-height: 44px; padding: .55rem .9rem; color: var(--ink); background: var(--ice); border: 1px solid var(--ice); font-family: var(--display); font-size: .86rem; font-weight: 600; transition: background-color var(--duration-fast), border-color var(--duration-fast), color var(--duration-fast), transform var(--duration-fast); }
.cookie-actions button:hover { color: var(--ink); background: var(--white); border-color: var(--white); transform: translateY(-1px); }
.cookie-actions button:active { background: var(--ice-deep); border-color: var(--ice-deep); transform: none; }
.cookie-actions button:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; }
.cookie-actions .cookie-deny { color: var(--white); background: transparent; border-color: #7d8e95; }
.cookie-actions .cookie-deny:hover { color: var(--ink); background: var(--white); border-color: var(--white); }
.consent-reopen { min-height: 40px; padding: .4rem .3rem; color: inherit; text-decoration: underline; transition: background-color 160ms, color 160ms, box-shadow 160ms; }
.consent-reopen:hover { background: #40515e; box-shadow: 0 2px 0 var(--ice); }
.consent-reopen:active { background: #197a76; box-shadow: none; }
.consent-reopen:hover { color: var(--ice); }
.consent-reopen:active { color: var(--white); }
.consent-reopen:focus-visible { outline-color: var(--ice); }

.chat-launcher { position: fixed; z-index: 65; right: clamp(1rem, 3vw, 2rem); bottom: 1.25rem; display: inline-flex; min-width: 50px; min-height: 50px; align-items: center; justify-content: center; gap: .45rem; padding: .7rem .85rem; color: var(--ink); background: var(--ice); border: 1px solid var(--ice); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(16,26,34,.2); font-family: var(--display); font-weight: 600; transition: background-color var(--duration-fast), border-color var(--duration-fast), box-shadow var(--duration-fast), transform var(--duration-fast); }
.chat-launcher:hover { background: var(--white); border-color: var(--white); box-shadow: 0 10px 28px rgba(16,26,34,.28); transform: translateY(-2px); }
.chat-launcher:active { background: var(--ice-deep); border-color: var(--ice-deep); box-shadow: 0 5px 15px rgba(16,26,34,.18); transform: translateY(0); }
.chat-launcher:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.chat-count { display: none; min-width: 1.25rem; min-height: 1.25rem; padding: .1rem .25rem; align-items: center; justify-content: center; color: var(--white); background: var(--danger); border-radius: var(--radius-status); font-family: var(--mono); font-size: .68rem; }
.chat-count.is-visible { display: inline-flex; }
.chat-panel { position: fixed; z-index: 66; right: clamp(1rem, 3vw, 2rem); bottom: 1.25rem; display: none; width: min(420px, calc(100vw - 2rem)); max-height: min(680px, calc(100vh - 2rem)); flex-direction: column; color: var(--ink); background: var(--white); border: 1px solid var(--steel); box-shadow: var(--shadow-deep); }
.chat-panel.is-open { display: flex; }

.chat-header { display: flex; min-height: 64px; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; color: var(--white); background: var(--ink); }
.chat-header h2 { color: var(--white); font-size: 1.15rem; letter-spacing: -.02em; }
.chat-close { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; color: var(--white); border: 1px solid #77878e; transition: background-color var(--duration-fast), color var(--duration-fast), transform var(--duration-fast); }
.chat-close:hover { color: var(--ink); background: var(--ice); transform: translateY(-1px); }
.chat-close:active { color: var(--white); background: var(--slate); transform: none; }
.chat-close:focus-visible { outline-color: var(--ice); }
.chat-messages { flex: 1 1 auto; min-height: 150px; overflow-y: auto; padding: 1rem; background: var(--paper); }
.chat-message { max-width: 88%; margin-bottom: .8rem; padding: .7rem .8rem; background: var(--white); border: 1px solid var(--steel); font-size: .94rem; }
.chat-message.is-user { margin-left: auto; color: var(--ink); background: var(--ice-pale); border-color: var(--ice); }
.chat-form { display: grid; gap: .7rem; padding: 1rem; border-top: 1px solid var(--steel); }
.chat-form textarea { width: 100%; min-height: 76px; padding: .65rem; resize: vertical; border: 1px solid var(--line-strong); background: var(--paper); }
.chat-form textarea:hover { background: var(--white); border-color: var(--slate); }
.chat-form textarea:active { border-color: var(--ice-deep); }
.chat-form textarea:focus-visible { outline: 3px solid var(--ice-pale); border-color: var(--ice-deep); }
.chat-intro { display: grid; gap: .7rem; padding: 1rem; border-bottom: 1px solid var(--steel); }
.chat-intro input { min-height: 44px; padding: .6rem; border: 1px solid var(--line-strong); background: var(--paper); }
.chat-intro input:hover { background: var(--white); border-color: var(--slate); }
.chat-intro input:active { border-color: var(--ice-deep); }
.chat-intro input:focus-visible { outline: 3px solid var(--ice-pale); border-color: var(--ice-deep); }
.chat-feedback { min-height: 1.25em; color: var(--danger); font-size: .84rem; }

@media (max-width: 800px) {
    .site-header { background: rgba(16,26,34,.88); }
    .site-header.is-condensed { background: rgba(246,248,248,.97); }
    .nav-toggle { display: inline-flex; }
    .primary-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: .8rem var(--gutter) 1.1rem; color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--steel); box-shadow: var(--shadow-soft); }
    .primary-nav.is-open { display: flex; }
    .primary-nav a { min-height: 48px; padding: .7rem 0; border-bottom: 1px solid var(--steel); }
    .primary-nav a:hover { background: var(--mist); padding-left: .5rem; }

    .header-inner { position: relative; }
    .route-row { grid-template-columns: minmax(0, 1fr) minmax(120px, .65fr); }
    .route-row > :nth-child(2) { grid-row: span 2; grid-column: 2; }
    .route-row .route-meta { grid-column: 1; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .cookie-inner { align-items: flex-start; }
    .chat-launcher { bottom: 5.8rem; }
    .chat-panel { bottom: .7rem; }
}
@media (max-width: 520px) {
    .brand img { height: 2.8rem; }
    .route-row { display: grid; grid-template-columns: 1fr; }
    .route-row > :nth-child(2) { grid-row: auto; grid-column: auto; order: 2; }
    .route-row .route-meta { grid-column: auto; order: 3; }
    .form-grid { grid-template-columns: 1fr; }
    .field--wide { grid-column: auto; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-brand { grid-column: auto; }
    .footer-links { grid-template-columns: 1fr; }
    .cookie-inner { display: grid; gap: .55rem; }
    .cookie-actions { width: 100%; }
    .cookie-actions button { flex: 1 1 100%; }
    .cookie-banner .cookie-actions button { white-space: nowrap; overflow-wrap: normal; padding-block: .35rem; }
    .chat-panel { width: calc(100vw - 1rem); right: .5rem; bottom: .5rem; max-height: calc(100vh - 1rem); }
}
