/* ==========================================================================
   KENCO – FOOTER (tiền tố kft-). Nền navy, điểm nhấn cam, cùng bảng màu website.
   ========================================================================== */
.kft, .kft *, .kft *::before, .kft *::after { box-sizing: border-box; }
.kft {
	--kft-blue: #005bac; --kft-navy: #04274a; --kft-deep: #021a33; --kft-orange: #f26522; --kft-line: rgba(255, 255, 255, .12);
	position: relative; overflow: hidden; color: #cbd5e1; font-family: 'Montserrat', 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 14px; line-height: 1.6;
	background: linear-gradient(180deg, var(--kft-navy) 0%, var(--kft-deep) 100%);
}
.kft a { color: inherit; text-decoration: none; }
.kft ul { margin: 0; padding: 0; list-style: none; }
.kft li { margin: 0; padding: 0; }
.kft p { margin: 0; }
.kft .kft-wrap { max-width: 1540px; margin: 0 auto; padding: 0 20px; }
.kft .kft-ico { flex: 0 0 auto; width: 16px; height: 16px; }
.kft::before { /* vạch gradient xanh – cam trên cùng */
	content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; z-index: 2;
	background: linear-gradient(90deg, var(--kft-blue), var(--kft-orange), var(--kft-blue)); background-size: 200% 100%; animation: kft-flow 8s linear infinite;
}
@keyframes kft-flow { to { background-position: 200% 0; } }
.kft .kft-glow { position: absolute; top: -140px; right: -120px; width: 480px; height: 480px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(242, 101, 34, .16), transparent 65%); }

