:root {
    --midnight: #0D1B2A;
    --emerald: #00A878;
	--turqois: #24D9B6;
    --orange: #FF6B35;
    --white: #F5FAFA;
    --pure-white: #FFFFFF;
    --gray-text: rgba(13, 27, 42, 0.7);
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--white);
    color: var(--midnight);
    line-height: 1.6;
    overflow-x: clip;
}

html { scroll-behavior: smooth; overflow-x: clip; }

h1 { font-family: 'Syne', sans-serif; font-weight: 800; }
h2, h3, h4 { font-family: 'Syne', sans-serif; font-weight: 700; letter-spacing: -.025em;	 }
h2 em { font-family: 'Newsreader', serif; font-weight: 500; font-size: 1.1em; color: var(--emerald); letter-spacing: -.025em; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1rem, 5vw, 2rem); }

/* NAVIGATION */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: clamp(1rem, 3vw, 1.5rem) 0;
    transition: all 0.4s ease;
    background: transparent;
}
nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: clamp(0.75rem, 2vw, 1rem) 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: clamp(1rem, 4vw, 2rem);
}
.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    transition: 0.3s;
}
nav.scrolled .nav-links a { color: var(--midnight); }
.nav-links a:hover { color: var(--orange) !important; }
.nav-links a.active { color: var(--emerald) !important; }

.logo {
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 2vw, 10px);
    text-decoration: none;
}
.logo-img {
    height: clamp(36px, 6vw, 52px);
    width: auto;
    transition: opacity 0.4s ease;
}
/* Dark nav (top of page): show donker-logo, hide licht-logo */
.logo-light { display: none; }
.logo-dark  { display: block; }
/* Scrolled nav (white background): swap logos */
nav.scrolled .logo-dark  { display: none; }
nav.scrolled .logo-light { display: block; }

.logo-text {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1;
    transition: color 0.4s ease;
}
nav.scrolled .logo-text { color: var(--midnight); }

/* Hamburger: hidden by default on desktop */
.hamburger {
    display: none;
}

/* Mobile menu: hidden by default */
.mobile-menu {
    display: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    background-color: var(--orange);
    color: white;
    padding: clamp(0.75rem, 2vw, 1.2rem) clamp(1.5rem, 4vw, 3rem);
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    border: none;
    cursor: pointer;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5); }

/* HERO */
.hero {
    background-color: var(--midnight);
    color: white;
    padding: clamp(10rem, 20vh, 14rem) 0 clamp(6rem, 15vh, 10rem);
    text-align: center;
    margin-top: 0;
    position: relative;
}
.hero canvas {
    opacity: 0.2;
}
/* Statisch netwerk: mobiel zichtbaar, desktop verborgen */
.hero-static-network {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
}
@media (min-width: 768px) {
    .hero-static-network { display: none; }
}
.hero .container {
    position: relative;
    z-index: 2;
}
.hero .container { padding: 0 clamp(0.5rem, 3vw, 2rem); }
.hero h1 {
    font-size: clamp(2.5rem, 7vw, 5rem);
    line-height: 1.1;
    margin-bottom: clamp(1.5rem, 5vw, 2.5rem);
    letter-spacing: -0.02em;
    overflow-wrap: break-word;
}
.hero h1 .g { color: var(--emerald); }
.hero h1 .t { color: var(--turqois); }
.hero h1 .o { color: var(--orange); }
.hero h1 .w { color: white; }
.hero p {
    font-size: clamp(1rem, 3vw, 1.5rem);
    max-width: 800px;
    margin: 0 auto clamp(2rem, 5vw, 3.5rem);
    color: rgba(255,255,255,0.7);
    font-weight: 300;
}
.hero-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: color 0.3s;
    white-space: nowrap;
}
.hero-link:hover { color: var(--emerald); }

/* SECTIONS */
section { padding: clamp(6rem, 15vh, 9rem) 0; }
.section-tag {
    color: var(--orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    margin-bottom: 1rem;
    display: block;
}
.section-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    margin-bottom: clamp(2rem, 5vw, 3rem);
    line-height: 1.15;
}

/* CHALLENGE SECTION */
.hoe-section { background: var(--white); }
.challenge-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
.challenge-list { list-style: none; }
.challenge-list li {
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
    color: var(--gray-text);
    padding-left: 2rem;
    position: relative;
    font-size: clamp(0.9rem, 2vw, 1rem);
}
.challenge-list li::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: #FF6B35;
    font-weight: 900;
}

