@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* ─── RESET & BASE ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

:root {
  --blue: #1a56db;
  --blue-dark: #1342b0;
  --blue-light: #e8f0fe;
  --blue-pale: #f0f5ff;
  --orange: #f97316;
  --orange-lt: #fff4ed;
  --green: #16a34a;
  --gray-bg: #f4f7fc;
  --text: #0f172a;
  --text-md: #334155;
  --text-lt: #64748b;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, .07);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, .1);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, .14);
  --radius: 14px;
  --nav-h: 88px;
}

/* ─── TYPOGRAPHY ─── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 99px;
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.tag.orange {
  background: var(--orange-lt);
  color: var(--orange);
}

.tag.white {
  background: rgba(255, 255, 255, .15);
  color: #fff;
}

h2.sec-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 8px;
}

p.sec-sub {
  font-size: 15px;
  color: var(--text-lt);
  line-height: 1.4;
  max-width: 100%;
  margin-bottom: 12px;
}

.center {
  text-align: center;
}

.center .sec-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all .2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 14px rgba(26, 86, 219, .3);
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 86, 219, .38);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: #fff;
}

.btn-orange {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 14px rgba(249, 115, 22, .3);
}

.btn-orange:hover {
  background: #ea6c0a;
  transform: translateY(-1px);
}

.btn-white {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}

.btn-white:hover {
  transform: translateY(-1px);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 15px;
  border-radius: 12px;
}

.btn-block {
  width: 100%;
}

/* ─── DISABLE LEGACY HEADER (force hide) ─── */
#fptBiznextLanding #navbar,
#fptBiznextLanding .mobile-nav {
  display: none !important;
  pointer-events: none !important;
}

/* ─── NAVBAR ─── */
#fptBiznextLanding #navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  background: linear-gradient(90deg, #1d4ed8 0%, #3b82f6 50%, #06b6d4 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  transition: box-shadow .3s;
  overflow: visible;
}

#fptBiznextLanding #navbar,
#fptBiznextLanding #navbar * {
  box-sizing: border-box;
}

#fptBiznextLanding #navbar.scrolled {
  box-shadow: 0 10px 30px rgba(2, 6, 23, .18);
}

body.admin-bar #fptBiznextLanding #navbar {
  top: 32px;
}

@media(max-width:782px) {
  body.admin-bar #fptBiznextLanding #navbar {
    top: 46px;
  }
}

#fptBiznextLanding .nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -.3px;
  flex-shrink: 0;
  padding-left: 10px;
}

#fptBiznextLanding #navbar .nav-logo-img {
  height: 80px !important;
  max-height: calc(var(--nav-h) - 8px) !important;
  width: auto !important;
  max-width: 240px;
  display: block !important;
  object-fit: contain !important;
}

#fptBiznextLanding #navbar img {
  max-height: calc(var(--nav-h) - 8px);
}

body.has-elementor-header #fptBiznextLanding #navbar,
body.has-elementor-header #fptBiznextLanding .mobile-nav,
body.page-id-138 #fptBiznextLanding #navbar,
body.page-id-138 #fptBiznextLanding .mobile-nav {
  display: none !important;
  pointer-events: none !important;
}

#fptBiznextLanding .nav-logo-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, .14);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

#fptBiznextLanding .nav-logo .fpt {
  color: #fff;
}

#fptBiznextLanding .nav-logo .biz {
  color: rgba(255, 255, 255, .92);
}

#fptBiznextLanding .nav-links {
  display: flex;
  gap: 4px;
  flex-wrap: nowrap;
  overflow: visible;
}

#fptBiznextLanding .nav-links a {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, .92);
  transition: .2s;
  white-space: nowrap;
}

#fptBiznextLanding .nav-links a:hover,
#fptBiznextLanding .nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, .14);
}

#fptBiznextLanding #navbar .btn-outline {
  border: none;
  color: #fff;
}

#fptBiznextLanding #navbar .btn-outline:hover {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

#fptBiznextLanding #navbar .btn-primary {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 6px 18px rgba(2, 6, 23, .18);
}

#fptBiznextLanding #navbar .btn-primary:hover {
  background: rgba(255, 255, 255, .9);
  color: var(--blue);
}

#fptBiznextLanding .nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

#fptBiznextLanding .hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

#fptBiznextLanding .hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s;
}

/* Phone icon for mobile/tablet header */
#fptBiznextLanding .nav-call-icon {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-size: 18px;
  text-decoration: none;
  margin-right: 8px;
  box-shadow: 0 2px 8px rgba(0, 102, 255, 0.3);
}

/* Icon điện thoại mobile-only */
#fptBiznextLanding .nav-phone-icon {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  border: 1.5px solid rgba(255, 255, 255, .35);
  flex-shrink: 0;
  transition: background .2s;
}

#fptBiznextLanding .nav-phone-icon:hover {
  background: rgba(255, 255, 255, .28);
}

/* ─── MOBILE MENU ─── */
#fptBiznextLanding .mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 998;
  background: linear-gradient(90deg, #1d4ed8 0%, #3b82f6 50%, #06b6d4 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  padding: 16px 24px 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
  flex-direction: column;
  gap: 4px;
}

.admin-bar #fptBiznextLanding .mobile-nav {
  top: calc(var(--nav-h) + 32px);
}

@media(max-width:782px) {
  .admin-bar #fptBiznextLanding .mobile-nav {
    top: calc(var(--nav-h) + 46px);
  }
}

#fptBiznextLanding .mobile-nav.open {
  display: flex;
}

#fptBiznextLanding .mobile-nav a {
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, .92);
  transition: .2s;
}

#fptBiznextLanding .mobile-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .14);
}

#fptBiznextLanding .mobile-nav .mn-btns {
  display: none !important;
}

/* ─── MOBILE NAV REDESIGN ─── */
#fptBiznextLanding .mobile-nav {
  padding: 8px 0 24px;
}

#fptBiznextLanding .mn-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 24px;
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, .88);
  border-radius: 0;
  transition: background .15s;
}

#fptBiznextLanding .mn-link:hover {
  background: rgba(255, 255, 255, .10);
  color: #fff;
}

#fptBiznextLanding .mn-arr {
  opacity: .45;
  flex-shrink: 0;
  color: #fff;
}

