/* ==========================================================================
   FENIKS DJM — dizajnerski sistem (v1.0.0)
   Izvor: docs/dizajn-specifikacija.md (odobreno 20.11.2026)

   1. Fontovi (lokalno, SIL OFL 1.1)
   2. Tokeni
   3. Osnova i pristupačnost
   4. Tipografija
   5. Linkovi i dugmad (+ Elementor)
   6. Raspored i pomoćne klase za Elementor
   7. Header i navigacija
   8. Mobilni meni
   9. Footer
   10. Mobilna kontakt traka
   12. Hero (R2) + komponenta slike (fx-media, fx-ph)
   13. O nama · 14. Naše usluge · 15. Zašto FENIKS DJM
   11. Smanjeno kretanje (namjerno posljednje — mora nadjačati sve animacije)
   ========================================================================== */

/* 1. Fontovi ------------------------------------------------------------- */
/* latin-ext: č ć š ž đ; latin: osnovna latinica + ä ö ü ß */
@font-face {
	font-family: "Fraunces";
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url("../fonts/fraunces-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: "Fraunces";
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url("../fonts/fraunces-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: "Schibsted Grotesk";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/schibsted-grotesk-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: "Schibsted Grotesk";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/schibsted-grotesk-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;
}

/* 2. Tokeni -------------------------------------------------------------- */
:root {
	/* Boje — zlato iz originalnog logotipa (#DAA520) */
	--fx-gold: #DAA520;
	--fx-gold-light: #E8C25E;
	--fx-gold-deep: #8A6510;   /* zlatni tekst na svijetloj podlozi (4.8:1) */
	--fx-black: #0E0D0B;
	--fx-surface: #1A1815;
	--fx-line: #2E2A24;
	--fx-ivory: #F2EFE8;
	--fx-muted: #A8A196;
	--fx-paper: #F4F3F0;
	--fx-ink: #1C1A17;
	--fx-error: #F07178;
	--fx-error-on-light: #B42318;
	--fx-success: #4CB782;
	--fx-gold-tint: rgba(218, 165, 32, 0.10);

	/* Fontovi */
	/* Tipografija A „Precizno" (odobreno 20.11.2026): naslovi Schibsted Grotesk, Fraunces samo za brojeve */
	--fx-font-display: "Schibsted Grotesk", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
	--fx-font-num: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--fx-font-text: "Schibsted Grotesk", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

	/* Tipografska skala — desktop (≥ 1025 px) */
	--fx-fs-h1: 6rem;        /* 96 */
	--fx-fs-h2: 4rem;        /* 64 */
	--fx-fs-h3: 2rem;        /* 32 */
	--fx-fs-h4: 1.25rem;     /* 20 */
	--fx-fs-lead: 1.375rem;  /* 22 */
	--fx-fs-body: 1.125rem;  /* 18 */
	--fx-fs-small: 0.875rem; /* 14 */
	--fx-fs-nav: 0.9375rem;  /* 15 */
	--fx-fs-button: 1rem;    /* 16 */

	--fx-lh-h1: 1;
	--fx-lh-h2: 1.05;
	--fx-lh-h3: 1.2;
	--fx-lh-h4: 1.35;
	--fx-lh-body: 1.65;

	/* Razmaci (skala 4/8) */
	--fx-space-1: 0.25rem;  /* 4 */
	--fx-space-2: 0.5rem;   /* 8 */
	--fx-space-3: 0.75rem;  /* 12 */
	--fx-space-4: 1rem;     /* 16 */
	--fx-space-5: 1.5rem;   /* 24 */
	--fx-space-6: 2rem;     /* 32 */
	--fx-space-7: 3rem;     /* 48 */
	--fx-space-8: 4rem;     /* 64 */
	--fx-space-9: 6rem;     /* 96 */
	--fx-space-10: 8rem;    /* 128 */

	/* Raspored */
	--fx-container: 1200px;
	--fx-gutter: 2rem;           /* bočni razmak */
	--fx-section-y: 10rem;       /* vertikalni razmak sekcije (160) */
	--fx-grid-gap: 2rem;
	--fx-measure: 66ch;          /* maks. dužina reda */

	/* Komponente */
	--fx-radius-control: 4px;    /* dugmad, polja */
	--fx-radius-media: 2px;      /* mapa, fotografije */
	--fx-control-h: 3.25rem;     /* 52 */
	--fx-header-h: 4.5rem;       /* 72 — konstantna visina (bez pomjeranja sadržaja) */
	--fx-mobile-bar-h: 4rem;     /* 64 */
	--fx-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--fx-dur-fast: 160ms;
	--fx-dur: 220ms;
	/* Motion sistem (redizajn „Ruta") */
	--fx-dur-xs: 160ms;
	--fx-dur-s: 320ms;
	--fx-dur-m: 600ms;
	--fx-dur-l: 900ms;
	--fx-dur-xl: 1600ms;
	--fx-ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
	--fx-ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
	--fx-progress-h: 2px;
}

@media (max-width: 1024px) {
	:root {
		--fx-fs-h1: 4.5rem;      /* 72 */
		--fx-fs-h2: 3rem;        /* 48 */
		--fx-fs-h3: 1.75rem;     /* 28 */
		--fx-fs-h4: 1.1875rem;   /* 19 */
		--fx-fs-lead: 1.25rem;   /* 20 */
		--fx-section-y: 7rem;     /* 112 */
		--fx-grid-gap: 1.5rem;
		--fx-header-h: 4rem;     /* 64 */
	}
}

@media (max-width: 767px) {
	:root {
		--fx-fs-h1: 2.75rem;     /* 44 */
		--fx-fs-h2: 2.25rem;     /* 36 */
		--fx-fs-h3: 1.5rem;      /* 24 */
		--fx-fs-h4: 1.125rem;    /* 18 */
		--fx-fs-lead: 1.125rem;  /* 18 */
		--fx-fs-body: 1rem;      /* 16 */
		--fx-gutter: 1.25rem;    /* 20 */
		--fx-section-y: 5rem;    /* 80 */
		--fx-grid-gap: 1rem;
	}
}

/* 3. Osnova i pristupačnost --------------------------------------------- */
html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body.fx-site {
	margin: 0;
	background-color: var(--fx-black);
	color: var(--fx-ivory);
	font-family: var(--fx-font-text);
	font-size: var(--fx-fs-body);
	line-height: var(--fx-lh-body);
	font-kerning: normal;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip; /* osigurač protiv horizontalnog skrolovanja */
}

::selection {
	background: var(--fx-gold);
	color: var(--fx-black);
}

/* Sidra sekcija ne završavaju ispod sticky headera */
[id] {
	scroll-margin-top: calc(var(--fx-header-h) + var(--fx-space-4));
}

/* Vidljiv fokus za tastaturu na svim elementima */
.fx-site :focus-visible {
	outline: 2px solid var(--fx-ivory);
	outline-offset: 3px;
}
.fx-site :focus:not(:focus-visible) {
	outline: none;
}

/* Skip link — vidljiv na fokus */
.fx-site .skip-link.screen-reader-text:focus {
	position: fixed;
	top: var(--fx-space-3);
	left: var(--fx-space-3);
	z-index: 100000;
	width: auto;
	height: auto;
	clip: auto;
	clip-path: none;
	padding: var(--fx-space-3) var(--fx-space-5);
	background: var(--fx-gold);
	color: var(--fx-black);
	font-family: var(--fx-font-text);
	font-size: var(--fx-fs-button);
	font-weight: 600;
	text-decoration: none;
	border-radius: var(--fx-radius-control);
}

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

/* 4. Tipografija --------------------------------------------------------- */
.fx-site h1,
.fx-site h2,
.fx-site h3,
.fx-site .elementor-widget-heading .elementor-heading-title {
	font-family: var(--fx-font-display);
	font-optical-sizing: auto;
	font-variation-settings: "SOFT" 0, "WONK" 0;
	color: var(--fx-ivory);
	margin-top: 0;
	text-wrap: balance;
}

.fx-site h1,
.fx-site .elementor-widget-heading h1.elementor-heading-title {
	font-size: var(--fx-fs-h1);
	font-weight: 600;
	line-height: var(--fx-lh-h1);
	letter-spacing: -0.035em;
}
.fx-site h2,
.fx-site .elementor-widget-heading h2.elementor-heading-title {
	font-size: var(--fx-fs-h2);
	font-weight: 600;
	line-height: var(--fx-lh-h2);
	letter-spacing: -0.03em;
}
.fx-site h3,
.fx-site .elementor-widget-heading h3.elementor-heading-title {
	font-size: var(--fx-fs-h3);
	font-weight: 600;
	line-height: var(--fx-lh-h3);
	letter-spacing: -0.02em;
}
.fx-site h4,
.fx-site .elementor-widget-heading h4.elementor-heading-title {
	font-family: var(--fx-font-text);
	font-size: var(--fx-fs-h4);
	font-weight: 600;
	line-height: var(--fx-lh-h4);
	letter-spacing: 0;
	color: var(--fx-ivory);
	margin-top: 0;
}

.fx-site p {
	max-width: var(--fx-measure);
	text-wrap: pretty;
}

.fx-lead,
.fx-lead p {
	font-size: var(--fx-fs-lead);
	line-height: 1.5;
}

.fx-muted,
.fx-muted p {
	color: var(--fx-muted);
}

.fx-small,
.fx-small p {
	font-size: var(--fx-fs-small);
	line-height: 1.5;
}

/* 5. Linkovi i dugmad ---------------------------------------------------- */
/* :where(:not(...)) — dugmad (Elementor i tema) imaju vlastite boje; specifičnost ostaje ista */
.fx-site a:where(:not(.elementor-button):not(.fx-btn)) {
	color: var(--fx-gold);
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
	transition: color var(--fx-dur-fast) ease, text-decoration-color var(--fx-dur-fast) ease;
}
.fx-site a:where(:not(.elementor-button):not(.fx-btn)):hover {
	color: var(--fx-gold-light);
	text-decoration-thickness: 2px;
}

/* Dugmad teme */
.fx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--fx-space-2);
	min-height: var(--fx-control-h);
	padding: 0 1.75rem;
	border: 1px solid transparent;
	border-radius: var(--fx-radius-control);
	font-family: var(--fx-font-text);
	font-size: var(--fx-fs-button);
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.01em;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color var(--fx-dur-fast) ease, border-color var(--fx-dur-fast) ease, color var(--fx-dur-fast) ease;
}
.fx-site a.fx-btn {
	text-decoration: none;
}
.fx-site .fx-btn--primary,
.fx-site a.fx-btn--primary {
	background-color: var(--fx-gold);
	color: var(--fx-black);
}
.fx-site .fx-btn--primary:hover,
.fx-site a.fx-btn--primary:hover {
	background-color: var(--fx-gold-light);
	color: var(--fx-black);
}
.fx-site .fx-btn--secondary,
.fx-site a.fx-btn--secondary {
	background-color: transparent;
	border-color: var(--fx-gold);
	color: var(--fx-ivory);
}
.fx-site .fx-btn--secondary:hover,
.fx-site a.fx-btn--secondary:hover {
	background-color: var(--fx-gold-tint);
	border-color: var(--fx-gold-light);
	color: var(--fx-ivory);
}

