/* ACS Solution v1.2 — visibly inspired by SALTO / dormakaba, ACS brand */

:root {
	--acs-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--acs-green: #7cb342;
	--acs-green-bright: #8bc34a;
	--acs-forest: #0b1a0d;
	--acs-forest-2: #122816;
	--acs-mist: #dcecc8;
	--acs-ink: #0c120d;
	--acs-muted: #5a675c;
	--acs-line: rgba(12, 18, 13, 0.12);
	--acs-soft: #f4f5f3;
	--acs-white: #ffffff;
}

html {
	scroll-behavior: smooth;
}

body.acs-theme {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	background: var(--acs-white);
	color: var(--acs-ink);
	/* Czech wrapping — avoid mid-word breaks where possible */
	hyphens: manual;
	overflow-wrap: normal;
	word-break: normal;
}

body.acs-theme h1,
body.acs-theme h2,
body.acs-theme h3,
body.acs-theme .wp-block-heading {
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: none;
	text-wrap: pretty;
	letter-spacing: -0.02em;
	/* never force ultra-narrow measure that chops Czech compounds */
	max-width: none;
}

body.acs-theme p {
	text-wrap: pretty;
	max-width: 42rem;
}

body.acs-theme .acs-measure-wide p {
	max-width: 54rem;
}

/* ——— Header (SALTO-like white bar) ——— */
.acs-theme .wp-site-blocks > header,
.acs-theme header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--acs-line);
	backdrop-filter: blur(10px);
}

.acs-theme .wp-block-site-title a {
	font-weight: 800;
	letter-spacing: -0.03em;
}

.acs-theme .wp-block-navigation a {
	font-size: 0.92rem;
	font-weight: 600;
}

.acs-theme .wp-block-site-logo img {
	border-radius: 2px;
}

/* ——— Hero: full-bleed dark (SALTO) + photo depth (dormakaba) ——— */
.acs-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	min-height: min(92vh, 920px);
}

.acs-hero .wp-block-cover__image-background {
	transform: scale(1.05);
	animation: acs-kenburns 26s linear infinite alternate;
	filter: saturate(0.85) contrast(1.08) brightness(0.78);
	will-change: transform;
}

.acs-hero .wp-block-cover__background {
	background:
		linear-gradient(
			90deg,
			rgba(8, 14, 10, 0.92) 0%,
			rgba(8, 14, 10, 0.78) 42%,
			rgba(8, 14, 10, 0.35) 100%
		) !important;
	opacity: 1 !important;
}

.acs-hero h1 {
	font-size: clamp(2.4rem, 5.5vw, 4.4rem) !important;
	line-height: 1.05 !important;
	letter-spacing: -0.035em;
	max-width: 18ch; /* allow natural Czech wrap, not 14ch crush */
}

.acs-hero .acs-hero-copy {
	max-width: 36rem;
	font-size: clamp(1.05rem, 1.5vw, 1.28rem);
	line-height: 1.55;
	color: #d5e4cc !important;
}

.acs-hero-enter > * {
	opacity: 0;
	transform: translateY(16px);
	animation: acs-rise 0.85s var(--acs-ease) forwards;
}
.acs-hero-enter > *:nth-child(1) { animation-delay: 0.05s; }
.acs-hero-enter > *:nth-child(2) { animation-delay: 0.16s; }
.acs-hero-enter > *:nth-child(3) { animation-delay: 0.28s; }
.acs-hero-enter > *:nth-child(4) { animation-delay: 0.4s; }

@keyframes acs-kenburns {
	from { transform: scale(1.05) translate3d(0, 0, 0); }
	to { transform: scale(1.12) translate3d(-1%, -0.5%, 0); }
}
@keyframes acs-rise {
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.acs-hero .wp-block-cover__image-background { animation: none; transform: none; }
	.acs-hero-enter > * { opacity: 1; transform: none; animation: none; }
}

/* Kicker — SALTO/dormakaba label */
.acs-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--acs-green) !important;
	font-family: "Space Grotesk", system-ui, sans-serif;
	font-weight: 700;
	font-size: 0.7rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}
