/* ==========================================================================
   INFRAVION – hlavní styly (bez buildu, čisté CSS)
   Barvy vycházejí z loga: grafit #272a30 a měď #ba5e35.
   Inspirace rozložením: samsonpraha.cz (velká fotka, sekce s výraznou barvou,
   nadpisy verzálkami, dlaždice služeb).
   ========================================================================== */

:root {
	--graphite: #272a30;        /* logo */
	--graphite-900: #1b1d21;
	--graphite-800: #212328;
	--graphite-700: #33363d;
	--graphite-300: #a6aab2;
	--line: #e4e1dc;
	--stone: #f3f1ee;
	--white: #fff;

	--copper: #ba5e35;          /* logo – plochy a velké prvky */
	--copper-deep: #a3502b;     /* plochy s textem, tlačítka (kontrast 5,6 : 1) */
	--copper-ink: #9a4a27;      /* odkazy na bílém (6,2 : 1) */
	--copper-light: #e0915f;    /* text na tmavém (6,4 : 1) */

	--text: #272a30;
	--muted: #5f636b;

	--font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-head: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;

	--radius: 2px;
	--container: 1200px;
	--gutter: clamp(1.1rem, 4vw, 2rem);
	--section: clamp(4rem, 9vw, 7rem);
	--header-h: 84px;
	--shadow: 0 1px 2px rgb(0 0 0 / .06), 0 10px 30px rgb(0 0 0 / .08);

	/* Vzor z „V“ z loga (jako vzor z písmen S na samsonpraha.cz) */
	--pattern-v: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M18 22l14 30 14-30' fill='none' stroke='%23fff' stroke-opacity='.045' stroke-width='7'/%3E%3Cpath d='M78 82l14 30 14-30' fill='none' stroke='%23fff' stroke-opacity='.03' stroke-width='7'/%3E%3C/svg%3E");
}

/* Základ
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--copper-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--copper-deep); }
:focus-visible { outline: 3px solid var(--copper-light); outline-offset: 3px; }

h1, h2, h3, h4 {
	font-family: var(--font-head);
	font-weight: 600;
	line-height: 1.12;
	margin: 0 0 .6em;
	color: inherit;
}
p { margin: 0 0 1.1em; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 1rem; top: -100px; z-index: 100;
	background: var(--white); color: var(--text); padding: .6rem 1rem;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 780px; }

.icon { width: 1.5rem; height: 1.5rem; flex: none; }
.icon--sm { width: 1.1rem; height: 1.1rem; }
.icon--lg { width: 2.4rem; height: 2.4rem; }
.icon--xl { width: 3.5rem; height: 3.5rem; }

.pattern-v { background-image: var(--pattern-v); background-size: 120px 120px; }

/* Tlačítka
   -------------------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
	min-height: 50px; padding: .75rem 1.6rem;
	font: 600 .95rem/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase;
	border: 2px solid transparent; border-radius: var(--radius);
	text-decoration: none; cursor: pointer;
	transition: background-color .2s, border-color .2s, color .2s;
}
.btn .icon { transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--copper-deep); color: var(--white); }
.btn--primary:hover { background: var(--graphite); color: var(--white); }
.btn--ghost, .btn--outline-light { border-color: rgb(255 255 255 / .7); color: var(--white); }
.btn--ghost:hover, .btn--outline-light:hover { background: var(--white); border-color: var(--white); color: var(--graphite); }
.btn--outline { border-color: var(--graphite); color: var(--graphite); }
.btn--outline:hover { background: var(--graphite); color: var(--white); }
.btn--small { min-height: 42px; padding: .5rem 1rem; font-size: .85rem; letter-spacing: .08em; }

.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; text-decoration: none; letter-spacing: .06em; text-transform: uppercase; font-size: .92rem; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

.eyebrow {
	display: inline-flex; align-items: center; gap: .75rem;
	margin: 0 0 1rem;
	font: 600 .8rem/1.3 var(--font); letter-spacing: .2em; text-transform: uppercase;
	color: var(--copper-ink);
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: currentColor; flex: none; }
.eyebrow--light { color: var(--copper-light); }
.eyebrow--white { color: var(--white); }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 32px; height: 2px; background: currentColor; flex: none; }

/* Logo
   -------------------------------------------------------------------------- */
