/* Shared site CSS — homepage, service pages, layout, nav, and reusable section styles. */
:root {
	--primary-color: #0B2E33;
	--secondary-color: #4F7C82;
	--light-color: #B8E3E9;
	--dark-color: #0B2E33;
	--muted-color: #93B1B5;
	--primary-rgb: 11, 46, 51;
	--secondary-rgb: 79, 124, 130;
	--light-rgb: 184, 227, 233;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html, body {
	width: 100%;
	height: 100%;
	font-family: Arial, sans-serif;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	line-height: 1.6;
	color: var(--dark-color);
	background-color: white;
}

/* Skip link — first Tab target; hidden until focused for keyboard / screen-reader users. */
.skip-link {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10000;
	padding: 12px 18px;
	background: var(--primary-color);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	border-radius: 0 0 10px 0;
	transform: translateY(-120%);
	transition: transform 0.15s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
	transform: translateY(0);
	outline: 3px solid var(--light-color);
	outline-offset: 2px;
	color: #fff;
}

/* Main landmark — receives focus after skip-link without visible browser outline flash. */
.site-main {
	outline: none;
	flex: 1 0 auto;
	/* Offset sticky header when skip-link moves focus into main. */
	scroll-margin-top: 96px;
}

.site-main:focus,
.site-main:focus-visible {
	outline: none;
}

.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 0;
}

/* ========== Homepage — intro, colored service bands, about/trust CTA ========== */
.home-intro {
	padding: 40px 0 48px;
	text-align: center;
}

.home-intro__inner {
	max-width: 44rem;
	margin: 0 auto;
}

.home-intro__eyebrow {
	display: inline-block;
	margin: 0 0 12px;
	padding: 6px 24px;
	border-radius: 999px;
	background: rgba(var(--primary-rgb), 0.08);
	color: var(--secondary-color);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.home-intro h1 {
	margin: 0 0 14px;
	font-size: 1.85rem;
	line-height: 1.25;
	color: var(--primary-color);
}

.home-intro__lead {
	margin: 0 0 22px;
	font-size: 1.08rem;
	line-height: 1.65;
	color: var(--dark-color);
}

.home-intro__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 12px;
}

.home-intro__actions .service-cta {
	margin-top: 0;
}

/* Ghost CTA on light backgrounds — dark outline so it stays readable on white. */
.service-cta--ghost-dark {
	background: transparent;
	color: var(--primary-color);
	border-color: rgba(var(--primary-rgb), 0.35);
}

.service-cta--ghost-dark:hover,
.service-cta--ghost-dark:focus-visible {
	background: rgba(var(--primary-rgb), 0.06);
	border-color: var(--primary-color);
	color: var(--primary-color);
}

/* Colored service bands — signature homepage strips with image + CTA + short sell copy. */
.page-home .home-band {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
	color: #fff;
}

.page-home .home-band img {
	width: 40%;
	height: 350px;
	object-fit: cover;
	border-radius: 10px;
}

.page-home .home-band .content {
	flex: 1;
	text-align: center;
	padding: 0 20px;
}

.home-band__label {
	margin: 0 0 8px;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	opacity: 0.9;
}

.home-band__text {
	max-width: 28rem;
	margin: 16px auto 0;
	font-size: 1.05rem;
	line-height: 1.55;
	opacity: 0.95;
}

/* Nápisy s rámom — large bordered CTA links used in each colored homepage section. */
.page-home .link-text {
	display: inline-block;
	margin-top: 8px;
	font-size: 2em;
	font-weight: bold;
	color: #fff;
	text-decoration: none;
	padding: 15px 40px;
	border: 3px solid #fff;
	border-radius: 40px;
	transition: all 0.3s ease;
}

.page-home .link-text:hover {
	background: #fff;
	color: #333;
}

.page-home .section1 { background: var(--primary-color); }
.page-home .section2 { background: var(--secondary-color); }
.page-home .section3 { background: var(--muted-color); }

/* About / why-us — trust grid + Technické listy and quote conversion row. */
.home-about {
	padding: 56px 0 64px;
}

.home-about__head {
	max-width: 42rem;
	margin: 0 auto 36px;
	text-align: center;
}

.home-about__head h2 {
	margin: 0 0 12px;
	font-size: 1.75rem;
	line-height: 1.25;
	color: #fff;
}

.home-about__head > p {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.88);
}

.home-about__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	margin: 0;
}

/* Match “Kde pracujeme?” cards — reset default service-area top margin inside the grid. */
.home-about__item.service-area {
	margin-top: 0;
	height: 100%;
}

.home-about .service-area__title {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	gap: 12px;
	margin: 0 0 12px;
	text-align: left;
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--primary-color);
}

.home-about .service-area__content p {
	color: var(--dark-color);
}

.home-about__cta {
	display: grid;
	gap: 20px;
	margin-top: 40px;
	padding: 24px;
	border-radius: 16px;
	background: rgba(var(--light-rgb), 0.12);
	border: 1px solid rgba(var(--light-rgb), 0.22);
	align-items: center;
}

