:root {
  color-scheme: light;
  --ink: #0b294d;
  --blue: #124b81;
  --body: #4d5d6d;
  --muted: #637588;
  --gold: #f6c45a;
  --line: #dce5ed;
  --mist: #eef5fa;
  --white: #fff;
  --width: 1160px;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { display: block; flex-shrink: 0; width: 20px; height: 20px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #1572bf; outline-offset: 4px; }
.hero :focus-visible, .utility :focus-visible, .support :focus-visible, .footer :focus-visible { outline-color: var(--gold); }
.wrap { width: min(var(--width), calc(100% - 64px)); margin-inline: auto; }
.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip:focus { position: fixed; z-index: 5; top: 8px; left: 8px; background: white; padding: 12px 18px; border-radius: 8px; }

.utility { color: #e8f0f9; background: #082644; font-size: .79rem; font-weight: 540; }
.utility-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.preview, .utility-phone { display: flex; align-items: center; gap: 8px; }
.preview > span { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.utility-phone svg { width: 13px; height: 13px; color: var(--gold); }
.utility-phone strong { font-weight: 750; color: white; }
.utility-phone:hover strong { text-decoration: underline; }
.masthead { min-height: 74px; display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); position: relative; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-logo { display: block; width: 112px; height: auto; flex: none; }
.brand-name { display: flex; flex-direction: column; font-size: .99rem; font-weight: 800; letter-spacing: .025em; line-height: 1.2; border-left: 1px solid var(--line); padding-left: 12px; }
.brand-name small { font-size: .57rem; color: var(--muted); font-weight: 750; letter-spacing: .15em; margin-bottom: 3px; }
.main-nav { display: flex; margin-left: auto; gap: clamp(18px, 2.4vw, 36px); align-items: center; }
.main-nav a { font-weight: 650; font-size: .875rem; white-space: nowrap; }
.main-nav a:hover { color: #1866a0; }
.menu-toggle { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 8px; font-size: .925rem; font-weight: 740; line-height: 1.35; padding: 12px 17px; min-height: 46px; white-space: nowrap; transition: background .16s, border-color .16s, color .16s; }
.button svg { width: 17px; height: 17px; }
.button-navy { color: white; background: #123b69; }
.button-navy:hover { background: #0c2b4e; }
.button-gold { background: var(--gold); color: #12243b; }
.button-gold:hover { background: #ffcf6d; }
.button-glass { background: #ffffff14; border-color: #ffffff5c; color: white; }
.button-glass:hover { background: #ffffff28; border-color: #ffffff93; }
.header-cta { flex: none; }

.hero { position: relative; color: white; background-color: #112d4a; background-image: linear-gradient(90deg, #08203bf5 0%, #0b2542df 26%, #0d294475 57%, #12294612 100%), url("./saigon.webp"); background-size: cover; background-position: center, center 54%; }
.hero-inner { min-height: 500px; display: flex; align-items: center; padding-block: 58px 98px; }
.hero-content { max-width: 740px; }
.location { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 17px; color: #f9d890; font-weight: 690; font-size: .92rem; }
.location svg { width: 16px; height: 16px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.7rem, 5.4vw, 4.3rem); line-height: 1.07; letter-spacing: -.047em; font-weight: 780; text-wrap: balance; }
.hero-description { color: #e4edf6; max-width: 500px; font-size: 1.065rem; line-height: 1.62; margin: 21px 0 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.hero-actions .button { min-height: 49px; padding-inline: 19px; }
.shortcuts { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: -42px; background: white; border: 1px solid #e2eaf1; border-radius: 12px; box-shadow: 0 10px 32px #0c2c4a0d; }
.shortcuts > :is(a, button) { min-width: 0; display: flex; align-items: center; gap: 14px; padding: 18px 22px; }
.shortcuts > :is(a, button):first-child { border-radius: 12px 0 0 12px; }
.shortcuts > :is(a, button):last-child { border-radius: 0 12px 12px 0; }
.shortcuts > :is(a, button) + :is(a, button) { border-left: 1px solid #e4ebf1; }
.shortcuts > :is(a, button):hover { background: #f8fbfe; }
.shortcut-icon, .product-icon { display: inline-grid; place-items: center; flex: none; color: #164c80; background: #eaf2fa; border-radius: 9px; width: 44px; height: 44px; }
.shortcut-icon svg { width: 22px; height: 22px; }
.shortcuts strong, .shortcuts small { display: block; }
.shortcuts strong { font-size: .94rem; font-weight: 750; line-height: 1.3; }
.shortcuts small { color: var(--muted); font-size: .8rem; margin-top: 5px; line-height: 1.3; }
.shortcut-arrow { margin-left: auto; width: 16px; height: 16px; color: #2c6090; }

.products { padding-block: 62px 71px; }
.section-head { display: flex; justify-content: space-between; gap: 18px 28px; align-items: flex-end; margin-bottom: 24px; }
h2 { font-size: clamp(1.9rem, 4vw, 2.55rem); line-height: 1.15; letter-spacing: -.036em; font-weight: 780; }
.section-head p, .contact-copy p { color: var(--body); line-height: 1.6; margin-top: 9px; font-size: 1rem; }
.filter { display: flex; flex: none; gap: 3px; border: 1px solid #dde7f0; padding: 4px; border-radius: 9px; background: #f1f6fa; }
.filter button { border: 0; border-radius: 6px; padding: 8px 13px; color: #48617a; background: transparent; white-space: nowrap; font-size: .86rem; font-weight: 680; min-height: 38px; }
.filter button:hover { color: var(--ink); }
.filter button[aria-pressed="true"] { color: var(--ink); background: white; box-shadow: 0 1px 4px #112d4621; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.product-card { border: 1px solid var(--line); border-radius: 11px; padding: 19px; display: flex; flex-direction: column; align-items: flex-start; gap: 13px; min-height: 200px; color: var(--ink); background: white; text-align: left; transition: box-shadow .16s, border-color .16s, transform .16s; }
.product-card:hover { border-color: #9ab4cd; transform: translateY(-2px); box-shadow: 0 8px 22px #122f4e0d; }
.product-icon { width: 46px; height: 46px; }
.product-icon svg { width: 24px; height: 24px; }
.product-card[data-group="doanh-nghiep"] .product-icon { background: #fbf2dc; color: #775309; }
.product-title { font-weight: 770; font-size: 1.06rem; line-height: 1.3; }
.product-summary { color: var(--body); font-size: .87rem; line-height: 1.52; }
.product-more { display: inline-flex; gap: 7px; align-items: center; margin-top: auto; font-weight: 720; color: #19568c; font-size: .84rem; }
.product-more svg { width: 14px; height: 14px; }

.support { background: #0e335a; color: white; }
.support-inner { min-height: 198px; padding-block: 36px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.support-copy { display: flex; align-items: flex-start; gap: 20px; }
.support-copy h2 { font-size: clamp(1.6rem, 3.5vw, 2rem); }
.support-copy p { max-width: 635px; margin-top: 9px; color: #dbe7f3; font-size: .98rem; line-height: 1.6; }
.support-icon { display: grid; place-items: center; background: #ffffff15; border: 1px solid #ffffff36; width: 55px; height: 55px; border-radius: 10px; flex: none; color: #ffd579; }
.support-icon svg { width: 25px; height: 25px; }
.support-actions { display: grid; justify-items: center; gap: 12px; flex: none; }
.text-link { color: #15548b; display: inline-flex; gap: 6px; align-items: center; font-size: .9rem; font-weight: 720; width: fit-content; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link svg { width: 15px; height: 15px; }
.light-link { color: #eef6ff; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; padding-block: 63px 65px; }
.contact-copy p { max-width: 420px; margin-block: 12px 21px; }
.privacy-card { border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: grid; gap: 10px; background: #f8fbfd; }
.privacy-card p { font-size: .91rem; color: var(--body); line-height: 1.5; }
.privacy-link { border: 0; padding: 4px 0; background: transparent; text-align: left; }
.footer { background: #092745; color: #eaf2fa; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; padding-block: 26px; gap: 18px; font-size: .87rem; }
.footer-inner small { display: block; color: #b9cadd; margin-top: 7px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.footer nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

dialog { color: var(--ink); background: white; width: min(530px, calc(100% - 24px)); padding: 0; border: 0; border-radius: 14px; max-height: min(740px, calc(100dvh - 24px)); box-shadow: 0 24px 72px #05182e6b; }
dialog::backdrop { background: #081e36af; }
body:has(dialog[open]) { overflow: hidden; }
.dialog-body { position: relative; padding: 26px; }
.dialog-close { position: absolute; top: 15px; right: 15px; display: grid; place-items: center; border: 1px solid var(--line); background: white; color: var(--ink); border-radius: 8px; width: 38px; height: 38px; }
.dialog-close:hover { background: var(--mist); }
.dialog-close svg { width: 18px; height: 18px; }
.dialog-icon { margin-bottom: 13px; }
dialog h2 { font-size: 1.7rem; line-height: 1.2; margin-right: 18px; }
dialog h3 { font-size: 1rem; }
dialog p, dialog li { color: var(--body); line-height: 1.55; font-size: .93rem; }
dialog h2 + p { margin-block: 9px 16px; }
dialog ul { padding-left: 1.2rem; margin-block: 6px 14px; }
dialog .fine-print { font-size: .82rem; background: #f0f5fa; border-radius: 8px; padding: 11px 13px; margin-bottom: 16px; }
form { display: grid; gap: 12px; }
form label { display: block; font-weight: 680; font-size: .89rem; }
form label small { color: var(--muted); font-weight: 510; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
input, select, textarea { display: block; width: 100%; min-width: 0; border: 1px solid #cbd8e5; border-radius: 7px; background: white; color: var(--ink); padding: 9px 10px; min-height: 42px; font-size: .94rem; margin-top: 5px; }
textarea { resize: vertical; }
form .button, .quote-result .button { width: fit-content; }
.quote-result { padding: 16px; background: #edf6f1; border: 1px solid #cfe5d6; border-radius: 10px; }
.quote-result p { margin: 6px 0 15px; }
.result-icon { color: #156745; margin-bottom: 7px; }

@media (max-width: 1020px) {
  .wrap { width: min(var(--width), calc(100% - 46px)); }
  .masthead { gap: 20px; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: .82rem; }
  .shortcuts > :is(a, button) { padding-inline: 14px; gap: 9px; }
  .shortcuts strong { font-size: .88rem; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 940px) {
  .masthead { min-height: 65px; gap: 11px; }
  .header-cta { display: none; }
  .menu-toggle { display: grid; place-items: center; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); }
  .main-nav { display: none; position: absolute; z-index: 3; top: calc(100% - 4px); right: 0; width: min(100%, 340px); margin: 0; border: 1px solid var(--line); background: white; border-radius: 10px; padding: 7px; box-shadow: 0 8px 26px #122f4e24; }
  .main-nav.is-open { display: grid; gap: 0; }
  .main-nav a { padding: 12px; font-size: .94rem; border-radius: 6px; }
  .main-nav a:hover { background: var(--mist); }
}
@media (max-width: 800px) {
  .hero { background-image: linear-gradient(90deg, #08203bf2 0%, #092541d9 31%, #1029418a 75%, #1029416b 100%), url("./saigon.webp"); }
  .hero-inner { min-height: 447px; padding-block: 56px 85px; }
  .shortcut-arrow { display: none; }
  .section-head { flex-wrap: wrap; }
  .products { padding-block: 46px 55px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .support-inner { align-items: flex-start; }
  .contact { gap: 25px; }
}
@media (max-width: 580px) {
  .wrap { width: calc(100% - 32px); }
  .utility-phone span { display: none; }
  .masthead { min-height: 60px; }
  .brand-logo { width: 96px; }
  .hero { background-image: linear-gradient(90deg, #08203bda 0%, #0a2440b5 70%, #10294190 100%), url("./saigon.webp"); background-position: center, 74% 52%; }
  .hero-inner { min-height: 399px; padding-block: 37px 56px; }
  h1 { font-size: clamp(2.05rem, 8.45vw, 3.05rem); letter-spacing: -.039em; text-wrap: initial; }
  .desktop-break { display: none; }
  .location { margin-bottom: 13px; font-size: .84rem; }
  .hero-description { margin-block: 15px 21px; font-size: .98rem; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { padding-inline: 12px; font-size: .86rem; min-height: 44px; }
  .shortcuts { grid-template-columns: 1fr; margin-top: -27px; }
  .shortcuts > :is(a, button) { padding: 10px 13px; }
  .shortcuts > :is(a, button):first-child { border-radius: 11px 11px 0 0; }
  .shortcuts > :is(a, button):last-child { border-radius: 0 0 11px 11px; }
  .shortcuts > :is(a, button) + :is(a, button) { border-left: 0; border-top: 1px solid #e4ebf1; }
  .shortcuts .shortcut-icon { width: 37px; height: 37px; }
  .shortcuts .shortcut-icon svg { width: 19px; height: 19px; }
  .shortcuts small { margin-top: 2px; }
  .shortcut-arrow { display: block; }
  .products { padding-block: 36px 42px; }
  .section-head { gap: 14px; margin-bottom: 16px; }
  .section-head p, .contact-copy p { font-size: .94rem; }
  .filter { max-width: 100%; }
  .filter button { padding-inline: 10px; font-size: .83rem; }
  .product-grid { gap: 9px; }
  .product-card { padding: 12px; min-height: 190px; gap: 9px; }
  .product-icon { width: 38px; height: 38px; }
  .product-icon svg { width: 20px; height: 20px; }
  .product-title { font-size: .96rem; }
  .product-summary { font-size: .81rem; }
  .product-more { font-size: .79rem; }
  .support-inner { flex-direction: column; gap: 18px; padding-block: 27px; }
  .support-copy { gap: 11px; }
  .support-icon { width: 42px; height: 42px; }
  .support-icon svg { width: 22px; height: 22px; }
  .support-copy p { font-size: .92rem; }
  .support-actions { display: flex; flex-wrap: wrap; justify-content: start; gap: 12px 15px; align-items: center; }
  .contact { grid-template-columns: 1fr; padding-block: 39px; }
  .privacy-card { padding: 15px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .dialog-body { padding: 19px; }
  .form-pair { grid-template-columns: 1fr; }
  input, select, textarea { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.shortcuts > button { border: 0; background: white; color: inherit; text-align: left; }
.form-consent { padding: 12px 13px; background: #f0f5fa; border-radius: 8px; }
.form-consent .consent-label { display: flex; align-items: flex-start; gap: 9px; font-size: .82rem; font-weight: 540; line-height: 1.48; }
.consent-label input { margin: 2px 0 0; width: 17px; height: 17px; min-height: 0; flex: none; accent-color: #123b69; }
dialog .consent-help { margin: 6px 0 0 26px; font-size: .79rem; }
.form-error { border-radius: 7px; padding: 9px 11px; background: #fcf1ef; color: #903526; }
dialog .form-error { color: #903526; }
.button:disabled { opacity: .7; cursor: wait; }

.admin-body { background: #f3f7fb; min-height: 100vh; }
.admin-header { background: white; border-bottom: 1px solid var(--line); }
.admin-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 14px; }
.admin-header a { font-weight: 750; }
.admin-page { padding-block: 42px; }
.admin-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.admin-head p { margin-top: 8px; color: var(--body); line-height: 1.6; }
.admin-table { border: 1px solid var(--line); border-radius: 11px; background: white; overflow: auto; }
.admin-table table { width: 100%; border-collapse: collapse; font-size: .91rem; text-align: left; }
.admin-table th { background: #e9f1f8; color: #183c62; white-space: nowrap; }
.admin-table td, .admin-table th { padding: 13px 14px; vertical-align: top; }
.admin-table tbody tr + tr { border-top: 1px solid var(--line); }
.admin-table td:nth-child(1), .admin-table td:nth-child(3) { white-space: nowrap; }
.admin-table td:last-child { min-width: 220px; white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-table a { color: #15548b; text-decoration: underline; }
.admin-empty { padding: 28px; background: white; border: 1px solid var(--line); border-radius: 11px; color: var(--body); }
.admin-pagination { display: flex; gap: 16px; margin-top: 17px; flex-wrap: wrap; }
