/*
Theme Name: AUTOSLOSI
Description: Šablona pro autoservis a pneuservis AUTOSLOSI s.r.o., Pustá Polom.
Version: 1.3.1
Requires at least: 3.4
Requires PHP: 5.3
Text Domain: autoslosi
*/

:root {
	/* Černá z manuálu loga, zelená z cedule na budově. */
	--black: #191919;
	--ink: #23272a;
	--panel: #202221;
	--grey: #555a56;
	--grey-light: #f2f4f3;
	--line: #dfe2e0;
	--white: #fff;
	--green: #086a40;
	--green-dark: #064f30;
	--green-light: #4fbf88;
	--red: #c8281e;
	--radius: 4px;
	--wrap: 1200px;
	--font: Montserrat, "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

[id] {
	scroll-margin-top: 100px;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--ink);
	background: var(--white);
}

img,
iframe {
	max-width: 100%;
}

img {
	height: auto;
	display: block;
}

a {
	color: var(--green);
	text-underline-offset: 0.15em;
}

a:hover {
	color: var(--green-dark);
}

:focus-visible {
	outline: 3px solid var(--green-light);
	outline-offset: 2px;
}

h1,
h2,
h3 {
	line-height: 1.2;
	margin: 0 0 0.6em;
	font-weight: 800;
}

p,
ul,
address,
dl,
table {
	margin: 0 0 1.1em;
}

address {
	font-style: normal;
}

.wrap {
	width: min(100% - 2.5rem, var(--wrap));
	margin-inline: auto;
}

.icon {
	flex: none;
	width: 1.25em;
	height: 1.25em;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	z-index: 100;
	padding: 0.75rem 1rem;
	background: var(--white);
	color: var(--black);
}

.skip-link:focus {
	left: 0;
}

.eyebrow {
	margin-bottom: 0.4rem;
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--green-light);
}

/* Horní lišta */

.topbar {
	background: var(--black);
	color: var(--white);
	font-size: 0.875rem;
}

.topbar__inner {
	display: flex;
	align-items: center;
	gap: 0.25rem 2rem;
	min-height: 42px;
}

.topbar__item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
}

.topbar__item .icon {
	color: var(--green-light);
}

.topbar__item--phone {
	margin-left: auto;
	font-weight: 700;
}

.topbar a {
	color: var(--white);
	text-decoration: none;
}

.topbar a:hover {
	color: var(--green-light);
}

@media (max-width: 900px) {
	.topbar__item--hours {
		display: none;
	}
}

@media (max-width: 560px) {
	.topbar__item:first-child span {
		display: none;
	}

	.topbar__item:first-child {
		display: none;
	}

	.topbar__item--phone {
		margin-inline: auto;
	}
}

/* Hlavička */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--white);
	box-shadow: 0 1px 0 var(--line), 0 4px 14px rgb(0 0 0 / 6%);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: 84px;
}

.site-logo {
	flex: none;
}

.site-logo img {
	width: auto;
	height: 46px;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin-left: auto;
}

.site-nav__list,
.site-nav__list .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__list {
	display: flex;
	gap: 0.25rem;
}

.site-nav__list > li {
	position: relative;
}

.site-nav__list a {
	display: block;
	padding: 0.6rem 0.9rem;
	color: var(--black);
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none;
	white-space: nowrap;
}

.site-nav__list > li > a {
	line-height: 84px;
	padding-block: 0;
	box-shadow: inset 0 -3px 0 transparent;
}

.site-nav__list > li > a:hover,
.site-nav__list > .current-menu-item > a,
.site-nav__list > .current-menu-parent > a {
	color: var(--green);
	box-shadow: inset 0 -3px 0 var(--green);
}

.site-nav__list > .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 0.4em;
	height: 0.4em;
	margin-left: 0.5em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-0.2em) rotate(45deg);
}

.site-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	padding: 0.4rem 0;
	background: var(--white);
	border-top: 3px solid var(--green);
	box-shadow: 0 12px 28px rgb(0 0 0 / 16%);
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.15s;
}

.site-nav__list li:hover > .sub-menu,
.site-nav__list li:focus-within > .sub-menu {
	visibility: visible;
	opacity: 1;
}

