﻿.fortek-res {
	--navy: #0B1829;
	--blue: #2482D9;
	--muted: #5B7690;
	--muted-light: #8CA3BE;
	--border: #E3E9F0;
	--bg: #EEF2F6;
	--error: #DC2626;
	--success: #16A34A;
	max-width: 1100px;
	margin: 0 auto;
	font-family: 'Inter', sans-serif;
}

.fortek-res * {
	box-sizing: border-box;
}

.fortek-res__shell {
	background: #FFFFFF;
	border-radius: 20px;
	box-shadow: 0 12px 40px rgba(11, 24, 41, 0.14);
	border: 1px solid var(--border);
	overflow: hidden;
}

/* ---- Header ---- */
.fortek-res__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 32px;
	border-bottom: 1px solid #EEF2F6;
}

.fortek-res__logo {
	display: flex;
	align-items: center;
	gap: 10px;
}

.fortek-res__logo-badge {
	width: 34px;
	height: 34px;
	border-radius: 8px;
	background: var(--navy);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.fortek-res__logo-badge img {
	width: 22px;
	height: auto;
	object-fit: contain;
}

.fortek-res__wordmark {
	font-family: 'Inter', sans-serif;
	font-weight: 800;
	color: var(--navy);
	letter-spacing: 0.5px;
	font-size: 17px;
	line-height: 1;
}

.fortek-res__submark {
	color: var(--blue);
	font-weight: 700;
	font-size: 11px;
}

.fortek-res__header-contact {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	color: var(--navy);
	font-size: 15px;
}

/* ---- Stepper ---- */
.fortek-res__stepper {
	display: flex;
	align-items: center;
	width: 100%;
	padding: 22px 40px;
	border-bottom: 1px solid #EEF2F6;
	background: #FBFCFE;
}

.fortek-res__step-wrap {
	display: flex;
	align-items: center;
	flex: 1;
}

.fortek-res__step-wrap:last-child {
	flex: 0 0 auto;
}

.fortek-res__step-col {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	min-width: 100px;
}

.fortek-res__step-circle {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 700;
	font-family: 'Inter', sans-serif;
	background: #E3E9F0;
	color: var(--muted-light);
}

.fortek-res__step-circle.is-active {
	background: #FFFFFF;
	color: var(--blue);
	border: 2px solid var(--blue);
}

.fortek-res__step-circle.is-done {
	background: var(--blue);
	color: #FFFFFF;
}

.fortek-res__step-label {
	font-size: 11.5px;
	font-weight: 500;
	color: var(--muted-light);
	text-align: center;
	white-space: nowrap;
}

.fortek-res__step-label.is-active {
	font-weight: 700;
	color: var(--navy);
}

.fortek-res__step-line {
	flex: 1;
	height: 2px;
	background: #E3E9F0;
	margin: 0 4px;
	margin-bottom: 20px;
}

.fortek-res__step-line.is-done {
	background: var(--blue);
}

/* ---- Content ---- */
.fortek-res__content {
	padding: 36px 40px;
	min-height: 420px;
	animation: fortekFadeUp 0.35s ease;
}

@keyframes fortekFadeUp {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes fortekPopIn {
	from { opacity: 0; transform: scale(0.85); }
	to { opacity: 1; transform: scale(1); }
}

.fortek-res h1 {
	font-family: 'Inter', sans-serif;
	font-weight: 800;
	color: var(--navy);
	font-size: 28px;
	line-height: 1.25;
	margin: 0 0 8px;
}

.fortek-res h2 {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	color: var(--navy);
	font-size: 20px;
	margin: 0 0 6px;
}

.fortek-res__sub {
	color: var(--muted);
	font-size: 14px;
	margin: 0 0 24px;
}

.fortek-res__back {
	background: none;
	border: none;
	color: var(--blue);
	font-weight: 600;
	font-size: 13px;
	cursor: pointer;
	padding: 0;
	margin-bottom: 18px;
	display: block;
}

.fortek-res__loading,
.fortek-res__error {
	font-size: 14px;
}

.fortek-res__error {
	color: var(--error);
	background: #FDECEC;
	padding: 10px 14px;
	border-radius: 8px;
}

/* ---- Client type ---- */
.fortek-res__client-row {
	display: flex;
	gap: 12px;
	margin-bottom: 24px;
}

.fortek-res__client-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	cursor: pointer;
	padding: 16px 20px;
	border-radius: 12px;
	min-width: 140px;
	border: 1px solid var(--border);
	background: #fff;
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 13.5px;
	color: var(--muted);
}

.fortek-res__client-card.is-selected {
	border: 2px solid var(--blue);
	background: rgba(36, 130, 217, 0.05);
	color: var(--navy);
}

/* ---- Category / service grid ---- */
.fortek-res__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.fortek-res__cat-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	cursor: pointer;
	padding: 24px;
	border-radius: 14px;
	border: 1px solid var(--border);
	background: #fff;
	text-align: left;
	transition: all 0.15s ease;
}

