/**
 * Single vehicle details page — Roavix navy / emerald palette.
 * Primary #0F172A | Secondary #1E293B | Accent #10b981 | Bg #F8FAFC
 */

.scudo-vs-wrap {
	--vs-primary: #0f172a;
	--vs-secondary: #1e293b;
	--vs-accent: #10b981;
	--vs-accent-2: #059669;
	--vs-bg: #f8fafc;
	--vs-gray: #64748b;
	--vs-border: rgba(15, 23, 42, 0.1);
	--vs-white: #ffffff;
	--vs-muted: rgba(255, 255, 255, 0.78);
	background: var(--vs-bg);
	color: var(--vs-primary);
	font-family: inherit;
}

.scudo-vs-wrap * {
	box-sizing: border-box;
}

.scudo-vs-container {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ------------------------------------------------------------------ *
 * Hero — full-bleed image, white type, glass panel
 * ------------------------------------------------------------------ */

.scudo-vs-hero {
	position: relative;
	isolation: isolate;
	min-height: 520px;
	background-color: var(--vs-primary);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
}

.scudo-vs-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		radial-gradient(ellipse 70% 60% at 85% 20%, rgba(16, 185, 129, 0.22), transparent 55%),
		linear-gradient(115deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.55) 48%, rgba(15, 23, 42, 0.35) 100%);
	pointer-events: none;
}

.scudo-vs-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	opacity: 0.35;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 70%);
	pointer-events: none;
}

.scudo-vs-hero__overlay {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	min-height: 520px;
	padding: 72px 0 56px;
	background: linear-gradient(
		180deg,
		rgba(15, 23, 42, 0.15) 0%,
		rgba(15, 23, 42, 0.45) 50%,
		rgba(15, 23, 42, 0.88) 100%
	);
}

.scudo-vs-hero__inner {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px;
	color: var(--vs-white);
}

.scudo-vs-hero__panel {
	max-width: 560px;
	padding: 28px 30px 30px;
	border-radius: 20px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(15, 23, 42, 0.55);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow:
		0 24px 48px rgba(0, 0, 0, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.scudo-vs-breadcrumb {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 16px;
	color: var(--vs-muted) !important;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s ease;
}

.scudo-vs-breadcrumb:hover {
	color: var(--vs-white) !important;
}

.scudo-vs-status {
	display: inline-flex;
	align-items: center;
	margin-bottom: 14px;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: rgba(16, 185, 129, 0.2);
	border: 1px solid rgba(16, 185, 129, 0.55);
	color: #6ee7b7 !important;
}

.scudo-vs-status--booked {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.28);
	color: var(--vs-white) !important;
}

.scudo-vs-status--disabled,
.scudo-vs-status--maintenance,
.scudo-vs-status--cleaning {
	background: rgba(248, 113, 113, 0.16);
	border-color: rgba(248, 113, 113, 0.45);
	color: #fecaca !important;
}

.scudo-vs-hero__brand {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #6ee7b7 !important;
}

.scudo-vs-hero__title {
	margin: 0 0 16px;
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: var(--vs-white) !important;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.scudo-vs-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}

.scudo-vs-hero__chip {
	display: inline-flex;
	align-items: center;
	padding: 7px 12px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.08);
	font-size: 13px;
	font-weight: 600;
	color: var(--vs-white) !important;
	letter-spacing: 0.01em;
}

.scudo-vs-hero__price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 24px;
}

.scudo-vs-hero__price strong {
	font-size: 36px;
	font-weight: 800;
	color: #6ee7b7 !important;
	letter-spacing: -0.02em;
	line-height: 1;
}

.scudo-vs-hero__price span {
	font-size: 15px;
	font-weight: 600;
	color: var(--vs-muted) !important;
}

/* Buttons */
.scudo-vs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 30px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.scudo-vs-btn--primary {
	background: linear-gradient(135deg, var(--vs-accent), var(--vs-accent-2));
	color: #ffffff !important;
	box-shadow: 0 12px 28px rgba(16, 185, 129, 0.35);
}

.scudo-vs-btn--primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 16px 34px rgba(16, 185, 129, 0.45);
	color: #ffffff !important;
}

/* Sections */
.scudo-vs-section {
	padding: 64px 0;
}

.scudo-vs-section--booking {
	background: var(--vs-primary);
}

.scudo-vs-eyebrow {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--vs-accent);
}

.scudo-vs-heading {
	margin: 0 0 20px;
	font-size: 32px;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--vs-primary);
}

.scudo-vs-section--booking .scudo-vs-heading {
	color: var(--vs-white);
}

.scudo-vs-section--booking .scudo-vs-intro {
	color: rgba(255, 255, 255, 0.72);
}

.scudo-vs-intro {
	max-width: 640px;
	margin: 0 0 32px;
	color: var(--vs-gray);
	font-size: 15px;
	line-height: 1.6;
}

.scudo-vs-icon {
	width: 22px;
	height: 22px;
}

/* Description */
.scudo-vs-description {
	max-width: 760px;
	margin-bottom: 28px;
	color: var(--vs-gray);
	font-size: 15.5px;
	line-height: 1.75;
}

.scudo-vs-description p:last-child {
	margin-bottom: 0;
}

.scudo-vs-container--wide {
	max-width: 100%;
	padding-left: 24px;
	padding-right: 24px;
}

/* ------------------------------------------------------------------ *
 * Detail table — dark header, white text, clean rows
 * ------------------------------------------------------------------ */

.scudo-vs-table-card {
	width: 100%;
	max-width: 100%;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 18px;
	background: var(--vs-white);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.6) inset,
		0 18px 40px rgba(15, 23, 42, 0.08);
	overflow: hidden;
}

