@charset "UTF-8";

:root {
	--green: #1f5f3a;
	--green-dark: #123c25;
	--green-mid: #2f7a4b;
	--green-soft: #edf7f1;
	--gold: #b99644;
	--gold-text: #7b5a16;
	--gold-light: #f4d26a;
	--text: #1f2a24;
	--muted: #5f6f66;
	--bg: #f7f4ec;
	--white: #ffffff;
	--border: #dfe7df;
	--shadow: 0 18px 45px rgba(18, 60, 37, .14);
	--radius: 24px;
	--container: 1320px;
	--header-height: 82px;
	--hero-height: 620px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 95px;
}

section[id] {
	scroll-margin-top: 95px;
}

body {
	margin: 0;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	color: var(--text);
	background: var(--bg);
	line-height: 1.6;
}

a {
	color: inherit;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Klouzavý hover efekt odkazů */

.main-nav a,
.article-card a,
.contact-card a,
.footer-inner a {
	position: relative;
	display: inline-block;
	text-decoration: none;
	overflow: hidden;
	padding-bottom: 3px;
}

.main-nav a::after,
.article-card a::after,
.contact-card a::after,
.footer-inner a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 2px;
	border-radius: 999px;
	background: var(--gold);
	transform: translateX(-105%);
	transition: transform .26s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a[aria-current="page"]::after,
.article-card a:hover::after,
.article-card a:focus-visible::after,
.contact-card a:hover::after,
.contact-card a:focus-visible::after,
.footer-inner a:hover::after,
.footer-inner a:focus-visible::after {
	transform: translateX(0);
}

/* Header */

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(223, 231, 223, .9);
}

.header-inner {
	width: min(var(--container), calc(100% - 40px));
	margin: 0 auto;
	padding: 14px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--header-height);
}

.logo-link {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	font-weight: 800;
	color: var(--green-dark);
}

.logo-link img {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 auto;
}

.logo-text {
	line-height: 1.2;
}

.logo-text span {
	display: block;
	margin-top: 2px;
	font-size: 13px;
	font-weight: 600;
	color: var(--muted);
}

/* Tlačítko mobilního menu */

.nav-toggle {
	display: none;
	width: 46px;
	height: 46px;
	padding: 10px;
	border: 1px solid var(--border);
	border-radius: 14px;
	background: #fff;
	color: var(--green-dark);
	cursor: pointer;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	flex: 0 0 46px;
	box-shadow: 0 8px 18px rgba(18, 60, 37, .1);
	transition:
		background-color .18s ease,
		border-color .18s ease,
		box-shadow .18s ease;
}

.nav-toggle[hidden] {
	display: none;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
	background: var(--green-soft);
	border-color: rgba(31, 95, 58, .35);
}

.nav-toggle:focus-visible {
	outline: 3px solid var(--gold-light);
	outline-offset: 3px;
}

.nav-toggle__line {
	display: block;
	width: 23px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
	transition:
		transform .2s ease,
		opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
	display: flex;
	align-items: center;
	gap: 18px;
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
}

.main-nav a {
	color: var(--green-dark);
	transition: color .18s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
	color: var(--green);
}

/* Tlačítko Telefon v hlavním menu */

.main-nav .phone-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	gap: 7px;
	min-height: 38px;
	padding: 9px 16px;
	border-radius: 999px;
	background: var(--green);
	color: #fff !important;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	overflow: visible;
	box-shadow: 0 8px 18px rgba(18, 60, 37, .14);
	transition:
		background-color .18s ease,
		color .18s ease,
		box-shadow .18s ease,
		transform .18s ease;
}

.main-nav .phone-link__icon {
	display: block;
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	transform: none;
}

.main-nav .phone-link > span {
	display: inline;
	line-height: 1;
}

.main-nav .phone-link::after {
	display: none;
}

