/* =========================================================
   FúúDobre 2026 – dizajn systém
   Základ: farby, písmo, header, mobilné menu, CTA, pätička
   + zdieľané komponenty (tlačidlá, marquee, pilulka, reveal)
   ========================================================= */

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

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

	--fd-container: 1280px;
	--fd-gutter: clamp(16px, 4vw, 32px);
	--fd-radius: 14px;
	--fd-radius-sm: 10px;
	--fd-header-h: 52px;
	--fd-header-top: 12px;

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

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

body.fd26 {
	font-family: var(--fd-font);
	font-size: 16px;
	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 { text-decoration: none; }

body.fd26 .fd-header, body.fd26 .fd-header *, body.fd26 .fd-mobile, body.fd26 .fd-mobile *, body.fd26 .fd-container { 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); }

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

.fd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 24px;
	border: 1px solid transparent;
	border-radius: var(--fd-radius-sm);
	font-family: var(--fd-font);
	font-size: 15px;
	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, .5); 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: 10px 16px; font-size: 13px; }
.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% - 32px));
	height: var(--fd-header-h);
	padding: 0 6px 0 34px;
	transform: translateX(-50%);
	color: var(--fd-white);
	background: rgba(22, 22, 22, .78);
	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; }
/* Keď sa menu nezmestí vedľa loga, prepne sa na hamburger (rieši fd26.js) */
.fd-header.is-compact .fd-header__nav { display: none; }
.fd-header.is-compact .fd-burger { display: block; }
.fd-header .icon, .fd-header .nav img { display: none; }
.fd-header .sticker { display: none; }

.fd-nav { display: flex; flex-wrap: nowrap; gap: 30px; }
.fd-header .fd-nav .nav-link {
	position: relative;
	display: block;
	padding: 4px 0;
	white-space: nowrap;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: .01em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .9);
	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 (šírka 335/947 = symbol, 947/947 = celé logo)
   Je absolútne v strede headera, takže zmena šírky nehýbe menu. */
.fd-logo {
	--fd-logo-h: 22px;
	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: 14px; }
.fd-header__cta.fd-btn--sm { padding: 12px 22px; font-size: 14px; border-radius: 8px; }

.fd-header__mail {
	font-size: 14px;
	font-weight: 400;
	letter-spacing: .01em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .9) !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: 34px;
	padding: 0 10px;
	font: 400 14px 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; }
.fd-lang__nav .nav-link { display: block; padding: 6px 10px; font-size: 14px; 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, 48px);
	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__links .nav-link.is-active, .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: clamp(28px, 4vw, 56px) solid rgba(255, 255, 255, .06);
}
.fd-arcs::before { width: 70vw; height: 70vw; left: -28vw; top: -12vw; }
.fd-arcs::after { width: 44vw; height: 44vw; left: -15vw; top: 2vw; border-width: clamp(18px, 2.4vw, 36px); border-color: rgba(255, 255, 255, .04); }

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

.fd-pill {
	display: inline-block;
	position: relative;
	width: 1.7em;
	height: .95em;
	margin: 0 .08em;
	vertical-align: -.08em;
	overflow: hidden;
	border-radius: .22em;
	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; }

/* ---------- Záverečné CTA ---------- */

.fd-closing {
	position: relative;
	overflow: hidden;
	padding: clamp(72px, 10vw, 140px) 0 clamp(56px, 7vw, 96px);
	color: var(--fd-white);
	background: var(--fd-black);
	text-align: center;
}
.fd-closing__inner { position: relative; z-index: 1; }
.fd-closing__title {
	margin: 0 0 16px;
	font-size: clamp(40px, 7vw, 88px);
	font-weight: 700;
	line-height: 1.02;
}
.fd-closing__text { margin: 0 0 28px; font-size: 15px; color: rgba(255, 255, 255, .75); }

/* ---------- Pätička ---------- */

