/**
 * MỤC ĐÍCH: Trang Đối tác — đầu trang tối trang trọng (huy hiệu VBF chìm), lưới logo trên thẻ trắng, khối mời hợp tác.
 * PHỤ THUỘC: site.css (token, .vbf-shell). Nạp trong page-doi-tac.php. MỞ RỘNG: không. GỠ AN TOÀN: xoá file ⇒ trang mất định dạng.
 */
.vbf-ptn { background: #f6f5f3; }
.vbf-ptn__hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 7vw, 104px); color: #fff;
	background: radial-gradient(80% 120% at 85% 10%, rgba(224, 27, 36, .32), transparent 55%), radial-gradient(60% 90% at 0% 100%, rgba(224, 27, 36, .14), transparent 60%), #0a0a0c; }
.vbf-ptn__hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent); }
.vbf-ptn__mark { position: absolute; right: max(-60px, calc(50% - 760px)); top: 50%; z-index: -1; width: clamp(300px, 34vw, 520px); height: auto; opacity: .08; filter: grayscale(1) brightness(2); transform: translateY(-50%); pointer-events: none; }
.vbf-ptn__crumbs { display: flex; gap: 8px; font: 500 13px/1 var(--vbf-font); color: rgba(255, 255, 255, .6); }
.vbf-ptn__crumbs a { color: inherit; } .vbf-ptn__crumbs a:hover { color: #fff; }
.vbf-ptn__kicker { display: inline-flex; align-items: center; gap: 10px; margin: 28px 0 0; font: 700 12px/1 var(--vbf-font); letter-spacing: .22em; text-transform: uppercase; color: #ff5a60; }
.vbf-ptn__kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.vbf-ptn__title { margin: 18px 0 0; font: 900 clamp(34px, 4.6vw, 62px)/1.06 var(--vbf-font-head, var(--vbf-font)); letter-spacing: -.015em; text-transform: uppercase; }
.vbf-ptn__title span { color: transparent; background: linear-gradient(90deg, #fff, rgba(255, 255, 255, .62)); -webkit-background-clip: text; background-clip: text; }
.vbf-ptn__lead { max-width: 640px; margin: 22px 0 0; font: 400 clamp(15px, 1.25vw, 18px)/1.7 var(--vbf-font); color: rgba(255, 255, 255, .78); }
.vbf-ptn__count { margin: 26px 0 0; font: 500 13px/1 var(--vbf-font); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.vbf-ptn__count strong { margin-right: 6px; font: 800 28px/1 var(--vbf-font); letter-spacing: 0; color: #fff; vertical-align: -4px; }

.vbf-ptn__body { position: relative; margin-top: -40px; padding-bottom: 72px; }
.vbf-ptn__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.vbf-ptn__card { position: relative; display: flex; flex-direction: column; align-items: center; height: 100%; padding: 26px 20px 20px; box-sizing: border-box; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 10px 30px rgba(16, 24, 40, .05); color: var(--vbf-ink, #0f1729); text-align: center; transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease; }
.vbf-ptn__card::before { content: ""; position: absolute; left: 50%; top: 0; width: 36px; height: 2px; border-radius: 2px; background: #e01b24; transform: translateX(-50%) scaleX(0); transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
a.vbf-ptn__card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 18px 40px rgba(16, 24, 40, .1); }
a.vbf-ptn__card:hover::before { transform: translateX(-50%) scaleX(1); }
.vbf-ptn__logo { display: grid; place-items: center; width: 100%; height: 96px; }
.vbf-ptn__logo img { max-width: 78%; max-height: 80px; width: auto; height: auto; object-fit: contain; filter: grayscale(.15); transition: filter .35s ease; }
a.vbf-ptn__card:hover .vbf-ptn__logo img { filter: none; }
.vbf-ptn__name { display: block; margin-top: 16px; padding-top: 14px; width: 100%; border-top: 1px solid #eceef2; font: 700 14px/1.35 var(--vbf-font); }
.vbf-ptn__web { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font: 500 12.5px/1 var(--vbf-font); color: #6b7280; }
.vbf-ptn__web .vbf-ico { font-size: 12px; color: #e01b24; }

.vbf-ptn__cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 40px; padding: clamp(26px, 3vw, 40px); border-radius: 20px; color: #fff;
	background: radial-gradient(90% 140% at 100% 0%, rgba(255, 90, 96, .35), transparent 55%), linear-gradient(135deg, #5c0a0e, #9e1118 55%, #6d0b10); }
.vbf-ptn__cta .vbf-ptn__kicker { margin: 0; color: rgba(255, 255, 255, .8); }
.vbf-ptn__cta h2 { margin: 12px 0 0; font: 800 clamp(20px, 2vw, 28px)/1.25 var(--vbf-font); }
.vbf-ptn__cta p:not(.vbf-ptn__kicker) { margin: 10px 0 0; max-width: 560px; font: 400 15px/1.6 var(--vbf-font); color: rgba(255, 255, 255, .82); }
.vbf-ptn__btn { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; background: #fff; color: #b3121a; font: 700 14.5px/1 var(--vbf-font); transition: transform .25s ease, box-shadow .25s ease; }
.vbf-ptn__btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0, 0, 0, .25); }

@media (max-width: 1100px) { .vbf-ptn__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
	.vbf-ptn__hero { padding: calc(var(--vbf-head-h, 64px) + 18px) 0 64px; }
	.vbf-ptn__kicker { margin-top: 20px; font-size: 11px; letter-spacing: .18em; }
	.vbf-ptn__title { font-size: 30px; }
	.vbf-ptn__lead { font-size: 14.5px; }
	.vbf-ptn__mark { right: -90px; width: 280px; }
	.vbf-ptn__body { margin-top: -32px; padding-bottom: 48px; }
	.vbf-ptn__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.vbf-ptn__card { padding: 18px 12px 14px; border-radius: 14px; }
	.vbf-ptn__logo { height: 70px; }
	.vbf-ptn__logo img { max-height: 58px; max-width: 86%; }
	.vbf-ptn__name { margin-top: 12px; padding-top: 10px; font-size: 13px; }
	.vbf-ptn__cta { flex-direction: column; align-items: flex-start; margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) { .vbf-ptn__card, .vbf-ptn__card::before, .vbf-ptn__btn { transition: none; } }

/* CTA bản 2 (26/10/2026, chủ site: "đẹp rực rỡ lên, call to action mạnh lên") — đỏ VBF → cam lửa, quả bóng lớn xoay chậm, vệt sáng quét, nút trắng phát sáng nhịp thở */
.vbf-ptn__cta { position: relative; overflow: hidden; isolation: isolate; margin-top: 48px; padding: clamp(32px, 4.5vw, 64px); border-radius: 28px;
	background: radial-gradient(60% 120% at 0% 100%, rgba(255, 196, 0, .35), transparent 60%), radial-gradient(70% 140% at 100% 0%, rgba(255, 120, 40, .7), transparent 60%), linear-gradient(120deg, #a50d16 0%, #e01b24 45%, #f2552a 80%, #ff8a2a 100%);
	box-shadow: 0 30px 60px -24px rgba(224, 27, 36, .65); }
.vbf-ptn__cta::before { content: ""; position: absolute; z-index: -1; right: -90px; top: 50%; width: 420px; height: 420px; transform: translateY(-50%); opacity: .22;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23fff' stroke-width='.9'%3E%3Ccircle cx='12' cy='12' r='11'/%3E%3Cpath d='M1 12h22M12 1v22M4.5 4.5c4.3 4.3 4.3 10.7 0 15M19.5 4.5c-4.3 4.3-4.3 10.7 0 15'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
.vbf-ptn__cta::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
	background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%) -150% 0 / 60% 100% no-repeat; }
.vbf-ptn__cta .vbf-ptn__kicker { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); color: #fff; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.vbf-ptn__cta .vbf-ptn__kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ffd23f; box-shadow: 0 0 10px #ffd23f; }
.vbf-ptn__cta h2 { margin-top: 18px; max-width: 640px; font-size: clamp(26px, 3.2vw, 42px); line-height: 1.12; text-shadow: 0 2px 18px rgba(80, 0, 0, .35); }
.vbf-ptn__cta p:not(.vbf-ptn__kicker) { color: rgba(255, 255, 255, .95); font-size: 16px; }
.vbf-ptn__btn { position: relative; padding: 18px 30px; font-size: 16px; color: #c8141e; box-shadow: 0 0 0 0 rgba(255, 255, 255, .6), 0 14px 30px -10px rgba(60, 0, 0, .55); }
.vbf-ptn__btn .vbf-ico { transition: transform .25s ease; }
.vbf-ptn__btn:hover { background: #111; color: #fff; transform: translateY(-3px) scale(1.03); }
.vbf-ptn__btn:hover .vbf-ico { transform: translateX(5px); }
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
	.vbf-ptn__cta::after { animation: vbf-ptn-sweep 5s ease-in-out 1s infinite; }
	.vbf-ptn__cta::before { animation: vbf-ptn-spin 40s linear infinite; }
	.vbf-ptn__btn { animation: vbf-ptn-pulse 2.4s ease-out infinite; }
	@keyframes vbf-ptn-sweep { 0%, 60% { background-position: -150% 0; } 100% { background-position: 250% 0; } }
	@keyframes vbf-ptn-spin { to { transform: translateY(-50%) rotate(360deg); } }
	@keyframes vbf-ptn-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .6), 0 14px 30px -10px rgba(60, 0, 0, .55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(255, 255, 255, 0), 0 14px 30px -10px rgba(60, 0, 0, .55); } }
}
@media (max-width: 720px) { .vbf-ptn__cta::before { width: 260px; height: 260px; right: -80px; top: 30%; } .vbf-ptn__btn { width: 100%; justify-content: center; } }
.vbf-ptn__cta h2 { max-width: 760px; text-wrap: balance; }
.vbf-ptn__cta .vbf-nowrap { white-space: nowrap; }
@media (max-width: 420px) { .vbf-ptn__cta .vbf-nowrap { white-space: normal; } }
/* Đầu trang kiểu Điều khoản (28/10/2026): bỏ lề âm cũ để lưới không đè hero; chữ khối mời hợp tác vừa phải (chủ site: "không quá to"). */
.vbf-ptn__body { margin-top: 0 !important; padding-top: 36px; }
.vbf-ptn__cta h2 { font-size: clamp(20px, 2.1vw, 28px) !important; line-height: 1.25 !important; }
.vbf-ptn__cta p { font-size: 14.5px; }
.vbf-mhero--ptn .vbf-mtabs a { cursor: default; }

/* ══ ĐỐI TÁC PREMIUM (01/11/2026, khách: "design đẹp hơn, hiệu ứng more premium"): bức tường nhà tài trợ 5 cột gọn ·
   logo xám ⇒ màu thật khi rê · ánh sáng chạy theo con trỏ · thẻ nhấc + viền đỏ mảnh phát sáng · hiện dần theo thứ tự khi cuộn tới. ══ */
.vbf-ptn__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.vbf-ptn__card { overflow: hidden; isolation: isolate; padding: 20px 14px 16px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(15, 23, 41, .06);
	transition: transform .45s cubic-bezier(.22, 1, .36, 1), box-shadow .45s ease; }
.vbf-ptn__card::before { content: ""; position: absolute; inset: 0; left: 0; top: 0; width: auto; height: auto; z-index: -1; border-radius: inherit; opacity: 0; transform: none;
	background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(225, 29, 38, .10), transparent 65%); transition: opacity .35s ease; }
.vbf-ptn__logo { height: 84px; }
.vbf-ptn__logo img { max-width: 80%; max-height: 64px; filter: grayscale(1) contrast(1.05); opacity: .72; transition: filter .45s ease, opacity .45s ease, transform .6s cubic-bezier(.22, 1, .36, 1); }
.vbf-ptn__name { margin-top: 12px; font-size: 12.5px; font-weight: 700; color: #0f1729; text-align: center; }
.vbf-ptn__web { margin-top: 4px; font-size: 11px; color: #9ca3af; opacity: .0; transform: translateY(-2px); transition: opacity .35s ease, transform .35s ease, color .25s ease; }
.vbf-ptn__card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(225, 29, 38, .35), 0 22px 44px -24px rgba(225, 29, 38, .45); }
.vbf-ptn__card:hover::before { opacity: 1; transform: none; }
.vbf-ptn__card:hover .vbf-ptn__logo img { filter: none; opacity: 1; transform: scale(1.04); }
.vbf-ptn__card:hover .vbf-ptn__web { opacity: 1; transform: none; color: #e11d26; }
@media (hover: none) { .vbf-ptn__logo img { filter: none; opacity: 1; } .vbf-ptn__web { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
	.vbf-ptn__grid.is-js li { opacity: 0; transform: translateY(14px); transition: opacity .6s ease calc(var(--i) * 45ms), transform .7s cubic-bezier(.22, 1, .36, 1) calc(var(--i) * 45ms); }
	.vbf-ptn__grid.is-js.is-in li { opacity: 1; transform: none; }
}
@media (max-width: 1100px) { .vbf-ptn__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 820px) { .vbf-ptn__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .vbf-ptn__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vbf-ptn__logo { height: 64px; } .vbf-ptn__logo img { max-height: 50px; } }
/* Logo luôn MÀU THẬT (01/11/2026, khách: "đừng để black white, nhìn buồn thảm") — rê chuột: logo phóng nhẹ + ánh sáng theo con trỏ + viền đỏ */
.vbf-ptn__logo img { filter: none !important; opacity: 1 !important; }
.vbf-ptn__web { opacity: 1; transform: none; }