/* Elementor Button widget — podrazumijevano primarno dugme.
   :where() drži nisku specifičnost: podešavanja u Elementoru uvijek imaju prednost. */
:where(.fx-site) .elementor-button {
	box-sizing: border-box; /* okvir sekundarnog dugmeta ne povećava visinu */
	min-height: var(--fx-control-h);
	padding: 1rem 1.75rem;
	background-color: var(--fx-gold);
	color: var(--fx-black);
	border-radius: var(--fx-radius-control);
	font-family: var(--fx-font-text);
	font-size: var(--fx-fs-button);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0.01em;
	fill: var(--fx-black);
	transition: background-color var(--fx-dur-fast) ease, border-color var(--fx-dur-fast) ease, color var(--fx-dur-fast) ease;
}
:where(.fx-site) .elementor-button:hover,
:where(.fx-site) .elementor-button:focus-visible {
	background-color: var(--fx-gold-light);
	color: var(--fx-black);
}
/* Sekundarno: u Elementoru Advanced → CSS Classes upisati „fx-btn-secondary" */
:where(.fx-site) .fx-btn-secondary .elementor-button {
	padding-block: calc(1rem - 1px); /* kompenzuje okvir: ista visina kao primarno */
	background-color: transparent;
	border: 1px solid var(--fx-gold);
	color: var(--fx-ivory);
	fill: var(--fx-ivory);
}
:where(.fx-site) .fx-btn-secondary .elementor-button:hover,
:where(.fx-site) .fx-btn-secondary .elementor-button:focus-visible {
	background-color: var(--fx-gold-tint);
	border-color: var(--fx-gold-light);
	color: var(--fx-ivory);
}

.fx-icon {
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
}

/* 6. Raspored i pomoćne klase za Elementor ------------------------------- */
.fx-container {
	width: 100%;
	max-width: calc(var(--fx-container) + 2 * var(--fx-gutter));
	margin-inline: auto;
	padding-inline: var(--fx-gutter);
	box-sizing: border-box;
}

/* Klase za Elementor (Advanced → CSS Classes):
   fx-section  — standardni vertikalni razmak sekcije
   fx-surface  — grafitna površina (panel)
   fx-paper    — svijetla sekcija (Korisne informacije)
   fx-rule     — zlatna linija iznad elementa (panel usluge)
   fx-rule-short — kratka zlatna linija (stavka „Zašto")
   fx-lead / fx-muted / fx-small — tekstualni stilovi */
.fx-section {
	padding-block: var(--fx-section-y);
}
.fx-surface {
	background-color: var(--fx-surface);
}
.fx-paper {
	background-color: var(--fx-paper);
	color: var(--fx-ink);
}
.fx-paper h1,
.fx-paper h2,
.fx-paper h3,
.fx-paper h4,
.fx-paper .elementor-heading-title {
	color: var(--fx-ink);
}
.fx-site .fx-paper a:where(:not(.elementor-button):not(.fx-btn)) {
	color: var(--fx-gold-deep);
}
.fx-site .fx-paper a:where(:not(.elementor-button):not(.fx-btn)):hover {
	color: var(--fx-ink);
}
.fx-site .fx-paper :focus-visible {
	outline-color: var(--fx-ink);
}
.fx-paper .fx-muted,
.fx-paper .fx-muted p {
	color: #5E574C; /* 6.4:1 na papiru */
}
.fx-rule {
	border-top: 2px solid var(--fx-gold);
}
.fx-rule-short::before {
	content: "";
	display: block;
	width: 3rem;
	height: 1px;
	margin-bottom: var(--fx-space-4);
	background: var(--fx-gold);
}

/* 7. Header i navigacija ------------------------------------------------- */
.fx-header {
	position: sticky; /* zauzima svoje mjesto u toku stranice — ne zaklanja sadržaj */
	top: 0;
	z-index: 1000;
	background-color: var(--fx-black);
	border-bottom: 1px solid transparent;
	transition: border-color var(--fx-dur) ease, background-color var(--fx-dur) ease;
}
.admin-bar .fx-header {
	top: 32px;
}
@media (max-width: 782px) {
	.admin-bar .fx-header {
		top: 46px;
	}
}
@media (max-width: 600px) {
	.admin-bar .fx-header {
		top: 0; /* WP admin traka ovdje nije fiksna */
	}
}
/* Napomena: bez backdrop-filter — on bi „zarobio" fiksni mobilni meni unutar headera. */
.fx-header.is-scrolled {
	background-color: rgba(14, 13, 11, 0.97);
	border-bottom-color: var(--fx-line);
}

.fx-header__inner {
	display: flex;
	align-items: center;
	gap: var(--fx-space-6);
	height: var(--fx-header-h);
}

.fx-site .fx-brand {
	display: inline-flex;
	align-items: center;
	gap: var(--fx-space-3);
	min-height: 44px;
	color: var(--fx-ivory);
	text-decoration: none;
	flex: none;
}
.fx-site .fx-brand:hover {
	color: var(--fx-ivory);
}
.fx-brand__mark {
	display: block;
	width: 40px;
	height: 40px;
}
.fx-brand__name {
	font-family: var(--fx-font-display);
	font-variation-settings: "SOFT" 0, "WONK" 0;
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: 0.08em; /* wordmark */
	line-height: 1;
	white-space: nowrap;
}

.fx-nav {
	position: relative;
	margin-left: auto;
}
/* Klizni indikator aktivne sekcije (jedna zlatna crtica koja prelazi između stavki) */
.fx-nav__indicator {
	position: absolute;
	left: 0;
	bottom: 8px;
	width: var(--fx-ind-w, 0px);
	height: 2px;
	background: var(--fx-gold);
	transform: translateX(var(--fx-ind-x, 0px));
	opacity: 0;
	transition: transform var(--fx-dur-s) var(--fx-ease-out), width var(--fx-dur-s) var(--fx-ease-out), opacity var(--fx-dur-xs) ease;
	pointer-events: none;
}
.fx-nav__indicator.is-visible {
	opacity: 1;
}
.fx-nav__list {
	display: flex;
	align-items: center;
	gap: var(--fx-space-1);
	margin: 0;
	padding: 0;
	list-style: none;
}
.fx-site .fx-nav__list a {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 var(--fx-space-3);
	color: var(--fx-ivory);
	font-size: var(--fx-fs-nav);
	font-weight: 500;
	letter-spacing: 0.01em;
	text-decoration: none;
}
.fx-site .fx-nav__list a:hover {
	color: var(--fx-gold-light);
}
.fx-site .fx-nav__list a.is-active {
	color: var(--fx-gold);
}

.fx-header__actions {
	display: flex;
	align-items: center;
	gap: var(--fx-space-4);
	flex: none;
}

.fx-header__cta {
	min-height: 2.75rem; /* 44 */
	padding: 0 1.25rem;
	font-size: var(--fx-fs-nav);
}

/* Prekidač jezika */
.fx-lang__list {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}
.fx-lang__list li + li::before {
	content: "/";
	color: var(--fx-line);
	padding: 0 2px;
}
.fx-lang__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	font-size: var(--fx-fs-small);
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--fx-muted);
	text-decoration: none;
}
.fx-lang__item abbr {
	text-decoration: none;
	cursor: inherit;
}
.fx-lang__item.is-current {
	color: var(--fx-ivory);
}
.fx-site a.fx-lang__item {
	color: var(--fx-muted);
	text-decoration: none;
}
.fx-site a.fx-lang__item:hover {
	color: var(--fx-gold-light);
}
.fx-lang__item.is-disabled {
	color: #6F685D; /* namjerno prigušeno: neaktivno */
	cursor: not-allowed;
}

/* Hamburger dugme */
.fx-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid var(--fx-line);
	border-radius: var(--fx-radius-control);
	background: transparent;
	color: var(--fx-ivory);
	cursor: pointer;
	transition: border-color var(--fx-dur-fast) ease, color var(--fx-dur-fast) ease;
}
.fx-menu-toggle:hover {
	border-color: var(--fx-gold);
	color: var(--fx-gold-light);
	background: transparent;
}
.fx-menu-toggle .fx-icon {
	width: 1.375rem;
	height: 1.375rem;
}
.fx-menu-toggle__icon {
	display: inline-flex;
}
.fx-menu-toggle__icon--close,
.fx-menu-toggle[aria-expanded="true"] .fx-menu-toggle__icon--open {
	display: none;
}
.fx-menu-toggle[aria-expanded="true"] .fx-menu-toggle__icon--close {
	display: inline-flex;
}

/* Tablet i mobilni: hamburger umjesto navigacije */
@media (max-width: 1024px) {
	.fx-nav,
	.fx-header__lang {
		display: none;
	}
	.fx-header__actions {
		margin-left: auto;
		gap: var(--fx-space-3);
	}
	.fx-menu-toggle {
		display: inline-flex;
	}
}
@media (max-width: 767px) {
	.fx-header__cta {
		display: none; /* na mobilnom CTA je u donjoj traci i u meniju */
	}
	.fx-brand__name {
		font-size: 1.125rem;
	}
	.fx-brand__mark {
		width: 36px;
		height: 36px;
	}
}