.brand { display: inline-flex; align-items: center; }
.brand__img { height: 30px; width: auto; }
.brand--footer .brand__img { height: 26px; }

/* Hlavička
   -------------------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--graphite-800);
	color: var(--white);
	border-bottom: 1px solid rgb(255 255 255 / .06);
	transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgb(0 0 0 / .3); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1.5rem; }

.site-nav { display: flex; align-items: center; gap: 2.25rem; }
.site-nav__list { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.site-nav__list a {
	position: relative; display: block; padding: .5rem 0;
	color: rgb(255 255 255 / .82); text-decoration: none;
	font-size: .92rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}
.site-nav__list a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
	background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.site-nav__list a:hover, .site-nav__list .current-menu-item > a, .site-nav__list .current_page_item > a, .site-nav__list .current-menu-parent > a { color: var(--white); }
.site-nav__list a:hover::after, .site-nav__list .current-menu-item > a::after, .site-nav__list .current_page_item > a::after { transform: scaleX(1); }

.nav-toggle {
	display: none; width: 48px; height: 48px; margin-right: -.6rem;
	background: none; border: 0; color: var(--white); cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	display: block; width: 26px; height: 2px; background: currentColor; margin: auto; position: relative; transition: transform .25s, background-color .25s;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -8px; }
.nav-toggle__bars::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 960px) {
	:root { --header-h: 70px; }
	.brand__img { height: 24px; }
	.nav-toggle { display: block; }
	.site-nav {
		position: fixed; inset: var(--header-h) 0 auto 0;
		flex-direction: column; align-items: stretch; gap: 1.5rem;
		padding: .5rem var(--gutter) 2rem;
		background: var(--graphite-800);
		border-top: 1px solid rgb(255 255 255 / .08);
		box-shadow: 0 20px 30px rgb(0 0 0 / .35);
		transform: translateY(-8px); opacity: 0; visibility: hidden;
		transition: opacity .2s, transform .2s, visibility .2s;
	}
	.site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
	.site-nav__list { flex-direction: column; gap: 0; }
	.site-nav__list a { padding: 1rem 0; font-size: 1rem; border-bottom: 1px solid rgb(255 255 255 / .08); }
	.site-nav__list a::after { display: none; }
	.site-nav__list .current-menu-item > a, .site-nav__list .current_page_item > a { color: var(--copper-light); }
	.site-nav__cta { align-self: flex-start; }
}

/* Hero – velká fotka přes celou šířku
   -------------------------------------------------------------------------- */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	display: flex; align-items: center;
	min-height: max(560px, calc(100svh - var(--header-h)));
	background: var(--graphite-900);
	color: var(--white);
	text-align: center;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgb(27 29 33 / .55) 0%, rgb(27 29 33 / .72) 55%, rgb(27 29 33 / .92) 100%);
}
.hero__inner { padding-block: clamp(4rem, 10vw, 7rem); display: flex; flex-direction: column; align-items: center; }
.hero__title {
	font-family: var(--font); font-weight: 300;
	font-size: clamp(2.4rem, 7vw, 5.2rem);
	line-height: 1.05; letter-spacing: .04em; text-transform: uppercase;
	max-width: 16ch; margin: 0 0 1.5rem;
}
.hero__text { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 300; max-width: 40rem; color: rgb(255 255 255 / .86); margin-bottom: 2.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

.hero__scroll {
	position: absolute; left: 50%; bottom: 1.75rem; translate: -50% 0;
	width: 28px; height: 46px; border: 2px solid rgb(255 255 255 / .55); border-radius: 14px;
}
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--copper); animation: scroll-dot 1.8s infinite; }
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-height: 620px) { .hero__scroll { display: none; } }