.site-nav__list .sub-menu a:hover,
.site-nav__list .sub-menu .current-menu-item > a {
	background: var(--grey-light);
	color: var(--green);
}

.nav-toggle {
	display: none;
	align-items: center;
	gap: 0.6rem;
	margin-left: auto;
	padding: 0.7rem 0.9rem;
	font: inherit;
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--black);
	background: transparent;
	border: 2px solid var(--black);
	border-radius: var(--radius);
	cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
}

.nav-toggle__bars {
	position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.nav-toggle__bars::before {
	top: -6px;
}

.nav-toggle__bars::after {
	top: 6px;
}

@media (max-width: 1080px) {
	.site-header__inner {
		flex-wrap: wrap;
		min-height: 68px;
	}

	.site-logo img {
		height: 38px;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.site-nav {
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0.75rem;
		width: 100%;
		margin: 0;
		padding-bottom: 1rem;
	}

	.site-nav.is-open {
		display: flex;
	}

	.site-nav__list {
		flex-direction: column;
		gap: 0;
	}

	.site-nav__list > li > a {
		line-height: 1.3;
		padding: 0.8rem 0.25rem;
		border-top: 1px solid var(--line);
		box-shadow: none;
	}

	.site-nav__list > li > a:hover,
	.site-nav__list > .current-menu-item > a,
	.site-nav__list > .current-menu-parent > a {
		box-shadow: none;
	}

	.site-nav__list .sub-menu {
		position: static;
		padding: 0 0 0.5rem 1rem;
		border: 0;
		box-shadow: none;
		visibility: visible;
		opacity: 1;
	}

	.site-nav__list .sub-menu a {
		padding: 0.55rem 0.25rem;
		font-weight: 600;
		text-transform: none;
		letter-spacing: 0;
		font-size: 0.95rem;
	}

	.site-nav__cta {
		justify-content: center;
	}
}

@media (max-width: 420px) {
	.site-logo img {
		height: 30px;
	}

	.nav-toggle span:last-child {
		display: none;
	}
}

/* Tlačítka */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.85rem 1.4rem;
	font-family: inherit;
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none;
	border: 2px solid transparent;
	border-radius: var(--radius);
	cursor: pointer;
}

.btn--small {
	padding: 0.6rem 1.1rem;
}

.btn--primary {
	background: var(--green);
	color: var(--white);
}

.btn--primary:hover {
	background: var(--green-dark);
	color: var(--white);
}

.btn--ghost {
	color: var(--white);
	border-color: rgb(255 255 255 / 75%);
}

.btn--ghost .icon {
	color: var(--green-light);
}

.btn--ghost:hover {
	background: var(--white);
	color: var(--black);
}

.btn--ghost:hover .icon {
	color: var(--green);
}

.btn--light {
	background: var(--white);
	color: var(--black);
}

.btn--light:hover {
	background: var(--grey-light);
	color: var(--black);
}

.btn--outline {
	color: var(--green);
	border-color: var(--green);
}

.btn--outline:hover {
	background: var(--green);
	color: var(--white);
}

/* Úvod */

.hero {
	position: relative;
	background: var(--black);
	color: var(--white);
	overflow: hidden;
}

.hero__image {
	position: absolute;
	top: 0;
	right: 0;
	width: 64%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 40%;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, var(--black) 0%, var(--black) 38%, rgb(25 25 25 / 70%) 52%, rgb(25 25 25 / 0%) 72%);
}

.hero__content {
	position: relative;
	z-index: 1;
	padding-block: clamp(2.5rem, 5vw, 3.75rem);
}

.hero__title {
	display: flex;
	flex-direction: column;
	margin-bottom: 1rem;
	font-size: clamp(2.1rem, 4.6vw, 3.4rem);
	line-height: 1.05;
	text-transform: uppercase;
}

.hero__title-accent {
	color: var(--green-light);
}

.hero__title-small {
	margin-top: 0.35rem;
	font-size: 0.62em;
}

.hero__lead {
	max-width: 30rem;
	font-size: 1.05rem;
}

.hero__actions,
.cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
}

