/* ============================================
   HEADER — premium sticky with blur
   ============================================ */
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 100000; background: #fff; padding: 12px 20px; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--color-border-light);
    transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.07);
    border-bottom-color: var(--color-border);
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 16px;
    padding-bottom: 16px;
}

/* Logo */
.site-logo { display: flex; align-items: center; }
.site-logo img { max-height: 50px; width: auto; }
.site-logo-text {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-primary);
}

/* Desktop nav */
.desktop-nav { flex: 1; }
.nav-menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; justify-content: center; }
.nav-menu li { margin: 0; position: relative; }
.nav-menu > li > a {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-secondary);
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s, background 0.2s;
}
.nav-menu > li > a:hover { color: var(--color-accent); background: var(--color-accent-soft); }
.dropdown-arrow { font-size: 11px; opacity: 0.85; transition: transform 0.25s var(--ease); display: inline-block; margin-left: 3px; }
.has-dropdown > a { display: inline-flex; align-items: center; }
.has-dropdown:hover .dropdown-arrow { transform: rotate(180deg); opacity: 1; color: var(--color-accent); }

/* Dropdowns */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 300px;
    background: #fff;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 10px;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.22s var(--ease);
    z-index: 1001;
}
.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid var(--color-border-light);
    border-top: 1px solid var(--color-border-light);
}
.has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu li a {
    display: block;
    padding: 11px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    border-radius: var(--radius-sm);
    transition: background 0.18s, color 0.18s, padding-left 0.18s;
}
.dropdown-menu li a:hover { background: var(--color-bg-light); color: var(--color-accent); padding-left: 18px; }

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
    gap: 4px;
}
.header-cta-btn { padding: 11px 20px; font-size: 14px; white-space: nowrap; }

/* Hamburger */
.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger-line { display: block; width: 26px; height: 2px; border-radius: 2px; background: var(--color-primary); transition: all 0.3s var(--ease); }
.mobile-menu-toggle.active .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active .hamburger-line:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav { display: none; background: #fff; border-top: 1px solid var(--color-border-light); max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.mobile-nav.active { max-height: 90vh; overflow-y: auto; }
.mobile-nav-menu { list-style: none; margin: 0; padding: 12px 24px 24px; }
.mobile-nav-menu > li { margin: 0; border-bottom: 1px solid var(--color-border-light); }
.mobile-nav-menu > li > a, .mobile-dropdown-toggle {
    display: block; width: 100%; text-align: left;
    padding: 15px 0; font-size: 16px; font-weight: 600;
    color: var(--color-primary); background: none; border: none; cursor: pointer;
    font-family: var(--font-body);
}
.mobile-dropdown-toggle { display: flex; justify-content: space-between; align-items: center; }
.mobile-dropdown-toggle span { color: var(--color-accent); font-size: 20px; font-weight: 400; }
.mobile-dropdown-menu { list-style: none; max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease); padding-left: 4px; }
.mobile-has-dropdown.open .mobile-dropdown-menu { max-height: 600px; padding-bottom: 8px; }
.mobile-dropdown-menu li a { display: block; padding: 11px 0; font-size: 15px; color: var(--color-text-light); font-weight: 500; }
.mobile-dropdown-menu li a:hover { color: var(--color-accent); }
.mobile-cta { border-bottom: none !important; padding-top: 18px; }
.mobile-cta .btn { width: 100%; }

/* Header WhatsApp — icon only, clean circular */
.header-whatsapp {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    color: #25D366; background: rgba(37,211,102,0.1);
    border: 1px solid rgba(37,211,102,0.25);
    transition: all 0.2s var(--ease); flex-shrink: 0;
}
.header-whatsapp:hover { background: #25D366; color: #fff; border-color: #25D366; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(37,211,102,0.35); }
.header-whatsapp svg { flex-shrink: 0; }
@media (max-width: 900px) { .header-whatsapp { display: none; } }

/* Brand SVG logo sizing */
.site-logo-img { height: 44px; width: auto; display: block; max-width: 290px; }
.site-logo-link { display: inline-flex; align-items: center; }
@media (max-width: 600px) { .site-logo-img { height: 38px; } }