.acs-kicker::before {
	content: "";
	width: 2rem;
	height: 2px;
	background: currentColor;
}
.acs-hero .acs-kicker { color: #b8df7a !important; }

/* ——— Sections ——— */
.acs-section {
	padding-block: clamp(4rem, 9vw, 7.5rem);
}

.acs-section-title {
	font-size: clamp(1.85rem, 3.8vw, 3rem) !important;
	line-height: 1.12 !important;
	letter-spacing: -0.03em;
	max-width: 22ch;
	margin-bottom: 0.75rem;
}

.acs-lead {
	font-size: 1.15rem;
	line-height: 1.65;
	color: var(--acs-muted);
	max-width: 40rem;
}

/* Dark band like SALTO mid-page */
.acs-dark-band {
	background: var(--acs-forest);
	color: #d9e6d2;
}
.acs-dark-band h2,
.acs-dark-band h3,
.acs-dark-band .acs-section-title {
	color: #fff !important;
}
.acs-dark-band .acs-kicker { color: #b8df7a !important; }
.acs-dark-band .acs-lead,
.acs-dark-band p { color: #c5d6bc; }

/* Industry / sector tiles — dormakaba + SALTO industries */
.acs-industry-grid {
	display: grid;
	gap: 1rem;
}

.acs-industry-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 260px;
	padding: 1.5rem 1.35rem;
	border-radius: 4px;
	overflow: hidden;
	background-color: var(--acs-forest-2);
	background-size: cover;
	background-position: center;
	color: #fff;
	text-decoration: none !important;
	isolation: isolate;
	transition: transform 0.35s var(--acs-ease), box-shadow 0.35s var(--acs-ease);
}
.acs-industry-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(8, 14, 10, 0.15) 0%, rgba(8, 14, 10, 0.88) 72%),
		linear-gradient(135deg, rgba(124, 179, 66, 0.18), transparent 50%);
	z-index: 0;
	transition: background 0.35s var(--acs-ease);
}
.acs-industry-card:hover::before {
	background:
		linear-gradient(180deg, rgba(8, 14, 10, 0.05) 0%, rgba(8, 14, 10, 0.82) 70%),
		linear-gradient(135deg, rgba(124, 179, 66, 0.28), transparent 55%);
}
.acs-industry-card > * { position: relative; z-index: 1; }
.acs-industry-card h3 {
	color: #fff !important;
	margin: 0 0 0.35rem;
	font-size: 1.2rem;
}
.acs-industry-card p {
	margin: 0;
	color: #d5e2cd;
	font-size: 0.95rem;
	max-width: none;
}
.acs-industry-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}
.acs-industry-card .acs-more {
	margin-top: 0.85rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #b8df7a;
}

/* Why-us strip */
.acs-why-item {
	border-top: 2px solid var(--acs-green);
	padding-top: 1.25rem;
}
.acs-why-item h3 {
	margin-top: 0;
	font-size: 1.15rem;
}

/* Product teasers / reveals */
.acs-reveal,
.acs-product-card,
.acs-product-row,
.acs-solution-tile {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.7s var(--acs-ease), transform 0.7s var(--acs-ease);
}
.acs-reveal.is-inview,
.acs-product-card.is-inview,
.acs-product-row.is-inview,
.acs-solution-tile.is-inview {
	opacity: 1;
	transform: none;
}

/* Photo cards stay visible — previews must not hide behind opacity:0 */
.acs-industry-card,
.acs-ref-card {
	opacity: 1 !important;
	transform: translateY(10px);
	transition: transform 0.55s var(--acs-ease), box-shadow 0.35s var(--acs-ease);
}
.acs-industry-card.is-inview,
.acs-ref-card.is-inview {
	transform: none;
}