.home-about__cta-copy h3 {
	margin: 0 0 8px;
	font-size: 1.25rem;
	color: #fff;
}

.home-about__cta-copy p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.88);
}

.home-about__cta-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 12px;
}

.home-about__cta-actions .service-cta {
	margin-top: 0;
}

@media (min-width: 768px) {
	.home-intro h1 {
		font-size: 2.35rem;
	}

	.home-about__head h2 {
		font-size: 2.1rem;
	}

	.home-about__cta {
		grid-template-columns: 1.2fr auto;
		padding: 28px 32px;
	}

	/* Tablet — keep one column (4 rows) so the last card is never alone. */
	.home-about__grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.home-about .service-area__content {
		padding-left: calc(42px + 12px);
	}
}

/* Desktop only — true 2×2 grid for the four O nás cards. */
@media (min-width: 1024px) {
	.home-about__grid {
		grid-template-columns: 1fr 1fr;
		gap: 20px;
	}
}

@media (max-width: 768px) {
	.page-home .home-band {
		flex-direction: column;
		text-align: center;
		padding: 36px 24px;
	}

	/* Hide band photos on small screens — keep copy and CTA readable. */
	.page-home .home-band img {
		display: none;
	}

	.page-home .link-text {
		font-size: 1.45rem;
		padding: 12px 28px;
	}
}

/* ========== Site header — mobile-first logo + hamburger, desktop horizontal links ========== */
body.nav-open {
	overflow: hidden;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 200;
	height: 96px;
	background-color: var(--secondary-color);
	color: #fff;
	box-shadow: 0 1px 0 rgba(var(--primary-rgb), 0.2);
}

.site-header__bar {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	height: 96px;
	min-height: 96px;
	padding-top: 0;
	padding-bottom: 0;
	position: relative;
}

.site-logo {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	z-index: 2;
	line-height: 0;
}

.site-logo img {
	display: block;
	height: 72px;
	width: auto;
}

.nav-toggle {
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(var(--light-rgb), 0.55);
	border-radius: 8px;
	background: rgba(var(--primary-rgb), 0.28);
	color: #fff;
	cursor: pointer;
}

.nav-toggle__box {
	position: relative;
	display: block;
	width: 20px;
	height: 14px;
}