.hero__services {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem 2.25rem;
	margin: 2.25rem 0 0;
	padding: 0;
	list-style: none;
}

.hero__services a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	color: var(--white);
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
}

.hero__services .icon {
	width: 2.4rem;
	height: 2.4rem;
	color: var(--green-light);
	stroke-width: 1.3;
}

.hero__services a:hover {
	color: var(--green-light);
}

@media (max-width: 860px) {
	.hero__image {
		width: 100%;
	}

	.hero::after {
		background: rgb(25 25 25 / 82%);
	}

	.hero__services {
		gap: 1rem 1.5rem;
	}
}

/* Sekce */

.section {
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

.section__title {
	position: relative;
	padding-bottom: 0.6rem;
	font-size: clamp(1.35rem, 2.6vw, 1.7rem);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.section__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 40px;
	height: 3px;
	background: var(--green);
}

.section__title--center {
	margin-bottom: 2rem;
	text-align: center;
}

.section__title--center::after {
	left: 50%;
	transform: translateX(-50%);
}

.section__title--spaced {
	margin-top: 3rem;
}

.split {
	display: grid;
	gap: 2.5rem;
}

@media (min-width: 820px) {
	.split {
		grid-template-columns: 1fr 1fr;
		gap: 4rem;
	}
}

/* Karty služeb */

.cards {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-bottom: 1.25rem;
	color: inherit;
	text-align: center;
	text-decoration: none;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 6px 18px rgb(0 0 0 / 7%);
	overflow: hidden;
	transition: transform 0.15s, box-shadow 0.15s;
}

.card:hover {
	color: inherit;
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgb(0 0 0 / 14%);
}

.card__media {
	display: block;
	width: 100%;
	height: 150px;
	background: linear-gradient(135deg, var(--black), var(--green-dark));
}

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

.card__icon {
	display: grid;
	place-items: center;
	width: 68px;
	height: 68px;
	margin-top: -34px;
	color: var(--green);
	background: var(--white);
	border-radius: 50%;
	box-shadow: 0 2px 8px rgb(0 0 0 / 12%);
}

.card__icon .icon {
	width: 34px;
	height: 34px;
}

.card__title {
	margin: 0.9rem 1rem 0.5rem;
	font-size: 1.1rem;
	font-weight: 700;
}

.card__text {
	margin-inline: 1.1rem;
	font-size: 0.875rem;
	color: var(--grey);
}

.card__more {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: auto;
	padding-top: 0.25rem;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--green);
}

/* O nás */

.about {
	padding-block: clamp(2.25rem, 4vw, 3rem);
	background: var(--black);
	color: var(--white);
}

.about__inner {
	display: grid;
	gap: 2rem 2.5rem;
	align-items: center;
}

.about__title {
	font-size: clamp(1.35rem, 2.4vw, 1.6rem);
}

.about__text p {
	font-size: 0.95rem;
	color: #d5d8d6;
}

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

.about__points {
	display: grid;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.about__points li {
	display: flex;
	align-items: center;
	gap: 1rem;
	font-size: 0.9rem;
	color: #d5d8d6;
}

.about__points strong {
	display: block;
	color: var(--white);
}

.about__points .icon {
	width: 2.4rem;
	height: 2.4rem;
	color: var(--green-light);
	stroke-width: 1.3;
}

.about__photos {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
}

.about__photos img {
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius);
}

@media (min-width: 760px) {
	.about__inner {
		grid-template-columns: 1fr 1fr;
	}

	.about__photos {
		grid-column: 1 / -1;
	}
}

@media (min-width: 1080px) {
	.about__inner {
		grid-template-columns: 1.25fr 0.9fr 1.85fr;
	}

	.about__photos {
		grid-column: auto;
	}
}

/* Kde nás najdete */

.locate {
	display: grid;
	background: var(--panel);
	color: var(--white);
}

.locate__where,
.locate__hours {
	padding: 2rem clamp(1.25rem, 4vw, 3rem);
}

.locate__where {
	background: var(--green);
}

