@font-face {
	font-display: swap;
	font-family: 'Michroma';
	font-style: normal;
	src: local("Michroma"),
		url('../fonts/Michroma.woff2') format('woff2');
}

@font-face {
	font-display: swap;
	font-family: 'Kanit';
	font-style: normal;
	font-weight: 400;
	src: local("Kanit"),
		url('../fonts/Kanit.woff2') format('woff2');
}

/* COOKIES */

#changeConsent {
	width: 44px;
	height: 44px;
	border: 1px solid var(--color-border-strong);
	border-radius: .35rem;

	background-image: url('../images/cookie.jpg');
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;

	opacity: .72;
	filter: saturate(.75) brightness(.85);
}

#changeConsent:hover {
	opacity: 1;
	filter: saturate(.9) brightness(1);
}

body.theme-light #changeConsent {
	opacity: .65;
	filter: saturate(.55) contrast(.9);
}

body.theme-dark #changeConsent {
	opacity: .72;
	filter: saturate(.75) brightness(.85);
}

/* ********************** */

body.theme-light {
	--color-page: #f5f8fb;
}

body {
	font-family: 'Kanit', sans-serif;
}

h1,
h2 {
	font-family: 'Michroma', sans-serif;
	font-weight: 600;
	padding-top: 2rem;
	padding-bottom: 1rem;
}

p,
li a {
	font-size: 1.25rem;
}

p+p {
	margin-top: 1rem;
}

.page-homepage {
	max-width: 1200px;
	margin-inline: auto;
	font-size: 0.95rem;
	/* padding-block: 5rem; */
	position: relative;
}

.page-homepage::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.04;

	background-image:
		linear-gradient(to right, currentColor 1px, transparent 1px),
		linear-gradient(to right, currentColor 1px, transparent 1px),
		linear-gradient(to right, currentColor 1px, transparent 1px),
		linear-gradient(to right, currentColor 1px, transparent 1px);

	background-size: 1px 100%;
	background-repeat: no-repeat;
	background-position:
		20% 0,
		40% 0,
		60% 0,
		80% 0;

	mask-image: linear-gradient(to bottom,
			transparent,
			transparent 32rem,
			black 38rem,
			black calc(100% - 8rem),
			transparent);
}

body.theme-dark .page-homepage::before {
	:not(.theme-light) {
		opacity: 0.02;
	}
}

.page-homepage section {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0;
	align-items: center;
	padding-block: 4.5rem;
}

.hp-hero {
	padding-block: 4rem 4.5rem;
	min-height: calc(100vh - 70px);
	padding-top: 6rem;
	padding-bottom: 4rem;
}

.hp-hero-text,
.hp-section-left .hp-section-text {
	grid-column: 1 / 4;
	/* padding: 0 3rem; */
}

.hp-hero-text>p:first-of-type {
	line-height: 1;
	margin-bottom: 0;
}

.hp-section-left .hp-section-visual {
	grid-column: 4 / 6;
}

.hp-hero-text {
	grid-row: 2;
	transform: translateY(8vh);
}

.hp-hero-cta {
	margin-top: 2rem;
	grid-row: 3;
	grid-column: 1 / 3;
}

.hp-hero-logo {
	grid-row: 1 / 3;
	grid-column: 3 / 6;
	color: var(--color-page);
	/* filter: brightness(.8); */
	filter: brightness(.45);
	opacity: .75;
	align-self: start;
	padding-top: 1rem;
}

body.theme-light .hp-hero-logo {
	filter: brightness(.9);
}

.page-homepage a {
	margin: 0;
}

.page-homepage a {
	display: flex;
	align-items: center;
	justify-content: space-between;

	width: 100%;
	padding: .75rem 1rem;
	border: 1px solid var(--color-border-strong);
	border-radius: .55rem;
	text-decoration: none;

	background:
		linear-gradient(to bottom,
			rgba(255, 255, 255, .03),
			rgba(255, 255, 255, .01));

	transition:
		background .15s ease,
		border-color .15s ease,
		transform .15s ease;

}

