.fdn-section {
	padding: clamp(68px, 8vw, 108px) 0;
}

.fdn-section--light {
	background: #fff;
}

.fdn-section--cream {
	background: var(--cream);
}

.page-template-page-automatisation-ia .fdn-section--cream,
.page-template-page-solution-automatisation .fdn-section--cream {
	background: #f7efe3;
}

.fdn-section--dark {
	background:
		radial-gradient(circle at 82% 20%, rgba(237, 120, 26, .12), transparent 30%),
		linear-gradient(145deg, var(--dark), #13244e);
	color: #fff;
}

.fdn-section__header {
	max-width: 760px;
	margin: 0 auto 44px;
	text-align: center;
}

.fdn-section__header h2,
.fdn-heading {
	margin: 8px 0 14px;
	color: var(--brand);
	font-size: clamp(26px, 3.4vw, 42px);
	font-weight: 900;
	letter-spacing: -.035em;
	line-height: 1.12;
}

.fdn-section--dark .fdn-section__header h2,
.fdn-section--dark .fdn-heading {
	color: #fff;
}

.fdn-lead {
	color: var(--muted);
	font-size: clamp(1rem, 1.6vw, 1.16rem);
	line-height: 1.75;
}

.fdn-section--dark .fdn-lead {
	color: rgba(255, 255, 255, .7);
}

.fdn-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.fdn-grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fdn-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fdn-card {
	padding: 26px 24px;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--card);
	box-shadow: 0 6px 24px rgba(15, 23, 42, .055);
}

.fdn-card h3 {
	margin: 10px 0 9px;
	color: var(--brand);
	font-size: 1.05rem;
	font-weight: 850;
	line-height: 1.35;
}

.fdn-card p,
.fdn-card li {
	color: var(--muted);
	font-size: .92rem;
	line-height: 1.68;
}

.fdn-card p:last-child {
	margin-bottom: 0;
}

.fdn-card__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: rgba(237, 120, 26, .11);
	font-size: 1.35rem;
}

.fdn-card__link {
	display: inline-flex;
	margin-top: 14px;
	color: var(--accent);
	font-size: .86rem;
	font-weight: 800;
	text-decoration: none;
}

.fdn-card__link:hover {
	text-decoration: underline;
}

.fdn-related-card {
	display: block;
	color: inherit;
	text-decoration: none;
}

.fdn-related-card:hover {
	transform: translateY(-3px);
	border-color: rgba(237, 120, 26, .38);
}

.fdn-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 9px 24px;
	margin-top: 24px;
	color: rgba(255, 255, 255, .72);
	font-size: .82rem;
	font-weight: 700;
}

.fdn-trust span::before {
	margin-right: 7px;
	color: var(--accent);
	content: "✓";
}

.fdn-split {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
	gap: clamp(34px, 6vw, 76px);
	align-items: center;
}

.fdn-list {
	display: grid;
	gap: 13px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.fdn-list li {
	position: relative;
	padding-left: 30px;
	color: var(--muted);
	line-height: 1.68;
}

.fdn-list li::before {
	position: absolute;
	top: .08em;
	left: 0;
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: rgba(237, 120, 26, .12);
	color: var(--accent);
	content: "✓";
	font-size: .72rem;
	font-weight: 900;
}

.fdn-number {
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--accent);
	color: #fff;
	font-weight: 900;
}

.fdn-step {
	position: relative;
}

.fdn-step::after {
	position: absolute;
	top: 44px;
	right: -20px;
	width: 20px;
	height: 2px;
	background: rgba(237, 120, 26, .28);
	content: "";
}

.fdn-step:last-child::after {
	display: none;
}

.fdn-note {
	padding: 22px 24px;
	border: 1px solid rgba(237, 120, 26, .22);
	border-radius: 16px;
	background: rgba(237, 120, 26, .075);
	color: var(--brand);
	line-height: 1.65;
}

.fdn-case {
	display: grid;
	grid-template-columns: minmax(180px, .36fr) minmax(0, 1fr);
	gap: 30px;
	padding: 34px;
	border: 1px solid var(--line);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 6px 24px rgba(15, 23, 42, .05);
}

.fdn-case + .fdn-case {
	margin-top: 22px;
}

