/* Hinosoft Doanh nghiệp – doanh-nghiep.hinosoft.com (bộ ứng dụng doanh nghiệp). Mobile-first, một tệp CSS. */
:root {
  --accent: #1554c0;
  --accent-dark: #0d3a8a;
  --orange: #ff8a1f;
  --orange-dark: #e2700a;
  --ink: #111c33;
  --muted: #54607a;
  --line: #e3e8f2;
  --bg-alt: #f5f7fc;
  --soft: #eaf1fe;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(13, 58, 138, .06), 0 8px 24px rgba(13, 58, 138, .08);
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: #fff; }
img, svg { max-width: 100%; vertical-align: middle; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: .9rem; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 99; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--accent); color: #fff; font: inherit; font-weight: 600; text-decoration: none; border: 2px solid var(--accent); cursor: pointer;
  transition: background .15s, transform .15s; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.btn-cam { background: var(--orange); border-color: var(--orange); }
.btn-cam:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--soft); color: var(--accent-dark); }

.hdr { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .93); backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--accent-dark); text-decoration: none; white-space: nowrap; }
.brand b { color: var(--orange-dark); font-weight: 800; }
.brand svg { width: 36px; height: 36px; flex: none; }
.nav { display: none; gap: 2px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { background: var(--soft); color: var(--accent-dark); }
.hdr .btn { margin-left: auto; white-space: nowrap; flex: none; }
@media (max-width: 370px) { .brand { font-size: .98rem; gap: 8px; } .brand svg { width: 32px; height: 32px; } }

.hero { padding: 40px 0 48px; overflow: hidden;
  background: radial-gradient(640px 400px at 100% 0, #dfe9fd 0, transparent 70%), radial-gradient(360px 240px at 0% 85%, #fff2e4 0, transparent 70%); }
.hero-in { display: grid; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; margin-bottom: 12px; font-size: .85rem; font-weight: 600; color: var(--accent); background: var(--soft); padding: 4px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(2rem, 7vw, 3.1rem); font-weight: 800; text-wrap: balance; }
.hl { color: var(--accent); }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 40em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.hero-tick { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .95rem; }
.hero-tick li { display: inline-flex; align-items: center; gap: 6px; }
.hero-tick svg { color: #1f8a70; }

.strip { background: var(--accent-dark); color: #dfe8fb; padding: 18px 0; }
.strip-in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: .95rem; }
.strip-in span { font-weight: 700; color: #fff; }
.strip-in s { text-decoration-color: var(--orange); text-decoration-thickness: 2px; opacity: .9; }

.sec { padding: 56px 0; }
.sec-alt { background: var(--bg-alt); }
.sec-h { font-size: clamp(1.5rem, 4.8vw, 2.15rem); font-weight: 800; }
.sec-sub { color: var(--muted); max-width: 46em; margin-bottom: 28px; }

.f-ico { width: 46px; height: 46px; border-radius: 13px; background: var(--soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 12px; }
.feat { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feat li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: box-shadow .15s, border-color .15s; }
.feat li:hover { border-color: #c9d8f5; box-shadow: var(--shadow); }
.feat h3 { font-size: 1.08rem; margin-bottom: 4px; }
.feat p { margin: 0; color: var(--muted); font-size: .95rem; }


.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.steps li { position: relative; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 14px; }
.steps h3 { font-size: 1.12rem; }
.steps p { margin: 0; color: var(--muted); }


.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 600; font-size: 1.04rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 26px; width: 10px; height: 10px; border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq details p { color: #33405c; margin: 0 0 18px; }

.sec-form { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; }
.form-wrap { display: grid; gap: 28px; }
.form-intro h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
.form-intro a { color: #fff; word-break: break-all; }
.form-intro .muted { color: #c9d6f2; }
.form { background: #fff; color: var(--ink); border-radius: 22px; padding: 22px 18px; display: grid; gap: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .2); }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.form .lb i { color: #c2455d; font-style: normal; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 11px 12px; border: 1.5px solid #cfd8e8; border-radius: 12px;
  background: #fff; color: var(--ink); width: 100%; }
.form input, .form select { height: 48px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(21, 84, 192, .15); }
.form-note { margin: 0; font-size: .9rem; color: #1f8a70; min-height: 0; }
.form-note:empty { display: none; }
.form-note.err { color: #c2455d; }

.big404 { font-size: 5rem; font-weight: 800; color: var(--soft); -webkit-text-stroke: 2px var(--accent); margin: 0; line-height: 1; }

.ftr { background: #0b1b3d; color: #c7d2ea; padding: 48px 0 24px; font-size: .95rem; }
.ftr a { color: #fff; }
.ftr .brand { color: #fff; margin-bottom: 12px; }
.ftr .brand b { color: var(--orange); }
.ftr-grid { display: grid; gap: 28px; }
.ftr-brand p { margin-bottom: 8px; }
.ftr .muted { color: #8f9bb8; }
.ftr-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #8f9bb8; margin-bottom: 10px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ftr ul a { color: #dde5f5; text-decoration: none; }
.ftr ul a:hover { color: #fff; text-decoration: underline; }
.ftr-bot { margin-top: 32px; padding-top: 18px; background: linear-gradient(#1f3260, #1f3260) no-repeat 16px 0 / calc(100% - 32px) 1px; color: #8f9bb8; font-size: .85rem; }

@media (max-width: 639px) {
  .feat li { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; padding: 16px; }
  .feat li > span { grid-row: span 2; margin-bottom: 0; }
  .feat h3 { margin-bottom: 2px; }
}
@media (min-width: 640px) {
  .feat, .steps { grid-template-columns: repeat(2, 1fr); }
  .form { grid-template-columns: 1fr 1fr; padding: 28px; }
  .form .full { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .nav { display: flex; }
  .hdr .btn { margin-left: 8px; }
  .hero { padding: 72px 0 80px; }
  .hero-in { grid-template-columns: 1.3fr 1fr; gap: 48px; }
  .sec { padding: 80px 0; }
  .feat { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .form-wrap { grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ------------------------------------------------------------------ bộ ứng dụng doanh nghiệp */
.app-ico { --c: var(--accent); width: 52px; height: 52px; border-radius: 15px; background: var(--c); color: #fff; display: grid; place-items: center; flex: none;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--c) 30%, transparent); }
.app-ico.sm { width: 28px; height: 28px; border-radius: 8px; box-shadow: none; }
.btn-store { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 18px 6px 14px; border-radius: 12px;
  background: #111; color: #fff; text-decoration: none; line-height: 1.1; font-weight: 600; font-size: 1.05rem; }
.btn-store small { display: block; font-size: .7rem; font-weight: 400; opacity: .85; }
.btn-store:hover { background: #333; }
.btn-store.sm { min-height: 40px; padding: 4px 14px 4px 10px; font-size: .9rem; border-radius: 10px; }
.lnk { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; text-decoration: none; }
.tick { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.tick li { display: flex; gap: 8px; align-items: flex-start; color: #33405c; font-size: .95rem; line-height: 1.45; }
.tick li svg { flex: none; color: #1f8a70; margin-top: 2px; }

/* minh hoạ bộ ứng dụng ở hero */
.suite { width: 100%; max-width: 440px; margin: 0 auto; background: #fff; border-radius: 26px; padding: 22px; box-shadow: 0 30px 60px rgba(13, 58, 138, .16);
  border: 1px solid var(--line); }
.suite-h { font-weight: 700; color: var(--accent-dark); margin: 0 0 14px; font-size: .95rem; }
.suite-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 8px; }
.suite-grid li { display: grid; justify-items: center; gap: 6px; text-align: center; font-size: .74rem; font-weight: 600; line-height: 1.25; color: #33405c; }
.suite-grid .app-ico { width: 54px; height: 54px; border-radius: 16px; }
.suite-f { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .86rem; color: var(--muted); }
.suite-f svg { color: #714b67; flex: none; }

.apps { display: grid; gap: 16px; }
.app-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px;
  transition: box-shadow .15s, border-color .15s; min-width: 0; }
.app-card:hover { border-color: #c9d8f5; box-shadow: var(--shadow); }
.app-card-top { display: flex; gap: 14px; align-items: center; }
.app-card h3 { font-size: 1.2rem; margin: 0; }
.app-card h3 a { color: var(--ink); text-decoration: none; }
.app-card h3 a:hover { color: var(--accent); }
.app-loai { margin: 2px 0 0; font-size: .84rem; color: var(--muted); }
.app-dt { margin: 0; font-size: .93rem; color: #33405c; }
.app-dt b { color: var(--ink); }
.app-card .tick { flex: 1; }
.app-tt { margin: 0; font-size: .82rem; color: var(--muted); }
.app-card-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-top: 4px; }

.modes { display: grid; gap: 16px; }
.mode { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.mode h3 { font-size: 1.15rem; }
.mode p { color: #33405c; margin-bottom: 10px; }
.mode-app { font-size: .93rem; margin: 0 !important; }
.note-row { display: grid; gap: 12px; margin-top: 20px; }
.note-row p { display: flex; gap: 10px; align-items: flex-start; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: .95rem; color: #33405c; }
.note-row svg { flex: none; color: var(--orange-dark); margin-top: 2px; }

.feat-app .f-ico { background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); }

.crumb { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 16px; font-size: .9rem; color: var(--muted); }
.crumb a { text-decoration: none; }
.hero-app { padding-top: 24px; }
.hero-app h1 { font-size: clamp(1.8rem, 5.6vw, 2.8rem); }
.eyebrow-app { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.side-k { margin: 0 0 4px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.side-v { margin: 0 0 16px; font-weight: 600; }
.side-cd { display: flex; align-items: center; gap: 8px; color: var(--accent-dark); }
.start { font-size: 1.05rem; color: #33405c; }

.chk-grid { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; min-width: 0; }
.chk-grid legend { padding: 0; margin-bottom: 8px; font-weight: 600; font-size: .92rem; }
.form .chk { display: flex; gap: 8px; align-items: center; font-weight: 400; font-size: .93rem; }
.form .chk input { width: 18px; height: 18px; flex: none; accent-color: var(--accent); }

.ftr-2col { grid-template-columns: 1fr 1fr; column-gap: 16px; }

@media (min-width: 640px) {
  .apps, .modes { grid-template-columns: repeat(2, 1fr); }
  .note-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .apps { grid-template-columns: repeat(6, 1fr); }
  .apps > .app-card { grid-column: span 2; }
  .apps-all > .app-card:nth-last-child(-n+2) { grid-column: span 3; }
  .modes { grid-template-columns: repeat(3, 1fr); }
  .feat-3 { grid-template-columns: repeat(3, 1fr); }
  .chk-grid { grid-template-columns: repeat(3, 1fr); }
  .ftr-grid { grid-template-columns: 1.6fr 1.3fr 1fr; }
}
