/* S-Data website v2 (30/09/2026): chrome dùng chung — font, thanh điều hướng, menu điện thoại, thanh Gọi / Đặt lịch, màn chào Workspace, footer.
   Chạy được cả khi có bundle cũ (trang con, Bootstrap) lẫn khi không có (trang chủ v2), nên mọi class đều có tiền tố sd2-. */

@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/be-vietnam-pro/be-vietnam-pro-vietnamese-400-normal.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/be-vietnam-pro/be-vietnam-pro-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/be-vietnam-pro/be-vietnam-pro-vietnamese-600-normal.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/be-vietnam-pro/be-vietnam-pro-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/be-vietnam-pro/be-vietnam-pro-vietnamese-700-normal.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/be-vietnam-pro/be-vietnam-pro-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --sd2-navy: #111827; --sd2-ink-deep: #0B1120; --sd2-red: #ED273A; --sd2-red-dk: #C31829;
  --sd2-orange: #FAA816; --sd2-orange-bg: #FFF4DC; --sd2-orange-tx: #8A5300;
  --sd2-bg: #F8FAFC; --sd2-line: #E6E8EF; --sd2-line-2: #D0D5DD;
  --sd2-muted: #667085; --sd2-body: #374151; --sd2-on-navy: #C9CED8; --sd2-white: #FFFFFF;
  --sd2-veil: rgba(255, 255, 255, 0.08); --sd2-veil-2: rgba(255, 255, 255, 0.14);
  --sd2-font: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --sd2-mono: ui-monospace, 'Cascadia Mono', 'SF Mono', Consolas, monospace;
  --sd2-gutter: clamp(16px, 5vw, 72px);
  --sd2-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
