/* Prístupne 2026 – štýly podľa identity 2.2 (Šomšák a partneri, 2025) */

@font-face {
	font-family: "Satoshi";
	src: url("../fonts/satoshi-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Satoshi";
	src: url("../fonts/satoshi-500.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Satoshi";
	src: url("../fonts/satoshi-700.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

:root {
	/* primárne farby */
	--blue: #1a75bc;          /* na bielej 4,87 : 1 */
	--dark: #1a1a1a;          /* na bielej 17,4 : 1 */
	/* sekundárna farba – len s tmavým textom (11,5 : 1), nikdy ako farba textu na bielej */
	--yellow: #ffcc00;
	--yellow-soft: #fff5cc;   /* tmavý text 15,9 : 1 */
	--white: #ffffff;

	--font: "Satoshi", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--radius: 1.25rem;
	--gutter: clamp(1rem, 4vw, 2.5rem);
	--max: 72rem;
}

*, *::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(--white);
	color: var(--dark);
	font-family: var(--font);
	font-size: 1.125rem;
	line-height: 1.6;
}

img, svg { max-width: 100%; height: auto; }

h1, h2, h3 {
	line-height: 1.15;
	font-weight: 700;
	margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.75rem, 7vw, 5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.875rem, 4vw, 2.75rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); margin-top: 1.5em; }
p, ul, ol { margin: 0 0 1em; }

a {
	color: var(--blue);
	text-decoration: underline;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}
a:hover { text-decoration-thickness: 0.16em; }

/* viditeľný fokus na každom pozadí – farba textu danej sekcie */
:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
	border-radius: 2px;
}
main:focus { outline: none; }

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

/* preskočenie na obsah */
.skip-link {
	position: absolute;
	left: 1rem;
	top: -10rem;
	z-index: 100;
	padding: 0.75rem 1.25rem;
	background: var(--yellow);
	color: var(--dark);
	font-weight: 700;
	border-radius: 0.5rem;
}
.skip-link:focus { top: 1rem; }

/* hlavička – nie je fixná, aby neprekrývala fokus */
.site-header {
	background: var(--dark);
	color: var(--white);
}
.header-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	padding-block: 1.25rem;
}
.brand {
	display: inline-flex;
	color: var(--yellow);
	border-radius: 0.25rem;
}
.site-header .logo { width: 13rem; }

.main-nav { margin-left: auto; }
.main-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.main-nav a {
	display: inline-block;
	padding-block: 0.4rem;
	color: var(--white);
	font-weight: 500;
	text-decoration-color: var(--yellow);
	text-decoration-thickness: 0.18em;
}
.main-nav a:hover { text-decoration-color: currentColor; }

/* prepínač jazyka */
.lang-switch {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: 0.4rem 1rem;
	border: 2px solid var(--yellow);
	border-radius: 999px;
	color: var(--yellow);
	font-weight: 700;
	text-decoration: none;
}
.lang-switch:hover {
	background: var(--yellow);
	color: var(--dark);
}

/* úvod */
.hero {
	background: linear-gradient(120deg, var(--white) 45%, var(--yellow-soft) 75%, #ffe680 100%);
}
.hero-inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	align-items: center;
	padding-block: clamp(2.5rem, 7vw, 5.5rem);
}
@media (min-width: 52em) {
	.hero-inner { grid-template-columns: 1.15fr 1fr; }
}
.eyebrow {
	display: inline-block;
	margin-bottom: 1.25rem;
	padding: 0.35rem 0.9rem;
	background: var(--yellow);
	border: 2px solid var(--dark);
	border-radius: 999px;
	font-weight: 700;
	font-size: 1rem;
}
.lead {
	font-size: clamp(1.25rem, 2.6vw, 1.75rem);
	font-weight: 500;
	line-height: 1.35;
	max-width: 30ch;
}
.hero-note { max-width: 40ch; }
.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 2rem;
}
.hero-art {
	justify-self: center;
	max-width: 28rem;
	padding: clamp(1rem, 3vw, 1.75rem);
	background: var(--white);
	border: 2px solid var(--dark);
	border-radius: var(--radius);
}
.hero-art img { display: block; }