body.theme-light .page-homepage a,
body.theme-light .page-homepage a {
	background: rgba(210, 225, 245, .15);
	border-color: rgba(20, 40, 70, .12);
}

body.theme-dark .page-homepage a {
	:not(.theme-light) {
		border-color: rgba(255, 255, 255, .08);
	}
}

.page-homepage a::after {
	content: "→";
	opacity: .7;
	transition: transform .15s ease;
}

.page-homepage a:hover {
	transform: translateY(-1px);
}

.page-homepage a:hover::after,
.page-homepage a:focus::after {
	transform: translateX(.15rem);
}

.hp-section-center .hp-section-visual:first-child {
	grid-column: 1 / 2;
}

.hp-section-center .hp-section-text {
	grid-column: 2 / 5;
	text-align: center;
	padding-inline: 3rem;
}

.hp-section-center .hp-section-visual:last-child {
	grid-column: 5 / 6;
}

.hp-section-right .hp-section-visual {
	grid-column: 1 / 3;
}

.hp-section-right .hp-section-text {
	grid-column: 3 / 6;
	padding: 0 3rem;
}

.hp-section:not(.theme-light) a {
	padding: .65rem 1rem;
	border-color: rgba(255, 255, 255, .08);

}

.page-homepage h1 {
	font-size: clamp(2rem, 3vw, 3.2rem);
	margin-bottom: 3rem;
}

.page-homepage h2 {
	font-size: clamp(1.35rem, 2vw, 2rem);
	margin-bottom: 1.5rem;
}

.page-homepage p {
	max-width: 44rem;
	margin-bottom: 1.35rem;
	line-height: 1.8;
}

/* .page-page {
	max-width: 1200px;
	margin-inline: auto;
	font-size: 0.95rem;
	padding-block: 5rem;
	position: relative;
} */


.hp-section-center p {
	margin-inline: auto;
}

body.theme-light .hp-section-visual {
	min-height: 10rem;
	background: rgba();
	border: 1px solid rgba(20, 40, 70, .08);
	border-radius: .9rem;
	background:
		linear-gradient(to bottom,
			rgba(20, 40, 70, .04),
			rgba(20, 40, 70, .015));
	border: 1px solid rgba(20, 40, 70, .08);
	border-radius: .9rem;
	opacity: 0.75;
}


body.theme-dark:not(.theme-light) .hp-section-visual {
	min-height: 10rem;
	background:
		linear-gradient(to bottom,
			rgba(255, 255, 255, .12),
			rgba(255, 255, 255, .04));
	border-color: rgba(255, 255, 255, .08);
	border-radius: .9rem;
	opacity: 0.75;
}

.navbar-nav .nav-link.active {
	color: var(--color-text);
}

/* ********************************************************
*  ===== Obsahové stránky – jednoduchý civilní layout ===== 
*  ******************************************************** */

.page-page.action-default #content {
	max-width: 980px;
	margin-inline: auto;
	padding-block: 4rem 5rem;
}

/* žádné obří HP nadpisy */
.page-page.action-default #content>h1 {
	/* font-size: clamp(2rem, 3vw, 3rem); */
	line-height: 1.15;
	margin: 0 0 2rem;
	padding: 0;
	color: var(--color-headers);
}

.page-page.action-default #content>h2 {
	/* font-size: clamp(1.35rem, 2vw, 1.9rem); */
	line-height: 1.25;
	margin: 4rem 0 1rem;
	padding: 0;
	color: var(--color-headers);
}

/* normální čitelný text */
.page-page.action-default #content>p {
	max-width: 760px;
	/* font-size: 1.15rem; */
	/* line-height: 1.75; */
	margin: 0 0 1.2rem;
	/* font-weight: 400; */
}

.page-page.action-default #content>p,
.page-page.action-default #content li {
	font-size: 1rem;
	line-height: 1.65;
	font-weight: 400;
}

/* úvodní perex trochu silnější, ale ne billboard */
.page-page.action-default #content>h1+p,
.page-page.action-default #content>h1+p+p {
	font-size: 1.18rem;
	font-weight: 400;
}

