/**
 * Style dùng chung cho các trang dịch vụ (page con của "Dịch vụ" ID 1465) —
 * WebGool child theme.
 *
 * CHỈ chứa style cho các class .ls-svc-* của mẫu trang dịch vụ. Không định nghĩa
 * lại class .ls-* (đã có trong ls-style.css + Additional CSS của Customizer)
 * và không định nghĩa lại class .lp-* (lp-project.css).
 * Giá trị màu/spacing copy từ ls-style.css và lp-project.css (navy #0f2a43,
 * vàng #ffd166, xanh lá #047857, divider #e2e8f0, bo góc 12px,
 * font Be Vietnam Pro của site). Không nạp chéo file CSS khác.
 *
 * Cách nạp (xem deploy-brief.md): tạo file này trong wp-content/themes/webgool/
 * rồi nối snippet enqueue vào CUỐI functions.php. Hàm nạp chỉ chạy khi trang
 * đang xem là con của trang "Dịch vụ" (ID 1465), phụ thuộc handle
 * 'ls-archive-single' để nạp SAU ls-style.css. Version '1.0.0': mỗi lần sửa
 * file này thì bump version +0.0.1 trong hàm enqueue để phá cache tĩnh theo URL
 * (site không có plugin cache để purge — bài học 23/11/2026).
 *
 * Cách dùng trong Elementor: mỗi section/widget của mẫu trang dịch vụ được gán
 * class tương ứng ở ô "CSS Classes" (tab Advanced). Các class dưới đây style
 * cho cả trường hợp section Elementor (.elementor-section) lẫn khối Gutenberg
 * (dự phòng nếu sau này chuyển trang sang Gutenberg).
 */

/* ============ Tokens (copy từ ls-style.css / lp-project.css) ============ */
.ls-svc {
	--svc-navy: #0f2a43;
	--svc-navy-hover: #16324f;
	--svc-body: #334155;
	--svc-muted: #64748b;
	--svc-border: #e2e8f0;
	--svc-soft: #f8fafc;
	--svc-green: #047857;
	--svc-green-bright: #059669;
	--svc-green-soft: #ecfdf5;
	--svc-green-border: #a7f3d0;
	--svc-gold: #ffd166;
	--svc-gold-hover: #ffcf5c;
	--svc-link: #2563eb;
}

/* Nới container Astra lên 1280px chỉ trên các trang dịch vụ (rule tương tự
   trong ls-style.css chỉ áp cho body.single-post, lp-project.css chỉ áp cho
   body.single-project). Ghi đè bằng class .ls-svc trên article của trang. */
body.page .ls-svc,
.ls-svc {
	width: 100%;
}

/* Khung section chung của mẫu trang dịch vụ. */
.ls-svc-section {
	padding: 56px 0;
}
.ls-svc-section--soft {
	background: var(--svc-soft);
}
.ls-svc-eyebrow {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--svc-green);
	margin: 0 0 8px;
}
.ls-svc-title {
	font-size: 32px;
	line-height: 1.25;
	font-weight: 800;
	color: var(--svc-navy);
	margin: 0 0 12px;
	letter-spacing: -.01em;
}
.ls-svc-lead {
	font-size: 18px;
	line-height: 1.7;
	color: var(--svc-body);
	margin: 0 0 32px;
	max-width: 720px;
}

/* ============ Nút bấm ============ */
.ls-svc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	padding: 13px 24px;
	border-radius: 10px;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
}
.ls-svc-btn--primary {
	background: var(--svc-navy);
	color: #fff;
}
.ls-svc-btn--primary:hover {
	background: var(--svc-navy-hover);
	color: #fff;
}
.ls-svc-btn--gold {
	background: var(--svc-gold);
	color: var(--svc-navy);
}
.ls-svc-btn--gold:hover {
	background: var(--svc-gold-hover);
	color: var(--svc-navy);
}
.ls-svc-btn--outline {
	background: #fff;
	border-color: var(--svc-navy);
	color: var(--svc-navy);
}
.ls-svc-btn--outline:hover {
	background: var(--svc-soft);
	color: var(--svc-navy);
}
.ls-svc-btn--block {
	width: 100%;
}
.ls-svc-btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 28px 0 0;
}