#fptBiznextLanding .mn-link:hover .mn-arr {
  opacity: .9;
}

#fptBiznextLanding .mn-badge {
  font-size: 10px;
  font-weight: 700;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  padding: 2px 9px;
  border-radius: 99px;
  letter-spacing: .3px;
  flex-shrink: 0;
}

#fptBiznextLanding .mn-sep {
  height: 0.5px;
  background: rgba(255, 255, 255, .15);
  margin: 0 20px;
}

#fptBiznextLanding .mn-hotline {
  margin: 16px 20px 0;
  padding: 16px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
}

#fptBiznextLanding .mn-hotline-label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, .6);
  font-weight: 600;
  margin-bottom: 6px;
}

#fptBiznextLanding .mn-hotline-num {
  display: block;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.3px;
}

#fptBiznextLanding .mn-hotline-num:hover {
  color: rgba(255, 255, 255, .85);
}

/* ─── HERO ─── */
#hero {
  min-height: clamp(420px, 56vh, 620px);
  padding-top: calc(var(--nav-h) + 12px);
  padding-bottom: 0;
  padding-left: clamp(48px, 5vw, 90px);
  padding-right: clamp(32px, 3.5vw, 60px);
  background-color: #fff;
  background-image: url("/wp-content/uploads/2026/04/backgroudbanner.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  grid-template-rows: 1fr auto;
  align-items: start;
  gap: clamp(16px, 2vw, 32px) clamp(16px, 2vw, 32px);
  position: relative;
  overflow: visible;
}

#hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(26, 86, 219, .13) 0%, transparent 70%);
  pointer-events: none;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 10%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(249, 115, 22, .09) 0%, transparent 70%);
  pointer-events: none;
}

#hero .hero-banner-wrap {
  position: relative;
  border-radius: 18px;
  padding: 0;
  background: transparent;
  box-shadow: 0 26px 80px rgba(0, 0, 0, .28);
}

#hero .hero-banner-wrap::before {
  content: none;
}

#hero .hero-banner-wrap::after {
  content: none;
}

#hero .hero-banner {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.hero-left {
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 32px;
  color: var(--text);
  position: relative;
  grid-row: 1;
  grid-column: 1;
  align-self: center;
}

.hero-left::before {
  content: '';
  position: absolute;
  inset: -26px -18px;
  border-radius: 18px;

  background:
    radial-gradient(900px 520px at 20% 25%, rgba(59, 130, 246, .14) 0%, rgba(59, 130, 246, 0) 62%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 60%, #f8fafc 100%);
  border: 1px solid rgba(15, 23, 42, .10);
  box-shadow: 0 18px 60px rgba(2, 6, 23, .10);
  z-index: -1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(26, 86, 219, .08);
  border: 1px solid rgba(26, 86, 219, .16);
  border-radius: 99px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 18px;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .5;
    transform: scale(1.4)
  }
}

.hero-left h1 {
  font-size: clamp(36px, 4.8vw, 62px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 10px;
  letter-spacing: -.5px;
  color: var(--text);
}

.hero-left h1 .hl {
  color: #60a5fa;
}

.hero-tagline {
  font-size: 16px;
  font-weight: 800;
  color: #fb923c;
  margin-bottom: 14px;
  line-height: 1.55;
}

.hero-desc {
  font-size: 15px;
  color: var(--text);
  line-height: 1.75;
  max-width: 100%;
  margin-bottom: 16px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero-left .btn-outline {
  border-color: var(--orange);
  color: var(--orange);
}

.hero-left .btn-outline:hover {
  background: var(--orange);
  color: #fff;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.ti {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: rgba(15, 23, 42, .78);
  font-weight: 700;
}

.hero-right {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-top: 16px;
  grid-row: 1;
  grid-column: 2;
}

.hero-banner-wrap {
  width: 100%;
  min-width: 0;
}

.hero-marquee {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 0;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: #0b1220;
  border-top: 1px solid rgba(255, 255, 255, .10);
  padding: 14px 0;
  color: rgba(255, 255, 255, .92);
  font-weight: 800;
  font-size: 12px;
}

.hero-marquee marquee {
  letter-spacing: .2px;
}

.mockup-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}

.mockup-bar em {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  font-style: normal;
}

.mockup-bar em:nth-child(1) {
  background: #ff5f57;
}

.mockup-bar em:nth-child(2) {
  background: #febc2e;
}

.mockup-bar em:nth-child(3) {
  background: #28c840;
}

.ms {
  background: rgba(255, 255, 255, .07);
  border-radius: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .1);
}

.ms-nav {
  height: 8px;
  background: rgba(255, 255, 255, .2);
  border-radius: 4px;
  margin-bottom: 14px;
  width: 70%;
}

.ms-h {
  height: 54px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .07));
  border-radius: 8px;
  margin-bottom: 12px;
}

.ms-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.ms-c {
  height: 42px;
  border-radius: 8px;
}

.ms-c:nth-child(1) {
  background: linear-gradient(135deg, #f97316, #fb923c);
}

.ms-c:nth-child(2) {
  background: linear-gradient(135deg, #1a56db, #3b82f6);
}

.ms-c:nth-child(3) {
  background: linear-gradient(135deg, #334155, #64748b);
}

.ms-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ms-r {
  height: 7px;
  background: rgba(255, 255, 255, .12);
  border-radius: 4px;
}

.ms-r:nth-child(2) {
  width: 78%;
}

.ms-r:nth-child(3) {
  width: 60%;
}

.m-badge {
  position: absolute;
  bottom: 22px;
  right: 22px;
  background: #fff;
  border-radius: 14px;
  padding: 11px 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .22);
  display: flex;
  align-items: center;
  gap: 12px;
}

.mb-ic {
  width: 34px;
  height: 34px;
  background: var(--blue-light);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.mb-tx strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
}

.mb-tx span {
  font-size: 11px;
  color: var(--text-lt);
}

.m-float {
  position: absolute;
  top: -16px;
  left: -18px;
  background: #fff;
  border-radius: 12px;
  padding: 9px 16px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .14);
  font-size: 12px;
  font-weight: 800;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

/* ─── STATS ─── */
#stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  justify-content: center;
}

.stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 20px;
  border-right: 1px solid var(--border);
}

.stat:last-child {
  border-right: none;
}

.stat:hover {
  background: var(--blue-pale);
}

