/*
 * BTN Web - SEO Service Page
 * Chỉ được enqueue cho template-seo-service.php.
 */

.btn-seo-page {
	--btn-seo-navy: #102a43;
	--btn-seo-ink: #1f180f;
	--btn-seo-gold: #bf8b12;
	--btn-seo-gold-dark: #8a6100;
	--btn-seo-cream: #fffaf0;
	--btn-seo-cream-2: #f8efd9;
	--btn-seo-border: #ead8ac;
	--btn-seo-white: #ffffff;
	--btn-seo-muted: #675f55;
	--btn-seo-shadow: 0 18px 45px rgba(55, 39, 10, 0.09);
	color: var(--btn-seo-ink);
	background: #fffdf8;
}

.btn-seo-page *,
.btn-seo-page *::before,
.btn-seo-page *::after {
	box-sizing: border-box;
}

.btn-seo-container {
	width: min(1120px, calc(100% - 40px));
	margin-inline: auto;
}

.btn-seo-breadcrumb {
	padding: 15px 0;
	border-bottom: 1px solid rgba(191, 139, 18, 0.14);
	background: #fffdf8;
	font-size: 14px;
}

.btn-seo-breadcrumb .btn-seo-container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.btn-seo-breadcrumb a {
	color: var(--btn-seo-gold-dark);
	text-decoration: none;
}

.btn-seo-breadcrumb a:hover {
	text-decoration: underline;
}

.btn-seo-hero {
	padding: clamp(48px, 7vw, 88px) 0;
	overflow: hidden;
	background:
		radial-gradient(circle at 88% 15%, rgba(255, 218, 123, 0.38), transparent 34%),
		linear-gradient(135deg, #fffdf8 0%, #fff7e3 100%);
	border-bottom: 1px solid var(--btn-seo-border);
}

.btn-seo-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
	align-items: center;
	gap: clamp(38px, 6vw, 76px);
}