/* ============ Hero ============ */
.ls-svc-hero {
	padding: 48px 0 56px;
}
.ls-svc-hero-title {
	font-size: 44px;
	line-height: 1.15;
	font-weight: 800;
	color: var(--svc-navy);
	margin: 12px 0 16px;
	letter-spacing: -.01em;
}
.ls-svc-hero-sub {
	font-size: 19px;
	line-height: 1.65;
	color: #475569;
	margin: 0;
	max-width: 640px;
}
.ls-svc-hero-img img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 12px;
	display: block;
}

/* ============ Thanh tin cậy ============ */
.ls-svc-trust {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	padding: 28px 0;
	border-top: 1px solid var(--svc-border);
	border-bottom: 1px solid var(--svc-border);
	margin: 0 0 8px;
}
.ls-svc-trust-item {
	margin: 0;
}
.ls-svc-trust-num {
	font-size: 22px;
	font-weight: 800;
	color: var(--svc-navy);
	margin: 0 0 4px;
}
.ls-svc-trust-text {
	font-size: 14px;
	line-height: 1.55;
	color: var(--svc-muted);
	margin: 0;
}

/* ============ Thẻ dịch vụ ============ */
.ls-svc-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}
.ls-svc-card {
	border: 1px solid var(--svc-border);
	border-top: 3px solid var(--svc-green);
	border-radius: 12px;
	background: #fff;
	padding: 24px;
	margin: 0;
}
.ls-svc-card-title {
	font-size: 19px;
	line-height: 1.35;
	font-weight: 800;
	color: var(--svc-navy);
	margin: 0 0 10px;
}
.ls-svc-card-text {
	font-size: 16px;
	line-height: 1.65;
	color: var(--svc-body);
	margin: 0;
}
.ls-svc-cards-img {
	margin-top: 32px;
}
.ls-svc-cards-img img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 12px;
	display: block;
}

/* ============ Quy trình ============ */
.ls-svc-steps {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 20px;
	counter-reset: svc-step;
}
.ls-svc-step {
	margin: 0;
	padding-top: 4px;
}
.ls-svc-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	background: var(--svc-navy);
	color: #fff;
	font-size: 18px;
	font-weight: 800;
	margin: 0 0 14px;
}
.ls-svc-step-title {
	font-size: 17px;
	line-height: 1.4;
	font-weight: 800;
	color: var(--svc-navy);
	margin: 0 0 8px;
}
.ls-svc-step-text {
	font-size: 15px;
	line-height: 1.65;
	color: var(--svc-body);
	margin: 0;
}

/* ============ Dành cho ai ============ */
.ls-svc-audience {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}
.ls-svc-audience-card {
	border: 1px solid var(--svc-border);
	border-radius: 12px;
	background: var(--svc-soft);
	padding: 28px;
	margin: 0;
}
.ls-svc-audience-title {
	font-size: 20px;
	line-height: 1.35;
	font-weight: 800;
	color: var(--svc-navy);
	margin: 0 0 10px;
}
.ls-svc-audience-text {
	font-size: 16px;
	line-height: 1.7;
	color: var(--svc-body);
	margin: 0;
}
.ls-svc-audience-img {
	margin-top: 32px;
}
.ls-svc-audience-img img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 12px;
	display: block;
}