.locate__title {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.locate__title .icon {
	width: 1.9rem;
	height: 1.9rem;
}

.locate__hours .locate__title .icon {
	color: var(--green-light);
}

.locate__address {
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.3;
}

.locate__map {
	position: relative;
	min-height: 260px;
	background: var(--grey-light);
}

.locate__map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.locate .hours {
	max-width: 24rem;
	margin: 0;
}

.locate .hours th,
.locate .hours td,
.site-footer .hours th,
.site-footer .hours td {
	border-color: rgb(255 255 255 / 15%);
}

@media (min-width: 900px) {
	.locate {
		grid-template-columns: 31fr 35fr 34fr;
	}
}

.video__frame,
.map {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--black);
	border-radius: var(--radius);
	overflow: hidden;
}

/* Prezentace na úvodní stránce: tmavý pruh přes celou šířku jako hero a O nás. */

.video {
	background: var(--black);
	color: var(--white);
}

/* Animovaná prezentace: každý snímek trvá --step, celá smyčka --count snímků. */

.show {
	--step: 6s;
	--loop: calc(var(--count) * var(--step));
	position: relative;
}

.show__stage {
	position: relative;
	height: clamp(360px, 42vw, 560px);
	background: var(--black);
	color: var(--white);
	overflow: hidden;
	container-type: inline-size;
}

.show__slide {
	position: absolute;
	inset: 0;
	display: grid;
	align-items: center;
	opacity: 0;
	animation: show-slide var(--loop) linear infinite backwards;
	animation-delay: calc(var(--i) * var(--step));
}

.show__slide--intro,
.show__slide--outro,
.show__slide--plain {
	align-items: center;
	text-align: center;
}

.show__slide--plain {
	background: linear-gradient(135deg, var(--black), var(--green-dark));
}

.show__slide--outro {
	background: var(--green);
}

.show__photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: show-zoom var(--loop) linear infinite backwards;
	animation-delay: inherit;
}

.show__slide--photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, var(--black) 0%, rgb(25 25 25 / 92%) 30%, rgb(25 25 25 / 55%) 55%, rgb(25 25 25 / 0%) 78%);
}

@media (max-width: 700px) {
	.show__slide--photo {
		align-items: end;
	}

	.show__slide--photo::after {
		background: linear-gradient(180deg, rgb(25 25 25 / 15%) 20%, rgb(25 25 25 / 92%) 100%);
	}
}

.show__caption {
	position: relative;
	z-index: 1;
	/* Text začíná na stejné svislici jako obsah ostatních sekcí (.wrap). */
	padding: clamp(1.5rem, 4cqw, 3rem) max(1.25rem, calc((100cqw - var(--wrap)) / 2));
	animation: show-rise var(--loop) ease-out infinite backwards;
	animation-delay: inherit;
}

.show__caption p {
	margin: 0;
}

.show__logo {
	width: clamp(220px, 34cqw, 440px);
	height: auto;
	margin: 0 auto clamp(1rem, 3cqw, 2rem);
}

.show__icon {
	display: inline-grid;
	place-items: center;
	width: clamp(48px, 6cqw, 72px);
	height: clamp(48px, 6cqw, 72px);
	margin-bottom: 1rem;
	color: var(--white);
	background: var(--green);
	border-radius: 50%;
}

.show__slide--plain .show__icon {
	width: clamp(72px, 10cqw, 110px);
	height: clamp(72px, 10cqw, 110px);
	margin-bottom: 1.25rem;
}

.show__icon .icon {
	width: 55%;
	height: 55%;
}

.show__title {
	font-size: clamp(1.5rem, 4cqw, 2.6rem);
	font-weight: 800;
	line-height: 1.15;
	text-transform: uppercase;
}

.show__phone {
	font-size: clamp(2rem, 6cqw, 3.6rem);
	font-weight: 800;
	line-height: 1.2;
}

.show__text {
	max-width: 34rem;
	padding-top: 0.5rem;
	font-size: clamp(0.95rem, 1.6cqw, 1.15rem);
	line-height: 1.45;
}

.show__slide--intro .show__text,
.show__slide--outro .show__text,
.show__slide--plain .show__text {
	margin-inline: auto;
}

.show__slide--intro .show__text {
	color: var(--green-light);
	font-weight: 700;
}