.s-icon {
  font-size: 28px;
  line-height: 1;
}

.s-body {
  display: flex;
  flex-direction: column;
}

.s-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.5px;
  line-height: 1;
}

.s-lbl {
  font-size: 12px;
  color: var(--text-lt);
  margin-top: 2px;
  font-weight: 500;
}

/* ─── SECTION WRAPPER ─── */
.sec {
  padding: 64px 60px;
}

.sec.bg-gray {
  background: var(--gray-bg);
}

.sec.bg-blue {
  background: var(--blue);
}

/* ─── TEMPLATE FILTER ─── */
.tpl-filter {
  display: inline-flex;
  gap: 8px;
  padding: 4px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .08);
  margin-bottom: 12px;
  margin-top: 4px;
  text-align: center;
  position: relative;
  isolation: isolate;
}

.tpl-filter-btn {
  appearance: none;
  border: none;
  background: transparent;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  transition: color .2s ease;
  position: relative;
  z-index: 2;
}

.tpl-filter-btn:hover {
  background: transparent;
}

.tpl-filter-btn.active {
  background: transparent;
  color: var(--text);
}

.tpl-filter.indicator-ready .tpl-filter-btn.active {
  color: #fff;
  transition-delay: .12s;
}

.tpl-filter-indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  border-radius: 999px;
  background: var(--blue);
  width: 50%;
  transform: translateX(0);
  transition: .25s ease;
  z-index: 1;
}

.tpl-search {
  margin-top: 8px;
  display: grid;
  grid-template-columns: minmax(220px, 380px) 1fr 130px;
  gap: 12px;
  align-items: center;
  width: 100%;
  max-width: 1520px;
  margin-left: auto;
  margin-right: auto;
  padding: 16px 15px;
  border-radius: 16px;
  background: rgba(26, 86, 219, .06);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
}

.tpl-search select,
.tpl-search input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, .9);
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  outline: none;
  color: var(--text);
}

.tpl-search select:focus,
.tpl-search input:focus {
  border-color: rgba(26, 86, 219, .55);
  box-shadow: 0 0 0 4px rgba(26, 86, 219, .12);
}

.tpl-search button {
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(26, 86, 219, .24);
  transition: transform .15s ease, background .2s ease;
}

.tpl-search button:hover {
  background: var(--blue-dark);
}

.tpl-search button:active {
  transform: translateY(1px);
}

@media (max-width: 820px) {
  .tpl-search {
    grid-template-columns: 1fr;
  }
}

/* ─── TEMPLATES ─── */
.tpl-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  max-width: 1520px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.tpl-grid-shell {
  max-width: 1640px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 52px;
  padding-right: 52px;
  overflow: visible;
}

.tpl-main-cat-title {
  grid-column: 1 / -1;
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  margin-top: 10px;
  padding-bottom: 8px;
  border-bottom: 0;
}

.tpl-grid.tpl-grouped-mode {
  display: block;
  max-width: 1520px;
}

.tpl-main-cat-block {
  margin-bottom: 22px;
}

.tpl-main-cat-row-wrap {
  position: relative;
  overflow: visible;
}

.tpl-main-cat-row {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0;
  scroll-behavior: smooth;
  scroll-snap-type: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
}

.tpl-main-cat-row::-webkit-scrollbar {
  display: none;
}

.tpl-main-cat-row .tpl-card {
  flex: 0 0 calc((100% - 72px) / 4);
  width: calc((100% - 72px) / 4);
}

.tpl-main-cat-next,
.tpl-main-cat-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  appearance: none;
  border: 2px solid #111827;
  background: #fff;
  color: #111827;
  border-radius: 999px;
  width: 38px;
  height: 38px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 8px 20px rgba(2, 6, 23, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  padding: 0;
}

.tpl-main-cat-nav span {
  display: block;
  line-height: 1;
}

.tpl-main-cat-prev {
  left: -46px;
}

.tpl-main-cat-next {
  right: -46px;
}

.tpl-main-cat-next:hover {
  background: #111827;
  color: #fff;
}

.tpl-main-cat-prev:hover {
  background: #111827;
  color: #fff;
}

.tpl-group-more-wrap {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin: 2px 0 10px;
}

.tpl-group-more-btn {
  appearance: none;
  border: 1px solid rgba(26, 86, 219, .35);
  background: #fff;
  color: #1a56db;
  border-radius: 999px;
  min-width: 44px;
  height: 32px;
  padding: 0 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .08);
}

.tpl-group-more-btn:hover {
  background: #1a56db;
  color: #fff;
}

.tpl-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all .28s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  height: auto;
  min-height: 0;
}

.tpl-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* preview-host khi JS inject iframe */
.tpl-preview-host {
  flex: none;
  height: 320px;
  min-height: 320px;
  position: relative;
  display: flex;
  align-items: stretch;
  background: #f0f2f5;
  overflow: hidden;
}

/* Scroll-card: ảnh trong preview-host cuộn khi hover (trước khi iframe load) */
.tpl-preview-host>img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 320px;
  flex: none;
  position: relative;
  z-index: 0;
  transform: translateY(0);
  transition: transform 3.8s cubic-bezier(0.33, 0, 0.66, 1);
  will-change: transform;
}

.tpl-card:hover .tpl-preview-host>img {
  transform: translateY(calc(-100% + 320px));
}

/* thumb chiếm toàn bộ phần ảnh, flex để fill card */
.tpl-thumb {
  display: flex;
  flex-direction: column;
  position: relative;
  flex: none;
  height: 320px;
  min-height: 320px;
  overflow: hidden;
  background: #f0f2f5;
}

.tpl-thumb img {
  display: block;
  width: 100%;
  flex: none;
  /* Scroll-card: ảnh hiển thị toàn bộ chiều cao, cuộn khi hover */
  height: auto;
  min-height: 320px;
  object-fit: unset;
  object-position: unset;
  transform: translateY(0);
  transition: transform 3.8s cubic-bezier(0.33, 0, 0.66, 1);
  will-change: transform;
}

.tpl-card:hover .tpl-thumb img {
  transform: translateY(calc(-100% + 320px));
}

/* iframe được JS inject vào thumb hoặc preview-host */
.tpl-thumb iframe,
.tpl-preview-host iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #fff;
  pointer-events: none;
}

