/* =========================================================
   FúúDobre 2026 – dizajn systém
   Mierka podľa Figmy: rám 1728 px, obsah 1536 px, okraje 96 px.
   --u = 1 px dizajnu prepočítaný na šírku okna (max. 1 px pri 1728 px+)
   Zápis: calc(N * var(--u)), pri malých veľkostiach s minimom cez max().
   ========================================================= */

:root {
	--fd-orange: #F8AF61;
	--fd-orange-dark: #E2974E;
	--fd-black: #000000;
	--fd-ink: #111111;
	--fd-card: #1C1C1C;
	--fd-gray: #EEEEEE;
	--fd-gray-text: #8E8E8E;
	--fd-muted: #B5B5B5;
	--fd-white: #FFFFFF;
	--fd-line-dark: rgba(255, 255, 255, .14);
	--fd-line-light: rgba(0, 0, 0, .14);

	--fd-font: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

	--u: calc(min(100vw, 1728px) / 1728);
	--fd-container: 1536px;
	--fd-gutter: max(20px, calc(96 * var(--u)));
	--fd-offset: max(var(--fd-gutter), calc((100vw - var(--fd-container)) / 2));
	--fd-radius: max(12px, calc(16 * var(--u)));
	--fd-radius-sm: max(8px, calc(12 * var(--u)));
	--fd-header-h: max(52px, calc(64 * var(--u)));
	--fd-header-top: max(10px, calc(8 * var(--u)));
	--fd-section: max(56px, calc(120 * var(--u)));

	--fd-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Základ ---------- */

body.fd26 {
	font-family: var(--fd-font);
	font-size: max(15px, calc(18 * var(--u)));
	line-height: 1.55;
	color: var(--fd-ink);
	background: var(--fd-white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

body.fd26 h1, body.fd26 h2, body.fd26 h3, body.fd26 h4 {
	font-family: var(--fd-font);
	font-weight: 700;
	letter-spacing: -.02em;
}

body.fd26.fd-locked { overflow: hidden; }

.fd-header a, .fd-mobile a, .fd-footer a, .fd-closing a, .fd-btn, .fd-card, .fd-chip, .fd-news__card { text-decoration: none; }

body.fd26 .fd-header, body.fd26 .fd-header *, body.fd26 .fd-mobile, body.fd26 .fd-mobile *,
body.fd26 [class*="fd-"], body.fd26 [class*="fd-"]::before, body.fd26 [class*="fd-"]::after { box-sizing: border-box; }

.fd-container {
	width: 100%;
	max-width: calc(var(--fd-container) + var(--fd-gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--fd-gutter);
}

.fd-skip {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 1000;
	padding: 10px 16px;
	background: var(--fd-orange);
	color: var(--fd-black);
	border-radius: var(--fd-radius-sm);
	font-weight: 600;
}
.fd-skip:focus { top: 16px; }

body.fd26 :focus-visible {
	outline: 2px solid var(--fd-orange);
	outline-offset: 3px;
	border-radius: 4px;
}

/* Kým nie sú stránky prerobené, starý obsah odsadíme pod plávajúci header */
body.fd26 #frontend-content { padding-top: calc(var(--fd-header-h) + var(--fd-header-top) * 2); background: var(--fd-black); }

/* ---------- Typografia ---------- */

.fd-h2 {
	margin: 0 0 max(20px, calc(32 * var(--u)));
	font-size: max(28px, calc(44 * var(--u)));
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -.02em;
}

.fd-eyebrow {
	margin: 0 0 max(12px, calc(18 * var(--u)));
	font-size: max(12px, calc(19 * var(--u)));
	font-weight: 500;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--fd-orange);
}

.fd-label { margin: 0 0 max(12px, calc(18 * var(--u))); font-size: max(13px, calc(17 * var(--u))); color: var(--fd-gray-text); }
.fd-label--line { padding-bottom: max(12px, calc(20 * var(--u))); border-bottom: 1px solid currentColor; }

.fd-text-orange { color: var(--fd-orange); }
.fd-center { text-align: center; }

/* sivý text so zvýraznenými (strong) slovami */
.fd-muted-mix { font-weight: 600; color: var(--fd-muted); }
.fd-muted-mix strong { font-weight: 700; color: var(--fd-ink); }

/* ---------- Tlačidlá ---------- */

.fd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: max(13px, calc(18 * var(--u))) max(20px, calc(30 * var(--u)));
	border: 1px solid transparent;
	border-radius: var(--fd-radius-sm);
	font-family: var(--fd-font);
	font-size: max(14px, calc(19 * var(--u)));
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .25s var(--fd-ease), color .25s var(--fd-ease), border-color .25s var(--fd-ease), transform .25s var(--fd-ease);
}
.fd-btn:active { transform: scale(.97); }

.fd-btn--primary { background: var(--fd-orange); color: var(--fd-black) !important; }
.fd-btn--primary:hover { background: var(--fd-orange-dark); }

.fd-btn--outline-light { border-color: rgba(255, 255, 255, .7); color: var(--fd-white) !important; }
.fd-btn--outline-light:hover { border-color: var(--fd-white); background: rgba(255, 255, 255, .08); }

.fd-btn--outline-dark { border-color: var(--fd-black); color: var(--fd-black) !important; }
.fd-btn--outline-dark:hover { background: var(--fd-black); color: var(--fd-white) !important; }

.fd-btn--sm { padding: max(11px, calc(16 * var(--u))) max(16px, calc(24 * var(--u))); font-size: max(13px, calc(18 * var(--u))); }
.fd-btn--block { width: 100%; }

/* ---------- Header ---------- */

.fd-header {
	position: fixed;
	top: var(--fd-header-top);
	left: 50%;
	z-index: 900;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	width: min(var(--fd-container), calc(100% - var(--fd-gutter) * 2));
	height: var(--fd-header-h);
	padding: 0 max(6px, calc(8 * var(--u))) 0 max(16px, calc(34 * var(--u)));
	transform: translateX(-50%);
	color: var(--fd-white);
	background: rgba(30, 28, 28, .82);
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: var(--fd-radius-sm);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
	transition: transform .4s var(--fd-ease), background-color .3s;
}
.fd-header.is-hidden { transform: translate(-50%, calc(-100% - var(--fd-header-top) - 4px)); }

.fd-header .nav { margin: 0; padding: 0; list-style: none; }
body.fd26 .fd-header .nav-item, body.fd26 .fd-mobile .nav-item, body.fd26 .fd-footer .nav-item { margin: 0; padding: 0; }
.fd-header .icon, .fd-header .nav img, .fd-header .sticker { display: none; }

/* Keď sa menu nezmestí vedľa loga, prepne sa na hamburger (rieši JS) */
.fd-header.is-compact .fd-header__nav { display: none; }
.fd-header.is-compact .fd-burger { display: block; }

.fd-nav { display: flex; flex-wrap: nowrap; gap: max(20px, calc(34 * var(--u))); }
.fd-header .fd-nav .nav-link {
	position: relative;
	display: block;
	padding: 4px 0;
	white-space: nowrap;
	font-size: max(13px, calc(17 * var(--u)));
	font-weight: 400;
	letter-spacing: .01em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .92);
	transition: color .2s;
}
.fd-header .fd-nav .nav-link::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 1px;
	background: var(--fd-orange);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s var(--fd-ease);
}
.fd-header .fd-nav .nav-link:hover, .fd-header .fd-nav .nav-link.is-active { color: var(--fd-white); }
.fd-header .fd-nav .nav-link:hover::after, .fd-header .fd-nav .nav-link.is-active::after { transform: scaleX(1); }