.nav-toggle__bar {
	position: absolute;
	left: 0;
	right: 0;
	height: 2px;
	border-radius: 1px;
	background: #fff;
	transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.nav-toggle__bar:nth-child(1) { top: 0; }
.nav-toggle__bar:nth-child(2) { top: 6px; }
.nav-toggle__bar:nth-child(3) { top: 12px; }

.site-header.is-nav-open .nav-toggle__bar:nth-child(1) {
	top: 6px;
	transform: rotate(45deg);
}

.site-header.is-nav-open .nav-toggle__bar:nth-child(2) {
	opacity: 0;
}

.site-header.is-nav-open .nav-toggle__bar:nth-child(3) {
	top: 6px;
	transform: rotate(-45deg);
}

.site-nav {
	position: fixed;
	inset: 0;
	z-index: 1;
	display: flex;
	align-items: stretch;
	justify-content: stretch;
	padding: 24px 20px 28px;
	margin-top: 96px;
	background: rgba(var(--primary-rgb), 0.96);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.site-header.is-nav-open .site-nav {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.site-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.site-nav__link {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 14px;
	border-radius: 12px;
	text-decoration: none;
	color: #fff;
	font-weight: 700;
	font-size: 1.05rem;
	letter-spacing: 0.01em;
	background: rgba(var(--secondary-rgb), 0.35);
	border: 1px solid rgba(var(--light-rgb), 0.12);
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-nav__icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 11px;
	background: rgba(var(--light-rgb), 0.16);
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.site-nav__icon svg {
	display: block;
	width: 22px;
	height: 22px;
}

.site-nav__label {
	flex: 1;
	min-width: 0;
	line-height: 1.25;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
	background: rgba(var(--light-rgb), 0.22);
	border-color: rgba(var(--light-rgb), 0.35);
	color: #fff;
	outline: none;
}

.site-nav__link:hover .site-nav__icon,
.site-nav__link:focus-visible .site-nav__icon {
	background: rgba(var(--light-rgb), 0.28);
	color: var(--light-color);
}

@media (min-width: 900px) {
	.site-header__bar {
		gap: 20px;
	}

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

	.nav-toggle {
		display: none;
	}

	.site-nav {
		position: static;
		inset: auto;
		display: flex;
		align-items: center;
		margin-top: 0;
		padding: 0;
		background: transparent;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		flex: 1 1 auto;
		justify-content: flex-end;
		min-width: 0;
	}

	.site-nav__list {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: flex-end;
		gap: 4px 4px;
		width: auto;
	}

	.site-nav__list li {
		flex-shrink: 0;
	}

	.site-nav__link {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		padding: 8px 10px;
		font-size: 0.88rem;
		white-space: nowrap;
		background: transparent;
		border: 1px solid transparent;
		border-radius: 8px;
	}

	.site-nav__icon {
		width: 30px;
		height: 30px;
		border-radius: 8px;
		background: rgba(var(--primary-rgb), 0.22);
		box-shadow: none;
	}

	.site-nav__icon svg {
		width: 16px;
		height: 16px;
	}

	.site-nav__label {
		flex: 0 1 auto;
	}

	.site-nav__link:hover,
	.site-nav__link:focus-visible {
		background: rgba(var(--primary-rgb), 0.22);
		border-color: rgba(var(--light-rgb), 0.2);
		color: #fff;
	}

	.site-nav__link:hover .site-nav__icon,
	.site-nav__link:focus-visible .site-nav__icon {
		background: rgba(var(--light-rgb), 0.22);
		color: #fff;
	}
}

/* Mid desktop only — hide icons so labels fit next to the logo; no other style changes. */
@media (min-width: 900px) and (max-width: 1071px) {
	.site-nav__icon {
		display: none;
	}
}

/* Tlačidlá */
.btn {
	display: inline-block;
	padding: 10px 20px;
	border-radius: 5px;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: bold;
	transition: background-color 0.3s;
	margin-top: 15px;
}

.btn-primary {
	background-color: var(--secondary-color);
	color: white;
	border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
	background-color: #218838;
}

/* Sekcie */
.page-content section {
	padding: 40px 0;
	flex: 1;
}

/* Section headings layout only — scoped so footer h2 is not centered/inline-block. */
.page-content > section h2 {
	text-align: center;
	margin-top: 30px;
	margin-bottom: 30px;
	display: inline-block;
	padding-bottom: 5px;
}

/* Shared section themes — use on all 3 service pages in order: dark → light → secondary. */
.section-dark {
	background-color: var(--primary-color);
	color: #fff;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark p,
.section-dark li,
.section-dark a:not(.icon-facebook):not(.service-cta) {
	color: #fff;
}

.section-light {
	background-color: var(--light-color);
	color: var(--dark-color);
}

.section-light h1,
.section-light h2,
.section-light h3 {
	color: var(--primary-color);
}

.section-light p,
.section-light li,
.section-light a:not(.icon-facebook):not(.service-cta) {
	color: var(--dark-color);
}

.section-secondary {
	background-color: var(--secondary-color);
	color: #fff;
}

.section-secondary h1,
.section-secondary h2,
.section-secondary h3,
.section-secondary p,
.section-secondary li,
.section-secondary a:not(.icon-facebook):not(.service-cta) {
	color: #fff;
}

/* Cards keep dark text on white for contrast inside every section theme. */
.section-dark .benefit-item,
.section-light .benefit-item,
.section-secondary .benefit-item,
.section-dark .use-item,
.section-light .use-item,
.section-secondary .use-item {
	color: var(--primary-color);
}

.section-dark .benefit-item h3,
.section-light .benefit-item h3,
.section-secondary .benefit-item h3,
.section-dark .use-item h3,
.section-light .use-item h3,
.section-secondary .use-item h3,
.section-dark .service-card h3,
.section-light .service-card h3,
.section-secondary .service-card h3 {
	color: var(--primary-color);
}

.section-dark .service-card p,
.section-light .service-card p,
.section-secondary .service-card p {
	color: var(--dark-color);
}

/* Hero — main intro block on service pages with headline and phone number. */
.hero {
	text-align: center;
	padding: 80px 20px;
}

.hero h1 {
	font-size: 2rem;
	line-height: 1.2;
	margin-bottom: 10px;
}

.hero p {
	font-size: 1.2em;
	margin-bottom: 25px;
}

/* Výhody — why-us grid cards used on service landing pages. */
.benefits {
	text-align: center;
}

.benefit-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
	margin-top: 30px;
}

.benefit-item {
	padding: 20px;
	background: white;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	text-align: center;
}

.benefit-item h3 {
	font-size: 1.3em;
	margin-top: 0;
}

.benefit-item__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 12px;
	border-radius: 10px;
	background: rgba(var(--primary-rgb), 0.08);
	color: var(--primary-color);
}

.benefit-item__icon svg {
	display: block;
	width: 22px;
	height: 22px;
}

/* ========== Service page layout — hero media, icon cards, photo strip (sadrokartón) ========== */
.service-hero {
	text-align: left;
	padding: 48px 0;
}

.service-hero__grid {
	display: grid;
	gap: 28px;
	align-items: center;
}

.service-eyebrow {
	display: inline-block;
	margin: 0 0 10px;
	padding: 6px 24px;
	border-radius: 999px;
	background: rgba(var(--light-rgb), 0.18);
	color: var(--light-color);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.service-hero h1 {
	font-size: 2rem;
	line-height: 1.2;
	margin-bottom: 14px;
}

.service-hero p {
	font-size: 1.05rem;
	margin-bottom: 14px;
	max-width: 38rem;
}

.service-hero__tagline {
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--light-color);
}

.service-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 12px;
	margin-top: 8px;
}

.service-hero__actions .service-cta {
	margin-top: 0;
}

.service-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	box-sizing: border-box;
	min-height: 48px;
	padding: 12px 20px;
	border-radius: 10px;
	background: #fff;
	color: var(--primary-color);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	border: 2px solid #fff;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.section-dark .service-cta,
.section-secondary .service-cta,
.section-light .service-cta {
	color: var(--primary-color);
}

.service-cta:hover,
.service-cta:focus-visible {
	background: var(--light-color);
	border-color: var(--light-color);
	color: var(--primary-color);
	outline: none;
}

.section-dark .service-cta:hover,
.section-dark .service-cta:focus-visible,
.section-secondary .service-cta:hover,
.section-secondary .service-cta:focus-visible,
.section-light .service-cta:hover,
.section-light .service-cta:focus-visible {
	color: var(--primary-color);
}

.service-cta--ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.7);
}

