/*
 Theme Name: GeneratePress Child
 Description: Custom child theme for GeneratePress
 Template: generatepress
 Version: 1.4.0
 Text Domain: generatepress-child
*/

:root {
	--automata-blue: #417abb;
	--automata-blue-dark: #285e9b;
	--automata-blue-bright: #8fc1f4;
	--automata-navy: #102a43;
	--automata-ink: #172433;
	--automata-paper: #f7f9fc;
	--automata-blue-light: #eaf2fa;
	--automata-muted: #5e6e7e;
	--automata-line: #d6e0ea;
	--automata-amber: #f2a33a;
	--automata-white: #fff;
	--automata-radius: 22px;
	--automata-shadow: 0 24px 70px rgba(16, 42, 67, 0.13);
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 90px;
}

body {
	background: var(--automata-paper);
	color: var(--automata-ink);
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	transition:
		box-shadow 220ms ease,
		background-color 220ms ease;
}

.site-header.is-scrolled {
	background-color: rgba(255, 255, 255, 0.97);
	box-shadow: 0 8px 28px rgba(15, 42, 68, 0.1);
}

/* =========================================================
   GLOBAL HOMEPAGE STYLES
   ========================================================= */

.automata-main,
.automata-main * {
	box-sizing: border-box;
}

.automata-main {
	overflow: hidden;
}

.automata-main h1,
.automata-main h2,
.automata-main h3,
.automata-main p {
	margin-top: 0;
}

.automata-main h1 {
	max-width: 940px;
	margin-bottom: 30px;
	font-size: clamp(3.1rem, 8vw, 7.2rem);
	line-height: 0.88;
	letter-spacing: -0.065em;
}

.automata-main h2 {
	margin-bottom: 24px;
	font-size: clamp(2.25rem, 5vw, 4.6rem);
	line-height: 0.98;
	letter-spacing: -0.05em;
}

.automata-main h3 {
	font-size: 1.25rem;
	line-height: 1.2;
}

.automata-main a {
	transition:
		color 0.2s,
		background 0.2s,
		transform 0.2s,
		box-shadow 0.2s;
}

.automata-container {
	width: min(1180px, calc(100% - 40px));
	margin-inline: auto;
}

.automata-section {
	padding: 110px 0;
}

.section-eyebrow {
	margin-bottom: 24px;
	color: var(--automata-blue);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 50px;
}

.section-heading > p {
	max-width: 620px;
	color: var(--automata-muted);
	font-size: 1.15rem;
}

/* Remove GeneratePress page framing on the custom homepage. */

.home .site.grid-container {
	max-width: none;
}

.home .site-content {
	padding: 0;
}

.home .content-area {
	width: 100%;
}

.home .site-main {
	margin: 0;
}

.home .inside-article {
	padding: 0;
}

/* =========================================================
   HERO
   ========================================================= */

.automata-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: 760px;
	padding: 104px 0 72px;
	background-color: var(--automata-navy);
	background-image:
		linear-gradient(
			90deg,
			rgba(16, 42, 67, 0.94) 0%,
			rgba(16, 42, 67, 0.88) 48%,
			rgba(16, 42, 67, 0.65) 100%
		),
		url("https://automata.lt/wp-content/uploads/2026/08/main-scaled.webp");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.automata-hero .section-eyebrow {
	margin-bottom: 26px;
	color: var(--automata-blue-bright);
}

.automata-hero h1 {
	color: var(--automata-white);
}

.automata-hero h1 span {
	color: var(--automata-blue-bright);
}

.hero-description {
	max-width: 750px;
	color: #e4eef7;
	font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 38px;
}

.automata-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 22px;
	border: 1px solid var(--automata-ink);
	border-radius: 999px;
	color: var(--automata-ink);
	font-weight: 750;
	text-decoration: none;
}