.tpl-preview {
  position: absolute;
  inset: 0;
  background: #fff;
  overflow: hidden;
  /* Always show preview layer so cards without thumbnails are not blank */
  opacity: 1;
  pointer-events: none;
  transition: opacity .5s ease;
  z-index: 1;
}

/* Hiện iframe preview sau khi nội dung đã sẵn sàng */
.tpl-preview.preview-ready {
  opacity: 1;
  pointer-events: auto;
}

.tpl-preview-inner {
  width: 400%;
  height: 400%;
  transform: translate3d(0, 0, 0) scale(.25);
  transform-origin: top left;
  pointer-events: none;
  background: #fff;
  transition: transform .35s ease-out;
  will-change: transform;
}

.tpl-preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
  display: block;
}

.tt-badge {
  z-index: 3;
  display: none !important;
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.tpl-card.is-fav .tt-badge:not(.fav) {
  display: none !important;
}

.tpl-card.is-fav .tt-badge.fav {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: #ef4444 !important;
  color: #fff !important;
}

.tt1 {
  background: linear-gradient(135deg, #f97316, #fb923c);
}

.tt2 {
  background: linear-gradient(135deg, #1e293b, #334155);
}

.tt3 {
  background: linear-gradient(135deg, #94a3b8, #cbd5e1);
}

.tt4 {
  background: linear-gradient(135deg, #dc2626, #ef4444);
}

.tt5 {
  background: linear-gradient(135deg, #0d9488, #14b8a6);
}

.tt6 {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
}

.tt-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.tt-em {
  font-size: 44px;
  opacity: .45;
}

.tt-txt {
  font-size: 26px;
  font-weight: 900;
  color: rgba(255, 255, 255, .22);
  letter-spacing: -2px;
  margin-top: 2px;
}

.bb {
  background: var(--blue);
  color: #fff;
}

.bg {
  background: var(--green);
  color: #fff;
}

.bo {
  background: var(--orange);
  color: #fff;
}

.bp {
  background: #7c3aed;
  color: #fff;
}

.tt-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s;
  z-index: 2;
  pointer-events: none;
}

.tpl-card:hover .tt-overlay {
  opacity: 1;
}

.tt-overlay span {
  display: inline-block;
}

.tpl-foot {
  padding: 4px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}

.tpl-meta {
  padding-right: 0;
}

.tpl-name {
  font-size: 18px;
  font-weight: 900;
}

.tpl-cat {
  font-size: 12px;
  color: var(--text-lt);
  margin-top: 2px;
}

.tpl-price {
  font-size: 18px;
  font-weight: 900;
  color: #e11d48;
  margin-top: 4px;
  letter-spacing: .2px;
}

.tpl-old-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-lt);
  margin-top: 3px;
}

.tpl-old-price,
.tpl-price {
  max-width: calc(100% - 92px);
}

.tpl-price {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tpl-use-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(226, 232, 240, .95);
  box-shadow: 0 6px 18px rgba(15, 23, 42, .10);
  font-size: 10.5px;
  font-weight: 800;
  color: #0f172a;
  z-index: 4;
  pointer-events: none;
}

.tpl-use-count .heart {
  color: #ef4444;
  font-size: 10px;
  line-height: 1;
}

.tpl-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.tpl-actions .btn {
  width: 100%;
  padding-top: 11px;
  padding-bottom: 11px;
  border-radius: 12px;
}

.tpl-actions .btn.btn-view-real {
  background: var(--blue);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(26, 86, 219, .28);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

.tpl-actions .btn.btn-view-real>span {
  position: relative;
  z-index: 2;
}

.tpl-actions .btn.btn-view-real::before {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -140%;
  width: 120%;
  background: rgba(255, 255, 255, .18);
  transform: skewX(-18deg) translateX(0);
  transition: left 1.6s ease;
  z-index: 1;
}

.tpl-actions .btn.btn-view-real:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 86, 219, .36);
}

.tpl-actions .btn.btn-view-real:hover::before {
  left: 120%;
}

.tpl-actions .btn.btn-try-demo {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  border-radius: 12px;
  border: 2px solid var(--blue);
}

.tpl-actions .btn.btn-try-demo>span {
  position: relative;
  z-index: 2;
}

.tpl-actions .btn.btn-try-demo::before {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -140%;
  width: 120%;
  background: rgba(26, 86, 219, .18);
  transform: skewX(-18deg) translateX(0);
  transition: left 1.6s ease;
  z-index: 1;
}

.tpl-actions .btn.btn-try-demo:hover::before {
  left: 120%;
}

.tpl-actions .btn.btn-try-demo:hover {
  background: transparent;
  color: var(--blue);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 86, 219, .22);
}

/* ... */
.p-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.pcard {
  border: 2px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px;
  position: relative;
  transition: box-shadow .2s;
  display: flex;
  flex-direction: column;
}

.pcard:hover {
  box-shadow: var(--shadow-md);
}

.pcard.feat {
  border-color: var(--blue);
  background: linear-gradient(160deg, #f0f5ff, #e8f0fe);
  transform: scale(1.04);
  z-index: 1;
  box-shadow: 0 16px 48px rgba(26, 86, 219, .18);
}

.p-pill {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 18px;
  border-radius: 99px;
  white-space: nowrap;
  letter-spacing: .5px;
}

.p-tier {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-lt);
  margin-bottom: 4px;
}

.p-name {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 14px;
}

.p-price {
  font-size: 30px;
  font-weight: 900;
  color: var(--blue);
  line-height: 1.1;
}

.p-price .p-from {
  font-size: 16px;
  font-weight: 800;
  color: #000;
}

.p-price sup {
  font-size: 16px;
  vertical-align: top;
  margin-top: 5px;
}

.p-price sup.p-cur {
  display: inline-block;
  margin-left: 2px;
  position: relative;
  top: -2px;
}

.p-price sub {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-lt);
  display: inline-block;
  position: relative;
  top: 6px;
}

.p-orig {
  font-size: 12px;
  color: var(--text-lt);
  text-decoration: line-through;
  margin: 6px 0 18px;
}

.p-target {
  font-size: 12.5px;
  color: var(--text-md);
  line-height: 1.55;
  margin: -6px 0 14px;
  font-style: italic;
}

.p-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 18px 0;
}