.section-dark .service-cta--ghost,
.section-secondary .service-cta--ghost {
	color: #fff;
}

.service-cta--ghost:hover,
.service-cta--ghost:focus-visible {
	background: rgba(255, 255, 255, 0.14);
	border-color: #fff;
	color: #fff;
}

.section-dark .service-cta--ghost:hover,
.section-dark .service-cta--ghost:focus-visible,
.section-secondary .service-cta--ghost:hover,
.section-secondary .service-cta--ghost:focus-visible {
	color: #fff;
}

.service-cta--dark {
	background: var(--primary-color);
	border-color: var(--primary-color);
	color: #fff;
	gap: 10px;
}

/* Spacing only when dark CTA stacks under copy — not in side-by-side action rows. */
.service-area__content > .service-cta--dark,
.quote-form__actions > .service-cta--dark {
	margin-top: 12px;
}

.service-cta__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	line-height: 0;
}

.service-cta__icon svg {
	display: block;
	width: 18px;
	height: 18px;
}

.service-cta__label {
	line-height: 1.2;
}

.section-light .service-cta--dark,
.section-dark .service-cta--dark,
.section-secondary .service-cta--dark {
	color: #fff;
}

.service-cta--dark:hover,
.service-cta--dark:focus-visible {
	background: var(--dark-color);
	border-color: var(--dark-color);
	color: #fff;
}

.section-light .service-cta--dark:hover,
.section-light .service-cta--dark:focus-visible {
	background: var(--secondary-color);
	border-color: var(--secondary-color);
	color: #fff;
}

/* Secondary band — dark CTA hover uses light fill so label stays readable on teal. */
.section-secondary .service-cta--dark:hover,
.section-secondary .service-cta--dark:focus-visible {
	background: var(--light-color);
	border-color: var(--light-color);
	color: var(--primary-color);
}

.service-hero__media {
	margin: 0;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
	line-height: 0;
}

.service-hero__media img {
	display: block;
	width: 100%;
	height: 260px;
	object-fit: cover;
}

.service-block {
	padding: 56px 0;
	text-align: left;
}

.service-block__head {
	text-align: center;
	margin-bottom: 28px;
}

.service-block__head h2 {
	display: block;
	margin: 0 0 10px;
	text-align: center;
}

.service-block__head p {
	margin: 0 auto;
	max-width: 40rem;
	font-size: 1.05rem;
}

.service-block__head--spaced {
	margin-top: 48px;
}

.service-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
}

.service-card {
	padding: 22px 20px;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.service-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 14px;
	border-radius: 12px;
	background: rgba(var(--primary-rgb), 0.08);
	color: var(--primary-color);
}

.service-card__icon svg {
	display: block;
	width: 26px;
	height: 26px;
}

.service-card h3 {
	margin: 0 0 8px;
	font-size: 1.15rem;
}

.service-card p {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.55;
}

.service-benefits .benefit-item {
	padding-top: 24px;
}

.service-area {
	margin-top: 40px;
	padding: 24px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.72);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
	text-align: left;
}

.service-area__body {
	min-width: 0;
}

.page-content .service-area__title {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	gap: 12px;
	margin: 0 0 12px;
	text-align: left;
	font-size: 1.35rem;
	padding-bottom: 0;
}

.service-area__icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 11px;
	background: var(--primary-color);
	color: #fff;
}

.service-area__icon svg {
	display: block;
	width: 20px;
	height: 20px;
}

.service-area__title-text {
	min-width: 0;
	line-height: 1.25;
}

.service-area__content p {
	margin: 0;
}

/* White cards on secondary — keep title/copy dark; section theme forces white on p/h2. */
.section-secondary .service-area,
.section-secondary .service-area h2,
.section-secondary .service-area p {
	color: var(--primary-color);
}

/* ========== Kontakt — contact rows as modern table + logo column (tablet+) ========== */
.contact-details {
	margin-bottom: 8px;
}

.contact-details .service-hero__copy {
	min-width: 0;
}

.contact-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	background: rgba(255, 255, 255, 0.72);
	border-radius: 14px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
	overflow: hidden;
}

