/* New business-systems services and the grouped Services navigation. */
.irandesigner-expansion-service #primary-content {
	padding-top: clamp(8.5rem, 11vw, 10.5rem);
}

/* This is the original compact dropdown pattern; give it a stable width
 * because this arbitrary Tailwind value is not present in the legacy bundle. */
.public-nav-glass--desktop a[title="خدمات"] + .public-nav-popover {
	width: 19.375rem;
	min-width: 19.375rem;
}

.id-services-mega {
	width: min(76vw, 64rem);
	padding: 1rem;
	border: 1px solid rgb(209 196 180 / 72%);
	border-radius: 1.5rem;
	background: rgb(255 252 248 / 97%);
	box-shadow: 0 30px 80px -36px rgb(45 39 51 / 42%);
	transform: translateX(18%);
}

.id-services-mega__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.25rem 0.35rem 0.9rem;
	border-bottom: 1px solid rgb(209 196 180 / 48%);
}

.id-services-mega__header strong { font-size: 0.92rem; }
.id-services-mega__header a { color: #695da8; font-size: 0.74rem; font-weight: 750; }

.id-services-mega__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
	padding-top: 0.75rem;
}

.id-services-mega__column {
	padding: 0.75rem;
	border-radius: 1rem;
	background: linear-gradient(145deg, rgb(255 255 255 / 82%), rgb(248 244 237 / 70%));
}

.id-services-mega__column h2 {
	margin: 0 0 0.5rem;
	color: #766c65;
	font-size: 0.73rem;
	font-weight: 800;
}

