/* Trang chủ HodaFace: các khối nội dung bên dưới hero (thẻ, trụ cột, bước, dự án, giá, hỏi đáp, kêu gọi cuối).
   Thẻ kiểu ô sản phẩm Apple: phẳng, bo 18px, không viền; nền thẻ ngược với nền section (xám trên trắng, trắng trên xám). */

/* ---------- Thẻ nội dung dùng chung ---------- */
.hf-cards {
	gap: 20px;
}
.hf-cards > .wp-block-column {
	padding: 36px 32px;
	border-radius: var(--hf-radius);
	background: var(--hf-surface);
	transition: transform var(--hf-ease);
}
.hf-cream .hf-cards > .wp-block-column,
.hf-gray .hf-cards > .wp-block-column {
	background: #fff;
}
.hf-cards > .wp-block-column:hover {
	transform: scale(1.015);
}
.hf-cards p {
	color: var(--hf-gray);
}
.hf-cards p:last-child {
	margin-bottom: 0;
}
.hf-grid-3,
.hf-grid-2 {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
}
.hf-grid-2 {
	grid-template-columns: repeat(2, 1fr);
}

/* Thẻ trên nền đen: ô xám than #1d1d1f như ô sản phẩm tối của Apple. */
.hf-dark .hf-cards > .wp-block-column {
	background: var(--hf-dark-2);
}
.hf-dark .hf-cards p {
	color: #a1a1a6;
}

/* ---------- Nỗi đau + 3 trụ cột ---------- */
.hf-section .hf-answer {
	max-width: 780px;
	margin: 64px auto 40px;
	font-size: clamp(21px, 2.6vw, 28px);
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -.01em;
	text-align: center;
	text-wrap: balance;
}
.hf-pillars {
	gap: 20px;
}
.hf-pillars > .wp-block-column {
	padding: 40px 28px;
	border-radius: var(--hf-radius);
	background: var(--hf-dark);
	color: #a1a1a6;
	text-align: center;
}
.hf-section .hf-pillars h3 {
	margin-bottom: 8px;
	color: #f5f5f7;
	font-size: 24px;
}
.hf-pillars .hf-ico::before {
	width: 44px;
	height: 44px;
	margin: 0 auto 20px;
}
.hf-pillars p {
	margin: 0;
}

/* ---------- Quy trình: nhãn "BƯỚC n" dạng chữ nhấn nhỏ ---------- */
.hf-section .hf-step-no {
	display: inline-block;
	margin-bottom: 12px;
	color: var(--hf-orange-ink);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .02em;
}

/* ---------- Dự án thật: số lớn ---------- */
.hf-section .hf-case-no {
	margin: 0;
	color: var(--hf-ink);
	font-size: clamp(44px, 5.4vw, 64px);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -.02em;
	font-variant-numeric: tabular-nums;
}
.hf-section .hf-case-unit {
	margin: 6px 0 16px;
	color: var(--hf-orange-ink);
	font-size: 14px;
	font-weight: 600;
}

/* ---------- Bảng giá + cam kết ---------- */
.hf-price-cards {
	max-width: 880px !important;
}
.hf-price-cards > .wp-block-column.hf-featured {
	box-shadow: inset 0 0 0 2px var(--hf-orange);
}
.hf-section .hf-badge {
	display: inline-block;
	margin-bottom: 12px;
	padding: 3px 12px;
	border-radius: 980px;
	background: var(--hf-orange);
	color: var(--hf-ink);
	font-size: 12px;
	font-weight: 600;
}
.hf-price {
	display: block;
	margin: 4px 0 10px;
	color: var(--hf-ink);
	font-size: 40px;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -.015em;
}
.hf-price-cards .wp-block-buttons {
	margin-top: 20px;
}
.hf-promises {
	margin-top: 56px;
}
.hf-promises > .wp-block-column {
	text-align: center;
}
.hf-promises .hf-ico::before {
	margin: 0 auto 16px;
}
.hf-section .hf-promises h3 {
	font-size: 19px;
}

/* ---------- Người sáng lập ---------- */
.hf-founder-cols {
	gap: 48px;
}
.hf-founder-photo img {
	border-radius: var(--hf-radius);
}
.hf-founder-photo figcaption {
	color: var(--hf-gray);
	font-size: 14px;
}
/* Trích dẫn kiểu Apple: chữ lớn đậm vừa, không nghiêng. */
.hf-quote {
	margin: 28px 0;
	padding: 2px 0 2px 20px;
	border-left: 2px solid var(--hf-orange);
	font-size: 21px;
	font-weight: 500;
	line-height: 1.45;
	letter-spacing: -.01em;
}

