.dp-estimation-shell {
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding: 32px 0;
	background: radial-gradient(circle at top left, #eff6ff, #ffffff 60%);
}

.dp-hero {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
	background: linear-gradient(135deg, #111827, #1d4ed8 55%, #38bdf8);
	color: #fff;
	padding: 32px;
	border-radius: 28px;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
	position: relative;
	overflow: hidden;
}

.dp-hero::after {
	content: '';
	position: absolute;
	inset: 16px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 24px;
	pointer-events: none;
}

.dp-hero__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.dp-hero__lead {
	font-size: 18px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.9);
	margin: 0;
}

.dp-hero__visual {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dp-hero__visual img {
	max-width: 100%;
	height: auto;
	filter: drop-shadow(0 18px 35px rgba(15, 23, 42, 0.35));
}

.dp-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-weight: 700;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.75);
	margin: 0;
}

.dp-estimation-wrapper .dp-eyebrow {
	color: #475467;
}

.dp-hero__cta {
	margin-top: 8px;
	align-self: flex-start;
}

.dp-hero__steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 12px;
	list-style: none;
	padding: 0;
	margin: 12px 0 0;
}

.dp-hero__steps li {
	display: flex;
	align-items: center;
	gap: 12px;
	background: rgba(15, 23, 42, 0.35);
	border-radius: 14px;
	padding: 12px 16px;
	backdrop-filter: blur(8px);
}

.dp-hero__steps span {
	font-size: 16px;
	font-weight: 700;
	background: rgba(255, 255, 255, 0.12);
	padding: 6px 10px;
	border-radius: 999px;
}

.dp-hero__steps p {
	margin: 0;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.9);
}

.dp-estimation-wrapper {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	padding: 32px;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
	position: relative;
	max-width: 960px;
	margin: 0 auto;
}

.dp-progress {
	font-weight: 600;
	color: #1f2937;
	margin-bottom: 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.dp-estimation-form {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.dp-step {
	display: none;
	animation: fadeIn 0.25s ease;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 18px;
	padding: 24px;
}

.dp-step.is-active {
	display: block;
}

.dp-step--hero {
	background: transparent;
	border: none;
	padding: 0;
}

.dp-step--hero .dp-hero {
	margin-bottom: 8px;
}

.dp-step h2 {
	margin-top: 0;
	font-size: 24px;
	color: #0f172a;
}

.dp-step p {
	color: #475467;
}

.dp-field-label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-weight: 600;
	color: #1f2933;
	margin-bottom: 16px;
}

.dp-field-label input,
.dp-field-label select,
.dp-estimation-form input[type="text"],
.dp-estimation-form input[type="number"],
.dp-estimation-form select {
	border: 1px solid #cbd5f5;
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 15px;
	font-weight: 500;
}

.dp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
}

.dp-grid--booleans {
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.dp-type-options {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px;
}

.dp-choice {
	position: relative;
	border: 2px solid #e2e8f0;
	border-radius: 16px;
	padding: 18px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	color: #0f172a;
}

.dp-choice input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.dp-choice__icon {
	display: inline-flex;
	color: #1d4ed8;
}

.dp-choice__label {
	font-weight: 600;
	font-size: 16px;
}

.dp-choice:has(input:checked) {
	border-color: #1d4ed8;
	box-shadow: 0 10px 25px rgba(29, 78, 216, 0.15);
	background: #eef2ff;
}

.dp-choice:focus-within {
	outline: 2px solid #1d4ed8;
	outline-offset: 2px;
}

.dp-fieldset {
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 12px 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.dp-estimation-form .is-invalid,
.dp-fieldset.is-invalid {
	border-color: #dc2626;
	box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.15);
}

.dp-fieldset legend {
	font-weight: 600;
	margin-bottom: 8px;
}

.dp-fieldset label,
.dp-fieldset input[type="radio"] {
	cursor: pointer;
}

.dp-address-suggestions {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	max-height: 260px;
	overflow-y: auto;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.dp-address-suggestions li + li {
	border-top: 1px solid #f3f4f6;
}

.dp-address-suggestions button {
	width: 100%;
	text-align: left;
	padding: 12px 16px;
	background: #fff;
	border: 0;
	font-size: 14px;
}

.dp-address-suggestions button:hover,
.dp-address-suggestions button:focus {
	background: #eef2ff;
}

.dp-suggestion-loading {
	padding: 10px 14px;
	font-style: italic;
	color: #6b7280;
}

.dp-selected-address {
	font-weight: 600;
	color: #2563eb;
	min-height: 22px;
}

.dp-form-messages {
	min-height: 24px;
}

.dp-error {
	color: #c53030;
	font-weight: 600;
}

.dp-success {
	color: #2f855a;
	font-weight: 600;
}

.dp-form-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: flex-end;
}

.dp-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: none;
	border-radius: 999px;
	padding: 12px 22px;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	background: #f3f4f6;
	color: #0f172a;
}

.dp-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.dp-btn-primary {
	background: #111827;
	color: #fff;
}

.dp-btn-primary:hover {
	background: #000;
}

.dp-btn-secondary {
	background: #e5e7eb;
	color: #111827;
}

.dp-btn-secondary:hover {
	background: #d1d5db;
}

.dp-btn-link {
	background: transparent;
	color: #2563eb;
	padding: 0;
	box-shadow: none;
}

.dp-result {
	border: 1px solid #d7e3ff;
	border-radius: 18px;
	padding: 20px;
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(99, 102, 241, 0.08));
}

.dp-result-value {
	font-size: 36px;
	font-weight: 700;
	margin: 0;
}

.dp-estimation-shell .dp-loading {
	border-radius: 20px;
}

.dp-loading {
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.8);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	border-radius: 12px;
}

.dp-loading[hidden] {
	display: none !important;
}

.dp-spinner {
	width: 40px;
	height: 40px;
	border: 4px solid #dbeafe;
	border-top-color: #1d4ed8;
	border-radius: 50%;
	animation: spin 0.9s linear infinite;
}

.dp-estimation-public {
	max-width: 840px;
	margin: 40px auto;
	padding: 0 20px;
}

.dp-estimation-card {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-bottom: 32px;
}

.dp-estimation-card__value {
	font-size: 32px;
	font-weight: 700;
	margin: 0;
}

.dp-estimation-details ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.dp-estimation-details li {
	padding: 6px 0;
	border-bottom: 1px solid #f3f4f6;
}

@media (max-width: 980px) {
	.dp-estimation-wrapper {
		padding: 24px;
	}
}

@media (max-width: 640px) {
	.dp-hero {
		padding: 24px;
	}

	.dp-step {
		padding: 18px;
	}

	.dp-hero__steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
