/* ==========================================================================
   AKO TO FUNGUJE
   ========================================================================== */

.gt-how__steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--gt-space-32);
	list-style: none;
	counter-reset: none;
}

.gt-how__step {
	position: relative;
	padding: var(--gt-space-32);
	border: 1px solid var(--gt-border);
	border-radius: var(--gt-radius);
	background: var(--gt-white);
	box-shadow: var(--gt-shadow-soft);
	transition: border-color var(--gt-duration) var(--gt-ease), transform var(--gt-duration) var(--gt-ease);
}

.gt-how__step:hover {
	border-color: color-mix(in srgb, var(--gt-accent) 40%, var(--gt-border));
	transform: translateY(-2px);
}

.gt-how__step {
	position: relative;
}

.gt-how__icon {
	position: absolute;
	top: var(--gt-space-32);
	right: var(--gt-space-32);
	margin: 0;
}

.gt-how__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin-bottom: var(--gt-space-16);
	border-radius: var(--gt-radius-pill);
	background: var(--gt-accent-soft);
	font-size: var(--gt-fs-small);
	font-weight: var(--gt-weight-bold);
	font-variant-numeric: tabular-nums;
	color: var(--gt-accent);
}

.gt-how__title {
	font-size: var(--gt-fs-heading);
}

.gt-how__text {
	margin-top: var(--gt-space-12);
	line-height: var(--gt-lh-base);
	color: var(--gt-body);
}

/* ---- Čo vypĺňate -------------------------------------------------------- */

.gt-how__fields {
	margin-top: var(--gt-space-64);
	padding: clamp(20px, 3vw, 32px);
	border: 1px solid var(--gt-border);
	border-radius: var(--gt-radius);
	background: var(--gt-mist);
}

.gt-how__fields-title {
	margin-bottom: var(--gt-space-16);
	font-size: var(--gt-fs-micro);
	font-weight: var(--gt-weight-semibold);
	letter-spacing: var(--gt-tracking-wide);
	text-transform: uppercase;
	color: var(--gt-muted);
}

.gt-how__fields-grid {
	display: grid;
	grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: center;
}

.gt-how__label {
	position: relative;
	width: 100%;
	aspect-ratio: 269.29 / 283.46;
	background: var(--gt-white);
	box-shadow: var(--gt-shadow-label);
}

.gt-how__label svg,
.gt-how__label img {
	display: block;
	width: 100%;
	height: auto;
}

.gt-how__spot {
	position: absolute;
	border: 2px solid var(--gt-accent);
	border-radius: 6px;
	background: rgba(3, 78, 162, 0.08);
	box-shadow: 0 0 0 3px rgba(3, 78, 162, 0.12);
}

.gt-how__spot span {
	position: absolute;
	top: -12px;
	left: -12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: var(--gt-radius-pill);
	background: var(--gt-accent);
	font-size: 12px;
	font-weight: var(--gt-weight-bold);
	color: var(--gt-white);
}

.gt-how__spot--brand { left: 1.5%; top: 22.5%; width: 45%; height: 6%; }
.gt-how__spot--model { left: 71%; top: 22.5%; width: 27.5%; height: 6%; }
.gt-how__spot--years { left: 0.8%; top: 31.2%; width: 43.2%; height: 23.6%; }

.gt-how__fields-list {
	display: flex;
	flex-direction: column;
	gap: var(--gt-space-12);
	margin: 0;
}

.gt-how__fields-list > div {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	gap: var(--gt-space-4) var(--gt-space-12);
	padding: var(--gt-space-16);
	border-radius: var(--gt-radius-sm);
	background: var(--gt-white);
	border: 1px solid var(--gt-border);
}

.gt-how__fields-list > div > span {
	grid-row: 1 / span 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: var(--gt-radius-pill);
	background: var(--gt-accent);
	font-size: 13px;
	font-weight: var(--gt-weight-bold);
	color: var(--gt-white);
}

.gt-how__fields-list dt {
	font-size: var(--gt-fs-small);
	font-weight: var(--gt-weight-semibold);
}

.gt-how__fields-list dd {
	margin: 4px 0 0;
	font-size: var(--gt-fs-small);
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	color: var(--gt-muted);
}

.gt-how__fields-note {
	margin-top: var(--gt-space-16);
	font-size: var(--gt-fs-small);
	color: var(--gt-body);
}

@media (max-width: 860px) {
	.gt-how__steps,
	.gt-how__fields-grid {
		grid-template-columns: 1fr;
	}
}

/* Číselné odznaky sa nikdy nezalamujú (ani v editore). */
.gt-how__num,
.gt-how__fields-list span,
.gt-how__spot span {
	flex: none;
	white-space: nowrap;
	line-height: 1;
	padding: 0;
}
