/* HOBBYTEC Core — Priebeh zákazky [hbtc_process] (multistep) */

.hbtc-proc { width: 100%; max-width: 1600px; margin-left: auto; margin-right: auto; font-family: "Gilroy-Regular", system-ui, sans-serif; }
.hbtc-proc *, .hbtc-proc *::before, .hbtc-proc *::after { box-sizing: border-box; }

.hbtc-proc__inner {
	max-width: 1000px; margin: 0 auto;
	background: #1b1b1b; border-radius: 34px; color: #fff;
	padding: clamp(28px, 4vw, 52px);
	opacity: 0; transform: translateY(28px);
	transition: opacity .6s ease, transform .7s cubic-bezier(.22,1,.36,1);
}
.hbtc-proc.is-visible .hbtc-proc__inner { opacity: 1; transform: none; }

/* ── Hlavička ── */
.hbtc-proc__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.hbtc-proc__title { margin: 0; font-family: "Gilroy-ExtraBold", system-ui, sans-serif; font-weight: 800; font-size: clamp(24px, 3vw, 38px); letter-spacing: -1px; color: #fff !important; }
.hbtc-proc__nav { display: flex; gap: 10px; flex: 0 0 auto; }
.hbtc-proc__nav-btn {
	width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
	background: rgba(255,255,255,.10) !important; color: #fff !important;
	transition: background .2s ease, opacity .2s ease, transform .2s ease;
}
.hbtc-proc__nav-btn svg { width: 20px; height: 20px; }
.hbtc-proc__prev svg { transform: rotate(180deg); }
.hbtc-proc__nav-btn:hover:not(:disabled) { background: #78b956 !important; transform: translateY(-2px); }
.hbtc-proc__nav-btn:disabled { opacity: .3; cursor: default; }

/* Play / pause toggle */
.hbtc-proc__ic { display: inline-flex; align-items: center; justify-content: center; }
.hbtc-proc__ic svg { width: 18px; height: 18px; }
.hbtc-proc__ic--play { display: none; }
.hbtc-proc.is-paused .hbtc-proc__ic--pause { display: none; }
.hbtc-proc.is-paused .hbtc-proc__ic--play { display: inline-flex; }

/* Autoplay countdown bar */
.hbtc-proc__autobar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.10); overflow: hidden; margin-bottom: 24px; }
.hbtc-proc__autobar-fill { display: block; height: 100%; width: 0; background: #78b956; border-radius: 4px; }

/* ── Timeline ── */
.hbtc-proc__track { position: relative; display: flex; justify-content: space-between; gap: 6px; margin-bottom: 38px; }
/* okraje čiary = stredy prvého/posledného bodu (pol stĺpca = 50%/počet krokov) */
.hbtc-proc__line { position: absolute; left: calc(50% / var(--steps, 5)); right: calc(50% / var(--steps, 5)); top: 19px; height: 3px; background: rgba(255,255,255,.12); border-radius: 3px; }
.hbtc-proc__line-fill { display: block; height: 100%; width: 0; background: #78b956; border-radius: 3px; transition: width .45s cubic-bezier(.22,1,.36,1); }
.hbtc-proc__dot { position: relative; z-index: 1; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 9px; background: none; border: 0; cursor: pointer; padding: 0; }
.hbtc-proc__dot-num {
	width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	background: #2a2a2a !important; color: rgba(255,255,255,.6) !important; border: 2px solid #1b1b1b;
	font-family: "Gilroy-ExtraBold", system-ui, sans-serif; font-weight: 800; font-size: 15px;
	transition: background .3s ease, color .3s ease, transform .3s ease;
}
.hbtc-proc__dot-label { font-family: "Gilroy-Medium", system-ui, sans-serif; font-weight: 500; font-size: 13px; line-height: 1.2; color: rgba(255,255,255,.55) !important; text-align: center; transition: color .2s ease; }
.hbtc-proc__dot.is-done .hbtc-proc__dot-num { background: #78b956 !important; color: #fff !important; }
.hbtc-proc__dot.is-active .hbtc-proc__dot-num { background: #78b956 !important; color: #fff !important; transform: scale(1.12); }
.hbtc-proc__dot.is-active .hbtc-proc__dot-label { color: #fff !important; }
.hbtc-proc__dot:hover .hbtc-proc__dot-num { transform: scale(1.08); }

/* ── Panely ── */
.hbtc-proc__stage { position: relative; }
.hbtc-proc__panel { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
.hbtc-proc__panel[hidden] { display: none; }
.hbtc-proc__panel.is-active { animation: hbtcProcIn .5s cubic-bezier(.22,1,.36,1) both; }
@keyframes hbtcProcIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.hbtc-proc__big {
	flex: 0 0 auto; font-family: "Gilroy-ExtraBold", system-ui, sans-serif; font-weight: 800;
	font-size: clamp(78px, 12vw, 150px); line-height: .8; color: rgba(120,185,86,.20) !important;
}
.hbtc-proc__content { min-width: 0; }
.hbtc-proc__step-title { display: block; font-family: "Gilroy-Medium", system-ui, sans-serif; font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #78b956 !important; }
.hbtc-proc__heading { margin: 8px 0 12px; font-family: "Gilroy-ExtraBold", system-ui, sans-serif; font-weight: 800; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.06; letter-spacing: -.5px; color: #fff !important; }
.hbtc-proc__text { margin: 0; max-width: 58ch; font-family: "Gilroy-Medium", system-ui, sans-serif; font-weight: 500; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.55; color: rgba(255,255,255,.72) !important; }

/* ── Responsive ── */
@media (max-width: 760px) {
	.hbtc-proc__dot-label { display: none; }
	.hbtc-proc__track { margin-bottom: 28px; }
	.hbtc-proc__panel { flex-direction: column; align-items: flex-start; gap: 6px; }
	.hbtc-proc__big { font-size: 72px; }
}

@media (prefers-reduced-motion: reduce) {
	.hbtc-proc__inner { opacity: 1 !important; transform: none !important; transition: none !important; }
	.hbtc-proc__panel.is-active { animation: none !important; }
	.hbtc-proc__line-fill { transition: none !important; }
}
