/* ==========================================================================
   G4 Energy – hlavní styly. Bez frameworku, bez externích závislostí.
   Mobile-first; menu přepíná na desktopové rozložení od 1200 px.
   ========================================================================== */

:root {
	--bg: #1f2328;
	--surface: #171a1e;
	--raised: #272b32;
	--line: #363c46;
	--text: #e8eaed;
	--muted: #aab2bd;
	--gold: #e5a823;
	--gold-hi: #f5c242;
	--on-gold: #171a1e;
	--danger: #f2877b;

	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-head: "Montserrat", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--radius: 14px;
	--radius-sm: 10px;
	--header-h: 72px;
}

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

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

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}

html.nav-open { overflow: hidden; }

img, svg { max-width: 100%; height: auto; }
.icon { flex-shrink: 0; height: auto; }

h1, h2, h3, h4 {
	font-family: var(--font-head);
	color: #fff;
	margin: 0 0 .6em;
	line-height: 1.2;
	text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.8vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1em; max-width: 68ch; }
a { color: var(--gold-hi); text-underline-offset: 3px; }
a:hover { color: #fff; }
[hidden] { display: none !important; }

:focus-visible {
	outline: 3px solid var(--gold-hi);
	outline-offset: 2px;
	border-radius: 4px;
}

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; border: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: 1rem; top: -4rem;
	z-index: 1000;
	background: var(--gold);
	color: var(--on-gold);
	padding: .75rem 1.25rem;
	border-radius: 0 0 var(--radius-sm) var(--radius-sm);
	font-weight: 700;
	text-decoration: none;
}
.skip-link:focus { top: 0; }

.container {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: clamp(1rem, 4vw, 1.5rem);
}
.container--narrow { max-width: 880px; }

.fine { font-size: .875rem; color: var(--muted); }

/* ---------- Tlačítka ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	min-height: 48px;
	padding: .8rem 1.5rem;
	border: 1px solid transparent;
	border-radius: var(--radius-sm);
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
}
.btn--primary { background: var(--gold); color: var(--on-gold); }
.btn--primary:hover { background: var(--gold-hi); color: var(--on-gold); }
.btn--ghost { border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--gold); color: #fff; }
.btn--block { width: 100%; }

/* ---------- Horní lišta ---------- */
.topbar {
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	font-size: .875rem;
	color: var(--muted);
}
.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	padding-block: .5rem;
}
.topbar__claim { display: none; }
.topbar__links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; justify-content: center; }
.topbar a, .topbar__addr { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); text-decoration: none; }
.topbar a:hover { color: var(--gold-hi); }
.topbar .icon { color: var(--gold); }
.topbar__addr { display: none; }

@media (min-width: 760px) {
	.topbar__inner { justify-content: space-between; }
	.topbar__claim { display: block; }
	.topbar__addr { display: inline-flex; }
}

/* ---------- Hlavička a navigace ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(23, 26, 30, .96);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 68px;
}

.brand { display: inline-flex; align-items: center; flex-shrink: 1; min-width: 0; }
.brand img { display: block; height: 40px; width: auto; max-width: 100%; object-fit: contain; }
.brand--footer img { height: 44px; }

.nav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 48px; height: 48px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: transparent;
	color: var(--text);
	cursor: pointer;
}
.nav-toggle:hover { border-color: var(--gold); }
.nav-toggle__icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--close { display: inline-flex; }
.no-js .nav-toggle { display: none; }

/* Mobilní panel menu */
.site-nav {
	position: absolute;
	top: 100%;
	left: 0; right: 0;
	max-height: calc(100vh - 100px);
	max-height: calc(100dvh - 100px);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: .5rem clamp(1rem, 4vw, 1.5rem) 1.5rem;
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .6);
	visibility: hidden;
	opacity: 0;
	transform: translateY(-6px);
	transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.nav-open .site-nav {
	visibility: visible;
	opacity: 1;
	transform: none;
	transition-delay: 0s;
}
/* Bez JavaScriptu je menu vždy rozbalené pod logem */
.no-js .header-inner { flex-wrap: wrap; padding-block: .5rem; }
.no-js .site-nav {
	position: static;
	width: 100%;
	max-height: none;
	visibility: visible;
	opacity: 1;
	transform: none;
	box-shadow: none;
	border: 0;
	padding-inline: 0;
}

