/* HOBBYTEC Core — Kontaktná stránka [hbtc_contact] */

.hbtc-contact {
	--c-green:  #78b956;
	--c-yellow: #f1bb41;
	--c-dark:   #221f20;
	--c-cream:  #f1f1ee;
	--c-soft:   #f8f8f6;
	width: 100%;
	max-width: 1600px;
	margin-left: auto;
	margin-right: auto;
	font-family: "Gilroy-Regular", system-ui, sans-serif;
	color: var(--c-dark);
}

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

/* ── Reveal animácia ─────────────────────────────────────────────────────── */

.hbtc-contact [data-hbtc-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.6s ease, transform 0.7s cubic-bezier(.22, 1, .36, 1);
}

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

/* ── Wrap ────────────────────────────────────────────────────────────────── */

.hbtc-contact__wrap {
	width: 100%;
	margin: 0 auto;
	padding: 0 clamp(16px, 2.4vw, 36px);
}

/* ── Spoločné — kicker + nadpis sekcie ──────────────────────────────────── */

.hbtc-contact__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(--c-green) !important;
}

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

.hbtc-contact__section-head {
	margin-bottom: clamp(30px, 4vw, 54px);
}

.hbtc-contact__section-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(--c-dark) !important;
}

/* ── 1. HEADER (svetlý hero, výrazná typografia) ─────────────────────────── */

.hbtc-contact__header {
	padding: clamp(34px, 5vw, 76px) 0 clamp(34px, 4.5vw, 64px);
}

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

.hbtc-contact__logo {
	display: block;
	width: clamp(190px, 24vw, 320px);
	height: auto;
	margin: 0 0 clamp(22px, 3vw, 36px);
}

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

.hbtc-contact__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));
}

.hbtc-contact__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(--c-green) !important;
}

.hbtc-contact__eyebrow img {
	width: 22px;
	height: auto;
	display: block;
}

.hbtc-contact__heading {
	margin: 0 0 clamp(28px, 3.4vw, 44px) !important;
	font-family: "Gilroy-ExtraBold", "Gilroy-Regular", system-ui, sans-serif;
	font-size: clamp(42px, 7.4vw, 100px) !important;
	font-weight: 800 !important;
	line-height: 0.93;
	letter-spacing: -0.04em;
	color: var(--c-dark) !important;
}

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

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

.hbtc-contact__general-link {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 9px 28px 9px 9px;
	border-radius: 999px;
	background: var(--c-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;
	transition: transform 0.28s cubic-bezier(.22, 1, .36, 1);
}

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

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

.hbtc-contact__general-link:hover .hbtc-contact__general-link-ic {
	background: var(--c-yellow) !important;
	color: var(--c-dark) !important;
}

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

/* ── 2. SHOWROOMY / POBOČKY ──────────────────────────────────────────────── */

.hbtc-contact__branches {
	margin: 0;
	padding: clamp(46px, 6vw, 88px) 0;
	background: var(--c-soft);
	border-radius: clamp(32px, 4vw, 56px);
}

.hbtc-contact__branches-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(16px, 2vw, 26px);
}

/* Karta pobočky — chunky biela karta */
.hbtc-contact .hbtc-contact-branch {
	display: flex;
	flex-direction: column;
	background: #fff !important;
	border-radius: 34px;
	overflow: hidden;
	box-shadow: 0 6px 26px rgba(34, 31, 32, 0.06);
	transition:
		opacity 0.6s ease,
		transform 0.45s cubic-bezier(.22, 1, .36, 1),
		box-shadow 0.45s ease;
}

/* Hover po reveal — vyššia špecifickosť prebíja .is-visible transform */
.hbtc-contact .hbtc-contact-branch.is-visible:hover,
.hbtc-contact .hbtc-contact-branch:hover {
	transform: translateY(-8px);
	box-shadow: 0 24px 52px rgba(34, 31, 32, 0.14);
}

.hbtc-contact-branch__photo {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #fff;
	margin-bottom: -1px;
	transform: translateZ(0);
	will-change: transform;
	-webkit-mask-image: -webkit-radial-gradient(white, black);
}