/* seznam – žádné bootstrap karty, jen čistý moderní list */
.page-page.action-default #content>ul {
	list-style: none;
	padding: 0;
	margin: 1.5rem 0 0;

	max-width: 1050px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .85rem 2.5rem;
}

.page-page.action-default #content>ul>li {
	position: relative;
	min-height: 2.4rem;

	display: flex;
	align-items: flex-start;
	gap: .85rem;

	font-size: 1.08rem;
	line-height: 1.55;
	font-weight: 400;
}

/* výchozí ikona */
.page-page.action-default #content>ul>li::before {
	content: "";
	position: relative;
	top: 0.45em;
	width: 0.7rem;
	height: 0.7rem;
	background-color: var(--color-headers);
	mask: url("/images/sova-beak-only.svg") center / contain no-repeat;
	-webkit-mask: url("/images/sova-beak-only.svg") center / contain no-repeat;
	opacity: 0.45;
}

/* ****************
*  O nás - timeline
   **************** */

.timeline {
	max-width: 980px;
	margin: 2rem 0 4rem;
}

.timeline section {
	display: grid;
	grid-template-columns: 8rem 1fr;
	gap: 1.75rem;
	position: relative;
	padding: 0 0 2.25rem;
}

.timeline section::before {
	content: "";
	position: absolute;
	left: 7.25rem;
	top: .25rem;
	bottom: 0;
	width: 1px;
	background: rgba(255, 255, 255, .09);
}

body.theme-light .timeline section::before {
	background: rgba(20, 40, 70, .12);
}

.timeline section:last-child::before {
	display: none;
}

.timeline h3 {
	margin: 0;
	padding: 0;
	font-family: 'Michroma', sans-serif;
	font-size: clamp(.95rem, 1.15vw, 1.25rem);
	line-height: 1.25;
	font-weight: 400;
	color: var(--color-headers);
}

.timeline-content {
	max-width: 760px;
}


.timeline-content p {
	position: relative;
	padding-left: 1.6rem;
	margin: 0 0 .85rem;
	font-size: 1rem;
	line-height: 1.65;
	font-weight: 400;
}

.timeline .timeline-content p::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.45em;
	width: 0.7rem;
	height: 0.7rem;
	/* background-color: currentColor; */
	background-color: var(--color-headers);
	mask: url("/images/sova-beak-only.svg") center / contain no-repeat;
	-webkit-mask: url("/images/sova-beak-only.svg") center / contain no-repeat;
	opacity: 0.45;
}

.timeline-content p:last-child {
	margin-bottom: 0;
}

@media (max-width: 700px) {
	.timeline section {
		grid-template-columns: 1fr;
		gap: .4rem;
		padding-left: 1.25rem;
	}

	.timeline section::before {
		left: 0;
	}

	/* .timeline h2 {
		font-size: 1rem;
	} */
}

/* ===== Brand evolution ===== */

.brand-evolution {
	max-width: 760px;
	margin: 3rem 0 4rem;

	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	gap: 1.5rem;
	align-items: center;
}

.brand-evolution-item {
	min-height: 11rem;
	padding: 1.4rem;

	display: grid;
	place-items: center;
	gap: 1rem;

	/* border: 1px solid var(--color-border-strong); */
	border-radius: .9rem;

	background:
		linear-gradient(to bottom,
			rgba(255, 255, 255, .04),
			rgba(255, 255, 255, .015));
}

.brand-evolution-item img {
	display: block;
	width: auto;
	height: auto;
	max-width: min(100%, 13rem);
	max-height: 6rem;
	object-fit: contain;
}

.brand-evolution-item span {
	font-size: .95rem;
	line-height: 1.45;
	text-align: center;
	opacity: .78;
}

.brand-evolution-arrow {
	color: var(--color-headers);
	font-size: 1.6rem;
	line-height: 1;
	opacity: .65;
}