.fd-footer {
	position: relative;
	overflow: hidden;
	padding-top: clamp(40px, 6vw, 72px);
	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: clamp(40px, 6vw, 80px);
}
.fd-footer__nav { display: flex; flex-direction: column; gap: 4px; }
.fd-footer__nav .nav-link {
	padding: 0;
	font-size: clamp(26px, 2.6vw, 36px);
	font-weight: 600;
	line-height: 1.25;
	transition: color .2s;
}
.fd-footer__nav .nav-link:hover { color: var(--fd-orange); }

.fd-footer__heading { margin: 0 0 14px; font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; }
.fd-footer__office { margin: 0 0 16px; font-style: normal; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .8); }
.fd-footer__office strong { display: block; margin-bottom: 4px; color: var(--fd-white); font-weight: 600; }

.fd-footer .fd-footer__mail {
	display: inline-block;
	margin-bottom: 14px;
	font-size: clamp(20px, 1.8vw, 26px);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 1px;
}
.fd-footer__mail:hover { color: var(--fd-orange) !important; }
.fd-footer__social { display: flex; flex-direction: column; gap: 4px; }
.fd-footer__social .nav-link { padding: 2px 0; line-height: 1.35; font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; transition: color .2s; }
.fd-footer__social .nav-link:hover { color: var(--fd-orange); }

.fd-footer__logo { padding: 0 1vw; line-height: 0; }
.fd-footer__logo img { width: 100%; height: auto; }

.fd-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 32px;
	padding-top: 20px;
	padding-bottom: 24px;
	font-size: 12px;
	color: rgba(255, 255, 255, .6);
}
.fd-footer__bottom p { margin: 0; }
.fd-footer__legal { display: flex; flex-wrap: wrap; gap: 12px 40px; }
.fd-footer__legal a { color: rgba(255, 255, 255, .6) !important; }
.fd-footer__legal a:hover { color: var(--fd-white) !important; }

/* ---------- Marquee (nekonečné pásy) ----------
   <div class="fd-marquee" data-fd-marquee data-direction="left|right" data-speed="40">
     <div class="fd-marquee__track"> ...položky... </div>
   </div>                                                           */

.fd-marquee {
	--fd-marquee-duration: 40s;
	position: relative;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, 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 {
	padding: 10px 0;
	background: var(--fd-orange);
	color: var(--fd-black);
	-webkit-mask-image: none;
	mask-image: none;
	--fd-marquee-gap: 96px;
}
.fd-strip span { font-size: clamp(16px, 1.6vw, 22px); font-weight: 600; 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; }

/* ---------- Responzivita ---------- */

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

@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 { --fd-logo-h: 20px; 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; }
}

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

/* ---------- 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__links .nav-link { transition: none; }
}

/* =========================================================
   Zdieľané sekcie
   ========================================================= */

.fd-section { padding: clamp(56px, 8vw, 110px) 0; }
.fd-dark { color: var(--fd-white); background: var(--fd-black); }
.fd-center { text-align: center; }
.fd-text-orange { color: var(--fd-orange); }

.fd-h2 {
	margin: 0 0 24px;
	font-size: clamp(28px, 3.2vw, 44px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -.02em;
}

.fd-eyebrow {
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--fd-orange);
}

.fd-label { margin: 0 0 14px; font-size: 13px; color: var(--fd-gray-text); }
.fd-label--line { padding-bottom: 14px; border-bottom: 1px solid currentColor; color: rgba(255, 255, 255, .7); }

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

.fd-section__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.fd-section__head .fd-h2 { margin: 0; }

.fd-empty { padding: 40px 0; color: var(--fd-gray-text); }

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

.fd-arrows { display: flex; gap: 8px; }
.fd-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	color: var(--fd-ink);
	background: transparent;
	border: 1px solid rgba(0, 0, 0, .25);
	border-radius: 50%;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, opacity .2s;
}
.fd-arrow:hover { color: var(--fd-white); background: var(--fd-ink); border-color: 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, .35); }

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

.fd-carousel__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 2 * 20px) / 3);
	gap: 20px;
	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 > * { scroll-snap-align: start; }

