/* Base HTML & body */
html {
    height: 100%;
    font-size: 100%;
    font-family: "Arimo", sans-serif;
    font-weight: 400;
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-scrollbar: none;
    background-color: #1A1D20;
    font-family: "Arimo", sans-serif;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    background: radial-gradient(ellipse 45% 50% at 10% 100%, rgba(100, 160, 50, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 25% 40% at 90% 95%, rgba(80, 40, 130, 0.3) 20%, transparent 65%);
    pointer-events: none;
}

main {
    flex: 1 0 auto;
    min-height: calc(100vh - 80px - 200px);
}


h1 {
    font-size: var(--font-size-h1);
    text-transform: capitalize;
    font-weight: 700;
    line-height: 100%;
    color: var(--color-background-light);
}

h2 {
    font-size: var(--font-size-h2);
    text-transform: capitalize;
    font-weight: 700;
    line-height: 100%;
    color: var(--color-background-light);
}

h3 {
    font-size: var(--font-size-h3);
    text-transform: capitalize;
    font-weight: 700;
    line-height: 100%;
    color: var(--color-background-light);
}

h4 {
    font-size: var(--font-size-h4);
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-background-light);
}

p {
    font-size: var(--font-size-p);
    color: var(--color-background-light);
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

b {
    text-transform: capitalize;
    color: var(--color-accent-green);
}

a {
    text-decoration: none;
    font-size: var(--font-size-a);
    color: var(--color-background-light);
}

.margin-bottom {
    margin-bottom: var(--margin-block-util);
}

.margin-top {
    margin-top: var(--margin-block-util);
}

/* Hide scrollbar */
body ::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

/* Headings, text, buttons */
button {
    touch-action: manipulation;
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}


/* Scroll to top button */
#scroll-top {
    position: fixed;
    width: 6rem;
    height: 6rem;
    bottom: calc(var(--footer-height) + 3rem);
    right: 3vw;
    background: url(../../images/up.svg) no-repeat center center;
    z-index: 100;
    border-radius: 3rem;
    display: none;
}

#scroll-top:hover {
    cursor: pointer;
}


.cookie-consent {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    padding: var(--spacing-sm) var(--section-padding-x) calc(var(--spacing-md) + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    pointer-events: none;
}

.cookie-consent.cookie-consent--visible {
    display: block;
    pointer-events: auto;
}

.cookie-consent__inner {
    position: relative;
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md) var(--spacing-lg);
    padding: var(--spacing-lg) var(--spacing-xl);
    border-radius: var(--btn-border-radius);
    border: 1px solid var(--border-color-glass);
    background: var(--mobile-header-menu-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
}

.cookie-consent__text {
    flex: 1 1 16rem;
    margin: 0;
    font-size: var(--fluid-font-p);
    line-height: 1.35;
    font-weight: 400;
    color: var(--color-background-light);
}

.cookie-consent__text strong {
    font-weight: 700;
    color: var(--main-text-color);
}

.cookie-consent__text a {
    color: var(--color-accent-hover);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.cookie-consent__text a:hover {
    color: var(--main-text-color);
}

.cookie-consent__actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: var(--spacing-sm);
}

.cookie-consent__actions .btn.btn-primary {
    min-width: 8.5rem;
    min-height: 2.75rem;
}

.cookie-consent__close.close {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid var(--border-color-glass-light);
    border-radius: 50%;
    background: var(--glass-effect) url(../../images/close.svg) no-repeat center center;
    background-size: 1rem 1rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.cookie-consent__close.close:hover {
    background-color: var(--glass-effect-lighter);
    border-color: var(--border-color-glass);
}

/* Tablet / small: stack, comfortable tap targets */
@media screen and (max-width: 768px) {
    .cookie-consent {
        padding-left: max(var(--section-padding-x), env(safe-area-inset-left, 0px));
        padding-right: max(var(--section-padding-x), env(safe-area-inset-right, 0px));
    }

    .cookie-consent__inner {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-sm);
        padding: var(--spacing-md) var(--spacing-lg);
    }

    .cookie-consent__text {
        flex: 1 1 auto;
        padding-right: 2.75rem;
        font-size: calc(var(--fluid-font-p) * 0.95);
        line-height: 1.4;
    }

    .cookie-consent__actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: var(--spacing-sm);
    }

    .cookie-consent__actions .btn.btn-primary {
        flex: 1;
        min-width: 0;
        min-height: 3rem;
    }

    .cookie-consent__close.close {
        position: absolute;
        top: var(--spacing-sm);
        right: var(--spacing-sm);
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* Phone: full-width CTA, minimal outer padding */
@media screen and (max-width: 480px) {
    .cookie-consent {
        padding: var(--spacing-xs) var(--spacing-sm) calc(var(--spacing-sm) + env(safe-area-inset-bottom, 0px));
    }

    .cookie-consent__inner {
        padding: var(--spacing-md) var(--spacing-sm) var(--spacing-sm);
        border-radius: calc(var(--btn-border-radius) * 0.85);
        gap: var(--spacing-sm);
    }

    .cookie-consent__text {
        padding-right: 2.25rem;
        font-size: max(0.8125rem, calc(var(--fluid-font-p) * 0.88));
        line-height: 1.45;
        max-height: 40vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .cookie-consent__actions {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-xs);
    }

    .cookie-consent__actions .btn.btn-primary {
        width: 100%;
        min-height: 3rem;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .cookie-consent__close.close {
        top: var(--spacing-xs);
        right: var(--spacing-xs);
        width: 2.25rem;
        height: 2.25rem;
        background-size: 0.875rem 0.875rem;
    }
}

section {
    padding: 0 var(--section-padding-x);
    box-sizing: border-box;
}

header {
    padding: 0 var(--section-padding-x);
    box-sizing: border-box;
}

