/* HOBBYTEC Core — B2B spolupráca [hbtc_b2b] — typografia a prvky v štýle podstránky Kontakt */

.hbtc-b2b {
	--b2b-green: #78b956;
	--b2b-yellow: #f1bb41;
	--b2b-dark: #221f20;
	--b2b-soft: #f4f4f4;
	width: 100%;
	max-width: 1600px;
	margin-left: auto;
	margin-right: auto;
	font-family: "Gilroy-Regular", system-ui, sans-serif;
	color: #221f20 !important;
}

.hbtc-b2b *,
.hbtc-b2b *::before,
.hbtc-b2b *::after {
	box-sizing: border-box;
}

.hbtc-b2b__inner {
	display: flex;
	flex-direction: column;
	gap: clamp(40px, 6vw, 84px);
	width: 100%;
	margin: 0 auto;
	padding: clamp(28px, 5vw, 72px) clamp(16px, 2.4vw, 36px);
}

/* ---------- Reveal animácia ---------- */

.hbtc-b2b [data-hbtc-b2b-reveal] {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.hbtc-b2b [data-hbtc-b2b-reveal].is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ---------- Spoločné — kicker + pill buttony (štýl Kontakt) ---------- */

.hbtc-b2b__kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	font-family: "Gilroy-Medium", "Gilroy-Regular", system-ui, sans-serif;
	font-size: 14px;
	line-height: 1;
	color: var(--b2b-green) !important;
}

.hbtc-b2b__kicker::before {
	content: "";
	width: 9px;
	height: 9px;
	border-radius: 999px;
	background: var(--b2b-green);
}

.hbtc-b2b__pill {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 9px 28px 9px 9px;
	border-radius: 999px;
	background: var(--b2b-dark) !important;
	color: #fff !important;
	font-family: "Gilroy-Medium", "Gilroy-Regular", system-ui, sans-serif;
	font-size: clamp(15px, 1.4vw, 18px);
	text-decoration: none !important;
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.hbtc-b2b__pill:hover {
	transform: translateY(-3px);
}

.hbtc-b2b__pill-ic {
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--b2b-green) !important;
	color: #fff !important;
	transition: background 0.28s ease, color 0.28s ease;
}

.hbtc-b2b__pill:hover .hbtc-b2b__pill-ic {
	background: var(--b2b-yellow) !important;
	color: var(--b2b-dark) !important;
}

.hbtc-b2b__pill-ic svg {
	width: 21px;
	height: 21px;
}

/* ---------- Hero (štýl Kontakt header) ---------- */

.hbtc-b2b__hero {
	display: grid;
	grid-template-columns: 1.35fr 0.65fr;
	gap: clamp(24px, 4vw, 60px);
	align-items: center;
}

.hbtc-b2b__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
	font-family: "Gilroy-Medium", "Gilroy-Regular", system-ui, sans-serif;
	font-size: 15px;
	line-height: 1;
	color: var(--b2b-green) !important;
}

.hbtc-b2b__eyebrow::before {
	content: "";
	width: 9px;
	height: 9px;
	border-radius: 999px;
	background: var(--b2b-green);
}

.hbtc-b2b__title {
	margin: 0 0 clamp(24px, 3vw, 38px) !important;
	font-family: "Gilroy-ExtraBold", "Gilroy-Regular", system-ui, sans-serif;
	font-size: clamp(42px, 6.6vw, 92px) !important;
	font-weight: 800 !important;
	line-height: 0.93;
	letter-spacing: -0.04em;
	color: var(--b2b-dark) !important;
}

.hbtc-b2b__title em {
	font-style: normal;
	color: var(--b2b-green) !important;
}

.hbtc-b2b__lead {
	margin: 0 0 clamp(26px, 3vw, 40px);
	max-width: 58ch;
	font-family: "Gilroy-Medium", "Gilroy-Regular", system-ui, sans-serif;
	font-size: 18px;
	line-height: 1.55;
	color: rgba(34, 31, 32, 0.76) !important;
}

.hbtc-b2b__hero-links {
	display: flex;
	flex-wrap: wrap;
	gap: 13px;
}

.hbtc-b2b__hero-mascot {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	min-width: 0;
}

.hbtc-b2b__hero-mascot img {
	width: 100%;
	max-width: 300px;
	max-height: 420px;
	height: auto;
	object-fit: contain;
	display: block;
	filter: drop-shadow(0 24px 40px rgba(34, 31, 32, 0.16));
}

/* ---------- Benefits ---------- */

.hbtc-b2b__benefits-head {
	max-width: 880px;
	margin-bottom: clamp(30px, 4vw, 54px);
}

.hbtc-b2b__benefits-title {
	margin: 0 !important;
	font-family: "Gilroy-ExtraBold", "Gilroy-Regular", system-ui, sans-serif;
	font-size: clamp(30px, 4.4vw, 60px) !important;
	font-weight: 800 !important;
	line-height: 0.98;
	letter-spacing: -0.03em;
	color: var(--b2b-dark) !important;
}

.hbtc-b2b__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: clamp(14px, 1.8vw, 24px);
}

.hbtc-b2b__card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: clamp(22px, 2.6vw, 32px);
	border-radius: clamp(18px, 2.2vw, 28px);
	background: var(--b2b-soft) !important;
	transition: transform 0.35s ease, background 0.35s ease;
}

.hbtc-b2b [data-hbtc-b2b-reveal].is-visible .hbtc-b2b__card {
	animation: hbtc-b2b-card-in 0.6s ease both;
	animation-delay: calc(var(--i, 0) * 70ms);
}

