:root {
	--qph-navy: #041a2e;
	--qph-navy-deep: #031424;
	--qph-navy-card: #08233b;
	--qph-gold: #f5a81c;
	--qph-gold-soft: #d9ae72;
	--qph-cream: #f7f5ef;
	--qph-teal: #58b6aa;
}

html {
	scroll-behavior: smooth;
}

body.questpass-home-page {
	margin: 0;
	overflow-x: hidden;
	background: var(--qph-navy-deep);
}

.questpass-home-page .site-header,
.questpass-home-page .main-navigation,
.questpass-home-page .site-footer,
.questpass-home-page footer,
.questpass-home-page .wp-block-template-part:has(footer),
.questpass-home-page .page-header,
.questpass-home-page .entry-header,
.questpass-home-page .entry-title,
.questpass-home-page .page-title,
.questpass-home-page .wp-block-post-title {
	display: none !important;
}

.questpass-home-page .site,
.questpass-home-page #page,
.questpass-home-page .site-content,
.questpass-home-page #content,
.questpass-home-page .content-area,
.questpass-home-page #primary,
.questpass-home-page .site-main,
.questpass-home-page #main,
.questpass-home-page article.page,
.questpass-home-page .inside-article,
.questpass-home-page .entry-content {
	width: 100% !important;
	max-width: none !important;
	height: auto !important;
	min-height: 0 !important;
	flex: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.questpass-home-page .wp-site-blocks,
.questpass-home-page .wp-block-post-content,
.questpass-home-page main.wp-block-group {
	width: 100% !important;
	max-width: none !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.questpass-home-page .grid-container,
.questpass-home-page .container.grid-container,
.questpass-home-page .site.grid-container {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.questpass-home-page .wp-site-blocks,
.questpass-home-page #page,
.questpass-home-page .site {
	display: block !important;
}

.questpass-home-page .qph + p:empty,
.questpass-home-page .qph + br {
	display: none !important;
}

.qph,
.qph * {
	box-sizing: border-box;
}

.qph {
	position: relative;
	left: auto;
	width: 100vw !important;
	max-width: none !important;
	min-height: 0;
	margin-top: -112px !important;
	margin-right: calc(50% - 50vw) !important;
	margin-left: calc(50% - 50vw) !important;
	overflow: hidden;
	color: var(--qph-cream);
	background:
		linear-gradient(90deg, rgba(3, 20, 36, .82), rgba(3, 20, 36, .15)),
		var(--qph-map) center top / cover fixed,
		var(--qph-navy);
	font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
}

.qph a {
	text-decoration: none;
}

.qph-header {
	position: relative;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 112px;
	padding: 18px clamp(34px, 5.5vw, 92px);
	background: rgba(2, 18, 32, .94);
	box-shadow: 0 10px 28px rgba(0, 0, 0, .16);
}

.qph-logo {
	display: inline-flex;
	align-items: center;
}

.qph-logo img {
	display: block;
	width: clamp(230px, 23vw, 315px);
	height: auto;
}

.qph-navigation {
	display: flex;
	align-items: center;
	gap: clamp(24px, 3vw, 50px);
}

.qph-navigation a {
	position: relative;
	padding: 12px 0;
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	transition: color .18s ease, transform .18s ease, border-color .18s ease;
}

.qph-navigation a:hover,
.qph-navigation a:focus-visible {
	color: var(--qph-gold);
}

.qph-navigation .is-current::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 3px;
	left: 0;
	height: 2px;
	border-radius: 2px;
	background: var(--qph-gold);
}

.qph-navigation .qph-nav-button {
	padding: 12px 24px;
	border: 1.5px solid var(--qph-gold);
	border-radius: 9px;
	color: var(--qph-gold);
}

.qph-navigation .qph-nav-button:hover,
.qph-navigation .qph-nav-button:focus-visible {
	color: var(--qph-navy-deep);
	background: var(--qph-gold);
	transform: translateY(-1px);
}

.qph-navigation .qph-nav-teacher {
	color: #fff;
}

.qph-menu-toggle {
	display: none;
	width: 52px;
	height: 48px;
	padding: 11px;
	border: 2px solid var(--qph-gold);
	border-radius: 9px;
	background: transparent;
	cursor: pointer;
}

.qph-menu-toggle > span:not(.screen-reader-text) {
	display: block;
	width: 100%;
	height: 3px;
	margin: 5px 0;
	border-radius: 2px;
	background: var(--qph-gold);
	transition: transform .2s ease, opacity .2s ease;
}

.qph-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(420px, .95fr) minmax(520px, 1.15fr);
	align-items: center;
	min-height: 590px;
	padding: 52px clamp(34px, 5.5vw, 92px) 24px;
}

.qph-hero::before,
.qph-hero::after {
	content: "";
	position: absolute;
	width: 58px;
	height: 58px;
	opacity: .65;
	border-color: var(--qph-gold-soft);
	pointer-events: none;
}

.qph-hero::before {
	top: 18px;
	left: 20px;
	border-top: 1px solid;
	border-left: 1px solid;
}

.qph-hero::after {
	right: 20px;
	bottom: 14px;
	border-right: 1px solid;
	border-bottom: 1px solid;
}

.qph-hero-copy {
	position: relative;
	z-index: 5;
	align-self: start;
	padding-top: 34px;
}

.qph-hero h1 {
	max-width: 740px;
	margin: 0;
	color: #fff;
	font-size: clamp(46px, 4.4vw, 72px);
	line-height: 1.1;
	letter-spacing: -.035em;
	font-weight: 800;
	text-shadow: 0 4px 20px rgba(0, 0, 0, .25);
}

.qph-hero-copy > p {
	margin: 22px 0 0;
	color: #e4b77d;
	font-size: clamp(20px, 1.7vw, 28px);
	line-height: 1.35;
	font-weight: 700;
}

.qph-actions {
	display: flex;
	gap: 24px;
	margin-top: 42px;
}

.qph-actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 245px;
	min-height: 68px;
	padding: 15px 28px;
	border-radius: 10px;
	font-size: 21px;
	font-weight: 800;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.qph-actions a:hover,
.qph-actions a:focus-visible {
	transform: translateY(-2px);
}

.qph-primary-button {
	color: var(--qph-navy-deep) !important;
	background: linear-gradient(135deg, #ffb619, var(--qph-gold));
	box-shadow: 0 12px 28px rgba(245, 168, 28, .2);
}

.qph-primary-button:hover,
.qph-primary-button:focus-visible {
	box-shadow: 0 15px 34px rgba(245, 168, 28, .34);
}

.qph-secondary-button {
	border: 2px solid var(--qph-gold);
	color: #efc18a !important;
	background: rgba(3, 20, 36, .5);
}

.qph-secondary-button:hover,
.qph-secondary-button:focus-visible {
	color: var(--qph-navy-deep) !important;
	background: var(--qph-gold);
}

.qph-adventure {
	position: relative;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 500px;
	transform: translateX(2%);
}

.qph-adventure-art {
	display: block;
	width: min(112%, 920px);
	max-width: none;
	height: auto;
	max-height: 620px;
	object-fit: contain;
	filter: drop-shadow(0 26px 32px rgba(0, 0, 0, .28));
}

.qph-passport {
	position: absolute;
	top: 42px;
	left: 50%;
	display: flex;
	width: min(650px, 94%);
	height: 350px;
	transform: translateX(-50%) rotate(2deg);
	filter: drop-shadow(0 28px 28px rgba(0, 0, 0, .42));
}

.qph-passport::before {
	content: "";
	position: absolute;
	inset: -22px 28% 28px 8%;
	z-index: -1;
	border: 1px solid rgba(100, 74, 48, .55);
	background: #cbb38d;
	transform: rotate(-8deg);
	clip-path: polygon(4% 0, 94% 5%, 100% 94%, 0 100%);
}

.qph-passport-cover,
.qph-passport-map {
	position: relative;
	width: 50%;
	overflow: hidden;
	border: 2px solid #314052;
	background-color: #071f34;
}

.qph-passport-cover {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-radius: 9px 0 0 8px;
	box-shadow: inset -16px 0 28px rgba(0, 0, 0, .22);
	background-image:
		radial-gradient(circle at 30% 35%, transparent 0 24px, rgba(216, 174, 114, .09) 25px 26px, transparent 27px),
		linear-gradient(135deg, transparent 48%, rgba(216, 174, 114, .08) 49%, transparent 51%);
}

.qph-passport-cover::after {
	content: "";
	position: absolute;
	inset: 15px;
	border: 1px solid rgba(216, 174, 114, .28);
	border-radius: 4px;
}

.qph-passport-cover strong {
	color: var(--qph-gold-soft);
	font-size: 29px;
	letter-spacing: .01em;
}

.qph-passport-mark {
	width: 76px;
	height: 76px;
	margin-bottom: 10px;
	color: var(--qph-gold-soft);
}

.qph-passport-mark svg,
.qph-stamp svg,
.qph-feature-icon svg,
.qph-pocket-compass svg {
	width: 100%;
	height: 100%;
}

.qph-passport-rule {
	width: 85px;
	height: 1px;
	margin-top: 25px;
	background: rgba(216, 174, 114, .55);
}

.qph-passport-map {
	border-radius: 0 9px 8px 0;
	background:
		linear-gradient(rgba(132, 101, 65, .13) 1px, transparent 1px),
		linear-gradient(90deg, rgba(132, 101, 65, .12) 1px, transparent 1px),
		#d5bf98;
	background-size: 18px 18px;
	box-shadow: inset 16px 0 24px rgba(62, 40, 21, .22);
}

.qph-map-mountain {
	position: absolute;
	width: 105px;
	height: 70px;
	border-right: 2px solid rgba(68, 53, 37, .55);
	border-bottom: 2px solid rgba(68, 53, 37, .55);
	transform: rotate(-45deg) skew(12deg, 12deg);
}

.qph-map-mountain-one {
	top: 46px;
	left: 42px;
}

.qph-map-mountain-two {
	top: 85px;
	right: 24px;
	transform: rotate(-45deg) scale(.65) skew(12deg, 12deg);
}

.qph-map-path {
	position: absolute;
	top: 88px;
	left: 48%;
	width: 90px;
	height: 185px;
	border-right: 4px dashed rgba(47, 42, 34, .85);
	border-radius: 50%;
	transform: rotate(12deg);
}

.qph-map-x {
	position: absolute;
	right: 40px;
	bottom: 28px;
	color: rgba(50, 43, 34, .78);
	font-size: 55px;
	font-weight: 500;
	transform: rotate(-12deg);
}

.qph-pocket-compass {
	position: absolute;
	z-index: 5;
	bottom: 35px;
	left: 6%;
	width: 135px;
	height: 135px;
	padding: 27px;
	border: 9px double #9a6c2f;
	border-radius: 50%;
	color: #cf9e57;
	background: radial-gradient(circle, #17202a 0 51%, #62421d 53% 58%, #16191e 60%);
	box-shadow: 0 16px 24px rgba(0, 0, 0, .45);
}

.qph-stamp {
	position: absolute;
	z-index: 7;
	display: grid;
	place-items: center;
	width: 82px;
	height: 82px;
	padding: 19px;
	border: 5px double currentColor;
	border-radius: 50%;
	box-shadow: 0 12px 18px rgba(0, 0, 0, .4);
}

.qph-stamp-bronze {
	top: 92px;
	right: 3%;
	color: #bd864a;
	background: #4a2e19;
}

.qph-stamp-silver {
	top: 188px;
	right: 0;
	color: #d6d7d2;
	background: #45484d;
}

.qph-stamp-gold {
	right: 10%;
	bottom: 28px;
	color: #f1c36f;
	background: #6d4615;
}

.qph-stamp-diamond {
	right: 0;
	bottom: 6px;
	color: #f4f2f2;
	border-radius: 18px;
	background: linear-gradient(135deg, #60c4c4, #d696bb 44%, #f4d27b 70%, #5b9cd2);
	transform: rotate(45deg) scale(.88);
}

.qph-stamp-diamond svg {
	transform: rotate(-45deg);
}

.qph-route {
	position: absolute;
	z-index: 1;
	width: 210px;
	height: 100px;
	border-top: 3px dashed rgba(245, 168, 28, .75);
	border-radius: 50%;
}

.qph-route-one {
	top: 8px;
	right: 2%;
	transform: rotate(-12deg);
}

.qph-route-two {
	bottom: 0;
	left: 33%;
	transform: rotate(15deg);
}

.qph-features {
	position: relative;
	z-index: 8;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	padding: 0 clamp(34px, 5.5vw, 92px) 44px;
}

.qph-feature {
	position: relative;
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: 180px;
	padding: 28px;
	overflow: hidden;
	border: 1px solid rgba(210, 174, 117, .3);
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(8, 35, 59, .96), rgba(4, 25, 43, .96));
	box-shadow: 0 18px 32px rgba(0, 0, 0, .16);
}

.qph-feature::after {
	content: "";
	position: absolute;
	right: -40px;
	bottom: -40px;
	width: 190px;
	height: 95px;
	border-top: 2px dashed rgba(245, 168, 28, .7);
	border-radius: 50%;
	transform: rotate(-12deg);
}

.qph-feature-icon {
	flex: 0 0 auto;
	width: 92px;
	height: 92px;
	padding: 20px;
	border: 2px solid currentColor;
	border-radius: 50%;
}

.qph-feature-teal {
	color: var(--qph-teal);
}

.qph-feature-gold {
	color: var(--qph-gold);
}

.qph-feature h2 {
	position: relative;
	z-index: 2;
	margin: 0;
	color: #fff;
	font-size: clamp(23px, 2vw, 34px);
	line-height: 1.25;
	font-weight: 800;
}

@media (max-width: 1180px) {
	.qph-header {
		padding-inline: 34px;
	}

	.qph-navigation {
		gap: 20px;
	}

	.qph-navigation a {
		font-size: 15px;
	}

	.qph-navigation .qph-nav-button {
		padding-inline: 16px;
	}

	.qph-hero {
		grid-template-columns: minmax(380px, .9fr) minmax(450px, 1fr);
		padding-inline: 34px;
	}

	.qph-actions a {
		min-width: 210px;
	}

	.qph-features {
		padding-inline: 34px;
	}

	.qph-feature {
		gap: 18px;
		padding: 22px;
	}

	.qph-feature-icon {
		width: 76px;
		height: 76px;
		padding: 16px;
	}
}

@media (max-width: 900px) {
	.qph-hero::before,
	.qph-hero::after {
		display: none;
	}

	.qph {
		width: 100vw !important;
		margin-top: -92px !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
		background-attachment: scroll;
	}

	.qph-header {
		min-height: 92px;
		padding: 14px 28px;
	}

	.qph-logo img {
		width: min(305px, 64vw);
	}

	.qph-menu-toggle {
		display: block;
	}

	.qph-menu-toggle[aria-expanded="true"] > span:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}

	.qph-menu-toggle[aria-expanded="true"] > span:nth-child(2) {
		opacity: 0;
	}

	.qph-menu-toggle[aria-expanded="true"] > span:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}

	.qph-navigation {
		position: absolute;
		top: calc(100% - 1px);
		right: 18px;
		left: 18px;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
		padding: 14px;
		border: 1px solid rgba(245, 168, 28, .38);
		border-radius: 0 0 14px 14px;
		background: rgba(2, 18, 32, .99);
		box-shadow: 0 20px 35px rgba(0, 0, 0, .35);
	}

	.qph-navigation.is-open {
		display: flex;
	}

	.qph-navigation a,
	.qph-navigation .qph-nav-button {
		width: 100%;
		padding: 13px 15px;
		border: 0;
		border-radius: 8px;
		font-size: 16px;
		text-align: left;
	}

	.qph-navigation a:hover,
	.qph-navigation a:focus-visible {
		color: var(--qph-navy-deep);
		background: var(--qph-gold);
	}

	.qph-navigation .is-current::after {
		display: none;
	}

	.qph-hero {
		display: flex;
		flex-direction: column;
		width: 100%;
		min-height: 0;
		padding: 52px 28px 10px;
	}

	.qph-hero-copy {
		width: 100%;
		padding-top: 0;
	}

	.qph-hero h1 {
		max-width: 760px;
		font-size: clamp(43px, 8vw, 68px);
	}

	.qph-hero-copy > p {
		font-size: 22px;
	}

	.qph-adventure {
		width: min(720px, 100%);
		min-height: 0;
		margin-top: 28px;
		transform: none;
	}

	.qph-adventure-art {
		width: 100%;
		max-height: none;
	}

	.qph-features {
		grid-template-columns: 1fr;
		padding: 0 28px 36px;
	}
}

@media (max-width: 600px) {
	.qph-header {
		min-height: 82px;
		padding: 12px 20px;
	}

	.qph-logo img {
		width: min(245px, 68vw);
	}

	.qph-menu-toggle {
		width: 47px;
		height: 44px;
		padding: 9px;
	}

	.qph-hero {
		padding: 42px 20px 0;
	}

	.qph-hero h1 {
		font-size: clamp(36px, 10vw, 46px);
		line-height: 1.12;
	}

	.qph-hero h1 br {
		display: initial;
	}

	.qph-hero-copy > p {
		margin-top: 20px;
		font-size: clamp(19px, 5.2vw, 24px);
	}

	.qph-actions {
		display: grid;
		gap: 12px;
		margin-top: 30px;
	}

	.qph-actions a {
		width: 100%;
		min-width: 0;
		min-height: 62px;
		font-size: 20px;
	}

	.qph-secondary-button,
	.qph-secondary-button:hover,
	.qph-secondary-button:focus,
	.qph-secondary-button:active {
		border: 2px solid var(--qph-gold) !important;
		color: #efc18a !important;
		background: rgba(3, 20, 36, .72) !important;
		box-shadow: none !important;
		transform: none;
	}

	.qph-adventure {
		min-height: 0;
		margin-top: 24px;
	}

	.qph-passport {
		top: 48px;
		width: 93%;
		height: 270px;
	}

	.qph-passport-cover strong {
		font-size: 22px;
	}

	.qph-passport-mark {
		width: 58px;
		height: 58px;
	}

	.qph-map-mountain {
		transform: rotate(-45deg) scale(.72) skew(12deg, 12deg);
	}

	.qph-map-mountain-one {
		top: 34px;
		left: 12px;
	}

	.qph-map-path {
		top: 60px;
		left: 42%;
		height: 150px;
	}

	.qph-map-x {
		right: 24px;
		bottom: 18px;
	}

	.qph-pocket-compass {
		bottom: 28px;
		left: 0;
		width: 106px;
		height: 106px;
		padding: 21px;
		border-width: 7px;
	}

	.qph-stamp {
		width: 62px;
		height: 62px;
		padding: 13px;
		border-width: 4px;
	}

	.qph-stamp-bronze {
		top: 95px;
		right: -5px;
	}

	.qph-stamp-silver {
		top: 170px;
		right: -4px;
	}

	.qph-stamp-gold {
		right: 14%;
		bottom: 34px;
	}

	.qph-stamp-diamond {
		right: -2px;
		bottom: 13px;
	}

	.qph-route-one {
		width: 145px;
	}

	.qph-features {
		gap: 12px;
		padding: 0 20px 28px;
	}

	.qph-feature {
		min-height: 142px;
		gap: 22px;
		padding: 22px;
	}

	.qph-feature-icon {
		width: 78px;
		height: 78px;
		padding: 17px;
	}

	.qph-feature h2 {
		font-size: clamp(24px, 7vw, 31px);
	}
}

@media (max-width: 390px) {
	.qph-header {
		padding-inline: 15px;
	}

	.qph-logo img {
		width: 215px;
	}

	.qph-hero {
		padding-inline: 16px;
	}

	.qph-hero h1 {
		font-size: 38px;
	}

	.qph-features {
		padding-inline: 16px;
	}

	.qph-feature {
		gap: 15px;
		padding: 18px;
	}

	.qph-feature-icon {
		width: 68px;
		height: 68px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.qph *,
	.qph *::before,
	.qph *::after {
		transition-duration: .01ms !important;
	}
}

/* =========================================================
   QuestPass landing page – a meglévő felső rész folytatása
   ========================================================= */

.qph-story {
	padding: 94px clamp(26px, 5vw, 80px) 104px;
	color: #172033;
	background:
		radial-gradient(circle at 12% 10%, rgba(43, 182, 171, .08), transparent 28%),
		radial-gradient(circle at 88% 18%, rgba(245, 168, 28, .08), transparent 24%),
		#f8f9fc;
}

.qph-story-heading {
	max-width: 800px;
	margin: 0 auto 52px;
	text-align: center;
}

.qph-story-kicker,
.qph-growth-kicker,
.qph-how-heading > span,
.qph-years-heading > span {
	display: inline-block;
	margin-bottom: 12px;
	color: #5c4ee8;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.qph-story-heading h2,
.qph-how-heading h2,
.qph-growth-copy h2,
.qph-years-heading h2,
.qph-cta h2 {
	margin: 0;
	font-size: clamp(34px, 3.2vw, 52px);
	line-height: 1.08;
	letter-spacing: -.035em;
	font-weight: 850;
}

.qph-story-heading p {
	max-width: 730px;
	margin: 20px auto 0;
	color: #5f6879;
	font-size: 18px;
	line-height: 1.75;
}

.qph-story-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
	max-width: 1320px;
	margin: 0 auto;
}

.qph-story-card {
	min-height: 265px;
	padding: 30px 28px;
	border: 1px solid #e5e9f0;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 16px 42px rgba(23, 32, 51, .07);
	transition: transform .18s ease, box-shadow .18s ease;
}

.qph-story-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 24px 54px rgba(23, 32, 51, .12);
}

.qph-story-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	margin-bottom: 24px;
	border-radius: 18px;
}