/* Logo Fúú ⇄ FúúDobre – pevne v strede, šírka 340/947 = „Fúú“ */
.fd-logo {
	--fd-logo-h: max(20px, calc(26 * var(--u)));
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: block;
	height: var(--fd-logo-h);
	width: calc(var(--fd-logo-h) * 947 / 148);
	overflow: hidden;
	transition: width .7s var(--fd-ease);
}
.fd-logo img { display: block; height: 100%; width: auto; max-width: none; }
.fd-logo.is-short { width: calc(var(--fd-logo-h) * 340 / 148); }

.fd-header__actions { margin-left: auto; display: flex; align-items: center; justify-content: flex-end; gap: max(12px, calc(16 * var(--u))); }
.fd-header__cta.fd-btn--sm { padding: max(11px, calc(15 * var(--u))) max(18px, calc(26 * var(--u))); font-size: max(13px, calc(18 * var(--u))); }

.fd-header__mail {
	font-size: max(13px, calc(17 * var(--u)));
	font-weight: 400;
	letter-spacing: .01em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .92) !important;
}
.fd-header__mail:hover { color: var(--fd-orange) !important; }

/* Jazyky */
.fd-lang { position: relative; }
.fd-lang__toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: max(32px, calc(42 * var(--u)));
	padding: 0 max(10px, calc(12 * var(--u)));
	font: 400 max(13px, calc(17 * var(--u))) var(--fd-font);
	color: var(--fd-white);
	background: transparent;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 6px;
	cursor: pointer;
}
.fd-lang__toggle svg { transition: transform .2s; }
.fd-lang.is-open .fd-lang__toggle svg { transform: rotate(180deg); }
.fd-lang__list {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 100%;
	padding: 6px;
	background: var(--fd-ink);
	border: 1px solid var(--fd-line-dark);
	border-radius: 8px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity .2s, transform .2s, visibility .2s;
}
.fd-lang.is-open .fd-lang__list { opacity: 1; visibility: visible; transform: none; }
.fd-lang__nav { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.fd-lang__nav .nav-link { display: block; padding: 6px 10px; font-size: max(13px, calc(16 * var(--u))); font-weight: 500; color: var(--fd-white); border-radius: 4px; }
.fd-lang__nav .nav-link:hover { background: rgba(255, 255, 255, .08); color: var(--fd-orange); }

/* Hamburger */
.fd-burger {
	display: none;
	position: relative;
	width: 40px;
	height: 40px;
	padding: 0;
	background: transparent;
	border: 0;
	cursor: pointer;
}
.fd-burger span {
	position: absolute;
	left: 10px;
	right: 10px;
	height: 2px;
	background: var(--fd-white);
	border-radius: 2px;
	transition: transform .35s var(--fd-ease), top .35s var(--fd-ease);
}
.fd-burger span:first-child { top: 15px; }
.fd-burger span:last-child { top: 23px; }
.fd-burger[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.fd-burger[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Mobilné menu ---------- */

.fd-mobile {
	position: fixed;
	inset: 0;
	z-index: 850;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: calc(var(--fd-header-h) + 48px) var(--fd-gutter) 32px;
	color: var(--fd-white);
	background: var(--fd-black);
	opacity: 0;
	visibility: hidden;
	transition: opacity .35s var(--fd-ease), visibility .35s;
	overflow-y: auto;
}
.fd-mobile.is-open { opacity: 1; visibility: visible; }
.fd-mobile .nav { margin: 0; padding: 0; list-style: none; }
.fd-mobile .icon, .fd-mobile img, .fd-mobile .sticker { display: none; }

.fd-mobile__links { display: flex; flex-direction: column; gap: 6px; }
.fd-mobile .fd-mobile__links .nav-link {
	display: block;
	padding: 4px 0;
	font-size: clamp(34px, 10vw, 56px);
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.1;
	color: var(--fd-white);
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .45s var(--fd-ease), transform .45s var(--fd-ease), color .2s;
}
.fd-mobile.is-open .fd-mobile__links .nav-item:nth-child(1) .nav-link { transition-delay: .05s; }
.fd-mobile.is-open .fd-mobile__links .nav-item:nth-child(2) .nav-link { transition-delay: .1s; }
.fd-mobile.is-open .fd-mobile__links .nav-item:nth-child(3) .nav-link { transition-delay: .15s; }
.fd-mobile.is-open .fd-mobile__links .nav-item:nth-child(4) .nav-link { transition-delay: .2s; }
.fd-mobile.is-open .fd-mobile__links .nav-item:nth-child(5) .nav-link { transition-delay: .25s; }
.fd-mobile.is-open .fd-mobile__links .nav-item:nth-child(6) .nav-link { transition-delay: .3s; }
.fd-mobile.is-open .fd-mobile__links .nav-link { opacity: 1; transform: none; }
.fd-mobile .fd-mobile__links .nav-link.is-active, .fd-mobile .fd-mobile__links .nav-link:hover { color: var(--fd-orange); }

.fd-mobile__bottom { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; }
.fd-mobile__langs { display: flex; gap: 8px; }
.fd-mobile__langs .nav-link {
	padding: 6px 12px;
	font-size: 13px;
	font-weight: 500;
	color: var(--fd-white);
	border: 1px solid var(--fd-line-dark);
	border-radius: 6px;
}
.fd-mobile__mail { font-size: 15px; color: rgba(255, 255, 255, .8) !important; }

/* ---------- Oblúky (grafický prvok z manuálu) ---------- */

.fd-arcs {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	-webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
	mask-image: linear-gradient(180deg, #000 55%, transparent);
}
.fd-arcs::before, .fd-arcs::after {
	content: '';
	position: absolute;
	border-radius: 50%;
	border: calc(60 * var(--u)) solid rgba(255, 255, 255, .07);
}
.fd-arcs::before { width: 62vw; height: 62vw; left: -24vw; top: -14vw; }
.fd-arcs::after { width: 40vw; height: 40vw; left: -13vw; top: -3vw; border-width: calc(36 * var(--u)); border-color: rgba(255, 255, 255, .05); }

/* ---------- Video pilulka v nadpisoch ---------- */

.fd-pill {
	display: inline-block;
	position: relative;
	width: 1.7em;
	height: .95em;
	margin: 0 .06em;
	vertical-align: -.1em;
	overflow: hidden;
	border-radius: .2em;
	background: linear-gradient(135deg, var(--fd-orange), #FFE2BE);
}
.fd-pill video, .fd-pill img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Marquee (nekonečné pásy) ---------- */

.fd-marquee {
	--fd-marquee-duration: 40s;
	position: relative;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.fd-marquee__track {
	display: flex;
	width: max-content;
	gap: var(--fd-marquee-gap, 48px);
	padding-right: var(--fd-marquee-gap, 48px);
	animation: fd-marquee var(--fd-marquee-duration) linear infinite;
}
.fd-marquee[data-direction="right"] .fd-marquee__track { animation-direction: reverse; }
.fd-marquee:hover .fd-marquee__track, .fd-marquee.is-paused .fd-marquee__track { animation-play-state: paused; }
@keyframes fd-marquee { to { transform: translateX(-50%); } }

/* Oranžový pás „Digital creators of tomorrow“ */
.fd-strip {
	--fd-marquee-gap: max(64px, calc(140 * var(--u)));
	padding: max(8px, calc(13 * var(--u))) 0;
	background: var(--fd-orange);
	color: var(--fd-black);
	-webkit-mask-image: none;
	mask-image: none;
}
.fd-strip span { font-size: max(16px, calc(31 * var(--u))); font-weight: 600; line-height: 1.1; white-space: nowrap; }

/* ---------- Animácia pri scrolle ---------- */

.fd-js [data-fd-reveal] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .8s var(--fd-ease), transform .8s var(--fd-ease);
}
.fd-js [data-fd-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Sekcie ---------- */

.fd-section { padding: var(--fd-section) 0; }
.fd-dark { color: var(--fd-white); background: var(--fd-black); }
.fd-section__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: max(24px, calc(36 * var(--u))); }
.fd-section__head .fd-h2 { margin: 0; }
.fd-empty { padding: 40px 0; color: var(--fd-gray-text); }

/* ---------- Šípky ---------- */

.fd-arrows { display: flex; gap: max(8px, calc(12 * var(--u))); }
.fd-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: max(40px, calc(52 * var(--u)));
	height: max(40px, calc(52 * var(--u)));
	padding: 0;
	color: var(--fd-ink);
	background: transparent;
	border: 1px solid var(--fd-ink);
	border-radius: 50%;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, opacity .2s;
}
.fd-arrow svg { width: 40%; height: 40%; }
.fd-arrow:hover { color: var(--fd-white); background: var(--fd-ink); }
.fd-arrow:disabled { opacity: .35; cursor: default; background: transparent; color: var(--fd-ink); }
.fd-dark .fd-arrow { color: var(--fd-white); border-color: rgba(255, 255, 255, .5); }

/* ---------- Carousel (vodorovný posun so snapom) ---------- */

.fd-carousel__track {
	display: flex;
	gap: max(14px, calc(20 * var(--u)));
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}
.fd-carousel__track::-webkit-scrollbar { display: none; }
.fd-carousel__track > * { flex: 0 0 auto; scroll-snap-align: start; }

/* carousel cez celú šírku okna, prvá karta zarovnaná s obsahom */
.fd-carousel--bleed {
	margin-left: calc(var(--fd-offset) * -1);
	margin-right: calc(var(--fd-offset) * -1);
	padding-left: var(--fd-offset);
	padding-right: var(--fd-offset);
	scroll-padding-left: var(--fd-offset);
}

.fd-carousel__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: max(32px, calc(52 * var(--u))); }
.fd-carousel__actions { display: flex; flex-wrap: wrap; gap: max(10px, calc(16 * var(--u))); }

/* ---------- Karta projektu (rôzne šírky ako vo Figme) ---------- */

.fd-projects { --fd-card-h: max(240px, calc(383 * var(--u))); }
.fd-card { display: block; width: calc(var(--fd-card-h) * .97); color: var(--fd-ink) !important; }
.fd-card:nth-child(3n + 2) { width: calc(var(--fd-card-h) * 1.64); }
.fd-card:nth-child(3n + 3) { width: calc(var(--fd-card-h) * 1.3); }
.fd-card[hidden] { display: none; }
.fd-card__media {
	display: block;
	height: var(--fd-card-h);
	overflow: hidden;
	border-radius: var(--fd-radius-sm);
	background: var(--fd-gray);
}
.fd-card__media img, .fd-card__media video { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--fd-ease); }
.fd-card:hover .fd-card__media img, .fd-card:hover .fd-card__media video { transform: scale(1.04); }
.fd-card__title { display: block; margin-top: max(10px, calc(16 * var(--u))); font-size: max(18px, calc(28 * var(--u))); font-weight: 700; line-height: 1.15; }
.fd-card__tags { display: block; margin-top: 4px; font-size: max(13px, calc(17 * var(--u))); color: #555; }

/* ---------- Filter ---------- */

.fd-filters { display: flex; flex-wrap: wrap; gap: max(8px, calc(14 * var(--u))); margin-bottom: max(20px, calc(28 * var(--u))); }
.fd-filter {
	padding: max(9px, calc(16 * var(--u))) max(14px, calc(24 * var(--u)));
	font: 600 max(13px, calc(19 * var(--u))) var(--fd-font);
	line-height: 1;
	color: var(--fd-ink);
	background: transparent;
	border: 1px solid var(--fd-ink);
	border-radius: var(--fd-radius-sm);
	cursor: pointer;
	transition: background-color .2s, color .2s;
}
.fd-filter:hover { background: rgba(0, 0, 0, .05); }
.fd-filter.is-active { color: var(--fd-orange); background: var(--fd-ink); }

/* =========================================================
   Záverečné CTA + pätička
   ========================================================= */

.fd-closing {
	position: relative;
	overflow: hidden;
	padding: max(64px, calc(96 * var(--u))) 0 max(32px, calc(48 * var(--u)));
	color: var(--fd-white);
	background: var(--fd-black);
	text-align: center;
}
.fd-closing__inner { position: relative; z-index: 1; }
.fd-closing__title .fd-pill { margin: 0 .1em; }
.fd-closing__title {
	margin: 0 0 max(14px, calc(20 * var(--u)));
	font-size: max(40px, calc(110 * var(--u)));
	font-weight: 700;
	line-height: 1;
}
.fd-closing__text { margin: 0 0 max(22px, calc(32 * var(--u))); font-size: max(14px, calc(19 * var(--u))); color: rgba(255, 255, 255, .8); }

.fd-footer {
	position: relative;
	overflow: hidden;
	padding-top: max(40px, calc(80 * var(--u)));
	color: var(--fd-white);
	background: var(--fd-black);
}
.fd-footer .nav { margin: 0; padding: 0; list-style: none; }
.fd-footer .icon, .fd-footer .nav img, .fd-footer .sticker { display: none; }
.fd-footer a { color: var(--fd-white); }

.fd-footer__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	padding-bottom: max(48px, calc(90 * var(--u)));
}
.fd-footer__nav { display: flex; flex-direction: column; }
.fd-footer__nav .nav-link {
	padding: 0;
	font-size: max(26px, calc(46 * var(--u)));
	font-weight: 600;
	line-height: 1.55;
	transition: color .2s;
}
.fd-footer__nav .nav-link:hover { color: var(--fd-orange); }

.fd-footer__heading { margin: 0 0 max(12px, calc(16 * var(--u))); font-size: max(20px, calc(34 * var(--u))); font-weight: 600; line-height: 1.2; }
.fd-footer__office { margin: 0 0 max(16px, calc(24 * var(--u))); font-style: normal; font-size: max(14px, calc(21 * var(--u))); line-height: 1.3; color: rgba(255, 255, 255, .85); }
.fd-footer__office strong { display: block; margin-bottom: 8px; color: var(--fd-white); font-weight: 600; }

.fd-footer .fd-footer__mail {
	display: inline-block;
	margin-bottom: max(8px, calc(14 * var(--u)));
	font-size: max(20px, calc(34 * var(--u)));
	font-weight: 600;
	line-height: 1.2;
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 1px;
}
.fd-footer .fd-footer__mail:hover { color: var(--fd-orange); }
.fd-footer__social { display: flex; flex-direction: column; }
.fd-footer__social .nav-link { padding: 0; font-size: max(20px, calc(34 * var(--u))); font-weight: 500; line-height: 1.7; transition: color .2s; }
.fd-footer__social .nav-link:hover { color: var(--fd-orange); }

.fd-footer__logo { line-height: 0; }
.fd-footer__logo img { display: block; width: 100%; height: auto; }

/* spodný pruh je biely, logo z neho „vyrastá“ */
.fd-footer__bar { background: var(--fd-white); }
.fd-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 32px;
	padding-top: max(20px, calc(36 * var(--u)));
	padding-bottom: max(20px, calc(36 * var(--u)));
	font-size: max(12px, calc(16 * var(--u)));
	color: var(--fd-ink);
}
.fd-footer__bottom p { margin: 0; }
.fd-footer__legal { display: flex; flex-wrap: wrap; gap: 12px max(24px, calc(64 * var(--u))); }
.fd-footer .fd-footer__legal a { color: #777; }
.fd-footer .fd-footer__legal a:hover { color: var(--fd-ink); }

/* =========================================================
   Homepage
   ========================================================= */

/* ---------- Hero ---------- */

.fd-hero {
	position: relative;
	padding: calc(var(--fd-header-h) + var(--fd-header-top) + max(28px, calc(52 * var(--u)))) 0 0;
	color: var(--fd-white);
	background: var(--fd-black);
}
.fd-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 63.3%;
	align-items: center;
	padding-bottom: max(56px, calc(90 * var(--u)));
}
.fd-hero__title {
	margin: 0 0 max(16px, calc(26 * var(--u)));
	font-size: max(46px, calc(98 * var(--u)));
	font-weight: 800;
	line-height: .97;
	letter-spacing: -.03em;
}
.fd-hero__lead { max-width: max(280px, calc(380 * var(--u))); margin: 0 0 max(24px, calc(36 * var(--u))); font-size: max(15px, calc(22 * var(--u))); line-height: 1.3; color: rgba(255, 255, 255, .9); }
.fd-hero__actions { display: flex; flex-wrap: wrap; gap: max(10px, calc(14 * var(--u))); }

/* mozaika 973 × 755 (Figma) */
.fd-mosaic {
	display: grid;
	grid-template-columns: 563fr 374fr;
	grid-template-rows: 364fr 360fr;
	gap: calc(31 * var(--u)) calc(36 * var(--u));
	aspect-ratio: 973 / 755;
}
.fd-mosaic__tile { position: relative; overflow: hidden; border-radius: var(--fd-radius-sm); background: var(--fd-card); }
.fd-mosaic__tile--3 { grid-column: 1 / -1; }
.fd-mosaic__tile img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transform: scale(1.06);
	transition: opacity 1s var(--fd-ease), transform 6s linear;
}
.fd-mosaic__tile img.is-active { opacity: 1; transform: scale(1); }

