/* Trang tra cứu công khai — bám giao diện namphatjsc.vn (token lấy từ theme namphatjsc: variables.css) */
body.np{
  --np-primary:#004b7a;--np-primary-600:#005a8f;--np-heading:#003a66;--np-accent:#0892b4;--np-accent-soft:#e1f2f7;
  --np-orange:#ea6818;--np-orange-600:#d9560f;--np-text:#4f6b8e;--np-strong:#274a73;--np-muted:#7d93ad;
  --np-border:#dfe9f1;--np-border-strong:#c9d9e6;--np-soft:#f0f5f8;
  --np-head:'Be Vietnam Pro','Segoe UI',Roboto,Arial,sans-serif;--np-header-h:68px;
  margin:0;background:#fff;color:var(--np-text);font-family:'Encode Sans','Segoe UI',Roboto,Arial,sans-serif;font-size:16px;line-height:1.6;
}
.np h1,.np h2,.np h3,.np .btn,.np .lbl,.np .badge{font-family:var(--np-head)}
.np a{color:var(--np-primary)}
.np-container{width:100%;max-width:1260px;margin:0 auto;padding:0 20px}
.np-narrow{max-width:720px}

/* ---- header (như web chính) ---- */
.np-header{position:sticky;top:calc(var(--strip-h) + var(--safe-t));z-index:70;background:rgba(255,255,255,.97);transition:box-shadow .25s}
.np-header.is-scrolled{box-shadow:0 6px 20px rgba(0,58,102,.08)}
.np-header__in{display:flex;align-items:center;min-height:var(--np-header-h);gap:12px}
.np-logo{flex:none;display:block}.np-logo img{display:block;height:44px;width:auto}
.np-nav{position:fixed;left:0;right:0;top:calc(var(--strip-h) + var(--safe-t) + var(--np-header-h));bottom:0;z-index:65;background:#fff;padding:8px 20px calc(28px + var(--safe-b));overflow:auto;transform:translateX(100%);visibility:hidden;transition:transform .3s var(--ease),visibility 0s linear .3s}
.np-nav.open{transform:none;visibility:visible;transition-delay:0s}
.np-menu{list-style:none;margin:0;padding:0}
.np-menu a{position:relative;display:flex;align-items:center;min-height:48px;font:500 17px var(--np-head);letter-spacing:-.01em;color:#0b3f6e;text-decoration:none;border-bottom:1px solid var(--np-border)}
.np-menu .sub{list-style:none;margin:0;padding:0 0 6px 14px}
.np-menu .sub a{font-size:15.5px;min-height:42px;font-weight:400;border-bottom:0;color:#35618a}
.np-menu .current>a{color:var(--np-orange);font-weight:600}
.np-nav__call{margin-top:18px;width:100%}
.np-hotline{margin-left:auto;display:inline-flex;align-items:center;gap:10px;font:700 18px var(--np-head);letter-spacing:-.02em;color:var(--np-heading);text-decoration:none;white-space:nowrap}
.np-hotline__ic{width:36px;height:36px;border-radius:50%;background:var(--np-accent-soft);color:var(--np-accent);display:inline-grid;place-items:center}
.np-hotline__num{display:none}
.np-toggle{flex:none;width:44px;height:44px;border:0;background:transparent;color:var(--np-heading);display:inline-grid;place-items:center;cursor:pointer;border-radius:10px}
.np-toggle .ico:last-child{display:none}
.np-toggle[aria-expanded=true] .ico:first-child{display:none}.np-toggle[aria-expanded=true] .ico:last-child{display:block}

/* ---- nội dung ---- */
.np-band{background:var(--np-soft);padding:32px 0 76px;text-align:center}
.np-eyebrow{font:600 13.5px var(--np-head);letter-spacing:.09em;text-transform:uppercase;color:var(--np-accent);margin-bottom:8px}
.np-band h1{font-size:clamp(26px,6.4vw,38px);line-height:1.22;letter-spacing:-.01em;color:var(--np-heading);font-weight:700;margin:0 0 10px}
.np-band p{max-width:560px;margin:0 auto;font-size:17px;color:var(--np-text)}
.np-sec{margin-top:-48px;padding-bottom:120px;position:relative}
.np-sec>.np-container>*+*{margin-top:14px}
.np-card{background:#fff;border:1px solid var(--np-border);border-radius:14px;box-shadow:0 10px 28px rgba(0,58,102,.12);padding:22px 20px}
.np-note{margin:14px 0 0;font-size:14.5px;color:var(--np-muted)}
.np .btn{background:var(--np-orange);border-radius:10px;min-height:52px;font-size:16.5px;font-weight:600;letter-spacing:-.005em}
.np .btn:hover{background:var(--np-orange-600)}
.np .btn.ghost{background:#fff;color:var(--np-primary);border-color:var(--np-border-strong)}
.np .btn.ghost:hover{background:var(--np-soft)}
.np .btn.sm{min-height:44px;font-size:14.5px}
.np .field>span{color:var(--np-strong);font-family:var(--np-head);font-weight:600}
.np input{border-color:var(--np-border-strong);border-radius:10px;color:var(--np-strong)}
.np input:focus{border-color:var(--np-primary);box-shadow:0 0 0 4px rgba(0,75,122,.14)}
.np .input-ico .ico{color:var(--np-muted)}
.np .otp input{font-family:var(--np-head)}
.np .result-item{border:1px solid var(--np-border);box-shadow:0 3px 10px rgba(0,58,102,.07);border-radius:14px}
.np .result-item h3{color:var(--np-heading);font-weight:700}
.np .progress>i{background:var(--np-accent)}.np .progress.warn>i{background:var(--np-orange)}.np .progress.gray>i{background:#98a2b3}
.np .lbl{color:var(--np-muted)}.np .val{color:var(--np-strong)}
.np .hotline{background:rgba(255,255,255,.97)}
.np .hotline .btn{white-space:nowrap;font-size:15.5px;padding:0 8px;min-height:50px}
.np .demo-strip a{color:#9ec5f5}
.ts-box{margin-top:14px;display:flex;align-items:center;gap:12px;min-height:65px;max-width:300px;padding:0 12px;border:1px solid #d0d5dd;border-radius:6px;background:#fafafa;cursor:pointer;user-select:none;font:500 14px 'Encode Sans',Arial,sans-serif;color:#222}
.ts-check{flex:none;width:24px;height:24px;border:2px solid #8a8f98;border-radius:4px;background:#fff;display:inline-grid;place-items:center;transition:all .2s}
.ts-box.ok .ts-check{border-color:#1d8a3f;background:#1d8a3f}.ts-box.ok .ts-check::after{content:"";width:6px;height:11px;border:solid #fff;border-width:0 2.5px 2.5px 0;transform:rotate(45deg) translate(-1px,-1px)}
.ts-t{flex:1}.ts-brand{font-size:9.5px;line-height:1.15;color:#777;text-align:right}
.ts-box:focus-visible{outline:2px solid var(--np-primary);outline-offset:2px}

/* ---- footer (như web chính) ---- */
.np-footer{background:#fff;color:var(--np-text);font-size:14.5px;border-top:1px solid var(--np-border)}
.np-footer__main{display:grid;grid-template-columns:1fr;gap:22px;padding-top:28px;padding-bottom:24px}
.np-footer__brand img{width:220px;height:auto}
.np-footer__title{margin:0 0 6px;font:600 16px var(--np-head);letter-spacing:-.015em;color:var(--np-heading)}
.np-footer__links,.np-footer__contact{list-style:none;margin:0;padding:0}
.np-footer__links a{display:inline-block;font-size:16px;line-height:30px;color:#6f86a3;text-decoration:none}
.np-footer__links a:hover,.np-footer__contact a:hover{color:var(--np-accent)}
.np-footer__contact li{display:grid;grid-template-columns:22px 1fr;gap:12px;align-items:start;line-height:24px;margin-bottom:8px;color:#587494}
.np-footer__contact .ico{color:var(--np-primary);margin-top:3px}
.np-footer__contact a{color:inherit;text-decoration:none}
.np-footer__bottom{border-top:1px solid #dde8f0;padding:14px 0 calc(14px + 76px);color:#6f86a3;font-size:14px}
.np-footer__bottom-in{display:flex;flex-direction:column;gap:6px}
.np-footer__bottom p{margin:0}
.np-footer__slogan{display:flex;flex-wrap:wrap;gap:4px 10px}
.np-footer__slogan span+span::before{content:"|";margin-right:10px;color:#b7c7d7}

@media (min-width:1000px){
  :root{--np-header-h:93px}
  body.np{--np-header-h:93px}
  .np-logo img{height:80px}
  .np-nav{position:static;transform:none;visibility:visible;padding:0;overflow:visible;background:transparent;margin-left:48px;display:flex;align-items:center;gap:24px;flex:1}
  .np-menu{display:flex;align-items:center;gap:38px}
  .np-menu>li{position:relative}
  .np-menu a{border-bottom:0;font-size:16px}
  .np-menu>li>a::after{content:"";position:absolute;left:0;right:0;bottom:6px;height:2px;background:var(--np-orange);transform:scaleX(0);transform-origin:left;transition:transform .25s var(--ease)}
  .np-menu>li>a:hover::after,.np-menu .current>a::after{transform:scaleX(1)}
  .np-menu>li>a:hover{color:var(--np-primary)}
  .np-menu .sub{display:none;position:absolute;left:-14px;top:100%;min-width:280px;background:#fff;border:1px solid var(--np-border);border-radius:10px;box-shadow:0 10px 28px rgba(0,58,102,.12);padding:8px}
  .np-menu li:hover>.sub,.np-menu li:focus-within>.sub{display:block;animation:rise .2s var(--ease)}
  .np-menu .sub a{padding:0 12px;border-radius:8px;min-height:40px}
  .np-menu .sub a:hover{background:var(--np-soft)}
  .np-nav__call{display:none}
  .np-hotline__num{display:inline}.np-hotline{font-size:20.5px}
  .np-toggle{display:none}
  .hotline{display:none}
  .np-band{padding:48px 0 96px}
  .np-sec{padding-bottom:72px}
  .np-card{padding:30px 32px}
  .np-footer__main{grid-template-columns:1.2fr .7fr 1.3fr;gap:0;padding-top:18px}
  .np-footer__main>*+*{padding-left:56px;border-left:1px solid var(--np-border)}
  .np-footer__brand img{width:300px}
  .np-footer__bottom{padding-bottom:14px}
  .np-footer__bottom-in{flex-direction:row;justify-content:space-between;align-items:center}
}