.hbtc-contact-branch__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	backface-visibility: hidden;
	transform: translateZ(0);
	transition: transform 0.6s cubic-bezier(.22, 1, .36, 1);
}

/* fade zo spodu fotky do bielej karty (kryje aj prípadný sub-pixel šev) */
.hbtc-contact-branch__photo::after {
	content: "";
	position: absolute;
	left: -1px;
	right: -1px;
	bottom: -1px;
	height: 42%;
	pointer-events: none;
	background: linear-gradient(to top, #fff 0%, #fff 6%, rgba(255, 255, 255, 0) 100%);
}

.hbtc-contact-branch:hover .hbtc-contact-branch__photo img {
	transform: scale(1.06) translateZ(0);
}

/* Virtuálna prehliadka — flat oranžový overlay badge na fotke */
.hbtc-contact-branch__tour-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 8px 17px 8px 8px;
	border-radius: 999px;
	background: var(--c-yellow) !important;
	color: var(--c-dark) !important;
	text-decoration: none;
	box-shadow: 0 8px 22px rgba(241, 187, 65, 0.45);
	animation: hbtcTourPulse 2.4s ease-in-out infinite;
	transition: transform 0.25s cubic-bezier(.22, 1, .36, 1), box-shadow 0.25s ease;
}

@keyframes hbtcTourPulse {
	0%, 100% { box-shadow: 0 8px 22px rgba(241, 187, 65, 0.45), 0 0 0 0 rgba(241, 187, 65, 0.5); }
	50%      { box-shadow: 0 8px 22px rgba(241, 187, 65, 0.45), 0 0 0 9px rgba(241, 187, 65, 0); }
}

.hbtc-contact-branch__tour-badge:hover {
	transform: translateY(-2px) scale(1.03);
	box-shadow: 0 12px 28px rgba(241, 187, 65, 0.55);
}

.hbtc-contact-branch__tour-badge-ic {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 999px;
	background: var(--c-dark) !important;
	color: var(--c-yellow) !important;
	transition: transform 0.6s cubic-bezier(.22, 1, .36, 1);
}

.hbtc-contact-branch__tour-badge:hover .hbtc-contact-branch__tour-badge-ic {
	transform: rotate(360deg);
}

.hbtc-contact-branch__tour-badge-ic svg {
	width: 17px;
	height: 17px;
}

.hbtc-contact-branch__tour-badge-text {
	font-family: "Gilroy-Medium", "Gilroy-Regular", system-ui, sans-serif;
	font-weight: 500;
	font-size: 13px;
	line-height: 1;
	letter-spacing: -0.01em;
}

@media (prefers-reduced-motion: reduce) {
	.hbtc-contact-branch__tour-badge { animation: none; }
}

.hbtc-contact-branch__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: clamp(22px, 2.4vw, 30px);
}

.hbtc-contact-branch__name {
	margin: 0 0 10px !important;
	font-family: "Gilroy-ExtraBold", "Gilroy-ExtraBold", system-ui, sans-serif;
	font-weight: 800 !important;
	font-size: clamp(20px, 2vw, 26px) !important;
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--c-dark) !important;
}

.hbtc-contact-branch__address {
	margin-bottom: 18px;
	font-family: "Gilroy-Medium", "Gilroy-Regular", system-ui, sans-serif;
	font-size: 15px;
	line-height: 1.6;
	color: rgba(34, 31, 32, 0.55) !important;
}

.hbtc-contact-branch__hours-wrap {
	margin-bottom: 18px;
	padding: 16px 18px;
	border-radius: 20px;
	background: var(--c-soft);
}

.hbtc-contact-branch__hours-label {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 6px;
	font-family: "Gilroy-ExtraBold", "Gilroy-Regular", system-ui, sans-serif;
	font-size: 12px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--c-green) !important;
}

.hbtc-contact-branch__hours-label svg {
	width: 14px;
	height: 14px;
}

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

.hbtc-contact-branch__meta {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 22px;
}