.main-nav .phone-link:hover,
.main-nav .phone-link:focus-visible {
	background: var(--green-dark);
	color: #fff !important;
	transform: translateY(-1px);
	box-shadow: 0 12px 24px rgba(18, 60, 37, .18);
}

.main-nav .phone-link:focus-visible {
	outline: 3px solid var(--gold-light);
	outline-offset: 3px;
}

/* Hero – jednotná výška pro úvod a podstránky */

.hero {
	min-height: var(--hero-height);
	display: flex;
	align-items: center;
	background:
		linear-gradient(135deg, rgba(18, 60, 37, .90), rgba(31, 95, 58, .76)),
		url("../img/servis-webu-pozadi.jpg") center/cover no-repeat;
	color: #fff;
	overflow: hidden;
}

.hero-inner {
	width: min(var(--container), calc(100% - 40px));
	margin: 0 auto;
	padding: 76px 0;
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
	gap: 64px;
	align-items: center;
}

.hero-content {
	max-width: 980px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 13px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .13);
	border: 1px solid rgba(255, 255, 255, .24);
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 22px;
}

.hero h1 {
	max-width: 980px;
	margin: 0 0 18px;
	font-size: clamp(38px, 6vw, 72px);
	line-height: 1.02;
	letter-spacing: -0.045em;
}

.hero h1 span {
	color: var(--gold-light);
}

@media (min-width: 769px) {
	.hero h1 span {
		display: block;
	}
}

.hero-lead {
	max-width: 900px;
	margin: 0 0 28px;
	font-size: clamp(18px, 2.2vw, 24px);
	color: rgba(255, 255, 255, .9);
}

/* Stabilní třířádkový popis v hero sekci na počítači */

@media (min-width: 901px) {
	.hero-lead--three-lines {
		line-height: 1.55;
		min-height: 4.65em;
	}

	.hero-lead--three-lines span {
		display: block;
		white-space: nowrap;
	}
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 28px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 13px 20px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 800;
	border: 2px solid transparent;
	transition:
		transform .18s ease,
		background-color .18s ease,
		border-color .18s ease,
		box-shadow .18s ease;
}

.button:hover,
.button:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(18, 60, 37, .16);
}

.button-primary {
	background: var(--gold-light);
	color: #17331f;
}

.button-primary:hover,
.button-primary:focus-visible {
	background: #ffe083;
	color: #17331f;
}

.button-secondary {
	color: #fff;
	border-color: rgba(255, 255, 255, .5);
}

.button-secondary:hover,
.button-secondary:focus-visible {
	border-color: #fff;
	background: rgba(255, 255, 255, .08);
	color: #fff;
}

.hero-card {
	background: rgba(255, 255, 255, .96);
	color: var(--text);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 34px;
	min-height: 330px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	transition:
		transform .18s ease,
		box-shadow .18s ease,
		border-color .18s ease;
}

.hero-card img {
	width: 110px;
	height: 110px;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 20px;
}

.hero-card h2 {
	margin: 0 0 12px;
	font-size: 24px;
	color: var(--green-dark);
}

.hero-card p {
	margin: 0;
	color: var(--muted);
}

/* Stabilizace pravé hero karty – sjednocení výšky popisu mezi stránkami */
@media (min-width: 901px) {
	.hero-card > p {
		min-height: 72px;
	}
}

.hero-card ul {
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.hero-card li {
	padding: 9px 0 9px 28px;
	position: relative;
	border-top: 1px solid var(--border);
}

.hero-card li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	color: var(--green);
	font-weight: 900;
}

/* Podstránkový hero – stejná výška jako úvod */

.hero--subpage {
	min-height: var(--hero-height);
}

.hero--subpage .hero-inner {
	padding-top: 76px;
	padding-bottom: 76px;
}

.hero--subpage h1 {
	font-size: clamp(36px, 5vw, 62px);
}

.hero-card--clean img {
	background: transparent;
}

/* Sections */

.section {
	width: min(var(--container), calc(100% - 40px));
	max-width: none;
	margin: 0 auto;
	padding: 72px 0;
}

