/* Parking Management System product page.
   Scoped to .pk-page, rendered by page-parking-management-system.php.
   Uses the global AVX tokens from style.css (--avx-navy, --avx-blue, ...). */

.pk-page {
	--pk-accent: #4d6f9b;
	--pk-accent-soft: #e9f0f8;
	--pk-line: #dbe4ef;
	--pk-line-strong: #b9c9da;
	--pk-muted: #5a6a83;
}

.pk-page section[id] {
	scroll-margin-top: 96px;
}

/* ---------- HERO ---------- */

.pk-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 84% 12%, rgba(120, 147, 181, 0.26), transparent 26rem),
		linear-gradient(135deg, #f8fbff 0%, #edf4fb 60%, #ffffff 100%);
}

.pk-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.86fr);
	align-items: center;
	gap: 64px;
	padding: 76px 0 84px;
}

.pk-hero h1 {
	max-width: 680px;
	margin: 0;
	color: var(--avx-navy);
	font-size: clamp(2.6rem, 5.2vw, 4.6rem);
	font-weight: 800;
	letter-spacing: -0.06em;
	line-height: 1.06;
}

.pk-hero-copy {
	max-width: 620px;
	margin: 26px 0 0;
	color: var(--pk-muted);
	font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.pk-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
}

.pk-tags li {
	padding: 8px 14px;
	border: 1px solid var(--pk-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.72);
	color: var(--avx-slate);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.pk-hero-panel {
	position: relative;
	overflow: hidden;
	padding: 38px 34px;
	border: 1px solid rgba(120, 147, 181, 0.4);
	border-radius: 28px;
	background: linear-gradient(150deg, #1f2745, #2d5479);
	box-shadow: var(--avx-shadow);
	color: var(--avx-white);
}

.pk-hero-panel::before,
.pk-hero-panel::after {
	position: absolute;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.pk-hero-panel::before {
	top: -94px;
	right: -84px;
	width: 236px;
	height: 236px;
}

.pk-hero-panel::after {
	top: 56px;
	right: 30px;
	width: 96px;
	height: 96px;
	border-color: rgba(255, 255, 255, 0.07);
}

.pk-panel-topline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	color: #d3e0ef;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.pk-hero-panel h2 {
	position: relative;
	z-index: 1;
	margin: 20px 0 0;
	max-width: 15em;
	color: var(--avx-white);
	font-size: clamp(1.4rem, 2.5vw, 1.95rem);
	letter-spacing: -0.04em;
	line-height: 1.12;
}

.pk-panel-list {
	position: relative;
	z-index: 1;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
}

.pk-panel-list li {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr);
	gap: 13px;
	padding: 15px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.pk-panel-list li:first-child {
	border-top: 0;
	padding-top: 0;
}

.pk-panel-list svg {
	width: 24px;
	height: 24px;
	margin-top: 2px;
	color: #9dc0e6;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.pk-panel-list strong {
	display: block;
	color: var(--avx-white);
	font-size: 0.94rem;
	line-height: 1.25;
}

.pk-panel-list small {
	display: block;
	margin-top: 4px;
	color: #cfdcec;
	font-size: 0.79rem;
	line-height: 1.4;
}

/* ---------- OPERATION OVERVIEW (system relationship) ---------- */

.pk-overview {
	background: #f7faff;
}

.pk-flow {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	align-items: stretch;
	gap: 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pk-flow-step {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 24px 18px;
	border: 1px solid var(--pk-line);
	border-top: 3px solid var(--pk-accent);
	border-radius: 16px;
	background: var(--avx-white);
	box-shadow: 0 14px 34px -22px rgba(31, 39, 69, 0.4);
}

.pk-flow-step:not(:last-child)::after {
	position: absolute;
	top: 45px;
	right: -26px;
	width: 20px;
	height: 2px;
	background: var(--pk-line-strong);
	content: "";
}

.pk-flow-step:not(:last-child)::before {
	position: absolute;
	top: 41px;
	right: -13px;
	width: 0;
	height: 0;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 7px solid var(--pk-line-strong);
	content: "";
}

.pk-flow-icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-bottom: 16px;
	border-radius: 12px;
	background: var(--pk-accent-soft);
	color: var(--pk-accent);
}

.pk-flow-icon svg {
	width: 24px;
	height: 24px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.pk-flow-step strong {
	color: var(--avx-navy);
	font-size: 0.96rem;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.pk-flow-step small {
	margin-top: 8px;
	color: var(--pk-muted);
	font-size: 0.79rem;
	line-height: 1.45;
}

.pk-flow-step--hub {
	border-color: transparent;
	border-top-color: #8fb4dd;
	background: linear-gradient(155deg, #23305a, #2f6089);
	box-shadow: 0 24px 48px -22px rgba(31, 39, 69, 0.62);
}

.pk-flow-step--hub .pk-flow-icon {
	background: rgba(255, 255, 255, 0.14);
	color: #cddff2;
}

.pk-flow-step--hub strong {
	color: var(--avx-white);
}

.pk-flow-step--hub small {
	color: #d4e1f0;
}

.pk-flow-caption {
	margin: 22px 0 0;
	color: var(--pk-muted);
	font-size: 0.83rem;
}

/* ---------- JOURNEY ---------- */

.pk-journey {
	background: var(--avx-white);
}

.pk-journey-list {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: pk-step;
}

.pk-journey-list li {
	position: relative;
	padding: 24px 20px;
	border: 1px solid var(--pk-line);
	border-radius: 16px;
	background: #fbfcfe;
}

.pk-journey-list li::before {
	display: block;
	margin-bottom: 14px;
	color: var(--pk-accent);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	counter-increment: pk-step;
	content: "STEP " counter(pk-step, decimal-leading-zero);
}

.pk-journey-list strong {
	display: block;
	color: var(--avx-navy);
	font-size: 1.02rem;
	letter-spacing: -0.015em;
}

.pk-journey-list p {
	margin: 10px 0 0;
	color: var(--pk-muted);
	font-size: 0.86rem;
	line-height: 1.5;
}

/* ---------- CAPABILITIES ---------- */

.pk-capabilities {
	background: var(--avx-ice);
}

.pk-cap-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pk-cap-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 26px 24px;
	border: 1px solid var(--pk-line);
	border-radius: 18px;
	background: var(--avx-white);
	box-shadow: 0 16px 36px -26px rgba(31, 39, 69, 0.45);
}

.pk-cap-icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 18px;
	border-radius: 13px;
	background: var(--pk-accent-soft);
	color: var(--pk-accent);
}

.pk-cap-icon svg {
	width: 26px;
	height: 26px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.pk-cap-card h3 {
	margin: 0;
	color: var(--avx-navy);
	font-size: 1.05rem;
	letter-spacing: -0.02em;
}

.pk-cap-card p {
	margin: 10px 0 0;
	color: var(--pk-muted);
	font-size: 0.86rem;
	line-height: 1.5;
}

/* ---------- PRODUCT INTERFACE (conceptual) ---------- */

.pk-interface {
	background: var(--avx-white);
}

.pk-concept-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
	gap: 22px;
	align-items: start;
}

.pk-concept {
	min-width: 0;
	border: 1px solid var(--pk-line);
	border-radius: 18px;
	background: #f8fafd;
	overflow: hidden;
}

.pk-concept-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 16px 22px;
	border-bottom: 1px solid var(--pk-line);
	background: var(--avx-white);
}

.pk-concept-head strong {
	color: var(--avx-navy);
	font-size: 0.98rem;
	letter-spacing: -0.01em;
}

.pk-concept-tag {
	flex: 0 0 auto;
	padding: 5px 10px;
	border: 1px solid #c6d7e8;
	border-radius: 999px;
	background: var(--pk-accent-soft);
	color: var(--pk-accent);
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.pk-concept-tags {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
}

.pk-concept-tag--illustrative {
	border-color: #e6d5b4;
	background: #fbf3e4;
	color: #8a5a1d;
}

.pk-concept-body {
	padding: 20px 22px 22px;
}

.pk-lane-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 13px 0;
	border-top: 1px solid var(--pk-line);
}

.pk-lane-row:first-child {
	border-top: 0;
	padding-top: 2px;
}

.pk-lane-row strong {
	display: block;
	color: var(--avx-navy);
	font-size: 0.88rem;
}

.pk-lane-row small {
	display: block;
	margin-top: 3px;
	color: var(--pk-muted);
	font-size: 0.76rem;
}

.pk-status {
	flex: 0 0 auto;
	padding: 5px 11px;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	white-space: nowrap;
}

.pk-status--ok {
	background: #e6f2ec;
	color: #2c6a51;
}

.pk-status--wait {
	background: var(--pk-accent-soft);
	color: var(--pk-accent);
}

.pk-status--attention {
	background: #fbeedb;
	color: #8a5a1d;
}

.pk-trace {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	padding: 16px;
	border: 1px dashed var(--pk-line-strong);
	border-radius: 12px;
	background: var(--avx-white);
}

.pk-trace-label {
	width: 100%;
	margin-bottom: 4px;
	color: var(--pk-muted);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.pk-trace-chip {
	padding: 6px 11px;
	border-radius: 8px;
	background: var(--pk-accent-soft);
	color: #2c4a6d;
	font-size: 0.76rem;
	font-weight: 700;
}

.pk-trace-chip--done {
	background: #e6f2ec;
	color: #2c6a51;
}

.pk-trace-arrow {
	color: var(--pk-line-strong);
	font-weight: 700;
}

.pk-report-metric {
	padding: 4px 0 18px;
}

.pk-report-metric span {
	display: block;
	color: var(--pk-muted);
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.pk-report-metric strong {
	display: block;
	margin-top: 6px;
	color: var(--avx-navy);
	font-size: clamp(1.7rem, 3vw, 2.2rem);
	letter-spacing: -0.04em;
}

.pk-report-bars {
	display: flex;
	align-items: flex-end;
	gap: 7px;
	height: 96px;
	padding: 14px;
	border-radius: 12px;
	background: var(--avx-white);
}

.pk-report-bars i {
	flex: 1 1 0;
	min-width: 0;
	border-radius: 4px 4px 2px 2px;
	background: linear-gradient(180deg, #7ea6cf, #4d6f9b);
}

.pk-report-legend {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	margin-top: 14px;
	color: var(--pk-muted);
	font-size: 0.76rem;
}

.pk-concept-note {
	margin: 22px 0 0;
	padding: 16px 18px;
	border-left: 3px solid var(--pk-accent);
	border-radius: 0 12px 12px 0;
	background: var(--pk-accent-soft);
	color: #3c4f68;
	font-size: 0.83rem;
}

/* ---------- INTEGRATION ---------- */

.pk-integration {
	background: #f7faff;
}

.pk-integration-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pk-integration-chip {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	padding: 16px 18px;
	border: 1px solid var(--pk-line);
	border-radius: 14px;
	background: var(--avx-white);
	color: var(--avx-navy);
	font-size: 0.88rem;
	font-weight: 700;
}

.pk-integration-chip svg {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	color: var(--pk-accent);
	stroke: currentColor;
	fill: none;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.pk-integration-note {
	max-width: 820px;
	margin: 26px 0 0;
	color: var(--pk-muted);
	font-size: 0.88rem;
}

/* ---------- BENEFITS ---------- */

.pk-benefits {
	background: var(--avx-white);
}

.pk-benefits-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
	gap: 50px;
	align-items: start;
}

.pk-benefit-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pk-benefit-list li {
	position: relative;
	margin: 0;
	padding: 16px 0 16px 40px;
	border-bottom: 1px solid var(--pk-line);
	color: #2c3a52;
	font-size: 1rem;
	line-height: 1.5;
}

.pk-benefit-list li:first-child {
	border-top: 1px solid var(--pk-line);
}

.pk-benefit-list li::before {
	position: absolute;
	left: 4px;
	top: 18px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--pk-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.5 2.4L13 6.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
	content: "";
}

.pk-deploy-card {
	padding: 32px 30px;
	border: 1px solid var(--pk-line);
	border-radius: 20px;
	background: linear-gradient(155deg, #23305a, #2f6089);
	box-shadow: var(--avx-shadow);
	color: var(--avx-white);
}

.pk-deploy-card h3 {
	margin: 0;
	color: var(--avx-white);
	font-size: 1.3rem;
	letter-spacing: -0.03em;
}

.pk-deploy-card p {
	margin: 14px 0 0;
	color: #d4e1f0;
	font-size: 0.9rem;
	line-height: 1.6;
}

.pk-deploy-card ul {
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.pk-deploy-card li {
	padding: 11px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	color: #e2ebf5;
	font-size: 0.86rem;
}

/* ---------- FAQ ---------- */

.pk-faq {
	background: #f7faff;
}

.pk-faq-grid {
	column-count: 2;
	column-gap: 22px;
}

.pk-faq-item {
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	margin: 0 0 18px;
	border: 1px solid var(--pk-line);
	border-radius: 16px;
	background: var(--avx-white);
	overflow: hidden;
}

.pk-faq-item:last-child {
	margin-bottom: 0;
}

.pk-faq-item[open] {
	border-color: var(--pk-line-strong);
	box-shadow: 0 14px 34px rgba(31, 39, 69, 0.08);
}

.pk-faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 58px;
	padding: 16px 20px;
	color: var(--avx-navy);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1.35;
	list-style: none;
	cursor: pointer;
}

.pk-faq-item summary::-webkit-details-marker {
	display: none;
}

.pk-faq-item summary:focus-visible {
	outline: 3px solid var(--avx-blue);
	outline-offset: -3px;
}

.pk-faq-question {
	min-width: 0;
}

.pk-faq-marker {
	position: relative;
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--pk-accent-soft);
}

.pk-faq-marker::before,
.pk-faq-marker::after {
	position: absolute;
	left: 50%;
	top: 50%;
	border-radius: 2px;
	background: var(--pk-accent);
	content: "";
	transform: translate(-50%, -50%);
}

.pk-faq-marker::before {
	width: 10px;
	height: 2px;
}

.pk-faq-marker::after {
	width: 2px;
	height: 10px;
	transition: transform 0.18s ease;
}

.pk-faq-item[open] .pk-faq-marker::after {
	transform: translate(-50%, -50%) scaleY(0);
}

.pk-faq-answer {
	padding: 0 20px 18px;
}

.pk-faq-answer p {
	margin: 0;
	color: var(--pk-muted);
	font-size: 0.92rem;
	line-height: 1.6;
}

/* ---------- CTA ---------- */

.pk-final {
	padding: 84px 0;
	background: var(--avx-ice);
	text-align: center;
}

.pk-final h2 {
	margin: 0 auto;
	max-width: 720px;
	color: var(--avx-navy);
	font-size: clamp(2rem, 3.6vw, 3rem);
	letter-spacing: -0.05em;
	line-height: 1.1;
}

.pk-final p {
	max-width: 640px;
	margin: 22px auto 0;
	color: var(--pk-muted);
	font-size: 1.04rem;
}

.pk-final .avx-actions {
	justify-content: center;
	margin-top: 32px;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1100px) {
	.pk-hero-grid {
		gap: 44px;
	}

	.pk-flow {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.pk-flow-step:not(:last-child)::after {
		display: none;
	}

	.pk-flow-step:not(:last-child)::before {
		display: none;
	}

	.pk-flow-caption {
		text-align: left;
	}

	.pk-cap-grid,
	.pk-integration-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pk-journey-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pk-concept-grid,
	.pk-benefits-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

@media (max-width: 760px) {
	.pk-hero-grid {
		grid-template-columns: 1fr;
		gap: 34px;
		padding: 52px 0 60px;
	}

	.pk-hero-panel {
		padding: 30px 24px;
	}

	.pk-flow,
	.pk-cap-grid,
	.pk-integration-grid,
	.pk-journey-list {
		grid-template-columns: 1fr;
	}

	.pk-faq-grid {
		column-count: 1;
	}

	.pk-journey-list li {
		padding: 22px 20px;
	}

	.pk-cap-grid {
		gap: 14px;
	}

	.pk-final {
		padding: 64px 0;
	}
}