.hbtc-contact-branch__meta-link {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	font-family: "Gilroy-Medium", "Gilroy-Regular", system-ui, sans-serif;
	font-size: 15px;
	color: rgba(34, 31, 32, 0.72) !important;
	text-decoration: none;
	transition: color 0.2s ease;
}

.hbtc-contact-branch__meta-link svg {
	flex: 0 0 auto;
	width: 17px;
	height: 17px;
	color: var(--c-green);
}

.hbtc-contact-branch__meta-link:hover {
	color: var(--c-dark) !important;
}

.hbtc-contact-branch__actions {
	margin: 0 0 18px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* Zavolať + toggle — defaultne (PC) skryté; __more je na PC vždy viditeľný */
.hbtc-contact-branch__toggle { display: none; }
.hbtc-contact-branch__actions .hbtc-contact-branch__call { display: none; }

.hbtc-contact-branch__more-actions { margin-top: 4px; }

/* ── CTA tlačidlo — layout + animácie presne ako hlavný CTA v navbare ─────── */
.hbtc-contact-cta {
	flex: 1 1 200px;
	display: flex;
	align-items: center;
	gap: 3px;
	text-decoration: none;
	transition: transform 0.18s cubic-bezier(.22, 1, .36, 1);
}

.hbtc-contact-cta:hover {
	transform: translateY(-2px);
}

.hbtc-contact-cta__main,
.hbtc-contact-cta__arrow {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 54px;
	border-radius: 999px;
	overflow: hidden;
	isolation: isolate;
}

.hbtc-contact-cta__main {
	flex: 1 1 auto;
	padding: 0 26px;
}

.hbtc-contact-cta__arrow {
	flex: 0 0 auto;
	width: 54px;
}

.hbtc-contact-cta__fill {
	position: absolute;
	inset: 0;
	z-index: 0;
	border-radius: inherit;
	transform: scaleX(0);
	transform-origin: right center;
	transition: transform 340ms cubic-bezier(.2, .75, .2, 1);
}

.hbtc-contact-cta__main .hbtc-contact-cta__fill {
	transition-duration: 320ms;
}

.hbtc-contact-cta__arrow .hbtc-contact-cta__fill {
	transition-duration: 300ms;
	transition-delay: 135ms;
}

.hbtc-contact-cta:hover .hbtc-contact-cta__fill {
	transform-origin: left center;
	transform: scaleX(1);
}

.hbtc-contact-cta__text {
	position: relative;
	z-index: 1;
	display: block;
	height: 1.25em;
	overflow: hidden;
	font-family: "Gilroy-Medium", "Gilroy-Regular", system-ui, sans-serif;
	font-size: 15px;
	line-height: 1.25;
}

.hbtc-contact-cta__text > span {
	display: block;
	height: 1.25em;
	transition: transform 400ms cubic-bezier(.22, 1, .36, 1);
}

.hbtc-contact-cta:hover .hbtc-contact-cta__text > span {
	transition-delay: 110ms;
	transform: translateY(-1.25em);
}

.hbtc-contact-cta__icon {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	overflow: hidden;
}

.hbtc-contact-cta__icon > span {
	position: absolute;
	inset: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform 400ms cubic-bezier(.22, 1, .36, 1);
}

.hbtc-contact-cta__icon > span:last-child {
	transform: translateX(-22px);
}

.hbtc-contact-cta:hover .hbtc-contact-cta__icon > span:first-child {
	transition-delay: 210ms;
	transform: translateX(22px);
}

.hbtc-contact-cta:hover .hbtc-contact-cta__icon > span:last-child {
	transition-delay: 210ms;
	transform: translateX(0);
}

.hbtc-contact-cta__icon svg {
	display: block;
	width: 18px;
	height: 18px;
}

/* Variant: Navigovať — zelená (biely text), fill čierny */
.hbtc-contact-cta--nav .hbtc-contact-cta__main,
.hbtc-contact-cta--nav .hbtc-contact-cta__arrow {
	background: var(--c-green) !important;
	color: #fff !important;
}

.hbtc-contact-cta--nav .hbtc-contact-cta__fill {
	background: var(--c-dark) !important;
}

.hbtc-contact-cta--nav:hover .hbtc-contact-cta__main,
.hbtc-contact-cta--nav:hover .hbtc-contact-cta__arrow {
	color: #fff !important;
}

/* Variant: Prehliadka — tmavá, fill zelený, text zostáva biely */
.hbtc-contact-cta--tour .hbtc-contact-cta__main {
	background: var(--c-dark) !important;
	color: #fff !important;
}

.hbtc-contact-cta--tour .hbtc-contact-cta__fill {
	background: var(--c-green) !important;
}

.hbtc-contact-cta--tour:hover .hbtc-contact-cta__main {
	color: #fff !important;
}

/* ── 3. FORMULÁR (ľavý intro stĺpec + pravý tmavý box) ───────────────────── */

.hbtc-contact__form-section {
	padding: clamp(50px, 7vw, 96px) 0;
	background: #fff;
}

.hbtc-contact__form-wrap {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: clamp(32px, 5vw, 76px);
	align-items: start;
}

.hbtc-contact__form-left {
	position: sticky;
	top: 110px;
}

.hbtc-contact__form-desc {
	margin: 18px 0 28px !important;
	font-family: "Gilroy-Medium", "Gilroy-Regular", system-ui, sans-serif;
	font-size: 17px;
	line-height: 1.6;
	color: rgba(34, 31, 32, 0.62) !important;
	max-width: 38ch;
}

.hbtc-contact__form-contacts {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.hbtc-contact__form-contact-link {
	display: inline-flex;
	align-items: center;
	gap: 13px;
	font-family: "Gilroy-Medium", "Gilroy-Regular", system-ui, sans-serif;
	font-size: 16px;
	color: var(--c-dark) !important;
	text-decoration: none;
}

.hbtc-contact__form-contact-ic {
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(120, 185, 86, 0.13) !important;
	color: var(--c-green) !important;
	transition: background 0.25s ease, color 0.25s ease;
}

.hbtc-contact__form-contact-link:hover .hbtc-contact__form-contact-ic {
	background: var(--c-green) !important;
	color: #fff !important;
}

.hbtc-contact__form-contact-ic svg {
	width: 19px;
	height: 19px;
}

/* Sociálne siete vedľa formulára */
.hbtc-contact__socials {
	margin-top: clamp(24px, 3vw, 34px);
}

.hbtc-contact__socials-label {
	display: block;
	margin-bottom: 13px;
	font-family: "Gilroy-Medium", "Gilroy-Regular", system-ui, sans-serif;
	font-size: 13px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(34, 31, 32, 0.42) !important;
}

/* ── Štatistiky ─────────────────────────────────────────────────────────── */
.hbtc-contact__stats {
	padding: clamp(46px, 6vw, 88px) 0 0;
}

/* ── Google recenzie (widget na konci) ──────────────────────────────────── */
.hbtc-contact__reviews {
	padding: clamp(40px, 6vw, 78px) 0 clamp(52px, 7vw, 96px);
}

.hbtc-contact__reviews .hbtc-contact__wrap {
	display: flex;
	justify-content: center;
}

/* Pravý tmavý formulárový box */
.hbtc-contact__form-right {
	background: var(--c-dark) !important;
	border-radius: 36px;
	padding: clamp(26px, 3.5vw, 50px);
}

.hbtc-contact__form-missing {
	margin: 0;
	padding: 30px 0;
	text-align: center;
	font-family: "Gilroy-Medium", "Gilroy-Regular", system-ui, sans-serif;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.6) !important;
}

/* Formidable — tmavé prevedenie (ako dopytový formulár) */
.hbtc-contact__form-right .frm_forms,
.hbtc-contact__form-right .frm_forms * { box-sizing: border-box; }

/* labely vizuálne skryté (a11y zostáva); consent zostáva viditeľný */
.hbtc-contact__form-right .frm_primary_label,
.hbtc-contact__form-right .frm_sub_label,
.hbtc-contact__form-right .frm_form_subfield label {
	position: absolute !important;
	width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.hbtc-contact__form-right .frm_checkbox label,
.hbtc-contact__form-right .frm_radio label {
	position: static !important; width: auto; height: auto; clip: auto;
	overflow: visible; white-space: normal;
	font-family: "Gilroy-Regular", system-ui, sans-serif;
	font-size: 13px; line-height: 1.5;
	color: rgba(255, 255, 255, 0.6) !important;
}

.hbtc-contact__form-right .frm_checkbox label a,
.hbtc-contact__form-right .frm_radio label a {
	color: var(--c-green) !important;
	text-decoration: underline;
}

.hbtc-contact__form-right input[type="text"],
.hbtc-contact__form-right input[type="email"],
.hbtc-contact__form-right input[type="tel"],
.hbtc-contact__form-right input[type="number"],
.hbtc-contact__form-right input[type="url"],
.hbtc-contact__form-right input[type="date"],
.hbtc-contact__form-right select,
.hbtc-contact__form-right textarea {
	width: 100%;
	padding: 20px 24px;
	border: none !important;
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.07) !important;
	color: #fff !important;
	font-family: "Gilroy-Regular", system-ui, sans-serif;
	font-size: 17px;
	line-height: 1.4;
	outline: 2px solid transparent;
	outline-offset: 0;
	box-shadow: none !important;
	transition: outline-color 0.25s cubic-bezier(.22, 1, .36, 1), background 0.25s ease;
}

.hbtc-contact__form-right textarea {
	min-height: 140px;
	resize: vertical;
}

.hbtc-contact__form-right input:focus,
.hbtc-contact__form-right select:focus,
.hbtc-contact__form-right textarea:focus {
	outline-color: var(--c-green);
	background: rgba(255, 255, 255, 0.11) !important;
}

.hbtc-contact__form-right ::placeholder {
	color: rgba(255, 255, 255, 0.5) !important;
	opacity: 1;
}

.hbtc-contact__form-right .frm_form_field {
	margin-bottom: 12px;
}

/* submit — sweep fill (zelená → tmavá zľava) + lift */
.hbtc-contact__form-right .frm_submit {
	margin-top: 6px;
}

.hbtc-contact .hbtc-contact__form-right .frm_submit button,
.hbtc-contact .hbtc-contact__form-right .frm_button_submit,
.hbtc-contact .hbtc-contact__form-right button[type="submit"],
.hbtc-contact .hbtc-contact__form-right input[type="submit"] {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: auto !important;
	min-width: 220px !important;
	height: auto !important;
	border: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	text-shadow: none !important;
	cursor: pointer !important;
	padding: 19px 48px !important;
	border-radius: 999px !important;
	margin: 0 !important;
	color: #fff !important;
	background: var(--c-green) linear-gradient(to right, var(--c-dark) 50%, var(--c-green) 50%) no-repeat !important;
	background-size: 220% 100% !important;
	background-position: 100% 0 !important;
	font-family: "Gilroy-ExtraBold", "Gilroy-Medium", system-ui, sans-serif !important;
	font-weight: 800 !important;
	font-size: 18px !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	transition: background-position 0.45s cubic-bezier(.22, 1, .36, 1), transform 0.25s cubic-bezier(.22, 1, .36, 1) !important;
}

.hbtc-contact .hbtc-contact__form-right .frm_submit button:hover,
.hbtc-contact .hbtc-contact__form-right .frm_button_submit:hover,
.hbtc-contact .hbtc-contact__form-right button[type="submit"]:hover,
.hbtc-contact .hbtc-contact__form-right input[type="submit"]:hover {
	background-position: 0 0 !important;
	transform: translateY(-2px) !important;
}

/* reveal polí so staggerom */
.hbtc-contact__form-right .frm_form_field,
.hbtc-contact__form-right .frm_submit {
	opacity: 0;
	transform: translateY(16px);
}

.hbtc-contact__form-right.is-visible .frm_form_field,
.hbtc-contact__form-right.is-visible .frm_submit {
	animation: hbtcContactFieldIn 0.55s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes hbtcContactFieldIn {
	from { opacity: 0; transform: translateY(16px); }
	to   { opacity: 1; transform: none; }
}

.hbtc-contact__form-right.is-visible .frm_form_field:nth-child(1) { animation-delay: .04s; }
.hbtc-contact__form-right.is-visible .frm_form_field:nth-child(2) { animation-delay: .10s; }
.hbtc-contact__form-right.is-visible .frm_form_field:nth-child(3) { animation-delay: .16s; }
.hbtc-contact__form-right.is-visible .frm_form_field:nth-child(4) { animation-delay: .22s; }
.hbtc-contact__form-right.is-visible .frm_form_field:nth-child(5) { animation-delay: .28s; }
.hbtc-contact__form-right.is-visible .frm_form_field:nth-child(6) { animation-delay: .34s; }
.hbtc-contact__form-right.is-visible .frm_form_field:nth-child(7) { animation-delay: .40s; }
.hbtc-contact__form-right.is-visible .frm_form_field:nth-child(n+8) { animation-delay: .46s; }

/* ── 4. TÍM ──────────────────────────────────────────────────────────────── */

.hbtc-contact__team {
	margin: clamp(10px, 2vw, 24px) clamp(10px, 2vw, 24px) 0;
	padding: clamp(46px, 6vw, 88px) 0;
	background: var(--c-soft);
	border-radius: clamp(32px, 4vw, 56px);
}

.hbtc-contact__team-cat {
	margin-bottom: clamp(40px, 5vw, 68px);
}

.hbtc-contact__team-cat:last-child {
	margin-bottom: 0;
}

.hbtc-contact__cat-title {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0 0 clamp(18px, 2.5vw, 28px) !important;
	font-family: "Gilroy-ExtraBold", "Gilroy-Regular", system-ui, sans-serif;
	font-size: clamp(15px, 1.6vw, 20px) !important;
	font-weight: 800 !important;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: rgba(34, 31, 32, 0.42) !important;
}

.hbtc-contact__cat-title::after {
	content: "";
	flex: 1;
	height: 2px;
	border-radius: 999px;
	background: rgba(34, 31, 32, 0.08);
}

.hbtc-contact__members-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(14px, 1.6vw, 22px);
}

.hbtc-contact .hbtc-contact-member {
	position: relative;
	border-radius: 26px;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: var(--c-cream);
	transition:
		opacity 0.6s ease,
		transform 0.45s cubic-bezier(.22, 1, .36, 1);
}

.hbtc-contact .hbtc-contact-member.is-visible:hover,
.hbtc-contact .hbtc-contact-member:hover {
	transform: translateY(-6px);
}

.hbtc-contact-member__inner {
	position: absolute;
	inset: 0;
}

.hbtc-contact-member__inner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
	transition: transform 0.6s cubic-bezier(.22, 1, .36, 1);
}

