/* ==========================================================================
   Page Specific Styles: /vi-sao-chon-chung-toi/ & /en/why-choose-us/
   AudioX v4 B2B Engineering Design System (Royal Indigo #21328a)
   ========================================================================== */

.sde-page-why {
	color: var(--sde-color-ink, #0f172a);
}

/* 1. HERO SECTION & BREADCRUMB */
.sde-page-why__hero {
	padding-top: 20px !important;
	padding-bottom: 64px !important;
	background: radial-gradient(circle at 85% 15%, rgba(33, 50, 138, 0.06) 0%, rgba(248, 250, 252, 0) 55%), #ffffff;
	border-bottom: 1px solid #e2e8f0;
}

.sde-page-why__hero .sde-breadcrumb {
	padding: 0 0 16px;
}

.sde-page-why__hero .sde-hero-x__grid {
	padding-top: 8px;
}

.sde-page-why .sde-hero-x__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
	gap: clamp(32px, 4.5vw, 56px);
	align-items: center;
}

.sde-page-why .sde-hero-x__copy {
	max-width: 100%;
}

.sde-why-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #eef1ff;
	border: 1px solid rgba(33, 50, 138, 0.2);
	color: #21328a;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	margin-bottom: 16px;
}

.sde-why-hero__badge-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #21328a;
	box-shadow: 0 0 0 3px rgba(33, 50, 138, 0.22);
	flex-shrink: 0;
}

.sde-page-why .sde-hero-x h1 {
	max-width: 22ch;
	font-size: clamp(2rem, 3.4vw, 2.85rem);
	line-height: 1.16;
	letter-spacing: -0.03em;
	margin: 0 0 16px;
	color: #0f172a;
	font-weight: 800;
}

.sde-page-why .sde-hero-x__sub {
	max-width: 58ch;
	font-size: clamp(1.04rem, 1.35vw, 1.18rem);
	line-height: 1.55;
	color: #1e293b;
	font-weight: 600;
	margin: 0 0 14px;
}

.sde-page-why .sde-hero-x__lede {
	max-width: 62ch;
	font-size: 0.96rem;
	line-height: 1.65;
	color: #475569;
	margin: 0 0 16px;
}

.sde-why-hero__points {
	list-style: none;
	margin: 0 0 26px;
	padding: 16px 20px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-left: 4px solid #21328a;
	border-radius: 14px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.sde-why-hero__points li {
	position: relative;
	padding-left: 24px;
	font-size: 0.92rem;
	line-height: 1.55;
	color: #334155;
}

.sde-why-hero__points li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	color: #21328a;
	font-weight: 800;
}

.sde-why-hero__points li strong {
	color: #0f172a;
	font-weight: 700;
}

.sde-why-hero__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid #e2e8f0;
}

.sde-why-hero__stat-item {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 14px 16px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.sde-why-hero__stat-val {
	font-size: 1.2rem;
	font-weight: 800;
	color: #21328a;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.sde-why-hero__stat-lbl {
	font-size: 0.81rem;
	color: #475569;
	line-height: 1.45;
}

/* Hero Visual & Shared Photo Frame */
.sde-page-why__photo {
	margin: 0;
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid #e2e8f0;
	background: #0f172a;
	box-shadow: 0 18px 40px -14px rgba(15, 23, 42, 0.14);
	position: relative;
}

.sde-page-why__photo .sde-img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 11;
	object-fit: cover;
}

.sde-page-why__hero-photo .sde-img {
	aspect-ratio: 4 / 3;
}

.sde-why-hero__photo-caption {
	padding: 16px 20px;
	background: #0f172a;
	color: #cbd5e1;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sde-why-hero__photo-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #8da2ff;
	margin-bottom: 6px;
}

.sde-why-hero__photo-badge::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #22c55e;
}

.sde-why-hero__photo-caption p {
	margin: 0;
	font-size: 0.85rem;
	line-height: 1.5;
	color: #e2e8f0;
}

/* 2. THREE CORE PILLARS */
.sde-why-pillars {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: 28px;
}

.sde-why-pillar {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-top: 4px solid #21328a;
	border-radius: 18px;
	padding: 28px 26px;
	display: flex;
	flex-direction: column;
	position: relative;
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
	box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.05);
}

.sde-why-pillar:hover {
	border-color: #21328a;
	transform: translateY(-4px);
	box-shadow: 0 16px 32px -10px rgba(33, 50, 138, 0.15);
}

.sde-why-pillar__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
}