.menu, .menu ul, .footer-menu { list-style: none; margin: 0; padding: 0; }

.menu > li > a {
	display: flex;
	align-items: center;
	min-height: 52px;
	padding: .5rem 0;
	border-bottom: 1px solid var(--line);
	color: var(--text);
	font-weight: 500;
	text-decoration: none;
}
.menu > li > a:hover,
.menu a[aria-current] { color: var(--gold-hi); }

.menu-item-has-children { position: relative; }
.menu-item-has-children > a { padding-right: 52px; }

.submenu-toggle {
	position: absolute;
	top: 0; right: 0;
	width: 52px; height: 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--muted);
	cursor: pointer;
}
.submenu-toggle .icon { transition: transform .2s; }
.is-open > .submenu-toggle .icon { transform: rotate(180deg); }

.sub-menu { display: none; padding: 0 0 .5rem 1rem !important; }
.is-open > .sub-menu { display: block; }
.sub-menu a {
	display: flex;
	align-items: center;
	min-height: 44px;
	color: var(--muted);
	text-decoration: none;
}
.sub-menu a:hover { color: var(--gold-hi); }

.nav-cta { width: 100%; margin-top: 1.25rem; }

.nav-contact {
	display: flex;
	flex-direction: column;
	gap: .25rem;
	margin-top: 1rem;
	font-size: .9375rem;
}
.nav-contact a {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	min-height: 44px;
	color: var(--muted);
	text-decoration: none;
}
.nav-contact .icon { color: var(--gold); }

/* Desktopové menu */
@media (min-width: 1200px) {
	.nav-toggle { display: none; }

	.site-nav {
		position: static;
		display: flex;
		align-items: center;
		gap: .5rem;
		max-height: none;
		overflow: visible;
		padding: 0;
		background: none;
		border: 0;
		box-shadow: none;
		visibility: visible;
		opacity: 1;
		transform: none;
		transition: none;
	}
	.no-js .header-inner { flex-wrap: nowrap; }
	.no-js .site-nav { width: auto; }

	.menu { display: flex; align-items: center; gap: .125rem; }
	.menu > li { position: relative; display: flex; align-items: center; }
	.menu > li > a {
		position: relative;
		min-height: 44px;
		padding: .5rem .7rem;
		border: 0;
		font-size: .9375rem;
	}
	.menu > li > a[aria-current]::after {
		content: "";
		position: absolute;
		left: .7rem; right: .7rem; bottom: .2rem;
		height: 2px;
		background: var(--gold);
	}
	.menu-item-has-children > a { padding-right: .25rem; }

	.submenu-toggle {
		position: static;
		width: 28px; height: 44px;
		margin-left: -.25rem;
	}

	.sub-menu {
		display: block;
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 16rem;
		padding: .5rem !important;
		background: var(--surface);
		border: 1px solid var(--line);
		border-radius: var(--radius-sm);
		box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .7);
		visibility: hidden;
		opacity: 0;
		transform: translateY(4px);
		transition: opacity .15s, transform .15s, visibility 0s linear .15s;
	}
	.menu-item-has-children:hover > .sub-menu,
	.menu-item-has-children:focus-within > .sub-menu,
	.is-open > .sub-menu {
		visibility: visible;
		opacity: 1;
		transform: none;
		transition-delay: 0s;
	}
	.sub-menu a { padding: .4rem .75rem; border-radius: 6px; }
	.sub-menu a:hover { background: var(--raised); }

	.nav-cta { width: auto; margin: 0 0 0 .75rem; white-space: nowrap; }
	.nav-contact { display: none; }
}

