/**
 * Engagement & Delivery Models New page
 *
 * @package PalC_Theme
 */

.edm-page { background: #fff; }
.edm-page .container { max-width: 1240px; }

.edm-hero {
	background: #0f172a;
	color: #fff;
	padding: 5.2rem 0 3.5rem;
	position: relative;
	overflow: hidden;
}
.edm-hero:before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(30, 64, 175, .15) 1px, transparent 1px), linear-gradient(90deg, rgba(30, 64, 175, .15) 1px, transparent 1px);
	background-size: 60px 60px;
	opacity: .55;
}
.edm-hero .container { position: relative; z-index: 1; }
.edm-hero-inner { text-align: center; }
.edm-badge {
	display: inline-flex;
	padding: .35rem .8rem;
	border-radius: 999px;
	border: 1px solid #2563eb;
	color: #93c5fd;
	font-size: .72rem;
	text-transform: uppercase;
	letter-spacing: .08em;
}
.edm-title { font-size: clamp(2rem, 4vw, 4rem); line-height: 1.04; margin: .9rem 0 1rem; }
.edm-title em {
	font-style: normal;
	background: linear-gradient(135deg, #93c5fd, #5eead4);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.edm-sub { max-width: 850px; margin: 0 auto; color: rgba(255, 255, 255, .75); line-height: 1.75; }
.edm-pill-row { margin-top: 1.35rem; display: flex; gap: .55rem; flex-wrap: wrap; justify-content: center; }
.edm-pill-row a {
	display: inline-flex;
	padding: .48rem .85rem;
	border-radius: 999px;
	font-size: .7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	text-decoration: none;
	color: #cbd5e1;
	border: 1px solid rgba(148, 163, 184, .28);
	background: rgba(30, 64, 175, .25);
}
.edm-hero-cards { margin-top: 2rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; text-align: left; }
.edm-hero-card {
	background: rgba(255, 255, 255, .04);
	border: 1px solid rgba(148, 163, 184, .28);
	border-radius: 12px;
	padding: 1rem;
}
.edm-hero-card span {
	display: inline-flex;
	font-size: .64rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: .2rem .48rem;
	border-radius: 999px;
	margin-bottom: .6rem;
}
.edm-hero-card h3 { margin: 0 0 .4rem; color: #fff; font-size: 1.2rem; line-height: 1.2; }
.edm-hero-card p { margin: 0; color: rgba(226, 232, 240, .84); font-size: .82rem; line-height: 1.58; }
.edm-hero-card.cpd span { background: rgba(30, 64, 175, .35); color: #93c5fd; }
.edm-hero-card.pda span { background: rgba(15, 118, 110, .35); color: #5eead4; }
.edm-hero-card.pta span { background: rgba(124, 58, 237, .35); color: #c4b5fd; }
.edm-hero-card.sas span { background: rgba(217, 119, 6, .35); color: #fde68a; }

.edm-intro { padding: 3rem 0; background: #f8fafc; }
.edm-intro p { max-width: 1120px; margin: 0 auto; text-align: center; font-size: 1.05rem; color: #667085; line-height: 1.82; }

.edm-model { padding: 3.1rem 0; }
.edm-model:nth-of-type(even) { background: #f8fafc; }
.edm-kicker { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #2563eb; font-weight: 800; margin: 0; }
.edm-model-head h2 { margin: .45rem 0 1.2rem; color: #062a72; font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.12; }
.edm-model-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; align-items: start; }
.edm-cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.edm-cap-grid article { border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; padding: 1rem; }
.edm-cap-grid h3 { margin: 0 0 .45rem; color: #0b2f78; font-size: 1.1rem; }
.edm-cap-grid p { margin: 0; color: #667085; line-height: 1.65; font-size: .88rem; }

.edm-process {
	background: linear-gradient(160deg, #071e58 0%, #182235 55%, #090f1c 100%);
	color: #dbeafe;
	border: 1px solid rgba(147, 197, 253, .28);
	border-radius: 16px;
	padding: 1.15rem;
}
.edm-process-title { margin: 0 0 .75rem; color: #93c5fd; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.edm-process ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .65rem; }
.edm-process li { color: rgba(219, 234, 254, .84); font-size: .82rem; }
.edm-process li strong { display: block; color: #fff; font-size: .88rem; margin-bottom: .14rem; }
.edm-process li span { color: rgba(219, 234, 254, .68); line-height: 1.5; display: block; }

.scat-item-cta { margin-top: 1.2rem; }

.edm-compare { padding: 3.4rem 0; background: radial-gradient(circle at 4% 98%, rgba(37, 99, 235, 0.2), transparent 20%), radial-gradient(circle at 94% 10%, rgba(37, 99, 235, 0.24), transparent 48%), #020a1d; color: #fff; }
.edm-compare h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); text-align: center; }
.edm-compare p { margin: .6rem auto 1.35rem; max-width: 760px; color: rgba(255, 255, 255, .68); text-align: center; }
.edm-table-wrap { overflow-x: auto; }
.edm-table { width: 100%; min-width: 880px; border-collapse: collapse; border: 1px solid rgba(148, 163, 184, .3); border-radius: 12px; overflow: hidden; }
.edm-table th, .edm-table td { padding: .8rem .9rem; border-bottom: 1px solid rgba(148, 163, 184, .18); font-size: .82rem; }
.edm-table th { color: #e2e8f0; background: rgba(30, 64, 175, .24); text-align: left; }
.edm-table td { color: rgba(226, 232, 240, .85); }
.edm-table td:first-child { width: 18%; text-transform: uppercase; font-size: .68rem; color: #93c5fd; letter-spacing: .06em; font-weight: 700; }
.edm-table tbody tr:last-child td { border-bottom: 0; }

.edm-contact { padding: 3.2rem 0; background: #f8fafc; }
.edm-contact h2 { margin: .45rem 0 .6rem; color: #062a72; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.edm-contact-sub { max-width: 760px; color: #667085; line-height: 1.72; }
.edm-contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.edm-contact-grid article { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 1rem; display: grid; gap: .45rem; align-content: space-between;}
.edm-contact-grid article span { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: #2563eb; font-weight: 800; }
.edm-contact-grid article h3 { margin: 0; color: #0b2f78; font-size: 1.22rem; line-height: 1.2; }
.edm-contact-grid article p { margin: 0 0 .3rem; color: #667085; font-size: .86rem; line-height: 1.58; }
.edm-consult { margin-top: 1.2rem; border: 1px solid rgba(30, 64, 175, .2); background: #eff6ff; border-radius: 12px; padding: 1rem; display: flex; gap: 1rem; justify-content: space-between; align-items: center; }
.edm-consult h3 { margin: 0 0 .24rem; color: #0b2f78; font-size: 1.1rem; }
.edm-consult p { margin: 0; color: #64748b; line-height: 1.6; }

.edm-shared-block .case-studies-carousel,
.edm-shared-block .partners,
.edm-shared-block .partners-section { margin-top: 0; }
.edm-shared-block { padding: 0; }

@media (max-width: 1100px) {
	.edm-hero-cards { grid-template-columns: 1fr 1fr; }
	.edm-model-grid { grid-template-columns: 1fr; }
	.edm-contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
	.edm-hero { padding: 6.3rem 0 2.5rem; }
	.edm-cap-grid, .edm-contact-grid, .edm-hero-cards { grid-template-columns: 1fr; }
	.edm-contact-sub { max-width: none; }
	.edm-consult { flex-direction: column; align-items: flex-start; }
}