/* ============ Vì sao chọn Webgool ============ */
.ls-svc-why {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 48px;
	align-items: start;
}
.ls-svc-why-img img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 12px;
	display: block;
}
.ls-svc-why-item {
	margin: 0 0 28px;
}
.ls-svc-why-item:last-child {
	margin-bottom: 0;
}
.ls-svc-why-title {
	font-size: 20px;
	line-height: 1.35;
	font-weight: 800;
	color: var(--svc-navy);
	margin: 0 0 8px;
}
.ls-svc-why-text {
	font-size: 16px;
	line-height: 1.7;
	color: var(--svc-body);
	margin: 0;
}

/* ============ FAQ ============ */
/* Cùng vẻ ngoài với khối .ls-faq của blog (Customizer Additional CSS). */
.ls-svc-faq {
	background: var(--svc-soft);
	border: 1px solid var(--svc-border);
	border-radius: 12px;
	padding: 32px;
}
.ls-svc-faq-item {
	margin: 0 0 20px;
}
.ls-svc-faq-item:last-child {
	margin-bottom: 0;
}
.ls-svc-faq-q {
	font-size: 17px;
	line-height: 1.45;
	font-weight: 800;
	color: var(--svc-navy);
	margin: 0 0 6px;
}
.ls-svc-faq-a {
	font-size: 16px;
	line-height: 1.7;
	color: var(--svc-body);
	margin: 0;
}

/* ============ Dải CTA cuối trang ============ */
.ls-svc-cta {
	background: var(--svc-navy);
	border-radius: 12px;
	padding: 44px 32px;
	text-align: center;
}
.ls-svc-cta-title {
	font-size: 30px;
	line-height: 1.3;
	font-weight: 800;
	color: #fff;
	margin: 0 0 10px;
}
.ls-svc-cta-text {
	font-size: 16px;
	line-height: 1.65;
	color: #cbd5e1;
	margin: 0 0 24px;
}
.ls-svc-cta-note {
	font-size: 15px;
	line-height: 1.6;
	color: #cbd5e1;
	margin: 20px 0 0;
}
.ls-svc-cta-note a {
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}
.ls-svc-cta-note a:hover {
	text-decoration: underline;
}

/* ============ Responsive ============ */
@media (max-width: 960px) {
	.ls-svc-section {
		padding: 40px 0;
	}
	.ls-svc-hero-title {
		font-size: 34px;
	}
	.ls-svc-title {
		font-size: 28px;
	}
	.ls-svc-trust {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.ls-svc-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.ls-svc-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 20px;
	}
	.ls-svc-why {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}
	.ls-svc-why-img img {
		aspect-ratio: 16 / 9;
	}
	.ls-svc-cta-title {
		font-size: 26px;
	}
}

@media (max-width: 640px) {
	.ls-svc-hero {
		padding: 32px 0 40px;
	}
	.ls-svc-hero-title {
		font-size: 30px;
	}
	.ls-svc-hero-sub {
		font-size: 17px;
	}
	.ls-svc-btn-row {
		flex-direction: column;
	}
	.ls-svc-btn-row .ls-svc-btn {
		width: 100%;
	}
	.ls-svc-trust {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}
	.ls-svc-cards {
		grid-template-columns: minmax(0, 1fr);
	}
	.ls-svc-steps {
		grid-template-columns: minmax(0, 1fr);
	}
	.ls-svc-audience {
		grid-template-columns: minmax(0, 1fr);
	}
	.ls-svc-faq {
		padding: 24px 20px;
	}
	.ls-svc-cta {
		padding: 32px 20px;
	}
	.ls-svc-cta-title {
		font-size: 24px;
	}
}

/* ==========================================================================
   GHI ĐÈ LƯỚI CỦA ASTRA (phòng trường hợp article bị gắn class lưới)
   Cùng cách lp-project.css đã xử lý cho .lp-article (23/11/2026): Astra gắn
   ast-width-md-6 (width 50% + float) khi Blog để 2 cột. Dùng !important vì
   quy tắc của Astra có specificity cao hơn.
   ========================================================================== */
.ls-svc .ls-svc-section,
.ls-svc article {
	width: 100% !important;
	max-width: none !important;
	float: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}