.section-header {
	width: 100%;
	max-width: none;
	margin-bottom: 34px;
}

.section-kicker {
	text-transform: uppercase;
	letter-spacing: .12em;
	font-size: 13px;
	font-weight: 900;
	color: var(--gold-text);
	margin-bottom: 10px;
}

.section h2 {
	width: 100%;
	max-width: none;
	margin: 0 0 14px;
	font-size: clamp(30px, 3vw, 42px);
	line-height: 1.12;
	letter-spacing: -0.03em;
	color: var(--green-dark);
}

.section-header p {
	width: 100%;
	max-width: none;
	margin: 0;
	font-size: 18px;
	color: var(--muted);
}

.section-more {
	margin-top: 28px;
}

.section-header--wide,
.section-header--wide h2,
.section-header--wide p {
	max-width: none;
}

/* Cards */

.services-grid,
.projects-grid,
.articles-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	width: 100%;
}

.service-card,
.project-card,
.article-card,
.contact-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 26px;
	box-shadow: 0 10px 30px rgba(31, 95, 58, .07);
	transition:
		transform .18s ease,
		box-shadow .18s ease,
		border-color .18s ease;
}

.service-card:hover,
.project-card:hover,
.article-card:hover,
.contact-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 38px rgba(31, 95, 58, .11);
	border-color: rgba(185, 150, 68, .45);
}

.service-card h3,
.project-card h3,
.article-card h3 {
	margin: 0 0 10px;
	font-size: 22px;
	color: var(--green-dark);
}

.service-card p,
.project-card p,
.article-card p {
	margin: 0;
	color: var(--muted);
}

.article-card a {
	color: var(--green-dark);
	font-weight: 600;
	transition: color .18s ease;
}

.article-card a:hover,
.article-card a:focus-visible {
	color: var(--green);
}

/* About – obecné */

.about {
	background: var(--green-soft);
}

.about-inner {
	width: min(var(--container), calc(100% - 40px));
	margin: 0 auto;
	padding: 72px 0;
	display: grid;
	grid-template-columns: .9fr 1.1fr;
	gap: 42px;
	align-items: center;
}

.about-layout {
	width: 100%;
	display: grid;
	grid-template-columns: .9fr 1.1fr;
	gap: 42px;
	align-items: center;
}

.about-photo {
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	background: var(--green-dark);
}

.about-photo img {
	width: 100%;
	min-height: 360px;
	object-fit: cover;
}

.about-photo--clean {
	background: #fff;
	padding: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.about-photo--clean img {
	width: 100%;
	height: auto;
	min-height: 0;
	max-height: 360px;
	object-fit: contain;
	object-position: center;
	background: transparent;
}

.about-text h2 {
	max-width: 900px;
	margin: 0 0 18px;
	font-size: clamp(30px, 3vw, 42px);
	line-height: 1.12;
	letter-spacing: -0.03em;
	color: var(--green-dark);
}

.about-text p {
	max-width: 980px;
	font-size: 18px;
	color: var(--muted);
}

.badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}

.badge {
	padding: 8px 12px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 999px;
	font-weight: 800;
	color: var(--green-dark);
}

/* O mně – úvodní dvousloupcová sekce */

.page-about .section--about-intro {
	width: 100%;
	max-width: none;
	background: var(--green-soft);
	padding: 92px 0;
}

.page-about .section--about-intro .about-layout {
	width: min(var(--container), calc(100% - 40px));
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(280px, 500px) minmax(0, 1fr);
	align-items: center;
	gap: 64px;
}

.page-about .section--about-intro .about-photo {
	width: 100%;
	max-width: 500px;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow);
	overflow: hidden;
}

.page-about .section--about-intro .about-photo--clean {
	padding: 28px;
}

.page-about .section--about-intro .about-photo img {
	width: 100%;
	height: auto;
	min-height: 0;
	max-height: 330px;
	object-fit: contain;
	object-position: center;
	background: transparent;
}

