/* ==========================================================================
   Reality V4 — premium multi-step form + postcode selector
   Completely separate design system from reality.css / #reality.
   Everything is scoped under .rv4 to avoid any collision with the legacy form.
   No page-level chrome (hero/header) and no outer card border/shadow — this
   is meant to be dropped into a container the page already provides.
   ========================================================================== */

.rv4 {
	--rv4-primary: #241454;
	--rv4-primary-dark: #170c38;
	--rv4-primary-soft: #F1EDFB;
	--rv4-accent: #16A34A;
	--rv4-accent-soft: #E9F9EF;
	--rv4-danger: #DC2626;
	--rv4-danger-soft: #FDEDED;
	--rv4-warn: #B45309;
	--rv4-warn-soft: #FEF3E2;
	--rv4-text: #1A1C29;
	--rv4-text-muted: #6B7280;
	--rv4-text-faint: #9CA3AF;
	--rv4-border: #E5E3F0;
	--rv4-border-strong: #D9D5EC;
	--rv4-bg: #FFFFFF;
	--rv4-bg-soft: #FAF9FD;
	--rv4-radius-sm: 10px;
	--rv4-radius-md: 16px;
	--rv4-radius-lg: 22px;
	--rv4-shadow-sm: 0 1px 2px rgba(23, 12, 56, 0.06);
	--rv4-shadow-md: 0 6px 20px rgba(23, 12, 56, 0.08);
	--rv4-shadow-lg: 0 20px 48px rgba(23, 12, 56, 0.14);
	--rv4-space-1: 4px;
	--rv4-space-2: 8px;
	--rv4-space-3: 12px;
	--rv4-space-4: 16px;
	--rv4-space-5: 24px;
	--rv4-space-6: 32px;
	--rv4-space-7: 40px;
	--rv4-space-8: 56px;
	--rv4-ease: cubic-bezier(.4, 0, .2, 1);
	--rv4-ease-pop: cubic-bezier(.34, 1.56, .64, 1);

	font-family: 'RV4Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--rv4-text);
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
}
.rv4, .rv4 *, .rv4 *::before, .rv4 *::after { box-sizing: border-box; }

/* width:100% + min-width:0 here is deliberate, not decorative: if the page
   this gets embedded in wraps it in a flex/grid container (common with
   page-builder layouts), a plain block div sizes itself to its content's
   natural (max-content) width in that context — ignoring any overflow:hidden
   further down the tree, because intrinsic sizing happens before clipping.
   That was the actual cause of the widget visibly growing once the postcode
   result text appeared. Forcing width:100%/min-width:0 here makes it fill
   whatever space it's given instead, regardless of what's above it. */
.rv4 { width: 100% !important; min-width: 0 !important; max-width: 620px; margin: 0 auto; }