/* 8. Mobilni meni -------------------------------------------------------- */
.fx-mobile-menu {
	position: fixed;
	inset: var(--fx-header-h) 0 0 0;
	z-index: 999;
	overflow-y: auto;
	overscroll-behavior: contain;
	background-color: var(--fx-black);
	border-top: 1px solid var(--fx-line);
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity var(--fx-dur) var(--fx-ease), transform var(--fx-dur) var(--fx-ease);
}
.admin-bar .fx-mobile-menu {
	top: calc(var(--fx-header-h) + 32px);
}
@media (max-width: 782px) {
	.admin-bar .fx-mobile-menu {
		top: calc(var(--fx-header-h) + 46px);
	}
}
.fx-mobile-menu[hidden] {
	display: none;
}
.fx-mobile-menu.is-open {
	opacity: 1;
	transform: none;
}
.fx-mobile-menu__inner {
	display: flex;
	flex-direction: column;
	gap: var(--fx-space-6);
	padding-block: var(--fx-space-6) calc(var(--fx-space-7) + env(safe-area-inset-bottom, 0px));
}
.fx-mobile-menu__list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.fx-mobile-menu__list li {
	border-bottom: 1px solid var(--fx-line);
}
.fx-site .fx-mobile-menu__list a {
	display: flex;
	align-items: center;
	min-height: 3.5rem;
	color: var(--fx-ivory);
	font-family: var(--fx-font-display);
	font-variation-settings: "SOFT" 0, "WONK" 0;
	font-size: 1.75rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	text-decoration: none;
}
.fx-site .fx-mobile-menu__list a:hover,
.fx-site .fx-mobile-menu__list a.is-active {
	color: var(--fx-gold);
}
.fx-mobile-menu__actions {
	display: grid;
	gap: var(--fx-space-3);
}
.fx-mobile-menu__actions .fx-btn {
	width: 100%;
	box-sizing: border-box;
}
.fx-mobile-menu__messengers {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--fx-space-3);
}

body.fx-menu-open {
	overflow: hidden; /* bez skrolovanja pozadine dok je meni otvoren */
}

@media (min-width: 1025px) {
	.fx-mobile-menu {
		display: none !important; /* nikad na desktopu */
	}
}

/* 9. Footer -------------------------------------------------------------- */
.fx-footer {
	border-top: 1px solid var(--fx-gold);
	background-color: var(--fx-black);
	color: var(--fx-ivory);
	padding-block: var(--fx-space-7) var(--fx-space-5);
	font-size: var(--fx-fs-small);
	line-height: 1.55;
}
/* Četiri jednake kolone, isti tekst i ritam u svakoj */
.fx-footer__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--fx-space-6) var(--fx-space-6);
	align-items: start;
}
.fx-site .fx-brand--footer .fx-brand__mark {
	width: 44px;
	height: 44px;
}
.fx-brand--footer .fx-brand__name {
	font-size: 1.125rem;
}
.fx-footer__legal-name {
	margin: var(--fx-space-4) 0 var(--fx-space-1);
	font-size: var(--fx-fs-small);
	font-weight: 600;
	color: var(--fx-ivory);
}
.fx-footer__tagline {
	margin: 0;
	color: var(--fx-muted);
	max-width: 30ch;
}
.fx-site .fx-footer__title {
	margin: 0 0 var(--fx-space-3);
	font-family: var(--fx-font-text);
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--fx-gold);
}
.fx-footer__list,
.fx-footer .fx-hours {
	margin: 0;
}
.fx-footer__list > div + div {
	margin-top: var(--fx-space-3);
}
.fx-footer__list dt {
	margin-bottom: 0;
}
.fx-footer dt {
	color: var(--fx-muted);
	font-weight: 400;
}
.fx-footer dd {
	margin: 0;
}
.fx-site .fx-footer dd a {
	display: inline-flex;
	align-items: center;
	min-height: 2rem; /* 32 px — iznad WCAG 2.2 minimuma (24 px) */
	color: var(--fx-ivory);
	text-decoration: underline;
	text-decoration-color: var(--fx-line);
	overflow-wrap: anywhere;
}
.fx-site .fx-footer dd a:hover {
	color: var(--fx-gold-light);
	text-decoration-color: var(--fx-gold-light);
}
.fx-footer__messengers {
	display: flex;
	gap: var(--fx-space-5);
}
.fx-hours__row {
	display: flex;
	justify-content: space-between;
	gap: var(--fx-space-4);
	padding: var(--fx-space-2) 0;
	border-bottom: 1px solid var(--fx-line);
}
.fx-hours__row dt {
	color: var(--fx-ivory);
}
.fx-hours__row dd {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.fx-hours__row.is-closed dd {
	color: var(--fx-muted);
}
.fx-footer .fx-hours__row {
	padding: 0.375rem 0;
}
.fx-footer__address {
	font-style: normal;
	color: var(--fx-ivory);
}

.fx-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--fx-space-4) var(--fx-space-6);
	margin-top: var(--fx-space-7);
	padding-top: var(--fx-space-4);
	border-top: 1px solid var(--fx-line);
	color: var(--fx-muted);
	font-size: 0.8125rem;
}
.fx-footer__copy {
	margin: 0;
	max-width: none;
}
.fx-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0 var(--fx-space-5);
	margin: 0;
	padding: 0;
	list-style: none;
}
.fx-site .fx-footer__links a,
.fx-site .fx-footer__privacy {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	color: var(--fx-muted);
	text-decoration: none;
}
.fx-site .fx-footer__links a:hover,
.fx-site .fx-footer__privacy:hover {
	color: var(--fx-gold-light);
	text-decoration: underline;
}

@media (max-width: 1024px) {
	.fx-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--fx-space-6) var(--fx-space-7);
	}
}
@media (max-width: 767px) {
	.fx-footer {
		padding-top: var(--fx-space-6);
	}
	.fx-footer__grid {
		grid-template-columns: 1fr;
		gap: var(--fx-space-5);
	}
	.fx-footer__bottom {
		margin-top: var(--fx-space-6);
	}
	.fx-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* 10. Mobilna kontakt traka --------------------------------------------- */
.fx-mobile-bar {
	display: none;
}
@media (max-width: 767px) {
	body.fx-site {
		/* prostor ispod sadržaja = visina trake (+ iPhone safe area) */
		padding-bottom: calc(var(--fx-mobile-bar-h) + env(safe-area-inset-bottom, 0px));
	}
	.fx-mobile-bar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 990; /* ispod headera (1000) i mobilnog menija (999) */
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		height: calc(var(--fx-mobile-bar-h) + env(safe-area-inset-bottom, 0px));
		padding-bottom: env(safe-area-inset-bottom, 0px);
		background-color: var(--fx-surface);
		border-top: 1px solid var(--fx-line);
		box-sizing: border-box;
	}
	body.fx-menu-open .fx-mobile-bar {
		display: none; /* meni već sadrži iste akcije */
	}
}
.fx-site .fx-mobile-bar__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--fx-space-1);
	min-height: 44px;
	color: var(--fx-ivory);
	font-size: var(--fx-fs-small);
	font-weight: 600;
	text-decoration: none;
}
.fx-site .fx-mobile-bar__item + .fx-mobile-bar__item {
	border-left: 1px solid var(--fx-line);
}
.fx-site .fx-mobile-bar__item:hover {
	color: var(--fx-gold-light);
}
.fx-site .fx-mobile-bar__item--primary,
.fx-site .fx-mobile-bar__item--primary:hover {
	background-color: var(--fx-gold);
	color: var(--fx-black);
}
.fx-site .fx-mobile-bar__item:focus-visible {
	outline-offset: -4px;
}

/* 12. Hero (redizajn R2 — „Svjetla terminala") ----------------------------
   Elementor (Advanced → CSS Classes):
   fx-hero (kontejner, CSS ID pocetna)
   fx-media fx-media--hero    — Image widget, desktop/tablet fotografija (IMG-HERO-01)
   fx-media fx-media--hero-m  — Image widget, mobilna fotografija (IMG-HERO-01 mobilni)
   fx-hero__motif             — znak feniksa (reljef, samo dok fotografija nije postavljena)
   fx-eyebrow fx-hero__eyebrow · fx-hero__title (H1) · fx-hero__lead · fx-hero__actions
   Status: Shortcode widget [feniks_status] (klasa fx-hero__status). */
.fx-hero {
	position: relative;
	overflow: hidden;
	overflow: clip; /* clip ne pravi kontejner za skrol (potrebno za view-timeline) */
	view-timeline: --fx-hero block;
	isolation: isolate;
	/* Hero ide ispod prozirnog headera */
	margin-top: calc(var(--fx-header-h) * -1);
	--fx-hero-protect:
		linear-gradient(90deg, rgba(14, 13, 11, 0.94) 0%, rgba(14, 13, 11, 0.78) 34%, rgba(14, 13, 11, 0.18) 64%, rgba(14, 13, 11, 0) 78%),
		linear-gradient(0deg, rgba(14, 13, 11, 0.92) 0%, rgba(14, 13, 11, 0) 34%),
		linear-gradient(180deg, rgba(14, 13, 11, 0.55) 0%, rgba(14, 13, 11, 0) 22%);
}
/* Gradijent zaštite teksta (dio komponente — čitljivost ne zavisi od fotografije) */
.fx-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: var(--fx-hero-protect);
	pointer-events: none;
}
/* Tamnjenje pri skrolovanju (scroll-driven) */
.fx-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: var(--fx-black);
	opacity: 0;
	pointer-events: none;
}
.fx-hero > .e-con-inner {
	position: static;
}
.fx-site .fx-hero .elementor-element:not(.fx-media):not(.fx-hero__motif) {
	position: relative;
	z-index: 2;
}

/* Sloj fotografije */
.fx-site .fx-hero .fx-media--hero,
.fx-site .fx-hero .fx-media--hero-m {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	margin: 0;
	overflow: hidden;
}
.fx-site .fx-hero .fx-media--hero > *,
.fx-site .fx-hero .fx-media--hero-m > * {
	height: 100%;
}
.fx-site .fx-hero .fx-media--hero img,
.fx-site .fx-hero .fx-media--hero-m img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 70% 50%;  /* subjekt u desnom dijelu kadra */
}
.fx-site .fx-hero .fx-media--hero-m img {
	object-position: 50% 0%;   /* mobilni: subjekt gore */
}