.sde-why-pillar__icon {
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: #eef1ff;
	color: #21328a;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.sde-why-pillar__tag {
	display: inline-flex;
	align-items: center;
	padding: 5px 12px;
	border-radius: 999px;
	background: #f1f5f9;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #21328a;
}

.sde-why-pillar__title {
	font-size: 1.2rem;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 12px 0;
	line-height: 1.35;
}

.sde-why-pillar__body {
	font-size: 0.94rem;
	line-height: 1.65;
	color: #475569;
	margin-bottom: 18px;
	flex-grow: 1;
}

.sde-why-pillar__list {
	list-style: none;
	padding: 16px 0 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 0.89rem;
	color: #1e293b;
	border-top: 1px dashed #cbd5e1;
	font-weight: 500;
}

.sde-why-pillar__list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	line-height: 1.45;
}

.sde-why-pillar__list li::before {
	content: "✓";
	color: #21328a;
	font-weight: 800;
	flex-shrink: 0;
}

/* 3. COMPARISON MATRIX */
.sde-page-why .sde-table-wrap {
	border-radius: 16px;
	border: 1px solid #cbd5e1;
	box-shadow: 0 8px 24px -8px rgba(15, 23, 42, 0.06);
	background: #ffffff;
}

.sde-why-matrix-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 860px;
	background: #ffffff;
}

.sde-why-matrix-table th,
.sde-why-matrix-table td {
	padding: 16px 18px;
	font-size: 0.92rem;
	line-height: 1.55;
	border-bottom: 1px solid #e2e8f0;
	vertical-align: top;
}

.sde-why-matrix-table tbody tr:last-child th,
.sde-why-matrix-table tbody tr:last-child td {
	border-bottom: none;
}

.sde-why-matrix-table thead th {
	background: #f8fafc;
	font-weight: 700;
	color: #0f172a;
	text-align: left;
	border-bottom: 2px solid #cbd5e1;
	font-size: 0.9rem;
}

.sde-why-matrix-table tbody th[scope="row"] {
	background: #fcfcfd;
	color: #0f172a;
	font-weight: 700;
	border-right: 1px solid #e2e8f0;
}

.sde-why-matrix-table th.sde-why-matrix__target-head {
	background: #21328a;
	color: #ffffff;
	border-bottom: 2px solid #182675;
	font-weight: 700;
}

.sde-why-matrix-table td.sde-why-matrix__target-cell {
	background: #f4f6ff;
	font-weight: 500;
	color: #1e293b;
	border-left: 2px solid rgba(33, 50, 138, 0.2);
}

.sde-why-matrix-table td.sde-why-matrix__target-cell strong {
	color: #21328a;
	font-weight: 700;
}

/* 4. ICP GRID (2x2 Balanced Layout on Desktop) */
.sde-why-icp-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin-top: 28px;
}

.sde-why-icp-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 18px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	box-shadow: 0 4px 14px -4px rgba(15, 23, 42, 0.04);
}

.sde-why-icp-card.is-p1 {
	border-top: 4px solid #21328a;
}

.sde-why-icp-card:hover {
	border-color: #21328a;
	transform: translateY(-3px);
	box-shadow: 0 14px 28px -8px rgba(33, 50, 138, 0.12);
}

.sde-why-icp-badge {
	display: inline-flex;
	align-items: center;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 0.76rem;
	font-weight: 700;
	background: #f1f5f9;
	color: #334155;
	margin-bottom: 14px;
	align-self: flex-start;
	letter-spacing: 0.02em;
}

.sde-why-icp-card.is-p1 .sde-why-icp-badge {
	background: #eef1ff;
	color: #21328a;
}

.sde-why-icp-card h3 {
	font-size: 1.22rem;
	font-weight: 800;
	margin: 0 0 16px 0;
	color: #0f172a;
	line-height: 1.35;
}

.sde-why-icp-pain {
	background: #fff8f6;
	border: 1px solid #fed7aa;
	border-left: 4px solid #ea580c;
	padding: 12px 16px;
	border-radius: 10px;
	font-size: 0.9rem;
	line-height: 1.58;
	color: #7c2d12;
	margin-bottom: 14px;
}

.sde-why-icp-sol {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-left: 4px solid #16a34a;
	padding: 12px 16px;
	border-radius: 10px;
	font-size: 0.9rem;
	line-height: 1.58;
	color: #14532d;
	margin-bottom: 18px;
	flex-grow: 1;
}

