/**
 * Service & industry detail pages.
 *
 * @package Skavend
 */

.sk-detail-page {
	--sk-green: #062c21;
	--sk-green-2: #0a3d2d;
	--sk-gold: #c19a6b;
	--sk-cream: #f9f7f2;
	--sk-text: #14241e;
	--sk-muted: #5c6560;
	--sk-hero-space: var(--hero-space, 1.5%);
	--header-offset: 120px;
	background: var(--sk-cream);
}

body.skavend-solution-detail {
	--header-offset: 120px;
	--sk-hero-space: var(--hero-space, 1.5%);
}

.skavend-solution-detail .site-main {
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
	width: 100% !important;
	overflow-x: hidden;
}

body.skavend-solution-detail {
	background: var(--sk-cream, #f9f7f2);
}

body.skavend-solution-detail .site-header,
body.skavend-solution-detail #masthead.site-header {
	margin-top: 12px;
	background: linear-gradient(180deg, rgba(253, 252, 247, 0.92), rgba(249, 247, 242, 0.82));
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.75) inset,
		0 10px 28px rgba(46, 60, 52, 0.08);
}

.sk-shell {
	width: var(--shell-width, 90%);
	max-width: 1180px;
	margin: 0 auto;
}

/* Hero */
.sk-detail__hero {
	position: relative;
	isolation: isolate;
	min-height: clamp(520px, 62vh, 680px);
	display: flex;
	align-items: flex-start;
	overflow: hidden;
	padding: calc(var(--header-offset, 120px) + var(--sk-hero-space, 1.5%)) 0 var(--sk-hero-space, 1.5%) !important;
	margin-top: 0;
}

.sk-detail__hero-bg {
	position: absolute;
	inset: 0;
	background-color: var(--sk-green-2);
	background-image: var(--sk-hero-image);
	background-size: cover;
	background-position: center center;
}

.sk-detail__hero-overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(6, 35, 28, 0.72) 0%, rgba(6, 35, 28, 0.58) 28%, rgba(6, 35, 28, 0.82) 62%, rgba(4, 22, 17, 0.97) 100%),
		radial-gradient(circle at 20% 12%, rgba(193, 154, 107, 0.14), transparent 42%);
}

.sk-detail__hero-inner {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: 0 0 8px;
	color: #f4ece0;
}

.sk-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 18px;
	font-size: 13px;
	color: rgba(244, 236, 224, 0.72);
}

.sk-crumbs a {
	color: rgba(244, 236, 224, 0.9);
	text-decoration: none;
}

.sk-crumbs a:hover {
	color: #e2bd80;
}

.sk-detail__kicker {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #e2bd80;
}

.sk-detail__title {
	margin: 0 0 14px;
	max-width: none;
	font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
	font-size: clamp(34px, 4.2vw, 54px);
	font-weight: 700;
	line-height: 1.12;
	color: #fff;
}

.sk-detail__intro {
	margin: 0 0 16px;
	max-width: 58ch;
	font-size: clamp(16px, 1.5vw, 18px);
	line-height: 1.65;
	color: rgba(244, 236, 224, 0.92);
}

.sk-detail__promise {
	margin: 0 0 20px;
	max-width: 62ch;
	font-size: clamp(15px, 1.4vw, 17px);
	font-weight: 500;
	line-height: 1.65;
	color: rgba(244, 236, 224, 0.88);
	border-left: 3px solid #e2bd80;
	padding-left: 16px;
}

.sk-detail__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
}

.sk-detail__trust li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	color: rgba(244, 236, 224, 0.9);
}

.sk-detail__trust svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	stroke: #e2bd80;
	fill: none;
	stroke-width: 2.2;
}

.sk-detail__hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.sk-detail__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 22px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.sk-detail__btn svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
}

.sk-detail__btn--primary {
	background: #c19a6b;
	color: #062c21;
	border: 1px solid #c19a6b;
}

.sk-detail__btn--primary:hover {
	background: #d4b080;
	color: #062c21;
	text-decoration: none;
}

.sk-detail__btn--ghost {
	background: transparent;
	color: #f4ece0;
	border: 1px solid rgba(255, 255, 255, 0.35);
}

.sk-detail__btn--ghost:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	text-decoration: none;
}

/* Metrics */
.sk-detail__metrics {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 12px;
	margin-top: 0;
	margin-bottom: 44px;
	padding-top: var(--sk-hero-space, 3%);
	position: relative;
	z-index: 2;
}

/* Trusted strip */
.sk-detail__trusted {
	padding: 20px 0 28px;
	background: #fff;
	border-bottom: 1px solid rgba(193, 154, 107, 0.16);
}

.sk-detail__trusted-label {
	margin: 0 0 14px;
	text-align: center;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--sk-muted);
}

.sk-detail__trusted-track {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 12px 28px;
}