/* Záhlaví podstránek – měděná plocha se vzorem (jako barevné záhlaví na samsonpraha.cz) */
.page-header {
	background-color: var(--copper-deep);
	color: var(--white);
	text-align: center;
}
.page-header__inner { padding-block: clamp(3.5rem, 9vw, 6.5rem); display: flex; flex-direction: column; align-items: center; }
.page-header .eyebrow::after { content: ""; width: 32px; height: 2px; background: currentColor; flex: none; }
.page-header__title {
	font-family: var(--font); font-weight: 300;
	font-size: clamp(2.1rem, 5.5vw, 3.8rem); letter-spacing: .06em; text-transform: uppercase;
	margin: 0; max-width: 24ch;
}
.page-header__lead { margin: 1.25rem 0 0; max-width: 46rem; font-size: 1.12rem; color: rgb(255 255 255 / .92); }

/* Sekce
   -------------------------------------------------------------------------- */
.section { padding-block: var(--section); }
.section--alt { background: var(--stone); }
.section--dark { background: var(--graphite-800); color: var(--white); }
.section--copper { background-color: var(--copper-deep); color: var(--white); }
.section__head { margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section__head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section__title { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0; }
.section__title--caps { font-family: var(--font); font-weight: 300; letter-spacing: .08em; text-transform: uppercase; font-size: clamp(2rem, 4.5vw, 3rem); }
.section__title--sm { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }

/* Úvodní text (dva sloupce jako na infravion.cz / Kdo jsme) */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.intro__title { font-family: var(--font); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.3; margin: 0; }
.intro__text { color: var(--muted); font-size: 1.08rem; padding-top: .4rem; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.75rem 0; }
.chips li {
	padding: .45rem .9rem; border: 1px solid var(--line); border-left: 3px solid var(--copper);
	font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--graphite);
}

/* Služby – dlaždice na měděné ploše */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 1.25rem; }
.service-tile {
	position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
	padding: 2.75rem 1.75rem 2rem;
	background: var(--graphite-800); color: var(--white); text-decoration: none;
	transition: transform .25s, box-shadow .25s, background-color .25s;
}
.service-tile::after {
	content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 3px; background: var(--copper-light);
	transition: width .3s, left .3s;
}
.service-tile:hover { color: var(--white); transform: translateY(-4px); box-shadow: 0 18px 40px rgb(0 0 0 / .25); background: var(--graphite-900); }
.service-tile:hover::after { width: 100%; left: 0; }
.service-tile__icon { color: var(--copper-light); margin-bottom: 1.4rem; }
.service-tile__title { font-family: var(--font); font-weight: 500; font-size: 1.15rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1.35; margin-bottom: .8rem; }
.service-tile__text { color: rgb(255 255 255 / .72); font-size: .98rem; margin: 0 0 1.5rem; }
.service-tile__more { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--copper-light); }

/* Služby – stránka */
.services-intro { margin: 0 auto 3rem; }
.service-list { display: grid; border-top: 1px solid var(--line); }
.service-item {
	display: grid; grid-template-columns: 72px 1fr; gap: 1.5rem 2.25rem;
	padding-block: clamp(2.25rem, 5vw, 3.25rem); border-bottom: 1px solid var(--line);
}
.service-item__icon { display: grid; place-items: center; width: 72px; height: 72px; color: var(--white); background: var(--copper-deep); }
.service-item__title { font-family: var(--font); font-weight: 500; font-size: clamp(1.35rem, 2.6vw, 1.7rem); letter-spacing: .08em; text-transform: uppercase; }
.service-item .entry-content { color: var(--graphite-700); }
@media (max-width: 600px) { .service-item { grid-template-columns: 1fr; } }

/* Pruh přes celou šířku s fotkou (Realizované projekty, Pracovní příležitosti) */
.banner { position: relative; isolation: isolate; overflow: hidden; color: var(--white); text-align: center; background: var(--graphite-900); }
.banner__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(27 29 33 / .72); }
.banner__inner { display: flex; flex-direction: column; align-items: center; padding-block: clamp(5rem, 12vw, 9rem); }
.banner--short .banner__inner { padding-block: clamp(4rem, 9vw, 6.5rem); }
.banner__title { font-family: var(--font); font-weight: 300; font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: .08em; text-transform: uppercase; margin-bottom: .75rem; }
.banner__text { font-size: 1.15rem; color: rgb(255 255 255 / .85); max-width: 38rem; margin-bottom: 2rem; }