.fortek-res__cat-card.is-selected {
	border: 2px solid var(--blue);
	background: rgba(36, 130, 217, 0.05);
}

.fortek-res__cat-name {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	color: var(--navy);
	font-size: 15px;
}

.fortek-res__cat-desc {
	color: var(--muted-light);
	font-size: 12.5px;
}

.fortek-res__service-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.fortek-res__service-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	cursor: pointer;
	padding: 18px 22px;
	border-radius: 12px;
	border: 1px solid var(--border);
	background: #fff;
	text-align: left;
	width: 100%;
}

.fortek-res__service-card.is-selected {
	border: 2px solid var(--blue);
	background: rgba(36, 130, 217, 0.05);
}

.fortek-res__svc-name {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	color: var(--navy);
	font-size: 14.5px;
	margin-bottom: 3px;
}

.fortek-res__svc-desc {
	color: var(--muted-light);
	font-size: 12.5px;
}

.fortek-res__svc-price {
	font-family: 'Inter', sans-serif;
	font-weight: 800;
	color: var(--blue);
	font-size: 15px;
	white-space: nowrap;
	text-align: right;
}

.fortek-res__svc-price-ht {
	color: var(--muted-light);
	font-size: 11px;
}

/* ---- Step 2 : questions + price sidebar ---- */
.fortek-res__step2-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	align-items: flex-start;
	gap: 24px;
	margin-bottom: 26px;
}

.fortek-res__price-box {
	background: #F3F8FD;
	border: 1px solid #D9EAFB;
	border-radius: 12px;
	padding: 14px 18px;
	width: 100%;
	position: sticky;
	top: 20px;
}

.fortek-res__price-label {
	color: var(--muted);
	font-size: 12px;
	font-weight: 500;
}

.fortek-res__price-value {
	font-family: 'Inter', sans-serif;
	font-weight: 800;
	color: var(--navy);
	font-size: 26px;
}

.fortek-res__price-value span {
	font-size: 13px;
	font-weight: 600;
	color: var(--muted);
}

.fortek-res__tax-badge {
	display: inline-block;
	margin-top: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(36, 130, 217, 0.12);
	color: var(--blue);
	font-size: 12.5px;
	font-weight: 700;
}

.fortek-res__question-label {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	color: var(--navy);
	font-size: 14.5px;
	margin-bottom: 10px;
}

.fortek-res__option-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.fortek-res__pill {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: #fff;
	color: var(--navy);
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
}

.fortek-res__pill.is-selected {
	border: 1.5px solid var(--blue);
	background: rgba(36, 130, 217, 0.06);
}

.fortek-res__textarea {
	width: 100%;
	min-height: 80px;
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 13.5px;
	color: var(--navy);
	resize: vertical;
	outline: none;
	font-family: 'Inter', sans-serif;
}

/* ---- Forms ---- */
.fortek-res__form-row {
	display: flex;
	gap: 14px;
	margin-bottom: 4px;
}

.fortek-res__field-label {
	display: block;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--navy);
	margin-bottom: 6px;
	margin-top: 14px;
}

.fortek-res__input {
	width: 100%;
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 11px 14px;
	font-size: 13.5px;
	color: var(--navy);
	outline: none;
	font-family: 'Inter', sans-serif;
}

.fortek-res__input.has-error {
	border-color: var(--error);
}

.fortek-res__error-text {
	color: var(--error);
	font-size: 12px;
	font-weight: 600;
	margin-top: 6px;
}

/* ---- Address autocomplete ---- */
.fortek-res__suggestion-box {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 10px;
	box-shadow: 0 8px 20px rgba(11, 24, 41, 0.1);
	margin-top: 4px;
	z-index: 10;
	overflow: hidden;
}

.fortek-res__suggestion-item {
	padding: 10px 14px;
	font-size: 13px;
	color: var(--navy);
	cursor: pointer;
	border-bottom: 1px solid #F3F5F8;
}

.fortek-res__suggestion-item:last-child {
	border-bottom: none;
}

.fortek-res__suggestion-item:hover {
	background: #F3F8FD;
}