.fd-carousel__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; }
.fd-carousel__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Karta projektu ---------- */

.fd-card { display: block; color: var(--fd-ink) !important; text-decoration: none; }
.fd-card[hidden] { display: none; }
.fd-card__media {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: var(--fd-radius-sm);
	background: var(--fd-gray);
}
.fd-card__media img, .fd-card__media video { 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: 12px; font-size: 18px; font-weight: 700; line-height: 1.2; }
.fd-card__tags { display: block; margin-top: 2px; font-size: 13px; color: var(--fd-gray-text); }

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

.fd-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.fd-filter {
	padding: 9px 16px;
	font: 600 13px var(--fd-font);
	color: var(--fd-ink);
	background: transparent;
	border: 1px solid rgba(0, 0, 0, .3);
	border-radius: 8px;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}
.fd-filter:hover { border-color: var(--fd-ink); }
.fd-filter.is-active { color: var(--fd-white); background: var(--fd-ink); border-color: var(--fd-ink); }

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

.fd-hero {
	position: relative;
	padding: calc(var(--fd-header-h) + var(--fd-header-top) + clamp(40px, 6vw, 80px)) 0 0;
	color: var(--fd-white);
	background: var(--fd-black);
}
.fd-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(24px, 4vw, 64px);
	align-items: center;
	padding-bottom: clamp(48px, 6vw, 80px);
}
.fd-hero__title {
	margin: 0 0 18px;
	font-size: clamp(48px, 6.4vw, 92px);
	font-weight: 800;
	line-height: .98;
	letter-spacing: -.03em;
}
.fd-hero__lead { max-width: 360px; margin: 0 0 28px; font-size: 15px; color: rgba(255, 255, 255, .78); }
.fd-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* mozaika */
.fd-mosaic {
	display: grid;
	grid-template-columns: 1.55fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 14px;
	aspect-ratio: 16 / 11;
}
.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 */
.fd-chips { position: relative; z-index: 2; margin-bottom: -28px; --fd-marquee-gap: 12px; -webkit-mask-image: none; mask-image: none; }
.fd-chips .nav { flex-wrap: nowrap; margin: 0; padding: 0; list-style: none; }
.fd-chips .nav-item { margin: 0; padding: 0; }
.fd-chips .nav-link {
	display: flex !important;
	align-items: center;
	gap: 12px;
	height: 56px;
	padding: 6px 22px 6px 6px !important;
	color: var(--fd-ink) !important;
	background: var(--fd-white);
	border-radius: var(--fd-radius-sm);
	box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
	white-space: nowrap;
	transition: background-color .2s;
}
.fd-chips .nav-link:hover { background: var(--fd-orange); }
.fd-chips .nav-link img { width: 64px !important; height: 44px; object-fit: cover; border-radius: 6px; }
.fd-chips .title { font-size: 17px; font-weight: 700; }
.fd-chips .sticker, .fd-chips .icon { display: none; }

/* statement */
.fd-statement { padding: clamp(80px, 10vw, 140px) 0 clamp(64px, 8vw, 110px); background: var(--fd-gray); }
.fd-statement__text {
	max-width: 900px;
	margin: 0 auto;
	font-size: clamp(22px, 2.4vw, 34px);
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -.01em;
	text-align: center;
	color: #B5B5B5;
}
.fd-statement__text strong { font-weight: 700; }
.fd-fill-word { transition: color .3s; }
.fd-fill-word.is-on { color: var(--fd-ink); }
.fd-statement__text .fd-pill { width: 1.8em; }

