/*
 * RentaRide homepage layer.
 * Loaded only when is_front_page().
 */

/* ---------------------------------------------------------------
   1. Hero: full-bleed photo with a frosted claim panel
   --------------------------------------------------------------- */
.b0e7e4-hero {
	position: relative;
	margin: -36px -40px 48px;
	min-height: clamp(460px, 64vh, 620px);
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	background: #0f1722;
	isolation: isolate;
}
.b0e7e4-hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.02);
	animation: b0e7e4-hero-drift 26s ease-in-out infinite alternate;
}
@keyframes b0e7e4-hero-drift {
	from { transform: scale(1.02) translate3d(0, 0, 0); }
	to   { transform: scale(1.07) translate3d(0, -10px, 0); }
}
.b0e7e4-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(9, 15, 24, .30) 0%, rgba(9, 15, 24, .16) 38%, rgba(9, 15, 24, .74) 100%),
		linear-gradient(100deg, rgba(9, 15, 24, .58) 0%, rgba(9, 15, 24, 0) 62%);
	z-index: 1;
}
.b0e7e4-hero-inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: calc(var(--maxw) + 80px);
	padding: 0 40px 46px;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 28px;
}
.b0e7e4-hero-copy { flex: 1 1 520px; min-width: 0; }
.b0e7e4-hero-eyebrow {
	margin: 0 0 14px;
	font-size: 11px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .82);
	font-family: var(--font-body);
	font-weight: 600;
}
.b0e7e4-hero h1 {
	color: #fff;
	font-size: clamp(38px, 5.2vw, 68px);
	line-height: 1.04;
	letter-spacing: -.022em;
	max-width: 760px;
	text-shadow: 0 3px 30px rgba(5, 9, 16, .5);
}
.b0e7e4-hero-lede {
	margin: 18px 0 0;
	max-width: 560px;
	font-size: 17px;
	line-height: 1.65;
	color: rgba(255, 255, 255, .86);
}
.b0e7e4-hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}
.b0e7e4-hero-cta .b0e7e4-btn {
	background: rgba(255, 255, 255, .16);
	border: 1px solid rgba(255, 255, 255, .42);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	color: #fff;
}
.b0e7e4-hero-cta .b0e7e4-btn:hover { background: rgba(255, 255, 255, .26); }
.b0e7e4-hero-cta .b0e7e4-btn--solid {
	background: var(--accent);
	border-color: var(--accent);
	box-shadow: 0 14px 30px -14px rgba(30, 127, 209, .8);
}
.b0e7e4-hero-cta .b0e7e4-btn--solid:hover { background: #1a72bf; }

.b0e7e4-hero-note {
	flex: 0 0 232px;
	padding: 18px 20px;
	border-radius: var(--radius);
	background: rgba(255, 255, 255, .14);
	border: 1px solid rgba(255, 255, 255, .34);
	-webkit-backdrop-filter: blur(14px) saturate(1.2);
	backdrop-filter: blur(14px) saturate(1.2);
	color: #fff;
	font-size: 12.5px;
	line-height: 1.7;
}
.b0e7e4-hero-note strong {
	display: block;
	font-family: var(--font-head);
	font-size: 15px;
	margin-bottom: 6px;
	letter-spacing: .01em;
}

/* ---------------------------------------------------------------
   2. Quick comparison table
   --------------------------------------------------------------- */
.b0e7e4-quick { padding: 8px 8px 4px; overflow-x: auto; }
.b0e7e4-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 720px;
	font-size: 13.5px;
}
.b0e7e4-table caption {
	caption-side: top;
	text-align: left;
	padding: 14px 16px 8px;
	font-size: 12.5px;
	color: var(--text-muted);
}
.b0e7e4-table thead th {
	text-align: left;
	font-family: var(--font-body);
	font-size: 10.5px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--text-muted);
	font-weight: 600;
	padding: 12px 16px;
	border-bottom: 1px solid var(--border);
	white-space: nowrap;
}
.b0e7e4-table tbody th {
	text-align: left;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 15.5px;
	padding: 16px;
	white-space: nowrap;
	color: var(--text);
}
.b0e7e4-table tbody td {
	padding: 16px;
	color: var(--text-muted);
	border-top: 1px solid rgba(0, 0, 0, .06);
}
.b0e7e4-table tbody tr:first-child td { border-top: 1px solid var(--border); }
.b0e7e4-table tbody tr { transition: background .18s ease; }
.b0e7e4-table tbody tr:hover { background: rgba(255, 255, 255, .72); }
.b0e7e4-table td b, .b0e7e4-table td strong { color: var(--text); font-weight: 600; }
.b0e7e4-table .b0e7e4-pill {
	display: inline-block;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--accent-soft);
	color: var(--accent);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .02em;
}

