/* revolv® Investment Calculator — editorial v2.0 (2026-04-21) */

/* Hide theme's default banner on /investment-calculator */
body.page-id-105 .revolv-page-banner { display: none !important; }

/* =========================================================
   Editorial hero (outside #revolv-invest-app for full-bleed)
   ========================================================= */
.revolv-inv-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-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 100vw;
	box-sizing: border-box;
	border-bottom: 3px solid #e87c2a;
	overflow: hidden;
}
.revolv-inv-hero-inner {
	max-width: 1120px;
	margin: 0 auto;
	position: relative;
	z-index: 2;
}
.revolv-inv-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-inv-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-inv-title-accent {
	background: linear-gradient(135deg, #e87c2a 0%, #ff9d4d 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.revolv-inv-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-inv-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 22px 32px;
	align-items: center;
}
.revolv-inv-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-size: 0.9rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #cbd5e0;
}
.revolv-inv-meta-dot {
	width: 8px;
	height: 8px;
	background: #e87c2a;
	border-radius: 50%;
	box-shadow: 0 0 12px rgba(232, 124, 42, 0.7);
}

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

/* =========================================================
   Step 1: Address form card (modern with orange top stripe)
   ========================================================= */
.inv-form-card {
	position: relative;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
	padding: 36px 32px 32px;
	margin: 0 auto;
	max-width: 780px;
	overflow: hidden;
}
.inv-form-card::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 4px;
	background: linear-gradient(90deg, #e87c2a 0%, #ff9d4d 100%);
}
.inv-form-card-label {
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-size: 0.82rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #e87c2a;
	font-weight: 600;
	margin: 0 0 10px;
}
.inv-form-card h2 {
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-weight: 700;
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	line-height: 1.1;
	color: #1a202c;
	margin: 0 0 22px;
	text-transform: none;
}
.inv-input-row { display: flex; gap: 12px; }
.inv-input-row input {
	flex: 1;
	padding: 14px 18px;
	font-size: 1rem;
	border: 2px solid #e2e8f0;
	border-radius: 10px;
	outline: none;
	transition: border-color .2s, box-shadow .2s;
	background: #fff;
}
.inv-input-row input:focus {
	border-color: #e87c2a;
	box-shadow: 0 0 0 4px rgba(232, 124, 42, 0.12);
}
.inv-input-row button,
.inv-btn {
	padding: 14px 28px;
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-size: 0.95rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 600;
	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 .15s;
	box-shadow: 0 4px 14px rgba(232, 124, 42, 0.25);
}
.inv-input-row button:hover,
.inv-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(232, 124, 42, 0.35);
}
.inv-disclaimer {
	margin: 14px 0 0;
	font-size: .82rem;
	color: #a0aec0;
	text-align: center;
}

/* =========================================================
   Loading
   ========================================================= */
.inv-loading { text-align: center; padding: 100px 20px; }
.inv-spinner {
	width: 54px; height: 54px;
	border: 4px solid #e2e8f0;
	border-top-color: #e87c2a;
	border-radius: 50%;
	margin: 0 auto 22px;
	animation: inv-spin .8s linear infinite;
}
@keyframes inv-spin { to { transform: rotate(360deg); } }
.inv-loading p {
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-size: 1rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #718096;
}

/* =========================================================
   Results
   ========================================================= */

/* Dark results header */
.inv-result-header {
	background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 60%, #23293a 100%);
	color: #fff;
	padding: 32px 28px;
	border-radius: 14px;
	margin-bottom: 24px;
	position: relative;
	overflow: hidden;
}
.inv-result-header::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: linear-gradient(90deg, #e87c2a 0%, #ff9d4d 100%);
}
.inv-result-header-kicker {
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-size: 0.78rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #e87c2a;
	margin: 0 0 10px;
}
.inv-result-address {
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-size: clamp(1.4rem, 2.2vw, 1.9rem);
	font-weight: 700;
	color: #fff;
	margin: 0;
	line-height: 1.15;
	text-transform: none;
}

