/* AFIXAR navigation: styles deliberately scoped outside legacy header selectors. */
:root{--afx-nav-height:80px;--afx-admin-offset:0px}
body.admin-bar{--afx-admin-offset:32px}
.afx-header,.afx-mobile-dialog{--nav-bg:#090909;--nav-text:#f4f1ea;--nav-muted:#b8b5ae;--nav-accent:#f04a23;--nav-line:rgba(244,241,234,.15);font-family:Inter,Arial,sans-serif;color:var(--nav-text);font-size:14px;line-height:1.4;letter-spacing:0}
.afx-header *,.afx-mobile-dialog *{box-sizing:border-box}
.afx-header a,.afx-mobile-dialog a{text-decoration:none}
.afx-header button,.afx-mobile-dialog button{font:inherit;cursor:pointer;text-transform:none;box-shadow:none;letter-spacing:0}
.afx-header{position:sticky;top:var(--afx-admin-offset);width:100%;z-index:1000;background:var(--nav-bg);border-bottom:none;transition:background .25s}
.afx-header-overlay{position:fixed;inset-inline:0;background:linear-gradient(rgba(9,9,9,.55),transparent)}
.afx-header.afx-scrolled,.afx-header.afx-menu-expanded{background:rgba(9,9,9,.96);backdrop-filter:blur(20px)}
.afx-header-inner{max-width:1510px;height:var(--afx-nav-height);margin:auto;padding:0 32px;display:flex;align-items:center;gap:28px}
.afx-brand{display:flex;align-items:center;flex-shrink:0;color:var(--nav-text);font-size:30px;line-height:1;min-height:44px}
.afx-brand img{display:block;width:108px;height:auto;filter:brightness(0) invert(1);border-radius:0}
.afx-desktop-nav{align-self:stretch;display:flex;align-items:stretch;flex:1;min-width:0}
.afx-nav-list{display:flex;align-items:stretch;gap:2px;list-style:none;padding:0;margin:0;width:100%}
.afx-nav-list>.afx-nav-item{list-style:none;padding:0;margin:0;display:flex;align-items:stretch;color:inherit}
.afx-nav-list>.afx-nav-item:nth-last-child(2){margin-left:auto}
.afx-nav-trigger,.afx-nav-link{display:flex;align-items:center;justify-content:space-between;gap:7px;min-height:44px;border:0;border-radius:0;background:transparent;color:var(--nav-text);padding:0 10px;font-weight:500;white-space:nowrap;transition:color .2s}
.afx-nav-trigger svg{width:12px;height:12px;transition:transform .2s}
.afx-header .afx-nav-trigger:hover,.afx-header .afx-nav-trigger:focus,.afx-mobile-dialog .afx-nav-trigger:hover,.afx-mobile-dialog .afx-nav-trigger:focus{background:transparent}
.afx-nav-link:visited,.afx-brand:visited{color:var(--nav-text)}
.afx-nav-trigger:hover,.afx-nav-link:hover,.afx-nav-trigger[aria-expanded=true],.afx-nav-current>.afx-nav-link,.afx-nav-current>.afx-nav-trigger{color:var(--nav-accent)}
.afx-nav-trigger[aria-expanded=true]>svg{transform:rotate(180deg)}
.afx-nav-panel{display:none;list-style:none;position:absolute;top:100%;left:0;right:0;max-width:none;margin:0;padding:24px max(32px,calc((100% - 1510px)/2 + 32px));gap:8px;background:var(--nav-bg);border:0;border-bottom:1px solid var(--nav-line);box-shadow:0 20px 35px #0003;grid-template-columns:repeat(2,minmax(0,1fr))}
.afx-nav-item.afx-open>.afx-nav-panel{display:grid;animation:afx-nav-enter .18s ease-out}
.afx-nav-panel>.afx-nav-item{margin:0;padding:0;list-style:none;min-width:0;color:inherit}
.afx-nav-card{display:flex;align-items:flex-start;gap:16px;padding:20px;min-height:100px;color:var(--nav-text);background:transparent;border:1px solid transparent;transition:background .2s,border-color .2s}
.afx-nav-card:visited{color:var(--nav-text)}
.afx-nav-card:hover,.afx-nav-card[aria-current=page]{color:var(--nav-text);background:#171716;border-color:var(--nav-line)}
.afx-nav-icon{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border:1px solid var(--nav-line);color:var(--nav-text)}
.afx-nav-icon svg{width:22px;height:22px}
.afx-nav-card:hover .afx-nav-icon,.afx-nav-card[aria-current=page] .afx-nav-icon{color:var(--nav-accent)}
.afx-nav-copy{display:flex;flex-direction:column;gap:6px;min-width:0}
.afx-nav-title{font-size:14px;line-height:1.45;font-weight:500}
.afx-nav-desc{font-size:13px;line-height:1.55;color:var(--nav-muted);max-width:360px}
.afx-nav-arrow{margin-left:auto;flex-shrink:0;color:var(--nav-muted)}
.afx-nav-arrow svg{width:18px;height:18px}
.afx-nav-card:hover .afx-nav-arrow{color:var(--nav-accent)}
.afx-header-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
.afx-client-link,.afx-contact-link{display:flex;align-items:center;justify-content:center;gap:14px;min-height:44px;padding:10px 16px;border:1px solid var(--nav-line);border-radius:0;font-size:13px;font-weight:500;line-height:1.4;white-space:nowrap;transition:background .2s,color .2s,border-color .2s}
.afx-client-link,.afx-client-link:visited{color:var(--nav-text);background:transparent}
.afx-client-link:hover{border-color:var(--nav-accent);color:var(--nav-text)}
.afx-header .afx-contact-link,.afx-mobile-dialog .afx-contact-link{color:#fff;background:#ff4d24;border-color:#ff4d24;font-weight:600;transition:color .2s ease-in-out,background-color .2s ease-in-out,border-color .2s ease-in-out}
.afx-header .afx-contact-link:visited,.afx-mobile-dialog .afx-contact-link:visited{color:#fff}
.afx-header .afx-contact-link:is(:hover,:focus-visible,:active),.afx-mobile-dialog .afx-contact-link:is(:hover,:focus-visible,:active){color:#fff;background:#cc3513;border-color:#cc3513}
.afx-contact-link svg{color:inherit;stroke:currentColor}
.afx-contact-link svg,.afx-client-link svg{width:17px;height:17px}
.afx-header :is(a,button):focus-visible,.afx-mobile-dialog :is(a,button):focus-visible{outline:2px solid #f04a23;outline-offset:4px}
.afx-nav-backdrop{position:fixed;inset:calc(var(--afx-nav-height) + var(--afx-admin-offset)) 0 0;z-index:999;background:#0006;backdrop-filter:blur(3px)}
.afx-nav-backdrop[hidden]{display:none}
.afx-mobile-toggle,.afx-mobile-close{position:relative;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid var(--nav-line);border-radius:0;background:transparent;color:var(--nav-text);transition:background-color .2s,border-color .2s}
.afx-mobile-toggle{display:none}
.afx-mobile-toggle span,.afx-mobile-close span{position:absolute;left:11px;top:20px;display:block;width:20px;height:2px;background:currentColor;transform-origin:center;transition:transform .34s cubic-bezier(.22,1,.36,1)}
.afx-mobile-toggle span:first-child,.afx-mobile-close span:first-child{transform:translateY(-4px)}
.afx-mobile-toggle span:last-child,.afx-mobile-close span:last-child{transform:translateY(4px)}
.afx-mobile-toggle[aria-expanded=true] span:first-child,.afx-mobile-visible .afx-mobile-close span:first-child{transform:rotate(45deg)}
.afx-mobile-toggle[aria-expanded=true] span:last-child,.afx-mobile-visible .afx-mobile-close span:last-child{transform:rotate(-45deg)}
.afx-mobile-dialog{padding:0;border:0;margin:0;max-width:none;max-height:none;width:100%;height:100dvh;background:var(--nav-bg);overflow:hidden;inset:0;opacity:0;transform:translateY(-14px);transition:opacity .32s cubic-bezier(.22,1,.36,1),transform .32s cubic-bezier(.22,1,.36,1)}
.afx-mobile-dialog:not([open]){display:none}
.afx-mobile-dialog[open]{display:flex;flex-direction:column}
.afx-mobile-dialog.afx-mobile-visible{opacity:1;transform:translateY(0)}
.afx-mobile-dialog.afx-mobile-closing{transition-duration:.22s;transition-timing-function:ease-in}
.afx-mobile-dialog::backdrop{background:#0009;opacity:0;transition:opacity .3s ease}
.afx-mobile-dialog.afx-mobile-visible::backdrop{opacity:1}
.afx-mobile-dialog.afx-mobile-closing::backdrop{transition-duration:.22s}
.afx-mobile-top{display:flex;align-items:center;justify-content:space-between;padding:0 22px;min-height:70px;border-bottom:none;flex-shrink:0}
.afx-mobile-close{display:flex;flex-shrink:0}
.afx-mobile-close:hover,.afx-mobile-close:focus{background:#171716;color:var(--nav-text)}
.afx-mobile-scroll{overflow:auto;overscroll-behavior:contain;padding:24px 22px max(24px,env(safe-area-inset-bottom));flex:1}
.afx-menu-caption{color:var(--nav-muted);font-size:10px;letter-spacing:.12em;margin:0 0 18px}
.afx-mobile-dialog .afx-nav-list{display:block}
.afx-mobile-dialog .afx-nav-list>.afx-nav-item{display:block;border-bottom:1px solid var(--nav-line);margin:0}
.afx-mobile-dialog .afx-menu-caption,.afx-mobile-dialog .afx-nav-list>.afx-nav-item,.afx-mobile-dialog .afx-mobile-actions{opacity:0;transform:translateY(10px);transition:opacity .3s ease,transform .36s cubic-bezier(.22,1,.36,1)}
.afx-mobile-visible .afx-menu-caption,.afx-mobile-visible .afx-nav-list>.afx-nav-item,.afx-mobile-visible .afx-mobile-actions{opacity:1;transform:translateY(0);transition-delay:calc(40ms + var(--afx-reveal-index,0)*28ms)}
.afx-mobile-closing .afx-menu-caption,.afx-mobile-closing .afx-nav-list>.afx-nav-item,.afx-mobile-closing .afx-mobile-actions{transition-duration:.16s;transition-delay:0s}
.afx-mobile-dialog .afx-nav-trigger,.afx-mobile-dialog .afx-nav-link{width:100%;padding:20px 0;font-size:26px;font-weight:400;white-space:normal;text-align:left}
.afx-mobile-dialog .afx-nav-link .afx-nav-title{font-size:26px;font-weight:400}
.afx-mobile-dialog .afx-nav-trigger svg{width:18px;height:18px;flex-shrink:0}
.afx-mobile-dialog .afx-nav-panel{position:static;border:0;padding:0 0 12px;margin:0;box-shadow:none;grid-template-columns:1fr;gap:0;animation:none}
.afx-mobile-dialog .afx-nav-card{padding:15px 0;min-height:80px;gap:12px}
.afx-mobile-dialog .afx-nav-icon{width:34px;height:34px}
.afx-mobile-dialog .afx-nav-icon svg{width:19px;height:19px}
.afx-mobile-dialog .afx-nav-title{font-size:16px}
.afx-mobile-dialog .afx-nav-arrow{display:none}
.afx-mobile-actions{display:grid;gap:12px;margin-top:28px}
.afx-mobile-actions a{min-height:52px;justify-content:space-between;font-size:15px}
html.afx-mobile-locked,html.afx-mobile-locked body{overflow:hidden!important}
@keyframes afx-nav-enter{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1279px){:root{--afx-nav-height:70px}.afx-desktop-nav,.afx-header-actions>.afx-client-link{display:none}.afx-header-inner{justify-content:space-between;gap:16px}.afx-mobile-toggle{display:flex}.afx-nav-backdrop{display:none}.afx-brand img{width:106px}}
@media(max-width:782px){body.admin-bar{--afx-admin-offset:46px}}
@media(max-width:767px){.afx-header-inner{padding:0 22px}}
@media(min-width:768px){.afx-mobile-top{padding:0 32px}.afx-mobile-scroll{padding-inline:32px}}
@media(max-width:480px){.afx-header-actions{gap:10px}.afx-header-actions>.afx-contact-link{font-size:12px;padding:10px 12px;gap:8px}.afx-header-actions>.afx-contact-link svg{width:14px}.afx-brand img{width:96px}}
@media(max-width:359px){.afx-header-inner{gap:10px}.afx-header-actions{gap:6px}.afx-brand img{width:88px}.afx-header-actions>.afx-contact-link svg{display:none}}
@media(prefers-reduced-motion:reduce){.afx-header *,.afx-mobile-dialog *,.afx-header,.afx-mobile-dialog,.afx-mobile-dialog::backdrop,.afx-nav-backdrop{animation:none!important;transition:none!important}}