/* ---------------------------------------------------------------
   3. Four step flow
   --------------------------------------------------------------- */
.b0e7e4-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	padding: 6px 0;
}
.b0e7e4-step {
	position: relative;
	padding: 26px 26px 26px 26px;
	border-left: 1px solid var(--border);
}
.b0e7e4-step:first-child { border-left: 0; }
.b0e7e4-step-num {
	font-family: var(--font-head);
	font-size: 34px;
	line-height: 1;
	color: var(--accent);
	opacity: .55;
	margin-bottom: 12px;
	display: block;
}
.b0e7e4-step h3 { font-size: 19px; margin-bottom: 8px; }
.b0e7e4-step p { margin: 0; font-size: 13.5px; line-height: 1.65; color: var(--text-muted); }
.b0e7e4-step::after {
	content: "\2192";
	position: absolute;
	top: 30px;
	right: -11px;
	font-size: 15px;
	color: var(--text-muted);
	opacity: .5;
	z-index: 3;
}
.b0e7e4-step:last-child::after { content: none; }

/* ---------------------------------------------------------------
   4. Image wall
   --------------------------------------------------------------- */
.b0e7e4-wall {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}
.b0e7e4-wall-item {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--glass-line);
	box-shadow: var(--shadow);
	background: var(--bg-deep);
}
.b0e7e4-wall-item img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .6s ease;
}
.b0e7e4-wall-item:hover img { transform: scale(1.06); }
.b0e7e4-wall-item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 16, 26, 0) 45%, rgba(10, 16, 26, .58) 100%);
	opacity: .9;
	transition: opacity .25s ease;
}
.b0e7e4-wall-item:hover::after { opacity: .7; }
.b0e7e4-wall-cap {
	position: absolute;
	left: 14px; right: 14px; bottom: 12px;
	z-index: 2;
	color: #fff;
	font-family: var(--font-head);
	font-size: 14.5px;
	line-height: 1.35;
	text-shadow: 0 1px 12px rgba(0, 0, 0, .55);
}

/* ---------------------------------------------------------------
   5. Numbers band
   --------------------------------------------------------------- */
.b0e7e4-band {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	padding: 8px 0;
}
.b0e7e4-band-cell {
	padding: 28px 26px;
	border-left: 1px solid var(--border);
}
.b0e7e4-band-cell:first-child { border-left: 0; }
.b0e7e4-band-num {
	font-family: var(--font-head);
	font-size: clamp(34px, 3.6vw, 46px);
	line-height: 1;
	letter-spacing: -.02em;
	color: var(--text);
	display: block;
	margin-bottom: 10px;
}
.b0e7e4-band-num em { font-style: normal; color: var(--accent); font-size: .58em; vertical-align: super; margin-left: 2px; }
.b0e7e4-band-label {
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--text-muted);
	margin: 0;
}

/* ---------------------------------------------------------------
   6. Responsive
   --------------------------------------------------------------- */
@media (max-width: 1024px) {
	.b0e7e4-hero { margin: -26px -22px 36px; min-height: 480px; }
	.b0e7e4-hero-inner { padding: 0 26px 34px; }
	.b0e7e4-hero-note { display: none; }
	.b0e7e4-steps { grid-template-columns: 1fr 1fr; }
	.b0e7e4-step:nth-child(3) { border-left: 0; }
	.b0e7e4-step::after { content: none; }
	.b0e7e4-band { grid-template-columns: 1fr 1fr; }
	.b0e7e4-band-cell:nth-child(3) { border-left: 0; }
}

@media (max-width: 620px) {
	.b0e7e4-hero { margin: -20px -16px 28px; min-height: 420px; }
	.b0e7e4-hero-inner { padding: 0 18px 26px; }
	.b0e7e4-hero h1 { font-size: 38px; }
	.b0e7e4-hero-lede { font-size: 15.5px; }
	.b0e7e4-wall { grid-template-columns: 1fr 1fr; gap: 10px; }
	.b0e7e4-wall-item:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
	.b0e7e4-steps { grid-template-columns: 1fr; }
	.b0e7e4-step { border-left: 0; border-top: 1px solid var(--border); padding: 20px 4px; }
	.b0e7e4-step:first-child { border-top: 0; }
	.b0e7e4-band { grid-template-columns: 1fr 1fr; }
	.b0e7e4-band-cell { padding: 20px 16px; }
	.b0e7e4-quick { padding: 4px; }
}
