/* Shared Casenta public navigation and footer. Source: public index.php */
/* Casenta shared colour tokens — available on every public page. */
:root {
    --navy: #111b34;
    --navy-soft: #1a2948;
    --gold: #b99a5b;
    --gold-soft: #e1ca97;
    --paper: #f5f3ee;
    --white: #ffffff;
    --ink: #172033;
    --muted: #687386;
    --line: #e3e0d8;
    --soft: #faf9f6;
}

.topbar{
    position:sticky;top:0;z-index:50;
    display:flex;align-items:center;justify-content:space-between;
    padding:18px 32px;
    background:var(--navy);
    color:#fff;
    box-shadow:0 3px 14px rgba(0,0,0,.10);
}
.brand{
    display:inline-flex;
    align-items:center;
    text-decoration:none;
    line-height:0;
}

.brand img{
    display:block;
    width:auto;
    height:48px;
    max-width:230px;
    object-fit:contain;
}
.nav{
    display:flex;align-items:center;gap:20px;
}
.nav a{
    color:#d9dfeb;text-decoration:none;
    font-size:13px;font-weight:700;
}
.nav a:hover{color:var(--gold-soft)}
.nav-dropdown{
    position:relative;
}
.nav-dropdown > button{
    display:flex;
    align-items:center;
    gap:6px;
    border:0;
    padding:0;
    background:transparent;
    color:#d9dfeb;
    font:inherit;
    font-size:13px;
    font-weight:700;
    cursor:pointer;
}
.nav-dropdown > button:hover,
.nav-dropdown.open > button{
    color:var(--gold-soft);
}
.nav-dropdown > button::after{
    content:"";
    width:6px;
    height:6px;
    border-right:2px solid currentColor;
    border-bottom:2px solid currentColor;
    transform:rotate(45deg) translateY(-1px);
}
.nav-dropdown-menu{
    position:absolute;
    top:100%;
    left:50%;
    transform:translateX(-50%);
    min-width:190px;
    padding:8px;
    border:1px solid rgba(255,255,255,.12);
    border-radius:10px;
    background:var(--navy-soft);
    box-shadow:0 14px 30px rgba(0,0,0,.22);
    display:none;
    z-index:1000;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu{
    display:block;
}
.nav-dropdown-menu a{
    display:block;
    padding:9px 11px;
    border-radius:7px;
    white-space:nowrap;
}
.nav-dropdown-menu a:hover{
    background:rgba(255,255,255,.06);
}
.nav .login{
    padding:9px 14px;
    border:1px solid rgba(255,255,255,.25);
    border-radius:8px;color:#fff;
}
.mobile-menu-toggle{
    display:none;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
    padding:0;
    border:1px solid rgba(255,255,255,.25);
    border-radius:8px;
    background:transparent;
    color:#fff;
    cursor:pointer;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus-visible{
    border-color:var(--gold-soft);
    color:var(--gold-soft);
}
.mobile-menu-icon,
.mobile-menu-icon::before,
.mobile-menu-icon::after{
    display:block;
    width:20px;
    height:2px;
    border-radius:2px;
    background:currentColor;
    transition:transform .2s ease,opacity .2s ease;
}
.mobile-menu-icon{position:relative}
.mobile-menu-icon::before,
.mobile-menu-icon::after{
    content:"";
    position:absolute;
    left:0;
}
.mobile-menu-icon::before{top:-6px}
.mobile-menu-icon::after{top:6px}
.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-icon{background:transparent}
.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-icon::before{top:0;transform:rotate(45deg)}
.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-icon::after{top:0;transform:rotate(-45deg)}
.mobile-menu{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    max-height:calc(100vh - 76px);
    overflow-y:auto;
    padding:14px 18px 20px;
    border-top:1px solid rgba(255,255,255,.12);
    background:var(--navy);
    box-shadow:0 14px 24px rgba(0,0,0,.18);
}
.mobile-menu.open{display:block}
.mobile-menu-section{
    padding:10px 0;
    border-bottom:1px solid rgba(255,255,255,.10);
}
.mobile-menu-label{
    display:block;
    margin-bottom:6px;
    color:var(--gold-soft);
    font-size:11px;
    font-weight:800;
    letter-spacing:.9px;
    text-transform:uppercase;
}
.mobile-menu a{
    display:block;
    padding:10px 8px;
    border-radius:7px;
    color:#fff;
    text-decoration:none;
    font-size:15px;
    font-weight:700;
}
.mobile-menu a:hover,
.mobile-menu a:focus-visible{background:rgba(255,255,255,.07);color:var(--gold-soft)}
.mobile-menu-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    padding-top:16px;
}
.mobile-menu-actions a{
    text-align:center;
    border:1px solid rgba(255,255,255,.25);
}
.mobile-menu-actions .mobile-demo{
    border-color:var(--gold);
    background:var(--gold);
    color:var(--navy);
}

@media(max-width:900px){.nav{display:none}.mobile-menu-toggle{display:inline-flex}}
@media(max-width:560px){.topbar{padding:16px 18px}.brand img{height:42px;max-width:200px}.mobile-menu-actions{grid-template-columns:1fr}}

.footer{
    padding:28px 24px;
    background:var(--navy);
    color:#aeb8c7;
    text-align:center;
    font-size:12px;
}
.footer-links{
    display:flex;justify-content:center;
    gap:16px;flex-wrap:wrap;
    margin-top:7px;
}
.footer a{
    color:#d9dfeb;
    text-decoration:none;
    font-weight:700;
}
.footer-social{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    margin-top:18px;
}
.footer-social-label{
    margin-right:2px;
    color:#aeb8c7;
    font-weight:700;
}
.footer-social a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:38px;
    height:38px;
    border:1px solid rgba(255,255,255,.22);
    border-radius:50%;
    color:#fff;
    transition:background .2s ease,border-color .2s ease,color .2s ease,transform .2s ease;
}
.footer-social a:hover,
.footer-social a:focus-visible{
    border-color:var(--gold-soft);
    background:var(--gold-soft);
    color:var(--navy);
    transform:translateY(-2px);
    outline:none;
}
.footer-social svg{
    width:19px;
    height:19px;
    fill:currentColor;
}

