/**
 * Enterprise section.
 *
 * @package Fundamento
 */

.enterprise {
	background-color: var(--color-bg-default);
	padding: var(--space-128) var(--space-40);
}

.enterprise__inner {
	width: 100%;
	max-width: 74rem;
	margin: 0 auto;
}

.enterprise__header {
	text-align: center;
	margin-bottom: var(--space-48);
}

.enterprise__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-bottom: var(--space-24);
	padding: var(--space-4) var(--space-12);
	font-family: var(--font-family-body);
	font-size: var(--text-body-sm-size);
	font-weight: 400;
	line-height: var(--text-body-sm-lh);
	color: var(--color-text-subtle);
	background-color: var(--color-neutral-200);
}

.enterprise__eyebrow-dot {
	flex-shrink: 0;
	width: var(--space-8);
	height: var(--space-8);
	background-color: var(--color-text-muted);
}

.enterprise__heading {
	max-width: 59.3rem;
	margin: 0 auto var(--space-32);
	font-family: var(--font-family-display);
	font-size: var(--text-display-h1-alt-size);
	font-weight: 400;
	line-height: var(--text-display-h2-lh);
	letter-spacing: var(--text-body-md-ls);
	color: var(--color-text-brand);
}

.enterprise__pills {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-8);
	margin: 0;
	padding: 0;
	list-style: none;
}

.enterprise__pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: var(--space-8) var(--space-16);
	font-family: var(--font-family-body);
	font-size: var(--text-body-sm-size);
	font-weight: 400;
	line-height: 1;
	color: var(--color-text-default);
	background-color: var(--color-surface-default);
	border: 1px solid var(--color-border-default);
	border-radius: var(--radius-full);
}

.enterprise__pill-dot {
	flex-shrink: 0;
	width: var(--space-8);
	height: var(--space-8);
	background-color: var(--color-green-700);
}

.enterprise__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-24);
}

.enterprise__items {
	display: flex;
	flex-direction: column;
	gap: var(--space-12);
}

.enterprise__item {
	position: relative;
	padding-left: 4px;
	background-color: var(--color-neutral-100);
	border-radius: 12px;
	overflow: hidden;
}

.enterprise__item::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 5px;
	background-color: transparent;
	transition: background-color 0.2s ease;
}

.enterprise__item-summary {
	display: flex;
	align-items: center;
	gap: var(--space-12);
	width: 100%;
	padding: var(--space-24) var(--space-20);
	font-family: var(--font-family-body);
	font-size: var(--text-body-md-size);
	font-weight: 500;
	line-height: var(--text-body-md-lh);
	color: var(--color-neutral-500);
	text-align: left;
	background: none;
	border: 0;
	cursor: pointer;
	transition: color 0.2s ease;
}

.enterprise__item-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 24px;
	height: 24px;
}

.enterprise__item-icon img {
	display: block;
	width: 100%;
	height: 100%;
}

.enterprise__item-title {
	flex: 1;
}

.enterprise__item-panel {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.35s ease;
}

.enterprise__item-panel-inner {
	min-height: 0;
	overflow: hidden;
}

.enterprise__item-desc {
	margin: 0;
	padding: 0 var(--space-20) var(--space-16) calc(var(--space-20) + 24px + var(--space-12));
	font-family: var(--font-family-body);
	font-size: var(--text-body-sm-size);
	font-weight: 400;
	line-height: 1.5;
	color: var(--color-text-subtle);
}

.enterprise__mobile-media {
	display: none;
}

.enterprise__item.is-active {
	background-color: var(--color-neutral-200);
}

.enterprise__item.is-active::before {
	background-color: var(--color-neutral-400);
}

.enterprise__item.is-active .enterprise__item-summary {
	font-weight: 600;
	color: var(--color-text-default);
	padding-bottom: var(--space-8);
}

.enterprise__item.is-active .enterprise__item-panel {
	grid-template-rows: 1fr;
}

.enterprise__media {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-md);
}

.enterprise__media-img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.enterprise__feature {
	margin-top: var(--space-128);
	text-align: center;
}

.enterprise__feature-pattern {
	margin: 0 auto var(--space-24);
	max-width: 32rem;
}

.enterprise__feature-pattern img {
	width: 100%;
	height: auto;
}

.enterprise__feature-title {
	margin: 0 0 var(--space-12);
	font-family: var(--font-family-body);
	font-size: var(--text-body-xl-size);
	font-weight: 500;
	line-height: var(--text-body-xl-lh);
	letter-spacing: var(--text-body-xl-ls);
	color: var(--color-text-default);
}

.enterprise__feature-desc {
	max-width: 42rem;
	margin: 0 auto var(--space-16);
	font-family: var(--font-family-body);
	font-size: var(--text-body-sm-size);
	font-weight: 400;
	line-height: 1.6;
	color: var(--color-text-subtle);
}

.enterprise__feature-link {
	display: inline-flex;
	align-items: center;
	gap: var(--space-8);
	font-family: var(--font-family-body);
	font-size: var(--text-body-sm-size);
	font-weight: 400;
	line-height: var(--text-body-sm-lh);
	color: var(--color-text-subtle);
	text-decoration: none;
	transition: color 0.2s ease;
}

.enterprise__feature-link:hover {
	color: var(--color-text-brand);
	text-decoration: none;
}

/* Tablet */
@media (max-width: 1024px) {
	.enterprise {
		padding: var(--space-96) var(--space-32);
	}

	.enterprise__heading {
		font-size: var(--text-display-h3-size);
		line-height: var(--text-display-h3-lh);
		letter-spacing: var(--text-display-h3-ls);
	}

	.enterprise__grid {
		grid-template-columns: 1fr;
		gap: var(--space-32);
	}

	.enterprise__media {
		display: none;
	}

	.enterprise__mobile-media {
		display: block;
		aspect-ratio: 4 / 3;
		overflow: hidden;
		border-radius: var(--radius-md);
	}

	.enterprise__mobile-media-img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: left top;
	}

	.enterprise__feature {
		margin-top: var(--space-96);
	}
}

/* Mobile */
@media (max-width: 768px) {
	.enterprise {
		padding: var(--space-64) var(--space-20);
	}

	.enterprise__heading {
		font-size: var(--text-display-h4-size);
		line-height: var(--text-display-h4-lh);
		letter-spacing: var(--text-display-h4-ls);
		margin-bottom: var(--space-24);
	}

	.enterprise__pills {
		display: flex;
		flex-wrap: nowrap;
		justify-content: center;
		overflow-x: auto;
		scrollbar-width: none;
		margin-inline: calc(var(--space-20) * -1);
		padding-inline: var(--space-20);
	}

	.enterprise__pills::-webkit-scrollbar {
		display: none;
	}

	.enterprise__pill {
		flex-shrink: 0;
	}

	.enterprise__feature {
		margin-top: var(--space-80);
	}

	.enterprise__feature-title {
		font-size: var(--text-body-lg-size);
		line-height: var(--text-body-lg-lh);
	}
}
@media (max-width: 480px) {
	.enterprise__pills{
		justify-content: flex-start;
	}
}