.qph-story-icon svg {
	width: 30px;
	height: 30px;
}

.qph-story-icon-purple {
	color: #5b4ee8;
	background: #efedff;
}

.qph-story-icon-gold {
	color: #bc7600;
	background: #fff2d5;
}

.qph-story-icon-blue {
	color: #3569d5;
	background: #e9f0ff;
}

.qph-story-icon-green {
	color: #278465;
	background: #e9f8f1;
}

.qph-story-card h3 {
	margin: 0 0 12px;
	font-size: 22px;
	font-weight: 820;
}

.qph-story-card p {
	margin: 0;
	color: #687285;
	font-size: 16px;
	line-height: 1.65;
}

.qph-how {
	padding: 94px clamp(26px, 5vw, 80px) 106px;
	background:
		radial-gradient(circle at 50% 0, rgba(105, 87, 245, .18), transparent 30%),
		linear-gradient(145deg, #061b34 0%, #0b1b46 52%, #15134c 100%);
}

.qph-how-heading {
	max-width: 780px;
	margin: 0 auto 54px;
	text-align: center;
}

.qph-how-heading > span {
	color: #aa9cff;
}

.qph-how-heading h2 {
	color: #fff;
}

.qph-how-grid {
	display: grid;
	grid-template-columns: 1fr 70px 1fr 70px 1fr;
	align-items: center;
	max-width: 1320px;
	margin: 0 auto;
}

.qph-how-card {
	position: relative;
	min-height: 330px;
	padding: 36px 30px 32px;
	border: 1px solid rgba(255, 255, 255, .13);
	border-radius: 26px;
	color: #fff;
	background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.045));
	box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 20px 50px rgba(0,0,0,.18);
}