.id-services-mega__column > div { display: grid; gap: 0.2rem; }
.id-services-mega__column a {
	display: flex;
	min-height: 2.25rem;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.45rem 0.55rem;
	border-radius: 0.7rem;
	color: #4e4946;
	font-size: 0.76rem;
	font-weight: 620;
}
.id-services-mega__column a:hover { background: rgb(209 154 88 / 10%); color: #8b5645; }
.id-services-mega__column a span { color: #ad9d91; }

.id-mobile-services-mega {
	margin-top: 0.25rem;
	padding: 0.45rem;
	border: 1px solid rgb(209 154 88 / 18%);
	border-radius: 0.95rem;
	background: rgb(209 154 88 / 7%);
}
.id-mobile-services-all,
.id-mobile-services-mega details a,
.id-mobile-services-mega summary { display: block; padding: 0.58rem 0.7rem; border-radius: 0.7rem; font-size: 0.78rem; }
.id-mobile-services-all { margin-bottom: 0.3rem; background: rgb(255 252 248 / 88%); color: #76544b; font-weight: 800; }
.id-mobile-services-mega details { border-top: 1px solid rgb(159 132 112 / 12%); }
.id-mobile-services-mega summary { cursor: pointer; color: #4e4946; font-weight: 760; }
.id-mobile-services-mega details > div { display: grid; gap: 0.1rem; padding: 0 0.35rem 0.35rem; }
.id-mobile-services-mega details a { color: #69625d; background: rgb(255 255 255 / 50%); }

body.single-ir_service .service-surface-card--crm,
body.single-ir_service .service-surface-card--ai-automation,
body.single-ir_service .service-surface-card--web-application-development,
body.single-ir_service .service-surface-card--analytics-conversion-tracking,
body.single-ir_service .service-surface-card--continuous-support {
	background: linear-gradient(135deg, rgb(255 252 247 / 96%), rgb(245 249 248 / 88%) 52%, rgb(248 244 252 / 88%));
}

body.single-ir_service .service-surface-card--ai-automation { --service-accent: #7868b5; }
body.single-ir_service .service-surface-card--crm { --service-accent: #3f8f88; }
body.single-ir_service .service-surface-card--web-application-development { --service-accent: #5476b8; }
body.single-ir_service .service-surface-card--analytics-conversion-tracking { --service-accent: #bd765c; }
body.single-ir_service .service-surface-card--continuous-support { --service-accent: #8b7657; }

body.single-ir_service .service-surface-card[class*="service-surface-card--"] .id-service-hero__media {
	padding: clamp(0.7rem, 1.4vw, 1.1rem);
}
body.single-ir_service .service-surface-card[class*="service-surface-card--"] .id-service-hero__media img {
	border-radius: clamp(1.2rem, 2vw, 1.8rem);
	object-fit: cover;
}

/* The shared legacy card theme adds a detached circular ornament to every
 * article. On database-native service cards it sits against the rounded edge
 * and can cover the icon/title area, especially on mobile. */
.irandesigner-expansion-service .service-value-feature-card {
	position: relative !important;
	overflow: hidden !important;
}
.irandesigner-expansion-service .service-value-feature-card::after {
	display: none !important;
	content: none !important;
}
.irandesigner-expansion-service .service-value-feature-card__icon {
	display: inline-grid !important;
	width: 2.5rem;
	height: 2.5rem;
	place-items: center;
	margin: 0 0 0.15rem;
	border: 1px solid rgb(120 104 181 / 18%);
	border-radius: 0.85rem;
	background: rgb(120 104 181 / 9%) !important;
	color: var(--service-accent, #6657a4);
}
.irandesigner-expansion-service .service-value-feature-card__icon .id-icon {
	display: block;
	width: 1.1rem;
	height: 1.1rem;
}

.id-expansion-section { margin-bottom: clamp(2rem, 4vw, 3.4rem); }
.id-expansion-section > h2 { margin-bottom: 0.9rem; }
.id-expansion-scope {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.65rem;
	padding: 0 !important;
	list-style: none !important;
}
.id-expansion-scope li { padding: 0.8rem 2.2rem 0.8rem 0.8rem; border: 1px solid rgb(95 105 130 / 14%); border-radius: 0.9rem; background: rgb(248 249 252 / 80%); position: relative; }
.irandesigner-expansion-service .article-content .id-expansion-scope > li::before {
	position: absolute !important;
	top: 1.23rem !important;
	right: 1rem !important;
	bottom: auto !important;
	left: auto !important;
	width: 0.38rem !important;
	height: 0.38rem !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: var(--service-accent, #6f7fb9) !important;
	box-shadow: none !important;
	content: "" !important;
	opacity: 1 !important;
	transform: none !important;
}
.irandesigner-expansion-service .id-expansion-scope li::after,
.irandesigner-expansion-service .id-expansion-steps li::after { display: none !important; content: none !important; }
.id-expansion-steps { display: grid; gap: 0.75rem; padding: 0 !important; list-style: none !important; }
.id-expansion-steps li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 0.8rem; padding: 0.9rem; border: 1px solid rgb(210 201 190 / 70%); border-radius: 1rem; background: rgb(255 255 255 / 70%); }
.id-expansion-steps li > span { display: grid; width: 2.2rem; height: 2.2rem; place-items: center; border-radius: 0.75rem; background: #eef1fb; color: #5b6a9e; font-size: 0.72rem; font-weight: 800; }
.id-expansion-steps h3 { margin: 0 0 0.2rem; font-size: 0.98rem; }
.id-expansion-steps p { margin: 0; }
.id-expansion-scenario { padding: 1.2rem; border: 1px solid rgb(75 143 137 / 24%); border-radius: 1.2rem; background: linear-gradient(145deg, rgb(239 249 247 / 86%), rgb(251 247 240 / 80%)); }
.id-expansion-scenario > span { color: #4b8f89; font-size: 0.72rem; font-weight: 800; }
.id-expansion-note { margin-block: 1.5rem 2.5rem; padding: 1rem 1.15rem; border-right: 3px solid #c18468; border-radius: 0.9rem; background: rgb(250 244 239 / 88%); }
.id-expansion-note p { margin: 0.3rem 0 0; }
.id-expansion-faq details { margin-bottom: 0.65rem; border: 1px solid rgb(209 201 191 / 72%); border-radius: 0.9rem; background: rgb(255 255 255 / 74%); }
.id-expansion-faq summary { cursor: pointer; padding: 0.9rem 1rem; font-weight: 760; }
.id-expansion-faq details p { margin: 0; padding: 0 1rem 1rem; }

.id-marketing-cro { width: min(calc(100% - 3rem), 80rem); margin: clamp(2rem, 5vw, 5rem) auto; padding: clamp(1.35rem, 3vw, 2.5rem); border: 1px solid rgb(203 190 175 / 72%); border-radius: 1.7rem; background: linear-gradient(135deg, rgb(255 252 248 / 95%), rgb(242 249 247 / 87%)); }
.id-marketing-cro > div:first-child > span { color: #8175ad; font-size: 0.76rem; font-weight: 800; }
.id-marketing-cro__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.7rem; margin-top: 1.2rem; }
.id-marketing-cro__grid article { padding: 0.9rem; border: 1px solid rgb(114 114 140 / 14%); border-radius: 0.9rem; background: rgb(255 255 255 / 70%); }
.id-marketing-cro__grid p { margin: 0.3rem 0 0; font-size: 0.78rem; line-height: 1.9; }
.id-marketing-cro__note { margin: 1rem 0 0; color: #6d655f; font-size: 0.78rem; }

@media (max-width: 860px) {
	.id-expansion-scope,
	.id-marketing-cro__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
	.irandesigner-expansion-service #primary-content {
		padding-top: 7.25rem;
	}
	.irandesigner-expansion-service .scroll-top-rocket {
		display: none !important;
	}

	.id-expansion-scope,
	.id-marketing-cro__grid { grid-template-columns: 1fr; }
	.id-marketing-cro { width: min(calc(100% - 1.5rem), 80rem); }
}

/* Compact hierarchical Services menu. Parent rows keep the familiar dropdown
 * footprint; the second level opens beside it without hashtag-only links. */
.id-services-tree {
	width: 19.375rem !important;
	min-width: 19.375rem !important;
	overflow: visible !important;
	padding: 0.55rem;
	border-radius: 1.15rem;
}
.id-services-tree__all {
	display: flex;
	min-height: 2.55rem;
	align-items: center;
	padding: 0.55rem 0.7rem;
	border-bottom: 1px solid rgb(209 196 180 / 48%);
	color: #76544b;
	font-size: 0.76rem;
	font-weight: 800;
}
.id-services-tree__list { display: grid; gap: 0.2rem; padding-top: 0.35rem; }
.id-services-tree__item { position: relative; }
.id-services-tree__parent {
	display: grid;
	grid-template-columns: 1rem minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.7rem;
	min-height: 2.8rem;
	padding: 0.62rem 0.72rem;
	border-radius: 0.85rem;
	color: #514b47;
	font-size: 0.79rem;
	font-weight: 720;
}
.id-services-tree__parent:hover,
.id-services-tree__item:focus-within > .id-services-tree__parent { background: rgb(209 154 88 / 10%); color: #8b5645; }
.id-services-tree__parent--direct { grid-template-columns: 1rem minmax(0, 1fr); }
.id-services-tree__parent svg { color: #a77050; }
.id-services-tree__arrow { direction: ltr; color: #aa9b91; font-size: 1.25rem; line-height: 1; }
.id-services-tree__branch {
	position: absolute;
	top: -0.45rem;
	right: calc(100% - 0.35rem);
	z-index: 30;
	display: grid;
	visibility: hidden;
	width: 18.5rem;
	gap: 0.18rem;
	padding: 0.7rem;
	border: 1px solid rgb(209 196 180 / 72%);
	border-radius: 1rem;
	background: rgb(255 252 248 / 98%);
	box-shadow: 0 28px 70px -32px rgb(45 39 51 / 40%);
	opacity: 0;
	transform: translateX(0.35rem);
	transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}
.id-services-tree__item:hover > .id-services-tree__branch,
.id-services-tree__item:focus-within > .id-services-tree__branch { visibility: visible; opacity: 1; transform: none; }
.id-services-tree__branch strong { padding: 0.3rem 0.55rem 0.45rem; color: #756c66; font-size: 0.72rem; }
.id-services-tree__branch a {
	display: flex;
	min-height: 2.25rem;
	align-items: center;
	justify-content: space-between;
	gap: 0.6rem;
	padding: 0.48rem 0.58rem;
	border-radius: 0.7rem;
	color: #59534f;
	font-size: 0.75rem;
	font-weight: 650;
}
.id-services-tree__branch a:hover { background: rgb(110 91 162 / 8%); color: #695da8; }
.id-services-tree__branch a span:last-child { color: #ab9c92; }
.id-mobile-services-mega summary { display: flex; align-items: center; gap: 0.55rem; }
.id-mobile-services-parent { color: #76544b !important; font-weight: 800 !important; }
.id-mobile-services-direct {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.65rem 0.7rem;
	border-radius: 0.7rem;
	color: #4e4946;
	font-size: 0.78rem;
	font-weight: 760;
}
.id-mobile-services-mega details + .id-mobile-services-direct { margin-top: 0.25rem; border-top: 1px solid rgb(159 132 112 / 12%); }
.id-mobile-services-direct:hover { background: rgb(255 255 255 / 62%); color: #76544b; }

/* The AI card is generated from database-owned homepage HTML. Its arbitrary
 * utility classes are not guaranteed to exist in the legacy CSS bundle. */
.home-service-card[href*="/services/ai-automation"] .home-service-card__icon {
	background: rgb(120 104 181 / 11%) !important;
	color: #6657a4 !important;
	box-shadow: 0 0 0 1px rgb(120 104 181 / 18%) !important;
}
body.is-irandesigner-home .home-service-card[href*="/services/ai-automation"].public-color-card {
	background:
		linear-gradient(145deg, rgb(252 247 244), rgb(255 252 249)) padding-box,
		linear-gradient(118deg, rgb(77 150 118 / 86%), rgb(209 154 88 / 92%) 42%, rgb(190 100 76 / 90%) 72%, rgb(39 103 200 / 78%)) border-box !important;
}

/* Shared service-page system. New database-native services intentionally use
 * the same broad hero + editorial colour-band hierarchy as Web Design and
 * Digital Marketing instead of falling back to the article/sidebar layout. */
.id-modern-service-page {
	--modern-accent: #3f8f88;
	--modern-accent-rgb: 63 143 136;
	position: relative;
	overflow: hidden;
	padding-bottom: clamp(4rem, 7vw, 7rem);
}
.id-modern-service-page--ai-automation { --modern-accent: #7463a8; --modern-accent-rgb: 116 99 168; }
.id-modern-service-page--web-application-development { --modern-accent: #5476b8; --modern-accent-rgb: 84 118 184; }
.id-modern-service-page--analytics-conversion-tracking { --modern-accent: #b66e56; --modern-accent-rgb: 182 110 86; }
.id-modern-service-page--continuous-support { --modern-accent: #836e4f; --modern-accent-rgb: 131 110 79; }
.id-modern-service-page__pattern,
.id-modern-service-page__mesh { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.id-modern-service-page__mesh { inset: 0 0 auto; z-index: -1; height: 42rem; opacity: 0.42; }
.id-modern-service-shell { width: min(calc(100% - 3rem), 80rem); margin-inline: auto; }

.irandesigner-expansion-service .id-modern-service-hero {
	position: relative;
	display: block;
	overflow: hidden;
	border: 1px solid rgb(221 209 188 / 78%);
	border-radius: 2rem;
	padding: clamp(1.35rem, 3.5vw, 3rem);
	background: linear-gradient(135deg, rgb(255 252 248 / 96%), rgb(248 239 226 / 86%) 55%, rgb(255 255 255 / 92%));
	box-shadow: 0 24px 72px -48px rgb(45 39 51 / 34%);
}
.id-modern-service-hero__wash {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 84% 16%, rgb(var(--modern-accent-rgb) / 16%), transparent 38%),
		radial-gradient(circle at 10% 90%, rgb(209 154 88 / 18%), transparent 44%);
}
.id-modern-service-hero .public-inner-hero-visual {
	position: absolute !important;
	top: -7rem !important;
	left: -7rem !important;
	z-index: 0;
	width: 22rem !important;
	height: 22rem !important;
	opacity: 0.22 !important;
	pointer-events: none;
}
.id-modern-service-hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(23rem, 0.92fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
}
.id-modern-service-hero__copy { min-width: 0; }
.id-modern-service-hero__copy .id-breadcrumb { margin-bottom: 1.15rem; }
.id-modern-service-kicker,
.id-modern-service-section-head > span,
.id-modern-service-section--decision article > span {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--modern-accent);
	font-size: 0.76rem;
	font-weight: 820;
}
.id-modern-service-kicker::before,
.id-modern-service-section-head > span::before {
	width: 1.6rem;
	height: 2px;
	border-radius: 99px;
	background: linear-gradient(90deg, var(--modern-accent), #d19a58);
	content: "";
}
.irandesigner-expansion-service .id-modern-service-hero h1 {
	max-width: 46rem;
	margin: 0.75rem 0 0;
	font-size: clamp(2rem, 4.2vw, 3.85rem);
	font-weight: 690;
	line-height: 1.28;
	text-wrap: balance;
}
.id-modern-service-hero__copy > p {
	max-width: 43rem;
	margin: 1rem 0 0;
	color: #68605b;
	font-size: clamp(0.92rem, 1.25vw, 1.04rem);
	line-height: 2.05;
}
.id-modern-service-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.25rem; }
.id-modern-service-hero .id-service-signals {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.5rem;
	margin-top: 1.25rem;
}
.id-modern-service-hero .id-service-signal {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 0.45rem;
	padding: 0.55rem 0.65rem;
	border: 1px solid rgb(var(--modern-accent-rgb) / 15%);
	border-radius: 0.85rem;
	background: rgb(255 255 255 / 64%);
	color: #5f5955;
	font-size: 0.69rem;
	font-weight: 680;
}
.id-modern-service-hero .id-service-signal__index {
	display: grid;
	width: 1.45rem;
	height: 1.45rem;
	flex: 0 0 auto;
	place-items: center;
	border-radius: 0.5rem;
	background: rgb(var(--modern-accent-rgb) / 11%);
	color: var(--modern-accent);
	font-size: 0.65rem;
}
.id-modern-service-hero__media {
	position: relative;
	margin: 0;
	overflow: hidden;
	border: 1px solid rgb(255 255 255 / 82%);
	border-radius: 1.6rem;
	background: #fffaf4;
	box-shadow: 0 24px 58px -38px rgb(45 39 51 / 44%);
}
.id-modern-service-hero__media img { display: block; width: 100%; aspect-ratio: 1280 / 818; object-fit: cover; }
.id-modern-service-hero__media figcaption {
	position: absolute;
	right: 0.85rem;
	bottom: 0.85rem;
	left: 0.85rem;
	display: grid;
	gap: 0.08rem;
	padding: 0.72rem 0.85rem;
	border: 1px solid rgb(255 255 255 / 78%);
	border-radius: 0.9rem;
	background: rgb(255 253 249 / 88%);
	box-shadow: 0 16px 38px -28px rgb(45 39 51 / 50%);
	backdrop-filter: blur(16px);
}
.id-modern-service-hero__media figcaption strong { color: var(--modern-accent); font-size: 0.78rem; }
.id-modern-service-hero__media figcaption span { color: #6c655f; font-size: 0.68rem; line-height: 1.7; }

.id-modern-service-shell > .section-padding {
	margin-top: 1.15rem;
	padding: clamp(1.35rem, 3.5vw, 3rem) !important;
	border-radius: 2rem;
}
.id-modern-service-priority {
	background:
		radial-gradient(circle at 14% 4%, rgb(var(--modern-accent-rgb) / 11%), transparent 25%),
		linear-gradient(180deg, #fff 0%, #eef2ff 52%, #fff 100%);
}
.id-modern-service-section-head { max-width: 52rem; }
.id-modern-service-section-head h2 {
	margin: 0.65rem 0 0;
	font-size: clamp(1.45rem, 3vw, 2.35rem);
	font-weight: 640;
	line-height: 1.55;
	text-wrap: balance;
}
.id-modern-service-section-head > p,
.id-modern-service-intro-copy p {
	color: #68615c;
	font-size: 0.91rem;
	line-height: 2.05;
}
.id-modern-service-section-head > p { margin: 0.65rem 0 0; }
.id-modern-service-intro-copy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.id-modern-service-intro-copy p { margin: 0; padding: 1rem 1.05rem; border-right: 2px solid rgb(var(--modern-accent-rgb) / 42%); background: rgb(255 255 255 / 46%); }
.id-modern-service-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin-top: 1.25rem; }
.id-modern-service-feature {
	min-width: 0;
	padding: 1.05rem;
	border: 1px solid rgb(var(--modern-accent-rgb) / 14%);
	border-radius: 1.15rem;
	background: rgb(255 255 255 / 72%);
	box-shadow: 0 18px 42px -36px rgb(var(--modern-accent-rgb) / 48%);
}
.id-modern-service-feature > span { display: grid; width: 2.3rem; height: 2.3rem; place-items: center; border-radius: 0.78rem; background: rgb(var(--modern-accent-rgb) / 10%); color: var(--modern-accent); }
.id-modern-service-feature .id-icon { width: 1.05rem; height: 1.05rem; }
.id-modern-service-feature h3 { margin: 0.7rem 0 0; font-size: 0.96rem; font-weight: 760; }
.id-modern-service-feature p { margin: 0.35rem 0 0; color: #6c655f; font-size: 0.78rem; line-height: 1.95; }

.id-modern-service-section { overflow: hidden; border: 1px solid rgb(218 210 200 / 70%); }
.id-modern-service-section--scope { background: linear-gradient(135deg, rgb(255 253 249 / 96%), rgb(246 250 249 / 88%)); }
.id-modern-service-list,
.id-modern-service-deliverables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.id-modern-service-list li,
.id-modern-service-deliverables li {
	display: flex;
	min-width: 0;
	align-items: flex-start;
	gap: 0.55rem;
	padding: 0.78rem 0.85rem;
	border: 1px solid rgb(var(--modern-accent-rgb) / 13%);
	border-radius: 0.9rem;
	background: rgb(255 255 255 / 70%);
	color: #5e5854;
	font-size: 0.79rem;
	font-weight: 650;
	line-height: 1.8;
}
.id-modern-service-list li::before,
.id-modern-service-list li::after,
.id-modern-service-deliverables li::before,
.id-modern-service-deliverables li::after { display: none !important; content: none !important; }
.id-modern-service-list .id-icon,
.id-modern-service-deliverables .id-icon { width: 1rem; height: 1rem; flex: 0 0 auto; margin-top: 0.25rem; color: var(--modern-accent); }

.id-modern-service-section--steps {
	background:
		radial-gradient(circle at 18% 10%, rgb(99 102 241 / 11%), transparent 28%),
		radial-gradient(circle at 82% 18%, rgb(6 182 212 / 11%), transparent 28%),
		linear-gradient(135deg, rgb(255 255 255 / 96%), rgb(241 243 255 / 88%) 50%, rgb(255 255 255 / 96%));
}
.id-modern-service-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.id-modern-service-steps li { display: grid; grid-template-columns: 2.65rem 1fr; gap: 0.75rem; padding: 1rem; border: 1px solid rgb(96 104 151 / 14%); border-radius: 1.1rem; background: rgb(255 255 255 / 72%); }
.id-modern-service-steps li::before,
.id-modern-service-steps li::after { display: none !important; content: none !important; }
.id-modern-service-steps > li > span { display: grid; width: 2.45rem; height: 2.45rem; place-items: center; border-radius: 0.78rem; background: rgb(var(--modern-accent-rgb) / 11%); color: var(--modern-accent); font-size: 0.7rem; font-weight: 820; }
.id-modern-service-steps h3 { margin: 0; font-size: 0.94rem; font-weight: 760; }
.id-modern-service-steps p { margin: 0.3rem 0 0; color: #6b645f; font-size: 0.78rem; line-height: 1.9; }

.id-modern-service-section--evidence { background: linear-gradient(140deg, rgb(255 253 249 / 98%), rgb(var(--modern-accent-rgb) / 7%) 58%, rgb(255 255 255 / 96%)); }
.id-modern-service-evidence-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.7rem; margin-top: 1.25rem; }
.id-modern-service-evidence-grid article { min-width: 0; padding: 1rem; border: 1px solid rgb(var(--modern-accent-rgb) / 15%); border-radius: 1.1rem; background: rgb(255 255 255 / 76%); box-shadow: 0 18px 40px -36px rgb(var(--modern-accent-rgb) / 60%); }
.id-modern-service-evidence-grid article > span { display: grid; width: 2.35rem; height: 2.35rem; place-items: center; border-radius: 0.78rem; background: rgb(var(--modern-accent-rgb) / 10%); color: var(--modern-accent); font-size: 0.7rem; font-weight: 820; }
.id-modern-service-evidence-grid h3 { margin: 0.75rem 0 0; font-size: 0.94rem; font-weight: 780; line-height: 1.7; }
.id-modern-service-evidence-grid p { margin: 0.38rem 0 0; color: #6b645f; font-size: 0.77rem; line-height: 1.95; }

.id-modern-service-section--decision { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr); gap: 1rem; background: linear-gradient(135deg, rgb(var(--modern-accent-rgb) / 10%), rgb(255 255 255 / 96%) 62%); }
.id-modern-service-section--decision article,
.id-modern-service-section--decision aside { min-width: 0; padding: clamp(1rem, 2.5vw, 1.5rem); border-radius: 1.2rem; }
.id-modern-service-section--decision article { border: 1px solid rgb(var(--modern-accent-rgb) / 15%); background: rgb(255 255 255 / 72%); }
.id-modern-service-section--decision article h2 { margin: 0.55rem 0 0; font-size: clamp(1.25rem, 2.3vw, 1.8rem); line-height: 1.55; }
.id-modern-service-section--decision article p,
.id-modern-service-section--decision aside p { margin: 0.55rem 0 0; color: #6a635e; font-size: 0.82rem; line-height: 2; }
.id-modern-service-section--decision aside { display: flex; align-items: flex-start; gap: 0.75rem; border: 1px solid rgb(193 132 104 / 20%); background: rgb(255 248 242 / 86%); }
.id-modern-service-section--decision aside > span { display: grid; width: 2.3rem; height: 2.3rem; flex: 0 0 auto; place-items: center; border-radius: 0.78rem; background: rgb(193 132 104 / 11%); color: #9a624c; }
.id-modern-service-section--decision aside strong { font-size: 0.94rem; }

.id-modern-service-section--deliverables { display: grid; grid-template-columns: minmax(18rem, 0.82fr) minmax(0, 1.18fr); gap: clamp(1.25rem, 4vw, 3rem); align-items: start; background: linear-gradient(135deg, rgb(139 92 246 / 10%), rgb(6 182 212 / 9%) 56%, rgb(255 255 255 / 96%)); }
.id-modern-service-deliverables { grid-template-columns: 1fr; margin-top: 0; }
.id-modern-service-section--faq { background: linear-gradient(180deg, #fff, rgb(var(--modern-accent-rgb) / 6%) 52%, #fff); }
.id-modern-service-faq { display: grid; gap: 0.55rem; margin-top: 1.2rem; }
.id-modern-service-faq details { border: 1px solid rgb(var(--modern-accent-rgb) / 14%); border-radius: 1rem; background: rgb(255 255 255 / 74%); }
.id-modern-service-faq summary { display: flex; cursor: pointer; align-items: center; justify-content: space-between; gap: 0.8rem; padding: 0.9rem 1rem; font-size: 0.88rem; font-weight: 740; list-style: none; }
.id-modern-service-faq summary::-webkit-details-marker { display: none; }
.id-modern-service-faq summary span { display: grid; width: 1.65rem; height: 1.65rem; flex: 0 0 auto; place-items: center; border-radius: 50%; background: rgb(var(--modern-accent-rgb) / 10%); color: var(--modern-accent); }
.id-modern-service-faq details[open] summary span { transform: rotate(45deg); }
.id-modern-service-faq details p { margin: 0; padding: 0 1rem 1rem; color: #68615c; font-size: 0.82rem; line-height: 2; }
.id-modern-service-section--related { background: linear-gradient(135deg, rgb(var(--modern-accent-rgb) / 6%), rgb(255 255 255 / 98%) 62%); }
.id-modern-service-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0.65rem; margin-top: 1.2rem; }
.id-modern-service-related a { position: relative; display: grid; min-width: 0; gap: 0.3rem; padding: 0.95rem 1rem 1rem 3.1rem; border: 1px solid rgb(var(--modern-accent-rgb) / 15%); border-radius: 1rem; background: rgb(255 255 255 / 76%); color: inherit; text-decoration: none; transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.id-modern-service-related a:hover { transform: translateY(-2px); border-color: rgb(var(--modern-accent-rgb) / 32%); box-shadow: 0 20px 42px -34px rgb(var(--modern-accent-rgb) / 72%); }
.id-modern-service-related a:focus-visible { outline: 3px solid rgb(var(--modern-accent-rgb) / 22%); outline-offset: 3px; }
.id-modern-service-related strong { font-size: 0.9rem; font-weight: 780; }
.id-modern-service-related small { color: #6a635e; font-size: 0.72rem; line-height: 1.85; }
.id-modern-service-related a > span { position: absolute; left: 1rem; top: 50%; display: grid; width: 1.65rem; height: 1.65rem; translate: 0 -50%; place-items: center; border-radius: 50%; background: rgb(var(--modern-accent-rgb) / 10%); color: var(--modern-accent); font-size: 0.82rem; }
.id-modern-service-final { margin-top: 1.15rem; }

@media (max-width: 900px) {
	.id-modern-service-hero__grid { grid-template-columns: 1fr; }
	.id-modern-service-hero__media { width: min(100%, 40rem); margin-inline: auto; }
	.id-modern-service-evidence-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.id-modern-service-section--deliverables,
	.id-modern-service-section--decision { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.id-modern-service-shell { width: min(calc(100% - 1.25rem), 80rem); }
	.irandesigner-expansion-service .id-modern-service-hero { border-radius: 1.45rem; padding: 1rem; }
	.id-modern-service-hero .public-inner-hero-visual { top: -5rem !important; left: -6rem !important; width: 15rem !important; height: 15rem !important; }
	.irandesigner-expansion-service .id-modern-service-hero h1 { font-size: clamp(1.75rem, 9vw, 2.35rem); }
	.id-modern-service-actions > * { flex: 1 1 0; min-width: 0; padding-inline: 0.8rem; font-size: 0.76rem; white-space: nowrap; }
	.id-modern-service-hero .id-service-signals,
	.id-modern-service-intro-copy,
	.id-modern-service-feature-grid,
	.id-modern-service-list,
	.id-modern-service-deliverables,
	.id-modern-service-steps,
	.id-modern-service-evidence-grid { grid-template-columns: 1fr; }
	.id-modern-service-shell > .section-padding { margin-top: 0.85rem; border-radius: 1.45rem; padding: 1.05rem !important; }
	.id-modern-service-section-head h2 { font-size: 1.35rem; }
	.id-modern-service-intro-copy p { padding: 0.8rem; }
	.id-modern-service-hero__media { border-radius: 1.15rem; }
	.id-modern-service-hero__media figcaption { right: 0.55rem; bottom: 0.55rem; left: 0.55rem; }
	.id-modern-service-final { border-radius: 1.45rem; }
}

/* Services archive: decision-led hub instead of an undifferentiated card wall. */
.id-services-hub { position: relative; overflow: hidden; padding: clamp(8.5rem, 11vw, 10.5rem) 0 clamp(4rem, 7vw, 7rem); }
.id-services-hub__pattern,
.id-services-hub__mesh { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.id-services-hub__mesh { inset: 0 0 auto; z-index: -1; height: 38rem; opacity: 0.42; }
.id-services-hub__shell { width: min(calc(100% - 3rem), 80rem); margin-inline: auto; }
.id-services-hub__hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
	overflow: hidden;
	padding: clamp(1.4rem, 4vw, 3.25rem);
	border: 1px solid rgb(221 209 188 / 78%);
	border-radius: 2rem;
	background: linear-gradient(135deg, rgb(255 252 248 / 96%), rgb(248 239 226 / 86%) 55%, rgb(255 255 255 / 92%));
	box-shadow: 0 24px 72px -48px rgb(45 39 51 / 34%);
}
.id-services-hub__hero-wash { position: absolute; inset: 0; background: radial-gradient(circle at 82% 18%, rgb(39 103 200 / 15%), transparent 38%), radial-gradient(circle at 12% 88%, rgb(209 154 88 / 19%), transparent 44%); }
.id-services-hub__hero .public-inner-hero-visual { position: absolute !important; top: -7rem !important; left: -7rem !important; width: 22rem !important; height: 22rem !important; opacity: 0.22 !important; pointer-events: none; }
.id-services-hub__hero-copy,
.id-services-hub__quick { position: relative; z-index: 1; min-width: 0; }
.id-services-hub__hero-copy .id-breadcrumb { margin-bottom: 1.1rem; }
.id-services-hub__kicker,
.id-services-hub__decision > div > span,
.id-services-hub__flow header > span,
.id-services-hub__faq > div:first-child > span { color: #4b8588; font-size: 0.76rem; font-weight: 820; }
.id-services-hub__hero h1 { max-width: 50rem; margin: 0.7rem 0 0; font-size: clamp(2.05rem, 4.35vw, 3.9rem); font-weight: 690; line-height: 1.28; text-wrap: balance; }
.id-services-hub__hero-copy > p { max-width: 45rem; margin: 1rem 0 0; color: #67605b; font-size: clamp(0.94rem, 1.3vw, 1.06rem); line-height: 2.05; }
.id-services-hub__hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.25rem; }
.id-services-hub__quick { display: grid; gap: 0.55rem; padding: 1rem; border: 1px solid rgb(86 116 157 / 15%); border-radius: 1.35rem; background: rgb(255 255 255 / 64%); box-shadow: 0 22px 52px -40px rgb(45 39 51 / 48%); backdrop-filter: blur(16px); }
.id-services-hub__quick > span { padding: 0.2rem 0.25rem 0.45rem; color: #6d655f; font-size: 0.72rem; font-weight: 760; }
.id-services-hub__quick a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.12rem 0.7rem; align-items: center; padding: 0.72rem 0.8rem; border: 1px solid rgb(82 113 157 / 12%); border-radius: 0.9rem; background: rgb(255 255 255 / 70%); }
.id-services-hub__quick a:hover { border-color: rgb(75 133 136 / 28%); background: #fff; transform: translateX(-2px); }
.id-services-hub__quick strong { font-size: 0.82rem; }
.id-services-hub__quick small { grid-column: 1; color: #746d67; font-size: 0.67rem; }
.id-services-hub__quick i { grid-column: 2; grid-row: 1 / 3; display: grid; width: 2rem; height: 2rem; place-items: center; border-radius: 0.7rem; background: rgb(75 133 136 / 9%); color: #4b8588; font-size: 0.66rem; font-style: normal; font-weight: 820; }

.id-services-hub__decision { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.25rem, 4vw, 3rem); align-items: center; margin-top: 1.15rem; padding: clamp(1.3rem, 3.5vw, 2.6rem); border-radius: 1.7rem; background: linear-gradient(135deg, rgb(241 246 255 / 92%), rgb(246 252 250 / 92%)); }
.id-services-hub__decision h2,
.id-services-hub__flow h2,
.id-services-hub__faq h2 { margin: 0.55rem 0 0; font-size: clamp(1.4rem, 2.8vw, 2.25rem); font-weight: 640; line-height: 1.55; }
.id-services-hub__decision > div > p,
.id-services-hub__flow header > p { margin: 0.55rem 0 0; color: #6b645f; font-size: 0.84rem; line-height: 2; }
.id-services-hub__decision ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.65rem; margin: 0; padding: 0; list-style: none; }
.id-services-hub__decision li { display: grid; gap: 0.3rem; padding: 0.9rem; border: 1px solid rgb(84 118 184 / 13%); border-radius: 1rem; background: rgb(255 255 255 / 72%); }
.id-services-hub__decision li::before,
.id-services-hub__decision li::after { display: none !important; content: none !important; }
.id-services-hub__decision li > span { color: #5476b8; font-size: 0.68rem; font-weight: 820; }
.id-services-hub__decision li strong { font-size: 0.82rem; }
.id-services-hub__decision li small { color: #746d67; font-size: 0.68rem; line-height: 1.8; }

.id-services-hub__group { margin-top: 1.15rem; padding: clamp(1.35rem, 4vw, 3rem); border: 1px solid rgb(218 210 200 / 70%); border-radius: 2rem; scroll-margin-top: 8rem; }
.id-services-hub__group--1 { --hub-accent: #4d7896; --hub-accent-rgb: 77 120 150; background: linear-gradient(135deg, #fff, #f0f7fb 58%, #fff); }
.id-services-hub__group--2 { --hub-accent: #8b62a7; --hub-accent-rgb: 139 98 167; background: linear-gradient(135deg, #fff, #f5f0fb 54%, #eefaf8); }
.id-services-hub__group--3 { --hub-accent: #4c8b7e; --hub-accent-rgb: 76 139 126; background: linear-gradient(135deg, #fff, #eef9f6 54%, #f7f1fb); }
.id-services-hub__group-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; max-width: 64rem; }
.id-services-hub__group-head > span { display: grid; width: 2.7rem; height: 2.7rem; place-items: center; border-radius: 0.9rem; background: rgb(var(--hub-accent-rgb) / 10%); color: var(--hub-accent); font-size: 0.72rem; font-weight: 820; }
.id-services-hub__group-head small { color: var(--hub-accent); font-size: 0.73rem; font-weight: 820; }
.id-services-hub__group-head h2 { margin: 0.45rem 0 0; font-size: clamp(1.45rem, 3vw, 2.35rem); font-weight: 640; line-height: 1.5; text-wrap: balance; }
.id-services-hub__group-head p { max-width: 58rem; margin: 0.65rem 0 0; color: #69625d; font-size: 0.87rem; line-height: 2; }
.id-services-hub__featured { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; margin-top: 1.3rem; }
.id-services-hub__featured.has-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.id-services-hub__featured.has-three .is-primary { grid-row: span 2; }
.id-services-hub__featured-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.85rem; padding: 1.05rem; border: 1px solid rgb(var(--hub-accent-rgb) / 15%); border-radius: 1.25rem; background: rgb(255 255 255 / 76%); box-shadow: 0 20px 48px -40px rgb(var(--hub-accent-rgb) / 55%); color: inherit; text-decoration: none; transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.id-services-hub__featured-card:hover { transform: translateY(-2px); border-color: rgb(var(--hub-accent-rgb) / 30%); box-shadow: 0 26px 58px -40px rgb(var(--hub-accent-rgb) / 64%); }
.id-services-hub__featured-card:focus-visible { outline: 3px solid rgb(var(--hub-accent-rgb) / 24%); outline-offset: 3px; }
.id-services-hub__featured-card.is-primary { background: linear-gradient(145deg, rgb(255 255 255 / 90%), rgb(var(--hub-accent-rgb) / 7%)); }
.id-services-hub__featured-card.has-visual { align-content: start; }
.id-services-hub__featured-media { grid-column: 1 / -1; display: block; overflow: hidden; margin: -0.35rem -0.35rem 0.1rem; border: 1px solid rgb(var(--hub-accent-rgb) / 12%); border-radius: 0.95rem; background: #f7f1e8; }
.id-services-hub__featured-media img { display: block; width: 100%; height: 7.9rem; object-fit: cover; object-position: center; transition: transform 420ms ease; }
.id-services-hub__featured-card:hover .id-services-hub__featured-media img { transform: scale(1.025); }
.id-services-hub__featured-icon { display: grid; width: 2.55rem; height: 2.55rem; place-items: center; border-radius: 0.85rem; background: rgb(var(--hub-accent-rgb) / 10%); color: var(--hub-accent); }
.id-services-hub__featured-icon .id-icon { width: 1.15rem; height: 1.15rem; }
.id-services-hub__featured-card h3 { margin: 0; font-size: 1.02rem; font-weight: 780; }
.id-services-hub__featured-card p { margin: 0.35rem 0 0; color: #6a635e; font-size: 0.78rem; line-height: 1.95; }
.id-services-hub__featured-card ul { display: flex; flex-wrap: wrap; gap: 0.35rem 0.65rem; margin: 0.7rem 0 0; padding: 0; list-style: none; }
.id-services-hub__featured-card li { display: flex; align-items: center; gap: 0.28rem; color: #655e59; font-size: 0.68rem; font-weight: 680; }
.id-services-hub__featured-card li::before,
.id-services-hub__featured-card li::after { display: none !important; content: none !important; }
.id-services-hub__featured-card li .id-icon { width: 0.78rem; height: 0.78rem; color: var(--hub-accent); }

/* Focused services nested in the mega menu reuse the same visual grammar as
   the SEO Strategy landing page: editorial whitespace, linear evidence and a
   restrained roadmap instead of the broader mother-service card system. */
.id-specialist-service--expansion-child { --id-special-accent: #2f7882; background: radial-gradient(circle at 84% 7%, rgb(65 151 165 / 12%), transparent 30%), #fbfaf7; }
.id-specialist-service--expansion-child .id-expansion-child-hero-media img { object-position: center; }
.id-expansion-child-scope,
.id-expansion-child-deliverables,
.id-expansion-child-faq { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.id-expansion-child-scope > div > span,
.id-expansion-child-deliverables > div > span,
.id-expansion-child-faq > div > span,
.id-expansion-child-context :is(article, aside) > span { color: var(--id-special-accent); font-size: 0.75rem; font-weight: 500; }
.id-expansion-child-scope > div p,
.id-expansion-child-deliverables > div p { margin-top: 1rem; }
.id-expansion-child-scope ul,
.id-expansion-child-deliverables ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; border-top: 1px solid rgb(47 120 130 / 18%); list-style: none; }
.id-expansion-child-scope li,
.id-expansion-child-deliverables li { display: flex; min-height: 4.4rem; align-items: center; gap: 0.75rem; border-bottom: 1px solid rgb(47 120 130 / 16%); padding: 0.8rem 0.35rem; color: #2d2733; font-size: 0.82rem; line-height: 1.8; }
.id-expansion-child-scope li:nth-child(odd),
.id-expansion-child-deliverables li:nth-child(odd) { padding-inline-end: 0.8rem; }
.id-expansion-child-scope li:nth-child(even),
.id-expansion-child-deliverables li:nth-child(even) { padding-inline-start: 0.8rem; }
.id-expansion-child-scope li > span { display: grid; width: 1.45rem; height: 1.45rem; flex: 0 0 auto; place-items: center; border: 1px solid rgb(47 120 130 / 24%); border-radius: 50%; color: var(--id-special-accent); font-size: 0.68rem; }
.id-expansion-child-scope li strong { font-weight: 470; }
.id-expansion-child-context { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(18rem, 0.82fr); gap: clamp(1.3rem, 4vw, 3.5rem); }
.id-expansion-child-context :is(article, aside) { border-top: 2px solid rgb(47 120 130 / 36%); padding: 1.35rem 0.35rem 0; }
.id-expansion-child-context h2 { margin-top: 0.45rem; }
.id-expansion-child-context h3 { margin-top: 0.55rem; font-size: 1.02rem !important; }
.id-expansion-child-context p { margin-top: 0.75rem; }
.id-expansion-child-context aside { border-top-color: rgb(166 84 66 / 28%); }
.id-expansion-child-context aside > span { color: #a65442; }
.id-expansion-child-faq > div:last-child { border-top: 1px solid rgb(47 120 130 / 18%); }
.id-expansion-child-faq details { border-bottom: 1px solid rgb(47 120 130 / 16%); }
.id-expansion-child-faq summary { display: flex; min-height: 4.2rem; cursor: pointer; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; color: #2d2733; font-size: 0.9rem; font-weight: 500; list-style: none; }
.id-expansion-child-faq summary::-webkit-details-marker { display: none; }
.id-expansion-child-faq summary i { color: var(--id-special-accent); font-size: 1.1rem; font-style: normal; transition: transform 180ms ease; }
.id-expansion-child-faq details[open] summary i { transform: rotate(45deg); }
.id-expansion-child-faq details p { padding: 0 0 1rem; font-size: 0.82rem; }

@media (max-width: 900px) {
	.id-expansion-child-scope,
	.id-expansion-child-deliverables,
	.id-expansion-child-faq,
	.id-expansion-child-context { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
	.id-expansion-child-scope ul,
	.id-expansion-child-deliverables ul { grid-template-columns: 1fr; }
	.id-expansion-child-scope li,
	.id-expansion-child-deliverables li { padding-inline: 0.2rem !important; }
}

/* SEO consulting: balance the opening composition and turn the page into a
   decision aid instead of a short promotional landing. */
.id-specialist-service--consulting .id-consulting-hero__body { grid-template-columns: minmax(0, 0.95fr) minmax(22rem, 1.05fr); align-items: center; padding-top: clamp(2rem, 4vw, 3.8rem); }
.id-specialist-service--consulting .id-consulting-hero__side .id-specialist-hero-media img { height: clamp(18rem, 28vw, 25rem); }
.id-specialist-service--consulting .id-consulting-question-stack { display: grid; grid-template-columns: minmax(12rem, 0.72fr) repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(1.6rem, 3vw, 2.6rem); padding: 0; border-block: 1px solid rgb(166 84 66 / 16%); border-inline-start: 0; }
.id-specialist-service--consulting .id-consulting-question-stack > div,
.id-specialist-service--consulting .id-consulting-question-stack > p { display: grid; align-content: center; min-height: 6.4rem; margin: 0; padding: 0.9rem 1rem; }
.id-specialist-service--consulting .id-consulting-question-stack > div { gap: 0.35rem; }
.id-specialist-service--consulting .id-consulting-question-stack > div span { color: #a65442; font-size: 0.72rem; font-weight: 500; }
.id-specialist-service--consulting .id-consulting-question-stack > div small { color: rgb(45 39 51 / 52%); font-size: 0.67rem; line-height: 1.7; }
.id-specialist-service--consulting .id-consulting-question-stack > p { border-bottom: 0; border-inline-start: 1px solid rgb(166 84 66 / 13%); color: #2d2733; font-size: 0.78rem; line-height: 1.8; }
.id-consulting-evidence > header { max-width: 58rem; }
.id-consulting-evidence > header > span,
.id-consulting-decision > div > span,
.id-consulting-faq > div > span { color: #a65442; font-size: 0.75rem; font-weight: 500; }
.id-consulting-evidence > header p { margin-top: 0.75rem; }
.id-consulting-evidence > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.9rem; margin-top: 2rem; }
.id-consulting-evidence article { min-height: 15rem; border-top: 2px solid rgb(166 84 66 / 30%); padding: 1.15rem 0.3rem; }
.id-consulting-evidence article > span { color: rgb(166 84 66 / 42%); font-size: 1.7rem; font-weight: 430; }
.id-consulting-evidence article h3 { margin-top: 2.2rem; }
.id-consulting-evidence article p { margin-top: 0.65rem; font-size: 0.8rem; }
.id-consulting-decision { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.id-consulting-decision > div p { margin-top: 0.85rem; }
.id-consulting-decision ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; border-top: 1px solid rgb(166 84 66 / 16%); list-style: none; }
.id-consulting-decision li { display: grid; min-height: 8.3rem; align-content: center; gap: 0.22rem; border-bottom: 1px solid rgb(166 84 66 / 16%); padding: 1rem; }
.id-consulting-decision li:nth-child(odd) { border-inline-end: 1px solid rgb(166 84 66 / 16%); }
.id-consulting-decision li > span { color: rgb(166 84 66 / 48%); font-size: 0.7rem; }
.id-consulting-decision li strong { font-size: 0.9rem; font-weight: 520; }
.id-consulting-decision li small { color: rgb(45 39 51 / 58%); font-size: 0.69rem; line-height: 1.65; }
.id-consulting-faq { display: grid; grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.id-consulting-faq > div:last-child { border-top: 1px solid rgb(166 84 66 / 16%); }
.id-consulting-faq details { border-bottom: 1px solid rgb(166 84 66 / 16%); }
.id-consulting-faq summary { display: flex; min-height: 4.3rem; cursor: pointer; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; color: #2d2733; font-size: 0.88rem; font-weight: 500; list-style: none; }
.id-consulting-faq summary::-webkit-details-marker { display: none; }
.id-consulting-faq summary i { color: #a65442; font-size: 1.1rem; font-style: normal; transition: transform 180ms ease; }
.id-consulting-faq details[open] summary i { transform: rotate(45deg); }
.id-consulting-faq details p { padding-bottom: 1rem; font-size: 0.8rem; }

/* The start-project list contains nine services. Let the final odd option fill
   the remaining desktop row instead of leaving a visually empty half. */
@media (min-width: 768px) {
	.id-project-service-section > div:last-child > [data-set-field="serviceType"]:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
	.id-specialist-service--consulting .id-consulting-question-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.id-specialist-service--consulting .id-consulting-question-stack > div { grid-column: 1 / -1; min-height: 0; }
	.id-specialist-service--consulting .id-consulting-question-stack > p { border-top: 1px solid rgb(166 84 66 / 13%); border-inline-start: 0; }
	.id-consulting-evidence > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.id-consulting-decision,
	.id-consulting-faq { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
	.id-specialist-service--consulting .id-consulting-question-stack,
	.id-consulting-evidence > div,
	.id-consulting-decision ol { grid-template-columns: 1fr; }
	.id-specialist-service--consulting .id-consulting-question-stack > div { grid-column: auto; }
	.id-consulting-evidence article { min-height: 0; }
	.id-consulting-decision li:nth-child(odd) { border-inline-end: 0; }
}
.id-services-hub__children { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem; margin-top: 0.8rem; }
.id-services-hub__children a { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.72rem 0.8rem; border: 1px solid rgb(var(--hub-accent-rgb) / 12%); border-radius: 0.9rem; background: rgb(255 255 255 / 58%); }
.id-services-hub__children a:hover { background: #fff; transform: translateY(-1px); }
.id-services-hub__children a > span { display: grid; min-width: 0; gap: 0.12rem; }
.id-services-hub__children strong { font-size: 0.78rem; }
.id-services-hub__children small { color: #756e68; font-size: 0.66rem; }
.id-services-hub__children i { color: var(--hub-accent); font-style: normal; }

.id-services-hub__flow { margin-top: 1.15rem; padding: clamp(1.35rem, 4vw, 3rem); border-radius: 2rem; background: linear-gradient(135deg, rgb(84 118 184 / 11%), rgb(76 139 126 / 10%) 55%, rgb(255 255 255 / 96%)); }
.id-services-hub__flow header { max-width: 48rem; }
.id-services-hub__flow ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 1.35rem 0 0; padding: 0; list-style: none; }
.id-services-hub__flow li { position: relative; display: grid; gap: 0.28rem; padding: 1rem; border-top: 2px solid rgb(84 118 184 / 22%); }
.id-services-hub__flow li::before { position: absolute; top: -0.42rem; right: 1rem; width: 0.72rem; height: 0.72rem; border: 3px solid #f5f8fb; border-radius: 50%; background: #5476b8; content: ""; }
.id-services-hub__flow li::after { display: none !important; content: none !important; }
.id-services-hub__flow li > span { color: #5476b8; font-size: 0.68rem; font-weight: 820; }
.id-services-hub__flow li strong { font-size: 0.82rem; }
.id-services-hub__flow li small { color: #716a64; font-size: 0.68rem; line-height: 1.8; }
.id-services-hub__faq { display: grid; grid-template-columns: minmax(15rem, 0.65fr) minmax(0, 1.35fr); gap: 1.25rem; margin-top: 1.15rem; padding: clamp(1.35rem, 4vw, 3rem); border: 1px solid rgb(218 210 200 / 70%); border-radius: 2rem; background: rgb(255 253 249 / 86%); }
.id-services-hub__faq > div:last-child { display: grid; gap: 0.5rem; }
.id-services-hub__faq details { border: 1px solid rgb(84 118 184 / 13%); border-radius: 1rem; background: rgb(255 255 255 / 74%); }
.id-services-hub__faq summary { display: flex; cursor: pointer; align-items: center; justify-content: space-between; gap: 0.8rem; padding: 0.85rem 0.95rem; font-size: 0.82rem; font-weight: 740; list-style: none; }
.id-services-hub__faq summary::-webkit-details-marker { display: none; }
.id-services-hub__faq summary i { display: grid; width: 1.55rem; height: 1.55rem; place-items: center; border-radius: 50%; background: rgb(84 118 184 / 9%); color: #5476b8; font-style: normal; }
.id-services-hub__faq details[open] summary i { transform: rotate(45deg); }
.id-services-hub__faq details p { margin: 0; padding: 0 0.95rem 0.95rem; color: #6a635e; font-size: 0.78rem; line-height: 2; }
.id-services-hub__final { margin-top: 1.15rem; }
.id-services-hub__actions { display: flex; flex-wrap: wrap; column-gap: 0.9rem !important; row-gap: 0.75rem !important; }
.id-services-hub__actions > .id-button { margin: 0 !important; }

@media (max-width: 900px) {
	.id-services-hub__hero,
	.id-services-hub__decision,
	.id-services-hub__faq { grid-template-columns: 1fr; }
	.id-services-hub__featured.has-three .is-primary { grid-row: auto; }
	.id-services-hub__flow ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
	.id-services-hub { padding-top: 7.25rem; }
	.id-services-hub__shell { width: min(calc(100% - 1.25rem), 80rem); }
	.id-services-hub__hero { border-radius: 1.45rem; padding: 1rem; }
	.id-services-hub__hero .public-inner-hero-visual { top: -5rem !important; left: -6rem !important; width: 15rem !important; height: 15rem !important; }
	.id-services-hub__hero h1 { font-size: clamp(1.8rem, 9vw, 2.4rem); }
	.id-services-hub__hero-actions > * { flex: 1 1 0; min-width: 0; padding-inline: 0.8rem; font-size: 0.76rem; white-space: nowrap; }
	.id-services-hub__decision,
	.id-services-hub__group,
	.id-services-hub__flow,
	.id-services-hub__faq { margin-top: 0.85rem; border-radius: 1.45rem; padding: 1.05rem; }
	.id-services-hub__decision ol,
	.id-services-hub__featured,
	.id-services-hub__featured.has-three,
	.id-services-hub__children,
	.id-services-hub__flow ol { grid-template-columns: 1fr; }
	.id-services-hub__group-head { gap: 0.65rem; }
	.id-services-hub__group-head h2 { font-size: 1.35rem; }
	.id-services-hub__flow li { border-top: 0; border-right: 2px solid rgb(84 118 184 / 20%); }
	.id-services-hub__flow li::before { top: 1.05rem; right: -0.45rem; }
	.id-services-hub__final { border-radius: 1.45rem; }
}

/* Comfortable field insets and placeholder behaviour are shared by all
 * public forms, including fields created by the start-project enhancement. */
.id-project-brief-form .id-project-field > :is(input, textarea, select) {
	width: 100%;
	min-height: 3.35rem;
	padding: 0.9rem 1.1rem !important;
}
.id-project-brief-form .id-project-field > textarea { padding: 1rem 1.1rem !important; }
form[data-public-form] :is(input, textarea)::placeholder { transition: opacity 150ms ease, color 150ms ease; }
form[data-public-form] :is(input, textarea):focus::placeholder { color: transparent !important; opacity: 0 !important; }