/* pás služieb na hrane hero */
.fd-chips {
	--fd-marquee-gap: max(12px, calc(20 * var(--u)));
	position: relative;
	z-index: 2;
	margin-bottom: calc(max(48px, calc(70 * var(--u))) / -2);
	-webkit-mask-image: none;
	mask-image: none;
}
.fd-chips__list { margin: 0; padding-left: 0; list-style: none; }
.fd-chip {
	display: flex;
	align-items: center;
	gap: max(10px, calc(18 * var(--u)));
	height: max(48px, calc(70 * var(--u)));
	padding: max(5px, calc(6 * var(--u))) max(18px, calc(30 * var(--u))) max(5px, calc(6 * var(--u))) max(5px, calc(6 * var(--u)));
	color: var(--fd-ink) !important;
	background: var(--fd-white);
	border-radius: var(--fd-radius-sm);
	white-space: nowrap;
	transition: background-color .2s;
}
.fd-chip:hover { background: var(--fd-orange); }
.fd-chip__media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: max(52px, calc(96 * var(--u)));
	height: 100%;
	overflow: hidden;
	border-radius: max(6px, calc(8 * var(--u)));
	background: var(--fd-gray);
}
.fd-chip__media img { width: 100%; height: 100%; object-fit: cover; }
.fd-chip__media img[src$=".svg"] { width: 50%; height: 60%; object-fit: contain; }
.fd-chip__title { font-size: max(15px, calc(30 * var(--u))); font-weight: 700; letter-spacing: -.01em; }