/* Znak feniksa: reljef dok nema fotografije; nestaje kad je fotografija postavljena */
.fx-site .fx-hero .fx-hero__motif {
	position: absolute;
	top: 50%;
	right: -6vw;
	z-index: 0;
	width: min(52vw, 760px);
	max-width: none;
	margin: 0;
	opacity: 0.06;
	transform: translateY(-50%);
	pointer-events: none;
	user-select: none;
	mix-blend-mode: screen;
}
.fx-site .fx-hero .fx-hero__motif img {
	display: block;
	width: 100%;
	height: auto;
}
.fx-site .fx-hero:has(.fx-media--hero img) .fx-hero__motif {
	display: none;
}

/* Sadržaj */
.fx-site .fx-eyebrow .elementor-heading-title,
.fx-site .fx-eyebrow {
	font-family: var(--fx-font-text);
	font-variation-settings: normal;
	font-size: var(--fx-fs-small);
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.16em;
	color: var(--fx-gold);
}
.fx-site .fx-hero__title .elementor-heading-title {
	max-width: 13ch;
}
.fx-site .fx-hero__lead,
.fx-site .fx-hero__lead p {
	max-width: 34rem;
	color: #DCD7CD;
	font-size: var(--fx-fs-lead);
	line-height: 1.5;
}
.fx-site .fx-hero__lead p:last-child {
	margin-bottom: 0;
}

/* Status otvoreno/zatvoreno */
.fx-site .fx-status {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	margin: 0;
	max-width: none;
	color: #CFC9BD;
	font-size: var(--fx-fs-small);
	font-weight: 500;
	line-height: 1.4;
}
.fx-status__dot {
	position: relative;
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #6F685D;
}
.fx-status.is-open .fx-status__dot {
	background: var(--fx-gold);
	box-shadow: 0 0 0 0 rgba(218, 165, 32, 0.55);
	animation: fx-status-pulse 2.4s var(--fx-ease-out) infinite;
}
@keyframes fx-status-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(218, 165, 32, 0.5); }
	70%  { box-shadow: 0 0 0 8px rgba(218, 165, 32, 0); }
	100% { box-shadow: 0 0 0 0 rgba(218, 165, 32, 0); }
}
.fx-mobile-menu .fx-status {
	margin-bottom: calc(var(--fx-space-2) * -1);
}

/* Intro (jednom, pri učitavanju) */
@keyframes fx-hero-media-in {
	from { opacity: 0; transform: scale(1.06); }
	to   { opacity: 1; transform: scale(1); }
}
@keyframes fx-hero-rise {
	from { opacity: 0; transform: translateY(16px); }
	to   { opacity: 1; transform: none; }
}
@keyframes fx-hero-title-in {
	from { opacity: 0; transform: translateY(28px); clip-path: inset(0 0 100% 0); }
	to   { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
}
.fx-site .fx-hero .fx-media--hero > *,
.fx-site .fx-hero .fx-media--hero-m > * {
	animation: fx-hero-media-in var(--fx-dur-xl) var(--fx-ease-out) both;
	transform-origin: 70% 50%;
}
.fx-site .fx-hero__eyebrow { animation: fx-hero-rise var(--fx-dur-m) var(--fx-ease-out) 200ms both; }
.fx-site .fx-hero__title   { animation: fx-hero-title-in var(--fx-dur-l) var(--fx-ease-out) 320ms both; }
.fx-site .fx-hero__lead    { animation: fx-hero-rise var(--fx-dur-m) var(--fx-ease-out) 620ms both; }
.fx-site .fx-hero__actions { animation: fx-hero-rise var(--fx-dur-m) var(--fx-ease-out) 760ms both; }
.fx-site .fx-hero__status  { animation: fx-hero-rise var(--fx-dur-m) var(--fx-ease-out) 900ms both; }

/* Skrol: fotografija se sporije pomjera i tamni dok hero izlazi iz ekrana */
@supports (animation-timeline: view()) {
	@keyframes fx-hero-parallax {
		to { translate: 0 14%; }
	}
	@keyframes fx-hero-darken {
		to { opacity: 0.7; }
	}
	.fx-site .fx-hero .fx-media--hero,
	.fx-site .fx-hero .fx-media--hero-m {
		animation: fx-hero-parallax linear both;
		animation-timeline: --fx-hero;
		animation-range: exit 0% exit 100%;
	}
	.fx-hero::after {
		animation: fx-hero-darken linear both;
		animation-timeline: --fx-hero;
		animation-range: exit 0% exit 90%;
	}
}

/* Placeholder slike (komponenta fx-media; oznaka samo za administratora) */
.fx-ph {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 100%;
	overflow: hidden;
	color: var(--fx-gold);
	background:
		radial-gradient(120% 95% at 74% 42%, #2B2519 0%, #17140F 46%, #0E0D0B 100%);
}
.fx-ph::before {
	/* zrno protiv „ravnog" digitalnog crnog */
	content: "";
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
	opacity: 0.07;
	mix-blend-mode: overlay;
	pointer-events: none;
}
.fx-ph {
	/* fini zlatni okvir (umjesto pseudo-elementa — ::after nosi oznaku) */
	outline: 1px solid rgba(218, 165, 32, 0.16);
	outline-offset: -15px;
}
/* Oznaka slike iz data-fx-label: samo za prijavljene, nije tekst stranice */
.fx-ph::after {
	content: attr(data-fx-label);
	position: absolute;
	right: 24px;
	bottom: 24px;
	z-index: 3;
	display: none;
	max-width: 22rem;
	padding: 0.5rem 0.75rem;
	background: rgba(14, 13, 11, 0.72);
	border-left: 2px solid var(--fx-gold);
	color: var(--fx-ivory);
	font-family: var(--fx-font-text);
	font-size: 0.75rem;
	line-height: 1.45;
	text-align: left;
	white-space: pre-line;
	pointer-events: none;
}
.fx-site.logged-in .fx-ph::after,
.fx-site.fx-show-labels .fx-ph::after {
	display: block;
}
.fx-hero .fx-ph::after {
	top: calc(var(--fx-header-h) + 24px);
	bottom: auto;
}
.fx-ph svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0.32;
}
.fx-ph__light {
	opacity: 1;
	filter: drop-shadow(0 0 6px rgba(232, 194, 94, 0.9));
}

/* Okvir slike — proporcije po slotu (koriste ih i faze R3–R5) */
.fx-site .fx-media:where(:not(.fx-media--hero):not(.fx-media--hero-m)) {
	position: relative;
	overflow: hidden;
	aspect-ratio: var(--fx-ratio, 4 / 3);
	border-radius: var(--fx-radius-media);
	margin: 0;
}
.fx-site .fx-media:where(:not(.fx-media--hero):not(.fx-media--hero-m)) img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.fx-media--about,
.fx-media--entrance { --fx-ratio: 4 / 5; }
.fx-media--about-detail { --fx-ratio: 1 / 1; }
.fx-media--service-1,
.fx-media--service-2 { --fx-ratio: 4 / 3; }
.fx-media--band { --fx-ratio: 21 / 9; }
.fx-media--band-m { --fx-ratio: 4 / 5; }

@media (max-width: 767px) {
	.fx-hero {
		--fx-hero-protect:
			linear-gradient(0deg, rgba(14, 13, 11, 0.97) 0%, rgba(14, 13, 11, 0.86) 42%, rgba(14, 13, 11, 0.2) 72%, rgba(14, 13, 11, 0.55) 100%);
	}
	.fx-site .fx-hero .fx-hero__motif {
		top: calc(var(--fx-header-h) + 1rem);
		right: -30vw;
		width: 100vw;
		transform: none;
	}
	.fx-site .fx-hero .fx-media--hero > *,
	.fx-site .fx-hero .fx-media--hero-m > * {
		transform-origin: 50% 0%;
	}
	.fx-ph::after {
		right: 12px;
		max-width: calc(100% - 24px);
	}
}

/* Header proziran preko heroja; čvrst nakon heroja ili kad je meni otvoren */
.fx-site:has(.fx-hero) .fx-header:not(.is-scrolled) {
	background-color: transparent;
	border-bottom-color: transparent;
}
.fx-site.fx-menu-open .fx-header {
	background-color: var(--fx-black) !important;
}

/* 13. O nama --------------------------------------------------------------
   Klase: fx-about (sekcija), fx-about__aside (lijeva kolona),
   fx-about__year (Heading „2010."), fx-about__caption, fx-about__text. */
.fx-site .fx-about,
.fx-site .fx-services,
.fx-site .fx-info {
	border-top: 1px solid var(--fx-line); /* ritam između tamnih sekcija */
}
.fx-site .fx-about__year .elementor-heading-title {
	font-family: var(--fx-font-num);
	font-variation-settings: "SOFT" 0, "WONK" 0;
	font-variant-numeric: lining-nums;
	font-size: 10rem;            /* 160 */
	font-weight: 400;
	line-height: 0.9;
	letter-spacing: -0.045em;
	color: var(--fx-gold);
	max-width: none;
}
.fx-site .fx-about__caption,
.fx-site .fx-about__caption p {
	margin: 0;
	padding-top: var(--fx-space-4);
	border-top: 1px solid var(--fx-gold);
	color: var(--fx-muted);
	font-size: var(--fx-fs-small);
	line-height: 1.5;
	max-width: 22rem;
}
.fx-site .fx-about__caption p {
	padding-top: 0;
	border-top: 0;
}
.fx-site .fx-about__text p {
	color: #D9D4CA;
}
.fx-site .fx-about__text p:first-child {
	font-size: var(--fx-fs-lead);
	line-height: 1.5;
	color: var(--fx-ivory);
}
.fx-site .fx-about__text p:last-child {
	margin-bottom: 0;
}

/* 14. Naše usluge ---------------------------------------------------------
   Klase: fx-services (sekcija), fx-services__intro, fx-service (panel),
   fx-service__num (Heading „01"), fx-btn-text (Button kao tekstualni link). */
.fx-site .fx-services__intro p {
	margin: 0;
	color: var(--fx-muted);
	font-size: var(--fx-fs-lead);
	line-height: 1.5;
}
.fx-site .fx-service {
	background-color: var(--fx-surface);
	border-top: 2px solid var(--fx-gold);
}
.fx-site .fx-service__num .elementor-heading-title {
	font-family: var(--fx-font-num);
	font-variation-settings: "SOFT" 0, "WONK" 0;
	font-variant-numeric: lining-nums tabular-nums;
	font-size: 2.5rem;           /* 40 */
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--fx-gold);
}
.fx-site .fx-service .elementor-widget-text-editor p {
	color: #D9D4CA;
}
.fx-site .fx-service .elementor-widget-text-editor p:last-child {
	margin-bottom: 0;
}
/* CTA panela je uvijek na dnu, poravnat u oba panela */
.fx-site .fx-service > .e-con-inner > .fx-btn-text:last-child,
.fx-site .fx-service > .fx-btn-text:last-child {
	margin-top: auto;
}

