/* ============================================================================
   Vehicly App Layout
   ----------------------------------------------------------------------------
   Global header, navigation, footer, language switcher, cookie consent.
   All design tokens and UX primitives live in ux-consistency.css.
   This file handles ONLY structural layout components.
   ============================================================================ */


/* -- Global Header ---------------------------------------------------------- */

.vh-global-header {
    position: sticky;
    top: 0;
    inset-inline: 0;
    z-index: var(--z-sticky, 1200);
    background: rgba(250, 249, 247, .88);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border-bottom: 1px solid transparent;
    transition:
        background var(--duration-base, .25s) var(--ease, cubic-bezier(.4,0,.2,1)),
        border-color var(--duration-base, .25s) var(--ease, cubic-bezier(.4,0,.2,1)),
        box-shadow var(--duration-base, .25s) var(--ease, cubic-bezier(.4,0,.2,1));
}

/* Glassmorphism fallback for browsers without backdrop-filter */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .vh-global-header {
        background: rgba(250, 249, 247, .96);
    }
}

.vh-global-header.vh-scrolled {
    background: rgba(250, 249, 247, .96);
    border-bottom-color: var(--vh-border, #e7e5e4);
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(15,23,42,.06));
}

.vh-header-inner {
    max-width: var(--container-header, 1280px);
    margin: 0 auto;
    padding: 0 var(--space-8, 2rem);
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6, 1.5rem);
}


/* -- Logo ------------------------------------------------------------------- */