.acs-product-card img,
.acs-product-row img {
	border-radius: 2px;
	transition: transform 0.65s var(--acs-ease);
}
.acs-product-card:hover img,
.acs-product-row:hover img {
	transform: scale(1.03);
}
.acs-product-card a,
.acs-product-row a { text-decoration: none; }
.acs-product-card h3 { margin-top: 0.9rem; }

.acs-solution-tile {
	border: 1px solid var(--acs-line);
	border-radius: 4px;
	background: #fff;
	transition: border-color 0.3s var(--acs-ease), transform 0.3s var(--acs-ease);
}
.acs-solution-tile:hover {
	border-color: rgba(124, 179, 66, 0.55);
	transform: translateY(-3px);
}

/* Reference cards with photo thumbs */
.acs-ref-grid {
	display: grid;
	gap: 1.25rem;
}
@media (min-width: 782px) {
	.acs-ref-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (min-width: 1100px) {
	.acs-ref-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.acs-ref-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--acs-line);
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
	transition: transform 0.3s var(--acs-ease), box-shadow 0.3s var(--acs-ease);
}
.acs-ref-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 32px rgba(12, 18, 13, 0.08);
}
.acs-ref-card figure {
	margin: 0;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #e8ede6;
}
.acs-ref-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s var(--acs-ease);
}
.acs-ref-card:hover img {
	transform: scale(1.04);
}
.acs-ref-card .acs-ref-body {
	padding: 1rem 1.1rem 1.15rem;
	display: grid;
	gap: 0.3rem;
}
.acs-ref-card strong {
	font-family: "Space Grotesk", system-ui, sans-serif;
	font-size: 1.05rem;
	letter-spacing: -0.02em;
}
.acs-ref-card span {
	color: var(--acs-muted);
	font-size: 0.92rem;
	line-height: 1.45;
}

/* Origo flip-boxes → static cards (sector + product category + desc) */
.acs-flip-grid {
	display: grid;
	gap: 1.25rem;
}
@media (min-width: 782px) {
	.acs-flip-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (min-width: 1100px) {
	.acs-flip-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.acs-flip-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--acs-line);
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: transform 0.3s var(--acs-ease), box-shadow 0.3s var(--acs-ease);
}
.acs-flip-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 32px rgba(12, 18, 13, 0.08);
	color: inherit;
}
.acs-flip-card figure {
	margin: 0;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #e8ede6;
}
.acs-flip-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
	transition: transform 0.6s var(--acs-ease);
}
.acs-flip-card:hover img {
	transform: scale(1.03);
}
.acs-flip-body {
	padding: 1rem 1.1rem 1.2rem;
	display: grid;
	gap: 0.35rem;
	/* green “back” signal from origo flip without the flip UX */
	border-top: 3px solid var(--acs-green);
}
.acs-flip-sector {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--acs-muted);
}
.acs-flip-card strong {
	font-family: "Space Grotesk", system-ui, sans-serif;
	font-size: 1.02rem;
	letter-spacing: -0.02em;
	line-height: 1.25;
}
.acs-flip-desc {
	color: var(--acs-muted);
	font-size: 0.9rem;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* CEO / leadership quotes (origo testimonial slider → static cards) */
.acs-ceo-section .acs-lead {
	max-width: 40rem;
}

.acs-ceo-grid {
	display: grid;
	gap: 1.25rem;
}
@media (min-width: 900px) {
	.acs-ceo-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.acs-ceo-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 1.25rem;
	padding: 1.5rem 1.35rem 1.35rem;
	background: #fff;
	border: 1px solid var(--acs-line);
	border-radius: 6px;
	box-shadow: 0 10px 28px rgba(12, 18, 13, 0.06);
}

.acs-ceo-card blockquote {
	margin: 0;
	padding: 0;
	border: 0;
}

.acs-ceo-card blockquote p {
	margin: 0;
	font-style: italic;
	font-size: 1.02rem;
	line-height: 1.55;
	color: var(--acs-ink);
	max-width: none;
}

.acs-ceo-person {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

.acs-ceo-person img {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	background: #e8ede6;
}

.acs-ceo-person strong {
	display: block;
	font-family: "Space Grotesk", system-ui, sans-serif;
	font-size: 1rem;
	letter-spacing: -0.02em;
}

.acs-ceo-person span {
	display: block;
	margin-top: 0.15rem;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--acs-green);
}

/* Hotel / access solutions gallery (origo „nejen pro hotely“) */
.acs-sol-grid {
	display: grid;
	gap: 1.1rem;
	grid-template-columns: 1fr;
}
@media (min-width: 700px) {
	.acs-sol-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (min-width: 1020px) {
	.acs-sol-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.acs-sol-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--acs-line);
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: transform 0.3s var(--acs-ease), box-shadow 0.3s var(--acs-ease);
}
.acs-sol-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 32px rgba(12, 18, 13, 0.08);
	color: inherit;
}
.acs-sol-card figure {
	margin: 0;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #f3f5f1;
}
.acs-sol-card img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	padding: 0.9rem;
	box-sizing: border-box;
	transition: transform 0.5s var(--acs-ease);
}
.acs-sol-card:hover img {
	transform: scale(1.03);
}
.acs-sol-body {
	padding: 0.85rem 1rem 1.05rem;
	display: grid;
	gap: 0.25rem;
	border-top: 1px solid var(--acs-line);
}
.acs-sol-card strong {
	font-family: "Space Grotesk", system-ui, sans-serif;
	font-size: 0.98rem;
	letter-spacing: -0.02em;
	line-height: 1.3;
}
.acs-sol-card span {
	color: var(--acs-muted);
	font-size: 0.82rem;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}