.show__progress {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 2;
	width: 100%;
	height: 4px;
	background: var(--green-light);
	transform-origin: left;
	animation: show-progress var(--step) linear infinite;
}

.show__bar {
	background: var(--panel);
	border-top: 1px solid rgb(255 255 255 / 8%);
}

.show__bar-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.5rem;
	padding-block: 0.9rem;
	font-size: 0.875rem;
}

.show__label {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0 auto 0 0;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.show__label .icon {
	width: 1.4rem;
	height: 1.4rem;
	color: var(--green-light);
}

.show__link {
	color: var(--green-light);
}

.show__link:hover {
	color: var(--white);
}

.show__toggle {
	padding: 0.4rem 0.9rem;
	font: inherit;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--white);
	background: transparent;
	border: 2px solid rgb(255 255 255 / 55%);
	border-radius: var(--radius);
	cursor: pointer;
}

.show__toggle:hover {
	color: var(--black);
	background: var(--white);
	border-color: var(--white);
}

.show.is-paused * {
	animation-play-state: paused;
}

/* Podíl jednoho snímku na smyčce je 100 % / 7 = 14,29 %. */

@keyframes show-slide {
	0% {
		opacity: 0;
	}

	2%,
	14.29% {
		opacity: 1;
	}

	16.3%,
	100% {
		opacity: 0;
	}
}

@keyframes show-zoom {
	0% {
		transform: scale(1);
	}

	16.3%,
	100% {
		transform: scale(1.12);
	}
}

