/* =========================================================================
   VIETTA — Trang địa phương "Xe đạp trợ lực Bắc Ninh"
   Dùng cho templates/page.xe-dap-tro-luc-bac-ninh.bwt
   Bố cục bám ảnh mẫu trong feedback/VIETTA_DAC_TA_TRANG_BAC_NINH.docx:
   nền trắng toàn trang, tiêu đề section căn TRÁI (in hoa, không gạch chân),
   mỗi khối là 1 thẻ bo góc + bóng mờ. Một màu nhấn duy nhất: var(--primary-color).
   (01/10/2026: viết lại — bản 30/09 dùng nền xám xen kẽ, tiêu đề căn giữa, hero 2 cột nên lệch ảnh mẫu.)
   ========================================================================= */

.vietta-bn { color: var(--text-color, #282828); background: #fff; }
.vietta-bn section { margin-bottom: 0; }
.vietta-bn img { max-width: 100%; }
.vietta-bn figure { margin: 0; }

/* Ẩn khỏi mắt nhưng vẫn có cho trình đọc / công cụ tìm kiếm (dấu " - " trong H1) */
.vietta-bn-sr {
	position: absolute;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* --- Breadcrumb: gọn, nằm trên hero --- */
.vietta-bn .vietta-bn-crumb { margin: 0 !important; }
.vietta-bn .vietta-bn-crumb .breadcrumb { margin: 0; padding: 10px 0; }

/* --- Section + tiêu đề dùng chung --- */
.vietta-bn-section { padding: 0 0 44px; }
.vietta-bn-section--last { padding-bottom: 56px; }
.vietta-bn-title {
	text-transform: uppercase;
	font-weight: 800;
	font-size: 1.75rem;
	line-height: 1.25;
	letter-spacing: .2px;
	color: var(--text-color, #282828);
	text-align: left;
	margin: 0 0 18px;
}

/* --- Nút --- */
.vietta-bn-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 48px;
	padding: 0 22px;
	border-radius: 8px;
	font-weight: 700;
	font-size: .95rem;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
	border: 1px solid transparent;
	transition: background-color .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.vietta-bn-btn:hover { transform: translateY(-1px); text-decoration: none; }
.vietta-bn-btn--lg { height: 52px; padding: 0 26px; font-size: 1rem; }
.vietta-bn-btn--solid {
	background: var(--primary-color, #DC143C);
	border-color: var(--primary-color, #DC143C);
	color: #fff !important;
	box-shadow: 0 6px 16px rgba(220, 20, 60, .22);
}
.vietta-bn-btn--solid:hover { background: #b01030; border-color: #b01030; color: #fff; }
.vietta-bn-btn--outline {
	background: #fff;
	border-color: var(--primary-color, #DC143C);
	color: var(--primary-color, #DC143C) !important;
}
.vietta-bn-btn--outline:hover { background: #fef2f2; }
.vietta-bn-btn--zalo {
	background: #fff;
	border-color: var(--vp-zalo, #0068ff);
	color: var(--vp-zalo, #0068ff) !important;
}
.vietta-bn-btn--zalo:hover { background: #f0f6ff; }
.vietta-bn-btn i { font-size: 1rem; }
.vietta-bn-btn__logo { width: 24px; height: 24px; flex: 0 0 auto; display: block; border-radius: 50%; }

/* =========================================================================
   KHỐI 01 — HERO (chữ 42-45% trái, ảnh 55-58% phải, full-bleed, mờ dần sang trái)
   ========================================================================= */
.vietta-bn-hero {
	position: relative;
	overflow: hidden;
	margin-bottom: 36px;
	background: #fff;
	min-height: 440px;
	display: flex;
	align-items: center;
}
.vietta-bn-hero__media {
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: min(58%, 1040px);
}
.vietta-bn-hero__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 52%;
}
/* Lớp phủ trắng mờ dần: giữ vùng chữ bên trái sáng, ảnh lộ ra từ ~25% */
.vietta-bn-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .78) 9%, rgba(255, 255, 255, 0) 30%);
	pointer-events: none;
}
.vietta-bn-hero .container { position: relative; z-index: 1; }
.vietta-bn-hero__text { width: 46%; max-width: 640px; padding: 40px 0; }
.vietta-bn-eyebrow {
	text-transform: uppercase;
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: .2px;
	color: var(--text-color, #282828);
	margin: 0 0 10px;
}
.vietta-bn-hero__title { margin: 0 0 16px; line-height: 1.12; font-weight: 800; letter-spacing: -.2px; }
.vietta-bn-hero__title span { display: block; }
.vietta-bn-hero__title .vietta-bn-sr { display: inline; }
.vietta-bn-hero__title-main {
	text-transform: uppercase;
	font-size: clamp(1.7rem, 2.75vw, 2.6rem);
	color: var(--primary-color, #DC143C);
}
.vietta-bn-hero__title-sub {
	font-size: clamp(1.45rem, 2.3vw, 2.15rem);
	color: var(--text-color, #282828);
	margin-top: 6px;
}
.vietta-bn-hero__desc {
	font-size: 1.08rem;
	line-height: 1.65;
	color: #3b3b3b;
	margin: 0 0 24px;
	max-width: 520px;
}
.vietta-bn-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* =========================================================================
   KHỐI 02 — CỬA HÀNG: 1 thẻ = [ảnh] | [thông tin + bản đồ]
   ========================================================================= */
.vietta-bn-store {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 18px;
	padding: 14px;
	background: #fff;
	border: 1px solid var(--border-color, #f1f1f1);
	border-radius: 16px;
	box-shadow: 0 8px 28px rgba(0, 0, 0, .06);
}
.vietta-bn-store__imgs {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 12px;
	height: 300px;
}
.vietta-bn-store__img { min-width: 0; border-radius: 12px; overflow: hidden; background: #eee; }
.vietta-bn-store__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vietta-bn-store__panel {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	gap: 14px;
	min-width: 0;
}
.vietta-bn-store__info { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 4px 0 4px 6px; }
.vietta-bn-store__line {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	color: var(--text-color, #282828);
	font-size: 1rem;
	line-height: 1.5;
	margin: 0 0 16px;
}
.vietta-bn-store__line--strong { font-weight: 700; }
.vietta-bn-store__line i {
	color: var(--primary-color, #DC143C);
	width: 26px;
	flex: 0 0 26px;
	text-align: center;
	font-size: 1.55rem;
	line-height: 1.1;
	margin-top: 1px;
}
.vietta-bn-store__line a { color: inherit; text-decoration: none; }
.vietta-bn-store__line a:hover { color: var(--primary-color, #DC143C); }
.vietta-bn-store__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.vietta-bn-store__actions .vietta-bn-btn { height: 44px; padding: 0 14px; font-size: .9rem; }
.vietta-bn-store__map {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	min-height: 240px;
	background: #eceae6;
}
.vietta-bn-store__map iframe,
.vietta-bn-store__map .vietta-bn-map__facade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.vietta-bn-map__facade {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background: linear-gradient(135deg, #f4f4f4, #e7e7e7);
	color: var(--text-secondary-color, #666);
	font-size: .9rem;
	cursor: pointer;
	border: 0;
}
.vietta-bn-map__facade i { font-size: 1.8rem; color: var(--primary-color, #DC143C); }
.vietta-bn-store__local {
	margin: 20px 0 0;
	max-width: 1000px;
	color: var(--text-secondary-color, #555);
	font-size: .98rem;
	line-height: 1.75;
}

/* =========================================================================
   KHỐI 03 — TRẢI NGHIỆM: 1 dải 3 ô ngăn bằng đường kẻ dọc
   ========================================================================= */
.vietta-bn-benefits {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	background: #fff;
	border: 1px solid var(--border-color, #f1f1f1);
	border-radius: 16px;
	box-shadow: 0 6px 22px rgba(0, 0, 0, .05);
	padding: 22px 0;
}
.vietta-bn-benefit {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 6px 28px;
}
.vietta-bn-benefit + .vietta-bn-benefit { border-left: 1px solid #ececec; }
.vietta-bn-benefit__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	color: var(--primary-color, #DC143C);
}
.vietta-bn-benefit__icon svg { width: 100%; height: 100%; display: block; }
.vietta-bn-benefit__body { min-width: 0; }
.vietta-bn-benefit__title { font-size: 1.15rem; font-weight: 800; color: var(--text-color, #282828); margin: 0 0 6px; }
.vietta-bn-benefit__desc { color: var(--text-secondary-color, #666); line-height: 1.55; margin: 0; font-size: .95rem; }

/* =========================================================================
   KHỐI 04 — CÁC DÒNG XE: chỉ ảnh + tên + "Xem chi tiết"
   ========================================================================= */
.vietta-bn-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vietta-bn-product {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--border-color, #f1f1f1);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 6px 22px rgba(0, 0, 0, .05);
	color: inherit;
	text-decoration: none;
	transition: box-shadow .18s ease, transform .18s ease;
}
.vietta-bn-product:hover { box-shadow: 0 12px 30px rgba(0, 0, 0, .12); transform: translateY(-2px); text-decoration: none; color: inherit; }
.vietta-bn-product__media { display: block; aspect-ratio: 4 / 3; background: #fff; overflow: hidden; }
.vietta-bn-product__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; transition: transform .35s ease; }
.vietta-bn-product:hover .vietta-bn-product__media img { transform: scale(1.04); }
.vietta-bn-product__name {
	text-align: center;
	text-transform: uppercase;
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--text-color, #282828);
	margin: 16px 12px 4px;
}
.vietta-bn-product__more {
	display: block;
	text-align: center;
	padding: 0 12px 18px;
	font-weight: 700;
	font-size: .95rem;
	color: var(--primary-color, #DC143C);
}
.vietta-bn-product__more i { font-size: .8rem; margin-left: 4px; transition: transform .16s ease; }
.vietta-bn-product:hover .vietta-bn-product__more i { transform: translateX(3px); }
.vietta-bn-products__note {
	color: var(--text-secondary-color, #666);
	font-size: .92rem;
	margin: 16px 0 0;
}

/* =========================================================================
   KHỐI 05 — KHÁCH HÀNG ĐỊA PHƯƠNG: ảnh (trái) + khu vực / tóm tắt / link (phải)
   ========================================================================= */
.vietta-bn-customers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vietta-bn-customer {
	display: grid;
	grid-template-columns: 47% 1fr;
	gap: 14px;
	padding: 12px;
	min-height: 250px;
	background: #fff;
	border: 1px solid var(--border-color, #f1f1f1);
	border-radius: 16px;
	box-shadow: 0 6px 22px rgba(0, 0, 0, .05);
}
.vietta-bn-customer__img { border-radius: 12px; overflow: hidden; background: #eee; min-height: 0; }
.vietta-bn-customer__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.vietta-bn-customer__body { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 4px 6px 4px 0; }
.vietta-bn-customer__area {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 1.1rem;
	font-weight: 800;
	color: var(--primary-color, #DC143C);
	margin-bottom: 8px;
}
.vietta-bn-customer__text { font-size: .93rem; line-height: 1.6; margin: 0 0 12px; color: var(--text-secondary-color, #555); }
.vietta-bn-customer__link { font-size: .88rem; font-weight: 700; white-space: nowrap; color: var(--primary-color, #DC143C); text-decoration: none; }
.vietta-bn-customer__link i { font-size: .75rem; margin-left: 4px; transition: transform .16s ease; }
.vietta-bn-customer__link:hover { color: #b01030; text-decoration: none; }
.vietta-bn-customer__link:hover i { transform: translateX(3px); }

/* =========================================================================
   KHỐI 06 — FAQ (trái) + CTA cuối (phải)
   ========================================================================= */
.vietta-bn-faqcta { display: grid; grid-template-columns: 1fr 1.05fr; gap: 28px; align-items: stretch; }
.vietta-bn-faqcta__faq { min-width: 0; }
.vietta-bn-faq__item {
	background: #fff;
	border: 1px solid var(--border-color, #ececec);
	border-radius: 10px;
	margin-bottom: 10px;
	box-shadow: 0 3px 12px rgba(0, 0, 0, .03);
	overflow: hidden;
}
.vietta-bn-faq__item summary {
	list-style: none;
	cursor: pointer;
	padding: 15px 18px;
	font-weight: 500;
	font-size: .98rem;
	line-height: 1.4;
	color: var(--text-color, #282828);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.vietta-bn-faq__item summary::-webkit-details-marker { display: none; }
.vietta-bn-faq__item summary::after {
	content: "\f107";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	flex: 0 0 auto;
	color: var(--text-color, #282828);
	transition: transform .18s ease;
}
.vietta-bn-faq__item[open] summary::after { transform: rotate(180deg); }
.vietta-bn-faq__item[open] summary { color: var(--primary-color, #DC143C); font-weight: 600; }
.vietta-bn-faq__answer {
	padding: 0 18px 16px;
	color: var(--text-secondary-color, #666);
	line-height: 1.7;
	font-size: .95rem;
}
.vietta-bn-faq__answer p { margin: 0; }
.vietta-bn-faq__answer a { color: var(--primary-color, #DC143C); }

/* CTA: ảnh mặt tiền mờ dần ở nền, chữ + 3 nút ở bên trái */
.vietta-bn-cta {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	min-height: 300px;
	border-radius: 16px;
	background: #f3f3f3;
	box-shadow: 0 8px 28px rgba(0, 0, 0, .08);
}
.vietta-bn-cta__bg {
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: 54%;
	height: 100%;
	object-fit: cover;
	object-position: 66% 42%;
	opacity: .92;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 62%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 62%);
}
.vietta-bn-cta__body { position: relative; z-index: 2; padding: 30px 0 30px 34px; max-width: 68%; }
.vietta-bn-cta__title {
	text-transform: uppercase;
	font-weight: 800;
	font-size: 1.45rem;
	line-height: 1.2;
	color: var(--primary-color, #DC143C);
	margin: 0 0 10px;
}
.vietta-bn-cta__sub { color: #333; font-size: 1.05rem; line-height: 1.55; margin: 0 0 22px; max-width: 400px; }
.vietta-bn-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.vietta-bn-cta__actions .vietta-bn-btn { padding: 0 16px; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1199px) {
	.vietta-bn-store { grid-template-columns: 1fr; }
	.vietta-bn-store__imgs { height: 280px; }
	.vietta-bn-benefit { padding: 6px 18px; gap: 14px; }
	.vietta-bn-benefit__icon { width: 54px; height: 54px; }
	/* 768-1199: thẻ khách xếp dọc (ảnh trên, chữ dưới) cho đủ rộng */
	.vietta-bn-customer { grid-template-columns: 1fr; gap: 12px; min-height: 0; }
	.vietta-bn-customer__img { aspect-ratio: 4 / 3; }
	.vietta-bn-customer__body { padding: 0 6px 6px; }
}
@media (max-width: 1099px) {
	.vietta-bn-faqcta { grid-template-columns: 1fr; gap: 24px; }
	.vietta-bn-cta { min-height: 260px; }
	.vietta-bn-cta__body { max-width: 62%; }
}
@media (max-width: 991px) {
	.vietta-bn-title { font-size: 1.5rem; }
	/* Hero: chữ trên, ảnh dưới (nút Chỉ đường/Gọi phải xuất hiện sớm — đặc tả mục 3.1) */
	.vietta-bn-hero { display: flex; flex-direction: column; min-height: 0; margin-bottom: 30px; }
	.vietta-bn-hero .container { order: 1; width: 100%; }
	.vietta-bn-hero__text { width: 100%; max-width: none; padding: 10px 0 22px; }
	.vietta-bn-hero__title-main { font-size: 2.2rem; }
	.vietta-bn-hero__title-sub { font-size: 1.8rem; }
	.vietta-bn-hero__media { order: 2; position: relative; width: 100%; height: auto; aspect-ratio: 16 / 9; }
	.vietta-bn-hero__media::after { background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 16%); }
	.vietta-bn-hero__desc { max-width: 680px; }
	.vietta-bn-store__panel { grid-template-columns: 1fr 1fr; }
	/* 3 ô lợi ích xếp dọc, ngăn bằng đường kẻ ngang */
	.vietta-bn-benefits { grid-template-columns: 1fr; padding: 8px 0; }
	.vietta-bn-benefit { padding: 16px 22px; gap: 18px; }
	.vietta-bn-benefit + .vietta-bn-benefit { border-left: 0; border-top: 1px solid #ececec; }
	.vietta-bn-customers { gap: 16px; }
	.vietta-bn-cta__body { max-width: none; }
}
@media (max-width: 767px) {
	.vietta-bn-section { padding-bottom: 30px; }
	.vietta-bn-section--last { padding-bottom: 36px; }
	.vietta-bn-title { font-size: 1.25rem; margin-bottom: 14px; }
	.vietta-bn-hero__title-main { font-size: clamp(1.3rem, 6.4vw, 1.75rem); }
	.vietta-bn-hero__title-sub { font-size: clamp(1.15rem, 5.2vw, 1.45rem); margin-top: 4px; }
	.vietta-bn-eyebrow { font-size: .85rem; }
	.vietta-bn-hero__desc { font-size: 1rem; margin-bottom: 18px; }
	.vietta-bn-hero__actions { gap: 10px; }
	.vietta-bn-hero__actions .vietta-bn-btn { flex: 1 1 100%; }
	.vietta-bn-hero__media { aspect-ratio: 4 / 3; }
	.vietta-bn-store { padding: 10px; gap: 12px; }
	.vietta-bn-store__imgs { height: 190px; gap: 10px; }
	.vietta-bn-store__panel { grid-template-columns: 1fr; gap: 12px; }
	.vietta-bn-store__info { padding: 4px 4px 0; }
	.vietta-bn-store__line { margin-bottom: 12px; }
	.vietta-bn-store__actions .vietta-bn-btn { flex: 1 1 auto; }
	.vietta-bn-store__map { min-height: 230px; }
	.vietta-bn-store__local { font-size: .94rem; }
	.vietta-bn-benefit__icon { width: 48px; height: 48px; }
	.vietta-bn-benefit { padding: 14px 16px; gap: 14px; }
	/* 3 thẻ xe: ảnh bên trái, tên + link bên phải cho đỡ dài (vẫn cuộn dọc) */
	.vietta-bn-products { grid-template-columns: 1fr; gap: 12px; }
	.vietta-bn-product { display: grid; grid-template-columns: 42% 1fr; grid-template-rows: auto auto; align-items: center; }
	.vietta-bn-product__media { grid-row: 1 / 3; height: 100%; aspect-ratio: auto; min-height: 120px; }
	.vietta-bn-product__name { text-align: left; margin: 14px 14px 2px; align-self: end; font-size: 1.05rem; }
	.vietta-bn-product__more { text-align: left; padding: 0 14px 14px; align-self: start; }
	.vietta-bn-customers { grid-template-columns: 1fr; gap: 12px; }
	.vietta-bn-customer { grid-template-columns: 38% 1fr; gap: 12px; padding: 10px; }
	.vietta-bn-customer__img { aspect-ratio: auto; min-height: 170px; }
	.vietta-bn-customer__body { padding: 4px 4px 4px 0; }
	.vietta-bn-customer__link { font-size: .84rem; }
	.vietta-bn-customer__area { font-size: 1rem; }
	.vietta-bn-customer__text { font-size: .9rem; }
	.vietta-bn-cta__body { padding: 24px 20px; }
	.vietta-bn-cta__title { font-size: 1.35rem; }
	.vietta-bn-cta__sub { font-size: .98rem; margin-bottom: 18px; }
	.vietta-bn-cta__actions .vietta-bn-btn { flex: 1 1 calc(50% - 5px); }
	.vietta-bn-cta__actions .vietta-bn-btn--zalo { flex-basis: 100%; }
	/* Mobile: chữ chiếm toàn chiều rộng -> ảnh nền phủ cả thẻ nhưng rất nhạt để chữ vẫn dễ đọc */
	.vietta-bn-cta__bg { width: 100%; opacity: .16; -webkit-mask-image: none; mask-image: none; }
}