.acs-sol-card--empty {
	min-height: 220px;
	justify-content: flex-end;
	background: linear-gradient(180deg, #f4f6f3 0%, #fff 55%);
}

/* Sector solution pages — modern hero + points */
.acs-sol-hero-band {
	padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
	background:
		radial-gradient(900px 420px at 12% 0%, rgba(124, 179, 66, 0.14), transparent 60%),
		linear-gradient(180deg, #f5f7f3 0%, #ffffff 70%);
}
.acs-sol-hero-cols {
	align-items: center;
	gap: clamp(1.5rem, 4vw, 3rem);
}
.acs-sol-hero-media {
	margin: 0;
	border-radius: 6px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #e8ede6;
	box-shadow: 0 18px 40px rgba(12, 18, 13, 0.1);
}
.acs-sol-hero-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.acs-sol-points {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.85rem;
}
.acs-sol-points li {
	position: relative;
	padding: 1rem 1.1rem 1rem 1.35rem;
	border-left: 3px solid var(--acs-green);
	background: #f7f8f6;
	color: var(--acs-ink);
	line-height: 1.5;
	max-width: none;
}

.acs-sector-grid {
	display: grid;
	gap: 1.25rem;
}
@media (min-width: 800px) {
	.acs-sector-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (min-width: 1100px) {
	.acs-sector-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}
.acs-sector-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--acs-line);
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: transform 0.3s var(--acs-ease), box-shadow 0.3s var(--acs-ease);
}
.acs-sector-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 36px rgba(12, 18, 13, 0.09);
	color: inherit;
}
.acs-sector-card figure {
	margin: 0;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #e8ede6;
}
.acs-sector-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.55s var(--acs-ease);
}
.acs-sector-card:hover img {
	transform: scale(1.04);
}
.acs-sector-body {
	padding: 1.05rem 1.15rem 1.25rem;
	display: grid;
	gap: 0.4rem;
}
.acs-sector-body strong {
	font-family: "Space Grotesk", system-ui, sans-serif;
	font-size: 1.08rem;
	letter-spacing: -0.02em;
	line-height: 1.25;
}
.acs-sector-body > span:last-child {
	color: var(--acs-muted);
	font-size: 0.92rem;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Product portfolio category grid */
.acs-port-grid {
	display: grid;
	gap: 1.25rem;
}
@media (min-width: 700px) {
	.acs-port-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (min-width: 1100px) {
	.acs-port-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}
.acs-port-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--acs-line);
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: transform 0.3s var(--acs-ease), box-shadow 0.3s var(--acs-ease);
}
.acs-port-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 36px rgba(12, 18, 13, 0.09);
	color: inherit;
}
.acs-port-card figure {
	margin: 0;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #f3f5f1;
	display: flex;
	align-items: center;
	justify-content: center;
}
.acs-port-card img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	display: block;
	padding: 0.75rem;
	box-sizing: border-box;
	transition: transform 0.55s var(--acs-ease);
}
.acs-port-card figure.acs-port-photo {
	background: #e8ede6;
}
.acs-port-card figure.acs-port-photo img {
	object-fit: cover;
	padding: 0;
}
.acs-port-card:hover img {
	transform: scale(1.03);
}
.acs-port-empty {
	background:
		linear-gradient(135deg, #e8ede6 0%, #f7f8f6 55%, #dcecc8 100%);
}
.acs-port-body {
	padding: 1.05rem 1.15rem 1.25rem;
	display: grid;
	gap: 0.35rem;
}
.acs-port-body strong {
	font-family: "Space Grotesk", system-ui, sans-serif;
	font-size: 1.05rem;
	letter-spacing: -0.02em;
	line-height: 1.25;
}
.acs-port-body span {
	color: var(--acs-muted);
	font-size: 0.92rem;
	line-height: 1.45;
}

/* Legacy list row (kept for safety) */
.acs-ref-item {
	display: grid;
	gap: 0.35rem;
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--acs-line);
}
.acs-ref-item strong {
	font-family: "Space Grotesk", system-ui, sans-serif;
	font-size: 1.1rem;
}
.acs-ref-item span {
	color: var(--acs-muted);
	font-size: 0.95rem;
}