.sde-why-icp-sol a {
	color: #15803d;
	font-weight: 700;
	text-decoration: underline;
}

.sde-why-icp-links {
	font-size: 0.86rem;
	padding-top: 14px;
	border-top: 1px solid #e2e8f0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.sde-why-icp-links a {
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	border-radius: 999px;
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	color: #21328a;
	text-decoration: none;
	font-weight: 600;
	transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.sde-why-icp-links a:hover {
	background: #21328a;
	border-color: #21328a;
	color: #ffffff;
}

/* 5. COOPERATION FUNNEL (3-Column Step Progression) */
.sde-why-funnel-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 28px 0 36px;
}

.sde-why-funnel-step {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 18px;
	padding: 28px 24px;
	position: relative;
	box-shadow: 0 4px 14px -4px rgba(15, 23, 42, 0.04);
	display: flex;
	flex-direction: column;
}

.sde-why-funnel-step__num {
	display: inline-flex;
	align-self: flex-start;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 5px 12px;
	border-radius: 999px;
	background: #21328a;
	color: #ffffff;
	margin-bottom: 14px;
}

.sde-why-funnel-step h3 {
	font-size: 1.18rem;
	font-weight: 800;
	margin: 0 0 12px 0;
	color: #0f172a;
	line-height: 1.35;
}

.sde-why-funnel-step p {
	font-size: 0.92rem;
	line-height: 1.62;
	color: #475569;
	margin: 0;
}

/* 6. INDUSTRIAL HARDWARE SPECS (Balanced Split + 3x2 Grid) */
.sde-why-prose-text {
	font-size: 0.98rem;
	line-height: 1.68;
	color: #334155;
	margin: 0 0 18px;
}

.sde-why-specs-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-top: 36px;
}

.sde-why-spec-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 24px;
	transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.sde-why-spec-card:hover {
	background: #ffffff;
	border-color: #21328a;
	transform: translateY(-3px);
	box-shadow: 0 12px 24px -8px rgba(33, 50, 138, 0.12);
}

.sde-why-spec-card__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: #eef1ff;
	color: #21328a;
	font-size: 0.8rem;
	font-weight: 800;
	margin-bottom: 12px;
}

.sde-why-spec-card h3 {
	font-size: 1.05rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 8px 0;
	line-height: 1.35;
}

.sde-why-spec-card p {
	font-size: 0.9rem;
	line-height: 1.58;
	color: #475569;
	margin: 0;
}

/* 8. REAL FACTORY SHOWCASE (Section 8 Right Column) */
.sde-page-why__real-factory-showcase {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.sde-real-photo-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 8px 24px -6px rgba(15, 23, 42, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sde-real-photo-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.14);
}

.sde-real-photo-card__img-wrap {
	position: relative;
	height: 260px;
	overflow: hidden;
	background: #0f172a;
}

.sde-real-photo-card__img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.sde-real-photo-card:hover .sde-real-photo-card__img-wrap img {
	transform: scale(1.04);
}

.sde-real-photo-card__tag {
	position: absolute;
	bottom: 12px;
	left: 12px;
	background: rgba(15, 23, 42, 0.9);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(141, 162, 255, 0.45);
	color: #8da2ff;
	font-size: 0.74rem;
	font-weight: 700;
	padding: 5px 12px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.sde-real-photo-card__tag::before {
	content: "";
	width: 6px;
	height: 6px;
	background: #22c55e;
	border-radius: 50%;
}

.sde-real-photo-card__caption {
	padding: 14px 18px;
	font-size: 0.89rem;
	line-height: 1.55;
	color: #334155;
	background: #f8fafc;
	border-top: 1px solid #e2e8f0;
}

.sde-real-thumb-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.sde-real-thumb {
	position: relative;
	height: 140px;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid #e2e8f0;
	background: #0f172a;
}

.sde-real-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sde-real-thumb-lbl {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(transparent, rgba(15, 23, 42, 0.9));
	color: #ffffff;
	font-size: 0.76rem;
	font-weight: 600;
	padding: 14px 10px 6px;
}

/* 9. REAL PROOF / HARDWARE PRODUCTS (Balanced 3x2 Grid for 6 Items) */
.sde-page-why .sde-page-why__proof-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: 28px;
}

.sde-page-why .sde-page-why__proof {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 18px;
	overflow: hidden;
	text-decoration: none;
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
	box-shadow: 0 4px 14px -4px rgba(15, 23, 42, 0.05);
}