.page-about .section--about-intro .about-text,
.page-about .section--about-intro .about-text h2,
.page-about .section--about-intro .about-text p {
	max-width: 720px;
}

.page-about .section--about-intro .about-text p {
	margin: 0 0 18px;
}

.page-about .section--about-intro .about-text p:last-of-type {
	margin-bottom: 0;
}

.page-about .section--about-intro .badges {
	margin-top: 24px;
}

/* Info accordion */

.info-accordion {
	display: grid;
	gap: 14px;
	width: 100%;
	max-width: none;
}

.info-panel {
	width: 100%;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: 0 10px 30px rgba(31, 95, 58, .07);
	overflow: hidden;
}

.info-panel summary {
	cursor: pointer;
	padding: 22px 26px;
	font-size: 18px;
	font-weight: 700;
	color: var(--green-dark);
	list-style: none;
	outline: none;
}

.info-panel summary::-webkit-details-marker {
	display: none;
}

.info-panel summary::after {
	content: "+";
	float: right;
	color: var(--gold);
	font-size: 24px;
	line-height: 1;
}

.info-panel[open] summary::after {
	content: "-";
}

.info-panel-content {
	padding: 0 26px 26px;
	color: var(--muted);
}

.info-panel-content p {
	max-width: none;
	margin: 0 0 14px;
}

.info-panel-content p:last-child {
	margin-bottom: 0;
}

.info-panel-content ul {
	max-width: none;
	margin: 0 0 16px;
	padding-left: 22px;
	color: var(--muted);
}

.info-panel-content li {
	margin-bottom: 6px;
}

/* Služby – obrazová sekce */

.service-feature {
	padding-top: 0;
	padding-bottom: 0;
}

.service-feature .about-photo {
	background: #fff;
}

.service-feature .about-photo img {
	width: 100%;
	height: auto;
	min-height: 0;
	aspect-ratio: 981 / 535;
	object-fit: contain;
	object-position: center;
	background: #fff;
	padding: 18px;
}

/* Realizace */

.realizations-intro {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: clamp(24px, 4vw, 42px);
}

.realizations-intro p {
	max-width: 980px;
	margin: 0 0 16px;
	font-size: 18px;
	line-height: 1.75;
	color: var(--muted);
}

.realizations-intro p:last-child {
	margin-bottom: 0;
}

.realizations-note {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	padding: 8px 13px;
	border-radius: 999px;
	background: var(--green-soft);
	color: var(--green-dark);
	font-weight: 800;
	font-size: 14px;
}

.realizations-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
	align-items: start;
}

.realization-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 22px;
	box-shadow: 0 12px 28px rgba(18, 60, 37, .09);
	overflow: hidden;
	transition:
		transform .18s ease,
		box-shadow .18s ease,
		border-color .18s ease;
}

.realization-card:hover {
	transform: translateY(-3px);
	border-color: rgba(185, 150, 68, .7);
	box-shadow: 0 18px 38px rgba(18, 60, 37, .14);
}

.realization-card__image {
	display: block;
	background: #eef2ef;
	border-bottom: 1px solid var(--border);
}

.realization-card__image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: top center;
}

.realization-card__details {
	padding: 16px 18px 18px;
}

.realization-card__details summary {
	cursor: pointer;
	color: var(--green-dark);
	font-weight: 900;
	list-style-position: outside;
}

.realization-card__details summary::marker {
	color: var(--gold);
}

.realization-card__text {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--border);
	color: var(--muted);
}

.realization-card__text p {
	margin: 0;
}


/* Realizace – doplňkové obrázky uvnitř popisu projektu */

.realization-process {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
	margin: 26px 0;
}

.realization-process__item {
	margin: 0;
	overflow: hidden;
	background: var(--green-soft);
	border: 1px solid var(--border);
	border-radius: 18px;
	box-shadow: 0 10px 26px rgba(18, 60, 37, .08);
}