.p-feats {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 26px;
}

.pfi {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-md);
}

.pfi-ic {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

.pfi-ic.y {
  background: #dcfce7;
  color: var(--green);
}

.pfi-ic.n {
  background: #f1f5f9;
  color: #94a3b8;
}

.pfi.dim {
  color: #94a3b8;
}

.p-ctcprice {
  font-size: 32px;
  font-weight: 900;
  color: var(--orange);
  margin-bottom: 4px;
}

.pcard>.btn.btn-block {
  margin-top: auto;
}

.p-grid .btn.btn-block {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 52px;
  padding: 0 16px;
  font-size: 15px;
  border-radius: 12px;
  line-height: 1;
  border-width: 2px;
  border-style: solid;
  border-color: transparent;
}

.p-grid .btn.btn-outline.btn-block {
  border-color: var(--blue);
}

/* ─── WHY ─── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 0 26px;
}

/* Cam Ket section - layout: cards left, image right */
.cam-grid {
  direction: ltr;
}

.cam-grid>* {
  direction: ltr;
}

.cam-grid .why-acc {
  order: 1;
}

.cam-grid .cam-vis {
  order: 2;
}

@media(max-width:900px) {
  .cam-grid {
    grid-template-columns: 1fr;
  }

  .cam-grid .why-acc {
    order: 2;
  }

  .cam-grid .cam-vis {
    order: 1;
  }
}

.why-vis {
  border-radius: 22px;
  position: relative;
  background: linear-gradient(145deg, #0d1f4e, #1a3a8f, #1e4fd8);
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: none;
}

.why-vis-img {
  position: relative;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 22px;
}

.why-vis-inner {
  text-align: center;
  color: rgba(255, 255, 255, .8);
  padding: 20px;
}

.why-vis-inner .big-em {
  font-size: 80px;
}

.why-vis-inner p {
  font-size: 14px;
  opacity: .6;
  margin-top: 10px;
}

.why-scards {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.wsc {
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 12px;
  padding: 12px 14px;
}

.wsc-n {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
}

.wsc-l {
  font-size: 11px;
  color: rgba(255, 255, 255, .6);
  margin-top: 2px;
}

.why-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 18px;
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.wi-ic {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
}

.wi-ic.bl {
  background: var(--blue-light);
}

.wi-ic.or {
  background: var(--orange-lt);
}

.wi-ic.gr {
  background: #dcfce7;
}

.wi-ic.pu {
  background: #f3e8ff;
}

.wi-tx h4 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}

.wi-tx p {
  font-size: 13px;
  color: var(--text-lt);
  line-height: 1.65;
}

/* ─── ACCORDION (WHY/CAM-KET) ─── */
.why-acc {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wacc {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.wacc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.wacc-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wacc-ic svg {
  width: 22px;
  height: 22px;
  color: var(--blue);
}

.wacc-label {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.wacc-chev {
  width: 20px;
  height: 20px;
  color: var(--text-lt);
  transition: transform .2s;
  flex-shrink: 0;
}

.wacc-open .wacc-chev {
  transform: rotate(180deg);
}

.wacc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 18px;
}

.wacc-open .wacc-body {
  max-height: 300px;
  padding: 0 18px 16px;
}

.wacc-body p {
  font-size: 13px;
  color: var(--text-lt);
  line-height: 1.7;
  margin: 0;
}

/* ─── COMMIT ─── */
.commit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

#cam-ket .commit-grid {
  padding: 0 26px;
}

.commit-vis {
  border-radius: 22px;
  background: linear-gradient(145deg, #fff7ed, #fef3c7);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: 1px solid #fed7aa;
  padding: 28px;
}

.c-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.c-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .07);
  border-left: 4px solid var(--orange);
}

.c-em {
  font-size: 22px;
  flex-shrink: 0;
}

.c-tx strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
}

.c-tx span {
  font-size: 12px;
  color: var(--text-lt);
}

.commit-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.cl {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 20px;
  background: var(--gray-bg);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: .2s;
}

.cl:hover {
  border-color: var(--blue);
  background: var(--blue-pale);
}

.cl-ic {
  width: 40px;
  height: 40px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.cl h4 {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 3px;
}

.cl p {
  font-size: 13px;
  color: var(--text-lt);
}

/* ─── PROCESS ─── */
#quy-trinh {
  background: #fff !important;
  color: #0f172a;
}

#quy-trinh .sec-title {
  color: #000 !important;
}

#quy-trinh .sec-sub {
  color: #000 !important;
}

/* New process UI (proc2-*) */
#quy-trinh .proc2-head {
  margin-bottom: 26px;
}

#quy-trinh .proc2-underline {
  width: 72px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: #2563eb;
}

#quy-trinh .proc2-wrap {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 26px;
  padding-top: 34px;
}

#quy-trinh .proc2-line {
  position: absolute;
  left: 36px;
  right: 36px;
  top: 170px;
  height: 2px;
  background: rgba(37, 99, 235, .14);
}

#quy-trinh .proc2-step {
  flex: 1;
  text-align: center;
  min-width: 0;
}

#quy-trinh .proc2-no {
  font-size: 56px;
  line-height: 1;
  font-weight: 300;
  color: rgba(37, 99, 235, .12);
  margin-bottom: 14px;
  letter-spacing: 1px;
}

#quy-trinh .proc2-ic {
  width: 84px;
  height: 84px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: #fff;
  border: 3px solid #2563eb;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 32px rgba(2, 6, 23, .10);
  position: relative;
  z-index: 1;
}

#quy-trinh .proc2-ic svg {
  width: 34px;
  height: 34px;
  display: block;
  max-width: 100%;
  max-height: 100%;
}

#quy-trinh .proc2-ic img {
  width: 34px;
  height: 34px;
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

#quy-trinh .proc2-step h4 {
  font-size: 14px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 8px;
}

#quy-trinh .proc2-step p {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.7;
  max-width: 200px;
  margin: 0 auto;
}

.proc-wrap {
  display: flex;
  gap: 14px;
  position: relative;
  margin-top: 26px;
  padding-top: 12px;
}

.proc-wrap::before {
  content: '';
  position: absolute;
  top: 54px;
  left: 42px;
  right: 42px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .35), rgba(255, 255, 255, .06));
}