.sde-page-why .sde-page-why__proof:hover {
	border-color: #21328a;
	transform: translateY(-4px);
	box-shadow: 0 16px 32px -10px rgba(33, 50, 138, 0.15);
}

.sde-page-why .sde-page-why__proof-media {
	display: block;
	overflow: hidden;
	background: #0f172a;
	border-bottom: 1px solid #e2e8f0;
}

.sde-page-why .sde-page-why__proof-media .sde-img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.sde-page-why .sde-page-why__proof:hover .sde-page-why__proof-media .sde-img {
	transform: scale(1.04);
}

.sde-page-why .sde-page-why__proof-body {
	padding: 20px 22px 22px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex-grow: 1;
}

.sde-page-why .sde-page-why__proof-name {
	font-size: 1.06rem;
	font-weight: 800;
	color: #0f172a;
	line-height: 1.35;
	transition: color 0.18s ease;
}

.sde-page-why .sde-page-why__proof:hover .sde-page-why__proof-name {
	color: #21328a;
}

.sde-page-why .sde-page-why__proof-sub {
	font-size: 0.89rem;
	line-height: 1.58;
	color: #475569;
}

/* 10. 5 GOLD COMMITMENTS (Symmetrical 3 + 2 Bento Grid on Desktop) */
.sde-why-trust-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 20px;
	margin-top: 28px;
}

.sde-why-trust-item {
	grid-column: span 2;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-top: 4px solid #21328a;
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 4px 14px -4px rgba(15, 23, 42, 0.04);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sde-why-trust-item:nth-child(4),
.sde-why-trust-item:nth-child(5) {
	grid-column: span 3;
}

.sde-why-trust-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 24px -8px rgba(33, 50, 138, 0.12);
}

.sde-why-trust-item__num {
	display: inline-block;
	font-size: 0.74rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #21328a;
	background: #eef1ff;
	padding: 4px 10px;
	border-radius: 999px;
	margin-bottom: 10px;
}

.sde-why-trust-item h3 {
	font-size: 1.08rem;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 8px 0;
	line-height: 1.35;
}

.sde-why-trust-item p {
	font-size: 0.91rem;
	line-height: 1.6;
	color: #475569;
	margin: 0;
}

/* 11. 5-STEP WORKFLOW */
.sde-why-workflow-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin-top: 28px;
}

.sde-why-workflow-grid .sde-num {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 24px 22px;
	box-shadow: 0 4px 12px -4px rgba(15, 23, 42, 0.04);
}

.sde-why-step5-banner {
	margin-top: 20px;
	padding: 26px 30px;
	background: linear-gradient(135deg, #f8faff 0%, #eef1ff 100%);
	border: 1.5px solid #c7d2fe;
	border-left: 5px solid #21328a;
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
}

.sde-why-step5-banner__copy {
	max-width: 68ch;
}

.sde-why-step5-banner__badge {
	display: inline-block;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #21328a;
	margin-bottom: 6px;
}

.sde-why-step5-banner__copy h3 {
	margin: 0 0 6px;
	font-size: 1.15rem;
	font-weight: 800;
	color: #0f172a;
}

.sde-why-step5-banner__copy p {
	margin: 0;
	font-size: 0.93rem;
	line-height: 1.58;
	color: #334155;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1023px) {
	.sde-page-why .sde-hero-x__grid {
		grid-template-columns: 1fr;
	}
	.sde-why-pillars,
	.sde-why-funnel-grid,
	.sde-why-specs-grid,
	.sde-page-why .sde-page-why__proof-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.sde-why-workflow-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.sde-why-trust-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.sde-why-trust-item,
	.sde-why-trust-item:nth-child(4),
	.sde-why-trust-item:nth-child(5) {
		grid-column: span 1;
	}
	.sde-why-trust-item:nth-child(5) {
		grid-column: 1 / -1;
	}
}

@media (max-width: 767px) {
	.sde-why-hero__stats,
	.sde-why-pillars,
	.sde-why-icp-grid,
	.sde-why-funnel-grid,
	.sde-why-specs-grid,
	.sde-page-why .sde-page-why__proof-grid,
	.sde-why-trust-grid,
	.sde-why-workflow-grid {
		grid-template-columns: 1fr;
	}
	.sde-why-trust-item,
	.sde-why-trust-item:nth-child(4),
	.sde-why-trust-item:nth-child(5) {
		grid-column: span 1;
	}
	.sde-why-step5-banner {
		padding: 20px;
	}
}