.automata-button:hover {
	transform: translateY(-2px);
	color: var(--automata-ink);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.automata-button-primary {
	border-color: var(--automata-blue-dark);
	background: var(--automata-blue-dark);
	color: var(--automata-white);
}

.automata-button-primary:hover {
	border-color: var(--automata-navy);
	background: var(--automata-navy);
	color: var(--automata-white);
}

.automata-button-secondary {
	background: transparent;
}

.automata-hero .automata-button-secondary {
	border-color: rgba(255, 255, 255, 0.8);
	color: var(--automata-white);
}

.automata-hero .automata-button-secondary:hover {
	border-color: var(--automata-white);
	background: var(--automata-white);
	color: var(--automata-navy);
}

.hero-highlights {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	margin-top: 90px;
	padding-top: 26px;
	border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-highlights p {
	position: relative;
	max-width: 460px;
	margin: 0;
	padding-left: 24px;
	color: #f1f6fb;
	font-size: 0.94rem;
}

.hero-highlights p::before {
	position: absolute;
	top: 6px;
	left: 0;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--automata-amber);
	content: "";
}

/* =========================================================
   ABOUT
   ========================================================= */

.about-grid {
	display: grid;
	grid-template-columns: 0.8fr 1.4fr;
	gap: 10vw;
}

.about-content > p {
	color: #40566d;
	font-size: 1.08rem;
}

.qualification {
	margin-top: 28px;
	padding: 20px;
	border: 1px solid var(--automata-line);
	border-radius: 16px;
	background: white;
}

.qualification strong {
	color: var(--automata-blue-dark);
}

.qualification p {
	margin: 6px 0 0;
}

/* =========================================================
   SERVICES
   ========================================================= */

.services-section {
	background: var(--automata-navy);
	color: white;
}

.services-section .section-eyebrow {
	color: var(--automata-blue-bright);
}

.services-section .section-heading > p {
	color: #c3d2df;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	align-items: stretch;
	border-top: 1px solid #36536c;
	border-left: 1px solid #36536c;
}

.service-card {
	display: flex;
	overflow: hidden;
	min-height: 0;
	flex-direction: column;
	padding: 0;
	border-right: 1px solid #36536c;
	border-bottom: 1px solid #36536c;
	transition:
		background 0.25s,
		transform 260ms ease,
		box-shadow 260ms ease;
}

.service-card:hover {
	transform: translateY(-6px);
	background: #173b5c;
	box-shadow: 0 22px 45px rgba(10, 35, 60, 0.14);
}

/*
 * Keep the image at the top.
 * Do not apply margin-top:auto to this link.
 */

.service-card-image {
	display: block;
	flex: 0 0 auto;
	width: 100%;
	margin: 0 !important;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	background: #f4f7fb;
}

.service-card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover .service-card-image img {
	transform: scale(1.035);
}

.service-card-content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 30px;
}

.service-number {
	color: var(--automata-blue-bright);
	font: 700 0.8rem ui-monospace, monospace;
}

.service-card h3 {
	min-height: 7.2rem;
	margin: 28px 0 18px;
	color: white;
	font-size: 1.5rem;
	line-height: 1.2;
}

.service-card h3 a {
	color: white;
	text-decoration: none;
}

.service-card p {
	margin-bottom: 0;
	color: #c3d2df;
}

/*
 * No margin-top:auto here.
 * It previously caused the featured images to become misaligned.
 */

.service-card a {
	color: var(--automata-blue-bright);
	font-weight: 750;
	text-decoration: none;
}

.service-card-link {
	margin-top: auto;
	padding-top: 22px;
	transition:
		transform 180ms ease,
		color 180ms ease;
}

.service-card-link span {
	display: inline-block;
	transition: transform 180ms ease;
}

.service-card-link:hover span {
	transform: translateX(5px);
}

.service-card a:hover {
	color: white;
}

.section-footer-action {
	display: flex;
	justify-content: flex-end;
	margin-top: 34px;
}

.services-all-button {
	border-color: var(--automata-blue-bright);
	color: white;
}

.services-all-button:hover {
	border-color: white;
	color: white;
}

/* =========================================================
   PROCESS
   ========================================================= */

.process-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
	margin: 48px 0 0;
	padding: 0;
	counter-reset: steps;
	list-style: none;
}

.process-grid li {
	position: relative;
	min-height: 150px;
	padding: 58px 18px 25px;
	border-top: 3px solid var(--automata-blue);
	border-radius: 0 0 14px 14px;
	background: white;
	font-weight: 750;
	counter-increment: steps;
	transition:
		transform 260ms ease,
		box-shadow 260ms ease,
		border-color 260ms ease;
}

.process-grid li::before {
	position: absolute;
	top: 20px;
	left: 18px;
	color: var(--automata-blue-dark);
	font: 700 0.78rem ui-monospace, monospace;
	content: counter(steps, decimal-leading-zero);
}

/* =========================================================
   PROJECTS
   ========================================================= */

.projects-section {
	background: var(--automata-blue-light);
}