body.sd2 { font-family: var(--sd2-font); }
/* the old bundle pads body for the v1 fixed header; the v2 top bar is in normal flow */
body.sd2 { padding-top: 0; }
.hidden { display: none !important; }
.sd2-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sd2-nowrap { white-space: nowrap; }
.sd2-wrap { width: 100%; max-width: 1296px; margin: 0 auto; padding-inline: var(--sd2-gutter); }
.sd2-top, .sd2-top *, .sd2-foot, .sd2-foot *, .sd2-sheet, .sd2-sheet *, .sd2-dock, .sd2-dock *, .sd2-portal, .sd2-portal *, .sd2-notice { box-sizing: border-box; }
.sd2-top a, .sd2-nav a, .sd2-foot a, .sd2-sheet a, .sd2-dock a { transition: background 0.2s, color 0.2s, border-color 0.2s; }
/* style.css cũ tắt outline mọi link bằng !important; chrome mới cần viền focus khi dùng bàn phím */
.sd2-nav a:focus-visible, .sd2-foot a:focus-visible, .sd2-sheet a:focus-visible, .sd2-dock a:focus-visible,
.sd2-nav button:focus-visible, .sd2-sheet button:focus-visible, .sd2-portal button:focus-visible { outline: 3px solid var(--sd2-orange) !important; outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.sd2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent; font-family: var(--sd2-font); font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; }
.sd2-btn:hover { text-decoration: none; }
a.sd2-btn-red, .sd2-btn-red { background: var(--sd2-red); color: var(--sd2-white); }
a.sd2-btn-red:hover, .sd2-btn-red:hover { background: var(--sd2-red-dk); color: var(--sd2-white); }
a.sd2-btn-dark { background: var(--sd2-navy); color: var(--sd2-white); }
a.sd2-btn-dark:hover { background: #1F2937; color: var(--sd2-white); }
a.sd2-btn-line { background: transparent; color: var(--sd2-navy); border-color: var(--sd2-line-2); }
a.sd2-btn-line:hover { background: var(--sd2-bg); color: var(--sd2-navy); }

/* ---------- top bar + nav ---------- */
.sd2-top { position: sticky; top: 0; z-index: 30; background: var(--sd2-navy); color: var(--sd2-white); }
/* trang chủ: thanh nằm đè lên hero, trong suốt, đặc lại khi cuộn */
.sd2-top.sd2-top-over { position: fixed; left: 0; right: 0; background: transparent; transition: background 0.25s, box-shadow 0.25s; }
.sd2-top.sd2-top-over .sd2-nav { border-bottom: 1px solid var(--sd2-veil); }
.sd2-top.sd2-top-over.is-solid { background: rgba(17, 24, 39, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--sd2-veil-2); }
.sd2-top.sd2-top-over.is-solid .sd2-nav { border-bottom-color: transparent; }
.sd2-nav { display: flex; align-items: center; gap: 36px; min-height: 84px; font-family: var(--sd2-font); }
.sd2-top:not(.sd2-top-over) .sd2-nav { min-height: 72px; }
.sd2-nav .sd2-logo { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; }
/* horizontal logo with the tagline; phones get the compact one via <picture> (tagline would be ~5px) */
.sd2-nav .sd2-logo picture { display: block; }
.sd2-nav .sd2-logo img { display: block; width: 200px; height: auto; }
.sd2-links { display: flex; gap: 28px; flex-grow: 1; }
.sd2-links a { color: var(--sd2-on-navy); text-decoration: none; font-size: 15px; line-height: 1.5; white-space: nowrap; }
.sd2-links a:hover, .sd2-links a[aria-current] { color: var(--sd2-white); }
.sd2-links a[aria-current] { box-shadow: inset 0 -2px 0 var(--sd2-red); }
a.sd2-login { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 10px; color: var(--sd2-white); font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; }
a.sd2-login:hover { background: var(--sd2-white); border-color: var(--sd2-white); color: var(--sd2-navy); }
.sd2-login svg { transition: transform 0.25s var(--sd2-ease); }
.sd2-login:hover svg { transform: translateX(2px); }
.sd2-login + .sd2-btn { margin-left: -24px; }
.sd2-menu { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0; background: transparent; border: 1px solid var(--sd2-veil-2); border-radius: 10px; color: var(--sd2-white); cursor: pointer; }
@media (max-width: 1180px) and (min-width: 901px) {
  .sd2-nav { gap: 24px; }
  .sd2-links { gap: 20px; }
  a.sd2-login { padding: 0 14px; }
  .sd2-login > span { display: none; }
  .sd2-login + .sd2-btn { margin-left: -12px; }
  .sd2-nav .sd2-logo img { width: 160px; }
}
@media (max-width: 900px) {
  .sd2-links, .sd2-nav .sd2-cta { display: none; }
  .sd2-nav { gap: 10px; }
  a.sd2-login { margin-left: auto; min-height: 44px; padding: 0 14px; font-size: 15px; }
  .sd2-menu { display: inline-flex; }
}
@media (max-width: 760px) {
  .sd2-nav, .sd2-top:not(.sd2-top-over) .sd2-nav { min-height: 60px; }
  .sd2-nav .sd2-logo img { width: 124px; }
}
@media (max-width: 480px) { .sd2-lv { display: none; } }
@media (max-width: 359px) { .sd2-login > span { display: none; } }

/* ---------- phone dock: Gọi / Đặt lịch ---------- */
/* old back-to-top button (inner pages; media.css hides it on phones): keep it below the menu sheet */
body.sd2 .progress-wrap { z-index: 30; }
.sd2-dock { display: none; }
@media (max-width: 760px) {
  .sd2-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--sd2-line); transform: translateY(110%); transition: transform 0.35s var(--sd2-ease); font-family: var(--sd2-font); }
  .sd2-dock.is-shown { transform: none; }
  a.sd2-call { flex-shrink: 0; width: 52px; padding: 0; border: 1px solid var(--sd2-line-2); background: var(--sd2-white); color: var(--sd2-navy); }
  a.sd2-call:hover { color: var(--sd2-navy); background: var(--sd2-bg); }
  a.sd2-call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sd2-dock .sd2-btn-red { flex-grow: 1; padding: 0 14px; }
  .sd2-foot { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- menu sheet ---------- */
.sd2-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(11, 17, 32, 0.5); opacity: 0; transition: opacity 0.3s; }
.sd2-scrim.is-open { opacity: 1; }
.sd2-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; width: 100%; max-width: 560px; max-height: 86vh; max-height: 86dvh; margin: 0 auto; overflow-y: auto; overscroll-behavior: contain; padding: 10px 16px calc(20px + env(safe-area-inset-bottom, 0px)); border-radius: 22px 22px 0 0; background: var(--sd2-white); color: var(--sd2-navy); font-family: var(--sd2-font); transform: translateY(100%); transition: transform 0.4s var(--sd2-ease); }
.sd2-sheet.is-open { transform: none; }
.sd2-sheet[hidden], .sd2-scrim[hidden], .sd2-portal[hidden] { display: none; }
.sd2-grab { width: 40px; height: 5px; margin: 0 auto 12px; border-radius: 3px; background: var(--sd2-line-2); }
.sd2-sheet-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.sd2-sheet-h img { display: block; width: 120px; height: auto; }
.sd2-icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--sd2-navy); cursor: pointer; }
.sd2-sheet-k { margin: 18px 0 2px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sd2-muted); }
.sd2-sheet nav a { display: flex; align-items: center; min-height: 54px; border-bottom: 1px solid var(--sd2-line); color: var(--sd2-navy); font-size: 17px; font-weight: 600; line-height: 1.3; text-decoration: none; }
.sd2-sheet nav a:hover { color: var(--sd2-red-dk); }
.sd2-acts { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }

/* ---------- Workspace greeting ---------- */
.sd2-portal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 24px 16px; background: var(--sd2-navy); color: var(--sd2-white); font-family: var(--sd2-font); overflow: hidden; clip-path: circle(0 at var(--cx, 90%) var(--cy, 40px)); transition: clip-path 0.65s var(--sd2-ease); }
.sd2-portal.is-open { clip-path: circle(150% at var(--cx, 90%) var(--cy, 40px)); }
.sd2-portal::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); }
.sd2-portal::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--sd2-red); box-shadow: 0 0 16px 2px rgba(237, 39, 58, 0.6); opacity: 0; }
.sd2-portal.is-run::after { animation: sd2PScan 1.6s var(--sd2-ease) 0.3s both; }
.sd2-p-in { position: relative; width: min(440px, 100%); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.sd2-p-logo { position: relative; width: min(300px, 74vw); }
.sd2-p-logo img { display: block; width: 100%; height: auto; }
.sd2-portal.is-run .sd2-p-logo img { animation: sd2Wipe 0.8s var(--sd2-ease) 0.25s both; }
.sd2-p-scan { position: absolute; top: -8%; bottom: -8%; left: 0; width: 3px; background: var(--sd2-red); box-shadow: 0 0 14px 2px rgba(237, 39, 58, 0.7); opacity: 0; }
.sd2-portal.is-run .sd2-p-scan { animation: sd2ScanX 0.8s var(--sd2-ease) 0.25s both; }
.sd2-p-bar { width: min(300px, 74vw); height: 2px; margin: 6px 0 10px; border-radius: 2px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.sd2-p-bar i { display: block; height: 100%; background: var(--sd2-red); transform-origin: left; transform: scaleX(1); }
.sd2-portal.is-run .sd2-p-bar i { animation: sd2Fill 1.8s cubic-bezier(0.5, 0, 0.2, 1) 0.2s both; }
.sd2-p-k { margin: 0; font-family: var(--sd2-mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sd2-orange); }
.sd2-p-hi { margin: 0; color: var(--sd2-white); font-family: var(--sd2-font); font-size: clamp(30px, 6vw, 44px); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
.sd2-p-hi span[aria-hidden] { display: inline-block; white-space: pre; }
.sd2-portal.is-run .sd2-p-hi span[aria-hidden] { animation: sd2Rise 0.5s var(--sd2-ease) both; animation-delay: calc(0.35s + var(--i) * 28ms); }
.sd2-p-sub { margin: 0; font-size: 16px; line-height: 1.55; color: var(--sd2-on-navy); }
.sd2-portal.is-run .sd2-p-k, .sd2-portal.is-run .sd2-p-sub { animation: sd2Rise 0.6s var(--sd2-ease) 0.45s both; }
.sd2-p-steps { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sd2-p-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; font-size: 13px; line-height: 1.4; color: var(--sd2-on-navy); transition: color 0.3s, border-color 0.3s; }
.sd2-p-steps i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.35); display: inline-flex; align-items: center; justify-content: center; transition: background 0.3s, border-color 0.3s; }
.sd2-p-steps li.is-done { color: var(--sd2-white); border-color: rgba(255, 255, 255, 0.3); }
.sd2-p-steps li.is-done i { background: var(--sd2-red); border-color: var(--sd2-red); }
.sd2-p-steps li.is-done i::after { content: ''; width: 6px; height: 3px; border: solid var(--sd2-white); border-width: 0 0 1.5px 1.5px; transform: translateY(-1px) rotate(-45deg); }
.sd2-p-x { position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; z-index: 1; min-height: 40px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px; background: transparent; color: var(--sd2-on-navy); font-family: var(--sd2-font); font-size: 13px; cursor: pointer; }
.sd2-p-x:hover { color: var(--sd2-white); border-color: rgba(255, 255, 255, 0.5); }
@media (max-width: 760px) { .sd2-p-logo, .sd2-p-bar { width: min(240px, 70%); } }
@keyframes sd2PScan { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 0.8; } 100% { top: 100%; opacity: 0; } }
@keyframes sd2Wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes sd2ScanX { 0% { left: 0; opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes sd2Fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes sd2Rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- footer ---------- */
.sd2-notice { padding: 12px var(--sd2-gutter); background: var(--sd2-orange-bg); color: var(--sd2-orange-tx); font-family: var(--sd2-font); font-size: 14px; line-height: 1.5; text-align: center; }
.sd2-foot { padding-top: 56px; background: var(--sd2-bg); border-top: 1px solid var(--sd2-line); color: var(--sd2-body); font-family: var(--sd2-font); font-size: 14px; line-height: 1.6; }
.sd2-foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px 40px; padding-bottom: 32px; }
.sd2-foot-brand img { display: block; width: 200px; height: auto; margin: 0 0 16px; }
.sd2-foot b { display: block; margin-bottom: 10px; color: var(--sd2-navy); font-size: 15px; font-weight: 700; }
.sd2-foot-brand p { margin: 0; }
.sd2-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sd2-foot a { color: var(--sd2-body); text-decoration: none; }
.sd2-foot a:hover { color: var(--sd2-red-dk); }
.sd2-socials { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 12px 0 0; }
.sd2-socials a { font-weight: 600; }
.sd2-copy { margin: 0; padding: 20px 0 28px; border-top: 1px solid var(--sd2-line); font-size: 13px; color: var(--sd2-muted); }
@media (max-width: 1100px) { .sd2-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sd2-foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- motion off ---------- */
@media (prefers-reduced-motion: reduce) {
  .sd2-top, .sd2-dock, .sd2-scrim, .sd2-sheet, .sd2-portal, .sd2-portal *, .sd2-portal::after, .sd2-login svg { animation: none !important; transition: none !important; }
}
