/* header.css — simple sticky header */

.site-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1680px;                      /* raise for more space, lower for less */
    margin: 0 auto;
    padding-left: clamp(16px, 3vw, 48px);
    padding-right: clamp(16px, 3vw, 48px);
    height: 66px;
    gap: 12px;
    min-width: 0;
    box-sizing: border-box;
}

/* ── Logo: never shrinks, never disappears ── */
.header-logo {
    flex: 0 0 auto;
    display: block;
}

.header-logo img {
    height: 38px;
    width: auto;
    max-width: none;
    display: block;
}

/* ── Desktop nav ── */
.header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1 1 auto;
    min-width: 0;
}

.header-nav a {
    font-size: .9rem;
    font-weight: 600;
    color: var(--heading);
    padding: 7px 10px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    transition: color .18s, background .18s;
}

.header-nav a:hover {
    color: var(--primary);
    background: var(--primary-light);
}

/* ── Right side: call + WhatsApp + hamburger ── */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--primary);
    color: var(--white) !important;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: .85rem;
    white-space: nowrap;
    transition: background .2s;
}

.header-phone:hover { background: var(--primary-dark); }

.header-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #25d366;
    color: var(--white) !important;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: .85rem;
    white-space: nowrap;
    transition: background .2s;
}

.header-whatsapp:hover { background: #1ebe5d; }

/* ── Hamburger (hidden on desktop) ── */
.header-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    background: none;
    border: 0;
    cursor: pointer;
}

.header-hamburger span {
    width: 22px;
    height: 2px;
    background: var(--heading);
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
}

.header-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header-hamburger.is-open span:nth-child(2) { opacity: 0; }
.header-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────────────────────────────────────
   ≤ 1100px: links move into the drawer,
   WhatsApp hides, call stays (icon only)
───────────────────────────────────────── */
@media (max-width: 1100px) {
    .header-whatsapp { display: none; }
    .header-hamburger { display: flex; }

    /* Call button keeps icon + number, just a little more compact */
    .header-phone {
        padding: 8px 12px;
        font-size: .82rem;
    }

    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 16px rgba(0,0,0,.08);
    }

    .header-nav.is-open { display: flex; }

    .header-nav a {
        padding: 14px 20px;
        font-size: .95rem;
        border-radius: 0;
        border-top: 1px solid var(--border);
    }

    .header-logo { margin-right: auto; }
}

/* Very small phones: tighten so logo + number + menu all fit */
@media (max-width: 380px) {
    .site-header .header-inner { gap: 8px; }
    .header-logo img { height: 32px; }
    .header-phone {
        padding: 7px 10px;
        font-size: .75rem;
        gap: 4px;
    }
    .header-phone svg { width: 13px; height: 13px; }
    .header-hamburger { width: 36px; }
}