/* assets/css/header.css — Title bar, nav, CTAs */

/* ── Title bar ─────────────────────────────── */
.title-bar {
    background: #1D9E75;
    padding: 10px 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
}
.title-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-link { display: flex; align-items: center; }
.site-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    padding: 2px;
}
.org-info { display: flex; flex-direction: column; }
.org-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.org-tagline {
    font-size: 0.75rem;
    color: #9FE1CB;
    margin-top: 2px;
}
.title-bar-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}
.reg-badge {
    font-size: 0.7rem;
    background: rgba(255,255,255,0.15);
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    display: inline-block;
}
.reg-badge.cert { background: rgba(239,159,39,0.25); color: #FAC775; }
.helpline-text {
    font-size: 0.75rem;
    color: #9FE1CB;
}
.helpline-text strong { color: #fff; }

/* ── Main nav ──────────────────────────────── */
.main-nav {
    background: #085041;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
}
.nav-links {
    display: flex;
    list-style: none;
    height: 100%;
    gap: 0;
}
.nav-link {
    display: flex;
    align-items: center;
    height: 48px;
    padding: 0 14px;
    font-size: 0.85rem;
    color: #9FE1CB;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
    white-space: nowrap;
}
.nav-link:hover {
    color: #fff;
    text-decoration: none;
}
.nav-link.active {
    color: #fff;
    border-bottom-color: #5DCAA5;
}

/* ── Nav CTAs ──────────────────────────────── */
.nav-ctas {
    display: flex;
    align-items: center;
    gap: 8px;
}
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.15s, background 0.15s;
    white-space: nowrap;
}
.cta-btn:hover { opacity: 0.88; text-decoration: none; }

.cta-call {
    background: #EF9F27;
    color: #412402;
}
.cta-whatsapp {
    background: #25D366;
    color: #fff;
}
.cta-form {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
}
.cta-form:hover { background: rgba(255,255,255,0.2); }

/* ── Mobile hamburger ──────────────────────── */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    width: 34px;
    height: 34px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #9FE1CB;
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
