/* ============================
   HEADER
   ============================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-white);
    padding-left: var(--gutter-desktop);
    padding-right: var(--gutter-desktop);
    width: 100vw;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo */
.header-logo {
    flex-shrink: 0;
}

.header-logo img {
    width: 104px;
    height: 37px;
    display: block;
}

/* Nav */
.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-nav a {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-text);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--transition-fast);
    position: relative;
}

.header-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--color-active);
    transition: width var(--transition-fast);
}

.header-nav a:hover::after {
    width: 100%;
}

.header-nav a:hover {
    color: var(--color-active);
}

.header-nav a.active {
    font-weight: 600;
    color: var(--color-active);
}

/* WhatsApp Button - desktop only */
.header-whatsapp {
    flex-shrink: 0;
}

/* WhatsApp Button inside nav - mobile */
.header-whatsapp-mobile {
    margin-top: 12px;
}

.btn-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 8px 16px;
    border-radius: 100px;
    background: var(--color-whatsapp);
    text-decoration: none;
    transition: transform var(--transition-fast);
}

.btn-wa:hover {
    transform: scale(1.05);
}

.btn-wa img {
    width: 20px;
    height: 20px;
    display: block;
    flex-shrink: 0;
}

.btn-wa span {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: -0.008em;
    color: var(--color-white);
}

/* Mobile Toggle */
.header-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
}

.header-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    margin: 5px 0;
    transition: all var(--transition-fast);
    border-radius: 1px;
}

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

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

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

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1023px) {
    .site-header {
        padding-left: var(--gutter-tablet);
        padding-right: var(--gutter-tablet);
    }

    .header-inner {
        flex-wrap: wrap;
        height: auto;
        min-height: 80px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .header-nav {
        display: none;
        order: 4;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding-top: 16px;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }

    .header-nav.show {
        display: flex;
    }

    .header-nav a {
        padding: 12px 0;
        width: 100%;
        text-align: left;
        white-space: normal;
    }

    .header-whatsapp {
        display: none;
    }

    .header-toggle {
        display: block;
    }
}

@media (max-width: 575px) {
    .site-header {
        padding-left: var(--gutter-mobile);
        padding-right: var(--gutter-mobile);
    }
}
