/* =====================================================================
   Vividus Studio — CSS theme con bkns (cha Flatsome).
   Trang dựng bằng UX Builder: section gắn class vv-… (vv-hero, vv-khoi,
   vv-khoi--xam, vv-khoi--toi, vv-lh, vv-bang-ten), col thẻ bước gắn vv-buoc.
   ===================================================================== */
:root {
  --vv-xanh: #589eaa;
  --vv-xanh-dam: #3f818d;
  --vv-dem: #173c4a;
  --vv-den: #111111;
  --vv-chu: #11151b;
  --vv-chu-phu: #64748b;
  --vv-nen-xam: #f3f4f6;
  --vv-nen-kem: #f7f7f4;
  --vv-vien: #e5e7eb;
  --vv-bo: 14px;
}
body, h1, h2, h3, h4, h5, h6, .nav > li > a, button, input, textarea { font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
body { color: var(--vv-chu); -webkit-font-smoothing: antialiased; }
html { scroll-padding-top: 110px; }
.vv-icon { width: 20px; height: 20px; flex: none; }
.vv-giua { text-align: center; margin-top: 40px; }
:focus-visible { outline: 3px solid var(--vv-xanh); outline-offset: 3px; }

/* ------------------------------------------------ header Flatsome: thanh xanh bo góc, nổi trên hero */
#header .header-main { background: transparent !important; }
#header .header-main .header-inner { background: var(--vv-dem); border-radius: 14px; padding: 0 22px; box-shadow: 0 8px 30px rgba(0,0,0,.18); max-width: 1400px; }
#header .header-wrapper { padding: 14px 24px 0; }
#header .header-wrapper.stuck { padding-top: 8px; background: transparent; box-shadow: none; }
#header .header-bg-color, #header .header-bg-image { background: transparent !important; }
.header-nav-main > li > a { font-size: 14px; font-weight: 500; text-transform: none; letter-spacing: 0; color: #fff !important; padding: 8px 12px !important; border-radius: 8px; transition: background .2s, color .2s; }
.header-nav-main > li > a:hover { background: rgba(255,255,255,.1); }
.header-nav-main > li.active > a, .header-nav-main > li.current-menu-item > a { color: var(--vv-xanh) !important; background: rgba(88,158,170,.14); }
.header-nav-main > li { margin: 0 2px; }
.nav-dark .nav > li.nav-icon > a, .header-main .icon-menu { color: #fff; }

/* ------------------------------------------------ nút (button Flatsome) */
.button.primary:not(.is-outline) { background-color: var(--vv-xanh); }
.button.primary:not(.is-outline):hover { background-color: var(--vv-xanh-dam); }
.button.primary.is-outline { color: var(--vv-xanh); border-color: var(--vv-xanh); border-radius: 99px; }
.button.primary.is-outline:hover { background-color: var(--vv-xanh); color: #fff; }
.button { text-transform: none; letter-spacing: 0; font-weight: 600; }

/* ------------------------------------------------ hero */
.vv-hero .section-content { width: 100%; }
.vv-hero__nhan { margin: 0 0 14px; font-size: 26px; font-weight: 700; }
.vv-hero__ten { margin: 0; font-size: clamp(52px, 8vw, 84px); line-height: 1.05; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.vv-hero__ten span { color: var(--vv-xanh); }
.vv-hero__khau-hieu { margin: 10px 0 18px; font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -.01em; }
.vv-hero__mo-ta, .vv-hero__email { max-width: 540px; margin: 0 0 6px; font-size: 17px; opacity: .92; }
.vv-hero__email { margin-bottom: 26px; }
.vv-hero .button { display: flex; align-items: center; width: max-content; margin: 0; padding: 0 26px; }
.vv-hero__email a { color: #fff; text-decoration: underline; text-decoration-color: var(--vv-xanh); text-underline-offset: 3px; }
.vv-hero__so-lieu { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0 !important; padding: 0; font-weight: 700; font-size: 17px; }
.vv-hero__so-lieu li { margin: 0 !important; }

/* ------------------------------------------------ khối chung */
.vv-nhan, .dark .vv-nhan { margin: 0 0 10px; color: var(--vv-xanh); font-weight: 700; font-size: 28px; }
.vv-tieu-de { margin: 0 0 10px; font-size: 18px; font-weight: 700; }
.vv-mo-ta-khoi { margin: 0 auto; max-width: 820px; color: var(--vv-chu-phu); font-size: 17px; }
.vv-khoi--toi .vv-tieu-de { color: #fff; }
.vv-van-ban p { margin: 0 0 12px; }
.vv-van-ban p:last-child { margin-bottom: 0; }

/* ------------------------------------------------ [vv_dich_vu] */
.vv-dv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; text-align: left; }
.vv-dv__ds { display: flex; flex-direction: column; gap: 14px; }
.vv-dv__nhom { background: #fff; border-radius: var(--vv-bo); box-shadow: 0 1px 2px rgba(16,24,40,.05); overflow: hidden; }
.vv-dv__muc { display: flex; width: 100%; margin: 0; text-align: left; background: none; border: 0; cursor: pointer; color: var(--vv-chu); text-transform: none; letter-spacing: 0; line-height: 1.4; min-height: 0; transition: background .2s, color .2s; }
.vv-dv__muc--nhom { align-items: center; gap: 16px; padding: 18px 20px; }
.vv-dv__muc--nhom strong { display: block; font-size: 17px; font-weight: 600; }
.vv-dv__so { display: block; font-size: 12px; font-weight: 700; color: var(--vv-xanh); letter-spacing: .08em; }
.vv-dv__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--vv-nen-xam); transition: background .2s, color .2s; }
.vv-dv__muc--nhom:hover .vv-dv__icon, .vv-dv__muc--nhom.is-on .vv-dv__icon { background: var(--vv-xanh); color: #fff; }
.vv-dv__muc--nhom.is-on { background: rgba(88,158,170,.08); }
.vv-dv__con { list-style: none; margin: 0 !important; padding: 0 20px 14px 78px; }
.vv-dv__con li { margin: 0 !important; }
.vv-dv__con .vv-dv__muc { padding: 7px 10px; margin-left: -10px; border-radius: 8px; font-size: 14.5px; font-weight: 400; color: var(--vv-chu-phu); }
.vv-dv__con .vv-dv__muc::before { content: "+"; margin-right: 8px; color: var(--vv-xanh); font-weight: 700; }
.vv-dv__con .vv-dv__muc:hover { color: var(--vv-chu); background: var(--vv-nen-xam); }
.vv-dv__con .vv-dv__muc.is-on { color: var(--vv-xanh-dam); background: rgba(88,158,170,.12); font-weight: 600; }
.vv-dv__chi-tiet { position: sticky; top: 110px; }
.vv-dv__the { background: #fff; border-radius: var(--vv-bo); overflow: hidden; box-shadow: 0 10px 30px rgba(16,24,40,.07); animation: vv-hien .35s ease; }
.vv-dv__the img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.vv-dv__the-chu { padding: 24px 28px 28px; }
.vv-dv__the h3 { margin: 0 0 12px; font-size: 24px; font-weight: 700; }
.vv-dv__the .vv-van-ban { color: var(--vv-chu-phu); font-size: 15.5px; }
@keyframes vv-hien { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------ [vv_portfolio] */
.vv-loc { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 40px; }
.vv-loc__nut { margin: 0; min-height: 0; line-height: 1.4; border: 1px solid var(--vv-vien); background: #fff; color: var(--vv-chu-phu); border-radius: 999px; padding: 8px 18px; font-size: 14px; font-weight: 500; text-transform: none; letter-spacing: 0; cursor: pointer; transition: all .2s; }
.vv-loc__nut:hover { border-color: var(--vv-xanh); color: var(--vv-xanh); }
.vv-loc__nut.is-on { background: var(--vv-xanh); border-color: var(--vv-xanh); color: #fff; }
.vv-pf__luoi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 36px; }
.vv-pf__o { margin: 0; }
.vv-pf__o[hidden] { display: none; }
.vv-pf__o figcaption { text-align: center; margin-top: 16px; }
.vv-pf__o figcaption strong { display: block; font-size: 19px; font-weight: 700; }
.vv-pf__o figcaption span { display: block; color: var(--vv-chu-phu); font-size: 14.5px; margin-top: 2px; }
.vv-ss { position: relative; aspect-ratio: 3 / 2; border-radius: var(--vv-bo); overflow: hidden; background: var(--vv-nen-xam); user-select: none; }
.vv-ss img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vv-ss__truoc { clip-path: inset(0 calc(100% - var(--vt)) 0 0); }
.vv-ss__vach { position: absolute; top: 0; bottom: 0; left: var(--vt); width: 2px; margin-left: -1px; background: var(--vv-xanh); pointer-events: none; }
.vv-ss__vach i { position: absolute; top: 50%; left: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: #fff; border: 2px solid var(--vv-xanh); box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.vv-ss__vach i::before, .vv-ss__vach i::after { content: ""; position: absolute; top: 50%; margin-top: -4px; border: 4px solid transparent; }
.vv-ss__vach i::before { left: 3px; border-right-color: var(--vv-xanh); }
.vv-ss__vach i::after { right: 3px; border-left-color: var(--vv-xanh); }
.vv-ss__nhan { position: absolute; top: 14px; padding: 4px 12px; border-radius: 999px; background: var(--vv-xanh); color: #fff; font-size: 12px; font-weight: 600; pointer-events: none; }
.vv-ss__nhan--truoc { left: 14px; }
.vv-ss__nhan--sau { right: 14px; }
.vv-ss__keo { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent; border: 0; box-shadow: none; }
.vv-ss__keo::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 100vh; }
.vv-ss__keo::-moz-range-thumb { width: 44px; height: 100vh; border: 0; }
.vv-ss:has(.vv-ss__keo:focus-visible) { outline: 3px solid var(--vv-xanh); outline-offset: 3px; }

/* ------------------------------------------------ How it works: col thẻ bước (class vv-buoc) */
.vv-buoc .col-inner { border-radius: var(--vv-bo); height: 100%; }
.vv-buoc h3 { margin: 0 0 12px; font-size: 24px; line-height: 1.2; font-weight: 700; color: #fff; }
.vv-buoc p { margin: 0; color: #b8bec6; font-size: 15.5px; }
.vv-khoi--toi .row-buoc > .col { padding-bottom: 18px; }

/* ------------------------------------------------ [vv_danh_gia] */
.vv-dg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; text-align: left; }
.vv-dg__the { margin: 0; padding: 24px 24px 28px; background: var(--vv-nen-kem); border-radius: var(--vv-bo); border: 0; }
.vv-dg__the cite { display: block; font-style: normal; font-weight: 700; font-size: 17px; margin-bottom: 10px; color: var(--vv-chu); }
.vv-dg__the p { margin: 0; color: var(--vv-xanh); font-style: italic; font-size: 16px; }

/* ------------------------------------------------ [vv_hoi_dap] */
.vv-hd { display: flex; flex-direction: column; gap: 12px; max-width: 860px; margin: 0 auto; text-align: left; }
.vv-hd__muc { background: #fff; border-radius: var(--vv-bo); box-shadow: 0 1px 2px rgba(16,24,40,.05); }
.vv-hd__muc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 17px; }
.vv-hd__muc summary::-webkit-details-marker { display: none; }
.vv-hd__muc summary .vv-icon { color: var(--vv-xanh); transition: transform .25s; }
.vv-hd__muc[open] summary .vv-icon { transform: rotate(45deg); }
.vv-hd__muc[open] summary { color: var(--vv-xanh-dam); }
.vv-hd__muc .vv-van-ban { padding: 0 24px 22px; color: var(--vv-chu-phu); }

/* ------------------------------------------------ Contact (section vv-lh) + form CF7 */
.vv-lh h2 { margin: 0 0 18px; font-size: 26px; font-weight: 700; }
.vv-lh p { color: #c9ced4; font-size: 17px; max-width: 470px; }
.vv-lh .vv-lh__hoi { color: #fff; font-weight: 600; margin-top: 28px; }
.vv-email--lon { display: inline-block; color: var(--vv-xanh) !important; font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); text-decoration: none; word-break: break-all; }
.vv-email--lon:hover { text-decoration: underline; text-underline-offset: 4px; }
.vv-lh__form .col-inner { background: #fff; border-radius: 16px; padding: 30px; color: var(--vv-chu); }
.vv-cf7 p { margin: 0 0 12px; }
.vv-cf7 input[type=text], .vv-cf7 input[type=email], .vv-cf7 textarea { width: 100%; margin: 0; padding: 12px 14px; height: auto; border: 1px solid var(--vv-vien); border-radius: 10px; background: #f8f8f8; box-shadow: none; font-size: 15px; color: var(--vv-chu); }
.vv-cf7 input:focus, .vv-cf7 textarea:focus { border-color: var(--vv-xanh); background: #fff; box-shadow: 0 0 0 3px rgba(88,158,170,.2); }
.vv-cf7 textarea { min-height: 110px; resize: vertical; }
.vv-cf7 .vv-cf7__nut, .vv-cf7 input[type=submit] { width: 100%; margin: 0; border-radius: 999px; background: var(--vv-xanh); color: #fff; font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 15px; }
.vv-cf7 input[type=submit]:hover { background: var(--vv-xanh-dam); }
.vv-lh .wpcf7-response-output { margin: 12px 0 0 !important; border-radius: 10px; color: var(--vv-chu); font-size: 14.5px; }
.vv-lh .wpcf7 form.sent .wpcf7-response-output { background: #e7f5ef; border-color: #17603f; color: #17603f; }
.vv-lh .wpcf7-not-valid-tip { font-size: 13px; }

/* ------------------------------------------------ trang con: băng tên trang */
.vv-bang-ten h1 { margin: 0; font-size: clamp(32px, 5vw, 48px); font-weight: 700; letter-spacing: -.02em; }

/* ------------------------------------------------ chân trang */
#footer .absolute-footer { display: none; }
.vv-footer { background: var(--vv-den); color: #c9ced4; padding: 52px 0 40px; border-radius: 18px 18px 0 0; margin-top: -18px; position: relative; }
.vv-footer__trong { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.vv-footer__logo { display: inline-block; color: #fff; font-size: 26px; font-weight: 800; margin-bottom: 14px; }
.vv-footer__logo b { color: var(--vv-xanh); font-weight: 800; }
.vv-footer__logo:hover { color: #fff; }
.vv-footer__dong { margin: 0 0 12px; font-size: 16px; color: #c9ced4; }
.vv-footer__dong a { color: #fff; }
.vv-footer__dong a:hover { color: var(--vv-xanh); }
.vv-footer__ban-quyen { margin: 0; font-size: 14.5px; color: #8a9097; }
.vv-mxh { display: flex; gap: 10px; }
.vv-mxh a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; transition: background .2s; }
.vv-mxh a:hover { background: var(--vv-xanh); color: #fff; }

/* ------------------------------------------------ nút chat Messenger */
.vv-chat { position: fixed; right: 22px; bottom: 22px; z-index: 999; display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px;
  background: linear-gradient(135deg, #00b2ff, #006aff 55%, #a033ff); color: #fff; font-weight: 600; font-size: 15px; box-shadow: 0 10px 28px rgba(0,106,255,.35); transition: transform .2s, box-shadow .2s; }
.vv-chat svg { width: 28px; height: 28px; }
.vv-chat:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,106,255,.45); }
#top-link { bottom: 90px; }

/* ------------------------------------------------ màn hình nhỏ */
@media (max-width: 849px) {
  .vv-dv { grid-template-columns: 1fr; }
  .vv-dv__chi-tiet { position: static; }
  .vv-dg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #header .header-wrapper { padding: 10px 12px 0; }
  #header .header-main .header-inner { padding: 0 12px; }
}
@media (max-width: 549px) {
  .vv-hero__nhan { font-size: 15px; }
  .vv-hero__so-lieu { flex-direction: column; font-size: 16px; }
  .vv-nhan { font-size: 22px; }
  .vv-pf__luoi, .vv-dg { grid-template-columns: 1fr; }
  .vv-dv__con { padding-left: 20px; }
  .vv-lh__form .col-inner { padding: 20px; }
  .vv-chat span { display: none; }
  .vv-chat { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------------ web 1 trang: điểm neo [scroll_to] đặt cao hơn
   đầu khối để khi bấm menu tiêu đề khối không bị thanh header che */
.vv-khoi .scroll-to, .vv-lh .scroll-to { display: block; position: relative; top: -48px; height: 0; }