.fdn-case__sector {
	color: var(--accent);
	font-size: .78rem;
	font-weight: 850;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.fdn-case h2 {
	margin: 8px 0 0;
	color: var(--brand);
	font-size: clamp(22px, 2.6vw, 32px);
	line-height: 1.17;
}

.fdn-case h3 {
	margin: 0 0 7px;
	color: var(--brand);
	font-size: .82rem;
	font-weight: 850;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.fdn-case p,
.fdn-case li {
	color: var(--muted);
	line-height: 1.67;
}

.fdn-case__block + .fdn-case__block {
	margin-top: 20px;
}

.fdn-case__results {
	margin: 8px 0 0;
	padding-left: 20px;
}

.fdn-placeholder {
	font-style: italic;
	opacity: .74;
}

.fdn-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.fdn-form-intro {
	max-width: 720px;
	margin-bottom: 34px;
}

.fdn-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.fdn-form-grid .form-field--full {
	grid-column: 1 / -1;
}

.fdn-cta-band {
	padding: clamp(58px, 7vw, 86px) 0;
	background: linear-gradient(135deg, var(--brand), var(--dark));
	color: #fff;
	text-align: center;
}

.fdn-cta-band h2 {
	max-width: 760px;
	margin: 0 auto 14px;
	color: #fff;
	font-size: clamp(28px, 4vw, 46px);
	font-weight: 900;
	letter-spacing: -.035em;
}

.fdn-cta-band p {
	max-width: 700px;
	margin: 0 auto 26px;
	color: rgba(255, 255, 255, .7);
	line-height: 1.7;
}

/* Automation tool, sector, resource and case-study pages. */
.automation-detail .page-hero p a {
	color: #fff;
	text-decoration-color: rgba(237, 120, 26, .8);
	text-underline-offset: 3px;
}

.automation-detail__updated {
	display: block;
	margin-top: -18px;
	color: rgba(255, 255, 255, .52);
	font-size: .82rem;
}

.automation-section__header {
	max-width: 820px;
	margin-bottom: 34px;
}

.automation-section__header h2 {
	margin: 6px 0 0;
	color: var(--brand);
	font-size: clamp(27px, 3.4vw, 43px);
	font-weight: 900;
	letter-spacing: -.035em;
	line-height: 1.12;
}

.fdn-section--dark .automation-section__header h2 {
	color: #fff;
}

.automation-copy {
	max-width: 900px;
	color: var(--muted);
	font-size: 1rem;
	line-height: 1.75;
}

.automation-copy > * + * {
	margin-top: 20px;
}

.automation-copy h3 {
	margin-top: 32px;
	color: var(--brand);
	font-size: 1.18rem;
	font-weight: 850;
	line-height: 1.35;
}

.fdn-section--dark .automation-copy,
.fdn-section--dark .automation-copy p {
	color: rgba(255, 255, 255, .74);
}

.fdn-section--dark .automation-copy h3 {
	color: #fff;
}

.automation-copy a {
	color: var(--brand);
	font-weight: 700;
	text-decoration-color: rgba(237, 120, 26, .55);
	text-underline-offset: 3px;
}

.fdn-section--dark .automation-copy a {
	color: #fff;
}

.automation-copy ul,
.automation-copy ol {
	display: grid;
	gap: 12px;
}

.automation-copy li {
	position: relative;
	padding-left: 28px;
}

.automation-copy ul > li::before {
	position: absolute;
	top: .35em;
	left: 0;
	display: grid;
	place-items: center;
	width: 18px;
	height: 18px;
	border-radius: 6px;
	background: rgba(237, 120, 26, .12);
	color: var(--accent);
	content: "✓";
	font-size: .7rem;
	font-weight: 900;
}

.automation-copy ol {
	counter-reset: automation-step;
}

.automation-copy ol > li {
	counter-increment: automation-step;
}

.automation-copy ol > li::before {
	position: absolute;
	top: .15em;
	left: 0;
	color: var(--accent);
	content: counter(automation-step) ".";
	font-weight: 900;
}

.automation-copy blockquote {
	padding: 22px 24px;
	border-left: 4px solid var(--accent);
	border-radius: 0 16px 16px 0;
	background: rgba(237, 120, 26, .08);
	color: var(--brand);
	font-size: 1.08rem;
	font-weight: 700;
}

.automation-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 8px 28px rgba(15, 23, 42, .06);
}

.automation-table {
	width: 100%;
	min-width: 600px;
	border-collapse: collapse;
}

.automation-table th,
.automation-table td {
	padding: 15px 18px;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.automation-table th {
	background: rgba(19, 36, 78, .055);
	color: var(--brand);
	font-size: .84rem;
	font-weight: 850;
}

.automation-table tr:last-child td {
	border-bottom: 0;
}

.automation-note {
	padding: 16px 18px;
	border: 1px solid rgba(237, 120, 26, .24);
	border-radius: 14px;
	background: rgba(237, 120, 26, .075);
	font-size: .9rem;
}

.automation-crosslinks {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.automation-crosslinks a {
	display: inline-flex;
	padding: 9px 13px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	color: var(--brand);
	font-size: .86rem;
	font-weight: 750;
	text-decoration: none;
}

.automation-crosslinks a:hover {
	border-color: rgba(237, 120, 26, .4);
	color: var(--accent);
}

.automation-directory-group {
	scroll-margin-top: 110px;
}

.automation-directory-group + .automation-directory-group {
	margin-top: 64px;
	padding-top: 58px;
	border-top: 1px solid var(--line);
}

.automation-directory-group .automation-section__header {
	margin-bottom: 24px;
}

.automation-pre-diagnostic {
	margin-top: 24px;
	padding: 15px 17px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 14px;
	background: rgba(255, 255, 255, .055);
	color: rgba(255, 255, 255, .62);
	font-size: .9rem;
}

.automation-pre-diagnostic a {
	color: #fff;
	font-weight: 750;
	text-decoration-color: rgba(237, 120, 26, .7);
	text-underline-offset: 3px;
}

.automation-case-summary {
	max-width: 860px;
	margin-top: 34px;
}

.automation-case-summary .automation-table {
	min-width: 0;
}

.automation-estimate {
	display: inline-flex;
	margin-top: 12px;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(237, 120, 26, .12);
	color: var(--accent);
	font-size: .78rem;
	font-weight: 800;
}

/* Interactive gain calculator. */
.automation-calculator {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(300px, .8fr);
	gap: 28px;
	align-items: start;
}

.automation-calculator__form,
.automation-calculator__results {
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 10px 34px rgba(15, 23, 42, .07);
}

.automation-calculator__results {
	position: sticky;
	top: 100px;
	background: linear-gradient(145deg, var(--dark), #13244e);
	color: #fff;
}

.automation-calculator__results h3 {
	margin-bottom: 20px;
	color: #fff;
	font-size: 1.25rem;
}

.calc-task {
	display: grid;
	grid-template-columns: 1.4fr .75fr 1fr 1fr;
	gap: 14px;
	padding: 20px 0;
	border-bottom: 1px solid var(--line);
}

.calc-task__head {
	display: flex;
	grid-column: 1 / -1;
	align-items: center;
	justify-content: space-between;
}

.calc-task label,
.automation-calculator__cost label {
	display: grid;
	gap: 7px;
	color: var(--muted);
	font-size: .8rem;
	font-weight: 700;
}

.calc-task input,
.calc-task select,
.automation-calculator__cost input {
	width: 100%;
	min-height: 44px;
	padding: 9px 11px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fff;
	color: var(--text);
	font: inherit;
}

.calc-task input[type="range"] {
	min-height: 30px;
	padding: 0;
	accent-color: var(--accent);
}

.calc-task__rate {
	color: var(--accent);
	font-size: .78rem;
}

.calc-task__remove {
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 8px;
	background: rgba(15, 23, 42, .06);
	color: var(--muted);
	cursor: pointer;
	font-size: 1.2rem;
}

.automation-calculator__add {
	margin-top: 18px;
	border: 1px dashed rgba(19, 36, 78, .28);
	background: transparent;
	color: var(--brand);
}

.automation-calculator__cost {
	max-width: 280px;
	margin-top: 24px;
}

.automation-calculator__cost small {
	display: block;
	margin-top: 7px;
	color: var(--muted);
	font-size: .78rem;
}

.calc-result {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.calc-result span {
	color: rgba(255, 255, 255, .62);
	font-size: .86rem;
}

.calc-result strong {
	font-size: 1.45rem;
}

.automation-calculator__disclaimer {
	margin: 18px 0;
	color: rgba(255, 255, 255, .58);
	font-size: .8rem;
	line-height: 1.5;
}

@media (max-width: 900px) {
	.fdn-grid,
	.fdn-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fdn-split {
		grid-template-columns: 1fr;
	}

	.fdn-step::after {
		display: none;
	}

	.automation-calculator {
		grid-template-columns: 1fr;
	}

	.automation-calculator__results {
		position: static;
	}

	.calc-task {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.fdn-grid,
	.fdn-grid--2,
	.fdn-grid--4,
	.fdn-form-grid,
	.fdn-case {
		grid-template-columns: 1fr;
	}

	.fdn-card,
	.fdn-case {
		padding: 22px 20px;
	}

	.calc-task {
		grid-template-columns: 1fr;
	}

	.automation-calculator__form,
	.automation-calculator__results {
		padding: 22px 18px;
	}
}