.scudo-vs-table-card__head {
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
	border-bottom: 2px solid var(--vs-accent);
}

.scudo-vs-table-card__title {
	margin: 0;
	padding: 18px 28px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.01em;
	color: var(--vs-white) !important;
}

.scudo-vs-table-wrap {
	width: 100%;
	overflow-x: auto;
}

.scudo-vs-table {
	width: 100%;
	min-width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}

.scudo-vs-table thead th {
	padding: 18px 28px;
	font-size: 15px !important;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #ffffff !important;
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
	border-bottom: 2px solid var(--vs-accent);
	text-align: left;
}

.scudo-vs-table thead th:first-child {
	border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.scudo-vs-table thead th:last-child {
	text-align: right;
	color: #a7f3d0 !important;
}

.scudo-vs-table tbody th,
.scudo-vs-table tbody td {
	padding: 15px 28px;
	font-size: 15px;
	line-height: 1.45;
	border-bottom: 1px solid var(--vs-border);
	vertical-align: middle;
}

.scudo-vs-table tbody tr:last-child th,
.scudo-vs-table tbody tr:last-child td {
	border-bottom: 0;
}

.scudo-vs-table tbody tr:nth-child(even) {
	background: #f1f5f9;
}

.scudo-vs-table tbody tr:hover {
	background: rgba(16, 185, 129, 0.08);
}

.scudo-vs-table tbody th {
	width: 42%;
	font-weight: 600;
	color: var(--vs-gray);
	text-align: left;
	border-right: 1px solid var(--vs-border);
}

.scudo-vs-table tbody td {
	width: 58%;
	font-weight: 700;
	color: var(--vs-primary);
	text-align: right;
}

/* Booking embed */
.scudo-vs-section--booking .scudo-booking {
	margin: 0 auto;
	max-width: 100%;
}

/* Policy grid — teal cards with white icon tiles (reference UI) */
.scudo-vs-section--policy {
	position: relative;
	overflow: hidden;
	background: #f8fafc;
	border-top: 1px solid var(--vs-border);
}

.scudo-vs-policy-head {
	max-width: 720px;
	margin: 0 auto 44px;
	text-align: center;
}

.scudo-vs-policy-head .scudo-vs-heading {
	margin-bottom: 0;
}

.scudo-vs-policy-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.scudo-vs-policy-card {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	min-height: 100%;
	padding: 28px 26px 30px;
	border-radius: 20px;
	border: 0;
	background: #0f766e;
	background: linear-gradient(160deg, #0d9488 0%, #0f766e 55%, #115e59 100%);
	box-shadow: 0 14px 32px rgba(15, 118, 110, 0.22);
	transform: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.scudo-vs-policy-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 20px 40px rgba(15, 118, 110, 0.3);
	filter: brightness(1.04);
	border-color: transparent;
	background: linear-gradient(160deg, #0d9488 0%, #0f766e 55%, #115e59 100%);
}

.scudo-vs-policy-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin: 0;
	border-radius: 12px;
	background: #ffffff;
	color: #0f766e;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.scudo-vs-policy-card__icon .scudo-vs-icon {
	width: 22px;
	height: 22px;
}

.scudo-vs-policy-card__number {
	display: none;
}

.scudo-vs-policy-card h3 {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: #ffffff !important;
}

.scudo-vs-policy-card p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.88) !important;
}

/* Feature checklist */
.scudo-vs-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 12px 28px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}

.scudo-vs-features li {
	position: relative;
	padding-left: 30px;
	color: #1e293b;
	font-weight: 500;
	line-height: 1.5;
}

.scudo-vs-features li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #ecfdf5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Responsive */
@media (max-width: 1024px) {
	.scudo-vs-hero__title {
		font-size: 36px;
	}

	.scudo-vs-policy-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.scudo-vs-hero {
		min-height: 440px;
	}

	.scudo-vs-hero__overlay {
		min-height: 440px;
		padding: 40px 0 32px;
	}

	.scudo-vs-hero__panel {
		max-width: 100%;
		padding: 22px 20px 24px;
		border-radius: 16px;
	}

	.scudo-vs-section {
		padding: 44px 0;
	}

	.scudo-vs-container,
	.scudo-vs-container--wide,
	.scudo-vs-hero__inner {
		padding: 0 18px;
	}

	.scudo-vs-table-card {
		max-width: 100%;
		width: 100%;
		border-radius: 14px;
	}

	.scudo-vs-table thead th {
		padding: 14px 16px;
		font-size: 12px !important;
		letter-spacing: 0.05em;
		color: #ffffff !important;
	}

	.scudo-vs-table tbody th,
	.scudo-vs-table tbody td {
		padding: 12px 16px;
		font-size: 14px;
	}

	.scudo-vs-policy-grid {
		grid-template-columns: 1fr;
	}

	.scudo-vs-policy-card {
		padding: 24px 20px;
	}
}

@media (max-width: 480px) {
	.scudo-vs-hero__title,
	.scudo-vs-heading {
		font-size: 24px !important;
		line-height: 1.25;
	}

	.scudo-vs-table-card__title {
		font-size: 18px;
		padding: 16px 18px;
		color: #ffffff !important;
	}

	.scudo-vs-table th,
	.scudo-vs-table td {
		padding: 12px 16px;
		font-size: 14px;
	}

	.scudo-vs-table th {
		width: 48%;
	}

	.scudo-vs-hero__price strong {
		font-size: 28px;
	}

	.scudo-vs-hero__chip {
		font-size: 12px;
		padding: 6px 10px;
	}

	.scudo-vs-intro {
		font-size: 14px;
	}

	.scudo-vs-btn {
		width: 100%;
		padding: 13px 22px;
	}
}
