/* Composición exclusiva de la portada. El resto del tema usa main.css. */
@layer layout {
	.ls-home-hero .ls-container {
		width: min(100% - 3.25rem, 82.5rem);
	}
}

@layer components {
	.ls-home-hero {
		background: var(--ls-color-bg);
		padding-block: clamp(3rem, 5vw, 4.5rem) clamp(4rem, 6vw, 6rem);
	}

	.ls-home-hero__grid {
		display: grid;
		grid-template-columns: minmax(0, 1.46fr) minmax(0, 1fr);
		align-items: start;
		gap: clamp(2rem, 7vw, 7rem);
	}

	.ls-home-hero__grid--single {
		grid-template-columns: minmax(0, 1fr);
	}

	.ls-home-hero__content {
		min-width: 0;
	}

	.ls-home-hero__eyebrow {
		margin: 0 0 1.65rem;
		color: #82641e;
		font-size: 0.85rem;
		font-weight: 700;
		letter-spacing: 0.13em;
		text-transform: uppercase;
	}

	.ls-home-hero__title {
		max-width: 100%;
		margin: 0 0 1.75rem;
		font-size: clamp(2.7rem, 5vw, 4.25rem);
		font-weight: 800;
		line-height: 1.08;
		letter-spacing: -0.025em;
		text-wrap: balance;
	}

	.ls-home-hero__lead {
		max-width: 58ch;
		margin: 0 0 2.5rem;
		font-size: clamp(1rem, 1.4vw, 1.13rem);
		line-height: 1.75;
		color: var(--ls-color-body);
	}

	.ls-home-hero__actions {
		display: flex;
		flex-wrap: wrap;
		gap: 1rem;
	}

	.ls-home-hero__actions .ls-button {
		min-height: 3.6rem;
		padding-inline: 2rem;
		gap: 0.35rem;
	}

	.ls-home-hero__actions svg {
		flex: none;
	}

	.ls-home-hero__card-frame {
		position: relative;
		margin-top: 3.25rem;
	}

	.ls-home-hero__card-frame::before {
		content: "";
		position: absolute;
		top: -1.75rem;
		right: -1.25rem;
		z-index: 0;
		width: 78%;
		height: 42%;
		background: var(--ls-color-navy);
		transform: skewX(-8deg);
		transform-origin: bottom right;
	}

	.ls-home-hero__card {
		position: relative;
		z-index: 1;
		padding: clamp(2rem, 3vw, 3.25rem);
		background: var(--ls-color-surface);
		box-shadow: 0 26px 45px -18px rgb(31 59 77 / 20%);
	}

	.ls-home-hero__stats {
		margin: 0;
	}

	.ls-home-hero__stat {
		padding-block: 0 1.65rem;
	}

	.ls-home-hero__stat + .ls-home-hero__stat {
		padding-block: 1.65rem 0;
		border-top: 1px solid var(--ls-color-border);
	}

	.ls-home-hero__stat dt {
		font-size: clamp(3.5rem, 5.5vw, 4.75rem);
		font-weight: 800;
		line-height: 1;
		color: var(--ls-color-navy);
	}

	.ls-home-hero__stat + .ls-home-hero__stat dt {
		color: var(--ls-color-gold);
	}

	.ls-home-hero__stat dd {
		margin: 0.65rem 0 0;
		font-size: 0.95rem;
		line-height: 1.5;
	}

	.ls-home-hero__source {
		margin: 2rem 0 0;
		font-size: 0.78rem;
		line-height: 1.6;
		color: #59636b;
	}
}

@media (max-width: 899.98px) {
	@layer layout {
		.ls-home-hero .ls-container {
			width: min(100% - 2rem, 42rem);
		}
	}

	@layer components {
		.ls-home-hero__grid {
			grid-template-columns: minmax(0, 1fr);
			gap: 1rem;
		}

		.ls-home-hero__title {
			max-width: 16ch;
		}

		.ls-home-hero__card-frame {
			margin-top: 2.5rem;
		}
	}
}

@media (max-width: 559.98px) {
	@layer components {
		.ls-home-hero {
			padding-block: 2.75rem 4.5rem;
		}

		.ls-home-hero__title {
			font-size: clamp(2.35rem, 10vw, 3.15rem);
		}

		.ls-home-hero__actions .ls-button {
			width: 100%;
		}

		.ls-home-hero__card {
			padding: 1.75rem;
		}

		.ls-home-hero__card-frame::before {
			top: -0.9rem;
			right: -0.5rem;
		}
	}
}