/* Button widget kao tekstualni link (Advanced → CSS Classes: fx-btn-text) */
:where(.fx-site) .fx-btn-text .elementor-button {
	min-height: 44px;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: var(--fx-gold);
	fill: var(--fx-gold);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 6px;
}
:where(.fx-site) .fx-btn-text .elementor-button:hover,
:where(.fx-site) .fx-btn-text .elementor-button:focus-visible {
	background: transparent;
	color: var(--fx-gold-light);
	text-decoration-thickness: 2px;
}

/* 15. Zašto FENIKS DJM ----------------------------------------------------
   Klase: fx-why (sekcija), fx-why__item (stavka), fx-why__num (Heading „01").
   Otvorene stavke bez pozadine: tanka linija preko cijele širine + zlatni segment. */
.fx-site .fx-why {
	border-top: 1px solid var(--fx-line);
}
.fx-site .fx-why__item {
	position: relative;
	border-top: 1px solid var(--fx-line);
}
.fx-site .fx-why__item::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	width: 3rem;
	height: 1px;
	background: var(--fx-gold);
}
.fx-site .fx-why__num .elementor-heading-title {
	font-family: var(--fx-font-num);
	font-variation-settings: "SOFT" 0, "WONK" 0;
	font-variant-numeric: lining-nums tabular-nums;
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.04em;
	color: var(--fx-gold);
}
.fx-site .fx-why__item .elementor-widget-heading h3.elementor-heading-title {
	font-size: 1.625rem; /* 26 — tiše od panela usluga (28) */
}
.fx-site .fx-why__item .elementor-widget-text-editor p {
	color: #D9D4CA;
	max-width: 30rem;
}
.fx-site .fx-why__item .elementor-widget-text-editor p:last-child {
	margin-bottom: 0;
}

/* 16. Korisne informacije (tamna sekcija, kao ostatak sajta) ---------------
   Klase: fx-info (sekcija), fx-info__intro, fx-faq (Nested Accordion),
   fx-info__links (blok linkova), fx-info__note, fx-link-card (stavka linka),
   fx-info__cta (završni red).
   Kontrast na #0E0D0B: tekst #F2EFE8 16.9:1 · odgovori #D9D4CA 13.5:1 ·
   prigušeno #A8A196 7.6:1 · linkovi #DAA520 8.7:1. Linije #2E2A24 su dekorativne. */
.fx-site .fx-info {
	--fx-paper-line: var(--fx-line);
	--fx-paper-text: #D9D4CA;
	--fx-paper-muted: var(--fx-muted);
	color: var(--fx-ivory);
}
.fx-site .fx-info .elementor-widget-heading .elementor-heading-title,
.fx-site .fx-info h2,
.fx-site .fx-info h3,
.fx-site .fx-info h4 {
	color: var(--fx-ivory); /* (0,4,0): jače od globalnih .fx-site h1–h4 pravila */
}
.fx-site .fx-info__intro p,
.fx-site .fx-info__note p {
	margin: 0;
	color: var(--fx-paper-muted);
}
.fx-site .fx-info__intro p {
	font-size: var(--fx-fs-lead);
	line-height: 1.5;
}
.fx-site .fx-info__note p {
	font-size: var(--fx-fs-small);
	line-height: 1.5;
}

/* FAQ — minimalistički akordeon (nativni Elementor Nested Accordion) */
.fx-site .fx-faq {
	/* Elementorove varijable za ikone (podrazumijevano #1F2124 — nevidljivo na tamnom) */
	--n-accordion-icon-normal-color: var(--fx-gold);
	--n-accordion-icon-hover-color: var(--fx-gold-light);
	--n-accordion-icon-active-color: var(--fx-gold);
}
.fx-site .fx-faq .e-n-accordion {
	border-top: 1px solid var(--fx-paper-line);
}
.fx-site .fx-faq .e-n-accordion-item {
	border-bottom: 1px solid var(--fx-paper-line);
	margin: 0;
}
.fx-site .fx-faq .e-n-accordion-item-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--fx-space-5);
	min-height: 44px;
	padding: var(--fx-space-5) 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--fx-ivory);
	cursor: pointer;
	list-style: none;
}
.fx-site .fx-faq .e-n-accordion-item-title::-webkit-details-marker {
	display: none;
}
.fx-site .fx-faq .e-n-accordion-item-title-header {
	flex: 1 1 auto;
}
.fx-site .fx-faq .e-n-accordion-item-title-text {
	font-family: var(--fx-font-display);
	font-variation-settings: "SOFT" 0, "WONK" 0;
	font-size: 1.375rem;          /* 22 */
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.005em;
	color: var(--fx-ivory);
	text-wrap: balance;
	transition: color var(--fx-dur-fast) ease;
}
.fx-site .fx-faq .e-n-accordion-item-title:hover .e-n-accordion-item-title-text {
	color: var(--fx-gold-light);
}
.fx-site .fx-faq .e-n-accordion-item-title-icon {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	color: var(--fx-gold);
	fill: var(--fx-gold);
}
.fx-site .fx-faq .e-n-accordion-item-title-icon svg {
	width: 0.875rem;
	height: 0.875rem;
	fill: currentColor;
}
.fx-site .fx-faq .e-n-accordion-item-title-icon i {
	font-size: 0.875rem;
	color: currentColor;
}
.fx-site .fx-faq .e-n-accordion-item-title:focus-visible {
	outline: 2px solid var(--fx-ivory);
	outline-offset: 4px;
}
/* Sadržaj odgovora */
.fx-site .fx-faq .e-n-accordion-item > .e-con {
	border: 0;
	background: transparent;
}
.fx-site .fx-faq .e-n-accordion-item > .e-con p {
	margin: 0;
	max-width: 60ch;
	color: var(--fx-paper-text);
}

/* Korisni linkovi — sekundarni blok */
.fx-site .fx-info__links {
	border-top: 1px solid var(--fx-paper-line);
}
.fx-site .fx-link-card {
	border-top: 1px solid var(--fx-paper-line);
}
.fx-site .fx-link-card .elementor-widget-heading .elementor-heading-title {
	font-family: var(--fx-font-text);
	font-variation-settings: normal;
	font-size: var(--fx-fs-body);
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0;
}
.fx-site .fx-link-card .elementor-widget-heading .elementor-heading-title a {
	display: inline;
	color: var(--fx-gold);
	text-decoration: underline;
	text-decoration-color: rgba(218, 165, 32, 0.4);
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}
.fx-site .fx-link-card .elementor-widget-heading .elementor-heading-title a:hover {
	color: var(--fx-gold-light);
	text-decoration-color: currentColor;
}
/* Oznaka vanjskog linka (otvara se u novoj kartici) */
.fx-site .fx-link-card a[target="_blank"]::after {
	content: "\2197";
	content: "\2197" / " (otvara se u novoj kartici)";
	display: inline-block;
	margin-left: 0.3em;
	font-size: 0.85em;
	text-decoration: none;
}
.fx-site .fx-link-card .elementor-widget-text-editor p {
	margin: 0;
	color: var(--fx-paper-muted);
	font-size: var(--fx-fs-small);
	line-height: 1.5;
}

/* Završni red */
.fx-site .fx-info__cta .elementor-widget-text-editor p {
	margin: 0;
	font-family: var(--fx-font-display);
	font-variation-settings: "SOFT" 0, "WONK" 0;
	font-size: 1.5rem;
	line-height: 1.3;
	color: var(--fx-ivory);
	max-width: none;
}
/* Primarno dugme na svijetloj podlozi: tamno (zlato na svijetlom nema kontrast za tekst) */
:where(.fx-site) .fx-paper .elementor-button {
	background-color: var(--fx-ink);
	color: var(--fx-ivory);
	fill: var(--fx-ivory);
}
:where(.fx-site) .fx-paper .elementor-button:hover,
:where(.fx-site) .fx-paper .elementor-button:focus-visible {
	background-color: #3A352D;
	color: var(--fx-ivory);
}
.fx-site .fx-paper .elementor-button:focus-visible {
	outline-color: var(--fx-ink);
}
.fx-site .fx-info__cta .elementor-button {
	white-space: nowrap; /* dugme se ne lomi u dva reda (tablet) */
}
/* Duži prevod (DE) se prelama u tekstu; dugme ostaje cijelo u redu */
.fx-site .fx-info__cta > .elementor-widget-text-editor {
	flex: 1 1 0;
	min-width: 0;
}
.fx-site .fx-info__cta > .elementor-widget-button {
	flex: 0 0 auto;
}

@media (max-width: 767px) {
	.fx-site .fx-faq .e-n-accordion-item-title-text {
		font-size: 1.1875rem;     /* 19 */
	}
	.fx-site .fx-info__cta .elementor-widget-text-editor p {
		font-size: 1.25rem;
	}
}

@media (max-width: 1024px) {
	.fx-site .fx-about__year .elementor-heading-title {
		font-size: 8rem;         /* 128 */
	}
	.fx-site .fx-why__item .elementor-widget-heading h3.elementor-heading-title {
		font-size: 1.5rem;
	}
}
@media (max-width: 767px) {
	.fx-site .fx-about__year .elementor-heading-title {
		font-size: 5.5rem;       /* 88 */
	}
	.fx-site .fx-service__num .elementor-heading-title {
		font-size: 2rem;
	}
}

/* 17. Kontakt -------------------------------------------------------------
   Klase: fx-contact (sekcija), fx-contact__form (panel forme),
   [feniks_kontakt] → .fx-contact-info, [feniks_mapa] → .fx-map,
   Fluent Forms → .fx-contact__form .fluentform (forma unutar panela).
   Kontrast: tekst #F2EFE8, labele #F2EFE8, okvir polja #6F685D (3.2:1 na #1A1815),
   greške #F07178 (7.4:1), zlato #DAA520 (8.7:1). */
