/* =========================================================
   EMASON – hlavné štýly
   Farby: Prispôsobiť → EMASON – obsah webu → Farby a SEO
   ========================================================= */

/* ---------- Písma (uložené v téme) ---------- */
@font-face {
	font-family: "Oxanium";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url(../fonts/oxanium-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Oxanium";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url(../fonts/oxanium-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Nunito";
	font-style: normal;
	font-weight: 200 1000;
	font-display: swap;
	src: url(../fonts/nunito-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Nunito";
	font-style: normal;
	font-weight: 200 1000;
	font-display: swap;
	src: url(../fonts/nunito-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--c-green: #6ca774;
	--c-navy: #02034f;
	--c-navy-2: #1c1f8d;
	--c-slate: #31344a;
	--c-text: #1d1d1f;
	--c-muted: #5d6070;
	--c-bg: #f7f7f7;
	--c-line: #dfe3e0;

	--grad-navy: linear-gradient(90deg, var(--c-navy) 0%, var(--c-navy-2) 100%);
	--grad-panel: linear-gradient(90deg, #1c1d63 0%, #2c2d62 45%, #4a4b5d 100%);

	--f-head: "Oxanium", "Segoe UI", system-ui, sans-serif;
	--f-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--sidebar-w: 220px;
	--topbar-h: 72px;
	--radius: 10px;
	--radius-lg: 15px;
	--content: 1160px;
	--pad: clamp(1.25rem, 4vw, 3.5rem);
	--section-y: clamp(3.5rem, 7vw, 6.25rem);
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--c-text);
	background: var(--c-bg);
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-green); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-navy-2); }
h1, h2, h3, h4 { font-family: var(--f-head); color: #000; line-height: 1.2; margin: 0 0 .7em; }
p, ul, ol { margin: 0 0 1em; }
strong { font-weight: 800; }
:focus-visible { outline: 2px solid var(--c-green); outline-offset: 3px; }
[id] { scroll-margin-top: 20px; }

.screen-reader-text, .form__hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--c-navy); color: #fff; padding: .75rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; color: #fff; }

/* ---------- Rozloženie s bočným panelom ---------- */
.site {
	margin-left: var(--sidebar-w);
	min-height: 100vh;
	background-color: var(--c-bg);
	background-image: var(--grid-bg);
	background-size: 25% auto; /* ako na pôvodnom webe: 4 dlaždice mriežky na šírku */
	overflow-x: clip;
}
.container { width: 100%; max-width: calc(var(--content) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: var(--section-y) 0; }
.section--tight { padding: clamp(1.5rem, 3vw, 2.5rem) 0; }

/* ---------- Bočný panel (počítač) ---------- */
.sidebar {
	position: fixed; z-index: 100; top: 0; left: 0; bottom: 0;
	width: var(--sidebar-w);
	background: #f7f7f7;
	border-right: 1px solid rgba(0,0,0,.03);
	display: flex; flex-direction: column; align-items: center;
	padding: 0 20px 40px;
	overflow-y: auto;
}
.admin-bar .sidebar { top: 32px; }
.sidebar__logo { display: block; width: calc(100% + 40px); margin: 0 -20px auto; flex: none; }
.sidebar__logo img { width: 100%; height: auto; }
.sidebar__nav { margin: auto 0; padding: 40px 0; }
.sidebar__nav .menu, .mobile-nav .menu { list-style: none; margin: 0; padding: 0; }
.sidebar__nav .menu { display: flex; flex-direction: column; align-items: center; gap: 34px; }
.sidebar__nav a, .mobile-nav a {
	font-family: var(--f-head); font-weight: 700; font-size: 15px;
	text-transform: uppercase; letter-spacing: .02em; color: var(--c-slate);
}
.sidebar__nav a:hover, .sidebar__nav a.is-active,
.mobile-nav a:hover, .mobile-nav a.is-active { color: var(--c-green); }
.sidebar__nav::after { content: ""; display: block; height: 180px; }

/* ---------- Horná lišta (mobil) ---------- */
.topbar { display: none; }
.nav-toggle { background: none; border: 0; padding: 10px; cursor: pointer; margin-right: -10px; }
.nav-toggle__bar { display: block; width: 26px; height: 2px; background: var(--c-slate); margin: 6px 0; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1099px) {
	.sidebar { display: none; }
	.site { margin-left: 0; background-attachment: scroll; }
	.topbar {
		position: sticky; top: 0; z-index: 100;
		display: flex; align-items: center; justify-content: space-between;
		height: var(--topbar-h); padding: 0 var(--pad);
		background: #fff; box-shadow: 0 2px 16px rgba(0,0,0,.06);
	}
	.admin-bar .topbar { top: 46px; }
	.topbar__logo img { height: 34px; width: auto; }
	.mobile-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0;
		background: #fff; box-shadow: 0 16px 24px rgba(0,0,0,.08);
		padding: 8px var(--pad) 20px;
	}
	.mobile-nav.is-open { display: block; }
	.mobile-nav a { display: block; padding: 14px 0; border-bottom: 1px solid #eee; }
	.mobile-nav li:last-child a { border-bottom: 0; }
	[id] { scroll-margin-top: calc(var(--topbar-h) + 10px); }
}
@media (max-width: 600px) { .admin-bar .topbar { top: 0; } }

/* ---------- Nadpisy sekcií ---------- */
.section-title {
	display: flex; align-items: center; gap: 1rem;
	font-size: clamp(1.35rem, 2.2vw, 1.55rem); font-weight: 700;
	text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1.4rem;
}
.section-title::after { content: ""; flex: 1; height: 1px; background: var(--c-green); min-width: 40px; }
.section-title--under { display: block; padding-bottom: .5rem; border-bottom: 1px solid var(--c-green); }
.section-title--under::after { display: none; }

.lead { color: var(--c-green); font-weight: 800; margin-bottom: .8rem; }
.prose > :last-child { margin-bottom: 0; }
.prose p { margin-bottom: .75em; }
.prose--justify { text-align: justify; }
@media (max-width: 600px) { .prose--justify { text-align: left; } }

.text-link {
	display: inline-flex; align-items: center; gap: .9rem; margin-top: 1.6rem;
	font-family: var(--f-head); font-weight: 700; font-size: 16px; letter-spacing: .04em;
	text-transform: uppercase; color: var(--c-green);
	background: none; border: 0; padding: 0; cursor: pointer;
}
.text-link .icon { width: 22px; height: 22px; color: var(--c-slate); transition: transform .2s; }
.text-link:hover { color: var(--c-navy-2); }
.text-link:hover .icon { transform: translateX(4px); }
.text-link--icon .icon { color: var(--c-green); }

/* ---------- Tlačidlá ---------- */
.btn {
	display: inline-block; font-family: var(--f-head); font-weight: 700; font-size: 15px;
	text-transform: uppercase; letter-spacing: .03em;
	border: 0; border-radius: 6px; padding: 14px 20px; cursor: pointer;
	background: var(--c-green); color: #fff; transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--c-navy); color: #fff; }
.btn--light { background: #f2f2f2; color: var(--c-slate); }
.btn--light:hover { background: var(--c-navy); color: #fff; }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }

/* ---------- Hero ---------- */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: clamp(600px, 96vh, 900px);
	display: flex; align-items: flex-start; justify-content: center;
	background: linear-gradient(180deg, #b4b4b4 0%, #bdbdbd 40%, #f7f7f7 100%);
	text-align: center;
	padding: clamp(6rem, 26vh, 15rem) var(--pad) 12rem;
}
/* Obloha: video (počítač) alebo statický obrázok (mobil), cez ňu sivý závoj ako na pôvodnom webe. */
.hero--sky { background: var(--hero-poster) center / cover no-repeat, #b4b4b4; }
.hero__video { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; }
.hero--sky::before { content: ""; position: absolute; inset: 0; z-index: -2; background: rgba(88, 88, 88, .44); }
.hero__img {
	position: absolute; z-index: -1; left: 0; right: 0; bottom: 0;
	width: 100%; height: 100%; object-fit: cover; object-position: center bottom;
}
.hero__title {
	color: #fff; font-weight: 500; font-size: clamp(2rem, 3.5vw, 3.4rem);
	letter-spacing: .05em; text-transform: uppercase; margin-bottom: .55em;
	text-shadow: 0 0 22px rgba(0,0,0,.35);
}
.hero__tagline { color: #fff; font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 600; text-shadow: 0 0 14px rgba(0,0,0,.35); margin-bottom: 2rem; }
.hero__tagline p { margin: 0; }
.hero__button {
	display: inline-flex; align-items: stretch; border-radius: 6px; overflow: hidden;
	box-shadow: 0 10px 30px rgba(2,3,79,.25); color: #fff;
}
.hero__button-text { background: var(--grad-navy); padding: 14px 26px; font-size: 15px; letter-spacing: .06em; font-weight: 600; display: flex; align-items: center; }
.hero__button-icon { background: var(--c-green); width: 58px; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.hero__button-icon .icon { width: 22px; height: 22px; }
.hero__button:hover { color: #fff; }
.hero__button:hover .hero__button-icon { background: #5b9463; }
@media (max-width: 700px) {
	.hero { padding-bottom: 9rem; min-height: 540px; }
	.hero__button { flex-direction: column; width: 100%; }
	.hero__button-text { justify-content: center; }
	.hero__button-icon { width: 100%; height: 48px; }
}

/* ---------- Hodnoty (zelený box) ---------- */
.values { --overlap: 10rem; position: relative; z-index: 2; margin-top: calc(-1 * var(--overlap)); padding-left: 60px; }
/* Plynulý prechod z hera: biela sa pod hrdinom postupne stráca do mriežky. */
.values::before {
	content: ""; position: absolute; z-index: -1; left: 0; right: 0;
	top: var(--overlap); bottom: -12rem;
	background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0) 100%);
	pointer-events: none;
}
.values + * { position: relative; z-index: 3; }
.values__box {
	position: relative; overflow: hidden;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
	background: var(--c-green); color: #fff;
	border-radius: var(--radius) 0 0 var(--radius);
	padding: 4.5rem 2.5rem 5rem 2.75rem;
}
.value { display: flex; gap: 1.4rem; align-items: flex-start; }
.value__icon { flex: none; width: 48px; color: #fff; }
.value__icon .svg-icon { width: 48px; height: 48px; }
.value__title { color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: .5rem 0 .6rem; }
.value__text { font-size: 15px; line-height: 1.45; }
.value__text p { margin: 0; }
@media (max-width: 1099px) { .values { padding-left: var(--pad); padding-right: var(--pad); --overlap: 7rem; } .values__box { border-radius: var(--radius); } }
@media (max-width: 860px) {
	.values { padding: 0; --overlap: 6rem; }
	.values__box { grid-template-columns: 1fr; border-radius: 0; padding: 3rem var(--pad); gap: 2.5rem; }
	.value { flex-direction: column; align-items: center; text-align: center; }
}

/* ---------- Text + obrázok ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--top { align-items: start; }
.split--single { grid-template-columns: 1fr; max-width: 860px; }
.split__img { width: 100%; height: auto; }
.split__img--fade {
	-webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%);
	mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%);
}
.split__img--round {
	-webkit-mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 71%);
	mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 71%);
}
@media (max-width: 960px) {
	.split { grid-template-columns: 1fr; }
	.split__media { max-width: 560px; margin: 0 auto; }
}

/* ---------- Služby ---------- */
.services__grid {
	list-style: none; padding: 0; margin: 2.5rem 0 0;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.service {
	display: flex; align-items: stretch; min-height: 100px;
	background: #fff; border-radius: 8px; overflow: hidden;
	box-shadow: 0 6px 24px rgba(2,3,79,.05);
	transition: transform .25s, box-shadow .25s;
}
.service:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(2,3,79,.12); }
.service__icon {
	flex: none; width: 63px; background: var(--grad-navy); color: #fff;
	display: flex; align-items: center; justify-content: center;
}
.service__icon .svg-icon { width: 36px; height: 36px; }
.service__name { display: flex; align-items: center; padding: 1rem 1.5rem; font-weight: 800; font-size: 15px; line-height: 1.3; color: #000; }
.service--cta { background: var(--c-green); }
.service--cta a {
	flex: 1; display: flex; align-items: center; justify-content: center; gap: 1rem;
	color: #fff; font-family: var(--f-head); font-weight: 700; font-size: 17px; letter-spacing: .03em; text-transform: uppercase;
}
.service--cta a .icon { width: 26px; height: 26px; transition: transform .2s; }
.service--cta:hover { background: #5f9a67; }
.service--cta a:hover .icon { transform: translateX(4px); }
@media (max-width: 1200px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services__grid { grid-template-columns: 1fr; } }

/* ---------- Partneri a panely ---------- */
.partners__wrap, .panel-row {
	display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
	gap: clamp(2rem, 4vw, 3.2rem); align-items: center;
	padding-left: max(var(--pad), calc((100% - var(--content)) / 2));
}
.partners__claim { margin-top: 1rem; }
.partners__panel, .panel-row__panel {
	background: var(--grad-panel); color: #fff;
	border-radius: var(--radius-lg) 0 0 var(--radius-lg);
	padding: clamp(2rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 4rem);
	min-height: 420px; display: flex; align-items: center;
}
/* Panel s logami: video stavby (počítač) alebo statický obrázok (mobil), cez ňu modrý závoj ako na pôvodnom webe. */
.partners__panel { position: relative; overflow: hidden; isolation: isolate; background: var(--panel-poster, none) center / cover no-repeat, #1c1d63; }
.partners__panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, #31344a 0%, #01034e 100%); opacity: .9; pointer-events: none; }
.bg-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; pointer-events: none; }
.partners__grid {
	list-style: none; margin: 0; padding: 0; width: 100%;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 2rem; align-items: center;
}
.partner a, .partner > span { display: flex; align-items: center; justify-content: center; padding: .5rem; min-height: 90px; }
.partner__logo { width: 100%; max-width: 210px; height: auto; opacity: .9; transition: opacity .2s, transform .2s; }
.partner a:hover .partner__logo { opacity: 1; transform: scale(1.06); }
.partner__name { color: #fff; font-weight: 800; text-align: center; }
.admin-hint a { color: #fff; text-decoration: underline; }

.panel-row { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); }
.panel-row__panel { min-height: 0; }
.criteria {
	list-style: none; margin: 0; padding: 0; width: 100%;
	columns: 2; column-gap: 3rem;
}
.criteria li { position: relative; padding: .8rem 0 .8rem 2.1rem; break-inside: avoid; font-size: 15px; }
.criteria li::before { content: ""; position: absolute; left: 0; top: 1.2rem; width: 10px; height: 10px; border-radius: 50%; background: #fff; }

@media (max-width: 960px) {
	.partners__wrap, .panel-row { grid-template-columns: 1fr; padding-left: 0; }
	.partners__text, .panel-row__text { padding: 0 var(--pad); }
	.partners__panel, .panel-row__panel { border-radius: 0; min-height: 0; }
	.partners__grid { grid-template-columns: repeat(2, 1fr); }
	.criteria { columns: 1; }
}

/* ---------- Zelené boxy ---------- */
.cta {
	display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 1.5rem;
	background: var(--c-green); color: #fff; border-radius: var(--radius);
	padding: clamp(2.5rem, 5vw, 4.4rem) clamp(1.5rem, 5vw, 6rem);
}
.cta__title { color: #fff; font-size: clamp(1.3rem, 2vw, 1.45rem); letter-spacing: .05em; text-transform: uppercase; margin: 0; }
.cta__contact { display: inline-flex; align-items: center; gap: 1rem; color: #fff; font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 300; justify-self: center; }
.cta__contact .icon { width: 30px; height: 30px; }
.cta__contact:hover { color: var(--c-navy); }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; text-align: center; } .cta__contact { justify-self: center; } }

.green-box {
	background: var(--c-green); color: #fff; border-radius: var(--radius);
	padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 6vw, 6rem);
	text-align: left; font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.7;
}
.green-box p:last-child { margin: 0; }

/* Oblúky z loga v pozadí zelených panelov (pozície ako na pôvodnom webe). */
.cta, .green-box {
	background-color: var(--c-green);
	background-image: var(--arcs-bg);
	background-repeat: no-repeat;
	background-size: 50% auto;
}
.cta { background-position: 74% -8px; }
.green-box { background-position: -116px -141px; }
@media (max-width: 1099px) { .cta { background-position: 50% -8px; } }
@media (max-width: 767px) { .cta, .green-box { background-position: 0 0; background-size: 90% auto; } }

/* ---------- Filozofia – rozbaľovací text ---------- */
.more { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--c-line); }
.more[hidden] { display: none; }
.more-toggle[aria-expanded="true"] .icon { transform: rotate(-90deg); }
.video-link { display: inline-flex; align-items: center; gap: .8rem; font-weight: 800; color: var(--c-text); margin-top: .5rem; }
.video-link__icon { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--c-green); color: #fff; display: flex; align-items: center; justify-content: center; }
.video-link__icon .icon { width: 20px; height: 20px; }
.video-link:hover { color: var(--c-green); }

/* ---------- O nás ---------- */
.signature { display: flex; align-items: center; gap: 2rem; margin-top: 2.2rem; }
.signature__sig { padding-right: 2rem; border-right: 1px solid #999; }
.signature__img { width: 120px; height: auto; }
.signature__who { display: flex; flex-direction: column; line-height: 1.5; }
.signature__name { color: var(--c-green); font-weight: 800; }

/* ---------- Kontakt ---------- */
.contact { padding-top: 1rem; }
.contact__box {
	display: grid; grid-template-columns: 373px 1fr;
	margin-left: max(var(--pad), calc((100% - var(--content)) / 2));
	border-radius: var(--radius-lg) 0 0 var(--radius-lg); overflow: hidden;
}
.contact__info { background: linear-gradient(90deg, var(--c-navy) 0%, #2a2c4c 100%); color: #fff; padding: 3rem 2.5rem; display: flex; align-items: center; }
.contact__list { list-style: none; margin: 0; padding: 0; }
.contact__list li { display: flex; gap: 1.2rem; align-items: flex-start; margin-bottom: 1.1rem; line-height: 1.5; }
.contact__list .icon { flex: none; width: 22px; height: 22px; color: #fff; margin-top: 1px; }
.contact__list a { color: #fff; }
.contact__list a:hover { color: var(--c-green); }

.contact__form { background: var(--c-green); padding: clamp(2rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3.2rem); }
.field { margin-bottom: 1.6rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
	width: 100%; font: inherit; color: #fff; background: transparent;
	border: 0; border-bottom: 1px solid rgba(255,255,255,.9); border-radius: 0;
	padding: .7rem .6rem;
}
.field textarea { resize: vertical; min-height: 120px; }
.field ::placeholder { color: #2e4f33; opacity: .85; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--c-navy); background: rgba(255,255,255,.07); }

.file-drop { position: relative; display: flex; align-items: center; gap: 1rem; padding: .6rem; border-radius: 6px; color: #2e4f33; transition: background .2s; }
.file-drop:hover, .file-drop.is-over { background: rgba(255,255,255,.12); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; z-index: 1; }
.file-drop__icon { flex: none; width: 40px; color: rgba(255,255,255,.85); }
.file-drop__icon .svg-icon { width: 40px; height: 40px; }
.file-drop__label { font-size: 15px; color: #fff; cursor: pointer; }
.file-drop:focus-within { box-shadow: 0 0 0 2px rgba(255,255,255,.8); }
.field__hint { font-size: 13px; color: rgba(255,255,255,.85); margin: .3rem 0 0 .6rem; }
.file-list { list-style: none; padding: 0; margin: .5rem 0 0; font-size: 14px; color: #fff; }
.file-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem .6rem; border-bottom: 1px solid rgba(255,255,255,.3); }
.file-list li.is-error { color: #5a0e0e; font-weight: 800; }

.field--check { display: flex; gap: .7rem; align-items: flex-start; font-size: 15px; color: #000; margin-bottom: 1.2rem; }
.field--check input { margin-top: .25rem; width: 16px; height: 16px; accent-color: var(--c-navy); flex: none; }
.field--check a { color: #000; font-weight: 800; }
.field--check a:hover { color: #fff; }
.form__submit { margin: 0; }

.notice { border-radius: 6px; padding: 1rem 1.25rem; margin-bottom: 1.5rem; font-weight: 700; }
.notice ul { margin: 0; padding-left: 1.2rem; }
.notice--success { background: #fff; color: #1f5a2a; }
.notice--error { background: #fff; color: #8a1c12; }

@media (max-width: 960px) {
	.contact__box { grid-template-columns: 1fr; margin-left: 0; border-radius: 0; }
	.contact__info { padding: 2.5rem var(--pad); }
	.contact__form { padding: 2.5rem var(--pad); }
}

/* ---------- Pätička ---------- */
.site-footer { padding: 1.8rem var(--pad) 4.5rem; font-size: 13px; color: #000; }
.site-footer__line { max-width: var(--content); margin: 0 auto; text-align: right; }
.site-footer a { color: #000; }
.site-footer a:hover { color: var(--c-green); }
.site-footer .sep { margin: 0 .55rem; }
.footer-nav .menu { list-style: none; margin: .5rem 0 0; padding: 0; display: flex; justify-content: flex-end; gap: 1rem; }
@media (max-width: 700px) { .site-footer__line { text-align: center; line-height: 2; } }

/* ---------- Podstránky ---------- */
.page-hero { padding: clamp(3.5rem, 8vw, 6rem) 0 1rem; }
.page-hero__title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); text-transform: uppercase; letter-spacing: .05em; display: flex; align-items: center; gap: 1rem; }
.page-hero__title::after { content: ""; flex: 1; height: 1px; background: var(--c-green); }
.page-content { padding-top: 1rem; }
.container--narrow { max-width: calc(940px + 2 * var(--pad)); margin-left: 0; }
.page-hero .container { margin-left: 0; max-width: calc(940px + 2 * var(--pad)); }
.entry-content { text-align: justify; }
.entry-content h2 { font-size: 1.25rem; margin-top: 2.2em; color: var(--c-navy); }
.entry-content h3 { font-size: 1.02rem; margin-top: 1.6em; color: var(--c-slate); }
.entry-content > :first-child { margin-top: 0; }
.entry-content ul, .entry-content ol { padding-left: 1.4rem; }
.entry-content li { margin-bottom: .4rem; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1rem 0 2rem; font-size: .95rem; text-align: left; background: #fff; }
.entry-content th, .entry-content td { padding: .7rem .8rem; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.entry-content th { background: var(--c-navy); color: #fff; }
.entry-content figure { margin: 0 0 1.5rem; }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content img { border-radius: 8px; }
.entry-content a { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 600px) { .entry-content { text-align: left; } }

/* ---------- Plávajúce prvky ---------- */
.to-top {
	position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
	width: 44px; height: 44px; border-radius: 6px;
	background: var(--c-green); color: #fff; display: flex; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: opacity .25s, transform .25s, visibility .25s, background .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--c-navy); color: #fff; }
.to-top .icon { width: 28px; height: 28px; }

.cookie-settings {
	position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); z-index: 80;
	margin-left: calc(var(--sidebar-w) / 2);
	background: #ececec; color: #333; border: 0; border-radius: 6px 6px 0 0;
	padding: .45rem 1.2rem; font: inherit; font-size: 13px; cursor: pointer;
}
.cookie-settings:hover { background: #e0e0e0; }
.cookie-settings-link { display: none; background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.cookie-settings-link:hover { color: var(--c-green); }
.sep--cookie { display: none; }
@media (max-width: 1099px) {
	.cookie-settings { display: none; }
	.cookie-settings-link, .sep--cookie { display: inline; }
}

.cookie-bar {
	position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 200;
	max-width: 980px; margin: 0 auto;
	background: var(--grad-navy); color: #fff; border-radius: var(--radius);
	box-shadow: 0 20px 50px rgba(0,0,0,.3);
}
@media (min-width: 1100px) { .cookie-bar { left: calc(var(--sidebar-w) + 1rem); } }
.cookie-bar[hidden] { display: none; }
.cookie-bar__inner { display: flex; gap: 1rem 2rem; align-items: center; padding: 1.25rem 1.5rem; flex-wrap: wrap; }
.cookie-bar__text { flex: 1 1 380px; font-size: 14px; }
.cookie-bar__text p { margin: 0; }
.cookie-bar__text a { color: #fff; text-decoration: underline; }
.cookie-bar__actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.cookie-bar .btn { font-size: 13px; padding: .7em 1.2em; }
.cookie-bar .btn:not(.btn--ghost):hover { background: #fff; color: var(--c-navy); }
.cookie-bar .btn--ghost:hover { background: rgba(255,255,255,.12); }

/* ---------- Animácie pri skrolovaní ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Tlač ---------- */
@media print {
	.sidebar, .topbar, .to-top, .cookie-bar, .cookie-settings, .contact__form { display: none !important; }
	.site { margin: 0; background: none; }
	.js .reveal { opacity: 1 !important; transform: none !important; }
}