@keyframes hbtc-b2b-card-in {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hbtc-b2b__card:hover {
	transform: translateY(-4px);
	background: #efefef !important;
}

.hbtc-b2b__card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 999px;
	background: var(--b2b-green) !important;
	color: #ffffff !important;
	transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.hbtc-b2b__card:hover .hbtc-b2b__card-icon {
	background: var(--b2b-yellow) !important;
	color: var(--b2b-dark) !important;
	transform: rotate(-6deg);
}

.hbtc-b2b__card-icon svg {
	width: 20px;
	height: 20px;
}

.hbtc-b2b__card-title {
	margin: 4px 0 0;
	font-family: "Gilroy-ExtraBold", "Gilroy-Regular", system-ui, sans-serif;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--b2b-dark) !important;
}

.hbtc-b2b__card-text {
	margin: 0;
	font-family: "Gilroy-Medium", "Gilroy-Regular", system-ui, sans-serif;
	font-size: 15px;
	line-height: 1.55;
	color: rgba(34, 31, 32, 0.72) !important;
}

/* ---------- Video (menej dominantné, centrované) ---------- */

.hbtc-b2b__video-wrap {
	display: flex;
	justify-content: center;
}

.hbtc-b2b__video {
	position: relative;
	width: 100%;
	max-width: 960px;
	aspect-ratio: 16 / 9;
	border-radius: clamp(20px, 3vw, 34px);
	overflow: hidden;
	background: var(--b2b-dark) !important;
}

.hbtc-b2b__video-poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.hbtc-b2b__video:hover .hbtc-b2b__video-poster {
	transform: scale(1.03);
}

.hbtc-b2b__video-play {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: 100%;
	border: 0;
	padding: 0;
	background: rgba(34, 31, 32, 0.28) !important;
	cursor: pointer;
	transition: background 0.3s ease;
}

.hbtc-b2b__video-play:hover {
	background: rgba(34, 31, 32, 0.42) !important;
}

.hbtc-b2b__video-play-circle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: clamp(60px, 7vw, 84px);
	height: clamp(60px, 7vw, 84px);
	border-radius: 999px;
	background: var(--b2b-green) !important;
	color: #ffffff !important;
	transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.hbtc-b2b__video-play:hover .hbtc-b2b__video-play-circle {
	transform: scale(1.08);
	background: var(--b2b-yellow) !important;
	color: var(--b2b-dark) !important;
}

.hbtc-b2b__video-play-circle svg {
	width: 42%;
	height: 42%;
	margin-left: 4%;
}

.hbtc-b2b__video-play-label {
	font-family: "Gilroy-Medium", "Gilroy-Regular", system-ui, sans-serif;
	font-size: 15px;
	color: #ffffff !important;
}

.hbtc-b2b__video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ---------- Kontakt blok (svetlý, štýl Kontakt) ---------- */

.hbtc-b2b__contact {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: clamp(22px, 3vw, 40px);
	padding: clamp(26px, 3.4vw, 48px);
	border-radius: clamp(22px, 3vw, 34px);
	background: var(--b2b-soft) !important;
}

.hbtc-b2b__contact-person {
	display: flex;
	align-items: center;
	gap: clamp(16px, 2vw, 24px);
	min-width: 0;
}

.hbtc-b2b__avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: clamp(64px, 7vw, 84px);
	height: clamp(64px, 7vw, 84px);
	border-radius: 999px;
	overflow: hidden;
	background: var(--avatar-bg, #78b956) !important;
}

.hbtc-b2b__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hbtc-b2b__avatar-initial {
	font-family: "Gilroy-ExtraBold", "Gilroy-Regular", system-ui, sans-serif;
	font-size: clamp(26px, 3vw, 34px);
	color: #ffffff !important;
}

.hbtc-b2b__contact-info {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.hbtc-b2b__contact-info .hbtc-b2b__kicker {
	margin-bottom: 4px;
}

.hbtc-b2b__contact-name {
	font-family: "Gilroy-ExtraBold", "Gilroy-Regular", system-ui, sans-serif;
	font-size: clamp(22px, 2.6vw, 32px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--b2b-dark) !important;
}

.hbtc-b2b__contact-role {
	font-family: "Gilroy-Medium", "Gilroy-Regular", system-ui, sans-serif;
	font-size: 14px;
	color: rgba(34, 31, 32, 0.62) !important;
}

.hbtc-b2b__contact-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 13px;
}

/* ---------- Responzívne ---------- */

@media (max-width: 980px) {
	.hbtc-b2b__inner {
		padding-top: 28px;
	}

	.hbtc-b2b__hero {
		grid-template-columns: 1fr;
	}

	.hbtc-b2b__hero-mascot {
		order: -1;
		justify-content: flex-start;
	}

	.hbtc-b2b__hero-mascot img {
		max-width: 190px;
	}
}

@media (max-width: 680px) {
	.hbtc-b2b__contact {
		flex-direction: column;
		align-items: flex-start;
	}

	.hbtc-b2b__contact-actions {
		width: 100%;
		flex-direction: column;
		align-items: stretch;
	}

	.hbtc-b2b__pill {
		width: 100%;
	}

	.hbtc-b2b__hero-links {
		width: 100%;
		flex-direction: column;
	}
}

@media (max-width: 560px) {
	.hbtc-b2b__inner {
		padding-top: 18px;
	}
}