/* ---------- Statement ---------- */

.fd-statement {
	position: relative;
	overflow: hidden;
	padding: max(88px, calc(150 * var(--u))) 0 max(64px, calc(130 * var(--u)));
	background: var(--fd-gray);
}
.fd-statement::before, .fd-statement::after {
	content: '';
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}
.fd-statement::before { width: calc(560 * var(--u)); height: calc(560 * var(--u)); left: calc(-280 * var(--u)); top: calc(110 * var(--u)); border: calc(52 * var(--u)) solid var(--fd-white); }
.fd-statement::after { width: calc(440 * var(--u)); height: calc(440 * var(--u)); left: calc(-220 * var(--u)); top: calc(170 * var(--u)); border: calc(10 * var(--u)) solid var(--fd-white); }
.fd-statement .fd-container { position: relative; z-index: 1; }
.fd-statement__text {
	max-width: calc(1300 * var(--u));
	margin: 0 auto;
	font-size: max(22px, calc(42 * var(--u)));
	font-weight: 600;
	line-height: 1.38;
	letter-spacing: -.01em;
	text-align: center;
	color: var(--fd-muted);
}
.fd-statement__text strong { font-weight: 700; }
/* pri scrolle sa slová „vyfarbia“ do finálneho stavu z Figmy: zvýraznené čierne, ostatné sivé */
.fd-fill-word { color: #DADADA; transition: color .35s; }
.fd-fill-word.is-on { color: var(--fd-muted); }
strong .fd-fill-word.is-on, .fd-fill-word.is-on strong { color: var(--fd-ink); }
.fd-statement__text .fd-pill { width: 1.75em; height: 1.05em; vertical-align: -.2em; }

/* ---------- Klienti ---------- */

.fd-clients { padding-top: max(32px, calc(60 * var(--u))); }
.fd-clients .fd-container::before { content: ''; display: block; height: 1px; margin-bottom: max(36px, calc(56 * var(--u))); background: var(--fd-line-light); }
.fd-clients .fd-label { color: var(--fd-ink); }
.fd-clients .fd-h2 { max-width: calc(860 * var(--u)); margin: 0 auto max(40px, calc(64 * var(--u))); }
.fd-clients__rows { display: flex; flex-direction: column; gap: max(28px, calc(56 * var(--u))); }
.fd-logos { --fd-marquee-gap: max(48px, calc(96 * var(--u))); }
.fd-logos .fd-marquee__track { margin: 0; padding-left: 0; list-style: none; align-items: center; }
.fd-logos__item { display: flex; align-items: center; height: max(32px, calc(48 * var(--u))); }
.fd-logos__item img {
	max-width: max(110px, calc(180 * var(--u)));
	max-height: max(28px, calc(42 * var(--u)));
	width: auto;
	height: auto;
	filter: grayscale(1) brightness(.15);
	transition: filter .3s;
}
.fd-logos__item:hover img { filter: none; }
.fd-clients__rows .fd-marquee:nth-child(2) .fd-marquee__track { animation-delay: -12s; }
.fd-clients__rows .fd-marquee:nth-child(3) .fd-marquee__track { animation-delay: -25s; }

/* ---------- Tím ---------- */

.fd-team { padding: max(56px, calc(84 * var(--u))) 0; }
.fd-split { display: grid; grid-template-columns: 49.5% minmax(0, 1fr); gap: max(32px, calc(46 * var(--u))); align-items: center; }
.fd-split__media { position: relative; overflow: hidden; border-radius: var(--fd-radius-sm); }
.fd-split__media img { display: block; width: 100%; height: auto; aspect-ratio: 760 / 655; object-fit: cover; }
.fd-split__media::after {
	content: '';
	position: absolute;
	right: -22%;
	bottom: -48%;
	width: 75%;
	aspect-ratio: 1;
	border-radius: 50%;
	border: max(20px, calc(36 * var(--u))) solid var(--fd-black);
	pointer-events: none;
}
.fd-split__text { max-width: calc(620 * var(--u)); }
.fd-split__text .fd-label { color: rgba(255, 255, 255, .85); }
.fd-split__text .fd-h2 { max-width: calc(480 * var(--u)); margin-bottom: max(18px, calc(26 * var(--u))); font-size: max(26px, calc(42 * var(--u))); }
.fd-split__text p { margin: 0 0 max(24px, calc(36 * var(--u))); font-size: max(15px, calc(19 * var(--u))); color: rgba(255, 255, 255, .85); }

/* ---------- Fúú news ---------- */

.fd-newsblock { padding-bottom: max(48px, calc(80 * var(--u))); }
.fd-news { gap: max(12px, calc(18 * var(--u))); }
.fd-news__card {
	position: relative;
	display: block;
	width: max(240px, calc(630 * var(--u)));
	aspect-ratio: 630 / 780;
	overflow: hidden;
	color: var(--fd-white) !important;
	border-radius: var(--fd-radius-sm);
	background: var(--fd-card);
}
.fd-news__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--fd-ease); }
.fd-news__card:hover img { transform: scale(1.04); }
.fd-news__card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .75)); }
.fd-news__body {
	position: absolute;
	left: max(18px, calc(42 * var(--u)));
	right: max(18px, calc(42 * var(--u)));
	bottom: max(18px, calc(44 * var(--u)));
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: max(14px, calc(24 * var(--u)));
}
.fd-news__title { font-size: max(18px, calc(31 * var(--u))); font-weight: 600; line-height: 1.2; }
.fd-news__body .fd-btn { font-size: max(13px, calc(20 * var(--u))); padding: max(11px, calc(18 * var(--u))) max(16px, calc(24 * var(--u))); }