.sk-detail__trusted-logo {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: rgba(20, 36, 30, 0.55);
	text-transform: uppercase;
}

/* Why SKAVEND */
.sk-detail__why {
	padding: var(--section-space, 5%) 0;
	background: #fff;
	border-top: 1px solid rgba(193, 154, 107, 0.14);
}

.sk-detail__why-head {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 36px;
}

.sk-detail__why-kicker {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--sk-gold);
}

.sk-detail__why-head h2 {
	margin: 0 0 12px;
	font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
	font-size: clamp(26px, 2.8vw, 34px);
	color: var(--sk-text);
}

.sk-detail__why-head p {
	margin: 0;
	font-size: 16px;
	line-height: 1.65;
	color: var(--sk-muted);
}

.sk-detail__why-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 18px;
}

.sk-detail__why-card {
	padding: 22px 20px;
	border-radius: 18px;
	background: var(--sk-cream);
	border: 1px solid rgba(193, 154, 107, 0.2);
}

.sk-detail__why-icon {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-bottom: 14px;
	border-radius: 12px;
	background: linear-gradient(145deg, var(--sk-green-2), var(--sk-green));
	color: #e2bd80;
}

.sk-detail__why-card h3 {
	margin: 0 0 8px;
	font-size: 17px;
	font-weight: 700;
	color: var(--sk-text);
}

.sk-detail__why-card p {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--sk-muted);
}

.sk-detail__metric {
	padding: 20px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid rgba(193, 154, 107, 0.22);
	box-shadow: 0 14px 32px rgba(10, 48, 36, 0.08);
	text-align: center;
}

.sk-detail__metric strong {
	display: block;
	font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
	font-size: clamp(26px, 2.8vw, 34px);
	font-weight: 700;
	line-height: 1;
	color: var(--sk-green-2);
}

.sk-detail__metric span {
	display: block;
	margin-top: 8px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--sk-muted);
}

/* Body layout */
.sk-detail__body {
	padding: 8px 0 64px;
}

.sk-detail__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 300px);
	gap: clamp(28px, 4vw, 52px);
	align-items: start;
}

.sk-detail__section {
	margin-bottom: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(193, 154, 107, 0.2);
}

.sk-detail__section:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.sk-detail__section-head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
}

.sk-detail__section-num {
	flex-shrink: 0;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 11px;
	background: linear-gradient(145deg, var(--sk-green-2), var(--sk-green));
	font-size: 13px;
	font-weight: 700;
	color: #e2bd80;
}

.sk-detail__section h2 {
	margin: 0;
	font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
	font-size: clamp(24px, 2.6vw, 32px);
	font-weight: 700;
	line-height: 1.2;
	color: var(--sk-text);
}

.sk-detail__prose {
	font-size: 17px;
	line-height: 1.75;
	color: var(--sk-muted);
}

.sk-detail__features {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.sk-detail__features li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid rgba(193, 154, 107, 0.18);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
	color: var(--sk-text);
}

.sk-detail__feature-ico {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	display: grid;
	place-items: center;
	border-radius: 8px;
	background: rgba(10, 61, 45, 0.08);
	color: var(--sk-green-2);
}

.sk-detail__feature-ico svg {
	width: 16px;
	height: 16px;
}

.sk-detail__benefits {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
}

.sk-detail__benefit {
	padding: 20px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid rgba(193, 154, 107, 0.2);
	box-shadow: 0 8px 20px rgba(10, 48, 36, 0.05);
}

.sk-detail__benefit h3 {
	margin: 0 0 8px;
	font-size: 17px;
	font-weight: 700;
	color: var(--sk-green-2);
}

.sk-detail__benefit p {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--sk-muted);
}

.sk-detail__steps {
	display: grid;
	gap: 14px;
}

.sk-detail__step {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 16px;
	padding: 18px 20px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid rgba(193, 154, 107, 0.18);
}

.sk-detail__step-num {
	font-size: 14px;
	font-weight: 700;
	color: #e2bd80;
	background: var(--sk-green-2);
	border-radius: 10px;
	display: grid;
	place-items: center;
	height: 48px;
}

.sk-detail__step h3 {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 700;
	color: var(--sk-text);
}

.sk-detail__step p {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--sk-muted);
}

/* Sidebar */
.sk-detail__aside {
	position: sticky;
	top: calc(var(--header-offset, 108px) + 16px);
	display: grid;
	gap: 16px;
}

.sk-detail__panel {
	padding: 20px;
	border-radius: 18px;
	background: #fff;
	border: 1px solid rgba(193, 154, 107, 0.22);
	box-shadow: 0 10px 24px rgba(10, 48, 36, 0.06);
}

.sk-detail__panel--icon {
	text-align: center;
}

.sk-detail__panel-icon {
	display: inline-grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin-bottom: 12px;
	border-radius: 50%;
	background: linear-gradient(145deg, var(--sk-green-2), var(--sk-green));
	color: #e2bd80;
}

