/* Public navigation refresh */
.site-header{position:relative;z-index:70}
.site-header:before{content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,#25334a,#168c43,#11b88b);z-index:72}
.site-header .navbar{height:82px;top:0;border:0;border-bottom:1px solid #e7edf3;background:rgba(255,255,255,.97);box-shadow:0 5px 24px rgba(11,37,61,.07);backdrop-filter:blur(18px)}
.site-header .nav-inner.container{width:min(1320px,calc(100% - 38px));display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:24px}
.header-brand{flex:0 0 auto}
.header-brand .site-brand-logo{width:auto!important;height:40px!important;max-width:190px!important}
.site-header .main-menu{display:flex;align-items:stretch;justify-content:center;gap:2px;height:100%;min-width:0}
.site-header .nav-item{position:relative;height:100%;display:flex;align-items:center}
.nav-item-head{height:100%;display:flex;align-items:center}
.site-header .nav-link{height:100%;padding:0 11px;border-radius:0;display:flex;align-items:center;gap:7px;color:#28425a;font-size:13px;font-weight:800;white-space:nowrap;position:relative}
.site-header .nav-link:after{content:"";position:absolute;height:3px;border-radius:8px;left:50%;right:50%;bottom:0;background:var(--green);transition:.2s}
.site-header .nav-link:hover,.site-header .nav-item:focus-within>.nav-item-head .nav-link{background:transparent;color:#128641}
.site-header .nav-link:hover:after,.site-header .nav-item:focus-within>.nav-item-head .nav-link:after{left:11px;right:11px}
.site-header .nav-link>i{color:#36556e;font-size:14px;transition:.2s}
.site-header .nav-link:hover>i{color:#13a54b}
.submenu-toggle{border:0;background:transparent;color:#71869a;width:22px;height:32px;padding:0;display:grid;place-items:center;cursor:pointer;margin-left:-8px;transition:.2s}
.nav-item:hover .submenu-toggle,.nav-item:focus-within .submenu-toggle{color:#138c43;transform:rotate(180deg)}
.site-header .mega{display:none;position:absolute;left:50%;top:calc(100% - 2px);transform:translateX(-50%);width:min(680px,calc(100vw - 32px));padding:16px;background:#fff;border:1px solid #e5edf2;border-top:3px solid var(--green);box-shadow:0 24px 55px rgba(12,38,62,.15);border-radius:0 0 16px 16px;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.site-header .nav-item:hover>.mega,.site-header .nav-item:focus-within>.mega{display:grid}
.site-header .mega-group{padding:11px;border-radius:11px;transition:.2s}
.site-header .mega-group:hover{background:#f4fbf2}
.site-header .mega-title{font-size:14px;gap:10px}
.mega-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#e9f8e5;color:#139246;flex:0 0 auto}
.site-header .mega-links{padding:7px 0 0 44px}
.site-header .mega-links a{display:flex;align-items:center;gap:7px;padding:3px 0}
.site-header .mega-links a i{font-size:9px;color:#37b64b}
.site-header .nav-actions{display:flex;align-items:center;gap:9px}
.header-login,.header-cta{height:43px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;font-size:12px;font-weight:850;white-space:nowrap}
.header-login{border:1px solid #d5e0e8;color:#29445a;background:#fff}
.header-login:hover{border-color:#75c95c;color:#138342;background:#f8fff6}
.header-cta{border:0;background:linear-gradient(135deg,var(--green),#189a45);color:#fff;box-shadow:0 9px 19px rgba(35,167,64,.22);cursor:pointer}
.header-cta:hover{transform:translateY(-1px);box-shadow:0 12px 23px rgba(35,167,64,.28)}
.mobile-menu-head,.mobile-menu-actions,.nav-backdrop{display:none}
.site-header .mobile-toggle{display:none}

/* Authentication refresh */
.auth-screen{min-height:100vh;background:radial-gradient(circle at 50% 38%,#fff 0,#f7f9ff 36%,#eef2fb 100%);color:#102b46;position:relative;overflow-x:hidden}
.auth-screen:before{content:"";position:fixed;inset:0;background:linear-gradient(120deg,rgba(255,255,255,.72),transparent 35%,transparent 65%,rgba(255,255,255,.7));pointer-events:none}
.auth-screen .auth-form-wrap{position:relative;z-index:4;min-height:100vh;display:grid;place-items:center;padding:74px 20px 46px;background:transparent}
.auth-screen .auth-card{width:min(470px,100%);background:rgba(255,255,255,.98);border:1px solid rgba(226,233,241,.95);border-radius:14px;padding:34px 40px 31px;box-shadow:0 25px 70px rgba(34,51,79,.16)}
.auth-screen .auth-card-wide{width:min(730px,100%);padding:28px 34px 30px}
.auth-brand{justify-content:center;margin:0 auto 14px}
.auth-brand .site-brand-logo{height:47px!important;width:auto!important;max-width:255px!important}
.auth-heading{text-align:center;margin-bottom:24px}
.auth-heading h1{font-size:27px;line-height:1.2;color:#081f3d;margin:0 0 6px;letter-spacing:-.5px}
.auth-heading p{font-size:14px;color:#65788d;margin:0}
.auth-heading-icon{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;margin:0 auto 14px;background:linear-gradient(145deg,#e4f9df,#f5fff2);color:#169746;font-size:20px}
.auth-form{display:grid;gap:16px}
.auth-input{height:52px;border:1px solid #d7e1ec;background:#fff;border-radius:9px;display:flex;align-items:center;position:relative;transition:.2s;margin:0}
.auth-input:focus-within{border-color:#29ad4b;box-shadow:0 0 0 3px rgba(45,178,67,.1)}
.auth-input>i:first-child{width:46px;text-align:center;color:#8a9db2;font-size:14px;flex:0 0 auto}
.auth-input input,.auth-input select{height:100%;min-width:0;flex:1;border:0;outline:0;background:transparent;color:#17324c;padding:0 14px 0 0;font-size:14px}
.auth-input select{appearance:none;cursor:pointer}
.auth-input input::placeholder{color:#9aa9ba}
.password-toggle{width:44px;height:100%;border:0;background:transparent;color:#91a2b5;cursor:pointer;display:grid;place-items:center}
.password-toggle:hover{color:#159245}
.auth-form-row{display:flex;align-items:center;justify-content:space-between;gap:16px}
.auth-check{display:flex;align-items:center;gap:8px;color:#2b4057;font-weight:650;font-size:13px;cursor:pointer}
.auth-check input{width:17px;height:17px;accent-color:#159845}
.auth-link{color:#1558e8;font-weight:750}
.auth-link:hover{text-decoration:underline}
.auth-security-note{min-height:62px;border:1px solid #dfe5eb;background:#fbfdfc;display:flex;align-items:center;gap:10px;padding:10px 12px;color:#30485f}
.auth-security-note>span{width:31px;height:31px;border-radius:50%;background:#239a51;color:#fff;display:grid;place-items:center}
.auth-security-note>div{display:grid;line-height:1.25;flex:1}
.auth-security-note small{color:#8292a2}
.auth-security-note>i{font-size:24px;color:#ff8c21}
.auth-submit{height:48px;border:0;border-radius:9px;background:linear-gradient(135deg,#07933d,#10a64a);color:#fff;font-weight:850;display:flex;align-items:center;justify-content:center;position:relative;cursor:pointer;box-shadow:0 9px 20px rgba(9,148,60,.2);transition:.2s}
.auth-submit>i{position:absolute;right:17px}
.auth-submit:hover{transform:translateY(-1px);filter:brightness(1.04);box-shadow:0 12px 24px rgba(9,148,60,.28)}
.auth-switch{text-align:center!important;color:#40566e!important;margin:20px 0 0!important;font-size:13px}
.auth-switch a{color:#1558e8;font-weight:800}
.auth-card>.alert{font-size:12px;margin:0 0 15px}
.auth-home-link{position:fixed;left:24px;top:23px;z-index:8;height:39px;border:1px solid #dce5ec;background:rgba(255,255,255,.8);backdrop-filter:blur(8px);border-radius:9px;display:flex;align-items:center;gap:9px;padding:0 13px;color:#37516a;font-weight:750;font-size:12px}
.auth-home-link:hover{color:#128b42;border-color:#83cf6c}
.register-form{gap:13px}
.register-section{border:0;border-top:1px solid #dfe6ed;padding:15px 0 4px;margin:0;min-width:0}
.register-section legend{padding:0 12px 0 0;color:#112d48;font-size:12px;font-weight:900}
.register-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.register-grid .auth-input{height:46px}
.auth-phone .phone-prefix{height:24px;padding-right:9px;border-right:1px solid #d9e1e9;color:#48637b;font-size:12px;font-weight:750}
.auth-terms{margin:1px 0}

.auth-decoration{position:fixed;width:380px;height:500px;z-index:1;top:50%;transform:translateY(-50%);opacity:.9;pointer-events:none}
.auth-decoration-left{left:7%}.auth-decoration-right{right:7%;transform:translateY(-50%) scaleX(-1)}
.auth-decoration span{position:absolute;height:42px;border-radius:30px;transform:rotate(-47deg);background:linear-gradient(90deg,rgba(34,179,75,.04),rgba(34,179,75,.2))}
.auth-decoration span:nth-child(1){width:260px;left:10px;top:80px}
.auth-decoration span:nth-child(2){width:350px;left:18px;top:170px;background:linear-gradient(90deg,rgba(31,183,74,.08),rgba(31,183,74,.25))}
.auth-decoration span:nth-child(3){width:250px;left:25px;top:280px;background:linear-gradient(90deg,#04a94b,#39ce27);box-shadow:0 16px 35px rgba(31,179,67,.18)}
.auth-decoration span:nth-child(4){width:300px;left:105px;top:350px;background:linear-gradient(90deg,rgba(37,188,84,.06),rgba(37,188,84,.17))}
.auth-decoration i{position:absolute;width:200px;height:1px;background:#20b85d;transform:rotate(-47deg);right:0;top:90px}
.auth-dot-grid{position:fixed;width:105px;height:105px;z-index:2;background-image:radial-gradient(#19b75c 2.3px,transparent 2.5px);background-size:18px 18px;opacity:.9}
.auth-dot-grid-left{left:13%;top:43%}.auth-dot-grid-right{right:13%;top:60%}

@media(max-width:1180px){
    .site-header .nav-inner.container{gap:13px}
    .header-brand .site-brand-logo{max-width:165px!important;height:36px!important}
    .site-header .nav-link{padding:0 8px;font-size:12px}
    .header-login,.header-cta{padding:0 11px}
}

@media(max-width:1100px){
    .site-header .navbar{height:72px}
    .site-header .nav-inner.container{display:flex;justify-content:space-between;width:min(100% - 28px,1320px)}
    .header-brand .site-brand-logo{height:38px!important;max-width:190px!important}
    .site-header .mobile-toggle{display:flex;width:44px;height:42px;border:1px solid #dce8df;background:#f5fbf2;border-radius:10px;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:0;z-index:91}
    .site-header .mobile-toggle span{display:block;width:20px;height:2px;border-radius:3px;background:#167d40;transition:.25s}
    body.menu-open .mobile-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
    body.menu-open .mobile-toggle span:nth-child(2){opacity:0}
    body.menu-open .mobile-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
    .site-header .nav-actions{display:none}
    .site-header .main-menu{display:flex;position:fixed;z-index:90;right:-420px;left:auto;top:0;width:min(390px,92vw);height:100dvh;background:#fff;padding:0 18px 25px;box-shadow:-22px 0 60px rgba(8,29,48,.2);flex-direction:column;align-items:stretch;justify-content:flex-start;gap:3px;overflow-y:auto;transition:right .28s ease}
    .site-header .main-menu.open{right:0}
    .mobile-menu-head{height:72px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e8eef2;margin-bottom:10px;color:#15324a}
    .mobile-menu-head b{font-size:17px}
    .mobile-menu-head button{width:39px;height:39px;border:0;border-radius:9px;background:#eff8ec;color:#168441;font-size:18px;cursor:pointer}
    .site-header .nav-item{height:auto;display:block;border-bottom:1px solid #edf2f5}
    .nav-item-head{height:auto}
    .site-header .nav-link{height:50px;flex:1;padding:0 8px;font-size:14px}
    .site-header .nav-link:after{display:none}
    .site-header .nav-link>i{width:25px;height:25px;border-radius:7px;display:grid;place-items:center;background:#eff9eb;color:#188c44;font-size:12px}
    .submenu-toggle{width:44px;height:44px;margin:0;border-radius:8px}
    .nav-item:hover .submenu-toggle,.nav-item:focus-within .submenu-toggle{transform:none}
    .nav-item.expanded .submenu-toggle{transform:rotate(180deg);color:#148b41}
    .site-header .mega,.site-header .nav-item:hover>.mega,.site-header .nav-item:focus-within>.mega{display:none;position:static;transform:none;width:auto;padding:5px 7px 12px;border:0;border-radius:0;box-shadow:none;background:#f8fbf7;grid-template-columns:1fr}
    .site-header .nav-item.expanded>.mega{display:grid}
    .site-header .mega-group{padding:9px}
    .site-header .mega-links{padding-left:44px}
    .mobile-menu-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:22px}
    .mobile-menu-actions form{display:block}
    .nav-backdrop{display:block;position:fixed;z-index:85;inset:0;border:0;background:rgba(5,21,35,.48);backdrop-filter:blur(2px);opacity:0;visibility:hidden;transition:.25s}
    body.menu-open .nav-backdrop{opacity:1;visibility:visible}
    body.menu-open{overflow:hidden}
}

@media(max-width:1050px){
    .auth-decoration-left{left:-6%}.auth-decoration-right{right:-6%}
    .auth-dot-grid-left{left:5%}.auth-dot-grid-right{right:5%}
}

@media(max-width:760px){
    .auth-decoration{opacity:.35;width:280px;transform:translateY(-50%) scale(.8)}
    .auth-decoration-left{left:-150px}.auth-decoration-right{right:-150px;transform:translateY(-50%) scale(-.8,.8)}
    .auth-dot-grid{opacity:.35}
    .auth-screen .auth-form-wrap{padding:72px 16px 32px;align-items:center}
    .auth-screen .auth-card,.auth-screen .auth-card-wide{width:min(560px,100%);padding:27px 24px;border-radius:13px}
    .auth-brand .site-brand-logo{height:40px!important;max-width:220px!important}
    .auth-heading h1{font-size:24px}
    .register-grid{grid-template-columns:1fr}
    .auth-home-link{left:15px;top:14px;width:39px;padding:0;justify-content:center}
    .auth-home-link span{display:none}
}

@media(max-width:520px){
    .site-header .navbar{height:66px}
    .header-brand .site-brand-logo{height:33px!important;max-width:160px!important}
    .site-header .mobile-toggle{width:40px;height:39px}
    .mobile-menu-head{height:66px}
    .mobile-menu-actions{grid-template-columns:1fr}
    .auth-screen{background:#f4f7fd}
    .auth-screen .auth-form-wrap{padding:64px 10px 20px}
    .auth-screen .auth-card,.auth-screen .auth-card-wide{padding:24px 18px;box-shadow:0 14px 40px rgba(34,51,79,.12)}
    .auth-input{height:49px}
    .auth-form-row{align-items:flex-start}
    .auth-link{font-size:12px}
    .auth-security-note{font-size:12px}
    .auth-switch{font-size:12px}
}

/* Clean, full-white sticky public header */
.site-header{position:sticky;top:0;z-index:100;background:#fff;font-family:"Manrope",Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
.site-header:before{display:none}
.site-header .navbar{position:relative;top:auto;z-index:90;height:78px;border:0;border-bottom:1px solid #e8edf2;background:#fff;box-shadow:0 6px 22px rgba(15,40,64,.055);backdrop-filter:none}
.site-header .nav-link{padding-left:12px;padding-right:12px;color:#344b60;font-size:13px;font-weight:600;letter-spacing:-.01em}
.header-login,.header-cta{height:42px;border-radius:9px;padding-left:15px;padding-right:15px;font-weight:700}
@media(max-width:1100px){
    .site-header .navbar{height:72px}
    .site-header .main-menu{z-index:95;pointer-events:auto}
    .mobile-menu-actions{position:relative;z-index:2;pointer-events:auto}
    .mobile-menu-actions a,.mobile-menu-actions button,.mobile-menu-actions form{position:relative;z-index:3;pointer-events:auto}
    .nav-backdrop{z-index:80;pointer-events:none}
    body.menu-open .nav-backdrop{pointer-events:auto}
}
@media(max-width:520px){.site-header .navbar{height:66px}}
