/* ===========================
   HEADER / NAV
   =========================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-primary);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}
.logo-mark {
    display: flex;
    gap: 4px;
}
.logo-mark span {
    width: 14px;
    height: 16px;
    background: var(--color-secondary);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    opacity: 0.85;
}
.logo-mark span:nth-child(2) { background: var(--color-accent); }
.logo-mark span:nth-child(3) { background: var(--color-secondary); }

.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text small {
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    font-weight: 400;
    color: var(--color-accent);
    margin-top: 3px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 0;
    padding: 0;
}
.nav-links a {
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--color-secondary); }

.nav-cta {
    background: var(--color-secondary);
    color: #fff !important;
    padding: 12px 22px;
    border-radius: var(--radius);
    font-size: 15px !important;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.nav-cta:hover { background: var(--color-secondary-dark); color: #fff !important; }

.hamburger {
    display: none;
    background: transparent;
    border: 0;
    width: 40px;
    height: 40px;
    cursor: pointer;
    padding: 0;
    position: relative;
}
.hamburger span {
    position: absolute;
    left: 8px;
    right: 8px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}
.hamburger span:nth-child(1) { top: 13px; }
.hamburger span:nth-child(2) { top: 19px; }
.hamburger span:nth-child(3) { top: 25px; }
.hamburger.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

@media (max-width: 900px) {
    .hamburger { display: block; }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--color-primary);
        padding: 16px 24px 28px;
        border-top: 1px solid rgba(255,255,255,0.08);
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease, transform 0.25s ease;
    }
    .nav-links.is-open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    .nav-links li { width: 100%; }
    .nav-links a {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .nav-cta {
        display: inline-block;
        margin-top: 12px;
        text-align: center;
    }
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
    background: var(--color-primary);
    border-top: 1px solid var(--color-border);
    padding: 60px 0 24px;
    color: #fff;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    align-items: start;
}
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 500px;
    align-items: flex-start;
}
.footer-brand img {
    margin-bottom: 0;
}
.footer-brand .logo { color: #fff; }
.footer-brand .logo-text small { color: var(--color-accent); }
.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
    margin: 0;
}

.footer-col h4 {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
    font-weight: 600;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-col li {
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-social ul {
    flex-direction: row;
    gap: 16px;
}
.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}
.footer-social a:hover {
    color: #fff;
}
.footer-col a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}
.footer-col a:hover { color: #fff; }
.footer-col svg { flex-shrink: 0; color: rgba(255, 255, 255, 0.7); width: 16px; height: 16px; }

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

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