/* Header composition: a strong brand lockup, clear navigation and compact social actions. */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    overflow: visible;
    border-bottom: 1px solid rgba(234, 223, 206, .9);
    background: rgba(255, 253, 248, .96);
    box-shadow: 0 10px 32px rgba(58, 22, 9, .06);
    backdrop-filter: blur(16px);
    transition: top .3s ease, margin .3s ease, border-radius .3s ease, background .3s ease, box-shadow .3s ease;
}
.site-header::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent 2%, var(--saffron) 34%, var(--gold) 50%, var(--forest) 66%, transparent 98%);
    opacity: .72;
}
.site-header.is-scrolled {
    top: 0;
    margin-right: 0;
    margin-left: 0;
    border: 0;
    border-radius: 0;
    background: rgba(255, 253, 248, .9);
    box-shadow: 0 12px 30px rgba(58, 22, 9, .1);
}
.site-header.is-scrolled::after { right: 0; left: 0; border-radius: 0; }

/* Main header: the circular logo is the visual anchor, while the navigation stays light. */
.navbar {
    min-height: 94px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    overflow: visible;
    transition: min-height .3s ease;
}
.site-header.is-scrolled .navbar { min-height: 76px; }
.brand {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: -16px 0 -24px;
    text-decoration: none;
}
.brand-mark {
    position: relative;
    width: 126px;
    height: 126px;
    flex: 0 0 126px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(204, 144, 56, .7);
    border-radius: 50%;
    background: #fffdf8;
    box-shadow: 0 16px 30px rgba(58, 22, 9, .16), 0 0 0 7px rgba(255, 253, 248, .92);
    overflow: hidden;
    transform: translateY(24px);
    transition: transform .3s ease, box-shadow .3s ease;
}
.brand-mark::before {
    content: "";
    position: absolute;
    inset: 7px;
    border: 1px dashed rgba(204, 144, 56, .58);
    border-radius: 50%;
}
.brand-mark::after {
    content: "";
    position: absolute;
    right: 2px;
    bottom: 7px;
    width: 14px;
    height: 14px;
    border: 3px solid var(--white);
    border-radius: 50%;
    background: var(--forest);
    box-shadow: 0 2px 7px rgba(21, 95, 50, .3);
}
.brand-mark img {
    position: relative;
    z-index: 1;
    width: 114px;
    height: 114px;
    object-fit: contain;
    filter: drop-shadow(0 6px 10px rgba(72, 31, 8, .15));
}
.brand:hover .brand-mark {
    transform: translateY(22px);
    box-shadow: 0 20px 36px rgba(58, 22, 9, .2), 0 0 0 7px rgba(255, 253, 248, .95);
}
.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.08;
}
.brand-copy strong {
    color: var(--brown);
    font-family: Candara, Calibri, Arial, sans-serif;
    font-size: 1.48rem;
    letter-spacing: -.035em;
    white-space: nowrap;
}
.brand-copy .brand-tagline {
    margin-top: 8px;
    color: var(--forest);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .045em;
}

