:root{--dark:#142019;--dark2:#203229;--gold:#c79a49;--gold2:#e1c47f;--paper:#f7f4ed;--ink:#182019;--muted:#69726c;--line:#e8e2d7}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Tahoma,Arial,sans-serif;color:var(--ink);background:var(--paper);overflow-x:hidden}
a{text-decoration:none;color:inherit}button,input,textarea{font:inherit}.site-header{position:fixed;inset:0 0 auto;z-index:50;height:76px;background:rgba(15,25,20,.92);backdrop-filter:blur(12px);border-bottom:1px solid rgba(255,255,255,.08)}
.header-inner{max-width:1180px;height:100%;margin:auto;padding:0 18px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.logo-wrap{display:flex;align-items:center;gap:12px;color:#fff;min-width:0}.logo-wrap img{width:46px;height:46px;flex:0 0 auto;border-radius:12px}.logo-copy{display:flex;flex-direction:column;min-width:0}.logo-copy b{font-size:21px;color:var(--gold2);line-height:1.1}.logo-copy span{font-size:11px;color:#d9dfdb;white-space:nowrap}
.header-links{display:flex;gap:22px;color:#e8ece9;font-size:14px}.header-actions{display:flex;gap:8px}.btn{border:0;border-radius:12px;padding:11px 16px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.btn-gold{background:linear-gradient(135deg,var(--gold2),#ad7d2e);color:#152019;box-shadow:0 8px 22px rgba(0,0,0,.16)}.btn-outline{background:rgba(255,255,255,.07);color:#fff;border:1px solid rgba(255,255,255,.24)}
.hero-home{min-height:720px;padding-top:76px;position:relative;background:#15221b;display:flex;align-items:center;isolation:isolate}
.hero-home:before{content:"";position:absolute;inset:0;background:url('/assets/bonyan-hero.svg?v=2') center/cover no-repeat;z-index:-2}
.hero-home:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,18,14,.95) 0%,rgba(15,28,21,.86) 46%,rgba(15,28,21,.38) 100%);z-index:-1}
.hero-inner{max-width:1180px;width:100%;margin:auto;padding:70px 18px;color:#fff}.hero-copy{max-width:680px}.kicker{display:inline-flex;align-items:center;gap:10px;color:var(--gold2);font-weight:800;font-size:13px}.kicker:before{content:"";width:34px;height:2px;background:var(--gold)}
.hero-copy h1{font-size:60px;line-height:1.15;margin:18px 0 16px;letter-spacing:-1px}.hero-copy h1 span{color:var(--gold2)}.hero-copy p{font-size:18px;line-height:1.95;color:#e3e8e5;margin:0;max-width:650px}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}.hero-actions .btn{padding:14px 21px;font-size:15px}.trust-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:32px}.trust-row span{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.06);padding:8px 12px;border-radius:999px;font-size:12px;color:#e8ece9}
.home-section{max-width:1180px;margin:auto;padding:74px 18px}.section-title{max-width:730px;margin-bottom:30px}.section-title .mini{color:#a7772d;font-weight:900;font-size:13px}.section-title h2{font-size:38px;line-height:1.25;margin:8px 0 12px}.section-title p{color:var(--muted);line-height:1.85;margin:0}
.services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.service-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:25px;min-height:210px;box-shadow:0 10px 30px rgba(22,35,28,.06)}
.service-icon{width:48px;height:48px;border-radius:14px;background:#1d2d25;color:var(--gold2);display:grid;place-items:center;font-weight:900}.service-card h3{font-size:20px;margin:20px 0 8px}.service-card p{color:var(--muted);line-height:1.8;margin:0}
.portal-strip{background:linear-gradient(135deg,#15221b,#263a30);color:#fff}.portal-inner{max-width:1180px;margin:auto;padding:55px 18px;display:flex;align-items:center;justify-content:space-between;gap:28px}.portal-copy{max-width:720px}.portal-copy h2{font-size:34px;margin:8px 0 12px}.portal-copy p{color:#d5ddd8;line-height:1.85;margin:0}
.site-footer{background:#0f1814;color:#cfd7d2}.footer-inner{max-width:1180px;margin:auto;padding:28px 18px;display:flex;justify-content:space-between;gap:20px;align-items:center}.footer-brand{display:flex;align-items:center;gap:10px}.footer-brand img{width:40px;height:40px;border-radius:10px}.footer-brand b{color:var(--gold2)}
dialog{border:0;padding:0;border-radius:20px;width:min(450px,calc(100% - 24px));box-shadow:0 30px 90px rgba(0,0,0,.45)}dialog::backdrop{background:rgba(7,13,9,.72)}.login-box{padding:22px}.dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:18px}.dialog-head h2{margin:0 0 4px}.dialog-head p{margin:0;color:var(--muted);font-size:13px}.close-btn{border:0;background:#eef0ed;width:34px;height:34px;border-radius:50%;font-size:24px;cursor:pointer}
.form-stack{display:grid;gap:13px}.form-stack label{display:grid;gap:7px;font-size:13px;font-weight:800}.form-stack input,.form-stack textarea{width:100%;border:1px solid #d8ddd7;background:#fff;border-radius:11px;padding:12px;outline:none}.form-stack input:focus,.form-stack textarea:focus{border-color:#b68a40;box-shadow:0 0 0 3px rgba(182,138,64,.12)}
.notice{position:fixed;z-index:80;left:50%;bottom:18px;transform:translateX(-50%);background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 16px;min-width:min(500px,calc(100% - 28px));box-shadow:0 18px 50px rgba(0,0,0,.22)}
.register-page{min-height:100vh;background:linear-gradient(180deg,#eef1ec,#f7f4ed);padding:105px 16px 40px}.register-shell{max-width:820px;margin:auto;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:0 24px 70px rgba(24,35,28,.12);overflow:hidden}.register-head{background:linear-gradient(135deg,#16241c,#2b4034);color:#fff;padding:26px}.register-head .logo-wrap{margin-bottom:18px}.register-head h1{font-size:30px;margin:0 0 8px}.register-head p{color:#d9e1dc;margin:0;line-height:1.8}.register-body{padding:24px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.register-note{margin-top:14px;padding:12px;background:#f8f2e6;color:#795a22;border-radius:10px;font-size:13px}.success{background:#eaf6ee;color:#256542;border:1px solid #c7e3d1}.error{background:#fff0f0;color:#993434;border:1px solid #efc9c9}.msg{padding:12px 14px;border-radius:11px;margin-bottom:14px}
@media(max-width:900px){.header-links{display:none}.logo-copy span{display:none}.hero-copy h1{font-size:48px}.services{grid-template-columns:1fr}.portal-inner{align-items:flex-start;flex-direction:column}.portal-inner .btn{width:100%}.section-title h2{font-size:32px}}
@media(max-width:600px){.site-header{height:68px}.header-inner{padding:0 12px}.logo-wrap img{width:40px;height:40px}.logo-copy b{font-size:18px}.header-actions .btn-outline{display:none}.header-actions .btn{padding:10px 12px;font-size:12px}.hero-home{min-height:640px;padding-top:68px}.hero-home:after{background:linear-gradient(180deg,rgba(10,18,14,.88),rgba(10,18,14,.82))}
.hero-inner{padding:52px 16px}.hero-copy h1{font-size:37px;line-height:1.2;letter-spacing:0;margin-top:14px}.hero-copy p{font-size:15px;line-height:1.9}.hero-actions{display:grid;grid-template-columns:1fr}.hero-actions .btn{width:100%}.trust-row{margin-top:24px}.trust-row span{font-size:11px;padding:7px 9px}
.home-section{padding:52px 14px}.section-title h2{font-size:27px}.service-card{min-height:auto;padding:20px}.portal-inner{padding:40px 14px}.portal-copy h2{font-size:27px}.footer-inner{flex-direction:column;text-align:center}.form-grid{grid-template-columns:1fr}.register-page{padding:86px 10px 24px}.register-shell{border-radius:17px}.register-head,.register-body{padding:18px}}

.register-dialog{width:min(760px,calc(100% - 24px));max-height:92vh;overflow:auto}
.register-dialog .login-box{padding:24px}
.register-dialog .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.register-modal-note{padding:10px 12px;border-radius:10px;background:#f8f2e6;color:#795a22;font-size:12px;line-height:1.7}
@media(max-width:600px){
 .register-dialog{width:calc(100% - 16px);max-height:94vh;border-radius:16px}
 .register-dialog .login-box{padding:17px}
 .register-dialog .form-grid{grid-template-columns:1fr}
 .register-dialog .dialog-head h2{font-size:21px}
}

/* Real Bonyan logo */
.logo-wrap img{width:116px;height:42px;object-fit:contain;background:transparent;border-radius:0;padding:0;box-shadow:none}
.footer-brand img{width:132px;height:48px;object-fit:contain;background:transparent;border-radius:0;padding:0}
@media(max-width:600px){
 .logo-wrap img{width:94px;height:35px;border-radius:0;padding:0}
 .footer-brand img{width:112px;height:41px}
}


/* transparent official Bonyan logo */
.logo-wrap img{width:174px!important;height:58px!important;object-fit:contain!important;background:transparent!important;border-radius:0!important;padding:0!important;box-shadow:none!important}
.footer-brand img{width:185px!important;height:68px!important;object-fit:contain!important;background:transparent!important;border-radius:0!important;padding:0!important;box-shadow:none!important}
@media(max-width:600px){.logo-wrap img{width:132px!important;height:46px!important;background:transparent!important;padding:0!important}.footer-brand img{width:160px!important;height:58px!important;background:transparent!important;padding:0!important}}

/* 2026-09-25 promotional header */
.promo-header{padding-top:76px;background:#eef4fb;display:flex;justify-content:center;align-items:center;overflow:hidden}
.promo-header img{display:block;width:min(100%,1600px);height:auto;margin:0 auto}
@media(max-width:600px){.promo-header{padding-top:68px}.promo-header img{width:100%;height:auto}}