/* AANBOD SECTION */
.aanbod-section { background-color: var(--midnight); color: white; }
.ways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
}
.way-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    padding: clamp(2rem, 5vw, 3rem);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}
.way-card:hover {
    border-color: var(--emerald);
    transform: translateY(-5px);
}
.way-card h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 1.5rem;
    color: white;
    letter-spacing: 0.03em;
}
.way-card ul { list-style: none; margin-bottom: 2.5rem; flex-grow: 1; }
.way-card li {
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.6);
    padding-left: 1.5rem;
    position: relative;
    font-size: clamp(0.9rem, 2vw, 0.95rem);
}
.way-card li::before {
    content: '➜';
    position: absolute;
    left: 0;
    color: var(--emerald);
    font-weight: 900;
    -webkit-text-stroke: 0.5px var(--emerald);
}

.btn-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    border: 2px solid var(--emerald);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    font-size: clamp(0.9rem, 2vw, 1rem);
}
.btn-outline:hover { background: var(--emerald); color: var(--midnight); }

/* Pijl-icoon: inline SVG in HTML, schaalt mee met font-size van de button */
.btn svg, .btn-outline svg {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}
.btn:hover svg, .btn-outline:hover svg { transform: translateX(3px); }

/* VIDEO SECTION */
.video-section { background: var(--white); }
.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    margin: clamp(2rem, 5vw, 4rem) 0;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--midnight) 0%, var(--emerald) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 16px;
}
.video-placeholder svg {
    width: 80px;
    height: 80px;
    fill: white;
}

/* SYSTEMS SECTION */
.systems-section { background-color: var(--white); color: var(--midnight); }
.resultaten-section { background-color: #FBF8F2; color: var(--midnight); }
.systems-header {
    text-align: left;
    max-width: 100%;
    margin: 0 auto clamp(3rem, 8vw, 5rem);
}

.systems-main-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: clamp(3rem, 5vw, 4rem);
}
.main-system-card {
    background: var(--pure-white);
    border: 1px solid rgba(0,0,0,0.06);
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: 32px;
    transition: 0.4s;
    position: relative;
    display: flex;
    flex-direction: column;
}
.main-system-card:hover {
    border-color: var(--emerald);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}
.main-system-card .sys-num {
    color: var(--emerald);
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}
.main-system-card h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 1rem;
    letter-spacing: 0.03em;
}
.main-system-card p {
    color: var(--gray-text);
    flex-grow: 1;
    margin-bottom: 2rem;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.roi-tag-box {
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 1.5rem;
}
.roi-tag-label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: rgba(0,0,0,0.3);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}
.roi-tag-value {
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 700;
    color: var(--emerald);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: clamp(3rem, 5vw, 5rem);
}
.bento-card {
    background: var(--pure-white);
    border: 1px solid rgba(0,0,0,0.05);
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: 20px;
    transition: 0.3s;
}
.bento-card:hover {
    border-color: var(--emerald);
    transform: translateY(-4px);
}
.bento-card h4 {
    font-size: clamp(0.95rem, 2vw, 1rem);
    margin-bottom: 0.5rem;
    letter-spacing: 0.03em;
}
.bento-card p {
    font-size: clamp(0.85rem, 1.5vw, 0.9rem);
    color: var(--gray-text);
    margin-bottom: 1.2rem;
}
.bento-roi {
    display: inline-block;
    background: rgba(0, 168, 120, 0.05);
    color: var(--emerald);
    padding: 0.4rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: clamp(0.75rem, 1.5vw, 0.8rem);
}

/* RESULTS */
.quote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
}
.quote-card {
    background: var(--pure-white);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: 24px;
    border-bottom: 4px solid var(--emerald);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}
.quote-stat {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--emerald);
    font-family: 'Syne', sans-serif;
    margin-bottom: 1rem;
}
.quote-text {
    font-style: italic;
    color: var(--gray-text);
    margin-bottom: 1.5rem;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}
.quote-author {
    font-weight: 700;
    font-size: clamp(0.85rem, 1.5vw, 0.9rem);
}

