/* ============================================================
   Santiago RZR — Optimización de layout del selector de salida
   y formulario de reserva para reducir scroll y mejorar UX.
   ============================================================ */

/* Reducción de padding superior en la selección de vehículos */
.sra-vehicle-selection {
	padding-top: clamp(20px, 2.5vw, 36px) !important;
	padding-bottom: 40px !important;
}

.sra-vehicle-selection:before {
	display: none !important;
}

/* ===== 1. Selector de salida: layout de 2 columnas ===== */
/* Columna principal (izquierda): Controles + Grid de Vehículos */
/* Columna lateral (derecha): Ficha de Salida + Resumen + Banners dinámicos */

@media (min-width: 901px) {
	.sra-departure-picker .sra-combo-builder {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 360px;
		gap: 28px;
		align-items: start;
	}

	.sra-departure-picker .sra-combo-main-col {
		grid-column: 1;
		min-width: 0;
	}

	.sra-departure-picker .sra-combo-sidebar-col {
		grid-column: 2;
	}

	.sra-departure-picker .sra-combo-checkout {
		position: sticky;
		top: 85px;
		bottom: auto;
		margin-top: 0;
		max-height: calc(100vh - 100px);
		overflow-y: auto;
		display: flex;
		flex-direction: column;
		gap: 14px;
		padding: 22px 20px;
		background: #13171d;
		border: 1px solid rgba(255, 255, 255, 0.12);
		border-radius: 10px;
		box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
	}
}

/* ===== Ficha de Salida y Fecha/Hora Grande en el Box Lateral ===== */
.sra-checkout-header-badge {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.sra-checkout-header-badge span {
	display: inline-block;
	background: var(--sra-brand);
	color: #fff;
	font-size: 0.6rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 4px 8px;
	border-radius: 4px;
}

.sra-checkout-header-badge a {
	color: #ff453a;
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 69, 58, 0.4);
	transition: all 0.2s ease;
}

.sra-checkout-header-badge a:hover {
	color: #fff;
	border-color: #fff;
}

.sra-checkout-route-card {
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-left: 4px solid var(--sra-brand);
	border-radius: 8px;
	padding: 14px 16px;
	margin: 2px 0 6px 0;
}

.sra-checkout-route-name {
	margin: 0 0 12px 0;
	font-family: var(--sra-display);
	font-size: 1.45rem;
	font-weight: 600;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: -0.01em;
	line-height: 1.1;
}

