/* ── Shared Design Tokens ── */
:root {
    --blue: #1e70ff;
    --black: #000000;
    --yellow: #ffdc42;
    --white: #ffffff;
    --light-gray: #f9f9f9;
    --gray: #999;
    --max-width: 1100px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', sans-serif;
    background: var(--white);
    margin: 0;
    scroll-behavior: smooth;
}

/* ── Navbar ── */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    padding: 30px;
    z-index: 1000;
    width: 100%;
}

.top-bar-content {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.top-bar .logo {
    height: 30px;
}

.logo-link {
    display: flex;
    align-items: center;
    line-height: 0;
}

.nav-link,
.nav-link-external {
    color: var(--black);
    text-decoration: none;
    position: relative;
    transition: opacity 0.15s;
}

.nav-link:hover {
    opacity: 0.55;
}

.site-nav-panel .nav-link-active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--yellow);
    border-radius: 50%;
}

@media (max-width: 799px) {
    .site-nav-panel .nav-link-active::after {
        display: none;
    }

    .site-nav-panel .nav-link-active {
        font-weight: 600;
    }
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.site-nav-panel {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-btn {
    background-color: var(--yellow);
    color: var(--black);
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    font-family: 'Helvetica Neue', sans-serif;
    text-decoration: none;
    margin-left: 12px;
}

.contact-btn:hover {
    background-color: #f0cc30;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 8px;
    margin: -8px -8px -8px 0;
    cursor: pointer;
    color: var(--black);
    border-radius: 8px;
}

.nav-toggle:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 2px;
}

.nav-toggle-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
}

.nav-toggle-box span {
    display: block;
    height: 2px;
    background: var(--black);
    border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav.is-open .nav-toggle-box span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-nav.is-open .nav-toggle-box span:nth-child(2) {
    opacity: 0;
}

.site-nav.is-open .nav-toggle-box span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 799px) {
    body.nav-mobile-open {
        overflow: hidden;
    }

    .nav-toggle {
        display: flex;
    }

    .top-bar {
        padding: 20px;
    }

    .contact-btn {
        display: none;
    }

    .site-nav-panel {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin-top: 8px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 0 16px;
        background-color: var(--white);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
        border-radius: 0 0 12px 12px;
    }

    .site-nav.is-open .site-nav-panel {
        display: flex;
    }

    .site-nav-panel .nav-link {
        display: block;
        padding: 14px 24px;
        font-size: 16px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .site-nav-panel .nav-link:last-child {
        border-bottom: none;
    }
}

/* ── Footer ── */
footer {
    background-color: var(--black);
    color: var(--white);
    margin-top: 50px;
}

.footer-top {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 56px 20px 48px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-brand .footer-logo {
    height: 28px;
    display: block;
    margin-bottom: 16px;
}

.footer-brand-tagline {
    font-size: 14px;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.5);
    max-width: 220px;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.social-icon {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

.footer-col-heading {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
}

.footer-col-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.15s;
}

.footer-link:hover {
    color: var(--yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.15s;
}

.footer-bottom-links a:hover {
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 799px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}