.btn-seo-eyebrow,
.btn-seo-side-cta__eyebrow {
	margin: 0 0 12px;
	color: var(--btn-seo-gold-dark);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.btn-seo-title {
	max-width: 820px;
	margin: 0;
	font-size: clamp(42px, 5vw, 70px);
	line-height: 1.06;
	letter-spacing: -0.045em;
	color: var(--btn-seo-ink);
}

.btn-seo-lead {
	max-width: 690px;
	margin: 24px 0 0;
	font-size: clamp(18px, 2vw, 21px);
	line-height: 1.72;
	color: var(--btn-seo-muted);
}

.btn-seo-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.btn-seo-button {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	padding: 12px 22px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	transition:
		transform 0.2s ease,
		background-color 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.btn-seo-button:hover {
	transform: translateY(-2px);
}

.btn-seo-button:focus-visible,
.btn-seo-page a:focus-visible {
	outline: 3px solid rgba(191, 139, 18, 0.38);
	outline-offset: 3px;
}

.btn-seo-button--primary {
	color: #fff;
	background: linear-gradient(135deg, #c89417, #9f7000);
	box-shadow: 0 12px 26px rgba(159, 112, 0, 0.2);
}

.btn-seo-button--primary:hover {
	color: #fff;
	background: linear-gradient(135deg, #b9830c, #855d00);
}

.btn-seo-button--secondary {
	color: var(--btn-seo-ink);
	border-color: var(--btn-seo-border);
	background: rgba(255, 255, 255, 0.82);
}

.btn-seo-button--secondary:hover {
	color: var(--btn-seo-gold-dark);
	border-color: #d3b568;
	background: #fff;
}

.btn-seo-button--light {
	color: var(--btn-seo-ink);
	background: #fff;
}

.btn-seo-button--light:hover {
	color: var(--btn-seo-gold-dark);
}

.btn-seo-button--full {
	width: 100%;
}

.btn-seo-hero__points {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 22px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
	font-weight: 700;
}

.btn-seo-hero__points li {
	position: relative;
	padding-left: 26px;
}

.btn-seo-hero__points li::before {
	position: absolute;
	top: 0.15em;
	left: 0;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background:
		linear-gradient(#fff, #fff) padding-box,
		linear-gradient(135deg, #d5a329, #9e6d00) border-box;
	border: 5px solid transparent;
	content: "";
}

.btn-seo-hero__media {
	position: relative;
	margin: 0;
}

.btn-seo-hero__media::before {
	position: absolute;
	inset: -22px 26px 22px -22px;
	z-index: 0;
	border: 1px solid rgba(191, 139, 18, 0.2);
	border-radius: 34px;
	background: rgba(255, 255, 255, 0.5);
	content: "";
}

.btn-seo-hero__image {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid rgba(191, 139, 18, 0.22);
	border-radius: 28px;
	box-shadow: var(--btn-seo-shadow);
}

.btn-seo-trust {
	padding: 24px 0;
	background: #fff;
	border-bottom: 1px solid #f1e6cc;
}

.btn-seo-trust__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
}

.btn-seo-trust__item {
	padding: 12px 22px;
	border-right: 1px solid #efe2c4;
}

.btn-seo-trust__item:first-child {
	padding-left: 0;
}

.btn-seo-trust__item:last-child {
	padding-right: 0;
	border-right: 0;
}

.btn-seo-trust__item strong,
.btn-seo-trust__item span {
	display: block;
}

.btn-seo-trust__item strong {
	margin-bottom: 5px;
	color: var(--btn-seo-ink);
	font-size: 16px;
}

.btn-seo-trust__item span {
	color: var(--btn-seo-muted);
	font-size: 14px;
	line-height: 1.55;
}

.btn-seo-layout {
	display: grid;
	grid-template-columns: minmax(0, 780px) minmax(260px, 1fr);
	align-items: start;
	gap: clamp(38px, 5vw, 70px);
	padding-top: clamp(54px, 7vw, 88px);
	padding-bottom: clamp(60px, 8vw, 100px);
}

.btn-seo-content {
	min-width: 0;
}

.btn-seo-entry {
	font-size: 18px;
	line-height: 1.82;
	color: #30291f;
}

.btn-seo-entry > :first-child {
	margin-top: 0;
}

.btn-seo-entry p {
	margin: 0 0 1.35em;
}

.btn-seo-entry h2,
.btn-seo-entry h3 {
	color: var(--btn-seo-ink);
	scroll-margin-top: 120px;
}

.btn-seo-entry h2 {
	margin: 2.25em 0 0.7em;
	padding-top: 0.25em;
	font-size: clamp(29px, 3vw, 39px);
	line-height: 1.22;
	letter-spacing: -0.025em;
}

.btn-seo-entry h3 {
	margin: 1.8em 0 0.55em;
	font-size: clamp(22px, 2.2vw, 27px);
	line-height: 1.35;
}

.btn-seo-entry ul,
.btn-seo-entry ol {
	margin: 0 0 1.5em;
	padding-left: 1.35em;
}

.btn-seo-entry li {
	margin: 0.45em 0;
	padding-left: 0.15em;
}

.btn-seo-entry a {
	color: var(--btn-seo-gold-dark);
	font-weight: 700;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.btn-seo-entry strong {
	color: #21180c;
}

.btn-seo-entry blockquote {
	margin: 2em 0;
	padding: 22px 24px;
	border-left: 4px solid var(--btn-seo-gold);
	border-radius: 0 16px 16px 0;
	background: var(--btn-seo-cream);
}

.btn-seo-entry table {
	width: 100%;
	margin: 28px 0;
	border-collapse: collapse;
	border: 1px solid var(--btn-seo-border);
	background: #fff;
}

.btn-seo-entry th,
.btn-seo-entry td {
	padding: 14px 16px;
	border: 1px solid var(--btn-seo-border);
	text-align: left;
	vertical-align: top;
}

.btn-seo-entry th {
	background: var(--btn-seo-cream-2);
}

.btn-seo-sidebar {
	position: sticky;
	top: 105px;
	display: grid;
	gap: 20px;
}

.admin-bar .btn-seo-sidebar {
	top: 137px;
}

.btn-seo-toc,
.btn-seo-side-cta {
	border: 1px solid var(--btn-seo-border);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 14px 34px rgba(61, 44, 10, 0.055);
}

.btn-seo-toc {
	padding: 24px;
}

.btn-seo-toc__title {
	margin: 0 0 14px;
	color: var(--btn-seo-ink);
	font-size: 17px;
	font-weight: 800;
}

.btn-seo-toc ol {
	max-height: 430px;
	margin: 0;
	padding: 0 0 0 1.25em;
	overflow: auto;
}

.btn-seo-toc li {
	margin: 0 0 10px;
	color: var(--btn-seo-gold-dark);
}

.btn-seo-toc a {
	color: #494138;
	font-size: 14px;
	line-height: 1.5;
	text-decoration: none;
}

.btn-seo-toc a:hover {
	color: var(--btn-seo-gold-dark);
	text-decoration: underline;
}

.btn-seo-toc--mobile {
	display: none;
	margin-bottom: 30px;
}

.btn-seo-side-cta {
	padding: 26px;
	background:
		radial-gradient(circle at 90% 10%, rgba(230, 184, 65, 0.24), transparent 38%),
		linear-gradient(145deg, #17130d, #2c2315);
	color: #fff;
}

.btn-seo-side-cta h2 {
	margin: 0 0 12px;
	color: #fff;
	font-size: 24px;
	line-height: 1.3;
}

.btn-seo-side-cta p {
	margin: 0 0 20px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 15px;
	line-height: 1.65;
}

.btn-seo-proof {
	padding: clamp(46px, 6vw, 72px) 0;
	border-top: 1px solid var(--btn-seo-border);
	border-bottom: 1px solid var(--btn-seo-border);
	background:
		linear-gradient(135deg, rgba(255, 250, 240, 0.94), rgba(248, 239, 217, 0.92));
}

.btn-seo-proof__grid {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 30px;
}

.btn-seo-proof h2,
.btn-seo-section-heading h2,
.btn-seo-final-cta h2 {
	margin: 0;
	color: var(--btn-seo-ink);
	font-size: clamp(30px, 4vw, 46px);
	line-height: 1.18;
	letter-spacing: -0.03em;
}

.btn-seo-proof p:not(.btn-seo-eyebrow) {
	max-width: 740px;
	margin: 15px 0 0;
	color: var(--btn-seo-muted);
	font-size: 17px;
	line-height: 1.72;
}

.btn-seo-related {
	padding: clamp(60px, 8vw, 96px) 0;
	background: #fffdf8;
}

.btn-seo-section-heading {
	max-width: 760px;
	margin-bottom: 32px;
}

.btn-seo-related__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.btn-seo-related-card {
	overflow: hidden;
	border: 1px solid var(--btn-seo-border);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 14px 35px rgba(61, 44, 10, 0.055);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.btn-seo-related-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--btn-seo-shadow);
}

.btn-seo-related-card__media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--btn-seo-cream-2);
}

.btn-seo-related-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.btn-seo-related-card:hover .btn-seo-related-card__media img {
	transform: scale(1.025);
}

.btn-seo-related-card__placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	color: var(--btn-seo-gold-dark);
	font-weight: 800;
}

.btn-seo-related-card__body {
	padding: 24px;
}

.btn-seo-related-card h3 {
	margin: 0 0 12px;
	font-size: 22px;
	line-height: 1.35;
}

.btn-seo-related-card h3 a {
	color: var(--btn-seo-ink);
	text-decoration: none;
}

.btn-seo-related-card h3 a:hover {
	color: var(--btn-seo-gold-dark);
}

.btn-seo-related-card p {
	margin: 0 0 18px;
	color: var(--btn-seo-muted);
	font-size: 15px;
	line-height: 1.65;
}

.btn-seo-text-link {
	color: var(--btn-seo-gold-dark);
	font-weight: 800;
	text-decoration: none;
}

.btn-seo-text-link:hover {
	text-decoration: underline;
}

.btn-seo-final-cta {
	padding: clamp(58px, 8vw, 92px) 0;
	background:
		radial-gradient(circle at 12% 18%, rgba(206, 153, 27, 0.2), transparent 30%),
		linear-gradient(135deg, #14110c, #2c2112);
}

.btn-seo-final-cta__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 42px;
}

.btn-seo-final-cta h2 {
	max-width: 790px;
	color: #fff;
}

.btn-seo-final-cta p:not(.btn-seo-eyebrow) {
	max-width: 760px;
	margin: 16px 0 0;
	color: rgba(255, 255, 255, 0.76);
	font-size: 17px;
	line-height: 1.7;
}

.btn-seo-final-cta .btn-seo-actions {
	justify-content: flex-end;
	margin-top: 0;
}

@media (max-width: 980px) {
	.btn-seo-hero__grid {
		grid-template-columns: 1fr;
	}

	.btn-seo-hero__media {
		max-width: 760px;
	}

	.btn-seo-trust__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px 0;
	}

	.btn-seo-trust__item:nth-child(2) {
		border-right: 0;
	}

	.btn-seo-trust__item:nth-child(3) {
		padding-left: 0;
	}

	.btn-seo-layout {
		grid-template-columns: 1fr;
	}

	.btn-seo-sidebar {
		position: static;
	}

	.btn-seo-toc--desktop {
		display: none;
	}

	.btn-seo-toc--mobile {
		display: block;
	}

	.btn-seo-proof__grid,
	.btn-seo-final-cta__inner {
		grid-template-columns: 1fr;
	}

	.btn-seo-related__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.btn-seo-final-cta .btn-seo-actions {
		justify-content: flex-start;
	}
}

@media (max-width: 680px) {
	.btn-seo-container {
		width: min(100% - 28px, 1120px);
	}

	.btn-seo-breadcrumb {
		font-size: 13px;
	}

	.btn-seo-hero {
		padding: 46px 0 54px;
	}

	.btn-seo-title {
		font-size: clamp(36px, 12vw, 50px);
	}

	.btn-seo-lead {
		font-size: 17px;
	}

	.btn-seo-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.btn-seo-button {
		width: 100%;
	}

	.btn-seo-hero__points {
		grid-template-columns: 1fr;
	}

	.btn-seo-hero__media::before {
		inset: -12px 12px 12px -12px;
		border-radius: 22px;
	}

	.btn-seo-hero__image {
		border-radius: 20px;
	}

	.btn-seo-trust__grid {
		grid-template-columns: 1fr;
	}

	.btn-seo-trust__item,
	.btn-seo-trust__item:first-child,
	.btn-seo-trust__item:nth-child(3),
	.btn-seo-trust__item:last-child {
		padding: 14px 0;
		border-right: 0;
		border-bottom: 1px solid #efe2c4;
	}

	.btn-seo-trust__item:last-child {
		border-bottom: 0;
	}

	.btn-seo-entry {
		font-size: 17px;
		line-height: 1.78;
	}

	.btn-seo-entry table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}

	.btn-seo-related__grid {
		grid-template-columns: 1fr;
	}

	.btn-seo-toc {
		padding: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.btn-seo-button,
	.btn-seo-related-card,
	.btn-seo-related-card__media img {
		transition: none;
	}
}