/* FAQ */
.faq-section { background-color: var(--white); color: var(--midnight); }
.faq-container { max-width: 900px; margin: 0 auto; }
.faq-category { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.faq-category h3 {
    color: var(--emerald);
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}
.faq-item {
    border-bottom: 1px solid rgba(13,27,42,0.12);
    padding: clamp(1rem, 2vw, 1.5rem) 0;
    cursor: pointer;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    transition: 0.3s;
}
.faq-question:hover { color: var(--emerald); }
.faq-answer {
    margin-top: 1rem;
    color: var(--gray-text);
    display: none;
    padding-right: 2rem;
    font-size: clamp(0.9rem, 1.5vw, 0.95rem);
    line-height: 1.7;
}

/* ABOUT / OVER MIJ */
.about-section {
    background-color: var(--midnight);
    color: white;
}
.about-grid {
    display: grid;
    grid-template-columns: minmax(240px, 340px) 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.about-photo {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 168, 120, 0.15), 0 0 0 8px rgba(0, 168, 120, 0.08);
}
.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.about-content .section-title {
    max-width: 100%;
}
.about-accent {
    color: var(--emerald);
    font-style: italic;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}
.about-intro {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}
.about-list {
    list-style: none;
    margin-bottom: 1.5rem;
}
.about-list li {
    color: rgba(255, 255, 255, 0.85);
    padding-left: 1.75rem;
    position: relative;
    margin-bottom: 0.75rem;
    font-size: clamp(0.9rem, 1.7vw, 1rem);
    line-height: 1.6;
}
.about-list li::before {
    content: '➜';
    position: absolute;
    left: 0;
    color: var(--emerald);
    font-weight: 900;
    -webkit-text-stroke: 0.5px var(--emerald);
}
.about-mindset {
    color: rgba(255, 255, 255, 0.75);
    font-size: clamp(0.9rem, 1.7vw, 1rem);
    margin-bottom: 2rem;
    font-style: italic;
    line-height: 1.7;
}

@media (max-width: 800px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .about-photo {
        max-width: 240px;
        margin: 0 auto;
    }
}

footer {
    padding: clamp(2rem, 5vw, 4rem) 0;
    background-color: var(--midnight);
    text-align: center;
    color: rgba(255,255,255,0.3);
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: clamp(0.85rem, 1.5vw, 0.9rem);
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* MOBILE */
@media (max-width: 1000px) {
    .hero { padding-top: clamp(8rem, 18vh, 10rem); }
    .challenge-grid { grid-template-columns: 1fr; }
    .bento-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .btn-nav { display: none; }

    /* Hamburger: show on mobile */
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }
    .hamburger span {
        width: 25px;
        height: 2px;
        background: white;
        border-radius: 2px;
        transition: all 0.3s;
    }
    nav.scrolled .hamburger span {
        background: var(--midnight);
    }

    /* Mobile menu: fullscreen overlay when open */
    .mobile-menu.open {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--midnight);
        z-index: 999;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }
    .mobile-menu a {
        color: white;
        font-size: 1.5rem;
        text-decoration: none;
        font-weight: 600;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ======== Legal pages (privacybeleid, algemene-voorwaarden) ======== */
.legal-page { padding-top: clamp(6rem, 12vh, 9rem); padding-bottom: 4rem; }
.legal-page .container { max-width: 1100px; }

.legal-hero { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.legal-hero .section-title { margin-bottom: 0.5rem; }
.legal-subtitle { color: var(--gray-text); font-size: 1.05rem; line-height: 1.6; margin-bottom: 1rem; }
.legal-meta { color: var(--gray-text); font-size: 0.85rem; margin-bottom: 0; }
.legal-meta time { color: var(--midnight); font-weight: 600; }

/* 2-column grid: sticky sidebar left, content right */
.legal-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 1024px) {
    .legal-layout {
        grid-template-columns: 220px 1fr;
        gap: 4rem;
        align-items: start;
    }
}

/* Side nav (details/summary — collapses on mobile, sticky on desktop) */
.legal-side-nav {
    background: rgba(0, 168, 120, 0.04);
    border: 1px solid rgba(0, 168, 120, 0.15);
    border-radius: 12px;
    padding: 0.9rem 1.25rem;
    position: sticky;
    top: 5rem;
    z-index: 10;
}
.legal-side-nav summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    user-select: none;
    padding-bottom: 0;
}
.legal-side-nav summary::-webkit-details-marker { display: none; }
.legal-side-nav[open] summary { padding-bottom: 0.75rem; border-bottom: 1px solid rgba(0,168,120,0.1); margin-bottom: 0.25rem; }
.legal-toc-chevron {
    width: 16px; height: 16px; flex-shrink: 0;
    transition: transform 0.2s ease;
    color: var(--emerald);
}
.legal-side-nav[open] .legal-toc-chevron { transform: rotate(180deg); }
.legal-toc-label {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--emerald);
    margin: 0;
}
.legal-side-nav ol {
    margin: 0;
    padding-left: 1.25rem;
}
.legal-side-nav li { margin-bottom: 0.4rem; font-size: 0.88rem; line-height: 1.4; }
.legal-nav-link { color: var(--midnight); text-decoration: none; transition: color 0.15s ease; }
.legal-nav-link:hover { color: var(--emerald); }
.legal-nav-link.active { color: var(--emerald); font-weight: 600; }

