/* ==========================================================================
   Digital ROI - Industry Pages  (prefix: ip-)
   ========================================================================== */

:root {
	--ip-dark:   #0d0d0d;
	--ip-dark2:  #111111;
	--ip-dark3:  #161616;
	--ip-white:  #ffffff;
	--ip-accent: #ed3d0e;
	--ip-muted:  rgba(255,255,255,.55);
	--ip-border: rgba(255,255,255,.08);
	--ip-radius: 12px;
}

.ip-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 clamp(20px, 4vw, 60px);
}

/* ─── HERO ─────────────────────────────── */
.ip-hero {
	background: var(--ip-dark);
	padding: clamp(100px,12vw,160px) 0 clamp(64px,8vw,96px);
	border-bottom: 1px solid var(--ip-border);
}
.ip-hero__breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: var(--ip-muted);
	margin-bottom: 28px;
	flex-wrap: wrap;
}
.ip-hero__breadcrumb a { color: var(--ip-muted); text-decoration: none; }
.ip-hero__breadcrumb a:hover { color: var(--ip-accent); }
.ip-hero__breadcrumb span:last-child { color: rgba(255,255,255,.85); }
.ip-hero__sep { opacity: .4; }
.ip-hero__eyebrow {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ip-accent);
	margin-bottom: 20px;
}
.ip-hero__h1 {
	font-size: clamp(44px,7vw,88px) !important;
	font-weight: 800 !important;
	line-height: 1.0 !important;
	letter-spacing: -0.03em !important;
	color: #fff !important;
	margin: 0 0 28px !important;
	text-transform: none !important;
}
.ip-hero__h1 em { font-style: normal; color: var(--ip-accent); }
.ip-hero__lead {
	font-size: clamp(16px,1.7vw,19px);
	color: var(--ip-muted);
	line-height: 1.7;
	max-width: 640px;
	margin: 0;
}

/* ─── INTRO ────────────────────────────── */
.ip-intro {
	background: #fff;
	padding: clamp(64px,8vw,96px) 0;
	border-top: 1px solid #e0e0e0;
}
.ip-intro__wrap {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: clamp(48px,6vw,96px);
	align-items: start;
}
@media (max-width: 768px) { .ip-intro__wrap { grid-template-columns: 1fr; } }
.ip-intro__quote {
	font-size: clamp(22px,2.5vw,32px);
	font-weight: 800;
	color: #111;
	line-height: 1.3;
	letter-spacing: -0.02em;
	margin: 0;
	border-left: 4px solid var(--ip-accent);
	padding-left: 24px;
}
.ip-intro__body p {
	font-size: 15px;
	color: #444;
	line-height: 1.8;
	margin: 0 0 16px;
}
.ip-intro__body p:last-child { margin-bottom: 0; }

/* ─── VERTICALS ────────────────────────── */
.ip-verticals {
	background: #f5f5f5;
	padding: clamp(64px,8vw,96px) 0;
	border-top: 1px solid #e0e0e0;
}
.ip-verticals__head {
	margin-bottom: clamp(40px,5vw,64px);
}
.ip-verticals__eyebrow {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ip-accent);
	margin-bottom: 16px;
}
.ip-verticals__h2 {
	font-size: clamp(28px,3.5vw,44px) !important;
	font-weight: 800 !important;
	color: var(--ip-accent) !important;
	line-height: 1.1 !important;
	letter-spacing: -0.02em !important;
	margin: 0 !important;
}
.ip-verticals__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
@media (max-width: 900px) { .ip-verticals__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .ip-verticals__grid { grid-template-columns: 1fr; } }
.ip-vertical {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: var(--ip-radius);
	padding: 28px 26px;
	transition: background .2s, border-color .2s;
}
.ip-vertical:hover { background: #f9f9f9; border-color: #ccc; }
.ip-vertical__num {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	color: var(--ip-accent);
	margin-bottom: 14px;
}
.ip-vertical__title {
	font-size: 16px;
	font-weight: 700;
	color: #111;
	margin: 0 0 10px;
}
.ip-vertical__body {
	font-size: 14px;
	color: #555;
	line-height: 1.7;
	margin: 0;
}

/* ─── SERVICES ─────────────────────────── */
.ip-services {
	background: #fff;
	padding: clamp(64px,8vw,96px) 0;
	border-top: 1px solid #e0e0e0;
}
.ip-services__inner {
	display: grid;
	grid-template-columns: 1fr 1.6fr;
	gap: clamp(48px,6vw,96px);
	align-items: start;
}
@media (max-width: 768px) { .ip-services__inner { grid-template-columns: 1fr; } }
.ip-services__label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ip-accent);
	margin-bottom: 20px;
}
.ip-services__h2 {
	font-size: clamp(28px,3.5vw,44px) !important;
	font-weight: 800 !important;
	color: var(--ip-accent) !important;
	line-height: 1.1 !important;
	letter-spacing: -0.02em !important;
	margin: 0 0 24px !important;
}
.ip-services__body {
	font-size: 15px;
	color: #444;
	line-height: 1.8;
	margin: 0;
}
.ip-services__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.ip-service-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: var(--ip-radius);
	padding: 18px 20px;
	text-decoration: none !important;
	transition: background .2s, border-color .2s;
}
.ip-service-item:hover { background: #f9f9f9; border-color: #ccc; }
.ip-service-item__dot {
	width: 8px;
	height: 8px;
	background: var(--ip-accent);
	border-radius: 50%;
	flex-shrink: 0;
	margin-top: 6px;
}
.ip-service-item__title {
	font-size: 14px;
	font-weight: 700;
	color: #111;
	margin: 0 0 3px;
}
.ip-service-item__desc {
	font-size: 13px;
	color: #555;
	line-height: 1.5;
	margin: 0;
}

/* ─── CHALLENGES ───────────────────────── */
.ip-challenges {
	background: #f5f5f5;
	padding: clamp(64px,8vw,96px) 0;
	border-top: 1px solid #e0e0e0;
}
.ip-challenges__head {
	text-align: center;
	margin-bottom: clamp(40px,5vw,64px);
}
.ip-challenges__eyebrow {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ip-accent);
	margin-bottom: 16px;
}
.ip-challenges__h2 {
	font-size: clamp(28px,3.5vw,44px) !important;
	font-weight: 800 !important;
	color: var(--ip-accent) !important;
	line-height: 1.1 !important;
	letter-spacing: -0.02em !important;
	margin: 0 !important;
}
.ip-challenges__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
@media (max-width: 900px) { .ip-challenges__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .ip-challenges__grid { grid-template-columns: 1fr; } }
.ip-challenge {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: var(--ip-radius);
	padding: 26px 22px;
}
.ip-challenge__title {
	font-size: 15px;
	font-weight: 700;
	color: #111;
	margin: 0 0 10px;
}
.ip-challenge__title::before {
	content: '';
	display: block;
	width: 24px;
	height: 3px;
	background: var(--ip-accent);
	border-radius: 2px;
	margin-bottom: 12px;
}
.ip-challenge__body {
	font-size: 13px;
	color: #555;
	line-height: 1.7;
	margin: 0;
}