/* Kontaktní osoba / tým */
.person-card, .contact-card {
	padding: 2rem; background: var(--white); box-shadow: var(--shadow);
	border-top: 3px solid var(--copper);
}
.person-card__label { margin: 0 0 .3rem; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.person-card__name { margin: 0; font: 600 1.6rem/1.2 var(--font-head); }
.person-card__role { margin: 0 0 1.25rem; color: var(--muted); }

.team { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.team-card { width: min(100%, 340px); padding: 2.5rem 2rem 2rem; background: var(--white); box-shadow: var(--shadow); text-align: center; border-bottom: 3px solid var(--copper); }
.team-card__avatar {
	display: grid; place-items: center; width: 112px; height: 112px; margin: 0 auto 1.5rem; border-radius: 50%;
	background: var(--graphite); color: var(--white);
	font: 300 2.4rem/1 var(--font); letter-spacing: .08em;
	box-shadow: inset 0 0 0 4px var(--graphite), inset 0 0 0 6px var(--copper);
}
.team-card__name { font-size: 1.6rem; margin-bottom: .2rem; }
.team-card__role { color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; margin-bottom: 1.5rem; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.contact-list li { display: flex; gap: .75rem; align-items: flex-start; }
.contact-list .icon { color: var(--copper); margin-top: .3rem; }
.contact-list a { color: inherit; text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--copper-ink); }
.contact-list--lg { font-size: 1.12rem; gap: 1.1rem; }
.contact-list--center { justify-items: center; }

/* Projekty */
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 1.5rem; }
.project-card__link {
	display: flex; flex-direction: column; height: 100%;
	color: var(--text); text-decoration: none;
	background: var(--white); border: 1px solid var(--line); overflow: hidden;
	transition: box-shadow .25s, transform .25s, border-color .25s;
}
.project-card__link:hover { color: var(--text); box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.project-card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--graphite-800); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.project-card__link:hover .project-card__media img { transform: scale(1.05); }
.project-card__placeholder {
	display: grid; place-items: center; height: 100%; color: var(--copper-light);
	background-color: var(--graphite-800); background-image: var(--pattern-v); background-size: 90px 90px;
}
.project-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.6rem 1.6rem; border-top: 3px solid var(--copper); }
.project-card__meta { margin: 0 0 .5rem; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--copper-ink); font-weight: 600; }
.project-card__title { font-size: 1.4rem; margin-bottom: .5rem; }
.project-card__role { color: var(--muted); margin: 0 0 1.25rem; font-size: 1rem; }
.project-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--copper-ink); }

.project-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.project-hero { margin: 0 0 2rem; overflow: hidden; }
.project-facts { position: sticky; top: calc(var(--header-h) + 1.5rem); padding: 1.85rem; background: var(--graphite-800); color: var(--white); border-top: 3px solid var(--copper); }
.project-facts dl { margin: 0; display: grid; gap: .25rem; }
.project-facts dt { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--copper-light); font-weight: 600; }
.project-facts dd { margin: 0 0 1.1rem; font-weight: 500; font-size: 1.08rem; }
.project-facts dd:last-child { margin-bottom: 0; }
.project-nav { margin-top: 3rem; }
@media (max-width: 900px) {
	.project-layout { grid-template-columns: 1fr; }
	.project-facts { position: static; order: -1; }
}