.vh-logo {
    font-family: var(--vh-font-display, 'Inter', system-ui, sans-serif);
    font-weight: var(--weight-bold, 700);
    font-size: 1.45rem;
    letter-spacing: -0.02em;
    color: var(--vh-text, #0f172a);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2, .5rem);
    transition: opacity var(--duration-fast, .15s) var(--ease);
    flex-shrink: 0;
}

.vh-logo:hover {
    opacity: 0.8;
}

.vh-logo-mark {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--vh-primary, #F2C94C);
    flex-shrink: 0;
    transition:
        transform var(--duration-base, .25s) var(--ease-spring, cubic-bezier(.34,1.56,.64,1));
}

.vh-logo:hover .vh-logo-mark {
    transform: scale(1.15);
}


/* -- Navigation ------------------------------------------------------------- */

.vh-nav {
    display: flex;
    align-items: center;
    gap: var(--space-1, .25rem);
    flex: 1;
    justify-content: center;
}

.vh-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: var(--space-2, .5rem) var(--space-3, .75rem);
    border-radius: var(--radius-sm, 10px);
    font-weight: var(--weight-medium, 500);
    font-size: var(--text-body-sm, .9rem);
    color: var(--vh-text-secondary, #475569);
    text-decoration: none;
    transition:
        color var(--duration-fast, .15s) var(--ease),
        background var(--duration-fast, .15s) var(--ease);
    white-space: nowrap;
}

.vh-nav a:hover,
.vh-nav a:focus-visible {
    color: var(--vh-text, #0f172a);
    background: var(--vh-highlight, #fffbeb);
}

.vh-nav a.vh-active {
    color: var(--vh-primary, #F2C94C);
    background: var(--vh-primary-soft, rgba(242,201,76,.06));
    font-weight: var(--weight-semi, 600);
}


/* -- Header Actions --------------------------------------------------------- */

.vh-actions {
    display: flex;
    align-items: center;
    gap: var(--space-2, .5rem);
    flex-shrink: 0;
}


/* -- Notification Bell ------------------------------------------------------ */

.vh-notif-wrap { position: relative; }

.vh-notif-btn {
    position: relative;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm, 10px);
    cursor: pointer;
    color: var(--vh-text-secondary, #475569);
    transition:
        background var(--duration-fast, .15s) var(--ease),
        color var(--duration-fast, .15s) var(--ease);
}

.vh-notif-btn:hover {
    background: var(--vh-highlight, #fffbeb);
    color: var(--vh-text, #0f172a);
}

.vh-notif-btn:focus-visible {
    outline: 2px solid var(--vh-primary, #F2C94C);
    outline-offset: 2px;
}

.vh-notif-badge {
    position: absolute;
    top: 3px;
    right: 3px;
    min-width: 16px;
    height: 16px;
    background: var(--vh-error, #dc2626);
    color: var(--vh-surface);
    font-size: .6rem;
    font-weight: var(--weight-bold, 700);
    border-radius: var(--radius-pill, 9999px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
    box-shadow: 0 1px 4px rgba(var(--vh-error-rgb, 220, 38, 38), .3);
}

.vh-notif-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: -60px;
    width: 340px;
    background: var(--vh-surface, #fff);
    border: 1px solid var(--vh-border, #e2e8f0);
    border-radius: var(--radius-lg, 18px);
    box-shadow: var(--shadow-xl, 0 20px 25px -5px rgba(15,23,42,.08));
    z-index: var(--z-dropdown, 1300);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(0.98);
    transition:
        opacity var(--duration-fast, .15s) var(--ease),
        transform var(--duration-fast, .15s) var(--ease),
        visibility var(--duration-fast, .15s);
    overflow: hidden;
}

.vh-notif-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.vh-notif-header {
    padding: var(--space-3, .75rem) var(--space-4, 1rem);
    font-size: var(--text-overline, .72rem);
    font-weight: var(--weight-bold, 700);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--vh-text-secondary, #475569);
    border-bottom: 1px solid var(--vh-border, #e2e8f0);
}

.vh-notif-list {
    max-height: 320px;
    overflow-y: auto;
}

.vh-notif-empty {
    padding: var(--space-8, 2rem) var(--space-4, 1rem);
    text-align: center;
    color: var(--vh-text-secondary, #475569);
    font-size: var(--text-card, .85rem);
}

.vh-notif-item {
    display: flex;
    gap: var(--space-2, .5rem);
    padding: var(--space-3, .75rem) var(--space-4, 1rem);
    border-bottom: 1px solid rgba(0, 0, 0, .03);
    transition: background var(--duration-micro, .1s) var(--ease);
}

.vh-notif-item:hover {
    background: var(--vh-highlight, #fffbeb);
}

.vh-notif-item:last-child {
    border-bottom: none;
}

.vh-notif-item.unread {
    background: var(--vh-primary-soft, rgba(242,201,76,.06));
}

.vh-notif-icon {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm, 10px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--vh-bg, #f8fafc);
}

.vh-notif-content { flex: 1; min-width: 0; }

.vh-notif-title {
    font-size: var(--text-card, .85rem);
    font-weight: var(--weight-semi, 600);
    color: var(--vh-text, #0f172a);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vh-notif-msg {
    font-size: var(--text-caption, .75rem);
    color: var(--vh-text-secondary, #475569);
    line-height: 1.4;
    margin-top: 0.15rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vh-notif-time {
    font-size: var(--text-micro, .65rem);
    color: var(--vh-text-tertiary, #94a3b8);
    margin-top: 0.2rem;
}


/* -- User Menu Dropdown ----------------------------------------------------- */

.vh-user-menu-wrap {
    position: relative;
}

.vh-user-menu-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px 5px 6px;
    border: 1px solid var(--vh-border, #e2e8f0);
    border-radius: var(--radius-pill, 9999px);
    background: var(--vh-surface, #fff);
    cursor: pointer;
    transition: border-color var(--duration-fast, .15s) var(--ease),
                box-shadow var(--duration-fast, .15s) var(--ease);
    font-family: inherit;
    font-size: var(--text-card, .85rem);
    color: var(--vh-text, #0f172a);
    line-height: 1;
}

.vh-user-menu-btn:hover {
    border-color: var(--vh-primary, #F2C94C);
    box-shadow: 0 0 0 3px rgba(var(--vh-primary-rgb, 242,201,76),.12);
}

.vh-user-avatar svg {
    width: 18px;
    height: 18px;
    color: var(--vh-text-secondary, #475569);
}

.vh-user-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: var(--weight-semi, 600);
}

.vh-user-menu-btn > svg {
    width: 14px;
    height: 14px;
    color: var(--vh-text-tertiary, #94a3b8);
    transition: transform var(--duration-fast, .15s) var(--ease);
    flex-shrink: 0;
}

.vh-user-dropdown.open ~ .vh-user-menu-btn > svg,
.vh-user-menu-wrap .vh-user-dropdown.open + .vh-user-menu-btn > svg {
    transform: rotate(180deg);
}

.vh-user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 190px;
    background: var(--vh-surface, #fff);
    border: 1px solid var(--vh-border, #e2e8f0);
    border-radius: var(--radius-lg, 18px);
    box-shadow: var(--shadow-xl, 0 20px 25px -5px rgba(15,23,42,.08));
    z-index: var(--z-dropdown, 1300);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(0.98);
    transition:
        opacity var(--duration-fast, .15s) var(--ease),
        transform var(--duration-fast, .15s) var(--ease),
        visibility var(--duration-fast, .15s);
    overflow: hidden;
    padding: 6px 0;
}

.vh-user-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.vh-user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    font-size: var(--text-card, .85rem);
    color: var(--vh-text, #0f172a);
    text-decoration: none;
    transition: background var(--duration-micro, .1s) var(--ease);
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    font-family: inherit;
}

.vh-user-dropdown-item:hover {
    background: var(--vh-highlight, #fffbeb);
}

.vh-user-dropdown-item svg {
    width: 16px;
    height: 16px;
    color: var(--vh-text-secondary, #475569);
    flex-shrink: 0;
}

.vh-user-dropdown-divider {
    height: 1px;
    background: var(--vh-border, #e2e8f0);
    margin: 4px 0;
}

.vh-user-dropdown-item.vh-logout-btn {
    color: var(--vh-error, #ef4444);
}

.vh-user-dropdown-item.vh-logout-btn svg {
    color: var(--vh-error, #ef4444);
}

.vh-mobile-actions {
    display: none;
}


/* -- Header Buttons ---------------------------------------------------------
   Base .vh-btn styles (border, cursor, display, transition, etc.) are in
   ux-consistency.css. Only header-specific overrides live here.
   -------------------------------------------------------------------------- */

.vh-global-header .vh-btn {
    padding: 0.55rem 1.1rem;
    font-size: 0.875rem;
    font-weight: var(--weight-semi, 600);
    background: var(--vh-surface, #fff);
    color: var(--vh-text, #0f172a);
    box-shadow: inset 0 0 0 1px var(--vh-border, #e2e8f0);
    white-space: nowrap;
}

.vh-global-header .vh-btn:hover,
.vh-global-header .vh-btn:focus-visible {
    transform: translateY(-1px);
    box-shadow: inset 0 0 0 1px var(--vh-primary-border, rgba(242,201,76,.22)), var(--shadow-sm);
    color: var(--vh-primary, #F2C94C);
}

.vh-global-header .vh-btn.vh-solid {
    background: var(--vh-primary, #F2C94C);
    color: var(--vh-on-primary, #1a1a1a);
    box-shadow: var(--shadow-md);
}

.vh-global-header .vh-btn.vh-solid:hover,
.vh-global-header .vh-btn.vh-solid:focus-visible {
    background: var(--vh-primary-hover, #E5B93A);
    box-shadow: var(--shadow-lg);
    transform: translateY(-1px);
}


/* -- Hamburger Toggle ------------------------------------------------------- */

.vh-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--vh-border, #e2e8f0);
    border-radius: var(--radius-sm, 10px);
    background: var(--vh-surface, #fff);
    color: var(--vh-text, #0f172a);
    cursor: pointer;
    transition:
        background var(--duration-fast, .15s) var(--ease),
        border-color var(--duration-fast, .15s) var(--ease);
    flex-shrink: 0;
    font-size: 1.15rem;
    line-height: 1;
}

.vh-menu-toggle:hover,
.vh-menu-toggle:focus-visible {
    background: var(--vh-highlight, #fffbeb);
    border-color: var(--vh-primary-border, rgba(242,201,76,.22));
}


/* -- Language Switcher ------------------------------------------------------ */

.vh-lang-switch {
    position: relative;
}

.vh-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.65rem;
    border-radius: var(--radius-sm, 10px);
    border: 1px solid var(--vh-border, #e2e8f0);
    background: var(--vh-surface, #fff);
    color: var(--vh-text, #0f172a);
    font-weight: var(--weight-semi, 600);
    font-size: var(--text-label, .78rem);
    cursor: pointer;
    transition:
        border-color var(--duration-fast, .15s) var(--ease),
        background var(--duration-fast, .15s) var(--ease),
        box-shadow var(--duration-fast, .15s) var(--ease);
    font-family: inherit;
}

.vh-lang-btn:hover,
.vh-lang-btn:focus-visible {
    border-color: var(--vh-primary-border, rgba(242,201,76,.22));
    background: var(--vh-highlight, #fffbeb);
    box-shadow: 0 0 0 3px rgba(var(--vh-primary-rgb, 242,201,76), .08);
}

.vh-lang-label {
    min-width: 1.4em;
    text-align: center;
}

.vh-lang-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 180px;
    background: var(--vh-surface, #fff);
    border: 1px solid var(--vh-border, #e2e8f0);
    border-radius: var(--radius-md, 12px);
    box-shadow: var(--shadow-xl);
    padding: var(--space-1, .25rem);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    visibility: hidden;
    transition:
        opacity var(--duration-fast, .15s) var(--ease),
        transform var(--duration-fast, .15s) var(--ease),
        visibility var(--duration-fast, .15s);
    z-index: var(--z-dropdown, 1300);
}

.vh-lang-dropdown.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
}

.vh-lang-option {
    display: flex;
    align-items: center;
    gap: var(--space-2, .5rem);
    width: 100%;
    padding: var(--space-2, .5rem) 0.7rem;
    border-radius: var(--radius-xs, 8px);
    border: none;
    background: none;
    cursor: pointer;
    font-size: var(--text-card, .85rem);
    color: var(--vh-text-secondary, #475569);
    transition:
        background var(--duration-fast, .15s) var(--ease),
        color var(--duration-fast, .15s) var(--ease);
    font-family: inherit;
}

.vh-lang-option:hover {
    background: var(--vh-highlight, #fffbeb);
    color: var(--vh-text, #0f172a);
}

.vh-lang-option:focus-visible {
    outline: 2px solid var(--vh-primary, #F2C94C);
    outline-offset: -2px;
}

.vh-lang-option.active {
    color: var(--vh-text, #0f172a);
    font-weight: var(--weight-semi, 600);
}

.vh-lang-code {
    font-weight: var(--weight-bold, 700);
    min-width: 1.8em;
    color: var(--vh-text, #0f172a);
}

.vh-lang-name {
    flex: 1;
}

.vh-lang-check {
    opacity: 0;
    color: var(--vh-primary, #F2C94C);
    transition: opacity var(--duration-fast, .15s) var(--ease);
}

.vh-lang-option.active .vh-lang-check {
    opacity: 1;
}


/* -- Global Footer ---------------------------------------------------------- */

.vh-global-footer {
    background: var(--vh-text, #0f172a);
    color: var(--vh-text-inverse, rgba(255, 255, 255, .75));
    font-size: var(--text-body-sm, .9rem);
    line-height: var(--leading-normal, 1.6);
}

.vh-footer-inner {
    max-width: var(--container-header, 1280px);
    margin: 0 auto;
    padding: var(--space-16, 4rem) var(--space-8, 2rem) var(--space-8, 2rem);
}

.vh-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-16, 4rem);
    padding-bottom: var(--space-10, 2.5rem);
    /* border animated via ::after pseudo-element */
}

.vh-footer-brand {
    max-width: 320px;
}

.vh-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2, .5rem);
    font-family: var(--vh-font-display, 'Inter', system-ui, sans-serif);
    font-weight: var(--weight-bold, 700);
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--vh-text-inverse, #fff);
    text-decoration: none;
    margin-bottom: var(--space-3, .75rem);
    transition: opacity var(--duration-fast, .15s) var(--ease);
}

.vh-footer-logo:hover {
    opacity: 0.8;
}

.vh-footer-logo .vh-logo-mark {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.vh-footer-tagline {
    color: var(--vh-text-inverse-muted, rgba(255, 255, 255, .55));
    font-size: var(--text-card, .85rem);
    line-height: 1.65;
}

.vh-footer-columns {
    display: flex;
    gap: 4.5rem;
}

.vh-footer-col h4 {
    color: var(--vh-text-inverse-faint, rgba(255, 255, 255, .3));
    font-size: var(--text-overline, .72rem);
    font-weight: var(--weight-bold, 700);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-3, .75rem);
}

.vh-footer-col a {
    display: block;
    color: var(--vh-text-inverse-secondary, rgba(255, 255, 255, .6));
    text-decoration: none;
    padding: 0.3rem 0;
    font-size: var(--text-card, .85rem);
    font-weight: var(--weight-medium, 500);
    transition:
        color var(--duration-fast, .15s) var(--ease),
        padding-inline-start var(--duration-fast, .15s) var(--ease);
}

.vh-footer-col a:hover {
    color: var(--vh-primary, #F2C94C);
    padding-inline-start: 4px;
}

.vh-footer-col a:focus-visible {
    outline: 2px solid var(--vh-primary, #F2C94C);
    outline-offset: 2px;
    border-radius: var(--radius-xs, 8px);
}

.vh-footer-bottom {
    padding-top: var(--space-8, 2rem);
    text-align: center;
    color: var(--vh-text-inverse-faint, rgba(255, 255, 255, .2));
    font-size: var(--text-label, .78rem);
}

.vh-footer-bottom a {
    color: var(--vh-text-inverse-subtle, rgba(255, 255, 255, .35));
    text-decoration: none;
    transition: color var(--duration-fast, .15s) var(--ease);
}

.vh-footer-bottom a:hover {
    color: var(--vh-primary, #F2C94C);
}

/* -- Footer scroll-reveal animations ---------------------------------------- */

@keyframes vh-footer-fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes vh-footer-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes vh-footer-line-grow {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

/* Initial hidden state — applied by JS before intersection */
.vh-footer-reveal {
    opacity: 0;
    transform: translateY(24px);
}

/* Animated state — triggered by IntersectionObserver */
.vh-footer-reveal.vh-revealed {
    animation: vh-footer-fade-up .6s cubic-bezier(.22, 1, .36, 1) forwards;
}

/* Stagger delays for footer children */
.vh-footer-reveal[data-delay="1"] { animation-delay: .08s; }
.vh-footer-reveal[data-delay="2"] { animation-delay: .16s; }
.vh-footer-reveal[data-delay="3"] { animation-delay: .24s; }
.vh-footer-reveal[data-delay="4"] { animation-delay: .32s; }

/* Border-bottom line animation on footer-top */
.vh-footer-top {
    position: relative;
}
.vh-footer-top::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: var(--vh-footer-border, rgba(255, 255, 255, .08));
    transform-origin: left;
    transform: scaleX(0);
    transition: transform .8s cubic-bezier(.22, 1, .36, 1) .3s;
}
.vh-footer-top.vh-revealed::after {
    transform: scaleX(1);
}

/* Footer link hover — subtle slide + glow */
.vh-footer-col a {
    position: relative;
}
.vh-footer-col a::before {
    content: '';
    position: absolute;
    left: -8px; top: 50%;
    width: 3px; height: 3px;
    border-radius: 50%;
    background: var(--vh-primary, #F2C94C);
    transform: translateY(-50%) scale(0);
    transition: transform .2s var(--ease), opacity .2s var(--ease);
    opacity: 0;
}
.vh-footer-col a:hover::before {
    transform: translateY(-50%) scale(1);
    opacity: 1;
}

/* Footer bottom fade-in (delayed) */
.vh-footer-bottom.vh-footer-reveal.vh-revealed {
    animation: vh-footer-fade-in .8s cubic-bezier(.22, 1, .36, 1) .4s forwards;
    transform: none;
}

/* Logo mark subtle pulse on reveal */
@keyframes vh-footer-logo-pulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--vh-primary, #F2C94C); }
    50%      { box-shadow: 0 0 12px 4px rgba(242, 201, 76, .25); }
}
.vh-revealed .vh-footer-logo .vh-logo-mark {
    animation: vh-footer-logo-pulse 1.5s ease-in-out .6s 1;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .vh-footer-reveal,
    .vh-footer-reveal.vh-revealed,
    .vh-footer-bottom.vh-footer-reveal.vh-revealed {
        animation: none !important;
        opacity: 1;
        transform: none;
    }
    .vh-footer-top::after {
        transition: none;
        transform: scaleX(1);
    }
    .vh-footer-col a::before { display: none; }
    .vh-revealed .vh-footer-logo .vh-logo-mark { animation: none; }
}


/* -- Cookie Consent Banner -------------------------------------------------- */

@keyframes vh-slide-up {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#vCookieBanner {
    position: fixed;
    bottom: 0;
    inset-inline: 0;
    z-index: var(--z-consent, 10000);
    background: var(--vh-bg, #f8fafc);
    border-top: 1px solid var(--vh-border, #e2e8f0);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, .06);
    padding: var(--space-5, 1.25rem) var(--space-6, 1.5rem);
    font-family: var(--vh-font-body, system-ui, sans-serif);
    /* Slide-up entrance animation */
    animation: vh-slide-up var(--duration-base, .25s) var(--ease, cubic-bezier(.4,0,.2,1)) both;
    /* Smooth exit via inline styles set by cookie-consent.js */
    transition:
        transform var(--duration-base, .25s) var(--ease, cubic-bezier(.4,0,.2,1)),
        opacity var(--duration-base, .25s) var(--ease, cubic-bezier(.4,0,.2,1));
}

#vCookieBanner .vc-inner {
    max-width: var(--container-section, 1000px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--space-6, 1.5rem);
    flex-wrap: wrap;
}

#vCookieBanner .vc-text {
    flex: 1;
    min-width: 280px;
}

#vCookieBanner .vc-text strong {
    display: block;
    font-size: var(--text-body, .95rem);
    color: var(--vh-text, #0f172a);
    margin-bottom: var(--space-1, .25rem);
}

#vCookieBanner .vc-text p {
    font-size: var(--text-card, .85rem);
    color: var(--vh-text-secondary, #475569);
    line-height: 1.5;
    margin: 0;
}

#vCookieBanner .vc-actions {
    display: flex;
    gap: var(--space-2, .5rem);
    flex-shrink: 0;
}

#vCookieBanner .vc-btn {
    padding: var(--space-2, .5rem) var(--space-4, 1rem);
    border-radius: var(--radius-sm, 10px);
    font-size: var(--text-card, .85rem);
    font-weight: var(--weight-semi, 600);
    font-family: var(--vh-font-body, system-ui, sans-serif);
    cursor: pointer;
    border: 1px solid var(--vh-border, #e2e8f0);
    transition:
        background var(--duration-fast, .15s) var(--ease),
        color var(--duration-fast, .15s) var(--ease),
        border-color var(--duration-fast, .15s) var(--ease),
        transform var(--duration-fast, .15s) var(--ease);
}

#vCookieBanner .vc-btn:hover {
    transform: translateY(-1px);
}

#vCookieBanner .vc-btn:active {
    transform: translateY(0);
}

#vCookieBanner .vc-btn--accept {
    background: var(--vh-primary, #F2C94C);
    color: var(--vh-on-primary, #1a1a1a);
    border-color: var(--vh-primary, #F2C94C);
}

#vCookieBanner .vc-btn--accept:hover {
    background: var(--vh-primary-hover, #E5B93A);
}

#vCookieBanner .vc-btn--reject {
    background: transparent;
    color: var(--vh-text-secondary, #475569);
}

#vCookieBanner .vc-btn--reject:hover {
    background: rgba(0, 0, 0, .04);
}

#vCookieBanner .vc-btn--manage {
    background: transparent;
    color: var(--vh-text, #0f172a);
    text-decoration: underline;
    border: none;
    padding: var(--space-2, .5rem);
}

#vCookieBanner .vc-btn--save {
    background: var(--vh-primary, #F2C94C);
    color: var(--vh-on-primary, #1a1a1a);
    border-color: var(--vh-primary, #F2C94C);
}

#vCookieBanner .vc-details {
    max-width: var(--container-section, 1000px);
    margin: var(--space-4, 1rem) auto 0;
    padding-top: var(--space-4, 1rem);
    border-top: 1px solid var(--vh-border, #e2e8f0);
}

#vCookieBanner .vc-toggle {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3, .75rem);
    padding: var(--space-2, .5rem) 0;
    cursor: pointer;
    font-size: var(--text-card, .85rem);
    color: var(--vh-text, #0f172a);
}

#vCookieBanner .vc-toggle input {
    margin-top: 0.2rem;
    accent-color: var(--vh-primary, #F2C94C);
    width: 16px;
    height: 16px;
}

#vCookieBanner .vc-toggle small {
    color: var(--vh-text-secondary, #475569);
}

#vCookieBanner .vc-details-actions {
    padding: var(--space-3, .75rem) 0 var(--space-1, .25rem);
    text-align: right;
}


/* ============================================================================
   Responsive Breakpoints
   ============================================================================ */

/* -- Tablet & below (900px) ------------------------------------------------- */

@media (max-width: 900px) {
    .vh-header-inner {
        height: 64px;
        padding: 0 var(--space-6, 1.5rem);
    }

    .vh-menu-toggle {
        display: inline-flex;
        min-width: 44px;
        min-height: 44px;
    }

    .vh-nav {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--vh-bg, #f8fafc);
        padding: var(--space-4, 1rem) var(--space-6, 1.5rem) var(--space-6, 1.5rem);
        border-bottom: 1px solid var(--vh-border, #e2e8f0);
        box-shadow: var(--shadow-xl);
        transform: translateY(-16px);
        opacity: 0;
        pointer-events: none;
        gap: var(--space-1, .25rem);
        transition:
            transform var(--duration-base, .25s) var(--ease),
            opacity var(--duration-base, .25s) var(--ease);
        z-index: var(--z-sidebar, 1199);
        justify-content: flex-start;
    }

    .vh-nav.vh-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .vh-nav a {
        width: 100%;
        padding: var(--space-3, .75rem) var(--space-4, 1rem);
        font-size: var(--text-body, .95rem);
    }

    .vh-actions {
        display: none;
    }

    .vh-nav .vh-mobile-actions {
        display: flex;
        flex-direction: column;
        gap: var(--space-2, .5rem);
        width: 100%;
        padding-top: var(--space-3, .75rem);
        margin-top: var(--space-2, .5rem);
        border-top: 1px solid var(--vh-border, #e2e8f0);
    }

    .vh-nav .vh-mobile-actions .vh-btn {
        width: 100%;
        justify-content: center;
        padding: var(--space-3, .75rem) var(--space-4, 1rem);
    }

    body.vh-nav-open {
        overflow: hidden;
    }
}

/* -- Small tablet & below (768px) ------------------------------------------- */

@media (max-width: 768px) {
    .vh-footer-inner {
        padding: var(--space-12, 3rem) var(--space-6, 1.5rem) var(--space-6, 1.5rem);
    }

    .vh-footer-top {
        flex-direction: column;
        gap: var(--space-10, 2.5rem);
    }

    .vh-footer-columns {
        gap: var(--space-12, 3rem);
    }

    .vh-footer-brand {
        max-width: none;
    }
}

/* -- Mobile cookie banner (640px) ------------------------------------------- */

@media (max-width: 640px) {
    .vh-footer-columns {
        flex-direction: column;
        gap: var(--space-8, 2rem);
    }

    #vCookieBanner .vc-inner {
        flex-direction: column;
        text-align: center;
    }

    #vCookieBanner .vc-actions {
        width: 100%;
        justify-content: center;
    }

    #vCookieBanner .vc-btn {
        flex: 1;
        min-width: 0;
    }
}

/* -- Small mobile (480px) --------------------------------------------------- */

@media (max-width: 480px) {
    .vh-header-inner {
        padding: 0 var(--space-5, 1.25rem);
    }

    .vh-logo {
        font-size: 1.3rem;
    }

    .vh-footer-columns {
        flex-direction: column;
        gap: var(--space-8, 2rem);
    }

    .vh-notif-dropdown {
        right: -10px;
        width: calc(100vw - 2rem);
        max-width: 340px;
    }
}