.proc-step {
  flex: 1;
  text-align: center;
  padding: 18px 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px);
  transition: transform .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
  position: relative;
}

.proc-step:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .22);
  box-shadow: 0 16px 42px rgba(2, 6, 23, .22);
}

.proc-num {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 2px solid rgba(255, 255, 255, .28);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 28px;
  position: relative;
  z-index: 1;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.proc-step:hover .proc-num {
  transform: scale(1.08);
  background: rgba(255, 255, 255, .20);
  border-color: rgba(255, 255, 255, .40);
}

.proc-step h4 {
  font-size: 14px;
  font-weight: 900;
  color: rgba(255, 255, 255, .98);
  margin-bottom: 6px;
  letter-spacing: .1px;
}

.proc-step p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .74);
  line-height: 1.7;
  max-width: 190px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── CONTACT ─── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 60px;
  align-items: start;
}

#lien-he .contact-wrap {
  padding: 0 26px;
}

.ci-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.ci-card {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--white);
  border-radius: 13px;
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  transition: .2s;
}

.ci-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.ci-ic {
  width: 46px;
  height: 46px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.ci-card h5 {
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 2px;
}

.ci-card span {
  font-size: 13px;
  color: var(--text-lt);
}

.cf-card {
  background: var(--white);
  border-radius: 22px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.cf-title {
  font-size: 21px;
  font-weight: 900;
  margin-bottom: 5px;
}

.cf-sub {
  font-size: 13px;
  color: var(--text-lt);
  margin-bottom: 28px;
}

.f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.fg {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}

.fg label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-md);
}

.fg input,
.fg select,
.fg textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color .2s;
}

.fg input::placeholder,
.fg textarea::placeholder {
  color: #94a3b8;
}

.fg input:focus,
.fg select:focus,
.fg textarea:focus {
  border-color: var(--blue);
}

.fg textarea {
  height: 92px;
  resize: vertical;
}

.fg select {
  cursor: pointer;
}

/* ─── FOOTER ─── */
footer {
  background: var(--blue);
  color: #e0f2fe;
  padding: 60px 60px 32px;
}

.f-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
  align-items: flex-start;
}

.f-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  justify-content: flex-start;
  gap: 12px;
  padding: 0;
}

.f-brand img.fl {
  display: block;
  margin: 0;
  height: 70px;
  width: auto;
  object-fit: contain;
}

.f-brand img.fl:first-child {
  height: 50px;
}

.f-brand p {
  margin: 0;
}

.f-brand .fl:not(img) {
  font-size: 21px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

.fl-ic {
  width: 34px;
  height: 34px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.fl .biz {
  color: var(--orange);
}

.f-brand p {
  font-size: 16px;
  line-height: 1.4;
}

.f-soc {
  display: flex;
  gap: 10px;
}

.fsoc {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, .15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: .2s;
  cursor: pointer;
  color: #fff;
}

.fsoc:hover {
  background: rgba(255, 255, 255, .25);
}

.fsoc svg {
  fill: #fff;
}

.f-col h5 {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 16px;
  margin-top: 0;
}

.f-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.f-col ul li {
  font-size: 13px;
  line-height: 1.6;
  color: #bae6fd;
}

.f-col ul li strong {
  color: #fff;
  font-weight: 600;
}

.f-col ul li a {
  font-size: 13px;
  color: #bae6fd;
  transition: color .2s;
  text-decoration: none;
}

.f-col ul li a:hover {
  color: #fff;
}

.f-bottom {
  border-top: 1px solid rgba(255, 255, 255, .2);
  padding-top: 24px;
  text-align: center;
}

.f-bottom p {
  font-size: 13px;
  color: #bae6fd;
  margin: 4px 0;
}

.f-links {
  display: flex;
  gap: 20px;
}

.f-links a {
  font-size: 13px;
  transition: color .2s;
}

.f-links a:hover {
  color: #fff;
}

/* ─── FLOAT CTA ─── */
.float-cta {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 888;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.fbtn {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 99px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
  transition: .2s;
  color: #fff;
}

.fbtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
}

.fbtn.zalo {
  background: #0068ff;
}

.fbtn.phone {
  background: #22c55e;
}

/* --- FLOATING BUTTONS FIX --- */
.float-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 888;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.fbtn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 99px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .18);
  transition: .2s;
  color: #fff;
  background: #0068ff;
  min-width: 120px;
}

.fbtn.phone {
  background: #22c55e;
}

.fbtn.zalo {
  background: #0068ff;
}

.fbtn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin-right: 8px;
  background: #fff;
  border-radius: 50%;
  padding: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.fbtn span {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .2px;
}

@media(max-width:600px) {
  .float-cta {
    bottom: 12px;
    right: 12px;
    gap: 8px;
  }

  .fbtn {
    padding: 10px 14px;
    font-size: 13px;
    min-width: 90px;
  }

  .fbtn img {
    width: 20px;
    height: 20px;
    margin-right: 6px;
  }

  .fbtn span {
    font-size: 13px;
  }
}

/* ─── RESPONSIVE ─── */

/* ── 1100px: Tablet ngang / Laptop nhỏ ── */
@media(max-width:1100px) {
  :root {
    --nav-h: 72px;
  }

  #fptBiznextLanding #navbar {
    padding: 0 24px;
  }

  #fptBiznextLanding .sec {
    padding-left: 24px;
    padding-right: 24px;
  }

  #fptBiznextLanding #hero {
    padding-top: calc(var(--nav-h) + 40px);
    padding-left: 24px;
    padding-right: 20px;
    gap: 28px;
  }

  #fptBiznextLanding .hero-left {
    padding-left: 0;
    padding-right: 16px;
  }

  #fptBiznextLanding .hero-banner-wrap {
    width: 100%;
    min-width: 0;
  }

  .tpl-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  footer {
    padding: 48px 24px 28px;
  }

  .why-grid,
  .commit-grid {
    gap: 36px;
  }

  .contact-wrap {
    gap: 36px;
  }

  .f-grid {
    gap: 28px;
  }

  #fptBiznextLanding .nav-call-icon {
    display: flex;
  }
}