.pagination { margin-top: 3rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.pagination .page-numbers { padding: .5rem .95rem; border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.pagination .page-numbers.current { background: var(--graphite); color: var(--white); border-color: var(--graphite); }
.empty-state { font-size: 1.15rem; color: var(--muted); text-align: center; }

/* Reference */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 1.5rem; }
.quote { margin: 0; padding: 2.25rem; background: rgb(255 255 255 / .04); border-top: 3px solid var(--copper); }
.quote__icon { color: var(--copper-light); margin-bottom: 1rem; }
.quote blockquote { margin: 0 0 1.25rem; font-size: 1.15rem; font-weight: 300; line-height: 1.6; }
.quote blockquote p { margin: 0; }
.quote figcaption { color: rgb(255 255 255 / .72); font-size: .98rem; }
.quote figcaption a { color: var(--copper-light); }
.quote--light { margin-top: 2.5rem; background: var(--stone); }
.quote--light .quote__icon { color: var(--copper); }
.quote--light figcaption { color: var(--muted); }

/* Výzva ke kontaktu */
.cta { background: var(--stone); border-top: 1px solid var(--line); }
.cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta__title { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin-bottom: .35rem; }
.cta__text { margin: 0; color: var(--muted); max-width: 38rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Kontakt
   -------------------------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(min(300px, 100%), 1fr); gap: clamp(2rem, 6vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-card { position: sticky; top: calc(var(--header-h) + 1.5rem); }
@media (max-width: 900px) { .contact-card { position: static; } }
.contact-card__title { font-size: 1.5rem; margin-bottom: 1.5rem; }
.contact-card__person { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.contact-card__person .person-card__role { margin-bottom: 0; }
.contact-card__legal { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; margin: 1.5rem 0 0; font-size: .95rem; color: var(--muted); }
.contact-card__legal dt { font-weight: 600; }
.contact-card__legal dd { margin: 0; }
.contact-card__register { margin: .75rem 0 0; font-size: .9rem; color: var(--muted); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { margin: 0 0 1.1rem; display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .4rem; }
.field input, .field textarea {
	width: 100%; padding: .85rem 1rem;
	font: inherit; font-size: 1rem; color: var(--text);
	background: var(--stone); border: 1px solid transparent; border-bottom: 2px solid #c9c5bd; border-radius: 0;
	transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--line); border-bottom-color: var(--copper); }
.field [aria-invalid="true"] { border-bottom-color: #b3261e; }
.field__error { color: #b3261e; font-size: .9rem; margin-top: .3rem; }
.field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .9rem; color: var(--muted); margin: .25rem 0 1.5rem; }

.notice { padding: 1rem 1.25rem; margin-bottom: 1.5rem; border-left: 4px solid; }
.notice:focus { outline: none; }
.notice--ok { background: #edf6ee; border-color: #2e7d32; color: #1b4d1f; }
.notice--error { background: #fbeceb; border-color: #b3261e; color: #7a1a14; }

/* Obsah z editoru
   -------------------------------------------------------------------------- */
.entry-content > * + * { margin-top: 1.1em; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { font-size: 1.8rem; margin-top: 2em; }
.entry-content h3 { font-size: 1.4rem; margin-top: 1.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .35em; }
.entry-content ul li::marker { color: var(--copper); }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption { font-size: .9rem; color: var(--muted); margin-top: .5rem; }
.entry-content .wp-block-gallery { gap: .75rem; }
.entry-content--lead { color: var(--graphite-700); }
.entry-content--lead > p:first-child { font-size: clamp(1.3rem, 2.4vw, 1.6rem); line-height: 1.45; color: var(--graphite); }

/* Patička
   -------------------------------------------------------------------------- */
.site-footer { background: var(--graphite-800); color: rgb(255 255 255 / .72); font-size: .98rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem); }
@media (max-width: 800px) { .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; } }
.site-footer__brand p { margin-top: 1.25rem; max-width: 24rem; }
.site-footer__title { font: 600 .8rem/1 var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--white); margin-bottom: 1.25rem; }
.site-footer .contact-list .icon { color: var(--copper-light); }
.site-footer .contact-list a:hover { color: var(--white); }
.site-footer__legal { margin: 0; line-height: 1.75; }
.site-footer__legal strong { color: var(--white); font-weight: 600; }
.site-footer__bottom { padding-block: 1.25rem; border-top: 1px solid rgb(255 255 255 / .08); font-size: .85rem; color: rgb(255 255 255 / .5); }

/* Tisk */
@media print {
	.site-header, .nav-toggle, .cta, .hero__scroll, .contact-form, .banner__bg, .hero__bg { display: none !important; }
	.hero, .page-header, .section--dark, .section--copper, .banner, .site-footer { background: none !important; color: #000 !important; }
}
