/**
 * S/4HANA Readiness Assessment Services -- page-scoped stylesheet.
 *
 * Loaded only by page-templates/template-s4hana-readiness-assessment-services.php (via a
 * <link> that template prints itself), so nothing here is shared with the
 * home page (assets/css/home.css) or the existing single-service layout.
 *
 * Every rule is namespaced under .page-template-s4hana-readiness-assessment or a
 * .s4r-* class. Sections that read as black in the Figma comps are
 * transparent frames -- only .s4r-section--dark is genuinely dark navy.
 *
 * @package sap-migration-theme
 */

/* ==========================================================================
   Tokens + page shell
   ========================================================================== */

.page-template-s4hana-readiness-assessment {
	--s4r-navy: #004195;
	--s4r-navy-deep: #0b1733;
	--s4r-cyan: #01aef0;
	--s4r-ink: #0f172a;
	--s4r-body: #475569;
	--s4r-muted: #64748b;
	--s4r-line: #e6ecf5;
	--s4r-tint: #eef6ff;
	--s4r-card-bg: #ffffff;
	--s4r-pad-x: var(--header-padding-x, 80px);
	--s4r-pad-x-tablet: var(--header-padding-x-tablet, 24px);
	--s4r-pad-x-mobile: var(--header-padding-x-mobile, 16px);
	--s4r-max: var(--header-max-width, 1280px);
	--s4r-radius: 20px;

	background-color: #f8fafc;
	font-family: 'Geist', sans-serif;
	color: var(--s4r-body);
	overflow-x: hidden;
}

.page-template-s4hana-readiness-assessment section {
	position: relative;
	padding: 96px var(--s4r-pad-x);
}

.page-template-s4hana-readiness-assessment section > [class$="__inner"] {
	max-width: var(--s4r-max);
	margin-inline: auto;
}

/* Zero-specificity reset (:where) so per-section margins/paddings below
   are never out-specified by these element selectors. */
.page-template-s4hana-readiness-assessment :where(h1, h2, h3, p, ul, ol, li, figure) {
	margin: 0;
	padding: 0;
}

.page-template-s4hana-readiness-assessment :where(ul, ol) {
	list-style: none;
}

.page-template-s4hana-readiness-assessment :where(img) {
	display: block;
	max-width: 100%;
	height: auto;
}

@media (max-width: 1024px) {
	.page-template-s4hana-readiness-assessment section {
		padding: 64px var(--s4r-pad-x-tablet);
	}
}

@media (max-width: 640px) {
	.page-template-s4hana-readiness-assessment section {
		padding: 48px var(--s4r-pad-x-mobile);
	}
}

/* ==========================================================================
   Section headers

   Every section's heading + subheading has its own dedicated rules below,
   so any one section can be retuned (size, colour, spacing, alignment)
   without touching the others. They start from the same baseline values.
   ========================================================================== */

/* Shared responsive rule: every section heading (not the hero) drops to
   30px on tablet and mobile alike; the subheading keeps its size. */

/* --- Overview: "SAP S/4HANA Migration Services for a Confident Transition" --- */
.s4r-overview__header {
	margin-bottom: 60px;
	text-align: center;
}

.s4r-overview__heading {
	font-family: 'Geist', sans-serif;
	font-weight: 700;
	font-size: 48px;
	line-height: 58px;
	letter-spacing: 0;
	color: #0f172a;
}

.s4r-overview__subheading {
	margin-top: 16px;
	font-family: 'Geist', sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 28px;
	letter-spacing: 0;
	color: #64748b;
}

@media (max-width: 1024px) {
	.s4r-overview__header {
		margin-bottom: 44px;
	}

	.s4r-overview__heading {
		font-size: 30px;
		line-height: 1.25;
	}
}

@media (max-width: 640px) {
	.s4r-overview__subheading {
		font-size: 16px;
	}
}

/* --- Assessment: "End-to-End SAP S/4HANA Readiness Assessment Services" --- */
.s4r-assessment__header {
	margin-bottom: 60px;
	text-align: center;
}

.s4r-assessment__heading {
	font-family: 'Geist', sans-serif;
	font-weight: 700;
	font-size: 48px;
	line-height: 58px;
	letter-spacing: 0;
	color: #0f172a;
}