@media (min-width: 1024px) {
    .legal-side-nav {
        top: 6rem;
        max-height: calc(100vh - 8rem);
        overflow-y: auto;
        padding: 1.25rem 1.5rem;
    }
    /* On desktop: always open, summary non-interactive */
    .legal-toc-chevron { display: none; }
    .legal-side-nav summary { cursor: default; pointer-events: none; padding-bottom: 0.75rem; border-bottom: 1px solid rgba(0,168,120,0.1); margin-bottom: 0.25rem; }
}

/* Content area */
.legal-content { min-width: 0; }

.legal-section {
    margin-bottom: 2.5rem;
    scroll-margin-top: 8rem;
}
.legal-section h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.15rem, 2.5vw, 1.4rem);
    font-weight: 700;
    text-transform: none;
    color: var(--midnight);
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(13, 27, 42, 0.1);
    line-height: 1.3;
    letter-spacing: 0;
}
.legal-section:first-child h2 { margin-top: 0; }
.legal-section h3 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 700;
    text-transform: none;
    color: var(--midnight);
    margin: 1.5rem 0 0.5rem;
    letter-spacing: 0;
}
.legal-section p,
.legal-section li {
    color: var(--midnight);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 0.75rem;
}
.legal-section ul,
.legal-section ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.legal-section a { color: var(--emerald); }
.legal-section a:hover { text-decoration: underline; }

.legal-callout {
    background: rgba(0, 168, 120, 0.06);
    border-left: 4px solid var(--emerald);
    padding: 1rem 1.25rem;
    border-radius: 0 6px 6px 0;
    margin: 1.25rem 0;
    color: var(--midnight);
    font-size: 0.95rem;
    line-height: 1.65;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: 0.93rem;
}
.legal-table th,
.legal-table td {
    text-align: left;
    padding: 0.7rem 0.9rem;
    border-bottom: 1px solid rgba(13, 27, 42, 0.07);
    vertical-align: top;
}
.legal-table th {
    font-family: 'Syne', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-text);
    font-weight: 700;
    white-space: nowrap;
}
.legal-table tbody tr:last-child td { border-bottom: none; }

/* Tables: scrollable on small viewports */
@media (max-width: 767px) {
    .legal-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* Legal pages: navbar always in scrolled (white) state */
body.legal #navbar {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    padding: clamp(0.75rem, 2vw, 1rem) 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
body.legal #navbar .logo-dark { display: none; }
body.legal #navbar .logo-light { display: block; }
body.legal #navbar .nav-links a { color: var(--midnight); }
body.legal #navbar .logo-text { color: var(--midnight); }
body.legal #navbar .hamburger span { background: var(--midnight); }

/* Footer layout */
footer .container {
    padding: 0 clamp(1rem, 5vw, 2rem);
}
.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.5rem 0;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-legal {
    display: flex;
    flex-direction: row;
    gap: 1.25rem;
    flex-wrap: wrap;
    position: static;
    width: auto;
    background: none;
    border: none;
    padding: 0;
}
.footer-legal a {
    color: rgba(245, 250, 250, 0.5);
    font-size: 0.82rem;
    text-decoration: none;
    transition: color 0.15s ease;
}
.footer-legal a:hover { color: var(--emerald); }
.footer-copy {
    color: rgba(245,250,250,0.3);
    font-size: 0.8rem;
    margin: 0;
}
@media (max-width: 600px) {
    .footer-bottom { flex-direction: column; align-items: stretch; gap: 0.5rem; }
    .footer-main { align-items: flex-start; }
    .footer-main address { align-items: flex-start !important; }
}