.projects-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.project-card {
	overflow: hidden;
	border-radius: var(--automata-radius);
	background: white;
	box-shadow: 0 10px 30px rgba(7, 28, 23, 0.07);
	transition:
		transform 260ms ease,
		box-shadow 260ms ease;
}

.project-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 45px rgba(10, 35, 60, 0.14);
}

.project-image {
	display: grid;
	min-height: 280px;
	place-items: center;
	overflow: hidden;
	background:
		repeating-linear-gradient(
			135deg,
			#417abb 0,
			#417abb 20px,
			#35699f 20px,
			#35699f 40px
		);
	color: rgba(255, 255, 255, 0.88);
	text-decoration: none;
}

.project-image img {
	width: 100%;
	height: 280px;
	object-fit: cover;
	transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover .project-image img {
	transform: scale(1.035);
}

.project-card-content {
	padding: 25px;
}

.project-card-content h3 {
	margin-bottom: 10px;
}

.project-card-content h3 a {
	color: var(--automata-ink);
	text-decoration: none;
}

.project-card-content p {
	margin-bottom: 0;
	color: var(--automata-muted);
}

/* =========================================================
   STATISTICS
   ========================================================= */

.statistics-section {
	padding: 0;
	background: var(--automata-blue-light);
}

.statistics-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	overflow: hidden;
	border-radius: var(--automata-radius);
	background: var(--automata-blue);
	color: var(--automata-white);
}

.statistic {
	padding: 46px;
	border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.statistic:last-child {
	border-right: 0;
}

.statistic strong {
	display: block;
	font-size: clamp(2.6rem, 6vw, 5.7rem);
	line-height: 1;
	letter-spacing: -0.06em;
}

.statistic span {
	display: block;
	margin-top: 12px;
	font-weight: 700;
}

.statistic small {
	display: block;
	margin-top: 8px;
	color: #e2edf8;
}

/* =========================================================
   PARTNERS
   ========================================================= */

.partners-section {
	text-align: center;
}

.partners-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
	margin-top: 40px;
}

.partner-logo {
	display: grid;
	min-height: 110px;
	place-items: center;
	padding: 15px;
	transition:
		transform 220ms ease,
		opacity 220ms ease;
}

.partner-logo img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 72px;
	object-fit: contain;
}

.partner-logo:hover {
	transform: translateY(-3px);
	opacity: 0.82;
}

.partner-placeholder {
	display: grid;
	min-height: 110px;
	place-items: center;
	padding: 15px;
	border: 1px solid var(--automata-line);
	border-radius: 14px;
	background: white;
	color: #7a8581;
	font-weight: 850;
	letter-spacing: 0.08em;
}

.partner-placeholder small {
	display: block;
	font-weight: 500;
	letter-spacing: 0;
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
	background: var(--automata-navy);
	color: white;
}

.contact-section .section-eyebrow {
	color: var(--automata-blue-bright);
}

.contact-section h2,
.contact-section h3 {
	color: white;
}

.contact-grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 70px;
}

.company-details {
	margin-top: 48px;
	padding-top: 26px;
	border-top: 1px solid rgba(255, 255, 255, 0.3);
	color: #dbe8f3;
	font-style: normal;
}

.company-details a {
	color: white;
}

.contact-form {
	padding: 38px;
	border-radius: var(--automata-radius);
	background: white;
	color: var(--automata-ink);
	box-shadow: var(--automata-shadow);
}

.contact-form h3 {
	color: var(--automata-ink);
}

.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
	width: 100%;
	border: 1px solid #cdd5d1;
	border-radius: 10px;
	background: #fafbf9;
}

.contact-form input[type="submit"],
.contact-form button {
	border-radius: 999px;
	background: var(--automata-blue-dark);
	color: white;
}

.contact-form input[type="submit"]:hover,
.contact-form button:hover {
	background: var(--automata-navy);
	color: white;
}

/* =========================================================
   SCROLL MOTION
   Added by assets/js/automata-motion.js
   ========================================================= */

.motion-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition:
		opacity 550ms ease,
		transform 550ms cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--motion-delay, 0ms);
}

