/* =========================
   DESIGN TOKENS / RESET
========================= */

:root {
    --bg: #08090b;
    --bg-soft: #141922;
    --card: #111419;
    --card-hover: #161a20;
    --text: #f4f5f7;
    --muted: #8c929d;
    --border: rgba(255,255,255,.13);

    --accent: #0e7c66;
    --accent-soft: rgba(14,124,102,.2);

    --container: 1240px;
    --radius: 22px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 30px;
}

/* =========================
   HEADER
========================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;

    border-bottom: 1px solid rgba(255,255,255,.06);

    background: rgba(8,9,11,.75);
    backdrop-filter: blur(18px);
}

.header-inner {
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo svg {
    display: block;
    height: 30px;
    width: auto;
}

nav {
    display: flex;
    gap: 34px;

    color: #aeb3bc;
    font-size: 14px;
}

nav a {
    transition: .2s;
}

nav a:hover {
    color: white;
}

.header-contact {
    padding: 11px 17px;

    border: 1px solid var(--border);
    border-radius: 9px;

    font-size: 13px;
    font-weight: 600;

    transition: .2s;
}

.header-contact:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.burger {
    display: none;

    width: 40px;
    height: 40px;

    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;

    border: none;
    background: transparent;
    cursor: pointer;
}

.burger span {
    display: block;

    width: 22px;
    height: 2px;

    background: white;

    transition: .25s;
}

header.nav-open .burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

header.nav-open .burger span:nth-child(2) {
    opacity: 0;
}

header.nav-open .burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================
   COOKIE BANNER
========================= */

.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 200;

    max-width: 640px;
    margin: 0 auto;
    padding: 20px 24px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;

    border: 1px solid var(--border);
    border-radius: 16px;

    background: var(--card);
    box-shadow: 0 20px 60px rgba(0,0,0,.45);
}

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

.cookie-banner p {
    flex: 1 1 320px;

    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.cookie-banner a {
    color: rgba(244,245,247,.85);
    text-decoration: underline;
}

.cookie-banner a:hover {
    color: white;
}

.cookie-accept {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 11px 20px;

    border: none;
    border-radius: 9px;

    background: var(--accent);
    color: white;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
    transition: .2s;
}

.cookie-accept:hover {
    transform: translateY(-2px);
}

/* =========================
   FOOTER
========================= */

footer {
    padding: 55px 0;

    background: #050607;

    color: #777d86;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copy {
    font-size: 12px;
}

.footer-links {
    display: flex;
    gap: 25px;

    font-size: 13px;
}

.footer-links a {
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
}

.footer-legal {
    margin-top: 30px;
    padding-top: 30px;

    border-top: 1px solid rgba(255,255,255,.06);

    font-size: 12px;
    line-height: 1.7;
    color: #555a63;
}

.footer-legal a {
    color: #777d86;
    text-decoration: underline;
}

.footer-legal a:hover {
    color: white;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .burger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;

        flex-direction: column;
        gap: 0;

        max-height: 0;
        overflow: hidden;

        background: rgba(8,9,11,.97);
        border-bottom: 1px solid var(--border);

        transition: max-height .3s ease;
    }

    header.nav-open nav {
        max-height: 400px;
    }

    nav a {
        padding: 16px 30px;
        border-bottom: 1px solid rgba(255,255,255,.06);
    }
}

@media (max-width: 600px) {

    .container {
        padding: 0 20px;
    }

    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-accept {
        width: 100%;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }
}
