/* Click Media SEO — trang chủ + header/footer dùng chung (mockup cms-home/mockups/home-desktop-v1.png, khung 1440 = 1.989 x mockup) */
:root { --cms-b: #0f71f2; --cms-n: #0b1b3f; --cms-t: #475467; --cms-m: #98a2b3; --cms-bg: #f3f6fb; --cms-lb: #e8f1fe; --cms-line: #e4e7ec; --cms-h: 'Plus Jakarta Sans', 'Be Vietnam Pro', sans-serif; }
body, .entry-content, .ux-text, p, li, input, select, textarea, button, .nav > li > a { font-family: 'Be Vietnam Pro', sans-serif !important; }
h1, h2, h3, h4, .cms-h { font-family: var(--cms-h) !important; }
h1 a, h2 a, h3 a { font-family: inherit !important; }
body { color: var(--cms-t); }

/* ---------- header ---------- */
#masthead { box-shadow: 0 1px 0 #edf0f5, 0 4px 14px rgba(16, 24, 40, .04); }
#logo img { max-height: 46px !important; height: 46px !important; width: auto !important; max-width: none !important; }
#logo { margin: 0 !important; top: 0 !important; }
#header .header-main .header-nav-main { justify-content: center; }
#header .header-nav-main > li { margin: 0 15px; }
#header .header-nav-main > li > a { font-size: 16px; font-weight: 500; color: #344054; white-space: nowrap; padding: 0; line-height: 76px; position: relative; }
#header .header-nav-main > li.active > a, #header .header-nav-main > li.current-menu-item > a, #header .header-nav-main > li > a:hover { color: var(--cms-b); }
#header .header-nav-main > li.current-menu-item > a::before { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; top: auto; height: 3px; border-radius: 2px; background: var(--cms-b); opacity: 1; }
#header .header-nav-main > li > a .icon-angle-down { font-size: 14px; margin-left: 4px; opacity: .8; }
#header .header-main .header-button-1 .button { font-size: 16px; font-weight: 600; text-transform: none; letter-spacing: 0; height: 44px; line-height: 44px; min-height: 44px; padding: 0 18px; border-radius: 6px; background: var(--cms-b); border-color: var(--cms-b); margin: 0; }
#header .header-main .header-button-1 .button::after { content: '→'; margin-left: 10px; font-size: 18px; }
.header-main .nav-dropdown { border-radius: 10px; box-shadow: 0 12px 32px rgba(16, 24, 40, .12); padding: 10px 0; }
.header-main .nav-dropdown a { font-size: 15px; text-transform: none; color: #344054; }

/* ---------- chung ---------- */
.section.cms-sec, .section.cms-hero, .section.cms-footer { padding: 0 !important; }
.cms-sec .col, .cms-hero .col, .cms-footer .col { padding-bottom: 0 !important; }
.cms-sec .row, .cms-footer .row { max-width: 1300px; }
.cms-eyebrow { font-size: 15px; letter-spacing: .04em; color: var(--cms-b); font-weight: 500; margin: 0 0 12px; line-height: 1.3; }
.cms-eyebrow-w { color: #b8c2d6; font-size: 13px; }
.cms-eyebrow-b { font-weight: 700; font-size: 18px; margin: 0; }
h2.cms-h2 { font-size: 40px; line-height: 1.2; font-weight: 800; color: var(--cms-n); letter-spacing: -.01em; margin: 0; }
.cms-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.cms-head h2.cms-h2 { flex: 0 0 auto; width: fit-content; }
.cms-note { font-size: 13px; color: var(--cms-m); min-width: 0; }
.cms-ic { width: 1em; height: 1em; display: inline-block; vertical-align: -.12em; flex: none; }
a.cms-more { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--cms-b); padding-bottom: 3px; border-bottom: 1.5px solid rgba(15, 113, 242, .35); line-height: 1.3; }
a.cms-more:hover { border-color: var(--cms-b); }
img[src=""], img:not([src]) { visibility: hidden; }
.cms-noimg { display: block; background: #dde5f0; }

/* ---------- hero ---------- */
.section.cms-hero { min-height: 617px; background-color: #fff; }
/* ảnh hero là <img class="bg"> (object-fit), không phải background: giữ tỉ lệ 2400x1028 theo chiều cao 617, neo phải */
.cms-hero .section-bg img.bg { width: 1440px !important; max-width: none !important; height: 100% !important; left: auto !important; right: -170px !important; object-fit: cover; }
.cms-hero .section-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, #fff 40%, rgba(255,255,255,.8) 49%, rgba(255,255,255,0) 60%); pointer-events: none; }
.cms-hero .row.cms-hero-row { max-width: 1300px; }
.cms-hero .col { position: relative; }
.cms-hero-in { position: relative; z-index: 2; padding: 76px 0 70px 15px; max-width: 775px; }
h1.cms-h1 { font-size: 64px; line-height: 1.04; font-weight: 800; color: var(--cms-n); letter-spacing: -.02em; margin: 0 0 30px; }
h1.cms-h1 em { font-style: normal; color: var(--cms-b); }
.cms-lead { font-size: 18px; line-height: 1.6; color: var(--cms-t); margin: 0 0 30px; }
.cms-btns { display: flex; gap: 22px; margin-bottom: 58px; }
a.cms-btn { display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 26px; border-radius: 6px; background: var(--cms-b); color: #fff; font-size: 15px; font-weight: 600; border: 1.5px solid var(--cms-b); }
a.cms-btn:hover { background: #0a5fd0; color: #fff; }
a.cms-btn.cms-btn-o { background: #fff; color: var(--cms-b); border-color: rgba(15, 113, 242, .5); }
.cms-stats { display: flex; }
.cms-stat { padding: 0 38px; border-left: 1px solid #d0d5dd; }
.cms-stat:first-child { padding-left: 8px; border-left: 0; }
.cms-stat b { display: block; font-family: var(--cms-h); font-size: 34px; line-height: 1.15; font-weight: 800; color: var(--cms-b); letter-spacing: -.01em; }
.cms-stat span { display: block; font-size: 16px; color: #667085; margin-top: 4px; }
.cms-hcard { position: absolute; z-index: 2; right: -22px; top: 50px; width: 288px; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(16, 24, 40, .12); padding: 22px 22px 18px; }
.cms-hcard-t { font-family: var(--cms-h); font-size: 16px; font-weight: 700; color: var(--cms-n); margin-bottom: 10px; }
.cms-hcard .cms-chart { display: block; width: 100%; height: 96px; border-bottom: 1px solid var(--cms-line); background: repeating-linear-gradient(90deg, transparent 0 31px, #f0f3f8 31px 32px); }
.cms-hcard-n { font-size: 12px; color: var(--cms-m); margin-top: 8px; }

/* ---------- đối tác ---------- */
.section.cms-partners { background: #f2f5f9; }
.cms-partners .col { padding-top: 0; }
.cms-plist { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr; align-items: center; height: 92px; }
.section.cms-partners { min-height: 108px; }
.cms-plist > div { text-align: center; position: relative; }
.cms-plist > div + div::before { content: ''; position: absolute; left: 0; top: 50%; height: 34px; margin-top: -17px; width: 1px; background: #d0d5dd; }
.cms-pbadge b { display: block; font-family: 'Be Vietnam Pro', sans-serif; font-weight: 500; font-size: 26px; line-height: 1.1; letter-spacing: -.02em; }
.cms-pbadge span { display: block; font-size: 14px; color: #5f6672; line-height: 1.3; }
.cms-pb-g i { font-style: normal; } .cms-pb-g i:nth-child(1), .cms-pb-g i:nth-child(4) { color: #4285f4; } .cms-pb-g i:nth-child(2), .cms-pb-g i:nth-child(6) { color: #ea4335; } .cms-pb-g i:nth-child(3) { color: #fbbc05; } .cms-pb-g i:nth-child(5) { color: #34a853; }
.cms-pb-m b { color: #1c2b33; font-weight: 600; } .cms-meta { display: inline-block; width: 34px; height: 17px; margin-right: 5px; vertical-align: -1px; color: #0866ff; }
.cms-pname { font-size: 15px; font-weight: 500; letter-spacing: .03em; color: #475467; }
.cms-pnote { text-align: right; margin-top: -20px; padding-bottom: 18px; font-size: 11px; position: relative; }

/* ---------- dịch vụ ---------- */
.section.cms-svc { background: var(--cms-bg); }
.cms-svc .col { padding-top: 47px !important; }
.cms-svc .cms-eyebrow { margin-bottom: 24px; }
.cms-svc h2.cms-h2 { margin-bottom: 20px; font-size: 43px; }
.cms-svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-bottom: 43px; }
.cms-scard { background: #fff; border-radius: 12px; padding: 22px 34px 20px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); border: 1px solid #edf1f6; height: 247px; }
img.cms-sic { display: block; width: 50px; height: 50px; object-fit: contain; margin-bottom: 18px; }
.cms-scard h3 { font-size: 24px; line-height: 1.3; font-weight: 700; margin: 0 0 8px; color: var(--cms-n); }
.cms-scard h3 a { color: inherit; }
.cms-sdesc { font-size: 16px; line-height: 1.65; color: #5b6576; margin-bottom: 16px; }

/* ---------- vì sao chọn ---------- */
.section.cms-why { background: var(--cms-n) !important; }
.cms-why .col { padding-top: 48px !important; }
.cms-why .cms-eyebrow { margin-bottom: 10px; line-height: 17px; }
.cms-why h2.cms-h2 { color: #fff; margin-bottom: 21px; }
.cms-why-grid { display: grid; grid-template-columns: 289fr 348fr 342fr 291fr; padding-bottom: 38px; }
.cms-wi { padding-left: 48px; border-left: 1px solid rgba(255, 255, 255, .22); min-width: 0; }
.cms-wi:first-child { padding-left: 0; border-left: 0; }
.cms-wi b { display: block; font-family: var(--cms-h); font-size: 66px; line-height: 1; font-weight: 800; color: #1a7bff; letter-spacing: -.02em; margin-bottom: 6px; }
.cms-wi h3 { font-size: 22px; font-weight: 700; color: #fff; margin: 0 0 10px; line-height: 1.3; }
.cms-wi div { font-size: 16px; line-height: 1.65; color: #c3cbda; }

/* ---------- quy trình ---------- */
.cms-proc .col { padding-top: 45px !important; }
.cms-proc .cms-eyebrow { margin-bottom: 14px; }
.cms-proc h2.cms-h2 { margin-bottom: 29px; font-size: 42px; }
.cms-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0 -33px; position: relative; padding-bottom: 20px; }
.cms-steps::before { content: ''; position: absolute; left: 33px; right: 33px; top: 33px; height: 2px; background: #bcd6fb; }
.cms-step { text-align: center; position: relative; min-width: 0; }
.cms-step + .cms-step::before { content: ''; position: absolute; left: -6px; top: 28px; width: 9px; height: 9px; border-top: 2px solid #7fb0f7; border-right: 2px solid #7fb0f7; transform: rotate(45deg); background: #fff; }
.cms-num { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 66px; height: 66px; border-radius: 50%; background: #dceafd; box-shadow: 0 0 0 8px #fff; color: var(--cms-b); font-family: var(--cms-h); font-weight: 800; font-size: 22px; margin-bottom: 17px; }
.cms-step h3 { font-size: 20px; font-weight: 700; color: var(--cms-n); margin: 0 0 8px; line-height: 1.3; }
.cms-step div { font-size: 16px; line-height: 1.6; color: #667085; }

/* ---------- dự án ---------- */
.cms-proj .col { padding-top: 43px !important; }
.cms-proj .cms-head { margin-bottom: 14px; align-items: center; }
.cms-proj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-bottom: 42px; }
.cms-pcard { position: relative; border: 1px solid var(--cms-line); border-radius: 12px; padding: 22px 26px 22px; height: 330px; overflow: hidden; background: #fff; min-width: 0; }
.cms-tags { display: flex; gap: 12px; margin-bottom: 16px; position: relative; z-index: 1; }
.cms-tags span { font-size: 13px; color: var(--cms-b); background: var(--cms-lb); border-radius: 6px; padding: 4px 13px; line-height: 19px; }
.cms-pcard h3 { font-size: 22px; font-weight: 700; color: var(--cms-n); margin: 0 0 18px; position: relative; z-index: 1; }
.cms-kpi { position: relative; z-index: 1; }
.cms-kpi b { display: block; font-family: var(--cms-h); font-size: 50px; line-height: 1; font-weight: 800; color: var(--cms-b); letter-spacing: -.02em; margin-bottom: 8px; }
.cms-kpi span { font-size: 17px; color: #667085; }
.cms-pcard .cms-chart { position: absolute; left: 26px; right: 26px; bottom: 64px; width: calc(100% - 52px); height: 120px; }
.cms-pcard a.cms-more { position: absolute; left: 26px; bottom: 26px; }

/* ---------- khách hàng ---------- */
.section.cms-testi { background: var(--cms-bg); }
.section.cms-testi .col { padding-top: 29px !important; padding-bottom: 13px !important; }
.cms-testi .cms-head { margin-bottom: 14px; align-items: center; }
.cms-testi h2.cms-h2 { font-size: 36px; }
.cms-tslider { margin: 0 -10px; padding-bottom: 50px; }
.cms-tslider .slider > .cms-tcard, .cms-tslider .flickity-slider > .cms-tcard { width: 33.333% !important; }
.cms-tslider .flickity-viewport { overflow: hidden; }
.cms-tcard { width: 33.333%; padding: 0 !important; }
.cms-tin { margin: 0 10px; display: flex; background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(16, 24, 40, .05); min-height: 197px; }
.cms-av { flex: 0 0 111px; height: 111px; margin: 24px 0 0 18px; border-radius: 50%; overflow: hidden; background: #dde5f0; }
.cms-av img, .cms-av .cms-noimg { width: 111px; height: 111px; object-fit: cover; display: block; border-radius: 50%; }
.cms-tq { padding: 20px 24px 22px 26px; min-width: 0; display: flex; flex-direction: column; flex: 1; }
svg.cms-qic { width: 26px; height: 26px; color: var(--cms-b); margin-bottom: 6px; }
.cms-tt { font-size: 16px; line-height: 1.65; color: #475467; flex: 1; }
.cms-tw { font-size: 14px; color: #667085; margin-top: 8px; }
.cms-tslider .flickity-prev-next-button { width: 44px; height: 44px; background: #fff !important; border-radius: 50%; box-shadow: 0 2px 8px rgba(16, 24, 40, .14); opacity: 1 !important; color: var(--cms-b) !important; top: calc(50% - 25px); border: 0 !important; }
.cms-tslider .flickity-prev-next-button svg { padding: 12px; border: 0 !important; }
.cms-tslider .flickity-prev-next-button.previous { left: -45px !important; } .cms-tslider .flickity-prev-next-button.next { right: -45px !important; }
.cms-tslider .flickity-page-dots { bottom: -36px; }
.cms-tslider .flickity-page-dots .dot { width: 9px; height: 9px; background: #b9d3fb; border: 0; opacity: 1; margin: 0 6px; }
.cms-tslider .flickity-page-dots .dot.is-selected { background: var(--cms-b); }

/* ---------- báo chí ---------- */
.cms-press .col { padding-top: 39px !important; }
.cms-press h2.cms-h2 { font-size: 32px; }
.cms-press .cms-head { align-items: center; }
.cms-press-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); height: 86px; align-items: center; margin-top: 3px; padding-bottom: 6px; }
.section.cms-press { min-height: 175px; }
.cms-pr { text-align: center; color: #3b4556; font-size: 27px; line-height: 1; position: relative; white-space: nowrap; }
.cms-pr + .cms-pr::before { content: ''; position: absolute; left: 0; top: 50%; margin-top: -20px; height: 40px; width: 1px; background: #d0d5dd; }
.cms-pr-1 { font-family: 'Noto Serif', Georgia, serif; font-weight: 700; letter-spacing: .02em; font-size: 25px; }
.cms-pr-2 { font-family: 'Noto Serif', Georgia, serif; font-weight: 600; letter-spacing: .01em; color: #4a5568; font-size: 22px; }
.cms-pr-3 { font-family: var(--cms-h); font-weight: 800; font-size: 26px; }
.cms-pr-4 { font-family: var(--cms-h); font-weight: 700; letter-spacing: .01em; font-size: 24px; }

/* ---------- kiến thức ---------- */
.section.cms-blog { background: var(--cms-bg); }
.cms-blog .col { padding-top: 33px !important; }
.cms-blog h2.cms-h2 { font-size: 32px; }
.cms-blog .cms-head { margin-bottom: 21px; align-items: center; }
.cms-all { font-size: 15px !important; }
.cms-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-bottom: 38px; }
.cms-bcard { background: #fff; border-radius: 12px; overflow: hidden; min-width: 0; box-shadow: 0 1px 3px rgba(16, 24, 40, .05); }
a.cms-bimg { display: block; height: 152px; background: #dde5f0; }
a.cms-bimg img { width: 100%; height: 152px; object-fit: cover; display: block; }
.cms-bbody { padding: 10px 26px 22px; }
.cms-pill { display: inline-block; font-size: 13px; font-weight: 500; color: var(--cms-b); background: #dbeafe; border-radius: 6px; padding: 2px 10px; line-height: 20px; margin-bottom: 8px; }
.cms-bcard h3 { font-size: 20px; line-height: 1.35; font-weight: 700; margin: 0 0 9px; min-height: 54px; }
.cms-bcard h3 a { color: var(--cms-n); }
.cms-bex { font-size: 16px; line-height: 1.44; color: #667085; margin-bottom: 15px; min-height: 69px; }

/* ---------- tư vấn ---------- */
.section.cms-cta { background: #e7f0fd; }
.cms-cta .col { padding-top: 26px !important; }
.cms-cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) 622px; gap: 40px; padding-bottom: 21px; }
.cms-cta-l { padding-top: 9px; }
.cms-cta-l h2.cms-h2 { font-size: 40px; line-height: 1.2; margin-bottom: 5px; }
.cms-cta-sub { font-size: 20px; line-height: 30px; color: #5b6576; margin-bottom: 24px; }
ul.cms-checks { list-style: none; margin: 0 0 22px; padding: 0; }
ul.cms-checks li { display: flex; align-items: center; gap: 14px; font-size: 17px; color: #475467; margin: 0 0 11px; line-height: 26px; }
ul.cms-checks li .cms-ic { width: 26px; height: 26px; border-radius: 50%; background: var(--cms-b); color: #fff; padding: 5px; stroke-width: 3; }
.cms-cta-contact { display: flex; gap: 40px; flex-wrap: wrap; }
.cms-cta-contact a { display: inline-flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 600; color: var(--cms-b); }
.cms-cta-contact img { width: 38px; height: 38px; object-fit: contain; }
.cms-cta-form { background: #fff; border-radius: 12px; padding: 18px 31px 20px; box-shadow: 0 2px 10px rgba(16, 24, 40, .05); }
.cms-cta-form .wpcf7-form div > p:has(> label ~ label) { display: contents; }
.cms-f2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 29px; }
.cms-f2 > p { display: contents; }
.cms-cta-form label { display: block; font-size: 15px; line-height: 18px; font-weight: 500; color: #344054; margin: 0 0 19px; }
.cms-cta-form label.cms-f1 { margin-bottom: 6px; }
.cms-cta-form label i { font-style: normal; color: #ef4444; }
.cms-cta-form .wpcf7-form-control-wrap { display: block; margin-top: 4px; }
.cms-cta-form .cms-facc .wpcf7-form-control-wrap { margin: 0; }
.cms-cta-form .cms-facc label { font-size: 11.5px; font-weight: 400; line-height: 16px; color: #667085; margin: 0; }
.cms-cta-form input[type=text], .cms-cta-form input[type=tel], .cms-cta-form input[type=email], .cms-cta-form select { height: 40px; border: 1px solid #d0d5dd; border-radius: 6px; box-shadow: none; font-size: 15px; padding: 0 14px; margin: 0; color: #344054; background-color: #fff; }
.cms-cta-form textarea { height: 58px; min-height: 58px; border: 1px solid #d0d5dd; border-radius: 6px; box-shadow: none; font-size: 15px; padding: 8px 14px; margin: 0; resize: vertical; }
.cms-cta-form ::placeholder { color: #a0a8b6; }
.cms-cta-form .wpcf7-submit, .cms-cta-form input.cms-fbtn { width: 100%; height: 42px; margin: 0 0 10px; border-radius: 6px; background: var(--cms-b); color: #fff; font-size: 16px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.cms-cta-form form, .cms-cta-form .wpcf7, .cms-nl form { margin: 0 !important; }
.cms-facc .wpcf7-list-item { display: block; }
.cms-facc { font-size: 11.5px; color: #667085; line-height: 1.4; white-space: nowrap; }
.cms-facc .wpcf7-list-item { margin: 0; } .cms-facc input { margin: 0 8px 0 0; vertical-align: -2px; }
.cms-cta-form form { position: relative; }
.cms-cta-form .wpcf7-spinner { position: absolute; left: 50%; margin: 0 0 0 -12px; }
.cms-cta-form .wpcf7-response-output { margin: 8px 0 0 !important; font-size: 13px; }

/* ---------- footer ---------- */
.section.cms-footer { background: var(--cms-n) !important; }
.cms-footer .col { padding-top: 19px !important; }
.cms-ft-grid { display: grid; grid-template-columns: 353px 212px 431px minmax(0, 1fr); }
.cms-ft-col { min-width: 0; padding: 0 30px 0 46px; border-left: 1px solid rgba(255, 255, 255, .16); }
.cms-ft-col:first-child { padding-left: 0; border-left: 0; }
.cms-ft-col.cms-ft-nl { padding-right: 0; }
.cms-ft-col.cms-ft-svc { padding-right: 8px; }
a.cms-ft-logo { display: block; margin-bottom: 8px; }
a.cms-ft-logo img { height: 38px; width: auto; filter: brightness(0) invert(1); }
.cms-ft-desc { font-size: 14px; line-height: 1.5; color: #c5cdda; margin-bottom: 14px; }
.cms-ft-social { display: flex; gap: 12px; }
.cms-ft-social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #e4e9f2; display: inline-flex; align-items: center; justify-content: center; }
.cms-ft-social .cms-ic { width: 17px; height: 17px; }
.cms-ft-h { font-family: var(--cms-h); font-size: 15px; line-height: 20px; font-weight: 700; color: #fff; margin: 0 0 6px; }
.cms-footer ul { list-style: none; margin: 0; padding: 0; }
.cms-footer li { margin: 0 !important; font-size: 14px; line-height: 20px; color: #c5cdda; }
.cms-footer li a { color: #c5cdda; }
.cms-footer li a:hover { color: #fff; }
.cms-ft-ct li { display: flex; gap: 12px; margin-bottom: 2px; }
.cms-ft-ct li .cms-ic { width: 15px; height: 15px; margin-top: 3.5px; color: #c5cdda; }
.cms-ft-sub { font-size: 13px; color: #c5cdda; margin-bottom: 12px; }
.cms-nlrow { display: flex; }
.cms-nlrow > p { display: contents; }
.cms-nlrow .wpcf7-form-control-wrap { flex: 1; min-width: 0; }
.cms-nlrow input[type=email] { height: 44px; margin: 0; border: 0; border-radius: 6px 0 0 6px; font-size: 14px; padding: 0 14px; box-shadow: none; }
.cms-nlrow input.cms-nlbtn, .cms-nlrow .wpcf7-submit { width: 42px; height: 44px; margin: 0; padding: 0; border-radius: 0 6px 6px 0; background: var(--cms-b); color: #fff; font-size: 24px; line-height: 44px; min-height: 44px; }
.cms-nl form { position: relative; }
.cms-nl .wpcf7-spinner { position: absolute; right: 50px; top: 10px; margin: 0; }
.cms-nl .wpcf7-response-output { color: #c5cdda; font-size: 12px; margin: 6px 0 0 !important; }
.cms-ft-bot { display: flex; justify-content: space-between; font-size: 13px; color: #aab4c5; padding: 10px 0 12px; }
.cms-ft-bot a { color: #c5cdda; }
.absolute-footer { display: none !important; } /* bản quyền nằm trong khối footer mới */

/* ruler:manual — 10-01: ruler đo NHO tiêu đề x1.13-1.47 nhưng bề rộng dòng (_textw) đã khớp mockup 0.95-1.09 -> không áp ruler_fix cho tiêu đề (SKILL 6f), chỉ nhích h3 lệch bề rộng > 5%; icon dịch vụ cả nhóm 50 -> 56px (megaphone/browser NHO) */
.cms-scard img.cms-sic { width: 56px; height: 56px; margin-bottom: 14px; }
.cms-wi h3 { font-size: 23px; }
.cms-step h3 { font-size: 21px; }
/* ruler:manual END */

/* trang cũ chưa dựng lại: khối form dự án cũ kéo âm -216px xuống đè footer cũ -> đè footer mới */
.row.cms-row-form-project { margin-bottom: 40px !important; }

/* ---------- giữa (850-1299) ---------- */
@media (min-width: 850px) and (max-width: 1299px) {
  .cms-hcard { right: 24px; width: 250px; }
  h1.cms-h1 { font-size: 50px; }
  .cms-scard { padding: 22px 26px 26px; }
  .cms-cta-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); }
  .cms-ft-grid { grid-template-columns: 1.2fr .8fr 1.4fr 1.1fr; }
  .cms-ft-col { padding: 0 20px 0 24px; }
  .cms-pr { font-size: 21px; }
}
@media (min-width: 850px) and (max-width: 1099px) {
  .cms-hero-in { max-width: 560px; }
  h1.cms-h1 { font-size: 46px; }
  .cms-hcard { display: none; }
  .cms-stat { padding: 0 22px; }
  .cms-hero .section-bg img.bg { right: -260px !important; }
  .cms-svc-grid, .cms-proj-grid, .cms-blog-grid { gap: 16px; }
  .cms-why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cms-wi { padding-left: 22px; } .cms-wi b { font-size: 52px; }
  .cms-cta-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 28px; }
  .cms-tcard { width: 50%; }
  .cms-plist { grid-template-columns: repeat(3, minmax(0, 1fr)); height: auto; padding: 16px 0; row-gap: 14px; }
  .cms-pnote { margin-top: 0; }
  .cms-plist > div:nth-child(3n+1)::before { display: none; }
  #header .header-nav-main > li { margin: 0 9px; }
  #header .header-nav-main > li > a { font-size: 15px; }
}

/* ---------- mobile ---------- */
@media (max-width: 849px) {
  #logo img { max-height: 36px !important; height: 36px !important; }
  #header .header-main .header-button-1 .button { height: 36px; line-height: 36px; min-height: 36px; padding: 0 12px; font-size: 14px; }
  #header .header-main .header-button-1 .button::after { display: none; }
  .mobile-nav .icon-menu, .header-main .mobile-nav i { color: var(--cms-n) !important; font-size: 24px; }
  .cms-sec h2.cms-h2 { font-size: 28px !important; line-height: 1.22; }
  .cms-press h2.cms-h2, .cms-blog h2.cms-h2 { font-size: 26px !important; }
  .cms-hero-in, .cms-hcard { padding-left: 16px !important; padding-right: 16px !important; }
  #header .header-main .header-button-1 .button { white-space: nowrap; }
  .cms-scard { height: auto; }
  .cms-tslider .slider > .cms-tcard, .cms-tslider .flickity-slider > .cms-tcard { width: 88% !important; }
  .cms-pcard .cms-chart { height: 80px; bottom: 60px; }
  .cms-head { flex-direction: column; align-items: flex-start !important; gap: 6px; }
  .cms-head h2.cms-h2 { width: auto; flex: none; }
  .cms-hero-in { padding: 26px 0 34px; max-width: none; }
  h1.cms-h1 { font-size: 32px; margin-bottom: 16px; }
  .cms-lead { font-size: 16px; margin-bottom: 22px; }
  .cms-btns { flex-direction: column; gap: 12px; margin-bottom: 30px; }
  a.cms-btn { justify-content: center; height: 50px; }
  .cms-stats { justify-content: space-between; }
  .cms-stat { padding: 0 10px; flex: 1 1 0; min-width: 0; } .cms-stat b { font-size: 26px; white-space: nowrap; } .cms-stat span { font-size: 13px; }
  .cms-hcard { display: none; }
  .cms-plist { grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto; padding: 18px 0 8px; row-gap: 16px; }
  .cms-plist > div + div::before { display: none; }
  .cms-pbadge b { font-size: 22px; }
  .cms-pnote { margin-top: 4px; padding-bottom: 12px; text-align: center; }
  .cms-svc .col, .cms-why .col, .cms-proc .col, .cms-proj .col { padding-top: 40px !important; }
  .cms-svc-grid, .cms-proj-grid, .cms-blog-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-bottom: 34px; }
  .cms-scard { min-height: 0; padding: 22px 22px 24px; }
  .cms-scard h3 { font-size: 21px; }
  .cms-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 0; padding-bottom: 40px; }
  .cms-wi { padding: 0 0 0 18px !important; border-left: 1px solid rgba(255,255,255,.22) !important; }
  .cms-wi:nth-child(odd) { padding-left: 0 !important; border-left: 0 !important; padding-right: 10px !important; }
  .cms-wi b { font-size: 44px; margin-bottom: 8px; } .cms-wi h3 { font-size: 18px; } .cms-wi div { font-size: 14px; }
  .cms-wi div br, .cms-step div br, .cms-sdesc br, .cms-lead br { display: none; }
  .cms-steps { grid-template-columns: minmax(0, 1fr); margin: 0; gap: 18px; padding-bottom: 6px; }
  .cms-steps::before { left: 33px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; }
  .cms-step { text-align: left; display: grid; grid-template-columns: 66px minmax(0, 1fr); column-gap: 18px; }
  .cms-step + .cms-step::before { display: none; }
  .cms-step .cms-num { grid-row: span 2; margin: 0; width: 60px; height: 60px; font-size: 20px; }
  .cms-step h3 { font-size: 18px; margin: 6px 0 2px; }
  .cms-step div { font-size: 15px; }
  .cms-pcard { height: 300px; }
  .cms-tslider { margin: 0; }
  .cms-tcard { width: 88%; }
  .cms-tin { margin: 0 6px; }
  .cms-av { flex-basis: 64px; height: 64px; margin: 20px 0 0 18px; }
  .cms-av img, .cms-av .cms-noimg { width: 64px; height: 64px; }
  .cms-tq { padding: 18px 18px 20px 16px; min-height: 0; }
  .cms-tslider .flickity-prev-next-button { display: none; }
  .cms-press-row { grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto; row-gap: 22px; padding: 22px 0 34px; }
  .cms-pr, .cms-pr-1, .cms-pr-2, .cms-pr-3, .cms-pr-4 { font-size: 17px; white-space: normal; }
  .cms-pr + .cms-pr::before { display: none; }
  .cms-bcard h3, .cms-bex { min-height: 0; }
  .cms-cta-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-bottom: 34px; }
  .cms-cta-l { padding-top: 16px; }
  .cms-cta-sub { font-size: 17px; }
  .cms-cta-contact { gap: 14px; flex-direction: column; }
  .cms-cta-contact a { font-size: 19px; }
  .cms-cta-form { padding: 18px 18px 18px; }
  .cms-f2 { grid-template-columns: minmax(0, 1fr); }
  .cms-facc { white-space: normal; }
  .cms-ft-grid { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .cms-ft-col { padding: 0 !important; border-left: 0; }
  .cms-ft-bot { flex-direction: column; gap: 6px; }
}
/* mob-hero */
@media (max-width: 849px) {
  .section.cms-hero { padding-top: 260px !important; min-height: 0; background-color: #fff !important; }
  .cms-hero .section-bg { top: 0; bottom: auto; height: 260px; background-size: auto 280px !important; background-position: 100% 0 !important; }
  .cms-hero .section-bg::after { display: none; }
  .cms-hero .section-bg img.bg { width: 607px !important; right: -24px !important; }
}
/* /mob-hero */

/* mid-fix */
@media (min-width: 850px) and (max-width: 1365px) {
  .cms-steps { margin: 0; }
  .cms-steps::before { left: 10%; right: 10%; }
}
@media (max-width: 1399px) {
  .cms-facc { white-space: normal; }
  .cms-tslider .flickity-prev-next-button.previous { left: 2px !important; right: auto !important; }
  .cms-tslider .flickity-prev-next-button.next { right: 2px !important; left: auto !important; }
}
/* /mid-fix */
/* _midwidth: header Flatsome ở 850-1399px (laptop nhỏ/tablet ngang) — menu dựng theo mockup 1440 tràn phải; dùng chung mọi site */
@media (min-width: 850px) and (max-width: 1399px) {
  #header .header-nav-main > li, #header .header-bottom-nav > li { margin-left: 6px !important; margin-right: 6px !important; }
  #header .header-nav-main > li > a, #header .header-bottom-nav > li > a { font-size: 14px !important; }
  #header .header-search-form { max-width: 300px !important; width: 300px !important; margin-left: 20px !important; }
}
@media (min-width: 850px) and (max-width: 1199px) {
  #logo { width: auto !important; max-width: 210px !important; } #logo a { font-size: 21px !important; }
  #header .header-main .flex-right .header-button-1, #header .header-main .flex-right li.html, #header .header-search-form, #top-bar .flex-right { display: none !important; }
  #header .header-nav-main > li, #header .header-bottom-nav > li { margin-left: 3px !important; margin-right: 3px !important; }
  #header .header-nav-main > li > a, #header .header-bottom-nav > li > a { font-size: 13px !important; }
  #header .flex-col { min-width: 0; } #header .header-inner, #header .header-bottom .container { overflow: hidden; }
}
.col-inner a[href^="mailto"], .col-inner a[href^="tel"] { overflow-wrap: anywhere; }