.motion-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* =========================================================
   HOMEPAGE RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
	.automata-hero {
		min-height: auto;
		padding-top: 76px;
	}

	.hero-highlights,
	.about-grid,
	.contact-grid {
		grid-template-columns: 1fr;
	}

	.services-grid,
	.projects-grid {
		grid-template-columns: 1fr 1fr;
	}

	.process-grid {
		grid-template-columns: 1fr 1fr;
	}

	.statistics-grid {
		grid-template-columns: 1fr;
	}

	.statistic {
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.28);
	}

	.statistic:last-child {
		border-bottom: 0;
	}

	.partners-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 600px) {
	.automata-container {
		width: min(100% - 26px, 1180px);
	}

	.automata-section {
		padding: 78px 0;
	}

	.automata-main h1 {
		font-size: clamp(3rem, 17vw, 5rem);
	}

	.automata-hero {
		min-height: auto;
		background-image:
			linear-gradient(
				rgba(16, 42, 67, 0.88),
				rgba(16, 42, 67, 0.88)
			),
			url("https://automata.lt/wp-content/uploads/2026/08/main-scaled.webp");
		background-position: 62% center;
	}

	.hero-highlights {
		margin-top: 60px;
	}

	.section-heading {
		display: block;
	}

	.services-grid,
	.projects-grid,
	.process-grid {
		grid-template-columns: 1fr;
	}

	.service-card h3 {
		min-height: 0;
	}

	.partners-grid {
		grid-template-columns: 1fr 1fr;
	}

	.statistic {
		padding: 34px;
	}

	.contact-form {
		padding: 24px;
	}
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.automata-main *,
	.automata-main *::before,
	.automata-main *::after,
	.motion-reveal,
	.motion-reveal.is-visible,
	.site-header,
	.partner-logo {
		scroll-behavior: auto !important;
		transition: none !important;
		animation: none !important;
		transform: none !important;
	}
}

/* =========================================================
   SERVICE ARCHIVE AND INDIVIDUAL SERVICE PAGES
   ========================================================= */

.archive-hero,
.service-hero {
	padding: 100px 0 70px;
	background:
		radial-gradient(
			circle at 82% 18%,
			rgba(65, 122, 187, 0.22),
			transparent 28%
		),
		linear-gradient(145deg, #f7f9fc 55%, #e1ebf5);
}

.archive-hero h1,
.service-hero h1 {
	max-width: 980px;
	margin-bottom: 24px;
	color: var(--automata-ink);
	font-size: clamp(3rem, 7vw, 6rem);
	line-height: 0.95;
	letter-spacing: -0.055em;
}

.archive-introduction,
.service-introduction {
	max-width: 780px;
	color: var(--automata-muted);
	font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.archive-back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 30px;
	color: var(--automata-blue-dark);
	font-weight: 700;
	text-decoration: none;
}

.archive-back-link:hover {
	color: var(--automata-navy);
}

.service-archive-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.service-archive-card {
	display: flex;
	overflow: hidden;
	min-height: 390px;
	flex-direction: column;
	border: 1px solid var(--automata-line);
	border-radius: var(--automata-radius);
	background: white;
	box-shadow: 0 10px 30px rgba(16, 42, 67, 0.07);
}

.service-archive-image {
	display: block;
	overflow: hidden;
	background: var(--automata-blue-light);
}

.service-archive-image img {
	display: block;
	width: 100%;
	height: 230px;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.service-archive-card:hover .service-archive-image img {
	transform: scale(1.035);
}

.service-archive-content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 28px;
}

.service-archive-content h2 {
	margin-bottom: 15px;
	font-size: 1.55rem;
	line-height: 1.15;
}

.service-archive-content h2 a {
	color: var(--automata-ink);
	text-decoration: none;
}

.service-archive-content p {
	color: var(--automata-muted);
}

.service-read-more {
	display: inline-flex;
	gap: 8px;
	margin-top: auto;
	padding-top: 18px;
	color: var(--automata-blue-dark);
	font-weight: 750;
	text-decoration: none;
}

.service-featured-image {
	margin-top: 60px;
}

.service-featured-image img {
	display: block;
	width: 100%;
	max-height: 720px;
	border-radius: var(--automata-radius);
	object-fit: cover;
}

.service-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 370px;
	gap: 70px;
	padding-top: 80px;
	padding-bottom: 90px;
}

.service-content {
	min-width: 0;
	color: #34495e;
	font-size: 1.08rem;
}

.service-content > :first-child {
	margin-top: 0;
}

.service-content h2 {
	margin-top: 55px;
	color: var(--automata-ink);
	font-size: clamp(2rem, 4vw, 3.15rem);
	line-height: 1.05;
	letter-spacing: -0.04em;
}

.service-content h3 {
	margin-top: 36px;
	color: var(--automata-ink);
	font-size: 1.55rem;
}

.service-content img {
	border-radius: 14px;
}