.realization-process__image {
	display: block;
	overflow: hidden;
	background: #fff;
	border-bottom: 1px solid var(--border);
	cursor: zoom-in;
}

.realization-process__image img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	object-position: top center;
	transition: transform .24s ease;
}

.realization-process__image:hover img,
.realization-process__image:focus-visible img {
	transform: scale(1.02);
}

.realization-process figcaption {
	padding: 15px 17px 17px;
}

.realization-process figcaption strong {
	display: block;
	margin-bottom: 5px;
	font-size: 18px;
	line-height: 1.3;
	color: var(--green-dark);
}

.realization-process figcaption span {
	display: block;
	font-size: 15px;
	line-height: 1.55;
	color: var(--muted);
}

.inline-smile {
	white-space: nowrap;
}

.inline-smile img {
	display: inline-block;
	margin-left: 4px;
	vertical-align: -4px;
}

@media (min-width: 901px) {
	.realizations-intro {
		column-count: 2;
		column-gap: 54px;
	}

	.realizations-note {
		break-after: avoid;
	}
}

@media (max-width: 720px) {
	.realizations-gallery {
		grid-template-columns: 1fr;
	}

	.realization-card__image img {
		aspect-ratio: 16 / 10;
	}
}

/* Lightbox */

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(18, 60, 37, .88);
	backdrop-filter: blur(8px);
}

.lightbox.is-open {
	display: flex;
}

.lightbox__inner {
	position: relative;
	max-width: min(1200px, 96vw);
	max-height: 92vh;
}

.lightbox__image {
	display: block;
	max-width: 100%;
	max-height: 88vh;
	width: auto;
	height: auto;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .36);
}

.lightbox__close {
	position: absolute;
	top: -16px;
	right: -16px;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 999px;
	background: var(--gold-light);
	color: var(--green-dark);
	font-size: 30px;
	line-height: 1;
	font-weight: 800;
	cursor: pointer;
	box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
}

.lightbox__close:hover,
.lightbox__close:focus-visible {
	background: #ffe083;
}

body.lightbox-open {
	overflow: hidden;
}

@media (max-width: 720px) {
	.lightbox {
		padding: 14px;
	}

	.lightbox__image {
		max-height: 88vh;
	}

	.lightbox__close {
		top: 10px;
		right: 10px;
	}
}

/* CTA */

.cta {
	background: var(--green-dark);
	color: #fff;
	border-radius: 32px;
	padding: 44px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	box-shadow: var(--shadow);
}

.cta h2 {
	color: #fff;
	margin: 0 0 10px;
}

.cta p {
	max-width: none;
	margin: 0;
	color: rgba(255, 255, 255, .82);
	font-size: 18px;
}

/* Contact */

.contact {
	width: 100%;
	background: #fff;
	max-width: none;
}

.contact .section-header,
.contact .contact-layout {
	width: min(var(--container), calc(100% - 40px));
	max-width: none;
	margin-left: auto;
	margin-right: auto;
}

.contact .section-header {
	margin-bottom: 34px;
}

.contact .section-header p {
	max-width: none;
}

.contact-layout {
	display: grid;
	grid-template-columns: 1.25fr .75fr;
	gap: 20px;
}

.contact-card-main {
	min-height: 100%;
}

.contact-card strong {
	display: block;
	color: var(--green-dark);
	font-size: 18px;
	margin-bottom: 8px;
}

.contact-card p {
	margin: 0;
	color: var(--muted);
}

.contact-card a {
	color: var(--green-dark);
	font-weight: 600;
	transition: color .18s ease;
}

.contact-card a:hover,
.contact-card a:focus-visible {
	color: var(--green);
}

.contact-lines {
	display: grid;
	gap: 8px;
}

.contact-line {
	display: flex;
	align-items: center;
	gap: 9px;
}

/* Cílové místo telefonu na stránce Kontakt */