.sra-checkout-datetime-grid {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.sra-dt-item {
	display: flex;
	align-items: center;
	gap: 10px;
}

.sra-dt-icon {
	font-size: 1.2rem;
	line-height: 1;
	flex-shrink: 0;
}

.sra-dt-item small {
	display: block;
	color: #9ca3af;
	font-size: 0.62rem;
	text-transform: uppercase;
	font-weight: 800;
	letter-spacing: 0.06em;
}

.sra-dt-item strong {
	display: block;
	color: #f3f4f6;
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.25;
}

.sra-checkout-divider {
	height: 1px;
	background: rgba(255, 255, 255, 0.08);
	margin: 2px 0;
}

.sra-checkout-combo-box {
	background: rgba(255, 255, 255, 0.025);
	border: 1px dashed rgba(255, 255, 255, 0.16);
	border-radius: 6px;
	padding: 12px 14px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.sra-checkout-combo-box small {
	color: var(--sra-brand);
	font-size: 0.6rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.sra-checkout-combo-box strong {
	color: #fff;
	font-size: 0.95rem;
	line-height: 1.35;
	font-weight: 700;
}

.sra-checkout-combo-box span {
	color: #10b981;
	font-size: 0.75rem;
	font-weight: 700;
}

.sra-btn-continue {
	width: 100%;
	min-height: 52px;
	font-size: 0.82rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.sra-checkout-notices {
	margin-top: 6px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* ===== 2. Tarjetas del selector más compactas ===== */

.sra-route-vehicle-card {
	border-radius: 8px;
	overflow: hidden;
}

.sra-route-vehicle-card .sra-vehicle-media {
	aspect-ratio: 16/9;
}

.sra-route-vehicle-card .sra-vehicle-body {
	padding: 16px 18px;
}

.sra-route-vehicle-card .sra-vehicle-body header h3 {
	font-size: 1.35rem;
}

.sra-route-vehicle-card .sra-vehicle-description {
	font-size: .82rem;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.sra-route-vehicle-card .sra-vehicle-specs {
	gap: 4px 12px;
	margin: 14px 0;
	padding: 12px 0;
	font-size: .7rem;
}

.sra-route-vehicle-card .sra-price-row small {
	font-size: .58rem;
}

.sra-route-vehicle-card .sra-price-row strong {
	font-size: 1.3rem;
}

/* ===== 3. Grid de vehículos: 2 columnas en desktop para tarjetas más grandes ===== */

@media (min-width: 901px) {
	.sra-departure-picker .sra-route-vehicle-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}
}

/* ===== 4. Checkout compacto ===== */

.sra-combo-checkout > div:first-child > strong {
	font-size: .82rem;
	line-height: 1.3;
}

.sra-combo-totals > span,
.sra-combo-totals > strong {
	font-size: .68rem;
}

.sra-combo-totals > strong {
	font-size: .78rem;
}

.sra-combo-totals b {
	font-size: .82rem;
}

/* ===== 5. Compactar el header del picker ===== */

@media (min-width: 901px) {
	.sra-departure-picker-head {
		margin-bottom: 24px;
	}

	.sra-departure-picker-head h2 {
		font-size: clamp(2.8rem, 5vw, 4.5rem);
	}
}

/* ===== 6. Panel de configuración más compacto ===== */

.sra-combo-start {
	margin-bottom: 16px !important;
	padding: 18px 20px !important;
}

.sra-combo-start input[type=number] {
	min-height: 46px;
	font-size: 1.15rem;
}

.sra-combo-modes span {
	min-height: 46px;
}

.sra-combo-recommend {
	min-height: 46px;
}

.sra-driver-req-banner {
	margin-bottom: 0 !important;
	padding: 12px 14px !important;
	border-radius: 6px;
	background: rgba(227, 6, 19, 0.1);
	border-left: 3px solid var(--sra-brand);
	display: flex;
	flex-direction: column;
	gap: 4px;
	transition: all 0.25s ease;
}

.sra-driver-req-banner b {
	color: #fff;
	font-size: .76rem;
	font-weight: 800;
	letter-spacing: .03em;
	text-transform: uppercase;
}

.sra-driver-req-banner span {
	color: #cbd5e1;
	font-size: .72rem;
	line-height: 1.4;
}

.sra-driver-req-banner span strong {
	color: #fff;
	font-weight: 700;
}

.sra-driver-req-note {
	background: rgba(227, 6, 19, 0.08);
	border-left: 3px solid var(--sra-brand);
	border-radius: 6px;
	padding: 12px 16px;
	margin: 10px 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.sra-driver-req-note b {
	color: #fff;
	font-size: .8rem;
	font-weight: 800;
}

.sra-driver-req-note span {
	color: #9ca3af;
	font-size: .74rem;
	line-height: 1.4;
}

.sra-driver-req-note span strong {
	color: #fff;
}

.sra-driver-req-checkbox {
	background: rgba(227, 6, 19, 0.06);
	border: 1px solid rgba(227, 6, 19, 0.3) !important;
	border-radius: 8px;
	padding: 14px 16px !important;
	margin: 10px 0 !important;
}

.sra-driver-req-checkbox span b {
	color: #fff;
}

.sra-courtesy-banner {
	margin-bottom: 0 !important;
	padding: 12px 14px !important;
	border-radius: 6px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	transition: all 0.25s ease;
}

.sra-courtesy-banner.is-courtesy {
	background: rgba(16, 185, 129, 0.1);
	border-left: 3px solid #10b981;
}

.sra-courtesy-banner.is-courtesy b {
	color: #34d399;
	font-size: .76rem;
	font-weight: 800;
}

.sra-courtesy-banner.is-fee {
	background: rgba(245, 158, 11, 0.1);
	border-left: 3px solid #f59e0b;
}

.sra-courtesy-banner.is-fee b {
	color: #fbbf24;
	font-size: .76rem;
	font-weight: 800;
}

.sra-courtesy-banner span {
	color: #cbd5e1;
	font-size: .72rem;
	line-height: 1.4;
}

/* ===== 7. Filtro por tipo del selector más compacto ===== */

.sra-departure-type-filter {
	margin-bottom: 16px !important;
}

.sra-departure-type-filter button {
	min-height: 36px;
	padding: 7px 14px;
	font-size: .6rem;
}

/* ===== 9. Formulario de reserva: pasos más compactos ===== */

.sra-booking-form {
	padding: 28px 32px;
}

.sra-form-step {
	min-height: auto !important;
	gap: 16px;
}

.sra-form-step.is-active {
	display: grid;
}

/* ===== 10. Sticky nav del formulario ===== */

.sra-form-nav {
	position: sticky;
	bottom: 0;
	z-index: 5;
	background: #fff;
	padding-top: 16px;
}

/* ===== 11. Responsive: checkout vuelve al flujo normal ===== */

@media (max-width: 900px) {
	.sra-departure-picker .sra-combo-builder {
		display: flex;
		flex-direction: column;
		gap: 20px;
	}

	.sra-departure-picker .sra-combo-main-col {
		order: 1;
	}

	.sra-departure-picker .sra-combo-sidebar-col {
		order: 2;
	}

	.sra-departure-picker .sra-combo-checkout {
		position: static;
		max-height: none;
		overflow: visible;
		display: flex;
		flex-direction: column;
		gap: 14px;
		padding: 20px;
		margin-top: 10px;
	}

	.sra-departure-picker .sra-route-vehicle-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 620px) {
	.sra-departure-picker .sra-route-vehicle-grid {
		grid-template-columns: 1fr;
	}
}

/* ===== 12. Inventario / Nuestras Unidades: Cabecera lateral compacta y filtros premium ===== */

.sra-inventory {
	padding-top: clamp(16px, 2.5vw, 32px) !important;
	padding-bottom: 50px !important;
}

.sra-inventory:before {
	display: none !important;
}

.sra-inventory-head-lateral {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 22px;
	padding: 16px 22px;
	background: #13171d;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-left: 4px solid var(--sra-brand);
	border-radius: 10px;
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.sra-inventory-brand {
	flex: 0 1 auto;
}

.sra-inventory-brand .sra-kicker {
	margin: 0 0 2px 0;
	color: var(--sra-brand);
	font-size: 0.6rem;
	font-weight: 900;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.sra-inventory-brand h2 {
	margin: 0;
	font-family: var(--sra-display);
	font-size: clamp(1.8rem, 2.8vw, 2.4rem);
	font-weight: 600;
	color: #fff;
	text-transform: uppercase;
	line-height: 1;
	letter-spacing: -0.02em;
}

.sra-inventory-subtitle {
	margin: 4px 0 0 0;
	color: #9ca3af;
	font-size: 0.74rem;
	line-height: 1.35;
}

/* Barra de filtros integrada */
.sra-inventory .sra-filter-bar {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: flex-end;
	margin-bottom: 0;
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
	position: static;
}

.sra-filter-group {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 30px;
	padding: 3px 4px 3px 12px;
	transition: border-color 0.2s ease;
}

.sra-filter-group:hover {
	border-color: rgba(255, 255, 255, 0.18);
}

.sra-filter-group-title {
	color: #858c97;
	font-size: 0.62rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	user-select: none;
}

.sra-filter-segments {
	display: inline-flex;
	gap: 2px;
	background: rgba(0, 0, 0, 0.45);
	border-radius: 20px;
	padding: 2px;
	border: 1px solid rgba(255, 255, 255, 0.04);
}

.sra-filter-segments button {
	padding: 5px 12px;
	min-height: 28px;
	border: 0;
	border-radius: 16px;
	background: transparent;
	color: #9ca3af;
	font-size: 0.68rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	cursor: pointer;
	transition: all 0.2s ease;
}

.sra-filter-segments button:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
}

.sra-filter-segments button.is-active {
	background: var(--sra-brand) !important;
	color: #fff !important;
	font-weight: 900;
	box-shadow: 0 2px 10px rgba(227, 6, 19, 0.45);
}

/* Grid de tarjetas de vehículos */
.sra-inventory .sra-vehicle-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.sra-inventory .sra-vehicle-card {
	border-radius: 8px;
	overflow: hidden;
}

.sra-inventory .sra-vehicle-media {
	aspect-ratio: 16/9;
}

.sra-inventory .sra-vehicle-body {
	padding: 18px 20px;
}

.sra-inventory .sra-vehicle-body h3 {
	font-size: 1.55rem;
}

.sra-inventory .sra-vehicle-description {
	font-size: .82rem;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.sra-inventory .sra-vehicle-specs {
	gap: 5px 12px;
	margin: 14px 0;
	font-size: .68rem;
}

/* Responsive / Mobile */
@media (max-width: 991px) {
	.sra-inventory-head-lateral {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
		padding: 16px 18px;
	}

	.sra-inventory .sra-filter-bar {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		gap: 8px;
		padding-bottom: 2px;
		justify-content: flex-start;
	}

	.sra-inventory .sra-filter-bar::-webkit-scrollbar {
		display: none;
	}

	.sra-filter-group {
		flex-shrink: 0;
	}

	.sra-inventory .sra-vehicle-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.sra-inventory {
		padding-top: 12px !important;
	}

	.sra-inventory-brand h2 {
		font-size: 1.65rem;
	}

	.sra-inventory .sra-vehicle-grid {
		grid-template-columns: 1fr;
	}
}

/* ============================================================
   14. MODERN BESPOKE DESIGN SYSTEM (Anti-AI Template Look)
   Diseño editorial de lujo off-road, paleta obsidian/titanio,
   micro-bordes elegantes y eliminación de elementos toscos.
   ============================================================ */

/* Suavizado tipográfico y eliminación de marcas de agua genéricas */
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

.sra-services:before,
.sra-inventory:before,
.sra-vehicle-selection:before,
.sra-about:before,
.sra-experiences:before {
	display: none !important;
}

/* Armonización de fondos a paleta Obsidian Dark */
.sra-inventory,
.sra-services,
.sra-experiences,
.sra-about,
.sra-trust,
.sra-location {
	background: var(--sra-ink) !important;
	color: #fff !important;
}

.sra-section-head h2 {
	font-family: var(--sra-display);
	color: #fff !important;
	letter-spacing: -0.03em;
}

.sra-section-head > p {
	color: var(--sra-muted) !important;
	font-size: 0.92rem !important;
	line-height: 1.6 !important;
}

/* Badges / Kickers editoriales */
.sra-kicker {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	color: var(--sra-brand) !important;
	font-size: 0.65rem !important;
	font-weight: 900 !important;
	letter-spacing: 0.14em !important;
	text-transform: uppercase !important;
}

.sra-kicker span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--sra-brand);
	box-shadow: 0 0 8px var(--sra-brand);
}

/* Botones modernos con micro-interacciones */
.sra-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--sra-brand) !important;
	color: #fff !important;
	font-weight: 800 !important;
	font-size: 0.76rem !important;
	letter-spacing: 0.06em !important;
	text-transform: uppercase !important;
	border-radius: 6px !important;
	padding: 12px 24px !important;
	box-shadow: 0 4px 18px rgba(227, 6, 19, 0.35) !important;
	transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
	text-decoration: none !important;
	border: 0 !important;
}

.sra-btn:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 8px 25px rgba(227, 6, 19, 0.5) !important;
	filter: brightness(1.08) !important;
}

.sra-btn:active {
	transform: translateY(0) !important;
}

.sra-btn-ghost {
	background: rgba(255, 255, 255, 0.05) !important;
	border: 1px solid rgba(255, 255, 255, 0.18) !important;
	color: #fff !important;
	box-shadow: none !important;
}

.sra-btn-ghost:hover {
	background: rgba(255, 255, 255, 0.12) !important;
	border-color: rgba(255, 255, 255, 0.4) !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

/* Tarjetas de vehículos en catálogo e inventario */
.sra-vehicle-card {
	background: #141820 !important;
	border: 1px solid rgba(255, 255, 255, 0.08) !important;
	border-radius: 10px !important;
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3) !important;
	overflow: hidden !important;
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.sra-vehicle-card:hover {
	transform: translateY(-5px) !important;
	border-color: rgba(227, 6, 19, 0.4) !important;
	box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45) !important;
}

.sra-vehicle-body header h3 {
	color: #fff !important;
}

.sra-vehicle-body p {
	color: #9ca3af !important;
}

.sra-vehicle-specs {
	border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.sra-vehicle-specs span {
	color: #cbd5e1 !important;
}

.sra-vehicle-specs span i {
	color: #10b981 !important;
}

.sra-price-row strong {
	color: #fff !important;
}

.sra-price-row small {
	color: #9ca3af !important;
}

.sra-vehicle-cta {
	background: var(--sra-brand) !important;
	color: #fff !important;
	border-radius: 4px !important;
	font-weight: 800 !important;
	transition: all 0.2s ease !important;
}

.sra-vehicle-cta:hover {
	filter: brightness(1.15) !important;
	transform: translateY(-1px) !important;
}

/* Tarjetas de servicios / modalidades */
.sra-service-card {
	background: #13171e !important;
	border: 1px solid rgba(255, 255, 255, 0.08) !important;
	border-radius: 10px !important;
	transition: all 0.25s ease !important;
}

.sra-service-card:hover {
	background: #171c26 !important;
	border-color: rgba(227, 6, 19, 0.35) !important;
	transform: translateY(-4px) !important;
}

.sra-service-card h3 {
	color: #fff !important;
}

.sra-service-card .sra-card-copy {
	color: #9ca3af !important;
}

/* FAQ / Acordeones */
.sra-faq details {
	background: #13171f !important;
	border: 1px solid rgba(255, 255, 255, 0.08) !important;
	border-radius: 8px !important;
	margin-bottom: 10px !important;
	padding: 16px 20px !important;
	transition: all 0.2s ease !important;
}

.sra-faq details[open] {
	background: #171c28 !important;
	border-left: 3px solid var(--sra-brand) !important;
}

.sra-faq details summary {
	color: #fff !important;
	font-weight: 700 !important;
	font-size: 0.95rem !important;
	cursor: pointer !important;
}

.sra-faq details p {
	color: #cbd5e1 !important;
	font-size: 0.85rem !important;
	line-height: 1.6 !important;
	margin-top: 10px !important;
}

/* Panel de confianza / Trust */
.sra-trust-panel {
	background: #13171f !important;
	border: 1px solid rgba(255, 255, 255, 0.08) !important;
	border-radius: 10px !important;
	padding: 26px !important;
}

.sra-trust-panel article {
	border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.sra-trust-panel article b {
	background: rgba(16, 185, 129, 0.15) !important;
	color: #34d399 !important;
	border-radius: 50% !important;
}

.sra-trust-panel article strong {
	color: #fff !important;
}

.sra-trust-panel article span {
	color: #9ca3af !important;
}

/* Mensajes de sin resultados */
.sra-filtered-empty {
	background: #13171f !important;
	border: 1px dashed rgba(255, 255, 255, 0.14) !important;
	border-radius: 10px !important;
}

.sra-filtered-empty strong {
	color: #fff !important;
}

.sra-filtered-empty span {
	color: var(--sra-muted) !important;
}

/* --------------------------------------------
   Reduced motion: apaga animaciones no esenciales
   -------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