/* ─── CTA ──────────────────────────────── */
.ip-cta {
	background: var(--ip-dark);
	padding: clamp(64px,8vw,96px) 0;
	border-top: 1px solid var(--ip-border);
}
.ip-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}
.ip-cta__text {
	font-size: clamp(22px,3vw,36px);
	font-weight: 800;
	color: #fff;
	line-height: 1.2;
	letter-spacing: -0.02em;
	max-width: 560px;
}
.ip-cta__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--ip-accent);
	color: #fff !important;
	border-radius: 100px;
	padding: 15px 32px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
	white-space: nowrap;
	flex-shrink: 0;
	transition: opacity .15s, transform .15s;
}
.ip-cta__btn:hover { opacity: .88; transform: translateY(-1px); color: #fff !important; }

@media (max-width: 768px) {
	.ip-hero__h1 { font-size: clamp(36px,9vw,60px) !important; }
	.ip-cta__inner { flex-direction: column; text-align: center; align-items: center; }
}

/* ─── PROOF BAND (aggregated results + client logos) ─────────────────── */
.ip-proof {
	background: var(--ip-dark);
	padding: clamp(56px,7vw,80px) 0;
	border-top: 1px solid var(--ip-border);
}
.ip-proof__eyebrow {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ip-accent);
	margin-bottom: 24px;
}
.ip-proof__stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border: 1px solid var(--ip-border);
	border-radius: 14px;
	overflow: hidden;
}
.ip-proof__stat {
	padding: 28px 24px;
	background: var(--ip-dark2);
	border-right: 1px solid var(--ip-border);
}
.ip-proof__stat:last-child { border-right: 0; }
.ip-proof__val {
	font-size: clamp(28px,3.4vw,42px);
	font-weight: 900;
	color: #fff;
	letter-spacing: -.02em;
	line-height: 1;
	margin-bottom: 8px;
	white-space: nowrap;
}
.ip-proof__val span { color: var(--ip-accent); }
.ip-proof__label {
	font-size: 12px;
	color: var(--ip-muted);
	line-height: 1.4;
}
.ip-proof__logos {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 28px;
}
.ip-proof__logo {
	width: 132px;
	height: 64px;
	padding: 10px 14px;
	background: #fff;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.ip-proof__logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.ip-proof__note {
	margin: 20px 0 0;
	font-size: 12px;
	color: rgba(255,255,255,.45);
}
.ip-proof__note a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.ip-proof__note a:hover { color: var(--ip-accent); }

/* ─── VERTICAL CARDS: link variant and 4-up layout ───────────────────── */
a.ip-vertical--link {
	display: block;
	text-decoration: none !important;
	color: inherit;
}
@media (min-width: 901px) {
	.ip-verticals__grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
	.ip-proof__stats { grid-template-columns: repeat(2, 1fr); }
	.ip-proof__stat:nth-child(2) { border-right: 0; }
	.ip-proof__stat:nth-child(-n+2) { border-bottom: 1px solid var(--ip-border); }
	.ip-proof__logo { width: calc(50% - 4px); }
}