.s4r-assessment__subheading {
	margin-top: 16px;
	font-family: 'Geist', sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 28px;
	letter-spacing: 0;
	color: #64748b;
}

@media (max-width: 1024px) {
	.s4r-assessment__header {
		margin-bottom: 44px;
	}

	.s4r-assessment__heading {
		font-size: 30px;
		line-height: 1.25;
	}
}

@media (max-width: 640px) {
	.s4r-assessment__subheading {
		font-size: 16px;
	}
}

/* --- Approach (dark): "Choose the Right SAP S/4HANA Migration Approach" --- */
.s4r-approach__header {
	margin-bottom: 60px;
	text-align: center;
}

.s4r-approach__heading {
	font-family: 'Geist', sans-serif;
	font-weight: 700;
	font-size: 48px;
	line-height: 58px;
	letter-spacing: 0;
	color: #ffffff;
}

.s4r-approach__subheading {
	margin-top: 16px;
	font-family: 'Geist', sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 28px;
	letter-spacing: 0;
	color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 1024px) {
	.s4r-approach__header {
		margin-bottom: 44px;
	}

	.s4r-approach__heading {
		font-size: 30px;
		line-height: 1.25;
	}
}

@media (max-width: 640px) {
	.s4r-approach__subheading {
		font-size: 16px;
	}
}

/* --- Process: "Our Structured S/4HANA Cloud Migration Approach"
       (mirrors the home page's .home-framework header) --- */
.s4r-process__header {
	margin-bottom: 60px;
	text-align: center;
}

.s4r-process__heading {
	font-family: 'Geist', sans-serif;
	font-weight: 700;
	font-size: 48px;
	line-height: 58px;
	letter-spacing: 0;
	color: #0f172a;
}

.s4r-process__subheading {
	margin-top: 16px;
	font-family: 'Geist', sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 28px;
	letter-spacing: 0;
	color: #64748b;
}

@media (max-width: 1024px) {
	.s4r-process__header {
		margin-bottom: 44px;
	}

	.s4r-process__heading {
		font-size: 30px;
		line-height: 1.25;
	}
}

@media (max-width: 640px) {
	.s4r-process__subheading {
		font-size: 16px;
	}
}

/* --- Risk: "Reduce Risk Across Every Stage of Your Migration" --- */
.s4r-risk__header {
	margin-bottom: 60px;
	text-align: center;
}

.s4r-risk__heading {
	font-family: 'Geist', sans-serif;
	font-weight: 700;
	font-size: 48px;
	line-height: 58px;
	letter-spacing: 0;
	color: #0f172a;
}

.s4r-risk__subheading {
	margin-top: 16px;
	font-family: 'Geist', sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 28px;
	letter-spacing: 0;
	color: #64748b;
}

@media (max-width: 1024px) {
	.s4r-risk__header {
		margin-bottom: 44px;
	}

	.s4r-risk__heading {
		font-size: 30px;
		line-height: 1.25;
	}
}

@media (max-width: 640px) {
	.s4r-risk__subheading {
		font-size: 16px;
	}
}

/* --- Deployment: "SAP S/4HANA Migration for Cloud and On-Premise Environments" --- */
.s4r-deployment__header {
	margin-bottom: 100px;
	text-align: center;
}

.s4r-deployment__heading {
	font-family: 'Geist', sans-serif;
	font-weight: 700;
	font-size: 48px;
	line-height: 58px;
	letter-spacing: 0;
	color: #0f172a;
}

.s4r-deployment__subheading {
	margin-top: 16px;
	font-family: 'Geist', sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 28px;
	letter-spacing: 0;
	color: #64748b;
}

@media (max-width: 1024px) {
	.s4r-deployment__header {
		margin-bottom: 72px;
	}

	.s4r-deployment__heading {
		font-size: 30px;
		line-height: 1.25;
	}
}

@media (max-width: 640px) {
	.s4r-deployment__subheading {
		font-size: 16px;
	}
}

/* --- Why choose us (dark): "Why Choose Us as Your SAP S/4HANA Migration Company?" --- */
.s4r-why__header {
	margin-bottom: 60px;
	text-align: center;
}