.contact-table tr + tr th,
.contact-table tr + tr td {
	border-top: 1px solid rgba(var(--primary-rgb), 0.1);
}

.contact-table th,
.contact-table td {
	padding: 12px 12px;
	vertical-align: middle;
	text-align: left;
	font-weight: 400;
	color: var(--primary-color);
}

.contact-table th {
	width: 42%;
	white-space: nowrap;
}

.contact-table td {
	font-size: 0.95rem;
	font-weight: 600;
	white-space: nowrap;
}

/* Match address cell contrast — beat .section-secondary a { #fff } (needs 3+ class specificity). */
.section-secondary .contact-details .contact-table td a,
.section-light .contact-details .contact-table td a,
.contact-details .contact-table td a {
	color: var(--primary-color);
	text-decoration: underline;
	text-underline-offset: 3px;
	border-bottom: none;
	font-weight: 600;
	transition: color 0.15s ease;
}

.section-secondary .contact-details .contact-table td a:hover,
.section-secondary .contact-details .contact-table td a:focus-visible,
.section-light .contact-details .contact-table td a:hover,
.section-light .contact-details .contact-table td a:focus-visible,
.contact-details .contact-table td a:hover,
.contact-details .contact-table td a:focus-visible {
	color: var(--secondary-color);
	text-decoration: underline;
}

/* Mobile — compact icon chips so label + value fit without wrapping. */
.contact-table__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin-right: 8px;
	vertical-align: middle;
	border-radius: 8px;
	background: var(--primary-color);
	color: #fff;
}

.contact-table__icon svg {
	display: block;
	width: 14px;
	height: 14px;
}

.contact-table__label {
	display: inline-block;
	vertical-align: middle;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--secondary-color);
}

/* Logo column — hidden on mobile; shown when service-hero__grid is two columns. */
.contact-details__logo {
	display: none;
	align-items: center;
	justify-content: center;
}

.contact-details__logo img {
	display: block;
	width: min(100%, 220px);
	height: auto;
}

@media (min-width: 768px) {
	.contact-details__logo {
		display: flex;
	}

	.contact-table th {
		width: 38%;
	}

	.contact-table th,
	.contact-table td {
		padding: 16px 18px;
	}

	.contact-table td {
		font-size: 1.05rem;
	}

	.contact-table__icon {
		width: 40px;
		height: 40px;
		margin-right: 12px;
		border-radius: 11px;
	}

	.contact-table__icon svg {
		width: 20px;
		height: 20px;
	}

	.contact-table__label {
		font-size: 0.95rem;
	}
}

/* Tablet+ — indent copy/button to the title text start (icon 42px + gap 12px). */
@media (min-width: 640px) {
	.service-area__content {
		padding-left: calc(42px + 12px);
	}
}