/* Product teaser polish */
.acs-product-card figure {
	margin: 0;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #eef2ec;
	border-radius: 2px;
}
.acs-product-card figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* iSmart cloud note (TTLock) */
.acs-ismart-note {
	margin: 1.25rem 0 1.75rem;
	padding: 1rem 1.15rem 1.05rem 1.2rem;
	border: 1px solid var(--acs-line);
	border-left: 4px solid var(--acs-green);
	border-radius: 4px;
	background: linear-gradient(135deg, #f7faf3 0%, #eef5e6 100%);
}
.acs-ismart-note p {
	margin: 0 !important;
	color: var(--acs-ink) !important;
	font-size: 1.02rem;
	line-height: 1.55;
	max-width: 42rem;
}
.acs-ismart-note a {
	color: #2e7d32;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}
.acs-ismart-note a:hover {
	color: var(--acs-forest);
}

/* iSmart product page */
.acs-ismart-hero-card {
	display: grid;
	gap: 0.35rem;
	align-content: center;
	min-height: 280px;
	padding: 2rem 1.75rem;
	border-radius: 4px;
	background:
		linear-gradient(145deg, #0b1a0d 0%, #163a1a 55%, #2e5a24 100%);
	color: #fff;
	box-shadow: 0 18px 40px rgba(11, 26, 13, 0.18);
}
.acs-ismart-hero-card strong {
	font-family: "Space Grotesk", sans-serif;
	font-size: clamp(2.4rem, 4vw, 3.4rem);
	letter-spacing: -0.04em;
	line-height: 1;
}
.acs-ismart-hero-card > span {
	font-family: "Space Grotesk", sans-serif;
	font-size: 1.35rem;
	font-weight: 600;
	color: #b8df7a;
	letter-spacing: 0.04em;
	text-transform: lowercase;
}
.acs-ismart-hero-card p {
	margin: 1rem 0 0 !important;
	color: rgba(255, 255, 255, 0.88) !important;
	max-width: 16rem;
	line-height: 1.45;
}
.acs-ismart-grid {
	display: grid;
	gap: 1rem;
	margin-top: 1.25rem;
}
@media (min-width: 720px) {
	.acs-ismart-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (min-width: 1024px) {
	.acs-ismart-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}
.acs-ismart-item {
	padding: 1.1rem 1.15rem 1.2rem;
	border: 1px solid var(--acs-line);
	border-radius: 4px;
	background: #fff;
	display: grid;
	gap: 0.4rem;
}
.acs-ismart-item strong {
	font-family: "Space Grotesk", sans-serif;
	font-size: 1.05rem;
	letter-spacing: -0.02em;
}
.acs-ismart-item span {
	color: var(--acs-muted);
	font-size: 0.98rem;
	line-height: 1.5;
}

/* CTA */
.acs-cta-band {
	position: relative;
	overflow: hidden;
	border-radius: 4px;
	background: linear-gradient(115deg, #0b1a0d 0%, #163a1a 60%, #1f4d22 100%);
	color: #fff;
}
.acs-cta-band::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 5px;
	background: var(--acs-green);
}
.acs-cta-band h2,
.acs-cta-band p {
	color: #fff !important;
	position: relative;
	z-index: 1;
	max-width: 36rem;
}
.acs-cta-band .wp-block-button__link { position: relative; z-index: 1; }

.acs-surface {
	background: #fff;
	border: 1px solid var(--acs-line);
	border-radius: 4px;
}

/* Buttons */
.acs-theme .wp-block-button__link {
	border-radius: 999px;
	font-weight: 700;
	letter-spacing: 0.02em;
	transition: transform 0.22s var(--acs-ease), box-shadow 0.22s var(--acs-ease), background-color 0.22s var(--acs-ease);
}
.acs-theme .wp-block-button__link:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 28px rgba(11, 26, 13, 0.2);
}
.acs-hero .is-style-outline .wp-block-button__link {
	border-color: rgba(255, 255, 255, 0.65) !important;
	color: #fff !important;
	background: transparent;
}
.acs-hero .is-style-outline .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: #fff !important;
}

/* Footer */
.acs-theme footer.wp-block-template-part,
.acs-theme .wp-site-blocks > footer {
	background: var(--acs-forest);
	color: #cfdcc8;
	margin-top: 0;
	border-top: 3px solid var(--acs-green);
}
.acs-theme footer a { color: #dcecc8; }
.acs-theme footer h1,
.acs-theme footer h2,
.acs-theme footer h3,
.acs-theme footer .wp-block-site-title a {
	color: #fff !important;
}

/* Page title blocks */
.acs-page-hero {
	padding-top: clamp(3rem, 6vw, 5rem);
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--acs-line);
	margin-bottom: 2rem;
}
.acs-page-hero h1 {
	font-size: clamp(2.1rem, 4.5vw, 3.4rem) !important;
	line-height: 1.1 !important;
	max-width: 20ch;
}

@media (min-width: 782px) {
	.acs-industry-grid.acs-cols-3 {
		grid-template-columns: repeat(3, 1fr);
	}
	.acs-industry-grid.acs-cols-2 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 781px) {
	.acs-hero { min-height: 78vh !important; }
	.acs-hero h1 { max-width: none; }
	.acs-section-title { max-width: none; }
	.acs-page-hero h1 { max-width: none; }
}

/* Intro split — title left / copy right (dormakaba-like) */
.acs-intro-split {
	display: grid;
	gap: 1.5rem 3rem;
	align-items: start;
}
@media (min-width: 900px) {
	.acs-intro-split {
		grid-template-columns: minmax(16rem, 0.9fr) minmax(20rem, 1.2fr);
	}
	.acs-intro-split .acs-section-title {
		max-width: none;
	}
	.acs-intro-split .acs-lead,
	.acs-intro-split p {
		max-width: none;
	}
}

/* Prevent awkward orphan wraps on CTAs / long Czech compounds */
.acs-hero h1,
.acs-section-title,
.acs-page-hero h1 {
	overflow-wrap: anywhere;
	word-break: normal;
	hyphens: manual;
}
@supports (text-wrap: balance) {
	.acs-hero h1,
	.acs-section-title {
		text-wrap: balance;
	}
}
