/* revolv® Home Value Estimator — v1.9.0 (editorial redesign) */

/* =========================================================
   Hide theme's default page-title banner on /home-value
   (page-id-103) — we render our own editorial hero instead.
   ========================================================= */
body.page-id-103 .revolv-page-banner { display: none !important; }

/* =========================================================
   Editorial hero
   ========================================================= */
.revolv-hv-hero {
	position: relative;
	background:
		radial-gradient(ellipse at 85% 15%, rgba(232, 124, 42, 0.28) 0%, rgba(232, 124, 42, 0) 55%),
		radial-gradient(ellipse at 15% 85%, rgba(232, 124, 42, 0.12) 0%, rgba(232, 124, 42, 0) 50%),
		linear-gradient(135deg, #0f1419 0%, #1a1f2e 60%, #23293a 100%);
	color: #fff;
	padding: clamp(56px, 9vw, 110px) 24px clamp(48px, 7vw, 80px);
	margin: 0 0 48px;
	/* Full-bleed: break out of theme's centered content container */
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 100vw;
	max-width: 100vw;
	border-bottom: 3px solid #e87c2a;
	overflow: hidden;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	box-sizing: border-box;
}
.revolv-hv-hero-inner {
	max-width: 1120px;
	margin: 0 auto;
	position: relative;
	z-index: 2;
}
.revolv-hv-eyebrow {
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-weight: 600;
	font-size: 0.9rem;
	letter-spacing: 0.2em;
	color: #e87c2a;
	margin: 0 0 24px;
	text-transform: uppercase;
}
.revolv-hv-title {
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-weight: 700;
	font-size: clamp(2.6rem, 7vw, 5.4rem);
	line-height: 1;
	letter-spacing: -0.01em;
	margin: 0 0 28px;
	color: #fff;
	text-transform: uppercase;
}
.revolv-hv-title-accent {
	background: linear-gradient(135deg, #e87c2a 0%, #ff9d4d 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.revolv-hv-lede {
	font-size: clamp(1.05rem, 1.5vw, 1.28rem);
	font-weight: 700;
	line-height: 1.5;
	color: #e2e8f0;
	max-width: 680px;
	margin: 0 0 32px;
}
.revolv-hv-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 22px 32px;
	align-items: center;
}
.revolv-hv-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-weight: 500;
	font-size: 0.9rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #cbd5e0;
}
.revolv-hv-meta-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #e87c2a;
	box-shadow: 0 0 10px rgba(232, 124, 42, 0.8);
}

/* =========================================================
   App container
   ========================================================= */
#revolv-home-value-app {
	max-width: 920px;
	margin: 0 auto;
	padding: 0 20px 80px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
	color: #2d3748;
}

/* =========================================================
   Form card (Step 1)
   ========================================================= */