.qph-how-number {
	position: absolute;
	top: 20px;
	right: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	color: #fff;
	background: #6355ed;
	font-size: 14px;
	font-weight: 850;
}

.qph-how-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	margin-bottom: 28px;
	border-radius: 22px;
	color: #7568ff;
	background: #efedff;
}

.qph-how-icon-gold {
	color: #c77e00;
	background: #fff1d0;
}

.qph-how-icon-teal {
	color: #287e76;
	background: #dff5f1;
}

.qph-how-icon svg {
	width: 40px;
	height: 40px;
}

.qph-how-card h3 {
	margin: 0 0 14px;
	font-size: 23px;
	font-weight: 820;
}

.qph-how-card p {
	margin: 0;
	color: #ccd6e7;
	font-size: 16px;
	line-height: 1.7;
}

.qph-how-connector {
	position: relative;
	height: 2px;
	margin: 0 14px;
	background: linear-gradient(90deg, rgba(255,255,255,.08), #f5a81c, rgba(255,255,255,.08));
}

.qph-how-connector::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -3px;
	width: 9px;
	height: 9px;
	border-top: 2px solid #f5a81c;
	border-right: 2px solid #f5a81c;
	transform: translateY(-50%) rotate(45deg);
}

.qph-growth {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(410px, .92fr);
	align-items: center;
	gap: clamp(46px, 6vw, 94px);
	padding: 106px clamp(26px, 5vw, 80px);
	background:
		radial-gradient(circle at 24% 50%, rgba(245, 168, 28, .13), transparent 28%),
		#fbfbfd;
}