@media (min-width: 768px) {
	.service-hero__grid {
		grid-template-columns: 1.1fr 0.9fr;
		gap: 40px;
	}

	.service-hero h1,
	.quote-hero h1 {
		font-size: 2.4rem;
	}

	.service-hero__media img {
		height: 360px;
	}

	.service-cards {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
}

@media (min-width: 1000px) {
	.service-cards {
		grid-template-columns: repeat(3, 1fr);
	}

	.service-hero {
		padding: 64px 0;
	}
}

/* Gallery section shell — bg/text colors come from section-light / section-dark / section-secondary. */
.gallery {
	text-align: left;
	padding: 48px 0 56px;
}

/* Album section intro — icon topline, title, short copy; thumbs stay untouched below. */
.gallery-head {
	max-width: 40rem;
	margin: 0 0 8px;
}

.gallery-head h2 {
	margin: 8px 0 10px;
	font-size: 1.75rem;
	line-height: 1.25;
	text-align: left;
}

.gallery-head > p {
	margin: 0 0 10px;
	font-size: 1.05rem;
	line-height: 1.6;
}

.gallery-head__link {
	display: inline-block;
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.section-dark .gallery-head__link,
.section-secondary .gallery-head__link {
	color: var(--light-color);
}

.section-light .gallery-head__link {
	color: var(--primary-color);
}

.gallery-head__link:hover,
.gallery-head__link:focus-visible {
	opacity: 0.88;
}

.gallery-hero__actions {
	margin-top: 18px;
}

/* On light album bands, reuse dark icon tile so it stays readable. */
.section-light .gallery-head .quote-hero__icon {
	background: rgba(var(--primary-rgb), 0.1);
	color: var(--primary-color);
}

.section-light .gallery-head .service-eyebrow {
	background: rgba(var(--primary-rgb), 0.08);
	color: var(--secondary-color);
}

/* Shared photo thumbs — same class on fotogaléria and service preview strips (no white frame). */
.photo-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-top: 30px;
}

.photo-grid__item {
	display: block;
	border-radius: 12px;
	overflow: hidden;
	line-height: 0;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
	cursor: zoom-in;
	text-decoration: none;
	background: transparent;
}

.photo-grid__item img {
	display: block;
	width: 100%;
	height: 180px;
	object-fit: cover;
	transition: transform 0.3s;
}

.photo-grid__item:hover img,
.photo-grid__item:focus-visible img {
	transform: scale(1.05);
}

.photo-grid__item:focus-visible {
	outline: 2px solid var(--primary-color);
	outline-offset: 2px;
}

/* Service page preview — 1→2→3 columns; third thumb only from 768px. */
.photo-grid--preview {
	grid-template-columns: 1fr;
}

.photo-grid--preview .photo-grid__item--lg {
	display: none;
}

@media (min-width: 501px) {
	.photo-grid--preview {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 768px) {
	.photo-grid--preview {
		grid-template-columns: repeat(3, 1fr);
	}

	.photo-grid--preview .photo-grid__item--lg {
		display: block;
	}
}

/* Anchor targets from service pages — offset sticky 96px header when scrolling to section. */
.gallery[id] {
	scroll-margin-top: 96px;
}

/* Lightbox carousel — near-fullscreen overlay; counter/caption sit on the photo. */
body.lightbox-open {
	overflow: hidden;
}

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: block;
	padding: 0;
	background: rgba(var(--primary-rgb), 0.88);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, visibility 0.25s ease;
	cursor: zoom-out;
	overflow: hidden;
}

.lightbox.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	overflow: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.lightbox.is-open::-webkit-scrollbar {
	width: 0;
	height: 0;
	display: none;
}

.lightbox.is-zoomed {
	cursor: default;
}

.lightbox-figure {
	position: relative;
	z-index: 1;
	max-width: calc(100vw - 16px);
	max-height: calc(100vh - 16px);
	margin: 0;
	line-height: 0;
	cursor: default;
}

.lightbox-image {
	display: block;
	max-width: calc(100vw - 16px);
	max-height: calc(100vh - 16px);
	width: auto;
	height: auto;
	margin: 0 auto;
	border-radius: 4px;
	object-fit: contain;
	background: var(--primary-color);
}

.lightbox-caption,
.lightbox-counter {
	position: absolute;
	left: 0;
	right: 0;
	z-index: 2;
	margin: 0;
	padding: 10px 14px;
	line-height: 1.35;
	color: #fff;
	text-align: center;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
	background: linear-gradient(transparent, rgba(var(--primary-rgb), 0.72));
	pointer-events: none;
}

.lightbox-caption {
	bottom: 28px;
	font-size: 0.95rem;
}

.lightbox-counter {
	bottom: 0;
	font-size: 0.9rem;
	letter-spacing: 0.06em;
	padding-top: 6px;
}

.lightbox-btn {
	position: fixed;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 2px solid rgba(var(--light-rgb), 0.85);
	background: rgba(var(--primary-rgb), 0.72);
	color: #fff;
	cursor: pointer;
	border-radius: 50%;
	transition: background 0.2s ease, color 0.2s ease;
}

.lightbox-btn svg {
	display: block;
	pointer-events: none;
}

.lightbox-btn:hover,
.lightbox-btn:focus-visible {
	background: var(--secondary-color);
	outline: none;
}

.lightbox-close {
	top: 12px;
	right: 12px;
}

.lightbox-prev {
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
}

.lightbox-next {
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
}

@media (max-width: 768px) {
	.lightbox-figure,
	.lightbox-image {
		max-width: calc(100vw - 12px);
		max-height: calc(100vh - 12px);
	}

	.lightbox-prev,
	.lightbox-next {
		top: auto;
		bottom: 16px;
		transform: none;
	}

	.lightbox-prev { left: 10px; }
	.lightbox-next { right: 10px; }

	.lightbox-close {
		top: 10px;
		right: 10px;
		width: 40px;
		height: 40px;
	}

	.lightbox-caption {
		bottom: 26px;
		font-size: 0.85rem;
		padding: 8px 48px;
	}
}

/* Info — explanatory text and use/advantage grids on service pages. */
.info {
	text-align: center;
	padding: 80px 20px;
}

.info h1 {
	font-size: 2.5em;
	margin-bottom: 10px;
}

.info p {
	font-size: 1.2em;
	margin-bottom: 25px;
}

.use-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
	margin-top: 30px;
}

.use-item {
	padding: 20px;
	background: white;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.use-item h3 {
	font-size: 1.3em;
	margin-top: 0;
}

/* Kontakt form styles kept for future contact page migration. */
.contact {
	background-color: var(--dark-color);
	color: white;
}

.contact .container {
	text-align: center;
}

.contact h2 {
	color: white;
	border-bottom: 3px solid white;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
	width: 100%;
	padding: 10px;
	margin-bottom: 15px;
	border: none;
	border-radius: 5px;
	box-sizing: border-box;
}

.contact-form textarea {
	resize: vertical;
}

.contact-form button {
	background-color: var(--secondary-color);
	color: white;
	border: none;
	padding: 12px 30px;
	border-radius: 5px;
	cursor: pointer;
	font-size: 1.1em;
	transition: background-color 0.3s;
}

.contact-form button:hover {
	background-color: #218838;
}

/* ========== Site footer — 1 → 2 → 4 column responsive grid; readable white on secondary ========== */
.site-footer {
	margin-top: auto;
	background-color: var(--secondary-color);
	color: #fff;
	border-top: 1px solid rgba(var(--primary-rgb), 0.18);
	overflow-x: clip;
}

.site-footer__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
	padding-top: 36px;
	padding-bottom: 28px;
	min-width: 0;
}

