/**
 * Kaapia Certificates landing page.
 */

.kcert {
	background: #fff;
	color: #0b1648;
}

.kcert-eyebrow {
	margin: 0 0 0.7rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #2f6bff;
}

.kcert-eyebrow--light {
	color: #f6b800;
}

.kcert-head {
	max-width: 640px;
	margin: 0 auto 2.4rem;
	text-align: center;
}

.kcert-head--left {
	max-width: none;
	margin: 0 0 1.75rem;
	text-align: left;
}

.kcert-head h2 {
	margin: 0;
	font-size: clamp(1.55rem, 2.6vw, 2.15rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.2;
	color: #0b1648;
}

.kcert-head__lede {
	margin: 0.75rem 0 0;
	color: #5a6478;
	font-size: 0.98rem;
}

.kcert-section {
	padding: 4.5rem 0;
	scroll-margin-top: 6rem;
}

.kcert-section--soft {
	background: #f5f7fb;
}

.kcert-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0 0 1.25rem;
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.7);
}

.kcert-breadcrumb a {
	color: rgba(255, 255, 255, 0.82);
}

.kcert-breadcrumb a:hover {
	color: #fff;
}

/* Hero */
.kcert-hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(1000px 520px at -8% -20%, rgba(246, 184, 0, 0.22), transparent 55%),
		radial-gradient(800px 480px at 110% 120%, rgba(139, 61, 255, 0.42), transparent 50%),
		linear-gradient(160deg, #071033 0%, #0b1648 42%, #1a0b4a 100%);
}

.kcert-hero__glow {
	position: absolute;
	inset: auto -18% -28% 18%;
	height: 55%;
	background: radial-gradient(circle, rgba(47, 107, 255, 0.35), transparent 68%);
	pointer-events: none;
}

.kcert-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
	gap: 3rem;
	align-items: center;
	padding-top: 4.5rem;
	padding-bottom: 4.5rem;
}

.kcert-hero__title,
.kcert-hero h1 {
	margin: 0 0 1rem;
	font-size: clamp(2rem, 4vw, 3.05rem);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1.12;
	color: #fff;
}

.kcert-hero__lead {
	margin: 0 0 1.75rem;
	max-width: 36rem;
	font-size: 1.05rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.78);
}

.kcert-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.kcert-hero__panel {
	display: grid;
	gap: 0.85rem;
	padding: 1.35rem;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
	backdrop-filter: blur(12px);
}

.kcert-stat {
	padding: 1.05rem 1.15rem;
	border-radius: 14px;
	background: rgba(7, 16, 51, 0.45);
}

.kcert-stat__value {
	display: block;
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	color: #f6b800;
}

.kcert-stat__label {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.72);
}

/* Types */
.kcert-types {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.15rem;
}

.kcert-type {
	display: flex;
	flex-direction: column;
	padding: 1.5rem 1.4rem 1.35rem;
	border-radius: 18px;
	background: #fff;
	border: 1px solid #e8ecf3;
	box-shadow: 0 12px 32px rgba(11, 22, 72, 0.05);
	color: inherit;
	text-decoration: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.kcert-type:hover,
.kcert-type.is-selected {
	border-color: transparent;
	box-shadow: 0 0 0 2px rgba(47, 107, 255, 0.35), 0 16px 36px rgba(47, 107, 255, 0.12);
	transform: translateY(-3px);
	color: inherit;
}

.kcert-type__icon {
	display: inline-flex;
	width: 2.4rem;
	height: 2.4rem;
	margin-bottom: 0.9rem;
	color: #2f6bff;
}

.kcert-type__icon svg {
	width: 100%;
	height: 100%;
}

.kcert-type h3 {
	margin: 0 0 0.45rem;
	font-size: 1.08rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #0b1648;
}

.kcert-type p {
	margin: 0 0 1rem;
	color: #5a6478;
	font-size: 0.95rem;
	line-height: 1.6;
	flex: 1;
}

.kcert-type__cta {
	font-size: 0.85rem;
	font-weight: 600;
	color: #2f6bff;
}

.kcert-types__reset {
	margin: 1.25rem 0 0;
	text-align: center;
}

.kcert-types__reset a {
	font-weight: 600;
}

/* Catalog */
.kcert-catalog .kaapia-shop__header {
	padding-top: 0;
}

.kcert-catalog .kaapia-shop__title {
	display: none;
}

.kcert-catalog .woocommerce-main::before {
	display: none;
}

.kcert-catalog .woocommerce-main > .container {
	max-width: none;
	padding-bottom: 0;
}

/* How */
.kcert-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.15rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.kcert-steps li {
	padding: 1.5rem 1.4rem;
	border-radius: 18px;
	background: #fff;
	border: 1px solid #e8ecf3;
}

.kcert-steps__num {
	display: block;
	margin-bottom: 0.7rem;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	color: #2f6bff;
}

.kcert-steps h3 {
	margin: 0 0 0.45rem;
	font-size: 1.08rem;
	font-weight: 700;
	color: #0b1648;
}

.kcert-steps p {
	margin: 0;
	color: #5a6478;
	font-size: 0.95rem;
	line-height: 1.6;
}

.kcert-faq-wrap {
	max-width: 820px;
}

@media (max-width: 980px) {
	.kcert-hero__inner,
	.kcert-types,
	.kcert-steps {
		grid-template-columns: 1fr;
	}

	.kcert-hero__inner {
		padding-top: 3.2rem;
		padding-bottom: 3.2rem;
	}
}