/* tlačidlá */
.btn {
	display: inline-flex;
	align-items: center;
	min-height: 3rem;
	padding: 0.7rem 1.4rem;
	border: 2px solid var(--dark);
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
	line-height: 1.25;
}
.btn-primary { background: var(--dark); color: var(--yellow); }
.btn-primary:hover { background: #000; text-decoration: underline; }
.btn-secondary { background: var(--white); color: var(--dark); }
.btn-secondary:hover { background: var(--yellow); }
.btn-primary:focus-visible { outline-color: var(--dark); }

/* pásy a sekcie */
.band-yellow {
	background: var(--yellow);
	color: var(--dark);
	padding-block: clamp(2rem, 5vw, 3.5rem);
}
.claim {
	margin: 0;
	font-size: clamp(1.625rem, 4vw, 2.75rem);
	font-weight: 700;
	line-height: 1.2;
	max-width: 24ch;
}

.section {
	padding-block: clamp(3rem, 8vw, 5.5rem);
	scroll-margin-top: 1rem;
}
.section-tinted { background: var(--yellow-soft); }
.section-tinted a { color: var(--dark); }

.section-dark {
	background: var(--dark);
	color: var(--white);
}
.section-dark a { color: var(--yellow); }

/* princípy filozofie – číslo v žltom kruhu ako v manuáli */
.principles {
	list-style: none;
	counter-reset: princip;
	display: grid;
	gap: 1rem;
	padding: 0;
	margin-top: 2rem;
}
@media (min-width: 44em) {
	.principles { grid-template-columns: repeat(3, 1fr); }
}
.principles li {
	counter-increment: princip;
	display: flex;
	gap: 0.9rem;
	align-items: flex-start;
	font-weight: 500;
	line-height: 1.4;
}
.principles li::before {
	content: counter(princip) ")";
	flex: none;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: var(--yellow);
	border: 2px solid var(--dark);
	font-weight: 700;
}

.checklist {
	list-style: none;
	padding: 0;
}
.checklist li {
	position: relative;
	padding-left: 2.25rem;
	margin-bottom: 0.6rem;
}
.checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.35em;
	width: 1.1rem;
	height: 1.1rem;
	background: var(--yellow);
	border: 2px solid var(--dark);
	border-radius: 50%;
}

/* karty */
.cards, .years {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 1.5rem;
}
@media (min-width: 52em) {
	.cards, .years { grid-template-columns: repeat(3, 1fr); }
}
.card {
	padding: 1.75rem;
	border: 2px solid var(--yellow);
	border-radius: var(--radius);
}
.card h3, .year h3 { margin-top: 0; }
.card p:last-child, .year ul:last-child { margin-bottom: 0; }
.card a { font-weight: 700; }

.year {
	padding: 1.75rem;
	border: 2px solid var(--dark);
	border-radius: var(--radius);
}
.year h3 a { color: var(--dark); }
.year-meta { font-weight: 500; }
.year-links {
	padding-left: 1.2rem;
	margin: 0;
}
.year-links li { margin-bottom: 0.5rem; }

/* pätička */
.site-footer {
	background: var(--dark);
	color: var(--white);
	padding-block: 3.5rem 2rem;
}
.site-footer a { color: var(--yellow); }
.footer-inner {
	display: grid;
	gap: 2rem;
}
@media (min-width: 52em) {
	.footer-inner { grid-template-columns: 1fr 1fr; align-items: start; }
}
.site-footer .logo { width: 15rem; color: var(--yellow); }
.site-footer h2 { font-size: 1.5rem; }
.report-btn {
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	border-radius: 0.25rem;
	color: var(--white);
}
.report-btn img { display: block; }
.copyright {
	margin: 2.5rem 0 0;
	padding-top: 1.5rem;
	border-top: 1px solid #4a4a4a;
	font-size: 1rem;
}

/* režim vysokého kontrastu */
@media (forced-colors: active) {
	.eyebrow, .principles li::before, .checklist li::before, .card, .year, .hero-art, .btn { border-color: CanvasText; }
	.btn { forced-color-adjust: auto; }
}

@media print {
	.site-header nav, .skip-link, .report-btn, .hero-art { display: none; }
	.site-header, .section-dark, .site-footer, .band-yellow { background: none; color: #000; }
	.brand { color: #000; }
	a { color: #000; }
}