.sk-detail__panel h3 {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sk-green-2);
}

.sk-detail__panel--icon h3 {
	font-size: 18px;
	letter-spacing: 0;
	text-transform: none;
}

.sk-detail__panel--icon p {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--sk-muted);
}

.sk-detail__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sk-detail__chips li {
	padding: 7px 13px;
	border-radius: 999px;
	background: var(--sk-cream);
	border: 1px solid rgba(193, 154, 107, 0.28);
	font-size: 13px;
	font-weight: 600;
	color: var(--sk-text);
}

.sk-detail__related-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--sk-cream);
	color: var(--sk-green-2);
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
}

.sk-detail__related-link:hover {
	background: rgba(10, 61, 45, 0.08);
	text-decoration: none;
}

.sk-detail__related-link svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	flex-shrink: 0;
}

.sk-detail__cta {
	width: 100%;
	justify-content: center;
	text-decoration: none;
}

/* Related section */
.sk-detail__related {
	padding: 56px 0;
	background: #fff;
	border-top: 1px solid rgba(193, 154, 107, 0.16);
}

.sk-detail__related-head {
	text-align: center;
	margin-bottom: 28px;
}

.sk-detail__related-kicker {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--sk-gold);
}

.sk-detail__related-head h2 {
	margin: 0;
	font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
	font-size: clamp(26px, 2.8vw, 34px);
	color: var(--sk-text);
}

.sk-detail__related-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 14px;
}

.sk-detail__related-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	border-radius: 16px;
	background: var(--sk-cream);
	border: 1px solid rgba(193, 154, 107, 0.2);
	color: inherit;
	text-decoration: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sk-detail__related-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(10, 48, 36, 0.1);
	text-decoration: none;
}

.sk-detail__related-card-icon {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: 12px;
	background: var(--sk-green-2);
	color: #e2bd80;
}

.sk-detail__related-card-body {
	flex: 1;
	min-width: 0;
}

.sk-detail__related-card-body strong {
	display: block;
	font-size: 15px;
	color: var(--sk-text);
	margin-bottom: 4px;
}

.sk-detail__related-card-body span {
	display: block;
	font-size: 13px;
	line-height: 1.45;
	color: var(--sk-muted);
}

.sk-detail__related-card > svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: var(--sk-green-2);
	stroke-width: 2;
	flex-shrink: 0;
}

/* Contact section */
.sk-detail__contact {
	padding: 64px 0 80px;
	background: linear-gradient(180deg, var(--sk-cream) 0%, #fff 100%);
}

.sk-detail__contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
	gap: clamp(28px, 4vw, 48px);
	align-items: start;
}

.sk-detail__contact-kicker {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--sk-gold);
}

.sk-detail__contact-copy h2 {
	margin: 0 0 14px;
	font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
	font-size: clamp(28px, 3vw, 36px);
	color: var(--sk-text);
}

.sk-detail__contact-copy > p {
	margin: 0 0 24px;
	font-size: 16px;
	line-height: 1.65;
	color: var(--sk-muted);
	max-width: 42ch;
}

.sk-detail__contact-points {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 14px;
}

.sk-detail__contact-points li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	font-weight: 600;
	color: var(--sk-text);
}

.sk-detail__contact-points svg {
	color: var(--sk-gold);
	flex-shrink: 0;
}

/* Inline form */
.sk-inline-form {
	padding: 28px 24px;
	border-radius: 20px;
	background: #fff;
	border: 1px solid rgba(193, 154, 107, 0.22);
	box-shadow: 0 16px 40px rgba(10, 48, 36, 0.08);
}

.sk-inline-form__kicker {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sk-gold);
}

.sk-inline-form__title {
	margin: 0 0 10px;
	font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
	font-size: 24px;
	color: var(--sk-text);
}

.sk-inline-form__lead {
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--sk-muted);
}

.sk-inline-form__submit {
	width: 100%;
	justify-content: center;
}

.sk-inline-form .cp-checkbox__label a {
	text-decoration: underline;
}

.sk-detail-page [data-reveal] {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.sk-detail-page [data-reveal].is-revealed {
	opacity: 1;
	transform: none;
}

@media (max-width: 960px) {
	.sk-detail__hero {
		min-height: auto;
		padding-top: calc(var(--header-offset, 120px) + var(--hero-space, 1.5%)) !important;
		padding-bottom: var(--hero-space, 1.5%) !important;
	}

	.sk-detail__layout,
	.sk-detail__contact-grid {
		grid-template-columns: 1fr;
	}

	.sk-detail__aside {
		position: static;
	}

	.sk-detail__title {
		max-width: none;
	}

	.sk-detail__metrics {
		grid-template-columns: 1fr 1fr;
		margin-top: -16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sk-detail-page [data-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}
}