/* klienti */
.fd-clients .fd-h2 { max-width: 760px; margin: 0 auto 48px; }
.fd-clients__rows { display: flex; flex-direction: column; gap: 28px; }
.fd-logos { --fd-marquee-gap: 64px; }
.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: 44px; }
.fd-logos__item img {
	max-width: 140px;
	max-height: 40px;
	width: auto;
	height: auto;
	filter: grayscale(1);
	opacity: .7;
	transition: filter .3s, opacity .3s;
}
.fd-logos__item:hover img { filter: none; opacity: 1; }
.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 (delený blok) */
.fd-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.fd-split__media { position: relative; overflow: hidden; border-radius: var(--fd-radius); }
.fd-split__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.fd-split__media::after {
	content: '';
	position: absolute;
	right: -18%;
	bottom: -40%;
	width: 70%;
	aspect-ratio: 1;
	border-radius: 50%;
	border: clamp(24px, 3vw, 44px) solid var(--fd-black);
	pointer-events: none;
}
.fd-split__text p { color: rgba(255, 255, 255, .75); margin: 0 0 24px; }
.fd-split__text .fd-label { color: rgba(255, 255, 255, .6); margin-bottom: 18px; }

/* news */
.fd-newsblock .fd-carousel__track { grid-auto-columns: calc((100% - 3 * 16px) / 3.4); gap: 16px; }
.fd-news__card {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	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 45%, rgba(0, 0, 0, .8)); }
.fd-news__body { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.fd-news__title { font-size: 19px; font-weight: 700; line-height: 1.2; }

/* recenzie */
.fd-newsblock { padding-bottom: clamp(40px, 5vw, 64px); }
.fd-reviewsblock { padding-top: 0; padding-bottom: clamp(64px, 8vw, 110px); }
.fd-reviewsblock .fd-h2 { padding-top: 24px; border-top: 1px solid var(--fd-line-light); }
.fd-reviews__rows { display: flex; flex-direction: column; gap: 16px; }
.fd-reviews { --fd-marquee-gap: 16px; }
.fd-reviews .fd-marquee__track { align-items: stretch; }
.fd-review {
	display: flex;
	flex-direction: column;
	width: 380px;
	margin: 0;
	padding: 22px;
	background: var(--fd-white);
	border: 1px solid rgba(0, 0, 0, .18);
	border-radius: var(--fd-radius-sm);
}
.fd-review__author { margin-bottom: 14px; font-size: 13px; line-height: 1.3; }
.fd-review__author strong { display: block; font-size: 14px; }
.fd-review__author span { color: var(--fd-gray-text); font-size: 12px; }
.fd-review__text { flex: 1; margin: 0 0 18px; font-size: 14px; line-height: 1.55; color: #555; white-space: normal; }
.fd-review__logo { max-width: 110px; max-height: 28px; width: auto; height: auto; filter: grayscale(1); }

/* 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) 55%, transparent); }
.fd-banner__inner { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: clamp(380px, 42vw, 620px); }
.fd-banner__title { margin: 0 0 12px; font-size: clamp(36px, 4.4vw, 64px); font-weight: 700; line-height: 1.02; letter-spacing: -.02em; }
.fd-banner__text { margin: 0 0 24px; font-size: 14px; color: rgba(255, 255, 255, .8); }

/* ---------- Homepage responzivita ---------- */

@media (max-width: 991px) {
	.fd-hero__grid { grid-template-columns: 1fr; }
	.fd-carousel__track { grid-auto-columns: calc((100% - 20px) / 2); }
	.fd-newsblock .fd-carousel__track { grid-auto-columns: calc((100% - 16px) / 2.2); }
	.fd-split { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
	.fd-hero { padding-top: calc(var(--fd-header-h) + var(--fd-header-top) + 24px); }
	.fd-mosaic { aspect-ratio: 4 / 3.4; gap: 8px; }
	.fd-carousel__track { grid-auto-columns: 82%; gap: 14px; }
	.fd-newsblock .fd-carousel__track { grid-auto-columns: 72%; }
	.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-chips .nav-link { height: 48px; }
	.fd-chips .nav-link img { width: 52px !important; height: 36px; }
	.fd-chips .title { font-size: 15px; }
	.fd-review { width: 300px; }
	.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%); }
}

@media (prefers-reduced-motion: reduce) {
	.fd-mosaic__tile img { transition: none; }
	.fd-fill-word { color: var(--fd-ink); }
}
