/**
 * Hero Split Panel
 * ============================================================================
 * Side-by-side text + image hero with dual CTAs.
 *
 * Load order: After panel-base.css
 * Dependencies: 00-tokens.css (design tokens)
 * ============================================================================
 */

/* ==========================================================================
   Base Styles
   ========================================================================== */

.hero-split-panel {
	min-height: 500px;
	display: flex;
	align-items: center;
}

.hero-split-panel .content {
	display: flex;
	align-items: flex-start;
	gap: var(--space-10);
	max-width: var(--container-xl);
	margin: 0 auto;
	padding: var(--space-11) var(--space-7);
	width: 100%;
}

.hero-split-panel .text-column {
	flex: 1 1 50%;
	min-width: 0;
}

.hero-split-panel .image-column {
	flex: 1 1 50%;
	min-width: 0;
}

/* Image left variant */
.hero-split-panel--image-left .content {
	flex-direction: row-reverse;
}

/* Typography */
.hero-split-panel .hero-title {
	font-size: var(--heading-section);
	font-weight: var(--font-black);
	line-height: var(--heading-section-lh);
	letter-spacing: var(--heading-section-ls);
	color: var(--brand-main);
	margin-bottom: var(--space-6);
}

.hero-split-panel .subtitle {
	font-size: var(--text-lg);
	line-height: var(--leading-relaxed);
	color: var(--black);
	margin-bottom: var(--space-7);
}

/* Dark background variant */
.hero-split-panel--dark-bg {
	background: var(--brand-gradient);
}

.hero-split-panel--dark-bg .hero-title,
.hero-split-panel--dark-bg .subtitle,
.hero-split-panel--light-text .hero-title,
.hero-split-panel--light-text .subtitle {
	color: var(--white);
}

/* Image */
.hero-split-panel .hero-image {
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: var(--radius-md);
}

/* Buttons */
.hero-split-panel .button-container {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-4);
}

/* ==========================================================================
   Responsive: Tablet (1024px)
   ========================================================================== */

@media (width <= 1024px) {
	.hero-split-panel .content {
		gap: var(--space-7);
		padding: var(--space-9) var(--space-6);
	}

	.hero-split-panel .hero-title {
		font-size: var(--text-3xl);
	}
}

/* ==========================================================================
   Responsive: Mobile (768px)
   ========================================================================== */

@media (width <= 768px) {
	.hero-split-panel {
		min-height: auto;
	}

	.hero-split-panel .content {
		flex-direction: column;
		gap: var(--space-7);
		padding: var(--space-7) var(--space-4);
	}

	.hero-split-panel .image-column {
		order: -1;
	}

	.hero-split-panel .text-column,
	.hero-split-panel .image-column {
		flex: 1 1 100%;
	}
}

/* ==========================================================================
   Responsive: Small Mobile (480px)
   ========================================================================== */

@media (width <= 480px) {
	.hero-split-panel .hero-title {
		font-size: var(--heading-section-mobile);
		line-height: var(--heading-section-mobile-lh);
	}

	.hero-split-panel .subtitle {
		font-size: var(--text-base);
	}

	.hero-split-panel .button-container {
		flex-direction: column;
		gap: var(--space-3);
	}

	.hero-split-panel .button-container .button {
		width: 100%;
	}
}