.s4r-why__heading {
	font-family: 'Geist', sans-serif;
	font-weight: 700;
	font-size: 48px;
	line-height: 58px;
	letter-spacing: 0;
	color: #ffffff;
}

.s4r-why__subheading {
	margin-top: 16px;
	font-family: 'Geist', sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 28px;
	letter-spacing: 0;
	color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 1024px) {
	.s4r-why__header {
		margin-bottom: 44px;
	}

	.s4r-why__heading {
		font-size: 30px;
		line-height: 1.25;
	}
}

@media (max-width: 640px) {
	.s4r-why__subheading {
		font-size: 16px;
	}
}

/* --- FAQ: "Common Questions About SAP S/4HANA Migration"
       (mirrors the home page's .home-faq header) --- */
.s4r-faq__header {
	margin: 0 auto 48px;
	text-align: center;
}

.s4r-faq__heading {
	margin: 0 0 20px;
	font-family: 'Geist', sans-serif;
	font-weight: 700;
	font-size: 48px;
	line-height: 58px;
	letter-spacing: 0;
	color: #0f172a;
}

.s4r-faq__subheading {
	margin: 0;
	font-family: 'Geist', sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 28px;
	letter-spacing: 0;
	color: #64748b;
}

@media (max-width: 1024px) {
	.s4r-faq__heading {
		font-size: 30px;
		line-height: 1.25;
	}
}

@media (max-width: 640px) {
	.s4r-faq__header {
		margin-bottom: 32px;
	}

	.s4r-faq__subheading {
		font-size: 15px;
	}
}

/* Manual <br> only takes effect on desktop (mirrors home.css).
   Class corrected to what WordPress actually renders for this template
   (confirmed directly against the live <body> class): the real file is
   page-templates/template-s4hana-readiness-assessment-services.php,
   which body_class() turns into
   "page-template-template-s4hana-readiness-assessment-services" -- the
   old selector below didn't match either the real filename OR the
   usual double-"template-" pattern, so manual breaks were silently
   never hidden on tablet/mobile here. */
.page-template-template-s4hana-readiness-assessment-services .home-break {
	display: inline;
}

@media (max-width: 1024px) {
	.page-template-template-s4hana-readiness-assessment-services .home-break {
		display: none;
	}
}

/* ==========================================================================
   Dark section backgrounds -- one rule per section so each can be
   recoloured independently (kept identical for now).
   ========================================================================== */

.s4r-approach.s4r-section--dark {
	padding-top: 80px;
	padding-bottom: 80px;
	background-color: var(--s4r-navy-deep);
	color: rgba(226, 240, 255, 0.8);
}

/* When an ACF background image is set, the inline style adds the layered
   image; keep it covering and fixed to the section. */
.s4r-approach--has-bg {
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

@media (max-width: 1024px) {
	.s4r-approach.s4r-section--dark {
		padding-top: 64px;
		padding-bottom: 64px;
	}
}

@media (max-width: 640px) {
	.s4r-approach.s4r-section--dark {
		padding-top: 48px;
		padding-bottom: 48px;
	}
}

.s4r-why.s4r-section--dark {
	background-color: var(--s4r-navy-deep);
	color: rgba(226, 240, 255, 0.8);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.s4r-hero {
	padding-top: 56px;
	padding-bottom: 88px;
	background: #ffffff;
}

.s4r-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 580px) minmax(0, 640px);
	justify-content: space-between;
	gap: 40px;
	align-items: center;
}

.s4r-hero__heading {
	font-weight: 700;
	font-size: 60px;
	line-height: 74px;
	letter-spacing: 0;
	color: #0f172a;
}

.s4r-hero__description {
	margin-top: 20px;
	font-weight: 400;
	font-size: 18px;
	line-height: 28px;
	letter-spacing: 0;
	color: #64748b;
}

.s4r-hero__media {
	display: flex;
	justify-content: flex-end;
	max-width: 640px;
	margin-left: auto;
}

.s4r-hero__image {
	width: auto;
	height: auto;
	max-width: 100%;
}

.s4r-hero__image--placeholder {
	width: 100%;
	aspect-ratio: 640 / 480;
	background: transparent;
	border: 1px dashed var(--s4r-line);
}