.qph-growth-visual {
	position: relative;
	min-height: 430px;
	border-radius: 30px;
	overflow: hidden;
	background: linear-gradient(145deg, #fff4d7, #dfe6ff);
	box-shadow: 0 22px 60px rgba(20, 36, 60, .1);
}

.qph-growth-route {
	position: absolute;
	inset: 12% 10% 10% 10%;
	border-radius: 26px;
	background: none;
}

.qph-growth-route::before {
	content: "";
	position: absolute;
	left: 9%;
	right: 11%;
	top: 54%;
	height: 88px;
	border-top: 5px solid #f5a81c;
	border-radius: 50%;
	transform: rotate(-15deg);
	opacity: .95;
}

.qph-growth-route::after {
	content: "";
	position: absolute;
	left: 35%;
	right: 9%;
	top: 31%;
	height: 92px;
	border-bottom: 5px solid #f5a81c;
	border-radius: 50%;
	transform: rotate(-18deg);
	opacity: .95;
}

.qph-growth-dot {
	position: absolute;
	width: 18px;
	height: 18px;
	border: 4px solid #fff;
	border-radius: 50%;
	background: #f5a81c;
	box-shadow: 0 0 0 5px rgba(245,168,28,.14), 0 8px 16px rgba(0,0,0,.13);
}

.qph-growth-dot-1 {
	left: 8%;
	bottom: 20%;
}

.qph-growth-dot-2 {
	left: 34%;
	bottom: 39%;
}

.qph-growth-dot-3 {
	right: 31%;
	top: 34%;
}

.qph-growth-dot-4 {
	right: 9%;
	top: 17%;
}

.qph-growth-trophy {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 68px;
	height: 68px;
	border-radius: 20px;
	color: #fff;
	background: linear-gradient(135deg, #5d50e8, #2b247f);
	box-shadow: 0 16px 30px rgba(48,38,133,.25);
}

.qph-growth-trophy svg {
	width: 34px;
	height: 34px;
}

.qph-growth-pill {
	position: absolute;
	padding: 10px 15px;
	border: 1px solid rgba(75, 64, 179, .12);
	border-radius: 999px;
	color: #3d356f;
	background: rgba(255,255,255,.92);
	font-size: 14px;
	font-weight: 800;
	box-shadow: 0 10px 24px rgba(22,32,62,.09);
}

.qph-growth-pill-1 {
	top: 12%;
	left: 7%;
}

.qph-growth-pill-2 {
	bottom: 12%;
	left: 7%;
}

.qph-growth-pill-3 {
	top: 13%;
	right: 7%;
}

.qph-growth-pill-4 {
	right: 7%;
	bottom: 13%;
}

.qph-growth-copy {
	max-width: 620px;
}

.qph-growth-copy h2 {
	color: #111a2d;
}

.qph-growth-copy > p {
	margin: 24px 0 0;
	color: #657084;
	font-size: 18px;
	line-height: 1.75;
}

.qph-growth-note {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin-top: 30px;
	padding: 18px 20px;
	border-left: 4px solid #6558eb;
	border-radius: 0 16px 16px 0;
	color: #40358d;
	background: linear-gradient(90deg, #eeebff, #f8f7ff);
	font-size: 17px;
}

.qph-years {
	padding: 100px clamp(26px, 5vw, 80px) 110px;
	background:
		radial-gradient(circle at 85% 10%, rgba(245,168,28,.12), transparent 28%),
		linear-gradient(145deg, #031628 0%, #071d39 50%, #111345 100%);
}

.qph-years-heading {
	max-width: 860px;
	margin: 0 auto 54px;
	text-align: center;
}

.qph-years-heading > span {
	color: #a796ff;
}

.qph-years-heading h2 {
	color: #fff;
}

.qph-years-heading p {
	max-width: 760px;
	margin: 22px auto 0;
	color: #c8d4e6;
	font-size: 18px;
	line-height: 1.75;
}

.qph-years-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	max-width: 1260px;
	margin: 0 auto;
}

.qph-years-item {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 108px;
	padding: 20px;
	border: 1px solid rgba(255,255,255,.1);
	border-radius: 20px;
	color: #fff;
	background: rgba(255,255,255,.06);
}

.qph-years-item span {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	color: #f5a81c;
	background: rgba(245,168,28,.1);
}

.qph-years-item svg {
	width: 28px;
	height: 28px;
}

.qph-years-item strong {
	font-size: 16px;
	line-height: 1.4;
}

.qph-cta {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 28px;
	padding: 46px clamp(26px, 5vw, 80px);
	background:
		radial-gradient(circle at 18% 10%, rgba(94,80,232,.13), transparent 28%),
		linear-gradient(100deg, #f5f2ff, #fff7e6);
}

.qph-cta-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 86px;
	height: 86px;
	border-radius: 24px;
	color: #5d50e8;
	background: #fff;
	box-shadow: 0 16px 36px rgba(42, 39, 98, .12);
}

.qph-cta-icon svg {
	width: 46px;
	height: 46px;
}

.qph-cta h2 {
	font-size: clamp(28px, 2.5vw, 42px);
	color: #172033;
}

.qph-cta p {
	margin: 8px 0 0;
	color: #6d7586;
	font-size: 17px;
}

.qph-cta-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 58px;
	padding: 14px 26px;
	border-radius: 12px;
	color: #07182a !important;
	background: linear-gradient(135deg, #ffbe2f, #f5a81c);
	box-shadow: 0 12px 28px rgba(245,168,28,.22);
	font-size: 17px;
	font-weight: 850;
	transition: transform .18s ease, box-shadow .18s ease;
}

.qph-cta-button:hover,
.qph-cta-button:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 16px 34px rgba(245,168,28,.32);
}

@media (max-width: 1100px) {
	.qph-story-grid,
	.qph-years-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.qph-how-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.qph-how-connector {
		width: 2px;
		height: 38px;
		margin: 0 auto;
		background: linear-gradient(#f5a81c, rgba(255,255,255,.08));
	}

	.qph-how-connector::after {
		top: auto;
		right: 50%;
		bottom: -1px;
		transform: translateX(50%) rotate(135deg);
	}

	.qph-growth {
		grid-template-columns: 1fr;
	}

	.qph-growth-copy {
		max-width: 820px;
	}

	.qph-cta {
		grid-template-columns: auto 1fr;
	}

	.qph-cta-button {
		grid-column: 1 / -1;
		justify-self: stretch;
	}
}

@media (max-width: 700px) {
	.qph-story,
	.qph-how,
	.qph-growth,
	.qph-years {
		padding: 70px 20px;
	}

	.qph-story-grid,
	.qph-years-grid {
		grid-template-columns: 1fr;
	}

	.qph-story-heading,
	.qph-how-heading,
	.qph-years-heading {
		margin-bottom: 36px;
	}

	.qph-story-heading p,
	.qph-growth-copy > p,
	.qph-years-heading p {
		font-size: 16px;
	}

	.qph-story-card,
	.qph-how-card {
		min-height: 0;
	}

	.qph-growth-visual {
		min-height: 340px;
	}

	.qph-growth-pill {
		padding: 8px 11px;
		font-size: 12px;
	}

	.qph-cta {
		grid-template-columns: 1fr;
		padding: 36px 20px;
		text-align: center;
	}

	.qph-cta-icon {
		justify-self: center;
	}

	.qph-cta-button {
		width: 100%;
	}
}
	/* QuestPass fejlődési térkép – teljes kép megjelenítése */
.qph-growth-visual {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
	padding: 0;
	overflow: hidden;
	border-radius: 30px;
	background: #061b34;
}

.qph-growth-image {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	object-fit: contain;
	border-radius: 30px;
}

/* Régi CSS-es fejlődési út kikapcsolása */
.qph-growth-route,
.qph-growth-dot,
.qph-growth-trophy,
.qph-growth-pill {
	display: none !important;
}