.hbtc-contact-member:hover .hbtc-contact-member__inner img {
	transform: scale(1.06);
}

.hbtc-contact-member__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(34, 31, 32, 0.22);
}

.hbtc-contact-member__placeholder svg {
	width: 46px;
	height: 46px;
}

.hbtc-contact-member__overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 56px 16px 16px;
	background: linear-gradient(
		to top,
		rgba(120, 185, 86, 0.97) 0%,
		rgba(120, 185, 86, 0.74) 34%,
		rgba(120, 185, 86, 0.28) 64%,
		rgba(120, 185, 86, 0) 100%
	);
}

.hbtc-contact-member__name {
	display: block;
	margin-bottom: 9px;
	font-family: "Gilroy-ExtraBold", "Gilroy-Regular", system-ui, sans-serif;
	font-weight: 800 !important;
	font-size: clamp(18px, 1.5vw, 22px) !important;
	line-height: 1.12;
	letter-spacing: -0.01em;
	color: #fff !important;
}

.hbtc-contact-member__position {
	display: inline-flex;
	align-items: center;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--c-dark) !important;
	font-family: "Gilroy-Medium", "Gilroy-Regular", system-ui, sans-serif;
	font-size: 12px !important;
	line-height: 1.2;
	color: #fff !important;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 980px) {
	.hbtc-contact__hero {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.hbtc-contact__hero-mascot {
		order: -1;
		justify-content: center;
	}

	.hbtc-contact__hero-mascot img {
		max-width: 180px;
	}

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

	.hbtc-contact__form-left {
		position: static;
	}

	.hbtc-contact__members-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.hbtc-contact__hero-mascot img {
		max-width: 140px;
	}

	/* showroomy — plná šírka, ale zaoblené rohy */
	.hbtc-contact__branches {
		margin-left: 0;
		margin-right: 0;
		border-radius: clamp(24px, 5vw, 32px);
	}

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

	/* ── Showroom karty — kompaktné, rozbaľovateľné (mobil) ─────────────── */
	.hbtc-contact-branch__actions .hbtc-contact-branch__call { display: flex; }

	.hbtc-contact-branch__actions { margin-bottom: 0; }

	.hbtc-contact-branch__toggle {
		display: inline-flex;
		align-items: center;
		gap: 7px;
		align-self: center;
		margin-top: 14px;
		padding: 11px 20px;
		border: 0;
		border-radius: 999px;
		background: rgba(34, 31, 32, 0.06);
		color: var(--c-dark);
		font-family: "Gilroy-Medium", "Gilroy-Regular", system-ui, sans-serif;
		font-size: 14px;
		cursor: pointer;
		transition: background 0.2s ease;
	}
	.hbtc-contact-branch__toggle:hover { background: rgba(34, 31, 32, 0.1); }

	.hbtc-contact-branch__toggle-icon {
		width: 15px;
		height: 15px;
		transition: transform 0.3s ease;
	}
	.hbtc-contact-branch__toggle-less { display: none; }

	.hbtc-contact-branch.is-open .hbtc-contact-branch__toggle-more { display: none; }
	.hbtc-contact-branch.is-open .hbtc-contact-branch__toggle-less { display: inline; }
	.hbtc-contact-branch.is-open .hbtc-contact-branch__toggle-icon { transform: rotate(180deg); }

	.hbtc-contact-branch__more {
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.45s cubic-bezier(.22, 1, .36, 1);
	}
	.hbtc-contact-branch.is-open .hbtc-contact-branch__more {
		max-height: 800px;
	}
	.hbtc-contact-branch__more > *:first-child { margin-top: 16px; }

	.hbtc-contact__members-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.hbtc-contact__general-links {
		flex-direction: column;
		align-items: stretch;
	}

	.hbtc-contact__form-right {
		border-radius: 28px;
	}

	.hbtc-contact .hbtc-contact-branch {
		border-radius: 26px;
	}

	/* ── Tím (mobil) — text POD fotkou, nie cez ňu ──────────────────────── */
	.hbtc-contact .hbtc-contact-member {
		aspect-ratio: auto;
		background: #fff;
		box-shadow: 0 6px 20px rgba(34, 31, 32, 0.06);
	}

	.hbtc-contact-member__inner {
		position: relative;
		aspect-ratio: 1 / 1;
	}

	.hbtc-contact-member__overlay {
		position: static;
		padding: 12px 13px 15px;
		background: none;
	}

	.hbtc-contact-member__name {
		margin-bottom: 4px;
		font-size: 15px !important;
		line-height: 1.15;
		color: #221f20 !important;
	}

	.hbtc-contact-member__position {
		display: block;
		padding: 0;
		border-radius: 0;
		background: none !important;
		font-size: 12px !important;
		line-height: 1.3;
		text-align: left;
		color: rgba(34, 31, 32, 0.5) !important;
	}
}

@media (max-width: 480px) {
	.hbtc-contact__hero-mascot img {
		max-width: 120px;
	}

	.hbtc-contact__members-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.hbtc-contact__form-right {
		padding: 22px 18px;
	}

	.hbtc-contact .hbtc-contact-member {
		border-radius: 18px;
	}

	.hbtc-contact__form-right input[type="text"],
	.hbtc-contact__form-right input[type="email"],
	.hbtc-contact__form-right input[type="tel"],
	.hbtc-contact__form-right input[type="number"],
	.hbtc-contact__form-right input[type="url"],
	.hbtc-contact__form-right select,
	.hbtc-contact__form-right textarea {
		padding: 17px 20px;
		font-size: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hbtc-contact [data-hbtc-reveal] {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}