@keyframes show-rise {
	0%,
	1% {
		opacity: 0;
		transform: translateY(4cqw);
	}

	4%,
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes show-progress {
	from {
		transform: scaleX(0);
	}

	to {
		transform: scaleX(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.show__slide,
	.show__photo,
	.show__caption,
	.show__progress {
		animation: none;
	}

	.show__slide:first-child {
		opacity: 1;
	}

	.show__toggle,
	.show__progress {
		display: none;
	}
}

.video__frame iframe,
.map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.map {
	aspect-ratio: 16 / 7;
	margin-bottom: 0.75rem;
	background: var(--grey-light);
}

@media (max-width: 600px) {
	.map {
		aspect-ratio: 4 / 3;
	}
}

/* Provozní doba, kontakty */

.hours {
	width: 100%;
	max-width: 22rem;
	border-collapse: collapse;
}

.hours th,
.hours td {
	padding: 0.4rem 0;
	text-align: left;
	border-bottom: 1px solid var(--line);
}

.hours th {
	font-weight: 600;
}

.hours td {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.contact-block {
	font-size: 1.1rem;
}

.contact-list {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 0.35rem 1.25rem;
	margin-bottom: 2.5rem;
}

.contact-list dt {
	font-weight: 700;
}

.contact-list dd {
	margin: 0;
}

/* Podstránky */

.page-head {
	padding-block: 2.25rem;
	background: var(--ink);
	color: var(--white);
}

.page-head__crumb {
	margin-bottom: 0.4rem;
	font-size: 0.9rem;
	opacity: 0.85;
}

.page-head__crumb a {
	color: var(--green-light);
}

.page-head__title {
	margin: 0;
	font-size: clamp(1.9rem, 5vw, 3rem);
	text-transform: uppercase;
}

.service {
	display: grid;
	gap: 2.5rem;
	align-items: start;
}

@media (min-width: 900px) {
	.service {
		grid-template-columns: 5fr 6fr;
	}

	.service--text {
		grid-template-columns: minmax(0, 46rem);
	}
}

.service__media {
	margin: 0;
}

.service__media img {
	width: 100%;
	border-radius: var(--radius);
}

.lead {
	font-size: 1.2rem;
}

.checklist {
	padding: 0;
	list-style: none;
	font-size: 1.1rem;
}

.checklist li {
	position: relative;
	padding: 0.6rem 0 0.6rem 2rem;
	border-bottom: 1px solid var(--line);
}

.checklist li::before {
	content: "";
	position: absolute;
	left: 0.2rem;
	top: 1rem;
	width: 0.9rem;
	height: 0.5rem;
	border-left: 3px solid var(--green);
	border-bottom: 3px solid var(--green);
	transform: rotate(-45deg);
}

.checklist li::first-letter {
	text-transform: uppercase;
}

.brands {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	padding: 0;
	list-style: none;
}

.brands li {
	padding: 0.2rem 0.65rem;
	font-size: 0.92rem;
	background: var(--grey-light);
	border-radius: 999px;
}

.prose h2 {
	margin-top: 1.5em;
	font-size: 1.4rem;
}

.service-nav {
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
}

.service-nav__title {
	font-size: 1.1rem;
}

.service-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	padding: 0;
	margin: 0;
	list-style: none;
}

.service-nav a {
	font-weight: 600;
}

/* Ceník */

.prices {
	width: 100%;
	max-width: 46rem;
	border-collapse: collapse;
}

.prices th,
.prices td {
	padding: 0.8rem 1rem;
	text-align: left;
	border-bottom: 1px solid var(--line);
}

.prices thead th {
	background: var(--ink);
	color: var(--white);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.prices tbody th {
	font-weight: 500;
}

.prices td,
.prices thead th:last-child {
	text-align: right;
	white-space: nowrap;
}

.prices td {
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.prices tbody tr:nth-child(even) {
	background: var(--grey-light);
}

.note {
	font-size: 0.9rem;
	color: var(--grey);
}

@media (max-width: 520px) {
	.prices th,
	.prices td {
		padding: 0.7rem 0.5rem;
	}

	.prices td {
		white-space: normal;
	}
}

/* Formulář */

.form-card {
	padding: 1.75rem;
	background: var(--grey-light);
	border-radius: var(--radius);
	scroll-margin-top: 90px;
}

.form p {
	margin-bottom: 1rem;
}

.form label {
	display: block;
	margin-bottom: 0.3rem;
	font-weight: 600;
	font-size: 0.95rem;
}

.form input,
.form textarea {
	width: 100%;
	padding: 0.7rem 0.8rem;
	font: inherit;
	color: var(--ink);
	background: var(--white);
	border: 1px solid #aeb3b0;
	border-radius: var(--radius);
}

.form input:focus,
.form textarea:focus {
	border-color: var(--green);
}

.form__row {
	display: grid;
	gap: 0 1rem;
}

@media (min-width: 520px) {
	.form__row {
		grid-template-columns: 1fr 1fr;
	}
}

.form__hint {
	font-size: 0.9rem;
	color: var(--grey);
}

.form__trap {
	position: absolute;
	left: -9999px;
}

.notice {
	padding: 0.8rem 1rem;
	font-weight: 600;
	border-left: 4px solid;
	border-radius: var(--radius);
	background: var(--white);
}

.notice--ok {
	border-color: var(--green);
	color: var(--green-dark);
}

.notice--error {
	border-color: var(--red);
	color: var(--red);
}

/* Výzva a patička */

.cta {
	padding-block: 2.25rem;
	background: var(--green);
	color: var(--white);
}

.cta__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
}

.cta__title {
	margin: 0;
	font-size: clamp(1.3rem, 2.6vw, 1.7rem);
	text-transform: uppercase;
}

.site-footer {
	padding-top: 3rem;
	background: var(--black);
	color: #d5d8d6;
	font-size: 0.925rem;
}

.site-footer a {
	color: var(--white);
}

.site-footer a:hover {
	color: var(--green-light);
}

.site-footer__grid {
	display: grid;
	gap: 2rem 3rem;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.site-footer__logo {
	width: auto;
	height: 40px;
	margin-bottom: 1.1rem;
}

.site-footer__title {
	font-size: 0.95rem;
	color: var(--white);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.site-footer__list {
	padding: 0;
	list-style: none;
}

.site-footer__list li {
	margin-bottom: 0.3rem;
}

.site-footer__bottom {
	margin-top: 2rem;
	padding-block: 1.1rem;
	border-top: 1px solid rgb(255 255 255 / 15%);
	font-size: 0.85rem;
}

.site-footer__bottom p {
	margin: 0;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.card,
	.site-nav__list .sub-menu {
		transition: none;
	}
}