.fx-site .fx-contact {
	border-top: 1px solid var(--fx-line);
}

/* Kontakt podaci */
.fx-contact-info {
	display: grid;
	gap: 1.25rem;
	align-content: start;
	font-size: 1rem;
}
.fx-site .fx-contact-info__label {
	margin: 0 0 var(--fx-space-1);
	font-family: var(--fx-font-text);
	font-variation-settings: normal;
	font-size: var(--fx-fs-small);
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.02em;
	color: var(--fx-gold);
}
.fx-site .fx-contact-info__value {
	margin: 0;
	font-style: normal;
	color: var(--fx-ivory);
	line-height: 1.5;
}
.fx-site .fx-contact-info a:where(:not(.fx-btn)) {
	color: var(--fx-ivory);
	text-decoration: underline;
	text-decoration-color: var(--fx-line);
	text-underline-offset: 4px;
}
.fx-site .fx-contact-info a:where(:not(.fx-btn)):hover {
	color: var(--fx-gold-light);
	text-decoration-color: currentColor;
}
.fx-site .fx-contact-info .fx-contact-info__big {
	font-family: var(--fx-font-num);
	font-variation-settings: "SOFT" 0, "WONK" 0;
	font-size: 1.5rem;
	line-height: 1.2;
	text-decoration: none;
}
.fx-contact-info__emails {
	display: grid;
	gap: var(--fx-space-1);
}
.fx-contact-info__emails a {
	overflow-wrap: anywhere;
}
.fx-contact-info__channels {
	display: flex;
	flex-wrap: wrap;
	gap: var(--fx-space-2);
	margin: var(--fx-space-2) 0 0;
	padding: 0;
	list-style: none;
}
.fx-site .fx-contact-info__channels a {
	display: inline-flex;
	align-items: center;
	min-height: 2.25rem; /* 36 px — iznad WCAG 2.2 minimuma (24 px) */
	padding: 0 var(--fx-space-4);
	border: 1px solid var(--fx-line);
	border-radius: var(--fx-radius-control);
	font-size: var(--fx-fs-small);
	font-weight: 600;
	text-decoration: none;
}
.fx-site .fx-contact-info__channels a:hover {
	border-color: var(--fx-gold);
	color: var(--fx-gold-light);
}
.fx-contact-info__hours {
	max-width: 24rem;
}
.fx-contact-info__hours .fx-hours__row {
	padding: 0.3125rem 0;
	line-height: 1.45;
}
.fx-contact-info__hours .fx-hours__row:first-child {
	border-top: 1px solid var(--fx-line);
}

/* Panel forme */
.fx-site .fx-contact__form {
	background-color: var(--fx-surface);
	border-top: 2px solid var(--fx-gold);
}
/* Računar: podaci i forma u istom redu iste visine (podaci nikad viši od forme) */
@media (min-width: 1025px) {
	.fx-site .e-con:has(> .fx-contact__form) {
		align-items: stretch !important;
	}
}

/* Fluent Forms — tamna varijanta */
.fx-site .fx-contact__form .fluentform {
	color-scheme: dark; /* tamni nativni padajući meni */
	font-family: var(--fx-font-text);
	color: var(--fx-ivory);
}
.fx-site .fx-contact__form .fluentform .ff-el-group {
	margin-bottom: var(--fx-space-5);
}
.fx-site .fx-contact__form .fluentform .ff-t-container {
	gap: var(--fx-space-5);
}
.fx-site .fx-contact__form .fluentform .ff-el-input--label label {
	color: var(--fx-ivory);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.4;
}
.fx-site .fx-contact__form .fluentform .ff-el-is-required.asterisk-right label::after {
	color: var(--fx-gold);
}
.fx-site .fx-contact__form .fluentform .ff-el-form-control {
	min-height: var(--fx-control-h);
	padding: 0.75rem 1rem;
	background-color: var(--fx-black);
	border: 1px solid #6F685D;
	border-radius: var(--fx-radius-control);
	color: var(--fx-ivory);
	font-family: var(--fx-font-text);
	font-size: 1rem;
	line-height: 1.5;
	box-shadow: none;
	transition: border-color var(--fx-dur-fast) ease, box-shadow var(--fx-dur-fast) ease;
}
.fx-site .fx-contact__form .fluentform textarea.ff-el-form-control {
	min-height: 9rem;
	resize: vertical;
}
.fx-site .fx-contact__form .fluentform select.ff-el-form-control option {
	background-color: var(--fx-surface);
	color: var(--fx-ivory);
}
.fx-site .fx-contact__form .fluentform .ff-el-form-control::placeholder {
	color: var(--fx-muted);
	opacity: 1;
}
.fx-site .fx-contact__form .fluentform .ff-el-form-control:hover {
	border-color: var(--fx-muted);
}
.fx-site .fx-contact__form .fluentform .ff-el-form-control:focus,
.fx-site .fx-contact__form .fluentform .ff-el-form-control:focus-visible {
	border-color: var(--fx-gold);
	box-shadow: 0 0 0 3px rgba(218, 165, 32, 0.25);
	outline: none;
}
/* Greške */
.fx-site .fx-contact__form .fluentform .ff-el-is-error .ff-el-form-control {
	border-color: var(--fx-error);
}
.fx-site .fx-contact__form .fluentform .ff-el-is-error .text-danger,
.fx-site .fx-contact__form .fluentform .error.text-danger {
	margin-top: var(--fx-space-2);
	color: var(--fx-error);
	font-size: var(--fx-fs-small);
	line-height: 1.4;
}
/* Napomena o podacima */
.fx-site .fx-contact__form .fluentform .fx-form-note {
	margin: 0;
	color: var(--fx-muted);
	font-size: var(--fx-fs-small);
	line-height: 1.5;
}
/* Dugme */
.fx-site .fx-contact__form .fluentform .ff-btn-submit,
.fx-site .fx-contact__form .fluentform .ff-btn-submit:not(.ff_btn_no_style) {
	min-height: var(--fx-control-h);
	padding: 0 2rem;
	background-color: var(--fx-gold) !important; /* Fluent upisuje inline boje iz postavki */
	border: 0;
	border-radius: var(--fx-radius-control);
	color: var(--fx-black) !important;
	font-family: var(--fx-font-text);
	font-size: var(--fx-fs-button);
	font-weight: 600;
	letter-spacing: 0.01em;
	opacity: 1;
	transition: background-color var(--fx-dur-fast) ease;
}
.fx-site .fx-contact__form .fluentform .ff-btn-submit:hover {
	background-color: var(--fx-gold-light) !important;
}
.fx-site .fx-contact__form .fluentform .ff-btn-submit:focus-visible {
	outline: 2px solid var(--fx-ivory);
	outline-offset: 3px;
}
/* Potvrda nakon slanja */
.fx-site .ff-message-success {
	margin: 0;
	padding: var(--fx-space-5) var(--fx-space-5);
	background: var(--fx-black);
	border: 0;
	border-left: 3px solid var(--fx-gold);
	border-radius: 0;
	box-shadow: none;
	color: var(--fx-ivory);
	font-size: var(--fx-fs-lead);
	line-height: 1.5;
}
.fx-site .ff-message-success p {
	margin: 0;
}
.fx-site .ff-errors-in-stack {
	color: var(--fx-error);
}

/* Mapa */
.fx-map {
	margin: 0;
}
.fx-map__frame {
	position: relative;
	width: 100%;
	height: clamp(320px, 42vw, 540px); /* bez aspect-ratio + min-height (širilo je okvir na tabletu) */
	overflow: hidden;
	background-color: var(--fx-surface);
	border: 1px solid var(--fx-line);
	border-radius: var(--fx-radius-media);
}
.fx-map__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	/* Tamni prikaz OSM pločica (samo vizuelni filter, podaci i atribucija ostaju netaknuti) */
	filter: invert(0.92) hue-rotate(180deg) saturate(0.6) brightness(0.95);
}
.fx-map__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end; /* centar ostaje slobodan za kraj linije rute (marker zgrade) */
	gap: var(--fx-space-4);
	padding: var(--fx-space-6);
	padding-bottom: var(--fx-space-7);
	text-align: center;
}
.fx-site .fx-map__address {
	margin: 0;
	max-width: none;
	font-family: var(--fx-font-display);
	font-variation-settings: "SOFT" 0, "WONK" 0;
	font-size: 1.375rem;
	color: var(--fx-ivory);
}
.fx-site .fx-map__privacy {
	margin: 0;
	color: var(--fx-muted);
	font-size: var(--fx-fs-small);
}
.fx-map__caption {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: var(--fx-space-2) var(--fx-space-5);
	margin-top: var(--fx-space-3);
	color: var(--fx-muted);
	font-size: var(--fx-fs-small);
}
.fx-site .fx-map__caption a {
	color: var(--fx-muted);
}
.fx-site .fx-map__caption a:hover {
	color: var(--fx-gold-light);
}
.fx-site .fx-map__admin-note {
	margin: var(--fx-space-3) 0 0;
	padding: var(--fx-space-3) var(--fx-space-4);
	border: 1px dashed #6F685D;
	color: var(--fx-muted);
	font-size: var(--fx-fs-small);
	max-width: none;
}

@media (max-width: 767px) {
	.fx-map__frame {
		height: 420px;
	}
	.fx-site .fx-contact-info .fx-contact-info__big {
		font-size: 1.5rem;
	}
	.fx-site .fx-contact__form .fluentform .ff-btn-submit {
		width: 100%;
	}
}

/* 18. Redizajn R1 — header (traka napretka, meni) i footer ------------------- */

/* Traka napretka: „ruta u malom" na dnu headera */
.fx-header__progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: var(--fx-progress-h);
	background: linear-gradient(90deg, var(--fx-gold) 0%, var(--fx-gold-light) 100%);
	transform: scaleX(var(--fx-progress, 0));
	transform-origin: left center;
	pointer-events: none;
}
@supports (animation-timeline: scroll()) {
	.fx-header__progress {
		animation: fx-progress linear both;
		animation-timeline: scroll(root block);
	}
	@keyframes fx-progress {
		from { transform: scaleX(0); }
		to   { transform: scaleX(1); }
	}
}