/* Dải kêu gọi */
.kft .kft-cta { position: relative; border-bottom: 1px solid var(--kft-line); background: linear-gradient(135deg, rgba(0, 105, 196, .55), rgba(0, 75, 147, .35)); }
.kft .kft-cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding-top: 34px; padding-bottom: 34px; }
.kft .kft-cta-text { flex: 1 1 380px; }
.kft .kft-cta h2 { margin: 0 0 6px; font-size: 22px; font-weight: 800; line-height: 1.35; color: #fff; text-transform: none; }
.kft .kft-cta p { font-size: 14.5px; color: rgba(255, 255, 255, .82); }
.kft .kft-cta-act { display: flex; flex-wrap: wrap; gap: 12px; }
.kft .kft-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; margin: 0; padding: 0 24px; border-radius: 12px; cursor: pointer;
	font-family: inherit; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; line-height: 1;
	transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.kft .kft-btn:hover { transform: translateY(-2px); }
.kft .kft-btn-main { border: 0; color: #fff; background: linear-gradient(135deg, #ea580c, #c2410c); box-shadow: 0 12px 24px -10px rgba(234, 88, 12, .8); }
.kft .kft-btn-main:hover { background: linear-gradient(135deg, #04417b, #ea580c); color: #fff; }
.kft .kft-btn-ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); background: transparent; }
.kft .kft-btn-ghost:hover { background: #fff; color: var(--kft-navy); }

/* Thân */
.kft .kft-body { position: relative; padding: 52px 0 36px; }
.kft .kft-grid { display: grid; grid-template-columns: 1.35fr .8fr 1fr 1.25fr; gap: 40px; }
.kft .kft-col { min-width: 0; }
.kft .kft-h { position: relative; margin: 0 0 18px; padding-bottom: 12px; font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.kft .kft-h::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 2px; background: var(--kft-orange); transition: width .35s ease; }
.kft .kft-col:hover .kft-h::after { width: 60px; }
.kft .kft-h2 { margin-top: 26px; }

.kft .kft-logo { display: inline-block; margin-bottom: 14px; }
.kft .kft-logo img { display: block; width: auto; max-width: 180px; max-height: 54px; filter: brightness(0) invert(1); }
.kft .kft-logo-text { font-size: 30px; font-weight: 800; letter-spacing: .12em; color: #fff; }
.kft .kft-name { margin-bottom: 8px; font-size: 14px; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: .03em; }
.kft .kft-desc { color: #94a3b8; max-width: 380px; }
.kft .kft-meta { margin: 16px 0; display: flex; flex-direction: column; gap: 8px; }
.kft .kft-meta li { display: flex; align-items: flex-start; gap: 10px; color: #cbd5e1; }
.kft .kft-meta .kft-ico { margin-top: 3px; color: var(--kft-orange); }
.kft .kft-tag { padding: 1px 8px; border-radius: 6px; background: rgba(255, 255, 255, .1); font-size: 11px; font-weight: 800; letter-spacing: .06em; color: #fff; }
.kft .kft-social { display: flex; gap: 10px; margin-top: 4px; }
.kft .kft-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--kft-line); border-radius: 50%; color: #fff; transition: all .25s ease; }
.kft .kft-social a:hover { background: var(--kft-orange); border-color: var(--kft-orange); transform: translateY(-3px); }

.kft .kft-list { display: flex; flex-direction: column; gap: 4px; }
.kft .kft-list a { display: flex; align-items: center; gap: 6px; padding: 5px 0; color: #cbd5e1; transition: color .2s ease, transform .25s ease; }
.kft .kft-list .kft-ico { width: 12px; height: 12px; color: var(--kft-orange); transition: transform .25s ease; }
.kft .kft-list a:hover { color: #fff; transform: translateX(5px); }
.kft .kft-list a:hover .kft-ico { transform: translateX(2px); }

.kft .kft-news { display: flex; flex-direction: column; gap: 12px; }
.kft .kft-news a { display: block; padding-left: 12px; border-left: 2px solid var(--kft-line); transition: border-color .25s ease; }
.kft .kft-news a:hover { border-color: var(--kft-orange); }
.kft .kft-news span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; font-weight: 600; line-height: 1.45; color: #e2e8f0; }
.kft .kft-news a:hover span { color: #fff; }
.kft .kft-news time { display: block; margin-top: 3px; font-size: 12px; color: #64748b; }

.kft .kft-people { display: flex; flex-direction: column; gap: 12px; }
.kft .kft-people li {
	position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; padding: 12px 14px;
	background: rgba(255, 255, 255, .05); border: 1px solid var(--kft-line); border-radius: 12px; transition: background-color .25s ease, transform .25s ease, border-color .25s ease;
}
.kft .kft-people li:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .25); transform: translateY(-2px); }
.kft .kft-people strong { grid-column: 1 / -1; color: #fff; font-size: 14px; }
.kft .kft-tel { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: #fff; }
.kft .kft-tel .kft-ico { color: var(--kft-orange); }
.kft .kft-tel:hover { color: #fdba74; }
.kft .kft-zalo { padding: 4px 12px; border-radius: 8px; background: #0068ff; color: #fff; font-size: 12px; font-weight: 800; transition: background-color .2s, transform .2s; }
.kft .kft-zalo:hover { background: #0b57d0; transform: translateY(-1px); }
.kft .kft-mail { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 12.5px; color: #94a3b8; overflow-wrap: anywhere; }
.kft .kft-mail .kft-ico { width: 14px; height: 14px; }
.kft .kft-mail:hover { color: #fff; }
.kft .kft-people small { grid-column: 1 / -1; font-size: 11.5px; color: #64748b; }

/* Thanh bản quyền */
.kft .kft-bar { position: relative; border-top: 1px solid var(--kft-line); background: rgba(0, 0, 0, .22); }
.kft .kft-bar-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding-top: 18px; padding-bottom: 18px; font-size: 13px; color: #94a3b8; }
.kft .kft-bar a { font-weight: 700; color: #cbd5e1; }
.kft .kft-bar a:hover { color: var(--kft-orange); }

/* Nút lên đầu trang */
.kft .kft-top {
	position: fixed; right: 20px; bottom: 90px; z-index: 9990; display: grid; place-items: center; width: 46px; height: 46px; margin: 0; padding: 0;
	border: 0; border-radius: 50%; color: #fff; cursor: pointer; background: linear-gradient(135deg, #0069c4, #004b93); box-shadow: 0 12px 24px -8px rgba(0, 75, 147, .8);
	opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .3s, transform .3s, visibility .3s, background-color .2s;
}
.kft .kft-top.is-show { opacity: 1; visibility: visible; transform: none; }
.kft .kft-top:hover { background: var(--kft-orange); transform: translateY(-3px); }
.kft .kft-top .kft-ico { width: 20px; height: 20px; }

/* Hiện lần lượt khi cuộn tới */
.kft.kft-anim .kft-col { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.kft.kft-anim.is-in .kft-col { opacity: 1; transform: none; }
.kft.kft-anim.is-in .kft-col:nth-child(2) { transition-delay: .1s; }
.kft.kft-anim.is-in .kft-col:nth-child(3) { transition-delay: .2s; }
.kft.kft-anim.is-in .kft-col:nth-child(4) { transition-delay: .3s; }

@media (max-width: 1199px) { .kft .kft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; } }
@media (max-width: 649px) {
	.kft .kft-wrap { padding: 0 14px; }
	.kft .kft-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.kft .kft-cta h2 { font-size: 19px; }
	.kft .kft-cta-act { width: 100%; }
	.kft .kft-cta-act .kft-btn { flex: 1 1 100%; }
	.kft .kft-body { padding: 38px 0 24px; }
	.kft .kft-bar-in { flex-direction: column; align-items: flex-start; }
	.kft .kft-top { right: 14px; bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
	.kft::before { animation: none; }
	.kft .kft-btn, .kft .kft-list a, .kft .kft-social a, .kft .kft-people li, .kft .kft-top { transition: none; }
	.kft .kft-btn:hover, .kft .kft-list a:hover, .kft .kft-people li:hover { transform: none; }
}