/* ---- Planning preference ---- */
.fortek-res__date-chip {
	flex: 0 0 auto;
	width: 64px;
	padding: 10px 0;
	text-align: center;
	border-radius: 10px;
	cursor: pointer;
	border: 1px solid var(--border);
	background: #fff;
	color: var(--navy);
}

.fortek-res__date-chip.is-selected {
	border: 2px solid var(--blue);
	background: var(--blue);
	color: #fff;
}

.fortek-res__planning-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 4px;
}

/* ---- Buttons ---- */
.fortek-res__btn-primary {
	background: var(--blue);
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 13px 28px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	font-family: 'Inter', sans-serif;
	margin-top: 8px;
}

.fortek-res__btn-primary:disabled {
	opacity: 0.6;
	cursor: default;
}

.fortek-res__btn-secondary {
	background: #fff;
	color: var(--blue);
	border: 1.5px solid var(--blue);
	border-radius: 10px;
	padding: 12px 26px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	font-family: 'Inter', sans-serif;
}

/* ---- Step 4 : recap + payment ---- */
.fortek-res__step4-grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 20px;
}

.fortek-res__summary-card {
	background: #FBFCFE;
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 22px;
	align-self: flex-start;
}

.fortek-res__payment-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 22px;
}

.fortek-res__summary-title {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	color: var(--navy);
	font-size: 15px;
	margin-bottom: 12px;
}

.fortek-res__summary-row {
	display: flex;
	justify-content: space-between;
	font-size: 13.5px;
	color: var(--muted);
	padding: 6px 0;
	gap: 10px;
}

.fortek-res__summary-row strong {
	color: var(--navy);
	text-align: right;
}

.fortek-res__summary-total {
	font-family: 'Inter', sans-serif;
	font-weight: 800;
	color: var(--navy);
	font-size: 20px;
}

.fortek-res__trust-badge {
	margin-top: 14px;
	font-size: 12px;
	color: var(--success);
	font-weight: 600;
}

.fortek-res__payment-method-row {
	display: flex;
	gap: 10px;
	margin-bottom: 14px;
}

.fortek-res__payment-method-card {
	flex: 1;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
	padding: 14px 16px;
	border-radius: 12px;
	border: 1px solid var(--border);
	background: #fff;
}

.fortek-res__payment-method-card.is-selected {
	border: 1.5px solid var(--blue);
	background: rgba(36, 130, 217, 0.05);
}

.fortek-res__payment-method-card.is-disabled {
	cursor: not-allowed;
	opacity: 0.55;
}

.fortek-res__payment-dot {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 1.5px solid #C7D3E0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-top: 2px;
}

.fortek-res__payment-dot.is-selected {
	border-color: var(--blue);
}

.fortek-res__payment-dot-inner {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: transparent;
}

.fortek-res__payment-dot-inner.is-selected {
	background: var(--blue);
}

.fortek-res__payment-method-title {
	font-weight: 700;
	color: var(--navy);
	font-size: 13.5px;
	margin-bottom: 4px;
}

.fortek-res__payment-method-desc {
	color: var(--muted-light);
	font-size: 12px;
}

.fortek-res__soon-badge {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #F3F5F8;
	color: var(--muted-light);
	font-size: 10.5px;
	font-weight: 700;
	text-transform: uppercase;
}

/* ---- Success ---- */
.fortek-res__success {
	text-align: center;
	padding: 20px 0 10px;
	animation: fortekPopIn 0.4s ease;
}

.fortek-res__success-icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--success);
	color: #fff;
	font-size: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 18px;
}

.fortek-res__confirm-card {
	background: #FBFCFE;
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 20px 24px;
	max-width: 380px;
	margin: 0 auto 24px;
	text-align: left;
}

/* ---- Trust strip ---- */
.fortek-res__trust-strip {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px;
	padding: 16px 40px;
	background: #FBFCFE;
	border-top: 1px solid #EEF2F6;
}

.fortek-res__trust-item {
	font-size: 12px;
	color: var(--muted);
	font-weight: 600;
}

/* ---- Responsive ---- */
@media (max-width: 780px) {
	.fortek-res__header { padding: 14px 18px; }
	.fortek-res__stepper { padding: 14px 18px; }
	.fortek-res__content { padding: 22px 18px; min-height: 380px; }
	.fortek-res__grid { grid-template-columns: 1fr; }
	.fortek-res__step2-grid { grid-template-columns: 1fr; }
	.fortek-res__step4-grid { grid-template-columns: 1fr; }
	.fortek-res__form-row { flex-direction: column; }
	.fortek-res__payment-method-row { flex-direction: column; }
	.fortek-res__trust-strip { justify-content: center; padding: 14px 18px; }
	.fortek-res__step-label { display: none; }
}
