/* ==========================================================================
   Digital ROI - Hub / Category Pages  (prefix: hp-)
   ========================================================================== */

:root {
	--hp-dark:    #0d0d0d;
	--hp-dark2:   #111111;
	--hp-light:   #f5f5f0;
	--hp-white:   #ffffff;
	--hp-accent:  #ed3d0e;
	--hp-ink:     #111111;
	--hp-muted:   #555555;
	--hp-border:  #e5e5e0;
	--hp-radius:  12px;
}

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

/* Shared dot accent */
.hp-dot { color: var(--hp-accent); }

/* Shared buttons */
.hp-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-radius: 100px;
	padding: 13px 28px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background .2s, color .2s, border-color .2s, transform .15s;
	white-space: nowrap;
}
.hp-btn--accent {
	background: var(--hp-accent);
	color: #fff !important;
	border: none;
}
.hp-btn--accent:hover { background: var(--hp-accent); color: #fff !important; transform: none; }
.hp-btn--dark {
	background: var(--hp-dark);
	color: #fff !important;
	border: none;
}
.hp-btn--dark:hover { background: var(--hp-dark); color: #fff !important; }
.hp-btn--white {
	background: #fff;
	color: var(--hp-ink) !important;
	border: 1.5px solid rgba(255,255,255,.3);
}
.hp-btn--white:hover { background: #fff; color: var(--hp-ink) !important; border-color: rgba(255,255,255,.3); }


/* ─────────────────────────────────────────
   1. HERO
───────────────────────────────────────── */
.hp-hero {
	background: var(--hp-dark);
	color: #fff;
	padding: clamp(90px,11vw,140px) 0 clamp(70px,8vw,100px);
}
.hp-hero__breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: rgba(255,255,255,.5);
	margin-bottom: 28px;
	flex-wrap: wrap;
}
.hp-hero__breadcrumb a {
	color: rgba(255,255,255,.5);
	text-decoration: none;
}
.hp-hero__breadcrumb a:hover { color: var(--hp-accent); }
.hp-hero__breadcrumb span:last-child { color: rgba(255,255,255,.85); }
.hp-hero__sep { opacity: .4; }
.hp-hero__h1 {
	font-size: clamp(52px,8vw,100px) !important;
	font-weight: 800 !important;
	line-height: 1.0 !important;
	letter-spacing: -0.03em !important;
	color: #fff !important;
	margin: 0 0 24px !important;
	text-transform: none !important;
}
.hp-hero__dot { color: var(--hp-accent); }
.hp-hero__lead {
	font-size: clamp(15px,1.6vw,18px);
	color: rgba(255,255,255,.65);
	line-height: 1.7;
	max-width: 560px;
	margin: 0;
}


/* ─────────────────────────────────────────
   2. INTRO
───────────────────────────────────────── */
.hp-intro {
	background: var(--hp-white);
	padding: clamp(60px,8vw,110px) 0;
}
.hp-intro__wrap {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: clamp(40px,7vw,100px);
	align-items: start;
}
.hp-intro__quote {
	font-size: clamp(22px,2.8vw,34px) !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	color: var(--hp-ink) !important;
	margin: 0 !important;
}
.hp-intro__quote span { color: var(--hp-accent); }
.hp-intro__right p {
	font-size: 15px;
	color: var(--hp-muted);
	line-height: 1.78;
	margin: 0 0 16px;
}
.hp-intro__right p:last-child { margin: 0; }


/* ─────────────────────────────────────────
   3. DETAIL BLOCK
───────────────────────────────────────── */
.hp-detail {
	background: var(--hp-white);
	padding: clamp(50px,7vw,90px) 0;
	border-top: 1px solid var(--hp-border);
}
.hp-detail__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(40px,6vw,80px);
	align-items: center;
}
.hp-detail__image img {
	width: 100%;
	height: auto;
	max-width: 640px;      /* stops the stacked (tablet) layout from becoming very tall */
	margin-left: auto;
	margin-right: auto;
	aspect-ratio: 6 / 5;   /* native shape of the artwork: cropping would cut off the corner watermark */
	object-fit: cover;
	border-radius: 16px;
	display: block;
}
.hp-detail__img-placeholder {
	width: 100%;
	height: clamp(280px,35vw,460px);
	background: linear-gradient(135deg, rgba(237,61,14,.10) 0%, rgba(237,61,14,.03) 100%);
	border-radius: 16px;
	border: 1px dashed rgba(255,255,255,.22);
}
.hp-detail__heading {
	font-size: clamp(24px,3vw,38px) !important;
	font-weight: 800 !important;
	color: var(--hp-ink) !important;
	margin: 0 0 20px !important;
	line-height: 1.15 !important;
}
.hp-detail__highlight {
	border-left: 3px solid var(--hp-accent);
	padding: 14px 20px;
	margin: 0 0 24px;
	font-size: clamp(14px,1.4vw,16px);
	font-style: italic;
	color: var(--hp-ink);
	background: rgba(237,61,14,.04);
	border-radius: 0 8px 8px 0;
	line-height: 1.6;
}
.hp-detail__body {
	font-size: 15px;
	color: var(--hp-muted);
	line-height: 1.78;
	margin: 0;
}


/* ─────────────────────────────────────────
   4. CAPABILITIES GRID
───────────────────────────────────────── */
.hp-cap {
	background: var(--hp-light);
	padding: clamp(60px,8vw,110px) 0;
}
.hp-cap__top {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: clamp(36px,5vw,56px);
	flex-wrap: wrap;
}
.hp-cap__heading {
	font-size: clamp(26px,3.5vw,42px) !important;
	font-weight: 800 !important;
	color: var(--hp-ink) !important;
	margin: 0 !important;
	line-height: 1.1 !important;
}
.hp-cap__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.hp-cap__card {
	background: var(--hp-white);
	border: 1px solid var(--hp-border);
	border-radius: var(--hp-radius);
	padding: clamp(22px,3vw,32px);
	display: flex;
	flex-direction: column;
	gap: 14px;
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.hp-cap__card:hover {
	border-color: rgba(255,255,255,.7);
	box-shadow: 0 8px 32px rgba(237,61,14,.07);
	transform: translateY(-3px);
}
.hp-cap__icon {
	width: 48px;
	height: 48px;
	border-radius: 10px;
	background: rgba(237,61,14,.09);
	color: var(--hp-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.hp-cap__card-title {
	font-size: 16px !important;
	font-weight: 700 !important;
	color: var(--hp-ink) !important;
	margin: 0 !important;
}
.hp-cap__card-body {
	font-size: 13.5px;
	color: var(--hp-muted);
	line-height: 1.72;
	margin: 0;
}


/* ─────────────────────────────────────────
   5. DARK GROWTH BLOCK
───────────────────────────────────────── */
.hp-growth {
	background: var(--hp-dark);
	color: #fff;
	padding: clamp(70px,9vw,120px) 0;
}
.hp-growth__inner {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: clamp(50px,7vw,100px);
	align-items: start;
}
.hp-growth__heading {
	font-size: clamp(28px,3.8vw,48px) !important;
	font-weight: 800 !important;
	color: #fff !important;
	margin: 0 0 20px !important;
	line-height: 1.1 !important;
}
.hp-growth__body {
	font-size: 15px;
	color: rgba(255,255,255,.6);
	line-height: 1.75;
	margin: 0;
}
.hp-growth__steps { display: flex; flex-direction: column; }
.hp-growth__step {
	display: flex;
	gap: 20px;
	padding: 22px 0;
	border-bottom: 1px solid rgba(255,255,255,.08);
	cursor: pointer;
	transition: padding .25s;
}
.hp-growth__step:first-child { border-top: 1px solid rgba(255,255,255,.08); }
.hp-growth__step-num {
	font-size: 12px;
	font-weight: 700;
	color: rgba(255,255,255,.3);
	letter-spacing: .08em;
	flex-shrink: 0;
	padding-top: 3px;
	min-width: 28px;
	transition: color .2s;
}
.hp-growth__step.is-active .hp-growth__step-num { color: var(--hp-accent); }
.hp-growth__step-title {
	font-size: 16px !important;
	font-weight: 700 !important;
	color: #fff !important;
	margin: 0 0 8px !important;
	transition: color .2s;
}
.hp-growth__step.is-active .hp-growth__step-title { color: #fff !important; }
.hp-growth__step-body {
	font-size: 14px;
	color: rgba(255,255,255,.75);
	line-height: 1.75;
	margin: 0;
	max-height: 0;
	overflow: hidden;
	transition: max-height .35s ease, opacity .3s;
	opacity: 0;
}
.hp-growth__step.is-active .hp-growth__step-body {
	max-height: 200px;
	opacity: 1;
}


/* ─────────────────────────────────────────
   6. TWO-COL IMAGES
───────────────────────────────────────── */
.hp-two-images {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
}
.hp-two-images__col { overflow: hidden; }
.hp-two-images__col img {
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;   /* native shape of the artwork: cropping would cut off the corner watermark */
	object-fit: cover;
	display: block;
}
.hp-two-images__placeholder {
	width: 100%;
	height: clamp(220px,28vw,400px);
	background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}
.hp-two-images__placeholder::after {
	content: 'Image placeholder';
	color: rgba(255,255,255,.2);
	font-size: 13px;
}


/* ─────────────────────────────────────────
   7. WHO SHOULD
───────────────────────────────────────── */
.hp-who {
	background: var(--hp-white);
	padding: clamp(60px,8vw,110px) 0;
}
.hp-who__header {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(30px,5vw,70px);
	align-items: start;
	margin-bottom: clamp(36px,5vw,52px);
}
.hp-who__title h2 {
	font-size: clamp(28px,4vw,50px) !important;
	font-weight: 800 !important;
	color: var(--hp-ink) !important;
	margin: 0 !important;
	line-height: 1.1 !important;
}
.hp-who__title h2 span { color: rgba(0,0,0,.35); font-weight: 400; }
.hp-who__desc p {
	font-size: 15px;
	color: var(--hp-muted);
	line-height: 1.75;
	margin: 0;
	padding-top: 8px;
}
.hp-who__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.hp-who__tag {
	border: 1px solid var(--hp-border);
	border-radius: 100px;
	padding: 11px 22px;
	font-size: 13.5px;
	color: var(--hp-ink);
	font-weight: 500;
	background: var(--hp-light);
	transition: border-color .2s, background .2s;
}
.hp-who__tag:hover {
	border-color: rgba(255,255,255,.7);
	background: rgba(237,61,14,.05);
}


/* ─────────────────────────────────────────
   8. FAQ
───────────────────────────────────────── */
.hp-faq {
	background: var(--hp-white);
	padding: clamp(60px,8vw,110px) 0;
}
.hp-faq__grid {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: clamp(40px,7vw,100px);
}
.hp-faq__heading {
	font-size: clamp(36px,5vw,64px) !important;
	font-weight: 800 !important;
	color: var(--hp-ink) !important;
	margin: 0 !important;
	line-height: 1.0 !important;
	position: sticky;
	top: 90px;
}

/* Card-style FAQ matching home page design */
.hp-faq__list { display: flex; flex-direction: column; gap: 12px; }
.hp-faq__item {
	border: 1px solid var(--hp-border) !important;
	border-radius: 12px;
	overflow: hidden;
	transition: background .2s, border-color .2s;
}
.hp-faq__item--open {
	background: #0d0d0d;
	border-color: #0d0d0d !important;
}
.hp-faq__q {
	width: 100% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 20px !important;
	padding: 22px 24px !important;
	background: none !important;
	background-color: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	cursor: pointer !important;
	text-align: left !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	color: var(--hp-ink) !important;
	font-family: inherit !important;
	transition: color .2s !important;
	white-space: normal !important;
	min-width: 0 !important;
}
.hp-faq__item--open .hp-faq__q { color: #fff !important; }
.hp-faq__icon {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1.5px solid currentColor;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 20px;
	font-weight: 300;
	line-height: 1;
	color: var(--hp-ink);
	transition: background .2s, color .2s, border-color .2s, transform .25s;
}
.hp-faq__item--open .hp-faq__icon {
	background: rgba(255,255,255,.1);
	color: #fff;
	border-color: rgba(255,255,255,.4);
	transform: rotate(45deg);
}
.hp-faq__a { padding: 0 24px 22px; }
.hp-faq__a p {
	font-size: 14.5px;
	color: rgba(255,255,255,.7);
	line-height: 1.78;
	margin: 0;
}


/* ─────────────────────────────────────────
   9. BLOG HIGHLIGHT
───────────────────────────────────────── */
.hp-blog {
	background: var(--hp-white);
	padding-bottom: clamp(60px,8vw,100px);
}
.hp-blog__header {
	padding: clamp(50px,7vw,80px) 0 0;
}
.hp-blog__heading {
	font-size: clamp(28px,4vw,48px) !important;
	font-weight: 800 !important;
	color: var(--hp-ink) !important;
	margin: 0 0 8px !important;
}
.hp-blog__cta-bar {
	background: var(--hp-accent);
	padding: 20px 0;
	margin: 28px 0 36px;
}
.hp-blog__cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.hp-blog__cta-text {
	font-size: 14px;
	color: #fff;
	line-height: 1.5;
	margin: 0;
	font-weight: 500;
}


/* ─────────────────────────────────────────
   10. BOTTOM CTA
───────────────────────────────────────── */
.hp-cta {
	background: var(--hp-dark);
	padding: clamp(60px,8vw,100px) 0;
}
.hp-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}
.hp-cta__label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: rgba(255,255,255,.45);
	margin-bottom: 12px;
}
.hp-cta__heading {
	font-size: clamp(26px,3.5vw,46px) !important;
	font-weight: 800 !important;
	color: #fff !important;
	margin: 0 !important;
	line-height: 1.1 !important;
}


/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1024px) {
	.hp-intro__wrap      { grid-template-columns: 1fr; gap: 32px; }
	.hp-detail__inner    { grid-template-columns: 1fr; }
	.hp-cap__grid        { grid-template-columns: repeat(2, 1fr); }
	.hp-growth__inner    { grid-template-columns: 1fr; gap: 48px; }
	.hp-who__header      { grid-template-columns: 1fr; }
	.hp-faq__grid        { grid-template-columns: 1fr; }
	.hp-faq__heading     { position: static; }
	.hp-cta__inner       { flex-direction: column; text-align: center; align-items: center; }
}
@media (max-width: 768px) {
	.hp-cap__grid        { grid-template-columns: 1fr; }
	.hp-two-images       { grid-template-columns: 1fr; }
	.hp-blog__cta-inner  { flex-direction: column; text-align: center; align-items: center; }
	.hp-cap__top         { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
	.hp-hero__h1         { font-size: clamp(40px,10vw,60px) !important; }
	.hp-who__tags        { gap: 8px; }
	.hp-who__tag         { font-size: 12.5px; padding: 9px 16px; }
}

/* ── Capability cards: clickable, with the service's USP infographic ──── */
/* Beat global/Elementor link styles (underline + accent colour). */
.hp-cap a.hp-cap__card,
.hp-cap a.hp-cap__card:hover,
.hp-cap a.hp-cap__card:focus {
	text-decoration: none !important;
	color: inherit !important;
}
.hp-cap__card--link { cursor: pointer; }
/* Cards sit on a light section: a white hover border would vanish. */
.hp-cap__card:hover { border-color: rgba(17,17,17,.22); }
.hp-cap__card--link:focus-visible {
	outline: 2px solid var(--hp-accent, #ed3d0e);
	outline-offset: 3px;
}
.hp-cap__media {
	aspect-ratio: 3 / 2;
	background: #111;
	border-radius: 10px;
	overflow: hidden;
}
.hp-cap__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .4s ease;
}
.hp-cap__card--link:hover .hp-cap__media img { transform: scale(1.04); }
.hp-cap__more {
	margin-top: auto;
	padding-top: 4px;
	font-size: 13px;
	font-weight: 700;
	color: var(--hp-accent, #ed3d0e);
}
.hp-cap__more span { display: inline-block; transition: transform .2s ease; }
.hp-cap__card--link:hover .hp-cap__more span { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
	.hp-cap__media img,
	.hp-cap__more span { transition: none; }
}

/* FAQ question text: the button reset forces white-space:nowrap on every
   <button> site-wide, which broke long FAQ questions on mobile (they ran
   off the edge of the screen instead of wrapping). Un-set it here, and let
   the label span actually shrink inside the flex row instead of forcing
   the button wider than the viewport. */
.hp-faq__q > span:first-child { white-space: normal; min-width: 0; flex: 1; }