/* Mobilni meni: stavke ulaze redom (40 ms razmak) */
@keyframes fx-menu-in {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: none; }
}
.fx-mobile-menu.is-open .fx-mobile-menu__list li,
.fx-mobile-menu.is-open .fx-mobile-menu__lang,
.fx-mobile-menu.is-open .fx-mobile-menu__actions {
	animation: fx-menu-in var(--fx-dur-s) var(--fx-ease-out) both;
}
.fx-mobile-menu.is-open .fx-mobile-menu__list li:nth-child(2) { animation-delay: 40ms; }
.fx-mobile-menu.is-open .fx-mobile-menu__list li:nth-child(3) { animation-delay: 80ms; }
.fx-mobile-menu.is-open .fx-mobile-menu__list li:nth-child(4) { animation-delay: 120ms; }
.fx-mobile-menu.is-open .fx-mobile-menu__list li:nth-child(5) { animation-delay: 160ms; }
.fx-mobile-menu.is-open .fx-mobile-menu__list li:nth-child(6) { animation-delay: 200ms; }
.fx-mobile-menu.is-open .fx-mobile-menu__lang { animation-delay: 240ms; }
.fx-mobile-menu.is-open .fx-mobile-menu__actions { animation-delay: 280ms; }

/* Footer: dugme „Na vrh" (veliki natpis i vodeni žig uklonjeni 21.11.2026 — kompaktniji footer) */
.fx-site .fx-to-top {
	display: inline-flex;
	align-items: center;
	gap: var(--fx-space-2);
	min-height: 2.75rem;
	padding: 0 var(--fx-space-4);
	border: 1px solid var(--fx-line);
	border-radius: var(--fx-radius-control);
	color: var(--fx-ivory);
	font-size: var(--fx-fs-small);
	font-weight: 600;
	text-decoration: none;
	transition: border-color var(--fx-dur-xs) ease, color var(--fx-dur-xs) ease;
}
.fx-site .fx-to-top:hover {
	border-color: var(--fx-gold);
	color: var(--fx-gold-light);
}
.fx-to-top .fx-icon {
	width: 1rem;
	height: 1rem;
	transition: transform var(--fx-dur-s) var(--fx-ease-out);
}
.fx-site .fx-to-top:hover .fx-icon {
	transform: translateY(-2px);
}
/* 19. Redizajn R3 — O nama (slojevi) i Usluge (dva poglavlja) ---------------
   Elementor klase:
   O nama:  fx-about__content (tekst) · fx-about__media (slike) ·
            fx-media--about (portret 4:5) · fx-media--about-detail (detalj 1:1, preklapa ugao)
   Usluge:  fx-services__scene (red) · fx-services__media (sticky kolona) ·
            fx-services__stack (pretapanje) · fx-media--service-1/-2 ·
            fx-services__chapters · fx-chapter (poglavlje) */

/* Zajedničko otkrivanje slika (JS dodaje fx-reveal samo slikama ispod ekrana) */
.fx-site .fx-media.fx-reveal {
	clip-path: inset(100% 0 0 0);
}
.fx-site .fx-media.fx-reveal.is-revealed {
	clip-path: inset(0 0 0 0);
	transition: clip-path var(--fx-dur-l) var(--fx-ease-inout) var(--fx-reveal-delay, 0ms);
}

/* O nama — slojevita kompozicija */
.fx-site .fx-about__media {
	position: relative;
}
.fx-site .fx-about__media .fx-media--about {
	width: 100%;
	max-width: none;
}
.fx-site .fx-about__media .fx-media--about-detail {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 2;
	width: 44%;
	max-width: none;
	box-shadow: 0 0 0 10px var(--fx-black);   /* razdvaja sloj od portreta */
	--fx-reveal-delay: 200ms;
}

/* Paralaksa unutar okvira (samo gdje browser podržava scroll-driven animacije) */
@supports (animation-timeline: view()) {
	.fx-site .fx-about__media .fx-media--about {
		view-timeline: --fx-about block;
	}
	.fx-site .fx-about__media .fx-media--about > * {
		animation: fx-media-drift linear both;
		animation-timeline: --fx-about;
		animation-range: cover 0% cover 100%;
	}
	.fx-site .fx-about__media .fx-media--about-detail {
		animation: fx-detail-drift linear both;
		animation-timeline: view();
		animation-range: cover 0% cover 100%;
	}
	@keyframes fx-media-drift {
		from { transform: translateY(-4%) scale(1.1); }
		to   { transform: translateY(4%) scale(1.1); }
	}
	@keyframes fx-detail-drift {
		from { translate: 0 48px; }
		to   { translate: 0 -48px; }
	}
}

/* Usluge — slika stoji (sticky) dok se poglavlja skroluju */
.fx-site .fx-services__media {
	position: sticky;
	top: calc(var(--fx-header-h) + 48px);
	align-self: flex-start;
}
.admin-bar .fx-site .fx-services__media,
.fx-site.admin-bar .fx-services__media {
	top: calc(var(--fx-header-h) + 32px + 48px);
}
.fx-site .fx-services__stack {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	overflow: clip;
	border-radius: var(--fx-radius-media);
}
.fx-site .fx-services__stack .fx-media {
	position: absolute;
	inset: 0;
	width: 100%;
	max-width: none;
	aspect-ratio: auto;
	opacity: 0;
	transition: opacity var(--fx-dur-m) var(--fx-ease-inout);
}
.fx-site .fx-services__stack .fx-media--service-1,
.fx-site .fx-services__stack[data-active="2"] .fx-media--service-2 {
	opacity: 1;
}
.fx-site .fx-services__stack[data-active="2"] .fx-media--service-1 {
	opacity: 0;
}
.fx-site .fx-services__stack .fx-media.fx-reveal.is-revealed {
	transition: clip-path var(--fx-dur-l) var(--fx-ease-inout), opacity var(--fx-dur-m) var(--fx-ease-inout);
}

/* Poglavlja */
.fx-site .fx-chapter {
	min-height: 80vh;
	gap: var(--fx-space-5);
	border-top: 1px solid var(--fx-line);
	padding-block: var(--fx-space-8) !important;
}
.fx-site .fx-chapter:first-child {
	border-top: 0;
	padding-top: 0 !important;
	min-height: 80vh;
	justify-content: flex-start !important;
}
.fx-site .fx-chapter .fx-service__num .elementor-heading-title {
	font-family: var(--fx-font-num);
	font-size: 7.5rem;         /* 120 */
	font-weight: 400;
	line-height: 0.9;
	letter-spacing: -0.04em;
	color: #7A7366;            /* neaktivno: prigušeno, 4.1:1 (≥ 3:1 za veliki tekst) */
	transition: color var(--fx-dur-m) var(--fx-ease-out);
}
.fx-site .fx-chapter.is-active .fx-service__num .elementor-heading-title {
	color: var(--fx-gold);
}
.fx-site .fx-chapter .elementor-widget-text-editor p {
	max-width: 30rem;
	color: #D9D4CA;
}
.fx-site .fx-chapter .elementor-widget-text-editor p:last-child {
	margin-bottom: 0;
}

@media (max-width: 1024px) {
	.fx-site .fx-chapter .fx-service__num .elementor-heading-title {
		font-size: 5.5rem;
	}
	.fx-site .fx-chapter {
		min-height: 64vh;
	}
}

/* Tablet i mobilni: slika 1 → poglavlje 1 → slika 2 → poglavlje 2 (bez dupliranja slika) */
@media (max-width: 1024px) {
	.fx-site .fx-services__scene {
		flex-direction: column !important;
	}
	.fx-site .fx-services__media,
	.fx-site .fx-services__stack,
	.fx-site .fx-services__chapters {
		display: contents;
	}
	.fx-site .fx-services__stack .fx-media,
	.fx-site .fx-services__stack[data-active] .fx-media {
		position: relative;
		inset: auto;
		opacity: 1; /* bez pretapanja: obje slike uvijek vidljive (i kad je aktivno poglavlje 02) */
		aspect-ratio: 4 / 3;
	}
	.fx-site .fx-services__stack .fx-media--service-1 { order: 1; }
	.fx-site .fx-services__chapters > .fx-chapter:nth-child(1) { order: 2; }
	.fx-site .fx-services__stack .fx-media--service-2 { order: 3; margin-top: var(--fx-space-6); }
	.fx-site .fx-services__chapters > .fx-chapter:nth-child(2) { order: 4; }
	.fx-site .fx-chapter,
	.fx-site .fx-chapter:first-child {
		min-height: 0;
		border-top: 0;
		padding-block: 0 !important;
	}
	.fx-site .fx-chapter .fx-service__num .elementor-heading-title {
		font-size: 5rem;
		color: var(--fx-gold);
	}
}
@media (max-width: 767px) {
	.fx-site .fx-chapter .fx-service__num .elementor-heading-title {
		font-size: 4rem;
	}
}

/* Tablet (768–1024): slika i poglavlje u istom redu; O nama — niži, položeni kadar */
@media (min-width: 768px) and (max-width: 1024px) {
	.fx-site .fx-services__scene {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: var(--fx-space-7) var(--fx-space-6);
		align-items: center;
	}
	.fx-site .fx-services__stack .fx-media--service-2 {
		margin-top: 0;
	}
	.fx-site .fx-chapter .fx-service__num .elementor-heading-title {
		font-size: 4.5rem;
	}
	.fx-site .fx-about__media .fx-media--about {
		--fx-ratio: 3 / 2;
	}
	.fx-site .fx-about__media .fx-media--about-detail {
		width: 30%;
	}
}

/* 20. Redizajn R4 — linija rute, kontrolne tačke, panorama -------------------
   Elementor klase: fx-why__route (mreža prednosti) · fx-why__status ·
   fx-band (sekcija) · fx-media--band / --band-m · fx-band__content ·
   fx-band__eyebrow · fx-band__title.  Linija rute (.fx-route) crta feniks.js. */