/* ── 900px: Tablet đứng ── */
@media(max-width:900px) {
  :root {
    --nav-h: 64px;
  }

  /* Navbar */
  #fptBiznextLanding #navbar {
    padding: 0 16px;
    gap: 8px;
    justify-content: flex-start;
  }

  #fptBiznextLanding .nav-links {
    display: none;
  }

  #fptBiznextLanding .nav-actions {
    display: flex;
    margin-left: auto;
  }

  #fptBiznextLanding .nav-phone-icon {
    display: flex;
  }

  #fptBiznextLanding .hamburger {
    display: flex;
  }

  #fptBiznextLanding .hamburger span {
    background: #fff;
  }

  #fptBiznextLanding .nav-actions .btn-outline {
    display: none;
  }

  #fptBiznextLanding .nav-actions .btn-primary {
    font-size: 13px;
    padding: 9px 14px;
    white-space: nowrap;
  }

  /* Hero – stack 1 cột */
  #hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    padding-top: calc(var(--nav-h) + 20px);
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 0;
    min-height: auto;
    gap: 20px;
    text-align: center;
    align-items: start;
  }

  .hero-left {
    grid-row: 1;
    grid-column: 1;
    padding: 0 8px 0;
    align-self: start;
  }

  .hero-right {
    grid-row: 2;
    grid-column: 1;
    position: relative;
    margin-left: -20px;
    margin-right: -20px;
    width: auto;
    left: 0;
    justify-content: center;
    padding-top: 0;
    display: flex;
  }

  .hero-marquee {
    grid-row: 3;
    grid-column: 1;
    margin-top: 0;
    position: relative;
    margin-left: -40px;
    margin-right: -40px;
    width: auto;
    left: 0;
    transform: none;
  }

  .hero-left::before {
    display: none;
  }

  .hero-eyebrow {
    font-size: 12px;
    padding: 6px 14px;
  }

  .hero-left h1 {
    font-size: clamp(28px, 7vw, 42px);
  }

  .hero-desc {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
    gap: 12px;
  }

  .hero-banner-wrap {
    width: 100%;
    min-width: 0;
    margin: 0;
    border-radius: 0;
  }

  #hero .hero-banner {
    border-radius: 0;
  }

  /* Stats */
  #stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(2) {
    border-right: none;
  }

  .stat:nth-child(3) {
    border-top: 1px solid var(--border);
    border-bottom: none;
  }

  .stat:nth-child(4) {
    border-right: none;
    border-top: 1px solid var(--border);
  }

  /* Sections */
  .sec {
    padding: 40px 20px;
  }

  /* Templates */
  .tpl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
  }

  .tpl-grid-shell {
    padding-left: 22px;
    padding-right: 22px;
  }

  .tpl-preview.preview-ready {
    pointer-events: none;
  }

  .tpl-preview iframe {
    pointer-events: none;
  }

  .tpl-main-cat-title {
    font-size: 22px;
    margin-top: 4px;
    border-bottom: 0;
  }

  /* Pricing */
  .p-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .pcard.feat {
    transform: scale(1);
  }

  /* Why / Commit */
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-vis {
    min-height: 280px;
  }

  .commit-grid {
    grid-template-columns: 1fr;
  }

  .commit-vis {
    min-height: auto;
  }

  /* Process */
  .proc-wrap {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }

  .proc-wrap::before {
    display: none;
  }

  .proc-step {
    flex: 0 0 calc(50% - 10px);
    min-width: 0;
  }

  #quy-trinh .proc2-wrap {
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 0;
  }

  #quy-trinh .proc2-line {
    display: none;
  }

  #quy-trinh .proc2-step {
    flex: 0 0 calc(50% - 14px);
  }

  #quy-trinh .proc2-step:last-child {
    flex: 0 0 100%;
    max-width: calc(50% - 14px);
    margin-left: auto;
    margin-right: auto;
  }

  #quy-trinh .proc2-ic svg,
  #quy-trinh .proc2-ic img {
    width: 30px;
    height: 30px;
  }

  /* Contact */
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  #lien-he .contact-wrap {
    padding: 0 16px;
  }

  #lien-he .contact-wrap>div:first-child {
    text-align: center;
  }

  #lien-he .ci-cards {
    align-items: stretch;
  }

  #lien-he .ci-card:hover {
    transform: none;
  }

  #lien-he .cf-card {
    padding: 24px 18px;
    border-radius: 16px;
  }

  #lien-he .f-row {
    grid-template-columns: 1fr;
  }

  /* Fix sec-sub text overflow on mobile */
  p.sec-sub {
    white-space: normal;
  }

  /* Footer */
  .f-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .f-row {
    grid-template-columns: 1fr;
  }
}

