:root {
    --site-navbar-height: clamp(4.5rem, 8vh, 6rem);
    --site-scroll-padding: clamp(8rem, 14vh, 11rem);
}

html,
body {
    scroll-padding-top: var(--site-scroll-padding);
}

body {
    background-color: #f8f9fa;
}

main.container {
    min-height: 60vh;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    padding: 0.3rem 0.45rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.94);
    line-height: 0;
    text-decoration: none;
}

.site-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.site-logo--nav img {
    height: clamp(28px, 3.6vw, 40px);
}

.site-logo--hero img {
    height: clamp(30px, 3.8vw, 42px);
}

.site-logo--footer img {
    height: clamp(42px, 6vw, 70px);
}

.cookie-consent {
    position: fixed;
    right: clamp(1rem, 3vw, 2rem);
    bottom: clamp(1rem, 3vw, 2rem);
    z-index: 1080;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    width: min(720px, calc(100vw - 2rem));
    padding: 1rem;
    border: 1px solid rgba(39, 38, 49, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 50px rgba(15, 20, 25, 0.18);
    color: #272631;
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent__title {
    margin: 0 0 0.35rem;
    font-weight: 700;
}

.cookie-consent__text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-consent__actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cookie-consent__button {
    border: 1px solid #272631;
    border-radius: 4px;
    padding: 0.65rem 0.85rem;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
}

.cookie-consent__button--primary {
    background: #272631;
    color: #fff;
}

.cookie-consent__button--secondary {
    background: transparent;
    color: #272631;
}

@media (max-width: 720px) {
    .cookie-consent {
        grid-template-columns: 1fr;
    }

    .cookie-consent__actions {
        justify-content: stretch;
    }

    .cookie-consent__button {
        flex: 1 1 160px;
    }
}
