/**
 * Enterprise single page styles.
 */

.ent-page {
	--ent-yellow: #fad045;
	--ent-yellow-border: #ffd400;
	--ent-muted: #6b7280;
	--ent-border: #e5e7eb;
	--ent-surface: #f5f7fa;
	color: #111;
}

/* Homepage-style section headings (smaller + yellow underline) */
.ent-page__section-head {
	position: relative;
	text-align: center;
	margin-bottom: 0.5rem;
}

.ent-page__section-title {
	position: relative;
	isolation: isolate;
	z-index: 0;
	display: inline-block;
	max-width: 42rem;
	margin: 0 auto;
	padding-bottom: 0.35rem;
	text-align: center;
	font-size: clamp(1.75rem, 3vw, 2.25rem) !important;
	line-height: 1.3;
	font-weight: 700 !important;
	color: #1a1e22;
}

.ent-page__section-head span {
	display: block;
}

.ent-page .ent-page__section-head span img,
.ent-page .head_title.ent-page__section-head span img {
	position: absolute;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	width: min(320px, 90%);
	z-index: -1;
	pointer-events: none;
}

/* Hero — text + CTAs left, image right */
.ent-page__hero {
	padding: 7.5rem 0 0;
	background: linear-gradient(160deg, #fffbe8 0%, #fff9db 40%, #ffffff 100%);
	overflow: hidden;
}

.ent-page__hero-main {
	padding-bottom: 3rem;
}

.ent-page__hero-title {
	font-size: clamp(1.6rem, 3.5vw, 2.5rem);
	line-height: 1.12;
	margin-bottom: 1.25rem;
	color: #111;
	font-weight: 800 !important;
}

.ent-page__hero-lead,
.ent-page__hero-lead p {
	color: #4b5563;
	font-size: 1.1rem;
	line-height: 1.7;
	max-width: 34rem;
}

.ent-page__hero-lead {
	margin-bottom: 1.75rem;
}

.ent-page__hero-ctas {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.875rem;
}

.ent-page__cta--secondary {
	background: #fff !important;
	color: #111 !important;
	border: 2px solid #111 !important;
	font-weight: 600;
	padding: 0.55rem 1.25rem;
}

.ent-page__cta--secondary:hover {
	background: #111 !important;
	color: #fff !important;
}

.ent-page__hero-visual {
	display: flex;
	align-items: center;
	justify-content: center;
}

.ent-page__hero-img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

/* Challenges — 3 per row, integration-style cards */
.ent-challenge-card {
	background: #fff;
	border: 1px solid var(--ent-yellow-border);
	border-radius: 12px;
	padding: 1.5rem;
}

.ent-challenge-card__icon img {
	width: 60px;
	height: 60px;
	object-fit: contain;
}

.ent-challenge-card__title {
	font-size: 1.05rem;
	text-align: left;
}

.ent-challenge-card__text {
	text-align: left;
}

/* Feature alternate images */
.ent-page__feature-img {
	max-width: 80%;
	height: auto;
	display: block;
	margin: 0 auto;
}

/* Comparison table */
.ent-compare-table {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--ent-border);
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.ent-compare-table__head,
.ent-compare-table__row {
	display: grid;
	grid-template-columns: minmax(120px, 0.9fr) 1.1fr 1.1fr;
}

.ent-compare-table__head {
	background: #1a1e22;
	color: #fff;
}

.ent-compare-table__head .ent-compare-table__col--feature {
	background: #2a2f35;
}

.ent-compare-table__head .ent-compare-table__col--with {
	background: #fad045;
	color: #111;
}

.ent-compare-table__label {
	display: block;
	font-weight: 700;
	font-size: 0.9rem;
	text-align: center;
	padding: 0.55rem 0.75rem;
}

.ent-compare-table__row {
	border-top: 1px solid var(--ent-border);
}

.ent-compare-table__row:nth-child(even) {
	background: #fafafa;
}

.ent-compare-table__col {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	padding: 0.55rem 0.75rem;
}

.ent-compare-table__col--feature,
.ent-compare-table__col--without {
	border-right: 1px solid var(--ent-border);
}

.ent-compare-table__feature {
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.4;
	color: #1a1e22;
}

.ent-compare-table__icon {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.65rem;
	font-weight: 700;
	margin-top: 0.1rem;
}

.ent-compare-table__icon--x {
	background: #fee2e2;
	color: #dc2626;
}

.ent-compare-table__icon--check {
	background: #dcfce7;
	color: #16a34a;
}

.ent-compare-table__text {
	font-size: 0.85rem;
	line-height: 1.4;
	color: #374151;
}

/* Integrations — specialty pattern, smaller logos */
.ent-page__integrations {
	background: #f8faff;
}

.ent-integration-card {
	background: #eef4ff;
	border: 1px solid #cad8ee;
	border-radius: 12px;
	padding: 0.85rem;
	min-height: 88px;
	text-decoration: none !important;
	color: inherit;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ent-integration-card:hover {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.ent-integration-card__img {
	max-height: 56px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
}

@media (max-width: 767.98px) {
	.ent-page__hero {
		padding-top: 6rem;
	}

	.ent-page__hero-title {
		font-size: 1.65rem;
	}

	.ent-page__section-title {
		font-size: 1.55rem !important;
	}

	.ent-page .ent-page__section-head span img,
	.ent-page .head_title.ent-page__section-head span img {
		top: 16px;
		width: min(240px, 90%);
	}

	.ent-page__feature-img {
		max-width: 100%;
		margin-bottom: 1.25rem;
	}

	.ent-compare-table__head,
	.ent-compare-table__row {
		grid-template-columns: 1fr;
	}

	.ent-compare-table__col--feature,
	.ent-compare-table__col--without {
		border-right: none;
		border-bottom: 1px solid var(--ent-border);
	}

	.ent-compare-table__head .ent-compare-table__col--feature,
	.ent-compare-table__head .ent-compare-table__col--without {
		border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	}
}
