/**
 * Tourist Transportation Cards & Archive Styling
 * Theme: HL Transportes Turísticos / JupiterX Child
 * 
 * Grid: col-12 col-md-6 (2 cards per row)
 * Features: Eye-catching cards, large cover images, smooth hover zoom & lift, detailed specs.
 */

/* ==========================================================================
   1. Page Layout & Intro Bar
   ========================================================================== */
.stp-transport-archive {
	background-color: #f8fafc;
	min-height: 70vh;
}

.stp-trust-bar {
	background: #ffffff;
	border-bottom: 1px solid #e2e8f0;
	position: relative;
	z-index: 2;
}

.stp-trust-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.5rem 0.75rem;
}

.stp-trust-icon {
	width: 44px;
	height: 44px;
	min-width: 44px;
	border-radius: 12px;
	background: rgba(234, 179, 8, 0.12);
	color: #d97706;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
}

.stp-trust-title {
	font-size: 0.92rem;
	font-weight: 700;
	color: #1e293b;
	line-height: 1.25;
	margin-bottom: 0.15rem;
}

.stp-trust-desc {
	font-size: 0.8rem;
	color: #64748b;
	line-height: 1.2;
}

/* ==========================================================================
   2. Transportation Card (col-md-6)
   ========================================================================== */
.stp-trans-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
	transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
	            box-shadow 0.4s ease,
	            border-color 0.4s ease;
	position: relative;
}

.stp-trans-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 24px 40px -10px rgba(15, 23, 42, 0.14),
	            0 10px 20px -5px rgba(15, 23, 42, 0.08);
	border-color: rgba(234, 179, 8, 0.45);
}

/* 2.1 Large Image Header */
.stp-trans-media {
	position: relative;
	height: 280px;
	overflow: hidden;
	background-color: #0f172a;
}

.stp-trans-img-link {
	display: block;
	width: 100%;
	height: 100%;
}

.stp-trans-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
	will-change: transform;
}

.stp-trans-card:hover .stp-trans-img {
	transform: scale(1.08);
}

/* Dark Gradient Overlay for Readability */
.stp-trans-media-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(15, 23, 42, 0.3) 0%,
		rgba(15, 23, 42, 0.05) 40%,
		rgba(15, 23, 42, 0.75) 100%
	);
	pointer-events: none;
	z-index: 1;
}

/* Media Badges */
.stp-trans-badge-top-left {
	position: absolute;
	top: 1rem;
	left: 1rem;
	z-index: 2;
}

.stp-trans-badge-top-right {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 2;
}