/* světlý režim */
body.theme-light .brand-evolution-item {
	background:
		linear-gradient(to bottom,
			rgba(20, 40, 70, .035),
			rgba(20, 40, 70, .012));
	border-color: rgba(20, 40, 70, .12);
}

/* ===== Owl divider ===== */

.owl-divider {
	margin: 4rem 0 3.5rem;
	display: flex;
	justify-content: center;
	align-items: center;
	pointer-events: none;
}

.owl-divider img {
	display: block;

	/* tady se to vědomě deformuje do šířky */
	width: min(34rem, 70vw);
	height: 2.2rem;
	object-fit: fill;
	opacity: .12;

	filter: brightness(.75);
}

body.theme-light .owl-divider img {
	opacity: .16;
	filter: none;
}

/* mobil */
@media (max-width: 700px) {
	.brand-evolution {
		grid-template-columns: 1fr;
		max-width: 100%;
		gap: 1rem;
	}

	.brand-evolution-arrow {
		transform: rotate(90deg);
		justify-self: center;
	}

	.brand-evolution-item {
		min-height: 9rem;
		padding: 1.2rem;
	}

	.brand-evolution-item img {
		max-width: min(100%, 11rem);
		max-height: 5rem;
	}

	.owl-divider {
		margin: 3rem 0;
	}

	.owl-divider img {
		width: min(8rem, 38vw);
	}
}


/* CTA */

.page-page.action-default #content .section-cta {
	margin: 1rem 0 2.5rem;
}

.page-page.action-default #content .section-cta a {
	display: inline-flex;
	align-items: center;
	gap: 1.5rem;
	padding: .55rem .85rem;
	border: 1px solid var(--color-border-strong);
	border-radius: .5rem;
	text-decoration: none;
	font-size: 1rem;
}

.page-page.action-default #content .section-cta a::after {
	content: "→";
	opacity: .7;
}

sekce opticky oddělit jen jemnou linkou,
ne krabicí .page-page.action-default #content>h2:not(:first-of-type) {
	padding-top: 3rem;
}

/* CTA jako tlačítko ve stylu homepage */
.page-page.action-default #content>p:last-child {
	margin-top: 2rem;
}

.page-page.action-default #content>p:last-child>a {
	display: inline-flex;
	align-items: center;
	gap: 3rem;

	padding: .75rem 1rem;
	min-width: 18rem;

	border: 1px solid var(--color-border-strong);
	border-radius: .55rem;
	text-decoration: none;
	font-weight: 700;

	background:
		linear-gradient(to bottom,
			rgba(255, 255, 255, .04),
			rgba(255, 255, 255, .015));
}

.page-page.action-default #content>p:last-child>a::after {
	content: "→";
	opacity: .7;
	margin-left: auto;
	transition: transform .15s ease;
}

.page-page.action-default #content>p:last-child>a:hover::after {
	transform: translateX(.15rem);
}

body.theme-light .page-page.action-default #content>p:last-child>a {
	background: rgba(210, 225, 245, .18);
	border-color: rgba(20, 40, 70, .12);
}

/* mobil */
@media (max-width: 720px) {
	.page-page.action-default #content {
		padding-block: 3rem;
	}

	.page-page.action-default #content>h2 {
		margin-top: 3rem;
	}

	.page-page.action-default #content>p,
	.page-page.action-default #content>ul {
		max-width: none;
	}
}

/* ===== Ceník – tabulky ===== */

.page-page.action-default #content table {
	width: 100%;
	max-width: 1050px;
	margin: 1.5rem 0 3rem;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;

	font-size: 1rem;
	line-height: 1.45;

	border: 1px solid var(--color-border-strong);
	border-radius: .8rem;
	background:
		linear-gradient(to bottom,
			rgba(255, 255, 255, .035),
			rgba(255, 255, 255, .012));
}

.page-page.action-default #content table th,
.page-page.action-default #content table td {
	padding: .85rem 1rem;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.page-page.action-default #content table th {
	color: var(--color-headers);
	font-weight: 400;
	font-family: 'Michroma', sans-serif;
	font-size: .85rem;
	letter-spacing: .02em;
	background: rgba(255, 255, 255, .04);
}