/* Zašto nas — ruta sa kontrolnim tačkama */
.fx-site .fx-why__route {
	position: relative;
	--fx-why-p: 0;
	--fx-why-ext: 0px;
}
.fx-site .fx-why__route::before,
.fx-site .fx-why__route::after {
	content: "";
	position: absolute;
	top: 6px;
	left: calc(var(--fx-why-ext) * -1);
	right: 0;
	height: 1px;
	pointer-events: none;
}
.fx-site .fx-why__route::before {
	background: var(--fx-line);
}
.fx-site .fx-why__route::after {
	background: var(--fx-gold);
	transform: scaleX(var(--fx-why-p));
	transform-origin: left center;
}
.fx-site .fx-why__route .fx-why__item {
	border-top: 0;
	z-index: 1;
}
.fx-site .fx-why__route .fx-why__item::before {
	top: 0;
	left: 0;
	width: 13px;
	height: 13px;
	box-sizing: border-box;
	border: 1px solid #6F685D;
	border-radius: 50%;
	background: var(--fx-black);
	transition: background-color var(--fx-dur-s) ease, border-color var(--fx-dur-s) ease, box-shadow var(--fx-dur-s) ease;
}
.fx-site .fx-why__route .fx-why__item.is-lit::before {
	border-color: var(--fx-gold);
	background: var(--fx-gold);
	box-shadow: 0 0 0 6px rgba(218, 165, 32, 0.14);
}
/* Prigušeno dok linija ne stigne (samo kad JS radi) */
.fx-site .fx-why__route.is-live .fx-why__item > * {
	opacity: 0.6; /* prigušeno, ali i dalje ≥ 4.5:1 */
	transition: opacity var(--fx-dur-m) var(--fx-ease-out);
}
.fx-site .fx-why__route.is-live .fx-why__item.is-lit > * {
	opacity: 1;
}
.fx-site .fx-why__status {
	margin-top: var(--fx-space-2);
}

@media (max-width: 1024px) {
	/* Vertikalna ruta lijevo */
	.fx-site .fx-why__route::before,
	.fx-site .fx-why__route::after {
		top: 6px;
		bottom: 0;
		left: 6px;
		right: auto;
		width: 1px;
		height: auto;
	}
	.fx-site .fx-why__route::after {
		transform: scaleY(var(--fx-why-p));
		transform-origin: center top;
	}
}

/* Panorama */
.fx-site .fx-band {
	position: relative;
	overflow: hidden;
	overflow: clip;
	view-timeline: --fx-band block;
}
.fx-site .fx-band .fx-media--band,
.fx-site .fx-band .fx-media--band-m {
	width: 100%;
	max-width: none;
	border-radius: 0;
}
.fx-site .fx-band::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		radial-gradient(ellipse 62% 72% at 50% 50%, rgba(14, 13, 11, 0.62) 0%, rgba(14, 13, 11, 0.28) 62%, rgba(14, 13, 11, 0.5) 100%),
		linear-gradient(180deg, #0E0D0B 0%, rgba(14, 13, 11, 0) 16%, rgba(14, 13, 11, 0) 84%, #0E0D0B 100%);
	pointer-events: none;
}
.fx-site .fx-band .fx-band__content {
	position: absolute;
	inset: 0;
	z-index: 2;
	justify-content: center;
	text-align: center;
}
.fx-site .fx-band__title .elementor-heading-title {
	max-width: 16ch;
	margin-inline: auto;
	font-family: var(--fx-font-display);
	font-size: clamp(2.25rem, 4.6vw, 4.25rem);
	font-weight: 600;
	line-height: 1.04;
	letter-spacing: -0.035em;
	color: var(--fx-ivory);
	text-wrap: balance;
}
.fx-site .fx-band__eyebrow .elementor-heading-title {
	text-align: center;
}
/* Otkrivanje s lijeva na desno (JS: fx-reveal-x) */
.fx-site .fx-media.fx-reveal-x {
	clip-path: inset(0 100% 0 0);
}
.fx-site .fx-media.fx-reveal-x.is-revealed {
	clip-path: inset(0 0 0 0);
	transition: clip-path 1100ms var(--fx-ease-inout);
}
@supports (animation-timeline: view()) {
	.fx-site .fx-band .fx-media--band > *,
	.fx-site .fx-band .fx-media--band-m > * {
		animation: fx-band-pan linear both;
		animation-timeline: --fx-band;
		animation-range: cover 0% cover 100%;
	}
	@keyframes fx-band-pan {
		from { transform: translateX(-3%) scale(1.08); }
		to   { transform: translateX(3%) scale(1.08); }
	}
}

/* Linija rute kroz stranicu (crta feniks.js; samo kad ima mjesta lijevo od sadržaja) */
.fx-route {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 5;
	width: 100%;
	overflow: visible;
	pointer-events: none;
	display: none;
}
.fx-route.is-ready {
	display: block;
}
.fx-route__track {
	fill: none;
	stroke: #2A2620;
	stroke-width: 1;
}
.fx-route__line {
	fill: none;
	stroke: var(--fx-gold);
	stroke-width: 1.5;
	stroke-linecap: round;
}
.fx-route__tip {
	fill: var(--fx-gold-light);
	filter: drop-shadow(0 0 6px rgba(218, 165, 32, 0.8));
	transition: opacity var(--fx-dur-s) ease;
}
.fx-route__start {
	fill: var(--fx-gold);
}
.fx-route__end {
	fill: var(--fx-gold);
	transform-box: fill-box;
	transform-origin: center;
	animation: fx-route-pulse 2.4s var(--fx-ease-out) infinite;
	transition: opacity var(--fx-dur-s) ease;
}
.fx-route__end-ring {
	fill: none;
	stroke: var(--fx-gold);
	stroke-width: 1;
	opacity: 0.5;
}
@keyframes fx-route-pulse {
	0%, 100% { transform: scale(1); }
	50%      { transform: scale(1.35); }
}
.fx-route.is-complete .fx-route__tip {
	opacity: 0;
}

/* 21. Redizajn R5 — Kontakt (ulaz + mapa, Kopiraj, slanje) i Korisne informacije
   Elementor klase: fx-contact__locate (red) · fx-contact__entrance · fx-media--entrance ·
   fx-contact__caption · fx-contact__map */

/* Kopiraj (prikazuje se samo kad JS radi) */
.fx-site .fx-copy {
	display: none;
	align-items: center;
	min-height: 2rem;
	padding: 0 0.625rem;
	border: 1px solid var(--fx-line);
	border-radius: var(--fx-radius-control);
	background: transparent;
	color: var(--fx-muted);
	font-family: var(--fx-font-text);
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: border-color var(--fx-dur-xs) ease, color var(--fx-dur-xs) ease;
}
.fx-js .fx-site .fx-copy,
.fx-site.fx-js .fx-copy,
html.fx-js .fx-copy {
	display: inline-flex;
}
.fx-site .fx-copy:hover {
	border-color: var(--fx-gold);
	color: var(--fx-gold-light);
	background: transparent;
}
.fx-site .fx-copy.is-copied {
	border-color: var(--fx-gold);
	color: var(--fx-gold);
}
.fx-site .fx-contact-info__copyrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--fx-space-2) var(--fx-space-3);
	margin: 0;
	max-width: none;
}
.fx-contact-info .fx-status {
	margin-bottom: var(--fx-space-2);
}

/* Ulaz u zgradu pored mape */
.fx-site .fx-contact__entrance .fx-media--entrance {
	flex: 1 1 auto;
	width: 100%;
	max-width: none;
	aspect-ratio: auto;
	min-height: 360px;
}
.fx-site .fx-contact__entrance .fx-media--entrance > * {
	height: 100%;
}
.fx-site .fx-contact__caption p {
	margin: 0;
	color: var(--fx-muted);
	font-size: var(--fx-fs-small);
	line-height: 1.5;
}
@media (max-width: 767px) {
	.fx-site .fx-contact__entrance .fx-media--entrance {
		flex: none;
		aspect-ratio: 1 / 1;
		min-height: 0;
	}
	/* Kvadratni kadar: zadrži donji dio slike (natpis lokacije je u slici dolje). */
	.fx-site .fx-contact__entrance .fx-media--entrance img {
		object-position: 50% 100%;
	}
}

/* Korisne informacije — broj pitanja u margini */
.fx-site .fx-faq .e-n-accordion {
	counter-reset: fx-faq;
}
.fx-site .fx-faq .e-n-accordion-item {
	counter-increment: fx-faq;
}
.fx-site .fx-faq .e-n-accordion-item-title::before {
	content: counter(fx-faq, decimal-leading-zero);
	content: counter(fx-faq, decimal-leading-zero) / "";   /* čitači ekrana ga ne izgovaraju */
	flex: none;
	width: 3rem;
	font-family: var(--fx-font-num);
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.3;
	color: #8C8478; /* 5.3:1 */
	transition: color var(--fx-dur-s) ease;
}
.fx-site .fx-faq .e-n-accordion-item[open] > .e-n-accordion-item-title::before,
.fx-site .fx-faq .e-n-accordion-item-title:hover::before {
	color: var(--fx-gold);
}
.fx-site .fx-faq .e-n-accordion-item-title {
	padding-block: 1.75rem;
}
.fx-site .fx-faq .e-n-accordion-item > .e-con {
	padding-left: 3rem !important;   /* odgovor poravnat sa tekstom pitanja */
}
@media (max-width: 767px) {
	.fx-site .fx-faq .e-n-accordion-item-title::before {
		width: 2.25rem;
		font-size: 1rem;
	}
	.fx-site .fx-faq .e-n-accordion-item > .e-con {
		padding-left: 2.25rem !important;
	}
}

/* Forma: dugme u stanju slanja */
.fx-site .fx-contact__form .ff-btn-submit[aria-busy="true"] {
	cursor: progress;
	opacity: 0.85;
}

/* 11. Smanjeno kretanje -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.fx-site *,
	.fx-site *::before,
	.fx-site *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
	/* Paralaksa i tamnjenje vezani za skrol: potpuno isključeni */
	.fx-site .fx-hero .fx-media--hero,
	.fx-site .fx-hero .fx-media--hero-m,
	.fx-site .fx-hero::after,
	.fx-site .fx-about__media .fx-media--about > *,
	.fx-site .fx-about__media .fx-media--about-detail,
	.fx-site .fx-band .fx-media--band > *,
	.fx-site .fx-band .fx-media--band-m > * {
		animation: none !important;
	}
	.fx-site .fx-media.fx-reveal-x {
		clip-path: none !important;
	}
	/* Slike odmah vidljive (bez otkrivanja maskom) */
	.fx-site .fx-media.fx-reveal {
		clip-path: none !important;
	}
	/* Traka napretka direktno prati skrol (nije ukrasna animacija) — ostaje funkcionalna */
	.fx-site .fx-header__progress {
		animation-duration: auto !important;
	}
}