.contact-line--phone {
	scroll-margin-top: 120px;
	border-radius: 10px;
	transition:
		background-color .25s ease,
		box-shadow .25s ease;
}

.contact-line--phone:target {
	background: var(--green-soft);
	box-shadow: 0 0 0 8px var(--green-soft);
}

.contact-icon {
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--gold);
}

.contact-icon svg {
	width: 20px;
	height: 20px;
	display: block;
	fill: currentColor;
}

.contact-note {
	margin-top: 18px !important;
	font-size: 15px;
	color: var(--muted);
}

.contact-details {
	grid-column: 1 / -1;
	padding: 0;
	overflow: hidden;
}

.contact-details summary {
	cursor: pointer;
	padding: 22px 26px;
	font-weight: 700;
	color: var(--green-dark);
	list-style: none;
	outline: none;
}

.contact-details summary::-webkit-details-marker {
	display: none;
}

.contact-details summary::after {
	content: "+";
	float: right;
	color: var(--gold);
	font-size: 22px;
	line-height: 1;
}

.contact-details[open] summary::after {
	content: "-";
}

.contact-details-content {
	padding: 0 26px 26px;
	color: var(--muted);
}

.contact-details-content p {
	margin: 0 0 12px;
}

.contact-details-content p:last-child {
	margin-bottom: 0;
}

/* Footer */

.site-footer {
	background: #102d1d;
	color: rgba(255, 255, 255, .82);
	padding: 30px 0;
}

.footer-inner {
	width: min(var(--container), calc(100% - 40px));
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 32px;
	align-items: start;
	font-size: 14px;
}

.footer-inner a {
	color: #fff;
	font-weight: 600;
	transition: color .18s ease;
}

.footer-inner a::after {
	background: var(--gold-light);
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
	color: var(--gold-light);
}

.footer-note {
	max-width: 1180px;
	margin: 14px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: rgba(255, 255, 255, .68);
}

/* Respektování nastavení uživatele – omezení animace */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.main-nav a::after,
	.article-card a::after,
	.contact-card a::after,
	.footer-inner a::after,
	.nav-toggle__line,
	.button,
	.phone-link,
	.service-card,
	.project-card,
	.article-card,
	.contact-card,
	.hero-card,
	.realization-card {
		transition: none;
	}

	.button:hover,
	.button:focus-visible,
	.phone-link:hover,
	.phone-link:focus-visible,
	.service-card:hover,
	.project-card:hover,
	.article-card:hover,
	.contact-card:hover,
	.realization-card:hover {
		transform: none;
		box-shadow: none;
	}

	.contact-line--phone {
		transition: none;
	}

	.realization-process__image img {
		transition: none;
	}

	.realization-process__image:hover img,
	.realization-process__image:focus-visible img {
		transform: none;
	}
}

/* Responsive */

@media (max-width: 1100px) {
	:root {
		--hero-height: 620px;
	}

	.header-inner,
	.hero-inner,
	.section,
	.about-inner,
	.contact .section-header,
	.contact .contact-layout,
	.footer-inner {
		width: min(var(--container), calc(100% - 36px));
	}

	.main-nav {
		gap: 14px;
		font-size: 14px;
	}

	.hero-inner {
		grid-template-columns: 1fr;
		gap: 38px;
	}

	.hero-card {
		max-width: 620px;
	}

	.page-about .section--about-intro .about-layout {
		width: min(var(--container), calc(100% - 36px));
		grid-template-columns: minmax(260px, 460px) minmax(0, 1fr);
		gap: 44px;
	}
}