.page-page.action-default #content table tr:last-child td {
	border-bottom: 0;
}

.page-page.action-default #content table td:nth-child(2),
.page-page.action-default #content table td:nth-child(3) {
	white-space: nowrap;
}

.page-page.action-default #content table tbody tr:hover {
	background: rgba(255, 255, 255, .035);
}

/* světlý režim */
body.theme-light .page-page.action-default #content table {
	background:
		linear-gradient(to bottom,
			rgba(20, 40, 70, .035),
			rgba(20, 40, 70, .012));
	border-color: rgba(20, 40, 70, .12);
}

body.theme-light .page-page.action-default #content table th {
	background: rgba(20, 40, 70, .045);
}

body.theme-light .page-page.action-default #content table th,
body.theme-light .page-page.action-default #content table td {
	border-bottom-color: rgba(20, 40, 70, .09);
}

body.theme-light .page-page.action-default #content table tbody tr:hover {
	background: rgba(20, 40, 70, .035);
}

/* mobil – tabulky ať nerozbijí layout */
@media (max-width: 760px) {
	.page-page.action-default #content table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		border-radius: .6rem;
	}

	.page-page.action-default #content table th,
	.page-page.action-default #content table td {
		padding: .75rem .85rem;
		font-size: .95rem;
	}

	.page-page.action-default #content table th {
		font-size: .78rem;
	}

	.page-page.action-default #content table td:nth-child(2),
	.page-page.action-default #content table td:nth-child(3) {
		white-space: nowrap;
	}
}


/* FOOTER */

.site-footer {
	border-top: 1px solid var(--color-border-strong);
	background:
		linear-gradient(to bottom,
			rgba(255, 255, 255, .035),
			rgba(255, 255, 255, .015));
}

.footer-inner {
	max-width: 1200px;
	margin-inline: auto;
	padding: 2rem 1rem;

	display: grid;
	grid-template-columns: 1.35fr 1fr 0.5fr;
	gap: 1.5rem 3rem;
	align-items: start;
}

.footer-brand {
	min-width: 0;
	display: grid;
	gap: .35rem;
}

.footer-brand strong {
	color: var(--color-headers);
	font-size: 1.05rem;
}

.footer-brand span {
	opacity: .78;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: .7rem 1.25rem;
	align-content: flex-start;
}

.footer-legal {
	display: flex;
	flex-wrap: wrap;
	gap: .7rem 1.5rem;
	align-content: flex-start;
	justify-content: flex-start;
}

.footer-legal a {
	white-space: nowrap;
}

.footer-contact {
	grid-column: 1 / 2;

	display: flex;
	flex-wrap: wrap;
	gap: .65rem 1rem;

	min-width: 0;
}

.footer-contact a,
.footer-contact span {
	white-space: nowrap;
}

.footer-contact span {
	opacity: .78;
}

.footer-links a,
.footer-legal a,
.footer-contact a,
.footer-meta a {
	text-decoration: none;
}

.footer-links a:hover,
.footer-legal a:hover,
.footer-contact a:hover,
.footer-meta a:hover {
	text-decoration: underline;
}

.footer-legal a {
	opacity: .75;
}

.footer-meta {
	grid-column: 1 / -1;

	display: flex;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: .75rem 1rem;

	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, .08);

	font-size: .95rem;
}

.footer-meta span {
	opacity: .78;
}

body.theme-light .footer-meta {
	border-top-color: rgba(20, 40, 70, .10);
}

@media (max-width: 1050px) {
	.footer-inner {
		grid-template-columns: 1.2fr 1fr;
		gap: 1.5rem 2rem;
	}

	.footer-legal {
		grid-column: 2 / 3;
	}

	.footer-contact {
		grid-column: 1 / 2;
	}
}

@media (max-width: 760px) {
	.footer-inner {
		grid-template-columns: 1fr;
	}

	.footer-contact,
	.footer-legal,
	.footer-meta {
		justify-content: flex-start;
	}
}