@media (max-width: 1180px) {
	.s4r-hero__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}

@media (max-width: 1024px) {
	.s4r-hero__inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.s4r-hero__media {
		max-width: none;
		margin-left: 0;
	}

	/* Hero heading stays 40px on tablet and mobile alike. */
	.s4r-hero__heading {
		font-size: 40px;
		line-height: 1.2;
	}
}

/* ==========================================================================
   Overview -- 2x2 card grid on a light-blue band
   ========================================================================== */

.s4r-overview {
	padding-top: 80px;
	padding-bottom: 80px;
	background: #eef6ff;
}

@media (max-width: 1024px) {
	.s4r-overview {
		padding-top: 64px;
		padding-bottom: 64px;
	}
}

@media (max-width: 640px) {
	.s4r-overview {
		padding-top: 48px;
		padding-bottom: 48px;
	}
}

.s4r-overview__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.s4r-overview__card {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 16px;
	padding: 32px;
	border: 1px solid var(--s4r-line);
	border-radius: 16px;
	background: var(--s4r-card-bg);
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.s4r-overview__card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 6px;
	background: #f2f5fa;
	color: var(--s4r-navy);
}

.s4r-overview__card-icon svg { width: 24px; height: 24px; }
.s4r-overview__card-icon img { width: 22px; height: 22px; object-fit: contain; }

.s4r-overview__card-text {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.s4r-overview__card-title {
	font-family: 'Geist', sans-serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 28px;
	letter-spacing: 0;
	color: #0d1b2e;
}

.s4r-overview__card-description {
	font-family: 'Geist', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 26px;
	letter-spacing: 0;
	color: #6b7a99;
}

.s4r-overview__figure {
	border-radius: 16px;
	overflow: hidden;
	background: #dbe9fb;
	min-height: 240px;
}

.s4r-overview__figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.s4r-overview__figure--dark {
	background: var(--s4r-navy-deep);
}

.s4r-overview__figure--placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 240px;
	background: linear-gradient(135deg, rgba(1, 174, 240, 0.18), rgba(0, 65, 149, 0.18));
}

@media (max-width: 640px) {
	.s4r-overview__grid {
		grid-template-columns: 1fr;
	}

	.s4r-overview__figure {
		min-height: 200px;
	}

	.s4r-overview__card {
		padding: 24px;
	}

	.s4r-overview__card-title {
		font-size: 20px;
	}
}

/* ==========================================================================
   Assessment -- image + accordion
   ========================================================================== */

.s4r-assessment {
	padding-top: 80px;
	padding-bottom: 80px;
	background: #ffffff;
}

@media (max-width: 1024px) {
	.s4r-assessment {
		padding-top: 64px;
		padding-bottom: 64px;
	}
}

@media (max-width: 640px) {
	.s4r-assessment {
		padding-top: 48px;
		padding-bottom: 48px;
	}
}

.s4r-assessment__content {
	display: grid;
	grid-template-columns: minmax(0, 470px) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}

.s4r-assessment__media {
	position: sticky;
	top: 100px;
}

.s4r-assessment__image {
	width: 100%;
	border-radius: 16px;
	object-fit: cover;
}

.s4r-assessment__image--placeholder {
	aspect-ratio: 3 / 4;
	background: linear-gradient(135deg, rgba(1, 174, 240, 0.18), rgba(0, 65, 149, 0.18));
}

.s4r-assessment__accordion {
	display: flex;
	flex-direction: column;
}

.s4r-assessment__item {
	border-bottom: 1px solid #c4c4c4;
	background: transparent;
}

.s4r-assessment__item-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 18px 0;
	min-height: 62px;
	box-sizing: border-box;
	font-family: 'Geist', sans-serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 28px;
	letter-spacing: 0;
	color: #0f172a;
	cursor: pointer;
	list-style: none;
}

.s4r-assessment__item-title::-webkit-details-marker {
	display: none;
}

.s4r-assessment__item-toggle {
	position: relative;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
}

.s4r-assessment__item-toggle::before {
	content: "";
	width: 9px;
	height: 9px;
	margin-top: -3px;
	border-right: 2px solid #0f172a;
	border-bottom: 2px solid #0f172a;
	transform: rotate(45deg);
	transition: transform 0.2s ease, margin 0.2s ease;
}