/* ── 600px: Điện thoại lớn ── */
@media(max-width:600px) {
  :root {
    --nav-h: 60px;
  }

  /* Navbar */
  #fptBiznextLanding #navbar {
    padding: 0 14px;
    gap: 6px;
    justify-content: flex-start;
  }

  #fptBiznextLanding .nav-logo-img {
    height: 46px !important;
    max-width: 140px;
  }

  #fptBiznextLanding .nav-actions {
    margin-left: auto;
  }

  /* Sections */
  h2.sec-title {
    font-size: clamp(20px, 5vw, 26px);
  }

  .sec {
    padding: 28px 12px;
  }

  p.sec-sub {
    font-size: 14px;
    margin-bottom: 16px;
    white-space: normal;
  }

  /* Templates: 2 card/hàng, iframe hiển thị đầy đủ, 2 button dọc (theo web4s) */
  .tpl-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .tpl-grid.tpl-grouped-mode {
    max-width: 100%;
  }

  .tpl-main-cat-row {
    gap: 14px;
    padding-left: 0;
    padding-right: 0;
    scroll-behavior: auto;
    scroll-snap-type: none;
  }

  .tpl-main-cat-row .tpl-card {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
  }

  .tpl-main-cat-row-wrap {
    padding-left: 0;
    padding-right: 0;
  }

  .tpl-main-cat-prev {
    left: -38px;
  }

  .tpl-main-cat-next {
    right: -38px;
  }

  .tpl-main-cat-next,
  .tpl-main-cat-prev {
    width: 34px;
    height: 34px;
    font-size: 16px;
    border-width: 1px;
  }

  .tpl-main-cat-title {
    font-size: 19px;
    margin-bottom: 6px;
    border-bottom: 0;
  }

  .tpl-card {
    height: auto;
    border-radius: 14px;
    overflow: hidden;
  }

  .tpl-meta {
    padding-right: 0;
  }

  .tpl-old-price {
    font-size: 11px;
  }

  .tpl-price {
    font-size: 16px;
    letter-spacing: 0;
    line-height: 1.15;
  }

  .tpl-use-count {
    right: 8px;
    bottom: 8px;
    gap: 3px;
    padding: 2px 6px;
    font-size: 9.5px;
  }

  .tpl-use-count .heart {
    font-size: 9px;
  }

  /* Pricing */
  .p-grid {
    max-width: 100%;
  }

  .pcard {
    padding: 24px 20px;
  }

  /* Why */
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    padding: 0;
    gap: 24px;
  }

  .why-items {
    gap: 14px;
    margin-top: 20px;
  }

  .why-vis {
    min-height: 220px;
  }

  #vi-sao .center {
    margin-bottom: 20px !important;
  }

  #vi-sao .sec-title {
    font-size: clamp(28px, 7.2vw, 34px);
    line-height: 1.18;
    letter-spacing: -0.2px;
    margin-bottom: 10px;
  }

  #vi-sao .sec-title br {
    display: none;
  }

  #vi-sao .sec-sub {
    font-size: 15px;
    line-height: 1.55;
    max-width: 96%;
    margin-bottom: 0;
  }

  #vi-sao .why-grid {
    gap: 18px;
  }

  #vi-sao .why-vis {
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-radius: 18px;
  }

  #vi-sao .why-vis-img {
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    display: block;
  }

  /* Commit */
  .commit-grid {
    padding: 0;
    gap: 24px;
  }

  .commit-list {
    gap: 10px;
    margin-top: 20px;
  }

  /* Process */
  .proc-wrap {
    gap: 12px;
    margin-top: 28px;
  }

  /* Contact form */
  #lien-he .contact-wrap {
    padding: 0 12px;
  }

  .cf-card {
    padding: 20px 16px;
    border-radius: 14px;
    margin-top: 8px;
  }

  /* Ensure form inputs aren't hidden behind float CTA (48px button + 14px right + 8px gap = ~70px) */
  .cf-card input,
  .cf-card select,
  .cf-card textarea {
    padding-right: 14px;
  }

  /* Extra bottom space so submit button isn't behind float CTA */
  #lien-he .cf-card form {
    padding-bottom: 8px;
  }

  .cf-title {
    font-size: 17px;
  }

  .cf-sub {
    font-size: 12px;
    margin-bottom: 16px;
  }

  .fg {
    margin-bottom: 12px;
    gap: 5px;
  }

  .fg input,
  .fg select,
  .fg textarea {
    font-size: 13px;
    padding: 10px 12px;
    border-radius: 8px;
  }

  .fg textarea {
    height: 72px;
  }

  .field-error {
    font-size: 12px;
    margin-bottom: 2px;
  }

  #submitBtn {
    font-size: 13px;
    padding: 14px 12px;
    border-radius: 10px;
    white-space: normal;
    line-height: 1.4;
    text-align: center;
  }

  /* Contact info cards */
  .ci-card {
    padding: 12px 14px;
    gap: 10px;
  }

  .ci-ic {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }

  /* Footer */
  .f-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .f-brand {
    min-height: auto;
    padding: 8px 0;
  }

  .f-brand img.fl {
    height: 64px;
  }

  .f-bottom {
    flex-direction: column;
    text-align: center;
  }

  .f-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  /* Float CTA */
  .float-cta {
    bottom: 14px;
    right: 14px;
    gap: 8px;
  }

  .fbtn span {
    display: none;
  }

  .fbtn {
    padding: 0;
    width: 48px;
    height: 48px;
    justify-content: center;
    min-width: 0;
    border-radius: 50%;
  }

  .fbtn img {
    margin-right: 0;
    width: 24px;
    height: 24px;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }
}

/* ── 400px: Điện thoại nhỏ ── */
@media(max-width:400px) {
  :root {
    --nav-h: 56px;
  }

  #fptBiznextLanding #navbar {
    padding: 0 12px;
  }

  #fptBiznextLanding .nav-logo-img {
    height: 44px !important;
    max-width: 130px;
  }

  /* Move float CTA to bottom-left on very small screens to avoid form overlap */
  .float-cta {
    right: auto;
    left: 12px;
    bottom: 12px;
    flex-direction: row;
    gap: 10px;
  }

  #quy-trinh .proc2-step {
    flex: 0 0 100%;
  }

  #fptBiznextLanding .nav-actions .btn {
    padding: 8px 10px;
    font-size: 12px;
  }

  #hero {
    padding-top: calc(var(--nav-h) + 12px);
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-left h1 {
    font-size: 22px;
  }

  .hero-banner-wrap {
    width: min(360px, 90vw);
  }

  .hero-right {
    margin-left: -12px;
    margin-right: -12px;
  }

  .hero-marquee {
    margin-left: -12px;
    margin-right: -12px;
    width: auto;
    left: 0;
    transform: none;
  }

  .sec {
    padding: 32px 12px;
  }

  .proc-step {
    flex: 0 0 calc(50% - 6px);
  }

  .tpl-grid {
    padding: 0;
  }

  .tpl-grid-shell {
    padding-left: 0;
    padding-right: 0;
  }

  .tpl-main-cat-row {
    padding-left: 0;
    padding-right: 0;
    gap: 12px;
    scroll-behavior: auto;
    scroll-snap-type: none;
  }

  .tpl-main-cat-row .tpl-card {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
  }

  .tpl-main-cat-row-wrap {
    padding-left: 0;
    padding-right: 0;
  }

  .tpl-main-cat-prev {
    left: -36px;
  }

  .tpl-main-cat-next {
    right: -36px;
  }

  .tpl-meta {
    padding-right: 0;
  }

  .tpl-name {
    font-size: 16px;
  }

  .tpl-price {
    font-size: 15px;
  }

  .tpl-old-price {
    font-size: 10px;
  }

  .tpl-use-count {
    right: 6px;
    bottom: 6px;
    padding: 2px 5px;
    font-size: 8.8px;
  }

  .tpl-use-count .heart {
    font-size: 8px;
  }

  .cf-card {
    padding: 16px 12px;
  }

  .hero-eyebrow {
    font-size: 11px;
    padding: 5px 12px;
  }
}