.hv-form-card {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 20px 60px -20px rgba(15, 20, 25, 0.18), 0 0 0 1px rgba(226, 232, 240, 0.8);
	padding: 36px 32px 28px;
	position: relative;
}
.hv-form-card-label {
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-weight: 600;
	font-size: 0.82rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #718096;
	margin: 0 0 14px;
}
.hv-input-row {
	display: flex;
	gap: 12px;
}
.hv-input-row input {
	flex: 1;
	padding: 16px 20px;
	font-size: 1.02rem;
	border: 2px solid #e2e8f0;
	border-radius: 10px;
	outline: none;
	transition: border-color .2s, box-shadow .2s;
	background: #fafbfc;
}
.hv-input-row input:focus {
	border-color: #e87c2a;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(232, 124, 42, 0.12);
}
.hv-input-row button,
.hv-btn {
	padding: 16px 30px;
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-size: 0.98rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	background: linear-gradient(135deg, #e87c2a 0%, #ff9d4d 100%);
	border: none;
	border-radius: 10px;
	cursor: pointer;
	white-space: nowrap;
	transition: transform .15s, box-shadow .2s, filter .2s;
	box-shadow: 0 6px 20px -6px rgba(232, 124, 42, 0.55);
}
.hv-input-row button:hover,
.hv-btn:hover {
	transform: translateY(-1px);
	filter: brightness(1.06);
	box-shadow: 0 10px 26px -6px rgba(232, 124, 42, 0.65);
}
.hv-input-row button:disabled {
	opacity: .55;
	cursor: not-allowed;
	transform: none;
	filter: grayscale(0.2);
}
.hv-disclaimer {
	margin: 18px 0 0;
	font-size: .82rem;
	color: #a0aec0;
	text-align: center;
	line-height: 1.5;
}
.hv-disclaimer a { color: #e87c2a; text-decoration: none; }
.hv-disclaimer a:hover { text-decoration: underline; }

/* =========================================================
   Loading
   ========================================================= */
.hv-loading {
	text-align: center;
	padding: 80px 20px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 20px 60px -20px rgba(15, 20, 25, 0.18), 0 0 0 1px rgba(226, 232, 240, 0.8);
}
.hv-spinner {
	width: 52px;
	height: 52px;
	border: 4px solid #edf2f7;
	border-top-color: #e87c2a;
	border-radius: 50%;
	margin: 0 auto 22px;
	animation: hv-spin .8s linear infinite;
}
@keyframes hv-spin { to { transform: rotate(360deg); } }
.hv-loading p {
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-weight: 500;
	font-size: 1rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #4a5568;
	margin: 0;
}

/* =========================================================
   Results header
   ========================================================= */
.hv-results-header {
	position: relative;
	background:
		radial-gradient(ellipse at 80% 20%, rgba(232, 124, 42, 0.3) 0%, rgba(232, 124, 42, 0) 55%),
		linear-gradient(135deg, #0f1419 0%, #1a1f2e 60%, #23293a 100%);
	color: #fff;
	border-radius: 16px;
	padding: 44px 36px 40px;
	margin-bottom: 32px;
	box-shadow: 0 24px 70px -24px rgba(15, 20, 25, 0.45);
	text-align: center;
	overflow: hidden;
	border-bottom: 3px solid #e87c2a;
}
.hv-results-label {
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-weight: 600;
	font-size: .82rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #e87c2a;
	margin: 0 0 12px;
}
.hv-price {
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-size: clamp(2.8rem, 6vw, 4.2rem);
	font-weight: 700;
	letter-spacing: -0.01em;
	background: linear-gradient(135deg, #e87c2a 0%, #ff9d4d 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin: 0 0 20px;
	line-height: 1;
}
.hv-range {
	display: flex;
	align-items: center;
	gap: 14px;
	max-width: 440px;
	margin: 0 auto 18px;
}
.hv-range span {
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-size: .82rem;
	letter-spacing: 0.1em;
	color: #cbd5e0;
	white-space: nowrap;
}
.hv-range-bar {
	flex: 1;
	height: 6px;
	background: rgba(255,255,255,0.1);
	border-radius: 3px;
	overflow: hidden;
}
.hv-range-fill {
	height: 100%;
	background: linear-gradient(90deg, #e87c2a 0%, #ff9d4d 100%);
	border-radius: 3px;
	width: 50%;
}
.hv-address-text {
	font-size: .95rem;
	color: #cbd5e0;
	margin: 0;
	letter-spacing: 0.02em;
}

/* =========================================================
   Comparables
   ========================================================= */
#hv-comps-section {
	margin-bottom: 36px;
}
#hv-comps-section h3 {
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin: 0 0 18px;
	color: #0f1419;
}
.hv-comps-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
}
.hv-comp-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 20px;
	transition: transform .2s, box-shadow .2s, border-color .2s;
}
.hv-comp-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 32px -12px rgba(15, 20, 25, 0.15);
	border-color: rgba(232, 124, 42, 0.4);
}
.hv-comp-address {
	font-weight: 600;
	font-size: .92rem;
	margin: 0 0 10px;
	color: #2d3748;
	line-height: 1.4;
}
.hv-comp-price {
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-size: 1.35rem;
	font-weight: 700;
	color: #e87c2a;
	margin: 0 0 10px;
	letter-spacing: -0.005em;
}
.hv-comp-details {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: .8rem;
	color: #718096;
}
.hv-comp-tag {
	background: #f7fafc;
	border: 1px solid #edf2f7;
	border-radius: 6px;
	padding: 3px 10px;
}
.hv-comp-status {
	display: inline-block;
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-size: .7rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 6px;
	margin-top: 10px;
}
.hv-comp-status.active   { background: #c6f6d5; color: #276749; }
.hv-comp-status.inactive { background: #edf2f7; color: #4a5568; }

/* =========================================================
   CTA card
   ========================================================= */
.hv-cta-card {
	position: relative;
	background: #fff;
	border-radius: 16px;
	padding: 36px 32px;
	margin-bottom: 28px;
	box-shadow: 0 20px 60px -20px rgba(15, 20, 25, 0.18);
	border: 1px solid #edf2f7;
	overflow: hidden;
}
.hv-cta-card::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 4px;
	background: linear-gradient(90deg, #e87c2a 0%, #ff9d4d 100%);
}
.hv-cta-card h3 {
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-size: clamp(1.4rem, 2.2vw, 1.8rem);
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	margin: 0 0 12px;
	color: #0f1419;
	line-height: 1.15;
}
.hv-cta-card > p {
	color: #4a5568;
	margin: 0 0 24px;
	font-size: 1rem;
	line-height: 1.55;
}

/* Contact form within CTA */
.hv-contact-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.hv-contact-form input[type="text"],
.hv-contact-form input[type="email"],
.hv-contact-form input[type="tel"] {
	padding: 14px 16px;
	font-size: 1rem;
	border: 2px solid #e2e8f0;
	border-radius: 10px;
	outline: none;
	transition: border-color .2s, box-shadow .2s, background .2s;
	background: #fafbfc;
	width: 100%;
}
.hv-contact-form input[type="tel"] {
	grid-column: 1 / -1;
}
.hv-contact-form input:focus {
	border-color: #e87c2a;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(232, 124, 42, 0.12);
}
.hv-contact-form .rcrm-sms-consent {
	grid-column: 1 / -1;
	background: #f7fafc;
	border: 1px solid #edf2f7;
	border-radius: 10px;
	padding: 14px 16px;
	margin-top: 4px;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	color: #475569;
	line-height: 1.5;
	text-align: left;
}
.hv-contact-form .rcrm-sms-consent input[type="checkbox"] {
	margin-top: 3px;
	flex-shrink: 0;
	accent-color: #e87c2a;
}
.hv-contact-form .rcrm-sms-consent a {
	color: #e87c2a;
	text-decoration: none;
}
.hv-contact-form .rcrm-sms-consent a:hover { text-decoration: underline; }
.hv-contact-form button {
	grid-column: 1 / -1;
	padding: 16px 30px;
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #fff;
	background: linear-gradient(135deg, #e87c2a 0%, #ff9d4d 100%);
	border: none;
	border-radius: 10px;
	cursor: pointer;
	transition: transform .15s, box-shadow .2s, filter .2s;
	box-shadow: 0 6px 20px -6px rgba(232, 124, 42, 0.55);
	margin-top: 6px;
}
.hv-contact-form button:hover {
	transform: translateY(-1px);
	filter: brightness(1.06);
	box-shadow: 0 10px 26px -6px rgba(232, 124, 42, 0.65);
}

/* =========================================================
   Try another
   ========================================================= */
.hv-link-btn {
	display: block;
	margin: 0 auto;
	background: none;
	border: none;
	color: #718096;
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-size: 0.9rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
	padding: 10px 20px;
	transition: color .2s;
}
.hv-link-btn:hover { color: #e87c2a; }

/* =========================================================
   Error
   ========================================================= */
.hv-error-card {
	text-align: center;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 20px 60px -20px rgba(15, 20, 25, 0.18);
	padding: 56px 32px;
	border: 1px solid #edf2f7;
}
.hv-error-card h2 {
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: #e53e3e;
	margin: 0 0 14px;
}
.hv-error-card p {
	color: #4a5568;
	margin: 0 0 26px;
	font-size: 1rem;
}

/* =========================================================
   Success toast
   ========================================================= */
.hv-toast {
	position: fixed;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	background: linear-gradient(135deg, #276749 0%, #38a169 100%);
	color: #fff;
	padding: 14px 28px;
	border-radius: 10px;
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: .95rem;
	box-shadow: 0 10px 30px rgba(39, 103, 73, 0.35);
	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); } }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 768px) {
	.revolv-hv-hero { padding: 56px 20px 48px; }
	.hv-form-card { padding: 28px 22px 22px; }
	.hv-results-header { padding: 36px 24px 32px; }
	.hv-cta-card { padding: 28px 22px; }
	.hv-contact-form { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	#revolv-home-value-app { padding: 0 16px 50px; }
	.revolv-hv-meta { gap: 14px 20px; }
	.revolv-hv-meta-item { font-size: 0.82rem; }
	.hv-input-row { flex-direction: column; }
	.hv-input-row button { width: 100%; }
	.hv-comps-grid { grid-template-columns: 1fr; }
	.hv-results-header { padding: 30px 20px 28px; }
}


/* v1.10 — value-framed CMA CTA banner */
.hv-cta-value-banner {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px 8px 8px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 99px;
    margin-bottom: 14px;
    font-family: Arial, sans-serif;
}
.hv-cta-value-banner .hv-cta-banner-strike {
    text-decoration: line-through;
    text-decoration-color: #b91c1c;
    text-decoration-thickness: 2px;
    color: #78350f;
    font-weight: 700;
    padding: 4px 10px;
    background: #fff;
    border-radius: 99px;
    font-size: 13px;
}
.hv-cta-value-banner .hv-cta-banner-free {
    color: #15803d;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}


/* v1.42 — Agent branding banner on the broker-handoff valuation page */
.hv-agent-block {
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 60%, #23293a 100%);
    border: 1px solid #2d3748;
    border-radius: 12px;
    padding: 18px 22px;
    margin: 0 0 22px;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.hv-agent-banner-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #e87c2a;
    font-weight: 800;
    margin-bottom: 10px;
}
.hv-agent-row {
    display: flex;
    align-items: center;
    gap: 16px;
}
.hv-agent-photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e87c2a;
    flex-shrink: 0;
}
.hv-agent-photo-fallback {
    background: linear-gradient(135deg, #e87c2a, #ff9d4d);
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hv-agent-info { flex: 1; min-width: 0; }
.hv-agent-name {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 2px;
}
.hv-agent-title {
    font-size: 13px;
    color: #cbd5e0;
    margin-bottom: 8px;
}
.hv-agent-contact {
    font-size: 14px;
    color: #fde68a;
}
.hv-agent-link {
    color: #fde68a;
    text-decoration: none;
    font-weight: 600;
}
.hv-agent-link:hover { color: #fff; text-decoration: underline; }
@media (max-width: 600px) {
    .hv-agent-row { flex-direction: column; align-items: flex-start; }
    .hv-agent-contact { font-size: 13px; }
}