.service-facts {
	align-self: start;
}

.service-fact-card {
	margin-bottom: 18px;
	padding: 27px;
	border: 1px solid var(--automata-line);
	border-radius: var(--automata-radius);
	background: white;
}

.service-fact-card h2 {
	margin-bottom: 17px;
	color: var(--automata-ink);
	font-size: 1.35rem;
	letter-spacing: -0.025em;
}

.service-fact-card ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.service-fact-card li {
	position: relative;
	padding: 10px 0 10px 22px;
	border-bottom: 1px solid var(--automata-line);
}

.service-fact-card li:last-child {
	border-bottom: 0;
}

.service-fact-card li::before {
	position: absolute;
	top: 18px;
	left: 0;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--automata-blue);
	content: "";
}

.service-projects {
	background: var(--automata-blue-light);
}

.service-cta {
	padding: 70px 0;
	background: var(--automata-navy);
	color: white;
}

.service-cta .section-eyebrow {
	color: var(--automata-blue-bright);
}

.service-cta h2 {
	margin-bottom: 15px;
	color: white;
	font-size: clamp(2.2rem, 5vw, 4.2rem);
	letter-spacing: -0.045em;
}

.service-cta p {
	margin-bottom: 0;
	color: #dbe8f3;
}

.service-cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

.project-pagination {
	margin-top: 50px;
}

.project-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.project-pagination .page-numbers {
	display: grid;
	min-width: 44px;
	min-height: 44px;
	place-items: center;
	padding: 8px 14px;
	border: 1px solid var(--automata-line);
	border-radius: 999px;
	background: white;
	color: var(--automata-ink);
	text-decoration: none;
}

.project-pagination .current,
.project-pagination a:hover {
	border-color: var(--automata-blue-dark);
	background: var(--automata-blue-dark);
	color: white;
}

/* =========================================================
   SERVICE PAGE RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
	.service-archive-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.service-body {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

@media (max-width: 600px) {
	.archive-hero,
	.service-hero {
		padding: 70px 0 50px;
	}

	.service-archive-grid {
		grid-template-columns: 1fr;
	}

	.service-body {
		padding-top: 50px;
		padding-bottom: 60px;
	}

	.service-cta-inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.section-footer-action {
		justify-content: flex-start;
	}
}

/* Polylang language switcher */
.main-navigation .lang-item a {
	padding-left: 7px;
	padding-right: 7px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.main-navigation .current-lang > a {
	color: #417abb;
}
/* Make the services section use the full page width */
.services-section > .automata-container {
	width: 100%;
	max-width: none;
	padding-right: clamp(24px, 4vw, 72px);
	padding-left: clamp(24px, 4vw, 72px);
	box-sizing: border-box;
}

/* Four equal services per row */
.services-grid {
	display: grid;
	width: 100%;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: stretch;
	border-top: 1px solid #36536c;
	border-left: 1px solid #36536c;
}

.services-grid > .service-card {
	grid-column: auto;
}

/* Compact cards */
.service-card--compact {
	min-height: 0;
}

.service-card--compact .service-card-content {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
	padding: 26px;
}

.service-card--compact h3 {
	min-height: 0;
	margin: 14px 0 22px;
	font-size: clamp(1.15rem, 1.5vw, 1.45rem);
	line-height: 1.25;
}

.service-card--compact .service-card-link {
	margin-top: auto;
	padding-top: 0;
}

@media (max-width: 1000px) {
	.services-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.services-section > .automata-container {
		padding-right: 16px;
		padding-left: 16px;
	}

	.services-grid {
		grid-template-columns: 1fr;
	}
}
/* Place the services introduction below the heading */
.services-section .section-heading {
	display: block;
}

.services-section .section-heading > p {
	max-width: 760px;
	margin: 20px 0 0;
}

/* Clickable partner logos */
.partner-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 120px;
	padding: 20px;
	border-radius: 10px;
	color: inherit;
	text-decoration: none;
	transition:
		background-color 220ms ease,
		box-shadow 220ms ease,
		transform 220ms ease;
}

.partner-logo img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 78px;
	object-fit: contain;
	transition: transform 220ms ease;
}

.partner-logo:hover {
	background: #ffffff;
	box-shadow: 0 16px 35px rgba(15, 45, 72, 0.12);
	transform: translateY(-4px);
}

.partner-logo:hover img {
	transform: scale(1.04);
}

.partner-logo:focus-visible {
	outline: 3px solid #417abb;
	outline-offset: 4px;
}