/* Metric cards */
.inv-metrics {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-bottom: 32px;
}
.inv-metric-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 22px 18px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	transition: transform .2s, box-shadow .2s;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.inv-metric-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.inv-metric-label {
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-size: .78rem;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: #718096;
	font-weight: 500;
}
.inv-metric-value {
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-size: 1.9rem;
	font-weight: 700;
	line-height: 1;
	color: #1a202c;
	background: linear-gradient(135deg, #e87c2a 0%, #ff9d4d 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.inv-metric-value.rent {
	background: linear-gradient(135deg, #2b6cb0 0%, #4299e1 100%);
	-webkit-background-clip: text;
	background-clip: text;
}
.inv-metric-value.cap {
	background: linear-gradient(135deg, #e87c2a 0%, #ff9d4d 100%);
	-webkit-background-clip: text;
	background-clip: text;
}
.inv-metric-sub {
	font-size: .75rem;
	color: #a0aec0;
}

/* Breakdown */
.inv-breakdown {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 28px;
}
.inv-col {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 26px 24px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.inv-breakdown h3 {
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-size: 1.1rem;
	font-weight: 700;
	margin: 0 0 18px;
	color: #1a202c;
	padding-bottom: 10px;
	border-bottom: 2px solid #e87c2a;
	display: inline-block;
}
.inv-row {
	display: flex;
	justify-content: space-between;
	padding: 9px 0;
	font-size: .92rem;
	border-bottom: 1px solid #f7fafc;
}
.inv-row.sub {
	padding-left: 16px;
	color: #718096;
	font-size: .88rem;
}
.inv-row.total {
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-weight: 700;
	font-size: 1rem;
	border-top: 2px solid #e2e8f0;
	border-bottom: none;
	padding-top: 14px;
	margin-top: 6px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.inv-pos { color: #276749; font-weight: 600; }
.inv-neg { color: #c53030; }

.inv-benchmark {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 2px solid #e2e8f0;
}
.inv-benchmark h4 {
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-size: 0.95rem;
	margin: 0 0 12px;
	color: #1a202c;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

/* =========================================================
   CTA card
   ========================================================= */
.inv-cta-card {
	position: relative;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	padding: 36px 32px 32px;
	margin-bottom: 24px;
	overflow: hidden;
}
.inv-cta-card::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 4px;
	background: linear-gradient(90deg, #e87c2a 0%, #ff9d4d 100%);
}
.inv-cta-card h3 {
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-size: clamp(1.3rem, 2vw, 1.7rem);
	font-weight: 700;
	margin: 0 0 8px;
	color: #1a202c;
	text-transform: none;
}
.inv-cta-card > p {
	color: #718096;
	margin: 0 0 22px;
	font-size: 1rem;
	line-height: 1.5;
}
.inv-contact-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
.inv-contact-form input[type="text"],
.inv-contact-form input[type="email"],
.inv-contact-form input[type="tel"] {
	width: 100%;
	padding: 13px 16px;
	font-size: .95rem;
	border: 2px solid #e2e8f0;
	border-radius: 10px;
	outline: none;
	transition: border-color .2s, box-shadow .2s;
	background: #fff;
	box-sizing: border-box;
}
.inv-contact-form input:focus {
	border-color: #e87c2a;
	box-shadow: 0 0 0 4px rgba(232, 124, 42, 0.12);
}
.inv-contact-form #inv-name,
.inv-contact-form #inv-email {
	/* First two on separate columns */
}
.inv-contact-form #inv-phone {
	grid-column: 1 / -1;
}
.inv-contact-form .rcrm-sms-consent {
	grid-column: 1 / -1;
}
.inv-contact-form button {
	grid-column: 1 / -1;
	padding: 14px 28px;
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-size: 0.95rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 600;
	color: #fff;
	background: linear-gradient(135deg, #e87c2a 0%, #ff9d4d 100%);
	border: none;
	border-radius: 10px;
	cursor: pointer;
	transition: transform .15s, box-shadow .15s;
	box-shadow: 0 4px 14px rgba(232, 124, 42, 0.25);
}
.inv-contact-form button:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(232, 124, 42, 0.35);
}

.inv-link-btn {
	display: block;
	margin: 16px auto 0;
	background: none;
	border: none;
	color: #e87c2a;
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-size: .9rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	font-weight: 600;
}
.inv-link-btn:hover { text-decoration: underline; }

/* =========================================================
   Error
   ========================================================= */
.inv-error-card {
	text-align: center;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	padding: 56px 32px;
	position: relative;
	overflow: hidden;
}
.inv-error-card::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 4px;
	background: linear-gradient(90deg, #c53030 0%, #e53e3e 100%);
}
.inv-error-card h2 {
	font-family: "Oswald", "Arial Narrow", sans-serif;
	color: #c53030;
	margin: 0 0 14px;
	text-transform: none;
}
.inv-error-card p {
	color: #718096;
	margin: 0 0 26px;
	font-size: 1rem;
}

/* =========================================================
   Toast
   ========================================================= */
.inv-toast {
	position: fixed;
	bottom: 30px; left: 50%;
	transform: translateX(-50%);
	background: #276749;
	color: #fff;
	padding: 14px 28px;
	border-radius: 10px;
	font-family: "Oswald", "Arial Narrow", sans-serif;
	letter-spacing: 0.08em;
	font-weight: 600;
	z-index: 99999;
	animation: inv-fade .3s;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
@keyframes inv-fade {
	from { opacity: 0; transform: translateX(-50%) translateY(20px); }
	to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
	.inv-metrics { grid-template-columns: repeat(2, 1fr); }
	.inv-breakdown { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.revolv-inv-hero { padding: 52px 20px 44px; }
	#revolv-invest-app { padding: 32px 16px 48px; }
	.inv-input-row { flex-direction: column; }
	.inv-form-card { padding: 28px 22px; }
	.inv-result-header { padding: 24px 22px; }
	.inv-metrics { grid-template-columns: 1fr; }
	.inv-contact-form { grid-template-columns: 1fr; }
	.inv-col { padding: 22px 20px; }
	.inv-cta-card { padding: 28px 22px; }
	.revolv-inv-meta { gap: 14px 20px; }
	.revolv-inv-meta-item { font-size: 0.82rem; }
}


/* === Editable figures — subtle hints so users know the numbers are editable === */
.inv-edit {
	cursor: text;
	outline: none;
	border-radius: 3px;
	padding: 0 2px;
	margin: 0 -2px;
	transition: background 160ms ease, box-shadow 160ms ease;
}
.inv-edit:hover {
	background: rgba(15, 23, 42, 0.05);
	box-shadow: inset 0 -1px 0 rgba(15, 23, 42, 0.35);
}
.inv-edit:focus {
	background: rgba(15, 23, 42, 0.07);
	box-shadow: inset 0 -1px 0 #0f172a;
}
.inv-edit::selection { background: rgba(232, 124, 42, 0.28); }
/* Prevent selection/caret collapse on gradient-text metric values */
.inv-metric-value.inv-edit:focus {
	-webkit-text-fill-color: currentColor;
	background-clip: initial;
	-webkit-background-clip: initial;
	color: #1a202c;
}
.inv-metric-value.rent.inv-edit:focus { color: #2b6cb0; }
.inv-metric-value.cap.inv-edit:focus  { color: #e87c2a; }