/* ---------- Recenzie ---------- */

.fd-reviewsblock { padding-top: 0; padding-bottom: max(64px, calc(120 * var(--u))); }
.fd-reviewsblock .fd-h2 { padding-top: max(32px, calc(56 * var(--u))); border-top: 1px solid var(--fd-line-light); }
.fd-reviews__rows { display: flex; flex-direction: column; gap: max(14px, calc(22 * var(--u))); }
.fd-reviews { --fd-marquee-gap: max(14px, calc(22 * var(--u))); }
.fd-reviews .fd-marquee__track { align-items: stretch; }
.fd-review {
	display: flex;
	flex-direction: column;
	width: max(290px, calc(497 * var(--u)));
	min-height: max(240px, calc(355 * var(--u)));
	margin: 0;
	padding: max(18px, calc(22 * var(--u))) max(18px, calc(20 * var(--u)));
	background: var(--fd-white);
	border: 1px solid #333;
	border-radius: var(--fd-radius-sm);
}
.fd-review__author { margin-bottom: max(14px, calc(22 * var(--u))); font-size: max(12px, calc(14 * var(--u))); line-height: 1.3; }
.fd-review__author strong { display: block; font-size: max(13px, calc(16 * var(--u))); font-weight: 700; }
.fd-review__author span { color: #555; }
.fd-review__text { flex: 1; margin: 0 0 18px; padding: 0; border: 0; font-size: max(14px, calc(19 * var(--u))); line-height: 1.5; color: var(--fd-ink); white-space: normal; }
.fd-review__logo { align-self: flex-start; max-width: max(90px, calc(130 * var(--u))); max-height: max(22px, calc(30 * var(--u))); width: auto; height: auto; filter: grayscale(1) brightness(.15); }

/* ---------- Banner ---------- */

.fd-banner { position: relative; overflow: hidden; color: var(--fd-white); background: var(--fd-black); }
.fd-banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.fd-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .25) 50%, transparent); }
.fd-banner__inner { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: max(400px, calc(740 * var(--u))); }
.fd-banner__title { margin: 0 0 max(10px, calc(14 * var(--u))); font-size: max(36px, calc(80 * var(--u))); font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.fd-banner__text { margin: 0 0 max(20px, calc(30 * var(--u))); font-size: max(14px, calc(21 * var(--u))); color: rgba(255, 255, 255, .9); }

/* =========================================================
   Responzivita
   ========================================================= */

@media (max-width: 1320px) {
	.fd-header__mail { display: none; }
}

@media (max-width: 1100px) {
	.fd-header { padding: 0 4px 0 16px; }
	.fd-header__nav, .fd-header__cta, .fd-lang { display: none; }
	.fd-burger { display: block; }
	.fd-logo { position: static; transform: none; }
}

@media (max-width: 991px) {
	.fd-footer__grid { grid-template-columns: 1fr 1fr; }
	.fd-footer__grid .fd-footer__col:first-child { grid-column: 1 / -1; }

	.fd-hero__grid { grid-template-columns: 1fr; gap: 40px; }
	.fd-split { grid-template-columns: 1fr; }
	.fd-split__text, .fd-split__text .fd-h2 { max-width: none; }
	.fd-statement__text, .fd-clients .fd-h2 { max-width: none; }
}

@media (max-width: 575px) {
	.fd-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.fd-footer__bottom { flex-direction: column; }

	.fd-mosaic { gap: 8px; }
	.fd-projects { --fd-card-h: 300px; }
	.fd-card, .fd-card:nth-child(3n + 2), .fd-card:nth-child(3n + 3) { width: 82vw; }
	.fd-news__card { width: 72vw; }
	.fd-carousel__footer { flex-direction: column-reverse; align-items: flex-start; }
	.fd-filters { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--fd-gutter) * -1); margin-right: calc(var(--fd-gutter) * -1); padding: 0 var(--fd-gutter); scrollbar-width: none; }
	.fd-filters::-webkit-scrollbar { display: none; }
	.fd-filter { flex: 0 0 auto; }
	.fd-statement::before, .fd-statement::after { display: none; }
	.fd-banner__inner { justify-content: flex-end; padding-bottom: 40px; }
	.fd-banner::after { background: linear-gradient(0deg, rgba(0, 0, 0, .85) 10%, rgba(0, 0, 0, .2) 70%); }
}

/* ---------- Obmedzený pohyb ---------- */

@media (prefers-reduced-motion: reduce) {
	.fd-marquee__track { animation-duration: 240s; }
	.fd-js [data-fd-reveal] { opacity: 1; transform: none; transition: none; }
	.fd-logo, .fd-header, .fd-mobile, .fd-mobile .fd-mobile__links .nav-link, .fd-mosaic__tile img { transition: none; }
	.fd-fill-word { color: var(--fd-muted); }
	strong .fd-fill-word { color: var(--fd-ink); }
}