/* ---------- Hero ---------- */
.hero {
	padding-block: clamp(2.5rem, 7vw, 5.5rem);
	background:
		radial-gradient(55% 70% at 85% 15%, rgba(229, 168, 35, .12), transparent 70%),
		var(--surface);
	border-bottom: 1px solid var(--line);
}
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
.hero__lead { font-size: 1.125rem; color: var(--muted); max-width: 58ch; margin-bottom: 1.75rem; }
.hero__actions { display: flex; flex-direction: column; gap: .75rem; }

.facts {
	display: grid;
	gap: 1.25rem;
	margin: 2.25rem 0 .75rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
}
.facts__item { margin: 0; }
.facts dt { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: #fff; }
.facts dd { margin: .15rem 0 0; font-size: .9375rem; color: var(--muted); }

.hero__visual { max-width: 560px; margin-inline: auto; width: 100%; }

@media (min-width: 640px) {
	.hero__actions { flex-direction: row; flex-wrap: wrap; }
	.facts { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 980px) {
	.hero__grid { grid-template-columns: 1.15fr .85fr; gap: 3.5rem; }
}

/* Schéma sdílení */
.diagram { margin: 0; }
.diagram svg { display: block; width: 100%; height: auto; }
.diagram figcaption { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; justify-content: center; margin-top: .75rem; font-size: .875rem; color: var(--muted); }
.legend { display: inline-block; width: 14px; height: 14px; margin-right: .4rem; border-radius: 3px; vertical-align: -2px; }
.legend--on { background: #3b3320; border: 1.5px solid var(--gold); }
.legend--off { border: 1.5px dashed #7b8492; }

.d-wall { fill: var(--bg); stroke: var(--line); stroke-width: 2; }
.d-roof { stroke: var(--gold); stroke-width: 4; stroke-linecap: round; }
.d-panels rect { fill: #3b3320; stroke: var(--gold); stroke-width: 1.5; }
.d-panels path { stroke: var(--gold); stroke-width: .75; opacity: .7; }
.d-wire path { stroke: var(--gold); stroke-width: 2.5; }
.d-flat rect { fill: #3b3320; stroke: var(--gold); stroke-width: 1.5; }
.d-flat path { stroke: var(--gold); stroke-width: 1; opacity: .45; }
.d-flat.is-off rect { fill: var(--bg); stroke: #7b8492; stroke-dasharray: 5 4; }
.d-flat.is-off path { stroke: #7b8492; opacity: .35; }
.d-door { fill: var(--line); }
.d-gold-fill { fill: var(--gold); }
.d-gold-stroke { stroke: var(--gold); stroke-width: 2.5; }

/* ---------- Sekce ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 6rem); border-bottom: 1px solid var(--line); }
.section--surface { background: var(--surface); }
.section-head { margin-bottom: 2.5rem; }
.section-head h2 { max-width: 30ch; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 64ch; margin-bottom: 0; }

.split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 980px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.partner { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1.25rem; color: #fff; font-weight: 600; }
.partner .icon { color: var(--gold); margin-top: .25rem; }

.panel {
	padding: clamp(1.25rem, 3vw, 2rem);
	background: var(--raised);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.panel h3 { display: flex; align-items: center; gap: .6rem; }
.panel h3 .icon { color: var(--gold); }
.panel--small { margin-top: 2rem; padding: 1.25rem 1.5rem; }
.panel__label { margin: 0 0 .25rem; font-size: .875rem; color: var(--muted); }

.mini-grid { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .75rem; }
.mini-grid li { padding: .9rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.mini-grid strong { display: block; color: #fff; }
.mini-grid span { display: block; font-size: .9375rem; color: var(--muted); }
@media (min-width: 640px) { .mini-grid { grid-template-columns: 1fr 1fr; } }

/* Karty */
.card-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
	.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
	.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
	padding: 1.5rem;
	background: var(--raised);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.card h3 { font-size: 1.1rem; }
.card p { margin: 0; font-size: .9375rem; color: var(--muted); }
.card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px; height: 46px;
	margin-bottom: 1rem;
	border-radius: var(--radius-sm);
	background: rgba(229, 168, 35, .14);
	color: var(--gold);
}

/* Kroky financování – skutečná posloupnost, proto číslování */
.steps { counter-reset: step; list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps__item {
	counter-increment: step;
	padding: 1.5rem;
	background: var(--raised);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.steps__item::before {
	content: counter(step);
	display: grid;
	place-items: center;
	width: 38px; height: 38px;
	margin-bottom: 1rem;
	border-radius: 50%;
	background: var(--gold);
	color: var(--on-gold);
	font-family: var(--font-head);
	font-weight: 800;
}
.steps__item p { margin: 0; font-size: .9375rem; color: var(--muted); }

.callout {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	padding: clamp(1.25rem, 3vw, 2rem);
	background: var(--raised);
	border: 1px solid var(--line);
	border-left: 4px solid var(--gold);
	border-radius: var(--radius);
}
.callout p { color: var(--muted); }
.callout .fine { margin: 0; }
@media (min-width: 900px) {
	.callout { flex-direction: row; align-items: center; justify-content: space-between; gap: 2.5rem; }
}

.duo { display: grid; gap: 1.25rem; margin-top: 3rem; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.duo .panel > p { color: var(--muted); }

.check-list, .note-list { list-style: none; margin: 1.25rem 0; padding: 0; }
.check-list li { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: .75rem; }
.check-list .icon { color: var(--gold); margin-top: .2rem; }
.check-list strong { color: #fff; }
.note-list li {
	margin-top: .75rem;
	padding: .85rem 1rem;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
}
.note-list strong { display: block; color: #fff; }
.note-list span { color: var(--muted); font-size: .9375rem; }

/* Reference – záložky */
.tabs__list { display: flex; gap: .5rem; margin-bottom: 1.5rem; padding-bottom: .5rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tabs__list [role="tab"] {
	flex-shrink: 0;
	min-height: 46px;
	padding: .55rem 1.1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: transparent;
	color: var(--muted);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.tabs__list [role="tab"]:hover { border-color: var(--gold); color: #fff; }
.tabs__list [role="tab"][aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.tabs__panel {
	padding: clamp(1.25rem, 3vw, 2.25rem);
	background: var(--raised);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.tabs__panel + .tabs__panel { margin-top: 1rem; }
.ref-facts { display: grid; gap: 1rem; margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.ref-facts div { margin: 0; }
.ref-facts dt { font-size: .875rem; color: var(--muted); }
.ref-facts dd { margin: .15rem 0 0; font-family: var(--font-head); font-weight: 700; color: #fff; }
@media (min-width: 640px) { .ref-facts { grid-template-columns: repeat(3, 1fr); } }

/* FAQ */
.faq__item {
	margin-bottom: .75rem;
	background: var(--raised);
	border: 1px solid var(--line);
	border-radius: 12px;
}
.faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 60px;
	padding: 1rem 1.25rem;
	font-family: var(--font-head);
	font-weight: 600;
	color: #fff;
	cursor: pointer;
	list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--gold-hi); }
.faq__chev { color: var(--gold); transition: transform .2s; }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__item[open] summary { border-bottom: 1px solid var(--line); }
.faq__body { padding: 1rem 1.25rem 1.25rem; }
.faq__body p { margin: 0; color: var(--muted); }

/* Kontakt a formulář */
.contact { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 980px) { .contact { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.contact__mail { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; word-break: break-all; }
.contact__form {
	padding: clamp(1.25rem, 3vw, 2.25rem);
	background: var(--raised);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }

.field label, .choice legend { display: block; margin-bottom: .4rem; font-size: .9375rem; font-weight: 600; color: var(--text); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
	display: block;
	width: 100%;
	min-height: 48px;
	padding: .75rem 1rem;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--bg);
	color: var(--text);
	font: inherit;
	font-size: 1rem; /* 16 px – iOS nezoomuje při zaostření */
}
.form textarea { resize: vertical; min-height: 120px; }
.form input::placeholder, .form textarea::placeholder { color: #7f8896; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--gold); outline: 2px solid var(--gold); outline-offset: 0; }
.form input:user-invalid, .form textarea:user-invalid { border-color: var(--danger); }

.choice { margin: 0; padding: 0; border: 0; min-width: 0; }
.choice__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
@media (min-width: 720px) { .choice__grid { grid-template-columns: repeat(4, 1fr); } }
.choice__opt { position: relative; }
.choice__opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice__opt label {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	margin: 0;
	padding: .5rem .6rem;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--bg);
	text-align: center;
	font-size: .9375rem;
	font-weight: 600;
	color: var(--muted);
}
.choice__opt input:checked + label { border-color: var(--gold); background: rgba(229, 168, 35, .14); color: var(--gold-hi); }
.choice__opt input:focus-visible + label { outline: 3px solid var(--gold-hi); outline-offset: 2px; }

.consent { display: flex; gap: .75rem; align-items: flex-start; font-size: .9375rem; color: var(--muted); }
.consent input { width: 22px; height: 22px; margin: .15rem 0 0; flex-shrink: 0; accent-color: var(--gold); }

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

.notice { margin-bottom: 1.25rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; }
.notice--success { border-color: var(--gold); background: rgba(229, 168, 35, .14); color: var(--gold-hi); }
.notice--error { border-color: var(--danger); background: rgba(242, 135, 123, .12); color: var(--danger); }

/* ---------- Patička ---------- */
.site-footer { padding-block: 3.5rem 2rem; background: var(--surface); border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1.4fr; gap: 3rem; } }
.footer-about p { margin-top: 1rem; font-size: .9375rem; color: var(--muted); }
.footer-title { margin-bottom: 1rem; font-size: 1rem; }
.footer-menu li { margin-bottom: .1rem; }
.footer-menu a { display: inline-flex; align-items: center; min-height: 40px; color: var(--muted); text-decoration: none; }
.footer-menu a:hover { color: var(--gold-hi); }

.company-box {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: .35rem 1rem;
	margin: 0;
	padding: 1.25rem;
	background: var(--raised);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	font-size: .9375rem;
}
.company-box dt { color: var(--muted); }
.company-box dd { margin: 0; color: var(--text); }
.company-box .company-name { grid-column: 1 / -1; font-weight: 700; color: #fff; }
.company-box a { color: var(--gold-hi); }

.footer-bottom {
	display: flex;
	flex-direction: column;
	gap: .5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
	font-size: .875rem;
	color: var(--muted);
}
.footer-bottom p { margin: 0; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }

/* ---------- Běžné stránky ---------- */
.page-main { padding-block: clamp(2.5rem, 6vw, 5rem); min-height: 50vh; }
.prose { max-width: 820px; }
.prose p, .prose li { max-width: none; }
.entry__title { margin-bottom: 1rem; }
.entry__title a { color: inherit; text-decoration: none; }
.entry__content img { border-radius: var(--radius-sm); }

/* ---------- Přístupnost: omezený pohyb ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		transition-duration: .001ms !important;
		animation-duration: .001ms !important;
		scroll-behavior: auto !important;
	}
}

/*
 Vlastní písma (doporučeno pro GDPR – nenačítat z Google): nahrajte woff2 soubory
 do assets/fonts/ a odkomentujte.

@font-face { font-family: "Inter"; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-var.woff2") format("woff2"); font-weight: 600 900; font-display: swap; }
*/