.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-item { position: relative; }
.nav-links > a,
.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4c4038;
    font-size: 14px;
    font-weight: 900;
    -webkit-text-stroke: .15px currentColor;
    letter-spacing: .015em;
    text-decoration: none;
    transition: color .2s ease;
}
.nav-link {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.nav-links > a::after,
.nav-link::after {
    content: "";
    position: absolute;
    right: 100%;
    bottom: -9px;
    left: 0;
    height: 2px;
    background: var(--saffron);
    transition: right .2s ease;
}
.nav-links > a:hover,
.nav-link:hover,
.nav-dropdown:focus-within .nav-link { color: var(--saffron-dark); }
.nav-links > a:hover::after,
.nav-link:hover::after,
.nav-dropdown:focus-within .nav-link::after { right: 0; }
.nav-caret { position: relative; top: -2px; width: 7px; height: 7px; flex: 0 0 7px; margin-left: 2px; border-right: 2px solid var(--saffron); border-bottom: 2px solid var(--saffron); transform: rotate(45deg); transform-origin: center; transition: top .2s ease, transform .2s ease; }
.nav-dropdown:hover .nav-caret,
.nav-dropdown.is-open .nav-caret { top: 2px; transform: rotate(225deg); }
.dropdown-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: -18px;
    z-index: 8;
    width: max-content;
    min-width: 224px;
    display: grid;
    gap: 3px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 253, 248, .98);
    box-shadow: 0 18px 34px rgba(58, 22, 9, .15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 27px;
    width: 10px;
    height: 10px;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    background: var(--warm-white);
    transform: rotate(45deg);
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
    position: relative;
    z-index: 1;
    padding: 10px 12px;
    border-radius: 10px;
    color: #4c4038;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    transition: color .2s ease, background .2s ease, padding .2s ease;
}
.dropdown-menu a:hover { padding-left: 16px; color: var(--saffron-dark); background: #fff1e3; }
.nav-actions {
    display: flex;
    align-items: center;
    padding-left: 22px;
    border-left: 1px solid var(--line);
}
.header-support-button { min-height: 44px; padding: 0 18px; gap: 8px; font-size: 14px; white-space: nowrap; box-shadow: 0 10px 22px rgba(226, 82, 19, .2); }
.floating-socials { position: fixed; top: 50%; left: 14px; z-index: 42; display: grid; gap: 5px; padding: 6px; border: 1px solid rgba(234, 223, 206, .95); border-radius: 999px; background: rgba(255, 253, 248, .94); box-shadow: 0 14px 34px rgba(58, 22, 9, .14); backdrop-filter: blur(14px); transform: translateY(-50%); }
.floating-socials a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(21, 95, 50, .18); border-radius: 50%; color: var(--forest); background: #fff; font-size: 15px; text-decoration: none; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease; }
.floating-socials a:hover { color: #fff; box-shadow: 0 7px 16px rgba(31, 39, 51, .2); transform: translateX(3px); }
.floating-socials a[aria-label="Facebook"]:hover { border-color: #1877f2; background: #1877f2; }
.floating-socials a[aria-label="Instagram"]:hover { border-color: #e4405f; background: radial-gradient(circle at 30% 107%, #fdf497 0 5%, #fd5949 42%, #d6249f 62%, #285aeb 92%); }
.floating-socials a[aria-label="YouTube"]:hover { border-color: #ff0000; background: #ff0000; }
.floating-socials a[aria-label="Twitter"]:hover { border-color: #1da1f2; background: #1da1f2; }
.floating-socials a:focus-visible { outline-offset: 2px; }
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--white);
}
.nav-toggle > span:not(.sr-only) {
    display: block;
    width: 19px;
    height: 2px;
    margin: 4px auto;
    background: var(--brown);
    transition: transform .2s ease, opacity .2s ease;
}

@media (max-width: 1050px) {
    .nav-menu { gap: 18px; }
    .nav-links { gap: 16px; }
    .nav-actions { padding-left: 14px; }
    .brand { gap: 13px; }
    .brand-mark { width: 106px; height: 106px; flex-basis: 106px; }
    .brand-mark img { width: 96px; height: 96px; }
    .brand-copy strong { font-size: 1.24rem; }
}

@media (max-width: 820px) {
    .navbar { min-height: 84px; }
    .site-header.is-scrolled .navbar { min-height: 70px; }
    .nav-toggle { display: block; }
    .nav-toggle[aria-expanded="true"] > span:first-child { transform: translateY(6px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .nav-menu {
        position: absolute;
        top: 104px;
        right: 14px;
        left: 14px;
        display: none;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: rgba(255, 253, 248, .98);
        box-shadow: 0 18px 38px rgba(58, 22, 9, .16);
    }
    .nav-menu.is-open { display: flex; flex-direction: column; }
    .nav-links { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
    .nav-links > a,
    .nav-link { width: 100%; justify-content: space-between; padding: 11px 12px; }
    .nav-links > a::after,
    .nav-link::after { display: none; }
    .nav-item { width: 100%; }
    .dropdown-menu {
        position: static;
        width: 100%;
        min-width: 0;
        display: none;
        margin: 0 0 5px;
        padding: 5px;
        border: 0;
        border-left: 2px solid var(--gold);
        border-radius: 0 12px 12px 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: #fff8ec;
    }
    .dropdown-menu::before { display: none; }
    .nav-dropdown.is-open .dropdown-menu { display: grid; }
    .nav-actions { width: 100%; margin-top: 8px; padding: 12px 0 0; border-top: 1px solid var(--line); border-left: 0; }
    .nav-actions .button { flex: 1; }
    .site-header.is-scrolled .nav-menu { top: 70px; }
}

@media (max-width: 580px) {
    .site-header.is-scrolled { top: 0; margin-right: 0; margin-left: 0; border-radius: 0; }
    .site-header.is-scrolled::after { right: 0; left: 0; }
}

@media (max-width: 820px) {
    .floating-socials { top: auto; bottom: 14px; left: 50%; grid-auto-flow: column; transform: translateX(-50%); }
    .floating-socials a:hover { transform: translateY(-2px); }
}

@media (max-width: 600px) {
    .floating-socials { display: none; }
}

@media (max-width: 580px) {
    .navbar { min-height: 78px; }
    .site-header.is-scrolled .navbar { min-height: 66px; }
    .brand { gap: 10px; margin: -10px 0 -16px; }
    .brand-mark { width: 86px; height: 86px; flex-basis: 86px; box-shadow: 0 12px 24px rgba(58, 22, 9, .16), 0 0 0 5px rgba(255, 253, 248, .92); }
    .brand-mark img { width: 78px; height: 78px; }
    .brand-mark { transform: translateY(20px); }
    .brand-mark::after { right: 0; bottom: 4px; width: 11px; height: 11px; border-width: 2px; }
    .brand-copy strong { font-size: .96rem; }
    .brand-copy .brand-tagline { margin-top: 5px; font-size: 13px; }
    .nav-menu { top: 96px; }
}
