/* ===== Quote Wizard ===== */

.quote-wizard {
	max-width: 820px;
	margin: 0 auto;
	padding: 0 1rem;
}

/* --- Intro badge --- */

.quote-intro {
	text-align: center;
	margin-bottom: 2rem;
}

.quote-intro .intro-text {
	margin: 0 auto 1.2rem;
}

.quote-intro .badge-time {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 1.2rem;
	border: 1px dashed #33672F;
	border-radius: 25px;
	color: #33672F;
	font-size: 0.85rem;
	font-weight: 500;
}

/* --- Progress bar --- */

.quote-progress {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	margin-bottom: 2.5rem;
}

.quote-progress .step {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 90px;
}

.quote-progress .step-number {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #f0f0f0;
	color: #999;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.95rem;
	transition: all 0.3s ease;
	border: 2px solid #e0e0e0;
}

.quote-progress .step.active .step-number,
.quote-progress .step.done .step-number {
	background: #33672F;
	color: #fff;
	border-color: #33672F;
}

.quote-progress .step.done .step-number > span {
	display: none;
}

.quote-progress .step.done .step-number::after {
	content: '\f00c';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	font-size: 0.9rem;
}

.quote-progress .step-label {
	font-size: 0.78rem;
	color: #999;
	margin-top: 0.45rem;
	text-align: center;
	white-space: nowrap;
}

.quote-progress .step.active .step-label,
.quote-progress .step.done .step-label {
	color: #33672F;
	font-weight: 600;
}

.quote-progress .step-line {
	flex: 1;
	height: 2px;
	background: #e0e0e0;
	margin: 19px 0.5rem 0;
	max-width: 120px;
	transition: background 0.3s ease;
}

.quote-progress .step-line.done {
	background: #33672F;
}

/* --- Panels --- */

.quote-panel {
	text-align: center;
	animation: quoteSlideIn 0.35s ease;
}

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

.quote-panel h2 {
	font-size: 1.5rem;
	color: #33672F;
	margin-bottom: 0.3rem;
}

.quote-panel .subtitle {
	color: #888;
	margin-bottom: 2rem;
	font-size: 0.95rem;
}

/* --- SVG icon color overrides (white -> green) --- */

.quote-wizard .cleaning-1,
.quote-wizard .cleaning-2,
.quote-wizard .cleaning-3,
.quote-wizard .cleaning-4,
.quote-wizard .cleaning-5,
.quote-wizard .cleaning-6,
.quote-wizard .clothes-2,
.quote-wizard .garden-1,
.quote-wizard .garden-2,
.quote-wizard .garden-3,
.quote-wizard .garden-4,
.quote-wizard .garden-5,
.quote-wizard .garden-6,
.quote-wizard .garden-7,
.quote-wizard .garden-8,
.quote-wizard .garden-9,
.quote-wizard .garden-10,
.quote-wizard .garden-11,
.quote-wizard .garden-13,
.quote-wizard .garden-14,
.quote-wizard .garden-15,
.quote-wizard .garden-16,
.quote-wizard .garden-17,
.quote-wizard .garden-18,
.quote-wizard .garden-19,
.quote-wizard .garden-20 {
	stroke: #33672F;
}

.quote-wizard .clothes-1 {
	fill: #33672F;
}

/* --- Service selection cards (Step 1) --- */

.service-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin: 1.5rem 0;
}

.service-card {
	border: 2px solid #eaeaea;
	border-radius: 14px;
	padding: 1.4rem 0.8rem;
	cursor: pointer;
	transition: all 0.25s ease;
	background: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.7rem;
	position: relative;
	user-select: none;
}

.service-card:hover {
	border-color: #b0c8ab;
	box-shadow: 0 4px 16px rgba(51, 103, 47, 0.08);
	transform: translateY(-2px);
}

.service-card.selected {
	border-color: #33672F;
	background: rgba(51, 103, 47, 0.04);
}

.service-card.selected::after {
	content: '\f058';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	position: absolute;
	top: 8px;
	right: 10px;
	color: #33672F;
	font-size: 1.1rem;
}

.service-card .card-icon {
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(51, 103, 47, 0.08);
	border-radius: 12px;
	flex-shrink: 0;
}

.service-card .card-icon svg,
.service-card .card-icon img {
	max-width: 40px;
	max-height: 40px;
}

.service-card .card-label {
	font-size: 0.85rem;
	font-weight: 500;
	color: #444;
	line-height: 1.3;
}

/* --- Mode toggle (Step 2) --- */

.mode-section {
	margin-bottom: 2rem;
}

.mode-label,
.freq-label {
	font-weight: 600;
	margin-bottom: 1rem;
	color: #333;
}

.mode-toggle {
	display: flex;
	justify-content: center;
	gap: 0.8rem;
}

.mode-btn {
	padding: 0.6rem 1.8rem;
	border: 2px solid #eaeaea;
	border-radius: 30px;
	background: #fff;
	cursor: pointer;
	font-weight: 500;
	font-size: 0.95rem;
	transition: all 0.2s ease;
	color: #666;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.mode-btn:hover {
	border-color: #b0c8ab;
}