.site-footer__brand,
.site-footer__col {
	min-width: 0;
}

.site-footer__brand {
	text-align: left;
}

.site-footer__logo {
	display: inline-flex;
	line-height: 0;
}

.site-footer__logo img {
	display: block;
	height: 52px;
	width: auto;
}

.site-footer__tagline {
	margin: 14px 0 0;
	max-width: 36ch;
	font-size: 1rem;
	line-height: 1.55;
	font-weight: 500;
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.site-footer__heading {
	margin: 0 0 12px;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--light-color);
	text-align: left;
	display: block;
	text-shadow: 0 1px 1px rgba(var(--primary-rgb), 0.35);
}

.site-footer__links,
.site-footer__contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

/* Footer links — same icon-tile look as header menu; white label text on secondary. */
.site-footer__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	max-width: 100%;
	color: #fff;
	text-decoration: none;
	font-size: 1.02rem;
	font-weight: 700;
	white-space: nowrap;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
	transition: color 0.2s ease;
}

.site-footer__icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background: rgba(var(--primary-rgb), 0.22);
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
	transition: background 0.2s ease, color 0.2s ease;
}

.site-footer__icon svg {
	display: block;
	width: 16px;
	height: 16px;
}

.site-footer__label {
	min-width: 0;
	line-height: 1.25;
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
	outline: none;
}

.site-footer__link:hover .site-footer__icon,
.site-footer__link:focus-visible .site-footer__icon {
	background: rgba(var(--light-rgb), 0.28);
	color: var(--light-color);
}

/* Facebook footer link — same tile as others; icon turns FB blue on hover. */
.site-footer__link--facebook:hover .site-footer__icon,
.site-footer__link--facebook:focus-visible .site-footer__icon {
	background: #1877F2;
	color: #fff;
}

.site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.45);
	padding: 14px 0 18px;
	text-align: center;
	font-size: 0.95rem;
	font-weight: 600;
	color: #fff;
}

.site-footer__bottom-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.site-footer__bottom p {
	margin: 0;
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.site-footer__credit {
	font-size: 0.88rem;
	font-weight: 500;
	opacity: 0.92;
}

.site-footer__credit a {
	color: var(--light-color);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.site-footer__credit a:hover,
.site-footer__credit a:focus-visible {
	color: #fff;
}

@media (min-width: 640px) {
	.site-footer__bottom-inner {
		flex-direction: row;
		justify-content: space-between;
		gap: 16px;
		text-align: left;
	}

	.site-footer__credit {
		text-align: right;
	}
}

/* Tablet — two equal columns (brand + 3 link blocks fill a 2×2 grid). */
@media (min-width: 640px) {
	.site-footer__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 32px;
		padding-top: 44px;
		padding-bottom: 32px;
	}

	.site-footer__logo img {
		height: 60px;
	}
}

/* Desktop — four columns once nowrap labels fit without horizontal scroll. */
@media (min-width: 1200px) {
	.site-footer__inner {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 28px 40px;
		padding-top: 48px;
		padding-bottom: 36px;
	}

	.site-footer__tagline {
		max-width: none;
	}
}

/* Legal / privacy policy content pages */
.legal {
	padding: 40px 0 56px;
	background: #fff;
	color: var(--dark-color);
}

.legal h1 {
	margin: 0 0 12px;
	font-size: 1.9rem;
	color: var(--primary-color);
}

.legal__lead {
	margin: 0 0 28px;
	font-size: 1.05rem;
	line-height: 1.6;
	color: #35565a;
}

.legal h2 {
	margin: 28px 0 10px;
	font-size: 1.2rem;
	color: var(--secondary-color);
	display: block;
	text-align: left;
	border: 0;
	padding: 0;
}

.legal p,
.legal li {
	line-height: 1.65;
}

.legal ul {
	margin: 0 0 12px;
	padding-left: 1.2rem;
}

.legal a {
	color: var(--secondary-color);
	font-weight: 600;
}

.legal__updated {
	margin-top: 28px;
	font-size: 0.9rem;
	color: #6a8589;
}

/* Media Queries — wider grids on tablet/desktop for benefits and use items. */
@media (min-width: 768px) {
	.benefit-grid {
		grid-template-columns: repeat(3, 1fr);
		text-align: left;
	}

	.use-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 768px) {
	.photo-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 16px;
	}

	.photo-grid__item img {
		height: 200px;
	}
}

@media (max-width: 500px) {
	.photo-grid {
		grid-template-columns: 1fr;
	}
}