.stp-trans-badge-category {
	background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
	color: #ffffff;
	font-weight: 700;
	font-size: 0.78rem;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	padding: 0.4rem 0.85rem;
	border-radius: 9999px;
	box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.stp-trans-badge-pill {
	background: rgba(15, 23, 42, 0.75);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: #ffffff;
	font-size: 0.78rem;
	font-weight: 600;
	padding: 0.38rem 0.85rem;
	border-radius: 9999px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.stp-trans-badge-bottom {
	position: absolute;
	bottom: 1rem;
	left: 1rem;
	right: 1rem;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.stp-trans-route-pill {
	background: rgba(15, 23, 42, 0.85);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: #f8fafc;
	font-size: 0.82rem;
	font-weight: 600;
	padding: 0.4rem 0.9rem;
	border-radius: 9999px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	max-width: 80%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.stp-trans-route-pill i {
	color: #fbbf24;
	font-size: 0.85rem;
}

.stp-trans-rating-pill {
	background: rgba(255, 255, 255, 0.95);
	color: #0f172a;
	font-size: 0.78rem;
	font-weight: 800;
	padding: 0.35rem 0.75rem;
	border-radius: 9999px;
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.stp-trans-rating-pill i {
	color: #f59e0b;
}

/* ==========================================================================
   3. Card Body & Typography
   ========================================================================== */
.stp-trans-body {
	padding: 1.5rem 1.5rem 1.35rem;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	min-width: 0;
}

.stp-trans-title {
	font-size: 1.32rem;
	font-weight: 700;
	line-height: 1.35;
	margin-bottom: 0.65rem;
	color: #0f172a;
}

.stp-trans-title a {
	color: #0f172a;
	text-decoration: none;
	transition: color 0.25s ease;
}

.stp-trans-card:hover .stp-trans-title a,
.stp-trans-title a:hover {
	color: #d97706;
}

.stp-trans-slogan {
	color: #64748b;
	font-size: 0.92rem;
	line-height: 1.5;
	margin-bottom: 1.15rem;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ==========================================================================
   4. Specifications & Key Details Grid (2x2) - Compact & Contained
   ========================================================================== */
.stp-trans-specs {
	background: #f8fafc;
	border: 1px solid #edf2f7;
	border-radius: 10px;
	padding: 0.55rem 0.7rem;
	margin-bottom: 1rem;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.45rem 0.65rem;
	min-width: 0;
	width: 100%;
	box-sizing: border-box;
}

.stp-spec-item {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	min-width: 0;
	overflow: hidden;
}

.stp-spec-icon {
	width: 28px;
	height: 28px;
	min-width: 28px;
	border-radius: 7px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	color: #d97706;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8rem;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
	flex-shrink: 0;
}

.stp-spec-info {
	flex: 1;
	min-width: 0;
	overflow: hidden;
}

.stp-spec-label {
	display: block;
	font-size: 0.65rem;
	text-transform: uppercase;
	font-weight: 700;
	color: #94a3b8;
	letter-spacing: 0.3px;
	line-height: 1.1;
	margin-bottom: 0.1rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.stp-spec-value {
	display: block;
	font-size: 0.8rem;
	font-weight: 700;
	color: #1e293b;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ==========================================================================
   5. Card Footer: Price & Actions
   ========================================================================== */
.stp-trans-footer {
	margin-top: auto;
	padding-top: 1.15rem;
	border-top: 1px solid #f1f5f9;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.stp-price-box {
	display: flex;
	flex-direction: column;
}

.stp-price-label {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	color: #64748b;
	line-height: 1;
	margin-bottom: 0.25rem;
}

.stp-price-val {
	display: flex;
	align-items: baseline;
	gap: 0.25rem;
	line-height: 1;
}

.stp-price-curr {
	font-size: 0.85rem;
	font-weight: 700;
	color: #15803d;
}

.stp-price-num {
	font-size: 1.55rem;
	font-weight: 800;
	color: #0f172a;
	line-height: 1;
}

.stp-price-old {
	font-size: 0.82rem;
	color: #94a3b8;
	text-decoration: line-through;
	margin-left: 0.35rem;
}

.stp-actions-group {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.stp-btn-wa {
	background: #25d366;
	color: #ffffff !important;
	border: 1px solid #25d366;
	font-size: 0.85rem;
	font-weight: 700;
	padding: 0.55rem 0.95rem;
	border-radius: 9999px;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	transition: all 0.25s ease;
	text-decoration: none;
	box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
}

.stp-btn-wa:hover {
	background: #1eb957;
	border-color: #1eb957;
	color: #ffffff !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.stp-btn-explore {
	background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
	color: #ffffff !important;
	border: none;
	font-size: 0.88rem;
	font-weight: 700;
	padding: 0.58rem 1.25rem;
	border-radius: 9999px;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	transition: all 0.25s ease;
	text-decoration: none;
	box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.stp-btn-explore i {
	transition: transform 0.25s ease;
}

.stp-btn-explore:hover {
	background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(217, 119, 6, 0.4);
	color: #ffffff !important;
}

.stp-btn-explore:hover i {
	transform: translateX(4px);
}

/* ==========================================================================
   6. Responsive Adjustments
   ========================================================================== */
@media (max-width: 767.98px) {
	.stp-trans-media {
		height: 230px;
	}
	.stp-trans-body {
		padding: 1.25rem;
	}
	.stp-trans-title {
		font-size: 1.18rem;
	}
	.stp-trans-specs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.45rem 0.55rem;
		padding: 0.5rem 0.6rem;
	}
	@media (max-width: 420px) {
		.stp-trans-specs {
			grid-template-columns: 1fr;
			gap: 0.4rem;
		}
	}
	.stp-trans-footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}
	.stp-actions-group {
		width: 100%;
		justify-content: space-between;
	}
	.stp-btn-wa,
	.stp-btn-explore {
		flex: 1;
		justify-content: center;
		text-align: center;
	}
}

/* ==========================================================================
   7. Category Filter Pills
   ========================================================================== */
.stp-trans-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
	justify-content: center;
	margin-bottom: 2.5rem;
}

.stp-filter-btn {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	color: #475569;
	font-size: 0.88rem;
	font-weight: 600;
	padding: 0.55rem 1.25rem;
	border-radius: 9999px;
	cursor: pointer;
	transition: all 0.25s ease;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.stp-filter-btn:hover {
	border-color: #cbd5e1;
	color: #0f172a;
	background: #f1f5f9;
}

.stp-filter-btn.active {
	background: #0f172a;
	color: #ffffff;
	border-color: #0f172a;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
}

.stp-trans-col {
	transition: opacity 0.35s ease, transform 0.35s ease;
}

.stp-trans-col.is-hidden {
	display: none !important;
}

/* ==========================================================================
   8. Custom Transfer CTA Banner
   ========================================================================== */
.stp-trans-cta-card {
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
	border-radius: 24px;
	color: #ffffff;
	padding: 3rem 2rem;
	position: relative;
	overflow: hidden;
	box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.3);
}

.stp-trans-cta-card::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 450px;
	height: 450px;
	background: radial-gradient(circle, rgba(234, 179, 8, 0.15) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}