/* ---------- Hỏi đáp: danh sách kẻ đường mảnh như trang hỏi đáp của Apple ---------- */
.hf-faq .wp-block-details {
	max-width: 820px;
	margin: 0 auto;
	border-bottom: 1px solid var(--hf-line);
	text-align: left;
}
.hf-faq .wp-block-details:first-of-type {
	border-top: 1px solid var(--hf-line);
}
.hf-faq summary {
	position: relative;
	padding: 22px 48px 22px 0;
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -.01em;
	list-style: none;
	cursor: pointer;
}
.hf-faq summary::-webkit-details-marker {
	display: none;
}
.hf-faq summary::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 4px;
	color: var(--hf-orange-ink);
	font-size: 28px;
	font-weight: 400;
	line-height: 1;
	transform: translateY(-50%);
	transition: transform var(--hf-ease);
}
.hf-faq details[open] summary::after {
	transform: translateY(-50%) rotate(45deg);
}
.hf-faq .wp-block-details p {
	margin: 0;
	padding: 0 48px 24px 0;
	color: var(--hf-gray);
}

/* ---------- Kêu gọi cuối: 3 cách liên hệ ---------- */
.hf-final .hf-cards > .wp-block-column {
	display: flex;
	flex-direction: column;
}
.hf-final .wp-block-buttons {
	margin-top: auto;
	padding-top: 16px;
}
.hf-final .wp-block-button,
.hf-final .wp-block-button__link {
	width: 100%;
}

/* ---------- Mobile ---------- */
@media (max-width: 781px) {
	.hf-section {
		padding: 64px 16px;
	}
	.hf-hero {
		padding-top: 40px;
	}
	.hf-stats {
		padding-top: 0;
		padding-bottom: 48px;
	}
	.hf-cards > .wp-block-column {
		padding: 28px 24px;
	}
	.hf-hero-cols,
	.hf-founder-cols {
		gap: 32px;
	}
	.hf-form-card {
		padding: 24px 20px;
	}
	.hf-mobile-only {
		display: block;
	}
	.hf-hero-actions .wp-block-button,
	.hf-hero-actions .wp-block-button__link {
		width: 100%;
	}
	/* Điện thoại: tiêu đề và nội dung trước, ảnh giao diện sau. */
	.hf-showcase-cols {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.hf-showcase .hf-phone-col {
		order: 2;
	}
	.hf-showcase .hf-phone img {
		width: 260px;
	}
	.hf-stat-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px 12px;
	}
	.hf-grid-3,
	.hf-grid-2 {
		grid-template-columns: 1fr;
	}
	.hf-section .hf-intro,
	.hf-hero .hf-lead,
	.hf-showcase .hf-lead {
		margin-bottom: 28px;
		font-size: 17px;
	}
	.hf-section .hf-answer {
		margin-top: 36px;
	}
	.hf-promises {
		margin-top: 40px;
	}
	/* Mobile: icon nằm cạnh tiêu đề để thẻ thấp hơn, trang bớt dài. */
	.hf-cards h3.hf-ico {
		display: flex;
		align-items: center;
		gap: 14px;
	}
	.hf-cards .hf-ico::before {
		flex: none;
		width: 30px;
		height: 30px;
		margin: 0;
	}
}
@media (max-width: 600px) {
	/* 3 trụ cột giữ hàng ngang như fate.com.vn, chỉ còn icon + tên. */
	.hf-pillars {
		display: grid !important;
		grid-template-columns: repeat(3, 1fr);
		gap: 10px;
	}
	.hf-pillars > .wp-block-column {
		padding: 20px 8px;
	}
	.hf-section .hf-pillars h3 {
		margin: 0;
		font-size: 15px;
		letter-spacing: 0;
	}
	.hf-pillars .hf-ico::before {
		width: 30px;
		height: 30px;
		margin-bottom: 12px;
	}
	.hf-pillars p {
		display: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	.hf-cards > .wp-block-column,
	.hf-section .wp-block-button__link,
	.hf-faq summary::after {
		transition: none;
	}
	.hf-cards > .wp-block-column:hover {
		transform: none;
	}
}
.hf-hl-ink {
	color: var(--hf-orange-ink);
}