@media (max-width: 900px) {
	:root {
		--hero-height: auto;
	}

	.header-inner {
		align-items: center;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 12px;
	}

	.logo-link {
		flex: 1 1 0;
		min-width: 0;
	}

	.logo-text {
		min-width: 0;
	}

	.nav-toggle:not([hidden]) {
		display: inline-flex;
		margin-left: auto;
	}

	.main-nav {
		width: 100%;
		align-items: stretch;
		flex-direction: column;
		gap: 0;
		padding: 8px 0 4px;
		border-top: 1px solid var(--border);
		overflow: visible;
		white-space: normal;
	}

	.main-nav.is-collapsible {
		display: none;
	}

	.main-nav.is-collapsible.is-open {
		display: flex;
		max-height: calc(100vh - 94px);
		overflow-y: auto;
	}

	.main-nav a {
		display: block;
		width: 100%;
		padding: 12px 4px;
	}

	.main-nav a:hover,
	.main-nav a:focus-visible,
	.main-nav a[aria-current="page"] {
		background: var(--green-soft);
	}

	.main-nav .phone-link {
		width: 100%;
		margin-top: 7px;
		padding: 12px 16px;
	}

	.hero,
	.hero--subpage {
		min-height: auto;
	}

	.hero-lead--three-lines {
		min-height: 0;
		line-height: inherit;
	}

	.hero-lead--three-lines span {
		display: inline;
		white-space: normal;
	}

	.hero-lead--three-lines span:not(:last-child)::after {
		content: " ";
	}

	.hero-inner,
	.hero--subpage .hero-inner {
		padding-top: 72px;
		padding-bottom: 64px;
	}

	.about-inner,
	.about-layout {
		grid-template-columns: 1fr;
	}

	.page-about .section--about-intro {
		padding-top: 64px;
		padding-bottom: 64px;
	}

	.page-about .section--about-intro .about-layout {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.page-about .section--about-intro .about-photo {
		max-width: 520px;
	}

	.page-about .section--about-intro .about-photo img {
		max-height: 320px;
	}

	.services-grid,
	.projects-grid,
	.articles-grid {
		grid-template-columns: 1fr 1fr;
	}

	.contact-layout {
		grid-template-columns: 1fr;
	}

	.cta {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 620px) {
	.header-inner,
	.hero-inner,
	.section,
	.about-inner,
	.contact .section-header,
	.contact .contact-layout,
	.footer-inner {
		width: calc(100% - 32px);
	}

	.page-about .section--about-intro .about-layout {
		width: calc(100% - 32px);
	}

	.logo-link img {
		width: 44px;
		height: 44px;
	}

	.logo-text {
		font-size: 15px;
	}

	.logo-text span {
		font-size: 12px;
	}

	.main-nav {
		gap: 0;
		font-size: 14px;
	}

	.hero-inner,
	.hero--subpage .hero-inner {
		padding: 62px 0 56px;
		gap: 32px;
	}

	.hero h1,
	.hero--subpage h1 {
		font-size: clamp(36px, 11vw, 48px);
		line-height: 1.04;
	}

	.hero-lead {
		font-size: 18px;
	}

	.hero-card {
		min-height: 0;
	}

	.section,
	.about-inner {
		padding: 54px 0;
	}

	.page-about .section--about-intro {
		padding-top: 54px;
		padding-bottom: 54px;
	}

	.services-grid,
	.projects-grid,
	.articles-grid {
		grid-template-columns: 1fr;
	}

	.hero-card,
	.service-card,
	.project-card,
	.article-card,
	.contact-card,
	.cta {
		border-radius: 20px;
		padding: 22px;
	}

	.info-panel {
		border-radius: 20px;
	}

	.info-panel summary {
		padding: 20px 22px;
		font-size: 17px;
	}

	.info-panel-content {
		padding: 0 22px 22px;
	}

	.contact-details {
		padding: 0;
	}

	.contact-details summary {
		padding: 20px 22px;
	}

	.contact-details-content {
		padding: 0 22px 22px;
	}

	.about-photo img {
		min-height: 260px;
	}

	.about-photo--clean img,
	.page-about .section--about-intro .about-photo img {
		min-height: 0;
		max-height: 260px;
	}

	.footer-inner {
		grid-template-columns: 1fr;
	}
}
