/* revolv® Home Value Estimator — v1.8.0 */

#revolv-home-value-app {
	max-width: 860px;
	margin: 0 auto;
	padding: 40px 20px 60px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
	color: #2d3748;
}

/* ---- Hero / Step 1 ---- */
.hv-hero {
	text-align: center;
	margin-bottom: 32px;
}
.hv-hero h1 {
	font-size: 2.2rem;
	font-weight: 800;
	color: #1a202c;
	margin: 0 0 10px;
}
.hv-subtitle {
	font-size: 1.1rem;
	color: #718096;
	margin: 0;
}

.hv-form-card {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 24px rgba(0,0,0,0.08);
	padding: 32px;
}

.hv-input-row {
	display: flex;
	gap: 12px;
}
.hv-input-row input {
	flex: 1;
	padding: 14px 18px;
	font-size: 1rem;
	border: 2px solid #e2e8f0;
	border-radius: 8px;
	outline: none;
	transition: border-color .2s;
}
.hv-input-row input:focus {
	border-color: #e87c2a;
}
.hv-input-row button,
.hv-btn {
	padding: 14px 28px;
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
	background: #e87c2a;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	white-space: nowrap;
	transition: background .2s;
}
.hv-input-row button:hover,
.hv-btn:hover {
	background: #cf6a1e;
}
.hv-input-row button:disabled {
	opacity: .6;
	cursor: not-allowed;
}

.hv-disclaimer {
	margin: 14px 0 0;
	font-size: .82rem;
	color: #a0aec0;
	text-align: center;
}
.hv-disclaimer a { color: #e87c2a; text-decoration: none; }

/* ---- Loading ---- */
.hv-loading {
	text-align: center;
	padding: 80px 20px;
}
.hv-spinner {
	width: 48px;
	height: 48px;
	border: 4px solid #e2e8f0;
	border-top-color: #e87c2a;
	border-radius: 50%;
	margin: 0 auto 20px;
	animation: hv-spin .8s linear infinite;
}
@keyframes hv-spin { to { transform: rotate(360deg); } }
.hv-loading p {
	color: #718096;
	font-size: 1.05rem;
}

/* ---- Results ---- */
.hv-results-header {
	text-align: center;
	background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
	color: #fff;
	border-radius: 12px;
	padding: 40px 30px 36px;
	margin-bottom: 28px;
}
.hv-results-label {
	font-size: .9rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #cbd5e0;
	margin: 0 0 6px;
}
.hv-price {
	font-size: 3rem;
	font-weight: 800;
	color: #e87c2a;
	margin: 0 0 16px;
}
.hv-range {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 400px;
	margin: 0 auto 14px;
}
.hv-range span {
	font-size: .85rem;
	color: #a0aec0;
	white-space: nowrap;
}
.hv-range-bar {
	flex: 1;
	height: 6px;
	background: #4a5568;
	border-radius: 3px;
	overflow: hidden;
}
.hv-range-fill {
	height: 100%;
	background: #e87c2a;
	border-radius: 3px;
	width: 50%;
}
.hv-address-text {
	margin: 0;
	font-size: .95rem;
	color: #cbd5e0;
}

/* ---- Comparables ---- */
#hv-comps-section {
	margin-bottom: 32px;
}
#hv-comps-section h3 {
	font-size: 1.2rem;
	font-weight: 700;
	margin: 0 0 16px;
	color: #1a202c;
}
.hv-comps-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 14px;
}
.hv-comp-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 18px;
	transition: box-shadow .2s;
}
.hv-comp-card:hover {
	box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}
.hv-comp-address {
	font-weight: 600;
	font-size: .92rem;
	margin: 0 0 8px;
	color: #2d3748;
}
.hv-comp-price {
	font-size: 1.15rem;
	font-weight: 800;
	color: #e87c2a;
	margin: 0 0 8px;
}
.hv-comp-details {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: .8rem;
	color: #718096;
}
.hv-comp-tag {
	background: #f7fafc;
	border: 1px solid #e2e8f0;
	border-radius: 4px;
	padding: 2px 8px;
}
.hv-comp-status {
	display: inline-block;
	font-size: .75rem;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 4px;
	margin-top: 8px;
}
.hv-comp-status.active   { background: #c6f6d5; color: #276749; }
.hv-comp-status.inactive { background: #e2e8f0; color: #4a5568; }

/* ---- CTA Card ---- */
.hv-cta-card {
	background: #fff;
	border: 2px solid #e87c2a;
	border-radius: 12px;
	padding: 32px;
	margin-bottom: 24px;
	text-align: center;
}
.hv-cta-card h3 {
	font-size: 1.3rem;
	font-weight: 700;
	margin: 0 0 10px;
	color: #1a202c;
}
.hv-cta-card p {
	color: #718096;
	margin: 0 0 20px;
	font-size: .95rem;
	line-height: 1.5;
}

.hv-contact-form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}
.hv-contact-form input[type="text"],
.hv-contact-form input[type="email"],
.hv-contact-form input[type="tel"] {
	flex: 1 1 200px;
	max-width: 240px;
	padding: 12px 14px;
	font-size: .95rem;
	border: 2px solid #e2e8f0;
	border-radius: 8px;
	outline: none;
	transition: border-color .2s;
}
.hv-contact-form input:focus {
	border-color: #e87c2a;
}
.hv-contact-form button {
	padding: 12px 28px;
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
	background: #e87c2a;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background .2s;
}
.hv-contact-form button:hover { background: #cf6a1e; }

/* ---- Try another ---- */
.hv-link-btn {
	display: block;
	margin: 0 auto;
	background: none;
	border: none;
	color: #e87c2a;
	font-size: .95rem;
	cursor: pointer;
	text-decoration: underline;
}

/* ---- Error ---- */
.hv-error-card {
	text-align: center;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 24px rgba(0,0,0,0.08);
	padding: 48px 32px;
}
.hv-error-card h2 {
	color: #e53e3e;
	margin: 0 0 12px;
}
.hv-error-card p {
	color: #718096;
	margin: 0 0 24px;
}

/* ---- Success toast ---- */
.hv-toast {
	position: fixed;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	background: #276749;
	color: #fff;
	padding: 14px 28px;
	border-radius: 8px;
	font-weight: 600;
	font-size: .95rem;
	box-shadow: 0 4px 20px rgba(0,0,0,0.15);
	z-index: 99999;
	animation: hv-fade-in .3s;
}
@keyframes hv-fade-in { from { opacity: 0; transform: translateX(-50%) translateY(20px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

/* ---- Mobile ---- */
/* ---- Tablet ---- */
@media (max-width: 768px) {
	.hv-hero h1 { font-size: 1.8rem; }
	.hv-form-card { padding: 24px 18px; }
	.hv-results-header { padding: 32px 22px; }
	.hv-price { font-size: 2.6rem; }
	.hv-cta-card { padding: 24px 18px; }
}
@media (max-width: 640px) {
	#revolv-home-value-app { padding: 24px 16px 40px; }
	.hv-hero h1 { font-size: 1.6rem; }
	.hv-input-row { flex-direction: column; }
	.hv-input-row button { width: 100%; }
	.hv-price { font-size: 2.2rem; }
	.hv-comps-grid { grid-template-columns: 1fr; }
	.hv-contact-form input { max-width: none; }
	.hv-results-header { padding: 28px 20px; }
}