.mode-btn.active {
	border-color: #33672F;
	background: #33672F;
	color: #fff;
}

/* --- Stepper groups (Step 2) --- */

#service-steppers {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
	margin-bottom: 2rem;
}

.stepper-group {
	flex: 0 1 calc(50% - 0.5rem);
	border: 2px solid #eaeaea;
	border-radius: 14px;
	padding: 1rem 0.8rem;
	background: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	transition: border-color 0.2s ease;
}

.stepper-group:hover {
	border-color: #b0c8ab;
}

.stepper-group .stepper-icon {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(51, 103, 47, 0.08);
	border-radius: 10px;
	margin-bottom: 0.3rem;
	flex-shrink: 0;
}

.stepper-group .stepper-icon svg {
	max-width: 26px;
	max-height: 26px;
}

.stepper-group .stepper-label {
	font-weight: 500;
	font-size: 0.88rem;
	margin-bottom: 0.3rem;
	color: #444;
	text-align: center;
	line-height: 1.3;
}

.stepper-controls {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.stepper-btn {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 2px solid #33672F;
	background: #fff;
	color: #33672F;
	font-size: 0.8rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	padding: 0;
}

.stepper-btn:hover {
	background: #33672F;
	color: #fff;
}

.stepper-value {
	width: 50px;
	text-align: center;
	font-size: 1.2rem;
	font-weight: 700;
	border: none;
	outline: none;
	background: transparent;
	color: #333;
	-moz-appearance: textfield;
}

.stepper-value::-webkit-outer-spin-button,
.stepper-value::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.stepper-unit {
	font-size: 0.78rem;
	color: #999;
	margin-top: 0.2rem;
}

.punctual-toggle {
	display: inline-flex;
	border: 1px solid #e0e0e0;
	border-radius: 14px;
	overflow: hidden;
	margin-bottom: 0.5rem;
}

.punctual-toggle-btn {
	padding: 0.2rem 0.6rem;
	border: none;
	background: #fff;
	cursor: pointer;
	font-size: 0.73rem;
	font-weight: 500;
	color: #aaa;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	gap: 0.25rem;
	line-height: 1;
}

.punctual-toggle-btn:first-child {
	border-right: 1px solid #e0e0e0;
}

.punctual-toggle-btn:hover {
	color: #666;
	background: #fafafa;
}

.punctual-toggle-btn.active[data-punctual="0"] {
	background: #33672F;
	color: #fff;
}

.punctual-toggle-btn.active[data-punctual="1"] {
	background: #8a6d3b;
	color: #fff;
}

.punctual-toggle-btn i {
	font-size: 0.65rem;
}

/* --- Window calculator (Step 2) --- */

.stepper-window {
	flex-basis: 100%;
}

.window-calc {
	width: 100%;
	margin-bottom: 0.5rem;
}

.window-toggle {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.window-toggle-btn {
	padding: 0.4rem 1rem;
	border: 2px solid #eaeaea;
	border-radius: 20px;
	background: #fff;
	cursor: pointer;
	font-size: 0.82rem;
	font-weight: 500;
	color: #666;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.window-toggle-btn:hover {
	border-color: #b0c8ab;
}

.window-toggle-btn.active {
	border-color: #33672F;
	background: #33672F;
	color: #fff;
}

.window-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.6rem 0;
}

.window-row:not(:last-child) {
	border-bottom: 1px solid #f0f0f0;
}

.window-type {
	font-size: 0.88rem;
	font-weight: 500;
	color: #444;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.window-type i {
	color: #33672F;
	font-size: 1rem;
}

.window-controls {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.window-input {
	width: 45px;
	text-align: center;
	font-size: 1.1rem;
	font-weight: 700;
	border: none;
	outline: none;
	background: transparent;
	color: #333;
	-moz-appearance: textfield;
}

.window-input::-webkit-outer-spin-button,
.window-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.window-hint {
	display: block;
	text-align: center;
	color: #999;
	font-size: 0.78rem;
	margin-top: 0.5rem;
}

.window-total {
	font-weight: 600;
	color: #33672F;
	font-size: 0.9rem;
}

/* --- Frequency cards (Step 2) --- */

.frequency-section {
	margin-top: 1rem;
	padding-top: 1.5rem;
	border-top: 1px solid #eee;
}

.frequency-cards {
	display: flex;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.freq-card {
	border: 2px solid #eaeaea;
	border-radius: 14px;
	padding: 1rem 1.5rem;
	cursor: pointer;
	transition: all 0.25s ease;
	background: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.3rem;
	min-width: 140px;
	user-select: none;
}

.freq-card:hover {
	border-color: #b0c8ab;
}

.freq-card.selected {
	border-color: #33672F;
	background: rgba(51, 103, 47, 0.04);
	color: #33672F;
}

.freq-card i {
	font-size: 1.3rem;
	margin-bottom: 0.1rem;
}

.freq-card span {
	font-weight: 500;
	font-size: 0.9rem;
	line-height: 1.2;
}

.freq-card small {
	font-size: 0.75rem;
	color: #999;
	line-height: 1;
	margin-top: 0;
}

.freq-card.selected small {
	color: #5a8f55;
}

/* --- Navigation --- */

.quote-nav {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2rem;
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid #eee;
}

.btn-nav {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	border: none;
	background: transparent;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	padding: 0.5rem;
}

.btn-prev {
	color: #888;
}

.btn-prev:hover {
	color: #555;
}

.btn-next {
	color: #33672F;
}

.btn-next:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.btn-circle {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.9rem;
	transition: all 0.2s ease;
}

.btn-prev .btn-circle {
	background: #e9ecef;
	color: #666;
}

.btn-prev:hover .btn-circle {
	background: #ddd;
}

.btn-next .btn-circle {
	background: #33672F;
	color: #fff;
}

.btn-next:disabled .btn-circle {
	background: #c0c0c0;
}

/* --- Results (Step 3) --- */

.result-card {
	border: 2px solid #eaeaea;
	border-radius: 14px;
	padding: 1.2rem 1.5rem;
	text-align: left;
	margin-bottom: 1.5rem;
}

.result-service {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.7rem 0;
}

.result-service:not(:last-child) {
	border-bottom: 1px solid #f0f0f0;
}

.result-service-info {
	display: flex;
	align-items: center;
	gap: 0.8rem;
}

.result-service-info .result-icon {
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(51, 103, 47, 0.08);
	border-radius: 8px;
	flex-shrink: 0;
}

.result-service-info .result-icon svg {
	max-width: 20px;
	max-height: 20px;
}

.result-service-detail {
	display: flex;
	flex-direction: column;
}

.result-service-detail .result-service-name {
	font-weight: 500;
	color: #333;
}

.result-service-price {
	font-weight: 700;
	color: #333;
	white-space: nowrap;
}

.result-badge-punctual {
	display: inline-block;
	padding: 0.1rem 0.5rem;
	background: #f0e6d2;
	color: #8a6d3b;
	border-radius: 10px;
	font-size: 0.68rem;
	font-weight: 600;
	margin-left: 0.4rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	vertical-align: middle;
}

.result-total-section {
	padding: 1.5rem 2rem;
	border-radius: 14px;
	background: rgba(51, 103, 47, 0.04);
	border: 2px solid #33672F;
	text-align: left;
}

.total-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.4rem 0;
}

.total-amount {
	font-size: 1.3rem;
	font-weight: 700;
	color: #555;
}

.real-cost {
	font-size: 1.7rem;
	font-weight: 700;
	color: #33672F;
}

.result-credit-info {
	background: #6cbae8;
	color: #fff;
	padding: 1rem 1.5rem;
	border-radius: 14px;
	margin-top: 1.2rem;
	font-size: 0.9rem;
	text-align: left;
	display: flex;
	gap: 0.7rem;
	align-items: flex-start;
}

.result-credit-info i {
	font-size: 1.2rem;
	margin-top: 0.15rem;
	flex-shrink: 0;
}

.result-disclaimer {
	margin-top: 1rem;
	color: #999;
	font-size: 0.85rem;
}

.result-cta {
	margin-top: 1.5rem;
}

.result-cta a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.8rem 2rem;
	background: #33672F;
	color: #fff;
	border-radius: 30px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.2s ease;
}

.result-cta a:hover {
	background: #2a5526;
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(51, 103, 47, 0.25);
}

/* --- Contact form (Step 3) --- */

.quote-contact-form {
	text-align: left;
	margin-top: 2rem;
}

.quote-contact-form h3 {
	font-size: 1.3rem;
	color: #33672F;
	text-align: center;
	margin-bottom: 0.3rem;
}

.quote-contact-form .form-subtitle {
	text-align: center;
	color: #888;
	font-size: 0.95rem;
	margin-bottom: 1.5rem;
}

.quote-contact-form .form-control {
	border-radius: 8px;
}

.quote-contact-form textarea.form-control {
	resize: vertical;
}

.quote-contact-form .butn-style1 {
	display: block;
	width: 100%;
}

/* --- Responsive --- */

@media (max-width: 767px) {
	.service-cards {
		grid-template-columns: repeat(2, 1fr);
	}

	.quote-progress .step {
		min-width: 70px;
	}

	.quote-progress .step-label {
		font-size: 0.7rem;
	}

	.result-total-section {
		padding: 1.2rem;
	}

	.total-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.3rem;
	}
}

@media (max-width: 480px) {
	.service-cards {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.7rem;
	}

	.service-card {
		padding: 1rem 0.6rem;
	}

	.stepper-group {
		flex-basis: 100%;
	}

	.frequency-cards {
		flex-direction: column;
		align-items: center;
	}

	.freq-card {
		width: 100%;
		max-width: 250px;
	}

	.mode-toggle {
		flex-direction: column;
		align-items: center;
	}

	.mode-btn {
		width: 100%;
		max-width: 250px;
		justify-content: center;
	}

	.quote-nav {
		gap: 1rem;
	}

	.btn-nav {
		font-size: 0.9rem;
	}
}