/* Facebook SVG icon and phone row in hero contact strip. */
.icon-facebook {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-top: 5px;
	margin-left: auto;
	border-radius: 50%;
	background: #3B5998;
	color: #fff;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.icon-facebook:hover,
.icon-facebook:focus-visible {
	opacity: 0.75;
	outline: none;
}

.icon-facebook svg {
	display: block;
}

.cislo {
	display: flex;
	align-items: center;
	width: 100%;
}

.cislo h1 {
	margin: 0;
	flex: 1;
	text-align: center;
}

.empty {
	margin-right: 45px;
}

/* Technické listy — 1 column on mobile/tablet; 2 columns on desktop only. */
.tlist-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	margin-top: 30px;
}

.tlist-item {
	background: white;
	padding: 15px;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	text-align: center;
}

.tlist-item a {
	display: block;
	line-height: 0;
}

.tlist-item img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: 6px;
	transition: transform 0.3s;
}

.tlist-item img:hover {
	transform: scale(1.035);
}

@media (min-width: 1024px) {
	.tlist-grid {
		grid-template-columns: 1fr 1fr;
		gap: 30px;
	}
}

/* ========== Quote form (/cenova-ponuka) — modern responsive inquiry layout ========== */
.quote-hero {
	text-align: left;
	padding: 48px 0;
}

.quote-hero__inner {
	display: block;
	max-width: 44rem;
}

.quote-hero__topline {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
}

.quote-hero__topline .service-eyebrow {
	margin: 0;
}

.quote-hero__icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: rgba(var(--light-rgb), 0.18);
	color: #fff;
}

.quote-hero__icon svg {
	display: block;
	width: 26px;
	height: 26px;
}

.quote-hero h1 {
	font-size: 2rem;
	line-height: 1.2;
	margin-top: 10px;
	margin-bottom: 10px;
}

.quote-hero p {
	margin-bottom: 0;
	font-size: 1.05rem;
}

.quote-section {
	padding-top: 40px;
	padding-bottom: 56px;
}

.quote-flash {
	margin: 0 0 24px;
	padding: 14px 16px;
	border-radius: 12px;
	font-weight: 600;
	line-height: 1.45;
}

.quote-flash--success {
	background: rgba(var(--primary-rgb), 0.1);
	color: var(--primary-color);
	border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.quote-flash--error {
	background: rgba(180, 40, 40, 0.1);
	color: #8a1f1f;
	border: 1px solid rgba(180, 40, 40, 0.25);
}

.quote-form {
	max-width: 920px;
	margin: 0 auto;
	padding: 24px 20px 28px;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.quote-form__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.quote-form__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
}

.quote-field--full {
	grid-column: 1 / -1;
}

.quote-label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
	font-weight: 700;
	color: var(--primary-color);
}

.quote-label__icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background: rgba(var(--primary-rgb), 0.08);
	color: var(--primary-color);
}

.quote-label__icon svg {
	display: block;
	width: 16px;
	height: 16px;
}

.quote-label__text {
	line-height: 1.3;
}

.quote-required {
	color: #c62828;
	font-weight: 800;
	cursor: help;
	margin-left: 2px;
}

.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form input[type="tel"],
.quote-form input[type="number"],
.quote-form select,
.quote-form textarea {
	display: block;
	width: 100%;
	padding: 12px 14px;
	border: 1px solid rgba(var(--primary-rgb), 0.22);
	border-radius: 10px;
	background: #fff;
	color: var(--dark-color);
	font: inherit;
	line-height: 1.4;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quote-form textarea {
	resize: vertical;
	min-height: 120px;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
	outline: none;
	border-color: var(--secondary-color);
	box-shadow: 0 0 0 3px rgba(var(--secondary-rgb), 0.22);
}

.quote-field.is-invalid input,
.quote-field.is-invalid select,
.quote-field.is-invalid textarea {
	border-color: #c62828;
}

.quote-error {
	margin: 6px 0 0;
	color: #c62828;
	font-size: 0.9rem;
	font-weight: 600;
}

.quote-field--deadline-date {
	display: none;
}

.quote-field--deadline-date.is-visible {
	display: block;
}

.quote-check {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-weight: 600;
	color: var(--dark-color);
	cursor: pointer;
}

.quote-check input {
	width: 20px;
	height: 20px;
	margin-top: 2px;
	flex-shrink: 0;
	accent-color: var(--primary-color);
}

.section-light .quote-check a {
	color: var(--secondary-color);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.quote-form__actions {
	margin-top: 24px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.quote-submit {
	margin-top: 0;
	cursor: pointer;
}

.quote-submit:disabled {
	opacity: 0.55;
	cursor: not-allowed;
	pointer-events: auto;
}

.quote-form__hint {
	margin: 0;
	font-size: 0.92rem;
	color: #5a7377;
}

@media (min-width: 700px) {
	.quote-form {
		padding: 32px 36px 36px;
	}

	.quote-form__grid {
		grid-template-columns: 1fr 1fr;
		gap: 20px 22px;
	}
}
