/* =========================================================
   GIREMRUS — Equipment Selection Wizard CSS
   Uses --wz-* tokens from girem-design-system.css
   ========================================================= */

/* ---------- Page hero ---------- */
.girem-wizard-hero {
	background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #3b27b8 100%);
	color: #fff;
	padding: 64px 24px 56px;
}
.girem-wizard-hero *,
.girem-wizard-hero *::before,
.girem-wizard-hero *::after {
	color: inherit;
}
.girem-wizard-hero__shell {
	max-width: 860px;
	margin: 0 auto;
}
.girem-wizard-hero__eyebrow {
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #a5b4fc !important;
}
.girem-wizard-hero__title {
	margin: 0 0 16px;
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.01em;
	color: #fff !important;
}
.girem-wizard-hero__lead {
	margin: 0 0 24px;
	font-size: 1.0625rem;
	color: rgba(255, 255, 255, .85) !important;
	line-height: 1.65;
}
.girem-wizard-hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.girem-wizard-hero__badges span {
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 8px;
	padding: 5px 12px;
	font-size: .8125rem;
	font-weight: 500;
	color: #e0e7ff;
}

/* ---------- Wizard container ---------- */
.girem-wizard-wrap {
	background: var(--surface-50, #f8fafc);
	padding: 48px 24px 64px;
	min-height: 400px;
}
.girem-wizard-shell {
	max-width: 860px;
	margin: 0 auto;
}

/* ---------- Progress ---------- */
.girem-wizard-progress {
	margin-bottom: 40px;
}
.girem-wizard-progress__track {
	height: 4px;
	background: var(--border, #e2e8f0);
	border-radius: 4px;
	margin-bottom: 16px;
	overflow: hidden;
}
.girem-wizard-progress__fill {
	height: 100%;
	background: var(--brand-primary, #4933d1);
	border-radius: 4px;
	transition: width 0.4s ease;
}
.girem-wizard-progress__steps {
	display: flex;
	justify-content: space-between;
	max-width: 480px;
}
.girem-wizard-progress__step {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--text-soft, #94a3b8);
	font-size: .875rem;
}
.girem-wizard-progress__step.is-active {
	color: var(--brand-primary, #4933d1);
	font-weight: 600;
}
.girem-wizard-progress__step.is-done { color: #22c55e; }
.girem-wizard-progress__dot {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--border, #e2e8f0);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: .8125rem;
	font-weight: 700;
	flex-shrink: 0;
	transition: background 0.2s, color 0.2s;
}
.girem-wizard-progress__step.is-active .girem-wizard-progress__dot {
	background: var(--brand-primary, #4933d1);
	color: #fff;
}
.girem-wizard-progress__step.is-done .girem-wizard-progress__dot {
	background: #22c55e;
	color: #fff;
}

/* ---------- Steps ---------- */
.girem-wizard-step__title {
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
	font-weight: 700;
	color: var(--text, #0f172a);
	margin: 0 0 8px;
}
.girem-wizard-step__sub {
	margin: 0 0 28px;
	font-size: .9375rem;
	color: var(--text-muted, #64748b);
}

/* ---------- Category cards grid ---------- */
.girem-wizard-cats {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 12px;
	margin-bottom: 32px;
}
.girem-wizard-cat {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px;
	background: var(--surface, #fff);
	border: 2px solid var(--border, #e2e8f0);
	border-radius: 14px;
	cursor: pointer;
	transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
	position: relative;
}
.girem-wizard-cat:hover {
	border-color: #c4b5fd;
	background: #ede9ff;
}
.girem-wizard-cat__input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}
.girem-wizard-cat:has(.girem-wizard-cat__input:checked) {
	border-color: var(--brand-primary, #4933d1);
	background: #ede9ff;
	box-shadow: 0 4px 16px rgba(73, 51, 209, .15);
}
.girem-wizard-cat__icon { font-size: 1.75rem; line-height: 1; }
.girem-wizard-cat__title {
	font-size: .9375rem;
	font-weight: 700;
	color: var(--text, #0f172a);
	line-height: 1.3;
}
.girem-wizard-cat:has(.girem-wizard-cat__input:checked) .girem-wizard-cat__title {
	color: var(--brand-primary, #4933d1);
}
.girem-wizard-cat__sub {
	font-size: .8125rem;
	color: var(--text-soft, #94a3b8);
	line-height: 1.4;
}

/* ---------- Field groups ---------- */
.girem-wizard-field-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 16px;
}
@media (max-width: 600px) { .girem-wizard-field-grid { grid-template-columns: 1fr; } }

.girem-wizard-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: .9rem;
	font-weight: 600;
	color: var(--text-secondary, #475569);
}
.girem-wizard-field--full { grid-column: 1 / -1; margin-bottom: 12px; }
.girem-wizard-field--check {
	flex-direction: row;
	align-items: center;
	gap: 10px;
	font-weight: 400;
	color: var(--text-muted, #64748b);
	font-size: .875rem;
}
.girem-wizard-field--check a { color: var(--brand-primary, #4933d1); }

.girem-wizard-input {
	width: 100%;
	padding: 10px 14px;
	border: 1.5px solid var(--border-strong, #cbd5e1);
	border-radius: 10px;
	font-size: .9375rem;
	font-family: inherit;
	color: var(--text, #0f172a);
	background: var(--surface, #fff);
	outline: none;
	transition: border-color 0.15s, box-shadow 0.15s;
	box-sizing: border-box;
}
.girem-wizard-input:focus {
	border-color: var(--brand-primary, #4933d1);
	box-shadow: 0 0 0 3px rgba(73, 51, 209, 0.15);
}
.girem-wizard-textarea { resize: vertical; min-height: 88px; }
.girem-wizard-checkbox {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	accent-color: var(--brand-primary, #4933d1);
	cursor: pointer;
}

/* ---------- Upload area ---------- */
.girem-wizard-upload {
	border: 2px dashed var(--border-strong, #cbd5e1);
	border-radius: 14px;
	padding: 28px 20px;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
	font-size: .875rem;
	color: var(--text-soft, #94a3b8);
	position: relative;
}
.girem-wizard-upload:hover {
	border-color: var(--brand-primary, #4933d1);
	background: #ede9ff;
}
.girem-wizard-upload svg { width: 48px; height: 48px; margin: 0 auto 8px; display: block; }
.girem-wizard-upload p { margin: 4px 0; }
.girem-wizard-upload__link {
	color: var(--brand-primary, #4933d1);
	cursor: pointer;
	text-decoration: underline;
}
.girem-wizard-upload__hint { font-size: .8125rem; }
.girem-wizard-file-input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; cursor: pointer; }
.girem-wizard-file-preview {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 10px;
	font-size: .875rem;
	color: var(--text-secondary, #475569);
}
.girem-wizard-file-preview img {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: 8px;
	border: 1px solid var(--border, #e2e8f0);
}

/* ---------- Summary box ---------- */
.girem-wizard-summary {
	background: #ede9ff;
	border: 1px solid #c4b5fd;
	border-radius: 12px;
	padding: 16px 20px;
	margin-bottom: 24px;
	font-size: .9rem;
	color: var(--text-secondary, #475569);
	line-height: 1.6;
}
.girem-wizard-summary strong { color: var(--brand-primary, #4933d1); }

/* ---------- Nav buttons ---------- */
.girem-wizard-nav {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-top: 24px;
}
.girem-wizard-btn {
	padding: 12px 28px;
	border-radius: 10px;
	font-size: .9375rem;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	border: 2px solid transparent;
	transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
	line-height: 1;
}
.girem-wizard-btn--primary {
	background: var(--brand-primary, #4933d1);
	color: #fff;
	border-color: var(--brand-primary, #4933d1);
}
.girem-wizard-btn--primary:hover {
	background: var(--brand-dark, #3b27b8);
	border-color: var(--brand-dark, #3b27b8);
}
.girem-wizard-btn--primary:active { transform: scale(0.97); }
.girem-wizard-btn--primary:disabled { opacity: .45; cursor: not-allowed; }
.girem-wizard-btn--ghost {
	background: transparent;
	color: var(--text-secondary, #475569);
	border-color: var(--border-strong, #cbd5e1);
}
.girem-wizard-btn--ghost:hover {
	border-color: var(--text-muted, #64748b);
	color: var(--text, #0f172a);
}
.girem-wizard-btn--xl { padding: 14px 36px; font-size: 1.0625rem; }

/* ---------- Success screen ---------- */
.girem-wizard-success {
	text-align: center;
	padding: 48px 24px;
}
.girem-wizard-success__icon {
	width: 72px;
	height: 72px;
	background: #d1fae5;
	color: #059669;
	font-size: 2rem;
	font-weight: 700;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 24px;
}
.girem-wizard-success__title {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--text, #0f172a);
	margin: 0 0 12px;
}
.girem-wizard-success__text {
	font-size: 1rem;
	color: var(--text-muted, #64748b);
	line-height: 1.65;
	max-width: 520px;
	margin: 0 auto 28px;
}
.girem-wizard-success__contacts {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

/* ---------- Trust strip ---------- */
.girem-wizard-trust {
	background: #1e1b4b;
	padding: 20px 24px;
}
.girem-wizard-trust__shell {
	max-width: 860px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 16px 32px;
}
.girem-wizard-trust__shell span {
	font-size: .875rem;
	color: #a5b4fc;
	font-weight: 500;
}

/* ---------- Fallback form ---------- */
.girem-wizard-fallback {
	padding: 56px 24px;
	background: var(--surface-50, #f8fafc);
}
.girem-wizard-fallback__shell { max-width: 860px; margin: 0 auto; }
.girem-wizard-fallback__text {
	margin: 0 0 24px;
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--text-secondary, #475569);
}

/* ---------- Hero CTA buttons ---------- */
.girem-wizard-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}
.girem-wizard-hero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 13px 28px;
	border-radius: 10px;
	font-size: .9375rem;
	font-weight: 600;
	text-decoration: none;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
	white-space: nowrap;
}
.girem-wizard-hero__btn--primary {
	background: #4933d1;
	color: #fff;
	border: 2px solid transparent;
}
.girem-wizard-hero__btn--primary:hover { background: #3b27b8; color: #fff; }
.girem-wizard-hero__btn--ghost {
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255,255,255,.35);
}
.girem-wizard-hero__btn--ghost:hover { border-color: #fff; }

/* ---------- Stats ---------- */
.girem-podbor-stats {
	background: #0d1117;
	padding: 32px 24px;
}
.girem-podbor-stats__shell {
	max-width: 1100px;
	margin: 0 auto;
}
.girem-podbor-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
}
.girem-podbor-stats__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 16px 24px;
	border-right: 1px solid rgba(255,255,255,.08);
}
.girem-podbor-stats__item:last-child { border-right: none; }
.girem-podbor-stats__num {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	color: #a5b4fc;
	line-height: 1.1;
	margin-bottom: 4px;
}
.girem-podbor-stats__label {
	font-size: .8125rem;
	color: rgba(255,255,255,.55);
}

/* ---------- Process ---------- */
.girem-podbor-process {
	background: #f8fafc;
	padding: 72px 24px;
}
.girem-podbor-process__shell {
	max-width: 1100px;
	margin: 0 auto;
}
.girem-podbor-process__title {
	text-align: center;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 12px;
}
.girem-podbor-process__lead {
	text-align: center;
	color: #64748b;
	font-size: 1rem;
	margin: 0 0 48px;
}
.girem-podbor-process__steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.girem-podbor-process__step {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 28px 24px;
}
.girem-podbor-process__num {
	font-size: 2.25rem;
	font-weight: 900;
	color: #4933d1;
	opacity: .2;
	line-height: 1;
	margin-bottom: 12px;
}
.girem-podbor-process__body h3 {
	font-size: 1rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 8px;
}
.girem-podbor-process__body p {
	font-size: .875rem;
	color: #475569;
	line-height: 1.6;
	margin: 0;
}

/* ---------- Equipment categories ---------- */
.girem-podbor-cats {
	background: #fff;
	padding: 72px 24px;
}
.girem-podbor-cats__shell {
	max-width: 1100px;
	margin: 0 auto;
}
.girem-podbor-cats__title {
	text-align: center;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 12px;
}
.girem-podbor-cats__lead {
	text-align: center;
	color: #64748b;
	margin: 0 0 40px;
}
.girem-podbor-cats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.girem-podbor-cats__card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	background: #f8fafc;
	border: 1.5px solid #e2e8f0;
	border-radius: 12px;
	padding: 20px 16px;
	text-decoration: none;
	color: #0f172a;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.girem-podbor-cats__card:hover {
	border-color: #4933d1;
	box-shadow: 0 4px 16px rgba(73,51,209,.1);
}
.girem-podbor-cats__card--accent {
	border-color: #4933d1;
	background: #f0eeff;
}
.girem-podbor-cats__card--muted {
	border-color: #e2e8f0;
	background: #fafafa;
}
.girem-podbor-cats__icon {
	font-size: 1.5rem;
	line-height: 1;
}
.girem-podbor-cats__card strong {
	font-size: .9375rem;
	font-weight: 700;
}
.girem-podbor-cats__card span:last-child {
	font-size: .8125rem;
	color: #64748b;
	line-height: 1.4;
}

/* ---------- Benefits ---------- */
.girem-podbor-benefits {
	background: #fff;
	padding: 72px 24px;
}
.girem-podbor-benefits__shell {
	max-width: 1100px;
	margin: 0 auto;
}
.girem-podbor-benefits__title {
	text-align: center;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	color: #111827;
	margin: 0 0 40px;
}
.girem-podbor-benefits__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.girem-podbor-benefits__card {
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 28px 24px;
}
.girem-podbor-benefits__icon {
	font-size: 1.75rem;
	display: block;
	margin-bottom: 12px;
}
.girem-podbor-benefits__card strong {
	display: block;
	font-size: 1rem;
	font-weight: 700;
	color: #111827;
	margin-bottom: 8px;
}
.girem-podbor-benefits__card p {
	font-size: .875rem;
	color: #6b7280;
	line-height: 1.6;
	margin: 0;
}

/* ---------- Engineers ---------- */
.girem-podbor-engineers {
	background: #fff;
	padding: 72px 24px;
	border-top: 1px solid #f1f5f9;
}
.girem-podbor-engineers__shell {
	max-width: 1100px;
	margin: 0 auto;
}
.girem-podbor-engineers__content {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 64px;
	align-items: center;
}
.girem-podbor-engineers__eyebrow {
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #4933d1;
	margin: 0 0 12px;
}
.girem-podbor-engineers__title {
	font-size: clamp(1.375rem, 2.5vw, 1.875rem);
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 16px;
	line-height: 1.25;
}
.girem-podbor-engineers__lead {
	color: #475569;
	font-size: .9375rem;
	line-height: 1.7;
	margin: 0 0 20px;
}
.girem-podbor-engineers__list {
	margin: 0 0 24px;
	padding: 0 0 0 20px;
	color: #334155;
	font-size: .9rem;
	line-height: 1.6;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.girem-podbor-engineers__phone {
	display: inline-block;
	font-size: 1.25rem;
	font-weight: 700;
	color: #4933d1;
	text-decoration: none;
}
.girem-podbor-engineers__phone:hover { color: #3b27b8; }
.girem-podbor-engineers__hours {
	font-size: .8125rem;
	color: #94a3b8;
	margin: 4px 0 0;
}
.girem-podbor-engineers__guarantee-cards {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.girem-podbor-engineers__guarantee {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 16px 20px;
}
.girem-podbor-engineers__guarantee-icon {
	font-size: 1.5rem;
	flex-shrink: 0;
}
.girem-podbor-engineers__guarantee strong {
	display: block;
	font-size: .9375rem;
	font-weight: 700;
	color: #0f172a;
}
.girem-podbor-engineers__guarantee p {
	font-size: .8125rem;
	color: #64748b;
	margin: 2px 0 0;
}

/* ---------- Wizard section heading ---------- */
.girem-wizard-section-head {
	text-align: center;
	margin-bottom: 36px;
}
.girem-wizard-section-title {
	font-size: clamp(1.375rem, 2.5vw, 1.875rem);
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 8px;
}
.girem-wizard-section-sub {
	color: #64748b;
	font-size: .9375rem;
	margin: 0;
}

/* ---------- FAQ ---------- */
.girem-podbor-faq {
	background: #f8fafc;
	padding: 72px 24px;
}
.girem-podbor-faq__shell {
	max-width: 860px;
	margin: 0 auto;
}
.girem-podbor-faq__title {
	text-align: center;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 40px;
}
.girem-podbor-faq__list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.girem-podbor-faq__item {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
}
.girem-podbor-faq__q {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 20px;
	background: none;
	border: none;
	font-size: .9375rem;
	font-weight: 600;
	color: #0f172a;
	cursor: pointer;
	text-align: left;
}
.girem-podbor-faq__q:hover { color: #4933d1; }
.girem-podbor-faq__chevron {
	flex-shrink: 0;
	transition: transform .2s ease;
	color: #94a3b8;
}
.girem-podbor-faq__q[aria-expanded="true"] .girem-podbor-faq__chevron {
	transform: rotate(180deg);
}
.girem-podbor-faq__a {
	padding: 0 20px;
	max-height: 0;
	overflow: hidden;
	transition: max-height .25s ease, padding .25s ease;
}
.girem-podbor-faq__a[aria-hidden="false"] {
	padding: 0 20px 18px;
	max-height: 400px;
}
.girem-podbor-faq__a p {
	font-size: .9rem;
	color: #475569;
	line-height: 1.7;
	margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.girem-podbor-process__steps { grid-template-columns: repeat(2, 1fr); }
	.girem-podbor-cats__grid { grid-template-columns: repeat(2, 1fr); }
	.girem-podbor-engineers__content { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
	.girem-podbor-stats__grid { grid-template-columns: repeat(2, 1fr); }
	.girem-podbor-stats__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
	.girem-podbor-stats__item:nth-child(2n) { border-right: none; }
	.girem-podbor-benefits__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.girem-wizard-hero { padding: 40px 16px 36px; }
	.girem-wizard-wrap { padding: 32px 16px 48px; }
	.girem-wizard-cats { grid-template-columns: 1fr 1fr; }
	.girem-wizard-nav { flex-direction: column-reverse; }
	.girem-wizard-btn { width: 100%; text-align: center; }
	.girem-wizard-hero__ctas { flex-direction: column; }
	.girem-wizard-hero__btn { width: 100%; text-align: center; }
	.girem-podbor-process__steps { grid-template-columns: 1fr; }
	.girem-podbor-cats__grid { grid-template-columns: 1fr 1fr; }
	.girem-podbor-benefits__grid { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
	.girem-wizard-cats { grid-template-columns: 1fr; }
	.girem-podbor-cats__grid { grid-template-columns: 1fr; }
}