.s4r-assessment__item[open] .s4r-assessment__item-toggle::before {
	margin-top: 3px;
	transform: rotate(-135deg);
}

.s4r-assessment__item-body {
	padding: 0 0 24px;
}

.s4r-assessment__item-body p {
	font-family: 'Geist', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 26px;
	letter-spacing: 0;
	color: #64748b;
}

@media (max-width: 1024px) {
	.s4r-assessment__content {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.s4r-assessment__media {
		position: static;
	}

	.s4r-assessment__image--placeholder {
		aspect-ratio: 16 / 9;
	}
}

@media (max-width: 640px) {
	.s4r-assessment__item-title {
		font-size: 18px;
		line-height: 26px;
	}
}

/* ==========================================================================
   Approach -- dark, 2x2 + image
   ========================================================================== */

.s4r-approach__content {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 468px);
	gap: 48px;
	align-items: center;
}

.s4r-approach__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
}

.s4r-approach__card {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 16px;
	padding: 28px;
	background: transparent;
}

/* Thin divider grid between the four cards (no per-card boxes). */
.s4r-approach__card:nth-child(odd) {
	border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.s4r-approach__card:nth-child(1),
.s4r-approach__card:nth-child(2) {
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.s4r-approach__card:first-child { padding-top: 0; }
.s4r-approach__card:nth-child(2) { padding-top: 0; }
.s4r-approach__card:nth-child(odd) { padding-left: 0; }
.s4r-approach__card:nth-child(even) { padding-right: 0; }

.s4r-approach__card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 6px;
	background: rgba(1, 174, 240, 0.1);
	color: var(--s4r-cyan);
}

.s4r-approach__card-icon svg { width: 22px; height: 22px; }
.s4r-approach__card-icon img { width: 22px; height: 22px; object-fit: contain; }

.s4r-approach__card-text {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.s4r-approach__card-title {
	font-family: 'Geist', sans-serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 28px;
	letter-spacing: 0;
	color: #ffffff;
}

.s4r-approach__card-description {
	font-family: 'Geist', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 26px;
	letter-spacing: 0;
	color: rgba(255, 255, 255, 0.8);
}

.s4r-approach__media {
	border-radius: 16px;
	overflow: hidden;
}

.s4r-approach__image {
	width: 100%;
	object-fit: cover;
}

.s4r-approach__image--placeholder {
	aspect-ratio: 4 / 3;
	background: linear-gradient(135deg, rgba(1, 174, 240, 0.28), rgba(0, 65, 149, 0.32));
}

@media (max-width: 1024px) {
	.s4r-approach__content {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

@media (max-width: 640px) {
	.s4r-approach__grid {
		grid-template-columns: 1fr;
	}

	.s4r-approach__card,
	.s4r-approach__card:nth-child(odd),
	.s4r-approach__card:nth-child(even) {
		padding: 24px 0;
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	}

	.s4r-approach__card:last-child {
		border-bottom: 0;
		padding-bottom: 0;
	}

	.s4r-approach__card:first-child {
		padding-top: 0;
	}
}

/* ==========================================================================
   Process -- circular stage diagram

   Deliberately identical to the home page's .home-framework circle
   (assets/css/home.css) so this section reads as the same component.
   ========================================================================== */

.s4r-process {
	background-color: #f8fafc;
}

.s4r-process__circle {
	position: relative;
	width: min(600px, 100%);
	aspect-ratio: 1 / 1;
	/* Extra top/bottom room for the stage title + description blocks that
	   sit outside the ring above the top node and below the two lower
	   nodes. 180px wasn't quite enough for the top node's actual rendered
	   height (title + description at this node's fixed 240px width comes
	   to ~192px) -- measured directly: it overlapped 8px into the section
	   subheading above it at every desktop width >=1200px (below that,
	   this whole circle collapses to a stacked list instead). 260px
	   clears it with real margin to spare. */
	margin: 260px auto 190px;
}

.s4r-process__ring {
	position: absolute;
	inset: 60px;
	border-radius: 50%;
	border: 2px solid rgba(1, 174, 240, 0.25);
	background: radial-gradient(circle at 50% 50%, rgba(1, 174, 240, 0.08) 0%, rgba(0, 65, 149, 0.02) 55%, rgba(0, 65, 149, 0) 100%);
}

.s4r-process__nodes {
	position: absolute;
	inset: 60px;
}

.s4r-process__center {
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 180px;
	height: 148px;
	padding: 12px;
	text-align: center;
	transform: translate(-50%, -50%);
}

.s4r-process__center span {
	font-family: 'Geist', sans-serif;
	font-weight: 700;
	font-size: 22px;
	line-height: 28px;
	letter-spacing: 0;
	color: #0f172a;
}

.s4r-process__node {
	position: absolute;
	top: var(--sapmig-y);
	left: var(--sapmig-x);
	width: 0;
	height: 0;
}

.s4r-process__node-icon {
	position: absolute;
	top: 0;
	left: 0;
	transform: translate(-50%, -50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	flex-shrink: 0;
	border-radius: 50%;
	border: 1px solid rgba(0, 65, 149, 0.1);
	color: #004195;
	background-color: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03), 0 4px 24px rgba(0, 65, 149, 0.09);
	transition: background 0.2s ease, color 0.2s ease;
}

.s4r-process__node-icon:hover {
	color: #fff;
	background: linear-gradient(145deg, #004195 0%, #01aef0 100%);
}

.s4r-process__node-icon svg,
.s4r-process__node-icon img {
	width: 28px;
	height: 28px;
	object-fit: contain;
}

.s4r-process__node-text {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 240px;
}

.s4r-process__node--top .s4r-process__node-text,
.s4r-process__node--bottom .s4r-process__node-text {
	text-align: center;
	transform: translate(-50%, 0);
}

.s4r-process__node--top .s4r-process__node-text {
	transform: translate(-50%, calc(-100% - 56px));
}

.s4r-process__node--bottom .s4r-process__node-text {
	transform: translate(-50%, 56px);
}

.s4r-process__node--left .s4r-process__node-text {
	text-align: right;
	transform: translate(calc(-100% - 56px), -50%);
}

.s4r-process__node--right .s4r-process__node-text {
	text-align: left;
	transform: translate(56px, -50%);
}

/* The two lower nodes drop their label straight down (clear of the ring)
   instead of centring it on a point that sits low on the circle. */
.s4r-process__node--bottom-right .s4r-process__node-text {
	text-align: left;
	transform: translate(-16px, 52px);
}

.s4r-process__node--bottom-left .s4r-process__node-text {
	text-align: right;
	transform: translate(calc(-100% + 16px), 52px);
}

.s4r-process__node-title {
	display: block;
	font-family: 'Geist', sans-serif;
	font-weight: 700;
	font-size: 22px;
	line-height: 28px;
	letter-spacing: 0;
	color: #0f172a;
}

.s4r-process__node-description {
	display: block;
	font-family: 'Geist', sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 26px;
	letter-spacing: 0;
	color: #64748b;
}

/* The wide stage labels need more room than the circle layout can give
   below full desktop width, so switch to a vertical list early. */
@media (max-width: 1200px) {
	.s4r-process__circle {
		width: 100%;
		aspect-ratio: auto;
		height: auto;
		margin: 0 auto;
	}

	.s4r-process__ring,
	.s4r-process__center {
		display: none;
	}

	.s4r-process__nodes {
		position: static;
		inset: auto;
		display: flex;
		flex-direction: column;
		gap: 28px;
	}

	.s4r-process__node {
		position: static;
		display: flex;
		align-items: flex-start;
		gap: 16px;
		width: 100%;
		max-width: 520px;
		height: auto;
		margin: 0 auto;
	}

	.s4r-process__node-icon {
		position: static;
		transform: none;
		width: 52px;
		height: 52px;
	}

	.s4r-process__node-icon svg,
	.s4r-process__node-icon img {
		width: 24px;
		height: 24px;
	}

	.s4r-process__node-text {
		position: static;
		width: auto;
	}

	.s4r-process__node--top .s4r-process__node-text,
	.s4r-process__node--right .s4r-process__node-text,
	.s4r-process__node--bottom .s4r-process__node-text,
	.s4r-process__node--bottom-right .s4r-process__node-text,
	.s4r-process__node--bottom-left .s4r-process__node-text,
	.s4r-process__node--left .s4r-process__node-text {
		text-align: left;
		transform: none;
	}
}

/* ==========================================================================
   Risk -- image + connected timeline
   ========================================================================== */

.s4r-risk {
	background: #ffffff;
}

.s4r-risk__content {
	display: grid;
	grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
	gap: 60px;
	align-items: start;
}

.s4r-risk__media {
	position: sticky;
	top: 100px;
}

.s4r-risk__image {
	width: 100%;
	border-radius: 16px;
	object-fit: cover;
}

.s4r-risk__image--placeholder {
	aspect-ratio: 3 / 4;
	background: linear-gradient(135deg, rgba(1, 174, 240, 0.18), rgba(0, 65, 149, 0.18));
}

.s4r-risk__timeline {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 36px;
}

.s4r-risk__item {
	position: relative;
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

/* 2px cyan connector from each icon down to the next one -- no trailing
   segment past the last item. */
.s4r-risk__item::before {
	content: "";
	position: absolute;
	left: 23px;
	top: 48px;
	bottom: -36px;
	width: 2px;
	background: rgba(1, 174, 240, 0.25);
}

.s4r-risk__item:last-child::before {
	display: none;
}

.s4r-risk__item-icon {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #ffffff;
	border: 2px solid #e6ecf5;
	color: #004195;
	box-shadow: 0 2px 12px rgba(0, 65, 149, 0.08);
}

.s4r-risk__item-icon svg { width: 24px; height: 24px; }
.s4r-risk__item-icon img { width: 24px; height: 24px; object-fit: contain; }

.s4r-risk__item-text {
	padding-top: 2px;
}

.s4r-risk__item-title {
	font-family: 'Geist', sans-serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 28px;
	letter-spacing: 0;
	color: #0d1b2e;
}

.s4r-risk__item-description {
	margin-top: 8px;
	font-family: 'Geist', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 26px;
	letter-spacing: 0;
	color: #6b7a99;
}

@media (max-width: 1024px) {
	.s4r-risk__content {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.s4r-risk__media {
		position: static;
	}

	.s4r-risk__image--placeholder {
		aspect-ratio: 16 / 9;
	}
}

@media (max-width: 640px) {
	.s4r-risk__item-title {
		font-size: 18px;
		line-height: 26px;
	}
}

/* ==========================================================================
   Deployment -- option cards whose gradient icon overhangs the card top
   ========================================================================== */

.s4r-deployment {
	padding-top: 80px;
	padding-bottom: 80px;
	background: #eef6ff;
}

@media (max-width: 1024px) {
	.s4r-deployment {
		padding-top: 64px;
		padding-bottom: 64px;
	}
}

@media (max-width: 640px) {
	.s4r-deployment {
		padding-top: 48px;
		padding-bottom: 48px;
	}
}

.s4r-deployment__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-inline: auto;
	/* Room for the icon that pops out above the top row of cards. */
	padding-top: 26px;
}

.s4r-deployment__card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 48px 24px 24px;
	border: 1px solid var(--s4r-line);
	border-radius: 16px;
	background: var(--s4r-card-bg);
	box-shadow: 0 4px 24px rgba(0, 65, 149, 0.07);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.s4r-deployment__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 44px rgba(0, 65, 149, 0.14);
}

.s4r-deployment__card-icon {
	position: absolute;
	top: -26px;
	left: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 8px;
	background: linear-gradient(180deg, #004195 0%, #0077c8 100%);
	color: #ffffff;
	box-shadow: 0 6px 20px rgba(0, 65, 149, 0.3);
}

.s4r-deployment__card-icon svg { width: 28px; height: 28px; }
.s4r-deployment__card-icon img { width: 28px; height: 28px; object-fit: contain; }

.s4r-deployment__card-title {
	font-family: 'Geist', sans-serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 28px;
	letter-spacing: 0;
	color: #0f172a;
}

.s4r-deployment__card-description {
	font-family: 'Geist', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 26px;
	letter-spacing: 0;
	color: #64748b;
}

@media (max-width: 1024px) {
	.s4r-deployment__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 46px 24px;
	}
}

@media (max-width: 560px) {
	.s4r-deployment__grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Why choose us -- dark; 3-col grid, each item marked by a cyan gradient
   top rule (no card background)
   ========================================================================== */

.s4r-why.s4r-section--dark {
	padding-top: 80px;
	padding-bottom: 80px;
}

.s4r-why--has-bg {
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

@media (max-width: 1024px) {
	.s4r-why.s4r-section--dark {
		padding-top: 64px;
		padding-bottom: 64px;
	}
}

@media (max-width: 640px) {
	.s4r-why.s4r-section--dark {
		padding-top: 48px;
		padding-bottom: 48px;
	}
}

.s4r-why__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 44px 40px;
}

.s4r-why__card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 24px 0 0;
}

.s4r-why__card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, #01aef0 0%, #01d4da 100%);
}

.s4r-why__card-title {
	font-family: 'Geist', sans-serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 28px;
	letter-spacing: 0;
	color: #ffffff;
}

.s4r-why__card-description {
	font-family: 'Geist', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 26px;
	letter-spacing: 0;
	color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 1024px) {
	.s4r-why__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 40px 32px;
	}
}

@media (max-width: 560px) {
	.s4r-why__grid {
		grid-template-columns: 1fr;
	}

	.s4r-why__card-title {
		font-size: 20px;
	}
}

/* ==========================================================================
   FAQ -- accordion
   ========================================================================== */

/* Exact copy of the home page's .home-faq accordion (assets/css/home.css). */

.s4r-faq {
	background-color: #f8fafc;
}

.s4r-faq__list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.s4r-faq__item {
	background-color: #fff;
	border: 1px solid #e6ecf5;
	border-radius: 16px;
	box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.04);
}

.s4r-faq__item-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 24px 28px;
	list-style: none;
	cursor: pointer;
}

.s4r-faq__item-question::-webkit-details-marker {
	display: none;
}

.s4r-faq__item-question-text {
	font-family: 'Geist', sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 28px;
	letter-spacing: 0;
	color: #111827;
}

@media (max-width: 640px) {
	.s4r-faq__item-question {
		padding: 20px;
	}

	.s4r-faq__item-question-text {
		font-size: 15px;
	}
}

.s4r-faq__item-toggle {
	position: relative;
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	border-radius: 999px;
	color: #004195;
	background-color: #e6f7fe;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.s4r-faq__item[open] .s4r-faq__item-toggle {
	color: #fff;
	background: linear-gradient(103.84deg, #004195 0%, #01aef0 100%);
}

.s4r-faq__item-toggle::before,
.s4r-faq__item-toggle::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	background-color: currentColor;
	border-radius: 1px;
	transform: translate(-50%, -50%);
}

.s4r-faq__item-toggle::before {
	width: 14px;
	height: 2px;
}

.s4r-faq__item-toggle::after {
	width: 2px;
	height: 14px;
	transition: opacity 0.15s ease;
}

.s4r-faq__item[open] .s4r-faq__item-toggle::after {
	opacity: 0;
}

.s4r-faq__item-answer {
	padding: 0 28px 24px;
	border-top: 1px solid #e6f7fe;
	margin-top: -1px;
	padding-top: 20px;
}

.s4r-faq__item-answer p {
	margin: 0;
	font-family: 'Geist', sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 26px;
	letter-spacing: 0;
	color: #64748b;
}

@media (max-width: 640px) {
	.s4r-faq__item-answer {
		padding-left: 20px;
		padding-right: 20px;
	}
}

/* ==========================================================================
   Editor content appended after the sections
   ========================================================================== */

.s4r-entry-content {
	max-width: var(--s4r-max);
	margin: 0 auto 96px;
	padding: 0 var(--s4r-pad-x);
	font-size: 16px;
	line-height: 1.7;
	color: var(--s4r-body);
}

@media (max-width: 1024px) {
	.s4r-entry-content {
		padding: 0 var(--s4r-pad-x-tablet);
		margin-bottom: 64px;
	}
}

@media (max-width: 640px) {
	.s4r-entry-content {
		padding: 0 var(--s4r-pad-x-mobile);
	}
}