/* ---------- USP row (bottom of the block) ---------- */
.rv4-usp-row {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--rv4-space-3);
	margin: var(--rv4-space-7) 0 0;
}
.rv4-usp-item {
	display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
	padding: var(--rv4-space-3) var(--rv4-space-2);
	background: var(--rv4-bg-soft); border: 1px solid var(--rv4-border); border-radius: var(--rv4-radius-md);
}
.rv4-usp-item .rv4-usp-icon {
	width: 38px; height: 38px; border-radius: 50%; background: var(--rv4-primary-soft); color: var(--rv4-primary);
	display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.rv4-usp-icon svg { width: 20px; height: 20px; }
.rv4-usp-item strong { font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.rv4-usp-item span { font-size: 11.5px; color: var(--rv4-text-muted); line-height: 1.3; display: none; }

@media (min-width: 480px) {
	.rv4-usp-item span { display: block; }
}

/* ---------- Card (the actual form) — no border/shadow/bg: the page already
   provides the container. Only the slide-track clips overflow. ---------- */
.rv4-card {
	position: relative;
}

/* ---------- Progress ---------- */
.rv4-progress-wrap { padding: 0 0 var(--rv4-space-4); border-bottom: 1px solid var(--rv4-border); margin-bottom: var(--rv4-space-5); }
.rv4-progress-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.rv4-progress-label { font-size: 13px; font-weight: 700; color: var(--rv4-primary); transition: opacity .2s var(--rv4-ease); }
.rv4-progress-stage { font-size: 12.5px; font-weight: 600; color: var(--rv4-text-muted); transition: opacity .2s var(--rv4-ease); text-align: right; }
.rv4-progress-track { display: flex; gap: 4px; }
.rv4-progress-seg {
	flex: 1; height: 6px; border-radius: 999px; background: var(--rv4-border);
	overflow: hidden; position: relative;
}
.rv4-progress-seg span {
	position: absolute; inset: 0; width: 0%; background: linear-gradient(90deg, var(--rv4-primary), #4B2E9E);
	border-radius: 999px; transition: width .6s var(--rv4-ease);
}
.rv4-progress-seg.is-complete span { width: 100%; }
.rv4-progress-seg.is-current span { width: var(--rv4-fill, 0%); }
.rv4-progress-seg.is-pulse span { animation: rv4-pulse-seg .6s var(--rv4-ease); }
/* Subtle continuous shimmer on the active segment — makes the bar feel alive
   even while the user is reading the question, not just on step change. */
.rv4-progress-seg.is-current span::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
	background-size: 60% 100%; background-repeat: no-repeat; background-position: -60% 0;
	animation: rv4-shimmer 2.2s ease-in-out infinite;
}
@keyframes rv4-shimmer {
	0% { background-position: -60% 0; }
	60%, 100% { background-position: 160% 0; }
}
@keyframes rv4-pulse-seg {
	0% { box-shadow: 0 0 0 0 rgba(36, 20, 84, .35); }
	100% { box-shadow: 0 0 0 6px rgba(36, 20, 84, 0); }
}

/* Truthful "answer saved" recap chip — reinforces real progress without
   ever claiming a statistic we can't stand behind. Fixed height reserved
   so it never shifts layout when it appears/changes. */
.rv4-recap {
	min-height: 22px; margin-top: 10px; font-size: 12.5px; font-weight: 600; color: var(--rv4-accent);
	display: flex; align-items: center; gap: 6px; opacity: 0; transform: translateY(-3px);
	transition: opacity .3s var(--rv4-ease), transform .3s var(--rv4-ease);
}
.rv4-recap.is-visible { opacity: 1; transform: translateY(0); }
.rv4-recap svg { width: 14px; height: 14px; flex-shrink: 0; }
.rv4-recap span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Area confirmation — just the check icon, text and a "Vaihda" link. No
   pill/badge chrome. Animated in via max-height so it never causes a sudden
   layout jump when it appears (e.g. right after the postcode is found). */
.rv4-area-banner {
	display: flex; align-items: center; gap: 8px; overflow: hidden;
	max-height: 0; opacity: 0; margin: 0; color: #14532D; font-size: 13.5px; font-weight: 600;
	transition: max-height .35s var(--rv4-ease), opacity .3s var(--rv4-ease), margin .35s var(--rv4-ease);
}
.rv4-area-banner.is-visible { max-height: 40px; opacity: 1; margin: 0 0 var(--rv4-space-5); }
.rv4-area-banner .rv4-check { flex-shrink: 0; width: 22px; height: 22px; color: var(--rv4-accent); }
.rv4-area-banner .rv4-check svg { width: 100%; height: 100%; display: block; }
.rv4-area-banner button {
	margin-left: auto; background: none; border: none; padding: 0; font: inherit; font-weight: 600;
	color: var(--rv4-primary); text-decoration: underline; cursor: pointer; opacity: .8;
}
.rv4-area-banner button:hover { opacity: 1; }

/* ---------- Steps ---------- */
.rv4-steps { position: relative; overflow: hidden; }
.rv4-step {
	padding: 0 0 var(--rv4-space-3);
	display: none;
}
.rv4-step.is-active { display: block; animation: rv4-step-in .3s var(--rv4-ease-pop); }
.rv4-step.is-leaving { animation: rv4-step-out .18s var(--rv4-ease) forwards; }
@keyframes rv4-step-in {
	from { opacity: 0; transform: translateX(18px) scale(.99); }
	to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes rv4-step-out {
	from { opacity: 1; transform: translateX(0); }
	to { opacity: 0; transform: translateX(-18px); }
}

.rv4-step-title { font-size: 20px; font-weight: 800; margin: 0 0 6px; letter-spacing: -0.01em; }
.rv4-step-desc { font-size: 14px; color: var(--rv4-text-muted); margin: 0 0 var(--rv4-space-5); line-height: 1.5; }

/* ---------- Fields ---------- */
.rv4-field { margin-bottom: var(--rv4-space-4); }
.rv4-field label {
	display: block; font-size: 13px; font-weight: 700; color: var(--rv4-text); margin-bottom: 6px;
}

.rv4-input {
	width: 100%; height: 52px; padding: 0 16px;
	border: 1.5px solid var(--rv4-border-strong); border-radius: var(--rv4-radius-sm);
	background: var(--rv4-bg-soft); color: var(--rv4-text);
	font-size: 16px; font-family: inherit; font-weight: 500;
	transition: border-color .18s var(--rv4-ease), box-shadow .18s var(--rv4-ease), background-color .18s var(--rv4-ease);
	appearance: none; -webkit-appearance: none;
}
.rv4-input::placeholder { color: var(--rv4-text-faint); font-weight: 600; }
.rv4-input:hover { border-color: #C3BEDB; }
.rv4-input:focus {
	outline: none; border-color: var(--rv4-primary); background: var(--rv4-bg);
}
.rv4-field.has-error .rv4-input { border-color: var(--rv4-danger); background: var(--rv4-danger-soft); }
.rv4-field-error { display: none; color: var(--rv4-danger); font-size: 12.5px; font-weight: 600; margin-top: 6px; }
.rv4-field.has-error .rv4-field-error { display: block; }

/* Postcode field status slot — a fixed-height row that is ALWAYS present at
   the same size, whether idle, searching, found or errored. Only the icon
   and text fade in place (opacity), never the box itself — so the gap
   between the input and the button, and the button's own size/position,
   never move at any point. */
.rv4-postcode-field { position: relative; width: 100%; min-width: 0; overflow: hidden; }
.rv4-postcode-status {
	display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-width: 0;
	height: 20px; margin: 6px 2px 0; font-size: 12.5px; font-weight: 600;
}
.rv4-postcode-status .rv4-status-icon { width: 18px; height: 18px; flex-shrink: 0; position: relative; }
/* The found/error message must never be able to widen the row — it always
   truncates instead, so the input and button never change size or shift. */
.rv4-postcode-status .rv4-status-text {
	overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important;
	min-width: 0 !important; max-width: 100% !important; flex-shrink: 1 !important; display: block !important;
}
/* Spinner and checkmark sit stacked exactly on top of each other and
   crossfade — this avoids any layout jump between the two states, and
   gives the loading indicator a proper animated (fade+scale) entrance
   instead of an abrupt display:none/block swap. */
.rv4-postcode-status .rv4-spinner {
	position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border-radius: 50%;
	border: 2.5px solid var(--rv4-border-strong); border-top-color: var(--rv4-primary);
	animation: rv4-spin .7s linear infinite;
	opacity: 0; transform: scale(.6); transition: opacity .2s var(--rv4-ease), transform .2s var(--rv4-ease);
}
.rv4-postcode-status.is-loading .rv4-spinner { opacity: 1; transform: scale(1); }
.rv4-postcode-status .rv4-check-icon {
	position: absolute; inset: 0; color: var(--rv4-accent);
	opacity: 0; transform: scale(.5); transition: opacity .28s var(--rv4-ease-pop), transform .28s var(--rv4-ease-pop);
}
.rv4-postcode-status.is-found .rv4-check-icon { opacity: 1; transform: scale(1); }
.rv4-postcode-status .rv4-check-icon svg { width: 100%; height: 100%; display: block; }
.rv4-postcode-status .rv4-status-text { color: var(--rv4-text-muted); transition: opacity .18s var(--rv4-ease), color .18s var(--rv4-ease); }
.rv4-postcode-status.is-found .rv4-status-text { color: #14532D; }
.rv4-postcode-status.is-error .rv4-status-text { color: var(--rv4-danger); font-weight: 700; }
@keyframes rv4-spin { to { transform: rotate(360deg); } }
@keyframes rv4-pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }

/* ---------- Apartment type cards ---------- */
.rv4-type-grid {
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
	margin-bottom: var(--rv4-space-2);
}
@media (min-width: 480px) { .rv4-type-grid { grid-template-columns: repeat(3, 1fr); } }

.rv4-type-card { position: relative; }
.rv4-type-card input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.rv4-type-card label {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
	text-align: center; padding: 16px 8px; height: 100%;
	border: 1.5px solid var(--rv4-border-strong); border-radius: var(--rv4-radius-md);
	background: var(--rv4-bg-soft); cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--rv4-text);
	transition: border-color .16s var(--rv4-ease), background-color .16s var(--rv4-ease), box-shadow .16s var(--rv4-ease), transform .16s var(--rv4-ease);
}
.rv4-type-card .rv4-type-icon {
	width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--rv4-primary);
	display: flex; align-items: center; justify-content: center; box-shadow: var(--rv4-shadow-sm);
	transition: background-color .16s var(--rv4-ease), color .16s var(--rv4-ease), transform .2s var(--rv4-ease-pop);
}
.rv4-type-icon svg { width: 24px; height: 24px; }
.rv4-type-card label:hover { border-color: #BEB4E6; transform: translateY(-1px); box-shadow: var(--rv4-shadow-sm); }
.rv4-type-card input:checked + label {
	border-color: var(--rv4-primary); background: var(--rv4-primary-soft);
	box-shadow: 0 0 0 3px var(--rv4-primary-soft);
}
.rv4-type-card input:checked + label .rv4-type-icon { background: var(--rv4-primary); color: #fff; transform: scale(1.08); }
.rv4-type-card input:focus-visible + label { outline: 2px solid var(--rv4-primary); outline-offset: 2px; }

.rv4-field.has-error .rv4-type-grid { outline: 2px solid var(--rv4-danger); outline-offset: 6px; border-radius: var(--rv4-radius-md); }

/* ---------- Pill option group (selling timeframe / agent preference) ---------- */
.rv4-pill-group { display: flex; flex-direction: column; gap: 8px; }
.rv4-pill-option input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.rv4-pill-option label {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	padding: 14px 16px; border: 1.5px solid var(--rv4-border-strong); border-radius: var(--rv4-radius-sm);
	background: var(--rv4-bg-soft); cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--rv4-text);
	transition: border-color .16s var(--rv4-ease), background-color .16s var(--rv4-ease), box-shadow .16s var(--rv4-ease), transform .16s var(--rv4-ease);
}
.rv4-pill-option label:hover { border-color: #BEB4E6; transform: translateY(-1px); }
.rv4-pill-check { width: 22px; height: 22px; border-radius: 50%; background: var(--rv4-primary); color: #fff;
	display: flex; align-items: center; justify-content: center; flex-shrink: 0; opacity: 0; transform: scale(.5);
	transition: opacity .16s var(--rv4-ease-pop), transform .16s var(--rv4-ease-pop);
}
.rv4-pill-check svg { width: 12px; height: 12px; }
.rv4-pill-option input:checked + label {
	border-color: var(--rv4-primary); background: var(--rv4-primary-soft); box-shadow: 0 0 0 3px var(--rv4-primary-soft);
}
.rv4-pill-option input:checked + label .rv4-pill-check { opacity: 1; transform: scale(1); }
.rv4-pill-option input:focus-visible + label { outline: 2px solid var(--rv4-primary); outline-offset: 2px; }
.rv4-field.has-error .rv4-pill-group { outline: 2px solid var(--rv4-danger); outline-offset: 6px; border-radius: var(--rv4-radius-md); }

/* Soft-block notice (selling = "Myöhemmin") */
.rv4-notlater {
	display: none; margin-top: var(--rv4-space-3); background: var(--rv4-warn-soft); color: var(--rv4-warn);
	border: 1px solid #F5D9AE; border-radius: var(--rv4-radius-sm); padding: 12px 14px; font-size: 13px; font-weight: 600; line-height: 1.5;
}
.rv4-notlater.is-visible { display: block; animation: rv4-pop .25s var(--rv4-ease); }

/* ---------- Checkbox / agreement ----------
   The visual box lives INSIDE the <label> (not as a sibling next to it),
   so the whole label — box and text alike — is a single clickable surface
   via the native label→input association. A box placed outside the label
   is not part of that association and won't toggle the checkbox. */
.rv4-checkbox-row { display: flex; margin: var(--rv4-space-4) 0; }
.rv4-checkbox-row input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.rv4-checkbox-row label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.rv4-checkbox-row .rv4-checkbox-box {
	width: 21px; height: 21px; flex-shrink: 0; border-radius: 6px; border: 1.5px solid var(--rv4-border-strong);
	background: var(--rv4-bg-soft); display: flex; align-items: center; justify-content: center;
	transition: border-color .16s var(--rv4-ease), background-color .16s var(--rv4-ease);
}
.rv4-checkbox-row .rv4-checkbox-box svg { width: 13px; height: 13px; color: #fff; opacity: 0; transition: opacity .12s var(--rv4-ease); }
.rv4-checkbox-row input:checked + label .rv4-checkbox-box { background: var(--rv4-primary); border-color: var(--rv4-primary); }
.rv4-checkbox-row input:checked + label .rv4-checkbox-box svg { opacity: 1; }
.rv4-checkbox-row .rv4-checkbox-text { font-size: 13px; line-height: 1.5; color: var(--rv4-text-muted); min-width: 0; }
.rv4-checkbox-row .rv4-checkbox-text a { color: var(--rv4-primary); font-weight: 600; position: relative; z-index: 1; }
.rv4-checkbox-row.has-error .rv4-checkbox-box { border-color: var(--rv4-danger); background: var(--rv4-danger-soft); }

/* ---------- Buttons ----------
   Primary action is the only real "button" and always spans full width;
   "Edellinen" is a small, quiet text link underneath it, not a competing
   button — the visual hierarchy should make the forward action obvious. */
.rv4-nav-row { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: var(--rv4-space-6); }
.rv4-btn-text {
	display: block; background: none; border: none; padding: 8px; margin: 0 auto;
	font-family: inherit; font-size: 14px; font-weight: 600; color: var(--rv4-text-muted);
	cursor: pointer; text-align: center; text-decoration: underline; text-underline-offset: 2px;
	-webkit-tap-highlight-color: transparent;
}
.rv4-btn-text:hover { color: var(--rv4-text); }
.rv4-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 54px; padding: 0 28px; border-radius: var(--rv4-radius-sm); border: none;
	font-family: inherit; font-size: 16px; font-weight: 700; cursor: pointer;
	transition: background-color .16s var(--rv4-ease), box-shadow .16s var(--rv4-ease), border-color .16s var(--rv4-ease), opacity .16s var(--rv4-ease);
	-webkit-tap-highlight-color: transparent; user-select: none; white-space: nowrap;
}
.rv4-btn:active { box-shadow: inset 0 2px 4px rgba(0,0,0,.15); }
.rv4-btn-primary { background: var(--rv4-primary); color: #fff; }
.rv4-btn-primary:hover, .rv4-btn-primary:focus-visible { background: var(--rv4-primary-dark); }
.rv4-btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.rv4-btn-pill { border-radius: 999px; }

.rv4-btn-primary .rv4-btn-spinner {
	width: 17px; height: 17px; border-radius: 50%;
	border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff;
	animation: rv4-spin .7s linear infinite; display: none;
}
.rv4-btn-primary.is-loading .rv4-btn-spinner { display: inline-block; }
.rv4-btn-primary.is-loading .rv4-btn-label { opacity: .85; }

/* ---------- Error banner ---------- */
.rv4-error-banner {
	display: none; align-items: center; gap: 8px; background: var(--rv4-danger-soft); color: var(--rv4-danger);
	border: 1px solid #F6C6C6; border-radius: var(--rv4-radius-sm); padding: 10px 14px; font-size: 13px; font-weight: 600;
	margin-top: var(--rv4-space-4);
}
.rv4-error-banner.is-visible { display: flex; }

/* ---------- Success ---------- */
.rv4-success {
	display: none; padding: var(--rv4-space-8) 0; text-align: center;
}
.rv4-success.is-active { display: block; animation: rv4-step-in .4s var(--rv4-ease-pop); }
.rv4-success-check {
	width: 76px; height: 76px; border-radius: 50%; margin: 0 auto var(--rv4-space-5);
	background: var(--rv4-accent-soft); display: flex; align-items: center; justify-content: center;
}
.rv4-success-check svg { width: 44px; height: 44px; color: var(--rv4-accent); }
.rv4-success-check path.rv4-draw {
	stroke-dasharray: 20; stroke-dashoffset: 20; animation: rv4-draw .5s .2s var(--rv4-ease) forwards;
}
@keyframes rv4-draw { to { stroke-dashoffset: 0; } }
.rv4-success h2 { font-size: 22px; font-weight: 800; margin: 0 0 10px; }
.rv4-success p { font-size: 14.5px; color: var(--rv4-text-muted); line-height: 1.6; max-width: 420px; margin: 0 auto; }
.rv4-success .rv4-reference {
	display: inline-block; margin-top: var(--rv4-space-5); font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
	color: var(--rv4-primary); background: var(--rv4-primary-soft); padding: 8px 16px; border-radius: 999px;
}

/* ---------- Standalone postcode selector widget ---------- */
/* Every element in this chain is pinned to width:100% of its own parent,
   with !important, so nothing about the postcode-result text (however wide)
   can ever make the input or button change size. Each element's width comes
   only from its parent, never from its own content. */
.rv4-selector-card {
	position: relative; display: block;
	width: 100% !important; max-width: 100% !important; min-width: 0 !important;
	overflow: hidden;
}
.rv4-selector-card .rv4-field {
	margin-bottom: 0; width: 100% !important; max-width: 100% !important; min-width: 0 !important;
}
.rv4-selector-card .rv4-nav-row {
	margin-top: 8px; width: 100% !important; max-width: 100% !important; min-width: 0 !important;
}
.rv4-selector-card .rv4-input {
	padding: 12px;
	width: 200px;
	font-size: 16px;
	border: 2px solid #b9adcb;
	border-radius: 5px;
	text-align: center;
	margin: 0 auto;
	display: block;
	font-weight: 600;
	background: var(--rv4-bg);
}
.rv4-selector-card .rv4-input:hover { border-color: #A594D1; }
.rv4-selector-card .rv4-input:focus { border-color: var(--rv4-primary); }
.rv4-selector-card .rv4-postcode-status {
	width: 100% !important; max-width: 100% !important; min-width: 0 !important;
}
.rv4-selector-card .rv4-btn {
	width: 100% !important; max-width: 100% !important; box-sizing: border-box !important;
}

/* ---------- Partner logos ---------- */
.rv4-partners { margin-top: var(--rv4-space-6); text-align: center; }
.rv4-partners-label { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--rv4-text-faint); margin-bottom: var(--rv4-space-3); }
.rv4-partners-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px; }
.rv4-partners-row img { max-height: 26px; width: auto; opacity: .55; filter: grayscale(100%); transition: opacity .2s var(--rv4-ease); }
.rv4-partners-row img:hover { opacity: .9; }
.rv4-partners-row .rv4-partner-chip {
	font-size: 12.5px; font-weight: 700; color: var(--rv4-text-faint); letter-spacing: .01em;
}

/* ---------- Footer ---------- */
.rv4-footer {
	margin-top: var(--rv4-space-7); padding-top: var(--rv4-space-5); border-top: 1px solid var(--rv4-border);
	text-align: center; font-size: 12px; color: var(--rv4-text-faint); line-height: 1.8;
}
.rv4-footer a { color: var(--rv4-text-faint); text-decoration: underline; }
.rv4-footer a:hover { color: var(--rv4-text-muted); }
.rv4-footer .rv4-footer-sep { margin: 0 6px; opacity: .5; }

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
	.rv4-usp-row { gap: 8px; }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
	.rv4 * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
