/*!
Theme Name: Web Studio Šime
Theme URI: https://webstudiosime.hr/
Author: Web Studio Šime
Author URI: https://webstudiosime.hr/
Description: Vlastita vizualna WordPress tema Web Studija Šime za Gutenberg stranice. Dizajnirana za izradu web stranica, pakete, primjere, blog i upite za ponudu bez Elementor ovisnosti.
Version: 1.0.5
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: webstudio-sime
Tags: custom-logo, custom-menu, featured-images, full-width-template, blog, portfolio
*/

:root {
	--ws-bg: #071522;
	--ws-panel: #0b2133;
	--ws-text: #f8fafc;
	--ws-muted: #a9b5c2;
	--ws-gold: #d7ad35;
	--ws-gold-soft: #f4df9a;
	--ws-blue: #16c4ff;
	--ws-line: rgba(255, 255, 255, 0.12);
	--ws-radius: 22px;
	--ws-shadow: 0 24px 70px rgba(2, 8, 23, 0.25);
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	color: #111827;
	background: #f5f7fb;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
	color: inherit;
}

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

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background:
		radial-gradient(circle at 18% 0%, rgba(215, 173, 53, 0.2), transparent 30%),
		linear-gradient(90deg, rgba(2, 7, 18, 0.98), rgba(7, 21, 34, 0.96) 54%, rgba(2, 7, 18, 0.98));
	backdrop-filter: blur(18px);
	border-bottom: 1px solid rgba(244, 223, 154, 0.16);
	box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
}

.site-header__inner,
.site-footer__inner,
.site-main {
	width: min(1180px, calc(100% - 36px));
	margin-inline: auto;
}

.site-header__inner {
	min-height: 96px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	position: relative;
}

.site-brand {
	display: flex;
	align-items: center;
	gap: 14px;
	color: var(--ws-text);
	text-decoration: none;
	min-width: 245px;
}

.site-brand__logo {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.08);
	display: grid;
	place-items: center;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 12px 30px rgba(0, 0, 0, 0.36);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.site-brand:hover .site-brand__logo {
	transform: rotate(-4deg) scale(1.04);
	box-shadow: 0 0 0 1px rgba(244, 223, 154, 0.45), 0 16px 40px rgba(215, 173, 53, 0.22);
}

.site-brand__logo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.site-brand__title {
	display: block;
	font-size: clamp(1.06rem, 1.7vw, 1.38rem);
	font-weight: 800;
	letter-spacing: 0.02em;
}

.site-brand__tagline {
	display: block;
	margin-top: 2px;
	color: var(--ws-muted);
	font-size: 0.86rem;
}

.primary-menu {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-menu a {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0 15px;
	border-radius: 999px;
	color: var(--ws-text);
	font-weight: 800;
	font-size: 0.94rem;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a {
	color: #071522;
	background: linear-gradient(135deg, var(--ws-gold-soft), var(--ws-gold));
	box-shadow: 0 12px 26px rgba(215, 173, 53, 0.22);
	transform: translateY(-1px);
}

.site-header__cta,
.site-footer__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	color: #071522;
	background: linear-gradient(135deg, #fff4bf, var(--ws-gold));
	font-weight: 900;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 16px 35px rgba(215, 173, 53, 0.22);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.site-header__cta:hover,
.site-footer__button:hover {
	transform: translateY(-2px);
	box-shadow: 0 20px 45px rgba(215, 173, 53, 0.32);
}

.menu-toggle {
	display: none;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--ws-text);
	place-items: center;
	padding: 0;
	cursor: pointer;
}

.menu-toggle__line {
	display: block;
	width: 19px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
	margin: 2px 0;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-navigation.toggled .menu-toggle__line:nth-child(2) {
	transform: translateY(4px) rotate(45deg);
}

.site-navigation.toggled .menu-toggle__line:nth-child(3) {
	opacity: 0;
}

.site-navigation.toggled .menu-toggle__line:nth-child(4) {
	transform: translateY(-4px) rotate(-45deg);
}

.site-main {
	padding: 72px 0;
}

.page-shell,
.post-shell,
.archive-shell {
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: var(--ws-radius);
	box-shadow: var(--ws-shadow);
	padding: clamp(28px, 5vw, 70px);
}

.entry-title,
.page-title {
	margin: 0 0 26px;
	color: #071522;
	font-size: clamp(2.25rem, 5vw, 4.8rem);
	line-height: 0.95;
	letter-spacing: 0;
}

.entry-content {
	font-size: 1.08rem;
	line-height: 1.75;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.featured-image {
	margin: 0 0 32px;
	border-radius: 20px;
	overflow: hidden;
}

.site-footer {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 72% 20%, rgba(22, 196, 255, 0.16), transparent 30%),
		radial-gradient(circle at 18% 30%, rgba(215, 173, 53, 0.18), transparent 28%),
		#050b12;
	color: var(--ws-text);
	padding: 70px 0 28px;
}

.site-footer__ambient {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 52px 52px;
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent);
	pointer-events: none;
}

.site-footer__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(260px, 1.35fr) minmax(190px, 0.7fr) minmax(220px, 0.8fr);
	gap: clamp(26px, 5vw, 70px);
}

.site-footer__brand {
	max-width: 520px;
}

.site-footer__logo {
	display: inline-grid;
	width: 58px;
	height: 58px;
	margin-bottom: 18px;
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 0 0 1px rgba(244, 223, 154, 0.28), 0 18px 38px rgba(0, 0, 0, 0.35);
}

.site-footer__logo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.site-footer p {
	margin: 12px 0 22px;
	color: var(--ws-muted);
	line-height: 1.75;
}

.site-footer h2 {
	margin: 0 0 16px;
	font-size: 0.82rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ws-gold-soft);
}

.site-footer__links a,
.site-footer__contact a,
.site-footer__contact span,
.site-footer__bottom a {
	color: var(--ws-text);
	text-decoration: none;
	font-weight: 800;
}

.site-footer__links a,
.site-footer__contact a,
.site-footer__contact span {
	display: block;
	padding: 8px 0;
	color: rgba(248, 250, 252, 0.82);
}

.footer-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__links a:hover,
.site-footer__contact a:hover,
.site-footer__bottom a:hover {
	color: var(--ws-gold-soft);
}

.site-footer__bottom {
	position: relative;
	width: min(1180px, calc(100% - 36px));
	margin: 46px auto 0;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	display: flex;
	justify-content: space-between;
	gap: 18px;
	color: var(--ws-muted);
	font-size: 0.92rem;
}

.woocommerce .site-main {
	width: min(1220px, calc(100% - 36px));
}

@media (max-width: 900px) {
	.site-header__inner {
		align-items: center;
		min-height: 82px;
		padding: 12px 0;
	}

	.site-brand {
		min-width: 0;
		flex: 1;
	}

	.site-brand__logo {
		width: 54px;
		height: 54px;
	}

	.site-brand__tagline {
		display: none;
	}

	.site-navigation {
		order: 3;
	}

	.menu-toggle {
		display: grid;
	}

	.primary-menu {
		display: none;
		position: absolute;
		top: calc(100% + 10px);
		left: 0;
		right: 0;
		width: 100%;
		padding: 12px;
		border: 1px solid rgba(244, 223, 154, 0.18);
		border-radius: 24px;
		background: rgba(2, 7, 18, 0.96);
		box-shadow: 0 22px 55px rgba(0, 0, 0, 0.38);
		overflow: visible;
	}

	.site-navigation.toggled .primary-menu {
		display: grid;
		gap: 6px;
	}

	.primary-menu a {
		width: 100%;
		justify-content: center;
	}

	.site-header__cta {
		display: none;
	}

	.site-footer__inner {
		grid-template-columns: 1fr;
	}

	.site-footer__bottom {
		flex-direction: column;
	}
}

/* Desktop navigation opens only after an intentional click on its arrow. */
@media (min-width: 981px) {
	.primary-menu > li.menu-item-has-children {
		display: flex;
		align-items: center;
	}

	.primary-menu > li.menu-item-has-children > a::after {
		display: none;
	}

	.primary-menu > li.menu-item-has-children > .wsime-submenu-toggle {
		display: inline-grid;
		width: 29px;
		height: 29px;
		margin-left: 2px;
		padding: 0;
		border: 1px solid rgba(244, 223, 154, .58);
		border-radius: 50%;
		place-items: center;
		color: #f4df9a;
		cursor: pointer;
		background: transparent;
		transition: color .2s ease, background-color .2s ease, border-color .2s ease;
	}

	.primary-menu > li.menu-item-has-children > .wsime-submenu-toggle:hover,
	.primary-menu > li.menu-item-has-children.is-submenu-open > .wsime-submenu-toggle {
		border-color: #f4df9a;
		color: #062033;
		background: #f4df9a;
	}

	.primary-menu > li.menu-item-has-children > .wsime-submenu-toggle::before {
		width: .46rem;
		height: .46rem;
		margin-top: -.24rem;
		content: "";
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: rotate(45deg);
		transition: transform .2s ease;
	}

	.primary-menu > li.menu-item-has-children.is-submenu-open > .wsime-submenu-toggle::before {
		margin-top: .18rem;
		transform: rotate(225deg);
	}

	.primary-menu > li.menu-item-has-children:not(.wsime-offers-menu) > .sub-menu,
	.primary-menu > li.wsime-offers-menu > .sub-menu {
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translate(-50%, 10px);
	}

	.primary-menu > li.menu-item-has-children:not(.wsime-offers-menu).is-submenu-open > .sub-menu,
	.primary-menu > li.wsime-offers-menu.is-submenu-open > .sub-menu {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translate(-50%, 0);
	}

	.primary-menu > .wsime-offers-menu > .sub-menu > .wsime-offers-group > .wsime-submenu-toggle {
		display: none;
	}
}

/* Hard stop: a closed desktop dropdown cannot cover or intercept landing-page content. */
@media (min-width: 981px) {
	.primary-menu > li.menu-item-has-children:not(.wsime-offers-group) > .sub-menu {
		display: none !important;
	}

	.primary-menu > li.menu-item-has-children:not(.wsime-offers-group).is-submenu-open > .sub-menu {
		display: grid !important;
	}

	.primary-menu > li.wsime-offers-menu.is-submenu-open > .sub-menu,
	.primary-menu > li.wsime-offers-menu > .sub-menu > .wsime-offers-group > .sub-menu {
		display: grid !important;
	}
}

/* Mobilna navigacija 1.1.2: izbornik pocinje odmah prvom stavkom. */
@media (max-width: 980px) {
	.primary-menu {
		height: auto !important;
		min-height: 0 !important;
		max-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px) - 104px) !important;
		justify-content: flex-start !important;
		align-content: flex-start !important;
		align-items: stretch !important;
		overflow-x: hidden !important;
		overflow-y: auto !important;
	}
}

/*
 * Mobilna navigacija 1.1.1
 * Dugi popisi landing stranica ostaju unutar zaslona i mogu se
 * neovisno pomicati prstom ili kotačićem miša.
 */
@media (max-width: 980px) {
	.primary-menu {
		height: auto !important;
		min-height: 0 !important;
		max-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px) - 104px) !important;
		justify-content: flex-start !important;
		align-content: flex-start !important;
		align-items: stretch !important;
		overflow-x: hidden !important;
		overflow-y: auto !important;
		overscroll-behavior: contain;
		scrollbar-gutter: stable;
		touch-action: pan-y;
		-webkit-overflow-scrolling: touch;
	}

	.primary-menu > .wsime-offers-menu.is-submenu-open > .sub-menu {
		min-height: 0;
	}

	.primary-menu .wsime-offers-menu > .sub-menu > .wsime-offers-group.is-submenu-open > .sub-menu {
		display: grid !important;
		max-height: min(52dvh, 460px) !important;
		overflow-x: hidden !important;
		overflow-y: auto !important;
		overscroll-behavior: contain;
		scrollbar-gutter: stable;
		touch-action: pan-y;
		-webkit-overflow-scrolling: touch;
	}

	.primary-menu,
	.primary-menu .wsime-offers-group.is-submenu-open > .sub-menu {
		scrollbar-color: #e7bd4b rgba(255, 255, 255, .08);
		scrollbar-width: thin;
	}

	.primary-menu::-webkit-scrollbar,
	.primary-menu .wsime-offers-group.is-submenu-open > .sub-menu::-webkit-scrollbar {
		width: 7px;
	}

	.primary-menu::-webkit-scrollbar-track,
	.primary-menu .wsime-offers-group.is-submenu-open > .sub-menu::-webkit-scrollbar-track {
		border-radius: 999px;
		background: rgba(255, 255, 255, .07);
	}

	.primary-menu::-webkit-scrollbar-thumb,
	.primary-menu .wsime-offers-group.is-submenu-open > .sub-menu::-webkit-scrollbar-thumb {
		border-radius: 999px;
		background: #e7bd4b;
	}
}

@media (max-width: 520px) {
	.primary-menu .wsime-offers-menu > .sub-menu > .wsime-offers-group.is-submenu-open > .sub-menu {
		max-height: min(48dvh, 390px) !important;
	}
}

/* Visible desktop menu controls: click, never hover. */
@media (min-width: 981px) {
	.primary-menu > li.menu-item-has-children > .wsime-submenu-toggle {
		width: 29px;
		height: 29px;
		margin-left: 2px;
		border: 1px solid rgba(244, 223, 154, .58);
		border-radius: 50%;
		color: #f4df9a;
		background: transparent;
		transition: color .2s ease, background-color .2s ease, border-color .2s ease;
	}

	.primary-menu > li.menu-item-has-children > .wsime-submenu-toggle:hover,
	.primary-menu > li.menu-item-has-children.is-submenu-open > .wsime-submenu-toggle {
		border-color: #f4df9a;
		color: #062033;
		background: #f4df9a;
	}
}

/* Closed desktop dropdowns must not remain as invisible click targets over page content. */
@media (min-width: 981px) {
	.primary-menu > li.menu-item-has-children:not(.wsime-offers-group) > .sub-menu {
		display: none !important;
	}

	.primary-menu > li.menu-item-has-children:not(.wsime-offers-group).is-submenu-open > .sub-menu {
		display: grid !important;
	}

	.primary-menu > li.wsime-offers-menu.is-submenu-open > .sub-menu {
		display: grid !important;
	}

	.primary-menu > li.wsime-offers-menu > .sub-menu > .wsime-offers-group > .sub-menu {
		display: grid !important;
	}
}

@media (max-width: 640px) {
	.site-main {
		width: min(100% - 24px, 1180px);
		padding: 34px 0;
	}

	.site-footer__inner {
		flex-direction: column;
	}
}
/* Header and footer polish */
.site-header {
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 1000;
	overflow: visible;
	border-bottom: 0;
	box-shadow: 0 18px 52px rgba(0, 0, 0, .22);
}

.site-header::after {
	content: "";
	position: absolute;
	right: max(18px, calc((100vw - 1180px) / 2));
	bottom: 7px;
	width: min(540px, 44vw);
	height: 62px;
	background: url("assets/images/zadar-line.svg") right bottom / contain no-repeat;
	opacity: .28;
	pointer-events: none;
}

.site-header__inner {
	min-height: 92px;
	display: grid;
	grid-template-columns: minmax(280px, .9fr) minmax(0, auto) auto;
	justify-content: normal;
	align-items: center;
	gap: clamp(16px, 2.2vw, 32px);
}

.site-brand {
	min-width: 0;
	position: relative;
	z-index: 2;
}

.site-brand__logo {
	width: 66px;
	height: 66px;
	flex: 0 0 66px;
	box-shadow: 0 0 0 1px rgba(244, 223, 154, .34), 0 16px 38px rgba(0, 0, 0, .34);
}

.site-brand__logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.site-navigation {
	min-width: 0;
	display: flex;
	justify-content: flex-end;
	position: relative;
	z-index: 3;
}

.site-header__cta {
	position: relative;
	z-index: 2;
	white-space: nowrap;
}

.primary-menu {
	flex-wrap: nowrap;
	justify-content: flex-end;
	align-items: center;
}

.primary-menu li {
	position: relative;
	list-style: none;
}

.primary-menu .menu-item-has-children > a::after {
	content: "";
	width: .45rem;
	height: .45rem;
	margin-left: .52rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	opacity: .75;
}

.primary-menu .sub-menu {
	position: absolute;
	top: calc(100% + 14px);
	left: 50%;
	min-width: 300px;
	margin: 0;
	padding: .72rem;
	display: grid;
	gap: 4px;
	list-style: none;
	background: rgba(3, 12, 20, .98);
	border: 1px solid rgba(244, 223, 154, .26);
	border-radius: 18px;
	box-shadow: 0 24px 55px rgba(0, 0, 0, .46);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate(-50%, 10px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
	z-index: 1001;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate(-50%, 0);
}

.primary-menu .sub-menu a {
	width: 100%;
	min-height: auto;
	justify-content: flex-start;
	border-radius: 12px;
	padding: .72rem .85rem;
	white-space: normal;
	line-height: 1.22;
	background: transparent;
	box-shadow: none;
	transform: none;
}

.primary-menu .sub-menu a:hover {
	color: var(--ws-gold-soft, #f4df9a);
	background: rgba(244, 223, 154, .12);
	box-shadow: none;
	transform: translateX(3px);
}

.site-footer__inner {
	grid-template-columns: minmax(260px, 1.2fr) minmax(150px, .55fr) minmax(220px, .75fr) minmax(210px, .75fr);
}

.site-footer__legal a,
.site-footer__links a,
.site-footer__contact a,
.site-footer__contact span,
.site-footer__bottom a {
	color: var(--ws-text, #f8fafc);
	text-decoration: none;
	font-weight: 800;
}

.site-footer__legal a {
	display: block;
	padding: 8px 0;
	color: rgba(248, 250, 252, .82);
}

.site-footer__legal a:hover,
.site-footer__links a:hover,
.site-footer__contact a:hover,
.site-footer__bottom a:hover {
	color: var(--ws-gold-soft, #f4df9a);
	transform: translateX(3px);
}

.site-footer__meta-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	justify-content: flex-end;
}

.back-to-top {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 999;
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	border-radius: 999px;
	color: #071522;
	background: linear-gradient(135deg, #fff4bf, var(--ws-gold, #e6bb45));
	text-decoration: none;
	font-weight: 900;
	box-shadow: 0 18px 40px rgba(2, 8, 23, .28), 0 0 0 1px rgba(255, 255, 255, .22) inset;
	transition: transform .2s ease, box-shadow .2s ease;
}

.back-to-top:hover {
	transform: translateY(-4px);
	box-shadow: 0 22px 52px rgba(2, 8, 23, .38), 0 0 0 1px rgba(255, 255, 255, .34) inset;
}

@media (max-width: 1120px) {
	.site-header__inner {
		grid-template-columns: minmax(230px, 1fr) auto;
	}

	.site-header__cta {
		display: none;
	}

	.site-header::after {
		width: min(390px, 36vw);
		opacity: .22;
	}
}

@media (max-width: 900px) {
	.site-header::after {
		display: none;
	}

	.site-header__inner {
		grid-template-columns: 1fr auto;
		min-height: 82px;
		padding: 12px 0;
	}

	.site-brand__logo {
		width: 56px;
		height: 56px;
		flex-basis: 56px;
	}

	.site-navigation {
		justify-content: flex-end;
		order: initial;
	}

	.primary-menu .sub-menu {
		position: static;
		min-width: 0;
		margin: .2rem 0 .35rem;
		padding: .35rem;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: none;
		border-radius: 16px;
		box-shadow: none;
		background: rgba(255, 255, 255, .05);
		border: 1px solid rgba(244, 223, 154, .12);
	}

	.primary-menu li:hover > .sub-menu,
	.primary-menu li:focus-within > .sub-menu {
		transform: none;
	}

	.primary-menu .sub-menu a {
		justify-content: center;
		text-align: center;
	}

	.site-footer__inner {
		grid-template-columns: 1fr;
	}

	.site-footer__meta-links {
		justify-content: flex-start;
	}

	.back-to-top {
		right: 14px;
		bottom: 14px;
		width: 46px;
		height: 46px;
	}
}

/* Zavrsni override: stabilan header, navigacija, footer i gumb na vrh. */
html {
	scroll-behavior: smooth;
}

body {
	overflow-x: hidden;
}

.site-header {
	position: sticky !important;
	top: var(--wp-admin--admin-bar--height, 0);
	z-index: 999;
	border: 0 !important;
	border-bottom: 0 !important;
	background:
		radial-gradient(circle at 18% 50%, rgba(230, 187, 69, .16), transparent 26%),
		linear-gradient(90deg, rgba(18, 22, 14, .98), rgba(5, 18, 30, .96) 54%, rgba(2, 8, 18, .98)) !important;
	box-shadow: 0 18px 55px rgba(0, 0, 0, .32) !important;
}

.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, .05), transparent 18%, transparent 82%, rgba(230, 187, 69, .06)),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 110px);
}

.site-header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 34px;
	pointer-events: none;
	opacity: .2;
	background-image: url("assets/images/zadar-line.svg");
	background-repeat: repeat-x;
	background-position: center bottom;
	background-size: auto 30px;
	border: 0 !important;
	box-shadow: none !important;
}

.site-header__inner {
	position: relative;
	z-index: 2;
	width: min(1240px, calc(100% - 32px));
	min-height: 96px;
	margin: 0 auto;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 24px;
}

.site-brand {
	flex: 0 0 330px;
	min-width: 280px;
	display: flex;
	align-items: center;
	gap: 14px;
	color: #fff !important;
	text-decoration: none !important;
}

.site-brand__logo {
	width: 72px !important;
	height: 72px !important;
	flex: 0 0 72px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: radial-gradient(circle, rgba(255, 246, 191, .22), rgba(230, 187, 69, .06) 56%, transparent 70%);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 14px 34px rgba(0, 0, 0, .34);
}

.site-brand__logo img {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

.site-brand__title {
	display: block;
	color: #fff;
	font-size: clamp(1.15rem, 1.9vw, 1.65rem);
	font-weight: 950;
	letter-spacing: .02em;
	line-height: 1.05;
}

.site-brand__tagline {
	display: block;
	margin-top: 5px;
	color: rgba(255, 255, 255, .72);
	font-size: .86rem;
	line-height: 1.25;
}

.site-navigation {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.primary-menu,
.primary-menu ul {
	list-style: none;
}

.primary-menu {
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	flex-wrap: nowrap;
}

.primary-menu > li {
	position: relative;
	margin: 0;
	padding: 0;
}

.primary-menu a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: .72rem .82rem;
	border-radius: 999px;
	color: rgba(255, 255, 255, .92);
	text-decoration: none;
	font-size: .92rem;
	font-weight: 900;
	line-height: 1.15;
	white-space: nowrap;
	transition: color .18s ease, background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.primary-menu > li > a:hover,
.primary-menu > li > a:focus-visible,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current_page_item > a {
	color: #07131d;
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 14px 28px rgba(0, 0, 0, .22);
	transform: translateY(-1px);
	outline: none;
}

.primary-menu .sub-menu {
	position: absolute;
	top: calc(100% + 12px);
	left: 50%;
	z-index: 1000;
	min-width: 280px;
	margin: 0;
	padding: 12px;
	display: grid;
	gap: 4px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate(-50%, 10px);
	background: rgba(2, 10, 19, .98);
	border: 1px solid rgba(230, 187, 69, .32);
	border-radius: 20px;
	box-shadow: 0 28px 72px rgba(0, 0, 0, .56);
	transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate(-50%, 0);
}

.primary-menu .sub-menu a {
	width: 100%;
	min-height: 0;
	justify-content: flex-start;
	padding: 11px 13px;
	border-radius: 14px;
	color: rgba(255, 255, 255, .9);
	text-align: left;
	white-space: normal;
}

.primary-menu .sub-menu a:hover,
.primary-menu .sub-menu a:focus-visible {
	color: #07131d;
	background: linear-gradient(135deg, #fff7cf, #e6bb45);
}

.site-header__cta {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 999px;
	color: #07131d !important;
	background: linear-gradient(135deg, #fff1b8, #e0b53d);
	text-decoration: none !important;
	font-weight: 950;
	box-shadow: 0 18px 42px rgba(230, 187, 69, .24);
	white-space: nowrap;
	transition: transform .18s ease, box-shadow .18s ease;
}

.site-header__cta:hover,
.site-header__cta:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 24px 54px rgba(230, 187, 69, .34);
	outline: none;
}

.menu-toggle {
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 999px;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	box-shadow: none;
}

.menu-toggle__line {
	width: 20px;
	height: 2px;
	margin: 3px auto;
	display: block;
	border-radius: 999px;
	background: currentColor;
}

.site-footer {
	position: relative;
	margin-top: clamp(56px, 8vw, 110px);
	padding: clamp(54px, 8vw, 92px) 0 28px;
	overflow: hidden;
	color: #fff;
	border: 0 !important;
	background:
		radial-gradient(circle at 20% 20%, rgba(230, 187, 69, .16), transparent 28%),
		radial-gradient(circle at 78% 18%, rgba(0, 137, 172, .12), transparent 30%),
		linear-gradient(90deg, #07100f, #061827 48%, #020811) !important;
}

.site-footer::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: .45;
	background:
		linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
	background-size: 84px 84px;
}

.site-footer__ambient {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(230, 187, 69, .08), transparent 34%, rgba(0, 130, 160, .1));
}

.site-footer__inner {
	position: relative;
	z-index: 2;
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(260px, 1.25fr) minmax(180px, .8fr) minmax(210px, .8fr) minmax(230px, .9fr);
	gap: clamp(28px, 4vw, 70px);
	align-items: start;
}

.site-footer__logo {
	width: 70px;
	height: 70px;
	margin-bottom: 20px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, .06);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 18px 44px rgba(0, 0, 0, .38);
}

.site-footer__logo img {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

.site-footer__brand strong {
	display: block;
	margin-bottom: 12px;
	font-size: clamp(1.3rem, 2vw, 1.8rem);
	font-weight: 950;
}

.site-footer__brand p {
	max-width: 430px;
	margin: 0 0 22px;
	color: rgba(255, 255, 255, .78);
	line-height: 1.65;
}

.site-footer h2 {
	margin: 0 0 18px;
	color: #f2cc63;
	font-size: .82rem;
	font-weight: 950;
	letter-spacing: .22em;
	text-transform: uppercase;
}

.site-footer__links ul,
.footer-menu {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 11px;
}

.site-footer__links a,
.site-footer__legal a,
.site-footer__contact a,
.site-footer__contact span {
	display: block;
	color: rgba(255, 255, 255, .84);
	text-decoration: none;
	font-weight: 800;
	line-height: 1.35;
}

.site-footer__legal,
.site-footer__contact {
	display: grid;
	align-content: start;
	gap: 11px;
}

.site-footer__links a:hover,
.site-footer__legal a:hover,
.site-footer__contact a:hover {
	color: #f4df9a;
	transform: translateX(4px);
}

.site-footer__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 999px;
	color: #07131d !important;
	background: linear-gradient(135deg, #fff1b8, #e0b53d);
	text-decoration: none !important;
	font-weight: 950;
	box-shadow: 0 18px 42px rgba(230, 187, 69, .24);
}

.site-footer__bottom {
	position: relative;
	z-index: 2;
	width: min(1180px, calc(100% - 32px));
	margin: 46px auto 0;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, .16);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	color: rgba(255, 255, 255, .68);
}

.site-footer__meta-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	justify-content: flex-end;
}

.site-footer__meta-links a {
	color: rgba(255, 255, 255, .78);
	text-decoration: none;
	font-weight: 800;
}

.site-footer__meta-links a:hover {
	color: #f4df9a;
}

.back-to-top {
	position: fixed !important;
	right: 22px;
	bottom: 22px;
	z-index: 1000;
	width: 54px;
	height: 54px;
	display: grid !important;
	place-items: center;
	border-radius: 50%;
	color: #06111f !important;
	background: linear-gradient(135deg, #fff4bf, #e6bb45);
	text-decoration: none !important;
	font-size: 1.25rem;
	font-weight: 950;
	box-shadow: 0 18px 40px rgba(2, 8, 23, .32), 0 0 0 1px rgba(255, 255, 255, .24) inset;
	transition: transform .2s ease, box-shadow .2s ease;
}

.back-to-top:hover,
.back-to-top:focus-visible {
	transform: translateY(-4px);
	box-shadow: 0 24px 56px rgba(2, 8, 23, .42), 0 0 0 1px rgba(255, 255, 255, .36) inset;
	outline: none;
}

@media (max-width: 1240px) {
	.site-header__inner {
		width: min(1120px, calc(100% - 28px));
		gap: 16px;
	}

	.site-brand {
		flex-basis: 285px;
	}

	.primary-menu a {
		padding-inline: .62rem;
		font-size: .84rem;
	}

	.site-header__cta {
		display: none;
	}
}

@media (max-width: 980px) {
	.site-header::after {
		display: none;
	}

	.site-header__inner {
		min-height: 78px;
	}

	.site-brand {
		flex: 1 1 auto;
		min-width: 0;
	}

	.site-brand__logo {
		width: 58px !important;
		height: 58px !important;
		flex-basis: 58px;
	}

	.site-brand__logo img {
		width: 52px;
		height: 52px;
	}

	.site-brand__title {
		font-size: 1.05rem;
	}

	.site-brand__tagline {
		display: none;
	}

	.menu-toggle {
		display: grid !important;
		place-items: center;
		flex: 0 0 48px;
	}

	.primary-menu {
		position: absolute;
		top: calc(100% + 12px);
		right: 0;
		width: min(92vw, 410px);
		max-height: calc(100vh - 120px);
		overflow: auto;
		display: none;
		flex-direction: column;
		align-items: stretch;
		padding: 14px;
		background: rgba(3, 12, 20, .98);
		border: 1px solid rgba(244, 223, 154, .24);
		border-radius: 22px;
		box-shadow: 0 26px 70px rgba(0, 0, 0, .54);
	}

	.site-navigation.is-open .primary-menu,
	.site-navigation.toggled .primary-menu {
		display: flex;
	}

	.primary-menu > li > a {
		width: 100%;
		justify-content: flex-start;
		padding: .95rem 1rem;
	}

	.primary-menu .sub-menu {
		position: static;
		min-width: 0;
		margin: .25rem 0 .45rem;
		padding: .35rem;
		display: block;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: none;
		border-radius: 16px;
		box-shadow: none;
		background: rgba(255, 255, 255, .05);
		border: 1px solid rgba(244, 223, 154, .12);
	}

	.primary-menu li:hover > .sub-menu,
	.primary-menu li:focus-within > .sub-menu {
		transform: none;
	}

	.primary-menu .sub-menu a {
		justify-content: flex-start;
		text-align: left;
	}
}

/* Ponude: kategorije na desktopu i sklopivi podizbornici na mobitelu. */
@media (min-width: 981px) {
	.primary-menu > .wsime-offers-menu > .sub-menu {
		left: 50%;
		width: min(1010px, calc(100vw - 40px));
		min-width: 0;
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 12px;
		padding: 14px;
	}

	.primary-menu > .wsime-offers-menu > .sub-menu > .menu-item-has-children {
		min-width: 0;
		padding: 8px;
		border: 1px solid rgba(244, 223, 154, .13);
		border-radius: 14px;
		background: rgba(255, 255, 255, .035);
	}

	.primary-menu > .wsime-offers-menu > .sub-menu > .menu-item-has-children > a {
		min-height: auto;
		padding: .45rem .48rem .62rem;
		color: #f4df9a;
		font-size: .78rem;
		letter-spacing: .025em;
		pointer-events: none;
	}

	.primary-menu > .wsime-offers-menu > .sub-menu > .menu-item-has-children > a::after {
		display: none;
	}

	.primary-menu > .wsime-offers-menu > .sub-menu > .menu-item-has-children > .sub-menu {
		position: static;
		display: grid;
		min-width: 0;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: none;
		background: transparent;
	}

	.primary-menu > .wsime-offers-menu > .sub-menu > .menu-item-has-children > .sub-menu a {
		padding: .52rem .48rem;
		font-size: .79rem;
	}

	.wsime-submenu-toggle {
		display: none;
	}
}

@media (max-width: 980px) {
	.primary-menu .menu-item-has-children {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 46px;
		align-items: stretch;
	}

	.primary-menu .menu-item-has-children > a {
		grid-column: 1;
		grid-row: 1;
	}

	.primary-menu .menu-item-has-children > a::after {
		display: none;
	}

	.wsime-submenu-toggle {
		grid-column: 2;
		grid-row: 1;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 46px;
		min-height: 46px;
		padding: 0;
		color: #f4df9a;
		border: 0;
		border-left: 1px solid rgba(244, 223, 154, .16);
		border-radius: 0;
		cursor: pointer;
		background: transparent;
		font: inherit;
	}

	.wsime-submenu-toggle::before {
		width: .5rem;
		height: .5rem;
		margin-top: -.22rem;
		content: "";
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: rotate(45deg);
		transition: transform .2s ease;
	}

	.primary-menu .menu-item-has-children.is-submenu-open > .wsime-submenu-toggle::before {
		margin-top: .18rem;
		transform: rotate(225deg);
	}

	.primary-menu .menu-item-has-children > .sub-menu {
		grid-column: 1 / -1;
		grid-row: 2;
		display: none !important;
	}

	.primary-menu .menu-item-has-children.is-submenu-open > .sub-menu {
		display: grid !important;
	}

	.primary-menu .wsime-offers-menu > .sub-menu {
		gap: .55rem;
		margin: .25rem 0 .5rem;
		padding: .42rem;
		background: rgba(255, 255, 255, .045);
	}

	.primary-menu .wsime-offers-menu > .sub-menu > .menu-item-has-children {
		border: 1px solid rgba(244, 223, 154, .13);
		border-radius: 13px;
		background: rgba(255, 255, 255, .025);
	}

	.primary-menu .wsime-offers-menu > .sub-menu > .menu-item-has-children > a {
		min-height: 51px;
		color: #f4df9a;
		font-size: .84rem;
	}

	.primary-menu .wsime-offers-menu > .sub-menu > .menu-item-has-children > .sub-menu {
		margin: 0 .45rem .45rem;
		padding: .28rem;
		border-radius: 10px;
		background: rgba(2, 14, 24, .42);
	}

	.primary-menu .wsime-offers-menu > .sub-menu > .menu-item-has-children > .sub-menu a {
		min-height: 42px;
		padding: .68rem .72rem;
		font-size: .82rem;
	}
}

@media (max-width: 860px) {
	.site-footer__inner {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 640px) {
	.site-header__inner {
		width: min(100% - 20px, 100%);
	}

	.site-footer__inner {
		grid-template-columns: 1fr;
	}

	.site-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.site-footer__meta-links {
		justify-content: flex-start;
	}

	.back-to-top {
		right: 14px;
		bottom: 14px;
		width: 46px;
		height: 46px;
	}
}

/* Finalni sloj za header, navigaciju i footer */
:root {
	--ws-gold: #e5bd55;
	--ws-gold-soft: #ffe7a3;
	--ws-dark: #07111a;
	--ws-header-h: 96px;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	overflow: visible;
	border: 0 !important;
	border-bottom: 0 !important;
	background:
		radial-gradient(circle at 15% 28%, rgba(229, 189, 85, .16), transparent 28%),
		linear-gradient(100deg, #101411 0%, #07111a 48%, #06101a 100%) !important;
	box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
}

.admin-bar .site-header {
	top: 32px;
}

.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(255,255,255,.04), transparent 22%, rgba(229,189,85,.08) 54%, transparent 82%);
	opacity: .9;
}

.site-header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 2px;
	height: 30px;
	pointer-events: none;
	border: 0 !important;
	background: url("assets/images/zadar-line.svg") center bottom / 860px auto repeat-x;
	opacity: .14;
	filter: sepia(1) saturate(1.35);
}

.site-header__inner {
	position: relative;
	z-index: 2;
	width: min(100% - 32px, 1280px);
	min-height: var(--ws-header-h);
	margin: 0 auto;
	padding: 12px 0;
	display: flex;
	align-items: center;
	gap: clamp(18px, 2.2vw, 34px);
}

.site-brand {
	flex: 0 0 auto;
	width: min(350px, 33vw);
	min-width: 250px;
	display: inline-flex;
	align-items: center;
	gap: 14px;
	color: #fff !important;
	text-decoration: none !important;
}

.site-brand__logo {
	width: 74px;
	height: 74px;
	flex: 0 0 74px;
	display: grid;
	place-items: center;
	overflow: hidden;
	border-radius: 999px;
	background: radial-gradient(circle, rgba(229,189,85,.28), rgba(255,255,255,.03));
	box-shadow: 0 0 0 1px rgba(229,189,85,.42), 0 18px 38px rgba(0,0,0,.42), 0 0 32px rgba(229,189,85,.18);
}

.site-brand__logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.site-brand__title {
	display: block;
	font-weight: 900;
	font-size: clamp(1.18rem, 1.7vw, 1.55rem);
	line-height: 1.02;
	letter-spacing: .01em;
	color: #fff;
}

.site-brand__tagline {
	display: block;
	margin-top: 4px;
	color: rgba(255,255,255,.72);
	font-size: .9rem;
	line-height: 1.3;
}

.site-navigation {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.primary-menu,
.primary-menu ul {
	list-style: none;
}

.primary-menu {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 4px;
	flex-wrap: nowrap;
	margin: 0;
	padding: 0;
}

.primary-menu > li {
	position: relative;
	margin: 0;
	padding: 0;
	flex: 0 0 auto;
}

.primary-menu > li > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 13px;
	border-radius: 999px;
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 850;
	font-size: .94rem;
	line-height: 1.1;
	white-space: nowrap;
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current_page_item > a {
	color: var(--ws-dark) !important;
	background: #fff;
	transform: translateY(-1px);
}

.primary-menu .menu-item-has-children > a::after {
	content: "";
	width: .45em;
	height: .45em;
	margin-left: .55em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
}

.primary-menu .sub-menu {
	position: absolute;
	top: calc(100% + 12px);
	left: 0;
	width: 280px;
	display: grid !important;
	gap: 4px;
	margin: 0;
	padding: 12px;
	border: 1px solid rgba(229,189,85,.24);
	border-radius: 18px;
	background: rgba(6,13,20,.96);
	box-shadow: 0 24px 56px rgba(0,0,0,.36);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	pointer-events: none;
	transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.primary-menu .sub-menu a {
	display: block;
	padding: 10px 12px;
	border-radius: 12px;
	color: #fff !important;
	font-weight: 750;
	line-height: 1.2;
	text-decoration: none !important;
}

.primary-menu .sub-menu a:hover {
	background: rgba(229,189,85,.16);
	color: var(--ws-gold-soft) !important;
}

.site-header__cta {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--ws-gold-soft), var(--ws-gold));
	color: var(--ws-dark) !important;
	text-decoration: none !important;
	font-weight: 900;
	white-space: nowrap;
	box-shadow: 0 18px 36px rgba(229,189,85,.24);
}

.menu-toggle {
	display: none;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(255,255,255,.22);
	border-radius: 999px;
	background: rgba(255,255,255,.08);
	color: #fff;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.menu-toggle__line {
	display: block;
	width: 20px;
	height: 2px;
	margin: 3px auto;
	border-radius: 99px;
	background: currentColor;
}

.site-footer {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 12% 15%, rgba(229,189,85,.16), transparent 26%),
		linear-gradient(105deg, #0a0f11 0%, #07111a 45%, #061726 100%) !important;
	color: #fff;
}

.site-footer__inner {
	width: min(100% - 32px, 1180px);
	margin: 0 auto;
	padding: clamp(50px, 7vw, 88px) 0 28px;
	display: grid;
	grid-template-columns: minmax(260px, 1.15fr) minmax(170px, .65fr) minmax(190px, .7fr) minmax(240px, .8fr);
	gap: clamp(26px, 4vw, 58px);
	align-items: start;
}

.site-footer__brand {
	display: grid;
	gap: 14px;
}

.site-footer__logo img {
	width: 78px;
	height: 78px;
	border-radius: 999px;
	object-fit: cover;
	box-shadow: 0 0 0 1px rgba(229,189,85,.38), 0 18px 36px rgba(0,0,0,.34);
}

.site-footer strong {
	font-size: clamp(1.4rem, 2vw, 1.85rem);
}

.site-footer p {
	max-width: 480px;
	color: rgba(255,255,255,.76);
	line-height: 1.7;
}

.site-footer h2 {
	margin: 0 0 18px;
	color: var(--ws-gold-soft);
	font-size: .88rem;
	text-transform: uppercase;
	letter-spacing: .22em;
}

.site-footer a {
	color: #fff;
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--ws-gold-soft);
}

.site-footer__button {
	width: fit-content;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 20px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--ws-gold-soft), var(--ws-gold));
	color: var(--ws-dark) !important;
	font-weight: 900;
	box-shadow: 0 18px 32px rgba(229,189,85,.18);
}

.footer-menu,
.site-footer__legal {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 11px;
}

.site-footer__links a,
.site-footer__legal a,
.site-footer__contact a,
.site-footer__contact span {
	display: block;
	color: rgba(255,255,255,.82);
	font-weight: 750;
	line-height: 1.4;
}

.site-footer__bottom {
	width: min(100% - 32px, 1180px);
	margin: 0 auto;
	padding: 22px 0 34px;
	border-top: 1px solid rgba(255,255,255,.12);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	color: rgba(255,255,255,.72);
}

.site-footer__meta-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
}

.site-footer__meta-links a {
	color: rgba(255,255,255,.72);
	font-size: .92rem;
}

.back-to-top {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 999;
	width: 54px;
	height: 54px;
	border-radius: 999px;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, var(--ws-gold-soft), var(--ws-gold));
	color: var(--ws-dark) !important;
	font-weight: 950;
	text-decoration: none !important;
	box-shadow: 0 16px 34px rgba(0,0,0,.24);
	transition: transform .18s ease, box-shadow .18s ease;
}

.back-to-top:hover {
	transform: translateY(-3px);
	box-shadow: 0 22px 44px rgba(0,0,0,.28);
}

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

	.site-brand {
		width: min(320px, 31vw);
	}

	.primary-menu > li > a {
		padding-inline: 10px;
		font-size: .9rem;
	}
}

@media (max-width: 1080px) {
	.admin-bar .site-header {
		top: 46px;
	}

	.site-header__inner {
		width: min(100% - 24px, 820px);
		min-height: 84px;
		justify-content: space-between;
	}

	.site-brand {
		width: auto;
		min-width: 0;
	}

	.site-brand__logo {
		width: 58px;
		height: 58px;
		flex-basis: 58px;
	}

	.site-brand__title {
		font-size: 1.08rem;
	}

	.site-brand__tagline {
		font-size: .78rem;
	}

	.site-navigation {
		flex: 0 0 auto;
		position: relative;
		justify-content: flex-end;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.primary-menu {
		display: none !important;
		position: absolute;
		top: calc(100% + 14px);
		right: 0;
		width: min(370px, calc(100vw - 32px));
		padding: 14px;
		border: 1px solid rgba(229,189,85,.24);
		border-radius: 20px;
		background: rgba(5,11,18,.97);
		box-shadow: 0 22px 60px rgba(0,0,0,.45);
	}

	.site-navigation.is-open .primary-menu,
	.site-navigation.toggled .primary-menu {
		display: grid !important;
		gap: 6px;
	}

	.primary-menu > li > a {
		width: 100%;
		justify-content: flex-start;
		padding: 13px 14px;
	}

	.primary-menu .sub-menu {
		position: static;
		width: auto;
		margin-top: 4px;
		opacity: 1;
		visibility: visible;
		transform: none;
		pointer-events: auto;
		background: rgba(255,255,255,.05);
		box-shadow: none;
	}

	.site-footer__inner {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 760px) {
	.site-header::after {
		opacity: .08;
	}

	.site-brand__tagline {
		display: none;
	}

	.site-footer__inner {
		grid-template-columns: 1fr;
	}

	.site-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.back-to-top {
		right: 14px;
		bottom: 14px;
		width: 48px;
		height: 48px;
	}
}

@media (max-width: 560px) {
	.site-brand__logo {
		width: 52px;
		height: 52px;
		flex-basis: 52px;
	}

	.site-brand__title {
		max-width: 190px;
	}
}

/* Final header and footer layout fixes. */
.site-header,
.site-header * {
	box-sizing: border-box;
}

.site-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 1000;
	overflow: visible;
	border-bottom: 0 !important;
	background: #071018;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .24);
}

.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(14, 16, 16, .96), rgba(4, 16, 26, .97));
	pointer-events: none;
	z-index: 0;
}

.site-header::after {
	content: "";
	position: absolute;
	right: max(18px, calc((100vw - 1180px) / 2));
	bottom: 6px;
	width: min(560px, 45vw);
	height: 62px;
	background: url("assets/images/zadar-line.svg") right bottom / contain no-repeat;
	opacity: .24;
	pointer-events: none;
	z-index: 1;
}

.site-header__inner {
	position: relative;
	z-index: 2;
	width: min(1180px, calc(100% - 32px));
	min-height: 96px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(14px, 2vw, 28px);
}

.site-brand {
	flex: 0 1 330px;
	min-width: 260px;
	display: flex;
	align-items: center;
	gap: 14px;
	color: #fff;
	text-decoration: none;
}

.site-brand__logo {
	width: 66px;
	height: 66px;
	flex: 0 0 66px;
	border-radius: 50%;
	overflow: hidden;
	background: #05111b;
	box-shadow: 0 0 0 1px rgba(244, 223, 154, .34), 0 18px 42px rgba(0, 0, 0, .38);
}

.site-brand__logo img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.site-brand__title {
	display: block;
	font-size: clamp(1.15rem, 1.7vw, 1.7rem);
	font-weight: 950;
	line-height: 1;
	letter-spacing: -.02em;
}

.site-brand__tagline {
	display: block;
	margin-top: 6px;
	color: rgba(255, 255, 255, .72);
	font-size: .86rem;
	line-height: 1.25;
}

.site-navigation {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	justify-content: flex-end;
	position: relative;
	z-index: 4;
}

.primary-menu,
.primary-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-menu {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: .28rem;
	flex-wrap: nowrap;
}

.primary-menu > li {
	position: relative;
	flex: 0 0 auto;
}

.primary-menu a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: .75rem .78rem;
	border-radius: 999px;
	color: #fff;
	font-size: clamp(.82rem, .76vw, .95rem);
	font-weight: 850;
	line-height: 1.1;
	text-decoration: none;
	white-space: nowrap;
	transition: color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current_page_item > a,
.primary-menu > li.current-menu-ancestor > a {
	color: #071522;
	background: linear-gradient(135deg, #fff4bf, #e6bb45);
	box-shadow: 0 12px 28px rgba(230, 187, 69, .24);
	transform: translateY(-1px);
}

.primary-menu .menu-item-has-children > a::after {
	content: "";
	width: .42rem;
	height: .42rem;
	margin-left: .5rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	opacity: .78;
}

.primary-menu .sub-menu {
	position: absolute;
	top: calc(100% + 12px);
	left: 50%;
	min-width: 292px;
	margin: 0;
	padding: .75rem;
	display: grid;
	gap: 5px;
	background: rgba(3, 12, 20, .98);
	border: 1px solid rgba(244, 223, 154, .25);
	border-radius: 18px;
	box-shadow: 0 26px 60px rgba(0, 0, 0, .5);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate(-50%, 10px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
	z-index: 1001;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate(-50%, 0);
}

.primary-menu .sub-menu a {
	min-height: auto;
	width: 100%;
	justify-content: flex-start;
	border-radius: 12px;
	padding: .72rem .88rem;
	background: transparent;
	box-shadow: none;
	color: rgba(255, 255, 255, .9);
	line-height: 1.22;
	text-align: left;
	white-space: normal;
	transform: none;
}

.primary-menu .sub-menu a:hover {
	color: #f4df9a;
	background: rgba(244, 223, 154, .12);
	box-shadow: none;
	transform: translateX(3px);
}

.site-header__cta {
	flex: 0 0 auto;
	position: relative;
	z-index: 3;
	white-space: nowrap;
}

.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(244, 223, 154, .28);
	border-radius: 999px;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	cursor: pointer;
}

.menu-toggle__line {
	display: block;
	width: 20px;
	height: 2px;
	margin: 3px 0;
	border-radius: 999px;
	background: currentColor;
	transition: transform .2s ease, opacity .2s ease;
}

.site-navigation.is-open .menu-toggle__line:nth-child(2),
.site-navigation.toggled .menu-toggle__line:nth-child(2) {
	opacity: 0;
}

.site-navigation.is-open .menu-toggle__line:nth-child(3),
.site-navigation.toggled .menu-toggle__line:nth-child(3) {
	transform: translateY(-5px) rotate(45deg);
}

.site-navigation.is-open .menu-toggle__line:nth-child(4),
.site-navigation.toggled .menu-toggle__line:nth-child(4) {
	transform: translateY(-13px) rotate(-45deg);
}

.site-footer {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 18% 12%, rgba(230, 187, 69, .14), transparent 30%),
		radial-gradient(circle at 78% 10%, rgba(17, 94, 117, .18), transparent 34%),
		linear-gradient(115deg, #070b0f 0%, #071522 58%, #02070d 100%);
	color: #fff;
}

.site-footer__inner {
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(260px, 1.15fr) minmax(180px, .7fr) minmax(230px, .8fr) minmax(230px, .8fr);
	gap: clamp(28px, 4vw, 68px);
}

.site-footer h2 {
	margin: 0 0 1.15rem;
	color: #f4df9a;
	font-size: .9rem;
	font-weight: 950;
	letter-spacing: .24em;
	text-transform: uppercase;
}

.site-footer__links a,
.site-footer__legal a,
.site-footer__contact a,
.site-footer__contact span {
	display: block;
	padding: .38rem 0;
	color: rgba(255, 255, 255, .86);
	text-decoration: none;
	font-weight: 800;
	transition: color .2s ease, transform .2s ease;
}

.site-footer__links a:hover,
.site-footer__legal a:hover,
.site-footer__contact a:hover {
	color: #f4df9a;
	transform: translateX(4px);
}

.site-footer__bottom {
	width: min(1180px, calc(100% - 32px));
	margin: 34px auto 0;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, .14);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	color: rgba(255, 255, 255, .7);
}

.site-footer__meta-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	justify-content: flex-end;
}

.site-footer__meta-links a {
	color: rgba(255, 255, 255, .78);
	text-decoration: none;
	font-weight: 700;
}

.site-footer__meta-links a:hover {
	color: #f4df9a;
}

.back-to-top {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 999;
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	border-radius: 999px;
	color: #071522;
	background: linear-gradient(135deg, #fff4bf, #e6bb45);
	text-decoration: none;
	font-size: 1.25rem;
	font-weight: 950;
	box-shadow: 0 18px 40px rgba(2, 8, 23, .28), 0 0 0 1px rgba(255, 255, 255, .24) inset;
	transition: transform .2s ease, box-shadow .2s ease;
}

.back-to-top:hover {
	transform: translateY(-4px);
	box-shadow: 0 24px 56px rgba(2, 8, 23, .38), 0 0 0 1px rgba(255, 255, 255, .36) inset;
}

@media (max-width: 1240px) {
	.site-brand {
		flex-basis: 300px;
	}

	.primary-menu a {
		padding: .7rem .62rem;
		font-size: .84rem;
	}

	.site-header__cta {
		display: none;
	}
}

@media (max-width: 980px) {
	.site-header::after {
		display: none;
	}

	.site-header__inner {
		min-height: 82px;
	}

	.site-brand {
		min-width: 0;
		flex: 1 1 auto;
	}

	.site-brand__logo {
		width: 56px;
		height: 56px;
		flex-basis: 56px;
	}

	.site-brand__tagline {
		display: none;
	}

	.menu-toggle {
		display: grid;
	}

	.primary-menu {
		position: absolute;
		right: 0;
		top: calc(100% + 14px);
		width: min(92vw, 390px);
		display: none;
		flex-direction: column;
		align-items: stretch;
		padding: 14px;
		background: rgba(3, 12, 20, .98);
		border: 1px solid rgba(244, 223, 154, .24);
		border-radius: 22px;
		box-shadow: 0 26px 70px rgba(0, 0, 0, .54);
	}

	.site-navigation.is-open .primary-menu,
	.site-navigation.toggled .primary-menu {
		display: flex;
	}

	.primary-menu > li > a {
		width: 100%;
		justify-content: flex-start;
		padding: .95rem 1rem;
	}

	.primary-menu .sub-menu {
		position: static;
		min-width: 0;
		margin: .25rem 0 .45rem;
		padding: .35rem;
		display: block;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: none;
		border-radius: 16px;
		box-shadow: none;
		background: rgba(255, 255, 255, .05);
		border: 1px solid rgba(244, 223, 154, .12);
	}

	.primary-menu li:hover > .sub-menu,
	.primary-menu li:focus-within > .sub-menu {
		transform: none;
	}

	.primary-menu .sub-menu a {
		justify-content: flex-start;
		text-align: left;
	}
}

@media (max-width: 780px) {
	.site-footer__inner {
		grid-template-columns: 1fr;
	}

	.site-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.site-footer__meta-links {
		justify-content: flex-start;
	}

	.back-to-top {
		right: 14px;
		bottom: 14px;
		width: 46px;
		height: 46px;
	}
}

/* Browser-reviewed chrome polish: final active layer. */
.site-header__inner {
	width: min(1260px, calc(100% - 40px));
	gap: clamp(10px, 1.2vw, 18px);
}

.site-brand {
	flex: 0 0 clamp(190px, 18vw, 260px);
	min-width: 0;
	gap: 12px;
}

.site-brand__logo {
	width: 60px;
	height: 60px;
	flex-basis: 60px;
}

.site-brand__title {
	max-width: 180px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	letter-spacing: 0;
}

.site-brand__tagline {
	max-width: 180px;
	font-size: .78rem;
}

.site-navigation {
	min-width: 0;
}

.primary-menu {
	min-width: 0;
	gap: .12rem;
}

.primary-menu a {
	min-height: 44px;
	padding: .64rem .52rem;
	font-size: clamp(.76rem, .68vw, .88rem);
	letter-spacing: 0;
}

.primary-menu > li > a:focus,
.primary-menu > li > a:focus-visible {
	color: #071522;
	background: linear-gradient(135deg, #fff4bf, #e6bb45);
	outline: 2px solid rgba(255, 244, 191, .52);
	outline-offset: 3px;
}

.primary-menu .sub-menu a:focus,
.primary-menu .sub-menu a:focus-visible {
	color: #f4df9a;
	background: rgba(244, 223, 154, .12);
	outline: 2px solid rgba(244, 223, 154, .34);
	outline-offset: 2px;
}

.site-header__cta {
	min-height: 46px;
	padding: .72rem 1.05rem;
	font-size: .86rem;
	letter-spacing: 0;
}

.site-footer__brand strong {
	display: block;
	font-size: 1.35rem;
	line-height: 1.1;
}

.site-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: .55rem;
	margin-top: 1rem;
}

.site-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: .55rem .72rem;
	border: 1px solid rgba(244, 223, 154, .24);
	border-radius: 999px;
	background: rgba(255, 255, 255, .06);
	color: #fff;
	font-size: .84rem;
	font-weight: 850;
	line-height: 1;
	text-decoration: none;
	transition: color .2s ease, background .2s ease, transform .2s ease;
}

.site-footer__social a:hover,
.site-footer__social a:focus-visible {
	color: #071522;
	background: linear-gradient(135deg, #fff4bf, #e6bb45);
	transform: translateY(-2px);
}

@media (max-width: 1400px) {
	.site-header__inner {
		width: min(1240px, calc(100% - 34px));
	}

	.site-brand {
		flex-basis: 180px;
	}

	.site-brand__logo {
		width: 56px;
		height: 56px;
		flex-basis: 56px;
	}

	.site-brand__title {
		max-width: 108px;
		font-size: 1rem;
	}

	.site-brand__tagline {
		display: none;
	}

	.primary-menu a {
		padding: .6rem .42rem;
		font-size: .78rem;
	}

	.site-header__cta {
		padding-inline: .9rem;
		font-size: .82rem;
	}
}

@media (max-width: 1160px) {
	.site-header__cta {
		display: none;
	}

	.site-brand {
		flex-basis: 220px;
	}

	.site-brand__title {
		max-width: 150px;
	}
}

@media (max-width: 980px) {
	.site-header__inner {
		width: min(1180px, calc(100% - 28px));
		min-height: 78px;
	}

	.site-brand {
		flex: 1 1 auto;
	}

	.site-brand__logo {
		width: 54px;
		height: 54px;
		flex-basis: 54px;
	}

	.site-brand__title {
		max-width: min(48vw, 190px);
		font-size: .98rem;
	}

	.site-navigation {
		flex: 0 0 auto;
		position: static;
	}

	.primary-menu {
		position: fixed;
		top: calc(var(--wp-admin--admin-bar--height, 0px) + 92px);
		right: 14px;
		left: 14px;
		width: auto;
		max-width: none;
		max-height: calc(100vh - 116px);
		overflow: auto;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: .28rem;
		padding: 12px;
		border-radius: 20px;
		background: rgba(3, 12, 20, .98);
		border: 1px solid rgba(244, 223, 154, .24);
		box-shadow: 0 26px 70px rgba(0, 0, 0, .54);
	}

	.site-navigation.is-open .primary-menu,
	.site-navigation.toggled .primary-menu {
		display: flex !important;
	}

	.primary-menu > li,
	.primary-menu .sub-menu {
		width: 100%;
		box-sizing: border-box;
	}

	.primary-menu > li > a {
		width: 100%;
		justify-content: flex-start;
		padding: .82rem .9rem;
		font-size: .92rem;
	}

	.primary-menu .sub-menu {
		width: 100%;
		margin: .24rem 0 .42rem;
		display: grid;
		gap: .2rem;
	}

	.primary-menu .sub-menu a {
		font-size: .86rem;
	}
}

@media (max-width: 520px) {
	.site-brand__title {
		display: none;
	}
}

/* Korekcija po vizualnom pregledu: navy/zlatni header i kompaktniji morski footer. */
.site-header {
	background: #082944 !important;
	box-shadow: 0 16px 44px rgba(4, 24, 42, .28);
}

.site-header::before {
	background:
		linear-gradient(90deg, rgba(7, 30, 49, .98) 0%, rgba(11, 48, 78, .98) 58%, rgba(5, 24, 42, .98) 100%) !important;
}

.site-header::after {
	left: max(20px, calc((100vw - 1320px) / 2));
	right: auto;
	bottom: 9px;
	width: min(380px, 28vw);
	height: 46px;
	opacity: .18;
	background: url("assets/images/zadar-line.svg") left bottom / contain no-repeat;
}

.site-header__inner {
	width: min(1320px, calc(100% - 36px));
	min-height: 94px;
	gap: clamp(12px, 1.4vw, 22px);
}

.site-brand {
	flex: 0 0 clamp(310px, 23vw, 390px);
	gap: 14px;
}

.site-brand__logo {
	width: 78px;
	height: 78px;
	flex-basis: 78px;
	box-shadow: 0 0 0 1px rgba(244, 223, 154, .46), 0 18px 42px rgba(2, 14, 24, .38);
}

.site-brand__copy {
	display: block;
	min-width: 0;
}

.site-brand__title {
	display: none !important;
}

.site-brand__tagline {
	display: block !important;
	max-width: 260px;
	margin: 0;
	color: rgba(255, 255, 255, .9);
	font-size: .9rem;
	font-weight: 800;
	line-height: 1.18;
	white-space: normal;
	overflow: visible;
	text-overflow: clip;
}

.primary-menu a {
	padding: .62rem .5rem;
	color: rgba(255, 255, 255, .96);
	font-size: clamp(.76rem, .66vw, .88rem);
}

.site-header__cta {
	color: #06233a;
	background: linear-gradient(135deg, #fff3bd, #e3bb50);
}

.site-footer {
	margin-top: clamp(34px, 4vw, 62px) !important;
	padding: 42px 0 18px !important;
	background:
		radial-gradient(circle at 18% 20%, rgba(229, 190, 82, .16), transparent 28%),
		radial-gradient(circle at 86% 16%, rgba(72, 169, 204, .18), transparent 30%),
		linear-gradient(135deg, #06233a 0%, #083556 48%, #041a2d 100%) !important;
	color: #fff;
}

.site-footer::before {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 58%;
	pointer-events: none;
	background:
		repeating-linear-gradient(172deg, rgba(255, 255, 255, .055) 0 1px, transparent 1px 24px),
		radial-gradient(ellipse at 50% 100%, rgba(62, 153, 190, .18), transparent 62%);
	opacity: .72;
}

.site-footer__ambient {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .07), transparent 42%),
		radial-gradient(ellipse at 52% 100%, rgba(19, 112, 151, .18), transparent 58%);
	opacity: 1;
}

.site-footer__inner {
	position: relative;
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
	padding: 0 !important;
	grid-template-columns: minmax(230px, .95fr) minmax(150px, .62fr) minmax(220px, .85fr) minmax(220px, .88fr);
	gap: clamp(22px, 3vw, 44px);
	align-items: start;
}

.site-footer__brand {
	max-width: 300px;
}

.site-footer__logo {
	width: 54px;
	height: 54px;
	margin-bottom: 12px;
}

.site-footer__brand strong {
	font-size: 1.08rem;
	line-height: 1.15;
}

.site-footer p,
.site-footer__brand p {
	margin: 10px 0 0;
	color: rgba(255, 255, 255, .82);
	font-size: .92rem;
	line-height: 1.55;
}

.site-footer__button {
	display: none !important;
}

.site-footer h2 {
	margin: 0 0 .72rem;
	color: #f4df9a;
	font-size: .78rem;
	letter-spacing: .16em;
}

.site-footer__links a,
.site-footer__legal a,
.site-footer__contact a,
.site-footer__contact span {
	padding: .24rem 0;
	color: rgba(255, 255, 255, .86);
	font-size: .9rem;
	line-height: 1.32;
	font-weight: 760;
}

.site-footer__social {
	gap: .42rem;
	margin-top: .72rem;
}

.site-footer__social a {
	min-height: 32px;
	padding: .42rem .56rem;
	border-color: rgba(244, 223, 154, .3);
	background: rgba(255, 255, 255, .045);
	font-size: .76rem;
}

.site-footer__bottom {
	position: relative;
	width: min(1180px, calc(100% - 40px));
	margin: 24px auto 0;
	padding-top: 14px;
	color: rgba(255, 255, 255, .76);
	font-size: .84rem;
}

.back-to-top {
	width: 46px;
	height: 46px;
	right: 18px;
	bottom: 18px;
	background: linear-gradient(135deg, #fff3bd, #e3bb50);
}

@media (max-width: 1400px) {
	.site-header__inner {
		width: min(1280px, calc(100% - 32px));
	}

	.site-brand {
		flex-basis: 300px;
	}

	.site-brand__logo {
		width: 72px;
		height: 72px;
		flex-basis: 72px;
	}

	.site-brand__tagline {
		max-width: 210px;
		font-size: .82rem;
	}

	.primary-menu a {
		padding: .58rem .42rem;
		font-size: .76rem;
	}
}

@media (max-width: 1280px) {
	.site-header__cta {
		display: none !important;
	}
}

@media (max-width: 1120px) {
	.site-brand {
		flex-basis: auto;
	}

	.site-brand__tagline {
		display: none !important;
	}
}

@media (max-width: 980px) {
	.site-header__inner {
		min-height: 78px;
	}

	.site-brand__logo {
		width: 60px;
		height: 60px;
		flex-basis: 60px;
	}

	.primary-menu {
		background: rgba(5, 31, 52, .98);
	}
}

@media (max-width: 780px) {
	.site-footer {
		padding: 34px 0 18px !important;
	}

	.site-footer__inner {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.site-footer__bottom {
		margin-top: 20px;
	}
}

/* Korekcija loga i zadar linije: logo citljiviji, footer bez loga. */
.site-header::after {
	left: 20px;
	right: auto;
	bottom: 13px;
	width: min(560px, 34vw);
	height: 50px;
	opacity: .34;
	background-position: left bottom;
	background-size: contain;
}

.site-brand {
	flex-basis: clamp(330px, 24vw, 410px);
	gap: 16px;
}

.site-brand__logo {
	width: 92px !important;
	height: 92px !important;
	min-width: 92px;
	min-height: 92px;
	flex-basis: 92px !important;
	aspect-ratio: 1;
	display: grid;
	place-items: center;
	padding: 0;
	background: transparent;
	box-shadow: 0 0 0 1px rgba(244, 223, 154, .5), 0 18px 46px rgba(2, 14, 24, .42);
}

.site-brand__logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.site-brand__tagline {
	max-width: 250px;
	font-size: .92rem;
	line-height: 1.15;
}

.site-footer__brand {
	padding-top: .15rem;
}

.site-footer__brand strong {
	margin-bottom: .35rem;
	color: #fff;
	font-size: 1.22rem;
}

.site-footer__logo {
	display: none !important;
}

@media (max-width: 1400px) {
	.site-header::after {
		width: min(460px, 34vw);
		opacity: .3;
	}

	.site-brand {
		flex-basis: 330px;
	}

	.site-brand__logo {
		width: 84px !important;
		height: 84px !important;
		min-width: 84px;
		min-height: 84px;
		flex-basis: 84px !important;
	}

	.site-brand__tagline {
		max-width: 220px;
		font-size: .84rem;
	}
}

@media (max-width: 1120px) {
	.site-header::after {
		width: 380px;
		max-width: 58vw;
		opacity: .26;
	}

	.site-brand {
		flex-basis: auto;
	}

	.site-brand__logo {
		width: 76px !important;
		height: 76px !important;
		min-width: 76px;
		min-height: 76px;
		flex-basis: 76px !important;
	}
}

@media (max-width: 980px) {
	.site-header::after {
		display: block;
		width: 260px;
		opacity: .18;
	}

	.site-brand__logo {
		width: 62px !important;
		height: 62px !important;
		min-width: 62px;
		min-height: 62px;
		flex-basis: 62px !important;
	}
}

/* Header bez loseg logo medaljona: zadar linija + navigacija. */
.site-header::after {
	left: 28px;
	bottom: 16px;
	width: min(620px, 42vw);
	height: 58px;
	opacity: .42;
}

.site-header__inner {
	justify-content: flex-end;
	min-height: 86px;
}

.site-brand {
	display: none !important;
}

.site-navigation {
	margin-left: auto;
}

.primary-menu {
	position: relative;
	z-index: 2;
}

@media (max-width: 980px) {
	.site-header::after {
		left: 16px;
		width: min(280px, 70vw);
		height: 42px;
		opacity: .22;
	}

	.site-header__inner {
		min-height: 76px;
	}
}

/* Naslovnica: Gutenberg HTML blokovi za prodajnu prezentaciju. */
body.home,
body.front-page {
	background: #eef4f8;
}

body.home .site-main,
body.front-page .site-main {
	width: 100%;
	padding: 0;
}

body.home .page-shell,
body.front-page .page-shell {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

body.home .entry-content,
body.front-page .entry-content {
	font-size: 1rem;
	line-height: 1.6;
}

.ws-home {
	overflow: hidden;
	color: #0c2030;
	background: #eef4f8;
}

.ws-home a {
	text-decoration: none;
}

.ws-wrap {
	width: min(1180px, calc(100% - 36px));
	margin-inline: auto;
}

.ws-hero {
	position: relative;
	isolation: isolate;
	min-height: clamp(560px, calc(100vh - 86px), 720px);
	display: grid;
	align-items: center;
	padding: clamp(46px, 6vw, 82px) 0 clamp(28px, 4vw, 52px);
	color: #f8fbff;
	background:
		linear-gradient(135deg, rgba(3, 21, 37, .93), rgba(7, 49, 75, .88)),
		linear-gradient(115deg, #051b2d 0%, #0b3d5a 54%, #082235 100%);
}

.ws-hero::before {
	content: "";
	position: absolute;
	inset: auto 0 0;
	z-index: -1;
	height: 42%;
	background:
		linear-gradient(170deg, rgba(244, 223, 154, .16) 0 1px, transparent 1px 22px),
		linear-gradient(178deg, transparent 0%, rgba(0, 143, 181, .18) 48%, rgba(244, 223, 154, .18) 100%);
	opacity: .55;
}

.ws-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(360px, .72fr);
	gap: clamp(34px, 5vw, 72px);
	align-items: center;
}

.ws-eyebrow {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	margin: 0 0 18px;
	padding: 0 14px;
	border: 1px solid rgba(244, 223, 154, .35);
	border-radius: 999px;
	color: #f7d769;
	background: rgba(255, 255, 255, .06);
	font-size: .83rem;
	font-weight: 900;
	letter-spacing: 0;
	text-transform: uppercase;
}

.ws-hero h1,
.ws-section h2,
.ws-cta h2 {
	margin: 0;
	letter-spacing: 0;
}

.ws-hero h1 {
	max-width: 870px;
	font-size: clamp(2.65rem, 5.1vw, 5.35rem);
	line-height: .98;
	color: #fff;
}

.ws-hero__lead {
	max-width: 690px;
	margin: 20px 0 0;
	color: rgba(248, 251, 255, .86);
	font-size: clamp(1.04rem, 1.35vw, 1.18rem);
}

.ws-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

.ws-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: 999px;
	color: #061829;
	background: linear-gradient(135deg, #fff0ad, #d7ad35);
	font-weight: 900;
	box-shadow: 0 18px 42px rgba(215, 173, 53, .28);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ws-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 22px 48px rgba(215, 173, 53, .34);
}

.ws-button--ghost {
	color: #fff;
	background: rgba(255, 255, 255, .08);
	border-color: rgba(255, 255, 255, .22);
	box-shadow: none;
}

.ws-button--light {
	background: #fff;
	color: #072238;
	box-shadow: 0 16px 34px rgba(7, 34, 56, .16);
}

.ws-proof {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-top: 24px;
	max-width: 760px;
}

.ws-proof__item {
	min-height: 76px;
	padding: 14px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 8px;
	background: rgba(255, 255, 255, .07);
}

.ws-proof__item strong {
	display: block;
	color: #f7d769;
	font-size: 1.08rem;
}

.ws-proof__item span {
	display: block;
	margin-top: 4px;
	color: rgba(248, 251, 255, .75);
	font-size: .92rem;
}

.ws-hero__panel {
	position: relative;
	padding: 22px;
	border: 1px solid rgba(244, 223, 154, .22);
	border-radius: 8px;
	background: rgba(255, 255, 255, .08);
	box-shadow: 0 26px 60px rgba(0, 0, 0, .28);
}

.ws-hero__mini {
	display: grid;
	gap: 14px;
}

.ws-mini-card {
	padding: 18px;
	border-radius: 8px;
	background: rgba(255, 255, 255, .92);
	color: #092236;
}

.ws-mini-card strong {
	display: block;
	margin-bottom: 8px;
	font-size: 1rem;
}

.ws-mini-card p {
	margin: 0;
	color: #526173;
	font-size: .94rem;
}

.ws-section {
	padding: clamp(64px, 8vw, 104px) 0;
	background: #eef4f8;
}

.ws-section--white {
	background: #fff;
}

.ws-section--navy {
	color: #f8fbff;
	background:
		linear-gradient(135deg, rgba(5, 31, 52, .98), rgba(11, 66, 94, .96)),
		#051f34;
}

.ws-section__head {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(280px, .55fr);
	gap: clamp(22px, 5vw, 60px);
	align-items: end;
	margin-bottom: 34px;
}

.ws-section__head h2,
.ws-cta h2 {
	color: inherit;
	font-size: clamp(2rem, 4vw, 4rem);
	line-height: 1;
}

.ws-section__head p,
.ws-cta p {
	margin: 0;
	color: #5a6a7b;
	font-size: 1.05rem;
}

.ws-section--navy .ws-section__head p {
	color: rgba(248, 251, 255, .75);
}

.ws-grid {
	display: grid;
	gap: 18px;
}

.ws-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ws-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ws-card {
	border: 1px solid rgba(12, 32, 48, .1);
	border-radius: 8px;
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 18px 42px rgba(8, 28, 45, .08);
}

.ws-card__body {
	padding: 22px;
}

.ws-card h3 {
	margin: 0 0 10px;
	color: #092236;
	font-size: 1.15rem;
	line-height: 1.2;
	letter-spacing: 0;
}

.ws-card p {
	margin: 0;
	color: #566577;
}

.ws-card--example {
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.ws-browser {
	border-bottom: 1px solid rgba(12, 32, 48, .08);
	background: #dfe8ef;
}

.ws-browser__bar {
	display: flex;
	gap: 6px;
	align-items: center;
	height: 34px;
	padding: 0 12px;
	background: #eef3f6;
}

.ws-browser__bar span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #c6d2dc;
}

.ws-browser__screen {
	min-height: 182px;
	padding: 18px;
	color: #fff;
	background:
		linear-gradient(135deg, rgba(5, 31, 52, .72), rgba(5, 31, 52, .16)),
		linear-gradient(145deg, #0a314d, #1185a0);
}

.ws-browser__screen--gold {
	background:
		linear-gradient(135deg, rgba(5, 31, 52, .74), rgba(7, 34, 56, .18)),
		linear-gradient(145deg, #0b2238, #d7ad35);
}

.ws-browser__screen--teal {
	background:
		linear-gradient(135deg, rgba(5, 31, 52, .72), rgba(5, 31, 52, .12)),
		linear-gradient(145deg, #063448, #13a0a2);
}

.ws-browser__screen--deep {
	background:
		linear-gradient(135deg, rgba(5, 31, 52, .78), rgba(5, 31, 52, .2)),
		linear-gradient(145deg, #061829, #174a70);
}

.ws-browser__tag {
	display: inline-flex;
	padding: 6px 10px;
	border-radius: 999px;
	color: #061829;
	background: #f7d769;
	font-size: .76rem;
	font-weight: 900;
}

.ws-browser__screen strong {
	display: block;
	margin-top: 46px;
	font-size: 1.3rem;
	line-height: 1.1;
}

.ws-browser__screen small {
	display: block;
	width: 68%;
	height: 9px;
	margin-top: 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .62);
}

.ws-card__link {
	display: inline-flex;
	margin-top: 18px;
	color: #0b4e73;
	font-weight: 900;
}

.ws-section--navy .ws-card {
	border-color: rgba(255, 255, 255, .12);
	background: rgba(255, 255, 255, .08);
	box-shadow: none;
}

.ws-section--navy .ws-card h3 {
	color: #fff;
}

.ws-section--navy .ws-card p {
	color: rgba(248, 251, 255, .74);
}

.ws-icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	margin-bottom: 16px;
	border-radius: 8px;
	color: #061829;
	background: linear-gradient(135deg, #fff0ad, #d7ad35);
	font-weight: 900;
}

.ws-process {
	counter-reset: ws-step;
}

.ws-step {
	position: relative;
	padding-top: 54px;
}

.ws-step::before {
	counter-increment: ws-step;
	content: counter(ws-step, decimal-leading-zero);
	position: absolute;
	top: 20px;
	left: 22px;
	color: #d7ad35;
	font-size: .86rem;
	font-weight: 900;
}

.ws-cta {
	padding: clamp(64px, 8vw, 104px) 0;
	color: #fff;
	background:
		linear-gradient(135deg, rgba(3, 21, 37, .94), rgba(10, 65, 92, .9)),
		linear-gradient(145deg, #051b2d, #0b4e73);
}

.ws-cta__box {
	display: grid;
	grid-template-columns: minmax(0, .95fr) auto;
	gap: 28px;
	align-items: center;
	padding: clamp(26px, 5vw, 48px);
	border: 1px solid rgba(244, 223, 154, .24);
	border-radius: 8px;
	background: rgba(255, 255, 255, .08);
}

.ws-cta p {
	max-width: 720px;
	margin-top: 16px;
	color: rgba(248, 251, 255, .78);
}

@media (max-width: 1020px) {
	.ws-hero__grid,
	.ws-section__head,
	.ws-cta__box {
		grid-template-columns: 1fr;
	}

	.ws-hero {
		min-height: auto;
	}

	.ws-grid--4,
	.ws-grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-height: 950px) and (min-width: 681px) {
	.ws-hero {
		min-height: 0;
		padding-top: 38px;
		padding-bottom: 32px;
	}

	.ws-hero h1 {
		font-size: clamp(2.45rem, 4.4vw, 4.7rem);
		line-height: 1;
	}

	.ws-hero__lead {
		max-width: 640px;
		margin-top: 16px;
		font-size: 1.04rem;
	}

	.ws-actions {
		margin-top: 22px;
	}

	.ws-proof {
		display: none;
	}

	.ws-hero__panel {
		padding: 16px;
	}

	.ws-mini-card {
		padding: 14px;
	}

	.ws-mini-card p {
		font-size: .9rem;
	}
}

@media (max-width: 680px) {
	.ws-wrap {
		width: min(100% - 24px, 1180px);
	}

	.ws-hero {
		padding-top: 46px;
		padding-bottom: 34px;
	}

	.ws-hero h1 {
		font-size: clamp(2.05rem, 10vw, 3.2rem);
		line-height: 1.02;
	}

	.ws-hero__lead {
		font-size: 1rem;
	}

	.ws-hero__panel {
		display: none;
	}

	.ws-proof {
		display: none;
	}

	.ws-eyebrow {
		min-height: 30px;
		margin-bottom: 14px;
		font-size: .72rem;
	}

	.ws-proof__item {
		min-height: auto;
		padding: 11px 12px;
	}

	.ws-proof__item strong {
		font-size: .96rem;
	}

	.ws-proof__item span {
		font-size: .86rem;
	}

	.ws-grid--4,
	.ws-grid--3 {
		grid-template-columns: 1fr;
	}

	.ws-actions,
	.ws-button {
		width: 100%;
	}

	.ws-hero__panel {
		padding: 14px;
	}
}

/* Naslovnica v2: prodajni layout sa stvarnim screenshotovima primjera. */
body.home,
body.front-page {
	background: #f2f7fa;
}

body.home .site-main,
body.front-page .site-main,
body.home .page-shell,
body.front-page .page-shell {
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

body.home .entry-content,
body.front-page .entry-content {
	font-size: 1rem;
	line-height: 1.6;
}

.ws2-home,
.ws2-home * {
	letter-spacing: 0;
}

.ws2-home {
	color: #081a2a;
	background: #f2f7fa;
}

.ws2-home a {
	text-decoration: none;
}

.ws2-wrap {
	width: min(1180px, calc(100% - 36px));
	margin-inline: auto;
}

.ws2-kicker {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	margin: 0 0 18px;
	padding: 0 13px;
	border: 1px solid rgba(215, 173, 53, .55);
	border-radius: 999px;
	color: #f6d160;
	background: rgba(255, 255, 255, .08);
	font-size: .78rem;
	font-weight: 900;
	text-transform: uppercase;
}

.ws2-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(58px, 7vw, 98px) 0 clamp(42px, 6vw, 74px);
	color: #fff;
	background:
		linear-gradient(180deg, rgba(2, 16, 29, .18), rgba(2, 16, 29, 0) 36%),
		linear-gradient(130deg, #031626 0%, #06314c 48%, #0b5a75 100%);
}

.ws2-hero::before {
	content: "";
	position: absolute;
	inset: auto 0 0;
	z-index: -1;
	height: 38%;
	background:
		linear-gradient(174deg, rgba(244, 223, 154, .2) 0 1px, transparent 1px 28px),
		linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .06));
	opacity: .55;
}

.ws2-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, .92fr) minmax(460px, .82fr);
	gap: clamp(34px, 6vw, 76px);
	align-items: center;
}

.ws2-hero h1,
.ws2-section-head h2,
.ws2-trust h2,
.ws2-final h2 {
	margin: 0;
	color: inherit;
	font-weight: 950;
	line-height: .98;
	letter-spacing: 0;
}

.ws2-hero h1 {
	max-width: 760px;
	font-size: clamp(2.65rem, 5.6vw, 6.15rem);
}

.ws2-lead {
	max-width: 700px;
	margin: 22px 0 0;
	color: rgba(255, 255, 255, .84);
	font-size: clamp(1.05rem, 1.45vw, 1.28rem);
}

.ws2-lead--dark {
	color: #4c5e70;
}

.ws2-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.ws2-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-weight: 900;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ws2-btn:hover {
	transform: translateY(-2px);
}

.ws2-btn--gold {
	color: #061827;
	background: linear-gradient(135deg, #fff0ad, #d7ad35);
	box-shadow: 0 18px 42px rgba(215, 173, 53, .28);
}

.ws2-btn--outline {
	color: #fff;
	border-color: rgba(255, 255, 255, .26);
	background: rgba(255, 255, 255, .08);
}

.ws2-metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-top: 34px;
}

.ws2-metrics div {
	padding: 14px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 8px;
	background: rgba(255, 255, 255, .08);
}

.ws2-metrics strong,
.ws2-metrics span {
	display: block;
}

.ws2-metrics strong {
	color: #f7d769;
	font-size: .96rem;
}

.ws2-metrics span {
	margin-top: 5px;
	color: rgba(255, 255, 255, .74);
	font-size: .86rem;
}

.ws2-showcase {
	position: relative;
	min-height: 560px;
}

.ws2-device {
	overflow: hidden;
	margin: 0;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 8px;
	background: #0b2133;
	box-shadow: 0 26px 80px rgba(0, 0, 0, .34);
}

.ws2-device img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

.ws2-device--main {
	position: absolute;
	top: 38px;
	right: 0;
	width: min(590px, 100%);
	height: 390px;
}

.ws2-device--small {
	position: absolute;
	width: 280px;
	height: 182px;
}

.ws2-device--top {
	top: 0;
	left: 0;
	transform: rotate(-4deg);
}

.ws2-device--bottom {
	right: 26px;
	bottom: 20px;
	transform: rotate(3deg);
}

.ws2-work {
	overflow: hidden;
	padding: clamp(72px, 8vw, 110px) 0;
	background: #fff;
}

.ws2-section-head {
	max-width: 920px;
	margin-bottom: 36px;
}

.ws2-section-head--split {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(280px, .48fr);
	gap: clamp(24px, 5vw, 70px);
	max-width: none;
	align-items: end;
}

.ws2-section-head--center {
	margin-inline: auto;
	text-align: center;
}

.ws2-section-head h2,
.ws2-trust h2,
.ws2-final h2 {
	font-size: clamp(2rem, 4.2vw, 4.55rem);
}

.ws2-section-head p:not(.ws2-kicker),
.ws2-final p {
	margin: 0;
	color: #526477;
	font-size: 1.05rem;
}

.ws2-work .ws2-kicker,
.ws2-audience .ws2-kicker,
.ws2-process .ws2-kicker {
	color: #9a6d00;
	background: rgba(215, 173, 53, .12);
}

.ws2-slider {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(860px, 72vw);
	gap: 22px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 4px max(18px, calc((100vw - 1180px) / 2)) 10px;
	scrollbar-color: #d7ad35 #dfe8ef;
}

.ws2-slide {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 290px;
	gap: 22px;
	align-items: stretch;
	scroll-snap-align: center;
	padding: 18px;
	border: 1px solid rgba(8, 26, 42, .12);
	border-radius: 8px;
	background: #f4f8fb;
	box-shadow: 0 22px 58px rgba(8, 26, 42, .12);
}

.ws2-shot {
	position: relative;
	overflow: hidden;
	min-height: 430px;
	border-radius: 8px;
	background: #082033;
}

.ws2-shot::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}

.ws2-shot img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	transition: transform .45s ease;
}

.ws2-slide:hover .ws2-shot img {
	transform: scale(1.035);
}

.ws2-slide__copy {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 20px;
	border-radius: 8px;
	color: #fff;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0)),
		#062238;
}

.ws2-slide__copy span {
	width: max-content;
	margin-bottom: auto;
	padding: 7px 10px;
	border-radius: 999px;
	color: #061827;
	background: #f6d160;
	font-size: .76rem;
	font-weight: 900;
}

.ws2-slide__copy h3 {
	margin: 28px 0 10px;
	color: #fff;
	font-size: 1.55rem;
	line-height: 1.08;
}

.ws2-slide__copy p {
	margin: 0;
	color: rgba(255, 255, 255, .78);
}

.ws2-slide__copy a {
	display: inline-flex;
	width: max-content;
	margin-top: 22px;
	color: #f6d160;
	font-weight: 900;
}

.ws2-trust {
	padding: clamp(72px, 8vw, 112px) 0;
	color: #081a2a;
	background:
		linear-gradient(90deg, rgba(244, 223, 154, .16) 0 1px, transparent 1px 40px),
		linear-gradient(180deg, #eef6fa, #dfeef5);
}

.ws2-trust .ws2-kicker,
.ws2-final .ws2-kicker {
	color: #f6d160;
	background: rgba(255, 255, 255, .08);
}

.ws2-trust__grid {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(360px, .68fr);
	gap: clamp(30px, 6vw, 90px);
	align-items: center;
}

.ws2-question-list {
	display: grid;
	gap: 14px;
}

.ws2-question-list div {
	padding: 22px;
	border: 1px solid rgba(8, 26, 42, .1);
	border-radius: 8px;
	background: rgba(255, 255, 255, .86);
	box-shadow: 0 18px 42px rgba(8, 26, 42, .08);
}

.ws2-question-list strong,
.ws2-question-list span {
	display: block;
}

.ws2-question-list strong {
	color: #092238;
	font-size: 1.08rem;
}

.ws2-question-list span {
	margin-top: 7px;
	color: #526477;
}

.ws2-audience {
	padding: clamp(72px, 8vw, 112px) 0;
	background: #fff;
}

.ws2-audience-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.ws2-audience-item {
	min-height: 260px;
	padding: 24px;
	border: 1px solid rgba(8, 26, 42, .1);
	border-radius: 8px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .78)),
		linear-gradient(135deg, rgba(215, 173, 53, .12), rgba(19, 148, 160, .12));
	box-shadow: 0 18px 40px rgba(8, 26, 42, .08);
}

.ws2-audience-item span {
	display: inline-flex;
	margin-bottom: 28px;
	padding: 7px 10px;
	border-radius: 999px;
	color: #061827;
	background: #f6d160;
	font-size: .78rem;
	font-weight: 900;
}

.ws2-audience-item strong {
	display: block;
	color: #092238;
	font-size: 1.2rem;
	line-height: 1.15;
}

.ws2-audience-item p {
	margin: 14px 0 0;
	color: #526477;
}

.ws2-process {
	padding: clamp(72px, 8vw, 112px) 0;
	color: #fff;
	background:
		linear-gradient(160deg, rgba(5, 31, 52, .98), rgba(7, 67, 91, .94)),
		#061827;
}

.ws2-process-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.ws2-process-grid div {
	padding: 26px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 8px;
	background: rgba(255, 255, 255, .07);
}

.ws2-process-grid span {
	display: block;
	margin-bottom: 42px;
	color: #f6d160;
	font-size: .9rem;
	font-weight: 900;
}

.ws2-process-grid strong {
	display: block;
	color: #fff;
	font-size: 1.28rem;
}

.ws2-process-grid p {
	margin: 12px 0 0;
	color: rgba(255, 255, 255, .74);
}

.ws2-final {
	padding: clamp(64px, 8vw, 104px) 0;
	color: #fff;
	background:
		linear-gradient(135deg, rgba(3, 22, 38, .94), rgba(9, 83, 105, .88)),
		#031626;
}

.ws2-final__box {
	display: grid;
	grid-template-columns: minmax(0, .9fr) auto;
	gap: 30px;
	align-items: center;
	padding: clamp(28px, 5vw, 52px);
	border: 1px solid rgba(244, 223, 154, .24);
	border-radius: 8px;
	background: rgba(255, 255, 255, .08);
}

.ws2-final p {
	max-width: 720px;
	margin-top: 16px;
	color: rgba(255, 255, 255, .78);
}

@media (max-width: 1120px) {
	.ws2-hero__grid,
	.ws2-trust__grid,
	.ws2-final__box,
	.ws2-section-head--split {
		grid-template-columns: 1fr;
	}

	.ws2-showcase {
		min-height: 500px;
	}

	.ws2-device--main {
		left: 12%;
		right: auto;
	}

	.ws2-slider {
		grid-auto-columns: minmax(760px, 86vw);
	}

	.ws2-audience-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-height: 950px) and (min-width: 761px) {
	.ws2-hero {
		padding-top: 36px;
		padding-bottom: 32px;
	}

	.ws2-kicker {
		min-height: 30px;
		margin-bottom: 14px;
		font-size: .72rem;
	}

	.ws2-hero h1 {
		font-size: clamp(2.35rem, 4.45vw, 4.65rem);
		line-height: 1;
	}

	.ws2-lead {
		margin-top: 16px;
		font-size: 1.02rem;
	}

	.ws2-actions {
		margin-top: 22px;
	}

	.ws2-metrics {
		display: none;
	}

	.ws2-showcase {
		min-height: 405px;
	}

	.ws2-device--main {
		top: 30px;
		width: min(500px, 100%);
		height: 315px;
	}

	.ws2-device--small {
		width: 220px;
		height: 142px;
	}

	.ws2-device--bottom {
		right: 12px;
		bottom: 0;
	}
}

@media (max-width: 760px) {
	.ws2-wrap {
		width: min(100% - 24px, 1180px);
	}

	.ws2-hero {
		padding-top: 30px;
		padding-bottom: 28px;
	}

	.ws2-hero h1 {
		font-size: clamp(1.95rem, 8.8vw, 2.85rem);
		line-height: 1.02;
	}

	.ws2-lead {
		margin-top: 14px;
		font-size: .96rem;
	}

	.ws2-actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-top: 20px;
	}

	.ws2-btn {
		width: auto;
		min-height: 48px;
		padding: 0 10px;
		font-size: .88rem;
		line-height: 1.1;
		text-align: center;
	}

	.ws2-metrics {
		display: none;
	}

	.ws2-showcase {
		min-height: 215px;
		margin-top: 16px;
	}

	.ws2-device--main {
		position: relative;
		top: auto;
		left: auto;
		width: 100%;
		height: 200px;
	}

	.ws2-device--small {
		display: none;
	}

	.ws2-section-head h2,
	.ws2-trust h2,
	.ws2-final h2 {
		font-size: clamp(2rem, 10vw, 3.25rem);
		line-height: 1.04;
	}

	.ws2-slider {
		grid-auto-columns: minmax(330px, 88vw);
		gap: 14px;
		padding-inline: 12px;
	}

	.ws2-slide {
		grid-template-columns: 1fr;
		padding: 12px;
	}

	.ws2-shot {
		min-height: 250px;
	}

	.ws2-slide__copy {
		padding: 18px;
	}

	.ws2-audience-grid,
	.ws2-process-grid {
		grid-template-columns: 1fr;
	}
}

/* Naslovnica v3: prodajniji dizajn, carousel slideovi, SEO tekst i logo. */

body.home,
body.front-page {
	background: #f2f7fa;
}

body.home .site-main,
body.front-page .site-main,
body.home .page-shell,
body.front-page .page-shell {
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

body.home .entry-content,
body.front-page .entry-content {
	font-size: 1rem;
	line-height: 1.6;
}

.ws3-home,
.ws3-home * {
	letter-spacing: 0;
}

.ws3-home {
	color: #071a2a;
	background: #f2f7fa;
	overflow-x: hidden;
}

.ws3-home a {
	text-decoration: none;
}

.ws3-wrap {
	width: min(1180px, calc(100% - 36px));
	margin-inline: auto;
}

.ws3-kicker {
	display: inline-flex;
	align-items: center;
	width: max-content;
	max-width: 100%;
	min-height: 32px;
	margin: 0 0 18px;
	padding: 0 13px;
	border: 1px solid rgba(244, 223, 154, .42);
	border-radius: 999px;
	color: #f7d769;
	background: rgba(255, 255, 255, .08);
	font-size: .78rem;
	font-weight: 950;
	text-transform: uppercase;
}

.ws3-kicker--light {
	color: #9a6d00;
	border-color: rgba(215, 173, 53, .35);
	background: rgba(215, 173, 53, .11);
}

.ws3-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(50px, 6vw, 86px) 0 clamp(44px, 6vw, 82px);
	color: #fff;
	background:
		linear-gradient(135deg, rgba(3, 18, 32, .98), rgba(5, 54, 80, .9) 52%, rgba(7, 90, 105, .92)),
		#031626;
}

.ws3-hero::before {
	content: "";
	position: absolute;
	inset: auto 0 0;
	z-index: -1;
	height: 40%;
	background: linear-gradient(180deg, transparent, rgba(244, 223, 154, .08));
	pointer-events: none;
}

.ws3-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, .92fr) minmax(460px, .82fr);
	gap: clamp(34px, 6vw, 80px);
	align-items: center;
}

.ws3-hero__copy,
.ws3-hero__visual {
	min-width: 0;
}

.ws3-brandmark {
	display: block;
	width: 76px;
	height: 76px;
	margin-bottom: 18px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 14px 40px rgba(0, 0, 0, .28), 0 0 0 1px rgba(244, 223, 154, .42);
}

.ws3-hero h1,
.ws3-sell h2,
.ws3-section-head h2,
.ws3-seo h2,
.ws3-fit h2,
.ws3-final h2 {
	margin: 0;
	color: inherit;
	font-weight: 950;
	line-height: .98;
	letter-spacing: 0;
}

.ws3-hero h1 {
	max-width: 760px;
	font-size: clamp(2.7rem, 5vw, 5.7rem);
}

.ws3-lead {
	max-width: 700px;
	margin: 22px 0 0;
	color: rgba(255, 255, 255, .84);
	font-size: clamp(1.06rem, 1.42vw, 1.25rem);
}

.ws3-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.ws3-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-weight: 950;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ws3-btn:hover {
	transform: translateY(-2px);
}

.ws3-btn--gold {
	color: #061827;
	background: linear-gradient(135deg, #fff2b7, #d7ad35);
	box-shadow: 0 18px 42px rgba(215, 173, 53, .28);
}

.ws3-btn--ghost {
	color: #fff;
	border-color: rgba(255, 255, 255, .25);
	background: rgba(255, 255, 255, .08);
}

.ws3-trustline {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 28px;
}

.ws3-trustline span {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 12px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 999px;
	color: rgba(255, 255, 255, .84);
	background: rgba(255, 255, 255, .07);
	font-size: .9rem;
	font-weight: 850;
}

.ws3-hero__visual {
	position: relative;
	min-height: 560px;
}

.ws3-screen {
	overflow: hidden;
	margin: 0;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 8px;
	background: #071a2a;
	box-shadow: 0 26px 80px rgba(0, 0, 0, .36);
}

.ws3-screen img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

.ws3-screen--large {
	position: absolute;
	top: 36px;
	right: 0;
	width: min(600px, 100%);
	height: 410px;
}

.ws3-screen--float {
	position: absolute;
	width: 268px;
	height: 170px;
}

.ws3-screen--one {
	top: 0;
	left: 0;
	transform: rotate(-4deg);
}

.ws3-screen--two {
	right: 26px;
	bottom: 10px;
	transform: rotate(3deg);
}

.ws3-sell {
	padding: clamp(70px, 8vw, 112px) 0;
	background: #fff;
}

.ws3-sell__grid,
.ws3-fit__grid {
	display: grid;
	grid-template-columns: minmax(0, .82fr) minmax(360px, .72fr);
	gap: clamp(28px, 6vw, 90px);
	align-items: center;
}

.ws3-sell h2,
.ws3-fit h2 {
	font-size: clamp(2.15rem, 4.2vw, 4.45rem);
}

.ws3-copy-block {
	padding: clamp(24px, 4vw, 38px);
	border: 1px solid rgba(8, 26, 42, .1);
	border-radius: 8px;
	background:
		linear-gradient(135deg, rgba(215, 173, 53, .12), rgba(18, 139, 162, .08)),
		#f8fbfd;
	box-shadow: 0 20px 54px rgba(8, 26, 42, .08);
}

.ws3-copy-block p {
	margin: 0;
	color: #526477;
	font-size: 1.05rem;
}

.ws3-copy-block p + p {
	margin-top: 16px;
}

.ws3-examples {
	overflow: hidden;
	padding: clamp(74px, 8vw, 118px) 0;
	color: #fff;
	background:
		linear-gradient(150deg, rgba(3, 22, 38, .98), rgba(8, 66, 89, .95)),
		#031626;
}

.ws3-section-head {
	max-width: 920px;
	margin-bottom: 34px;
}

.ws3-section-head--center {
	margin-inline: auto;
	text-align: center;
}

.ws3-section-head h2,
.ws3-seo h2,
.ws3-final h2 {
	font-size: clamp(2.05rem, 4.2vw, 4.35rem);
}

.ws3-section-head p:not(.ws3-kicker) {
	max-width: 780px;
	margin: 16px 0 0;
	color: rgba(255, 255, 255, .72);
	font-size: 1.05rem;
}

.ws3-carousel {
	position: relative;
}

.ws3-carousel__radio {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ws3-carousel__viewport {
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 8px;
	background: rgba(255, 255, 255, .07);
	box-shadow: 0 28px 80px rgba(0, 0, 0, .32);
}

.ws3-carousel__track {
	display: flex;
	transition: transform .45s ease;
}

.ws3-case {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, .38fr);
	gap: 22px;
	flex: 0 0 100%;
	padding: 18px;
}

#ws3-work-mini:checked ~ .ws3-carousel__viewport .ws3-carousel__track {
	transform: translateX(0);
}

#ws3-work-start:checked ~ .ws3-carousel__viewport .ws3-carousel__track {
	transform: translateX(-100%);
}

#ws3-work-pro:checked ~ .ws3-carousel__viewport .ws3-carousel__track {
	transform: translateX(-200%);
}

#ws3-work-premium:checked ~ .ws3-carousel__viewport .ws3-carousel__track {
	transform: translateX(-300%);
}

.ws3-case__image {
	overflow: hidden;
	min-height: 500px;
	border-radius: 8px;
	background: #071a2a;
}

.ws3-case__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	transition: transform .45s ease;
}

.ws3-case:hover .ws3-case__image img {
	transform: scale(1.035);
}

.ws3-case__copy {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: clamp(22px, 4vw, 36px);
	border-radius: 8px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .08), transparent),
		#061827;
}

.ws3-case__copy span {
	width: max-content;
	margin-bottom: auto;
	padding: 7px 10px;
	border-radius: 999px;
	color: #061827;
	background: #f7d769;
	font-size: .76rem;
	font-weight: 950;
}

.ws3-case__copy h3 {
	margin: 34px 0 12px;
	color: #fff;
	font-size: clamp(1.7rem, 2.4vw, 2.45rem);
	line-height: 1.02;
}

.ws3-case__copy p {
	margin: 0;
	color: rgba(255, 255, 255, .76);
}

.ws3-case__copy a {
	display: inline-flex;
	width: max-content;
	margin-top: 24px;
	color: #f7d769;
	font-weight: 950;
}

.ws3-carousel__controls {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.ws3-carousel__controls label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	min-height: 42px;
	padding: 0 16px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 999px;
	color: #fff;
	background: rgba(255, 255, 255, .07);
	font-weight: 950;
	cursor: pointer;
}

#ws3-work-mini:checked ~ .ws3-carousel__controls label:nth-child(1),
#ws3-work-start:checked ~ .ws3-carousel__controls label:nth-child(2),
#ws3-work-pro:checked ~ .ws3-carousel__controls label:nth-child(3),
#ws3-work-premium:checked ~ .ws3-carousel__controls label:nth-child(4) {
	color: #061827;
	border-color: transparent;
	background: linear-gradient(135deg, #fff2b7, #d7ad35);
}

.ws3-carousel.is-autoplaying #ws3-work-mini:checked ~ .ws3-carousel__controls label:nth-child(1)::after,
.ws3-carousel.is-autoplaying #ws3-work-start:checked ~ .ws3-carousel__controls label:nth-child(2)::after,
.ws3-carousel.is-autoplaying #ws3-work-pro:checked ~ .ws3-carousel__controls label:nth-child(3)::after,
.ws3-carousel.is-autoplaying #ws3-work-premium:checked ~ .ws3-carousel__controls label:nth-child(4)::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 3px;
	background: rgba(6, 24, 39, .42);
	transform-origin: left center;
	animation: ws3-carousel-timer 5.6s linear forwards;
}

@keyframes ws3-carousel-timer {
	from {
		transform: scaleX(0);
	}

	to {
		transform: scaleX(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ws3-carousel__track {
		transition: none;
	}

	.ws3-carousel__controls label::after {
		animation: none !important;
	}
}

.ws3-seo {
	padding: clamp(74px, 8vw, 116px) 0;
	background: #f2f7fa;
}

.ws3-seo .ws3-kicker,
.ws3-final .ws3-kicker {
	color: #9a6d00;
	background: rgba(215, 173, 53, .12);
}

.ws3-seo .ws3-section-head p {
	color: #526477;
}

.ws3-feature-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-top: 34px;
}

.ws3-feature-grid div,
.ws3-fit-list div {
	padding: 24px;
	border: 1px solid rgba(8, 26, 42, .1);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 18px 42px rgba(8, 26, 42, .07);
}

.ws3-feature-grid strong,
.ws3-fit-list strong {
	display: block;
	color: #092238;
	font-size: 1.12rem;
	line-height: 1.18;
}

.ws3-feature-grid p,
.ws3-fit-list p {
	margin: 12px 0 0;
	color: #526477;
}

.ws3-fit {
	padding: clamp(74px, 8vw, 112px) 0;
	background: #fff;
}

.ws3-fit-list {
	display: grid;
	gap: 14px;
}

.ws3-final {
	padding: clamp(64px, 8vw, 104px) 0;
	color: #fff;
	background:
		linear-gradient(135deg, rgba(3, 22, 38, .94), rgba(9, 83, 105, .9)),
		#031626;
}

.ws3-final__box {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr) auto;
	gap: clamp(20px, 4vw, 34px);
	align-items: center;
	padding: clamp(26px, 5vw, 48px);
	border: 1px solid rgba(244, 223, 154, .24);
	border-radius: 8px;
	background: rgba(255, 255, 255, .08);
}

.ws3-final__logo {
	width: 92px;
	height: 92px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 12px 32px rgba(0, 0, 0, .25);
}

.ws3-final p {
	max-width: 740px;
	margin: 14px 0 0;
	color: rgba(255, 255, 255, .76);
}

@media (max-height: 950px) and (min-width: 761px) {
	.ws3-hero {
		padding-top: 36px;
		padding-bottom: 34px;
	}

	.ws3-brandmark {
		width: 58px;
		height: 58px;
		margin-bottom: 12px;
	}

	.ws3-kicker {
		min-height: 30px;
		margin-bottom: 14px;
		font-size: .72rem;
	}

	.ws3-hero h1 {
		font-size: clamp(2.35rem, 4.35vw, 4.6rem);
		line-height: 1;
	}

	.ws3-lead {
		margin-top: 16px;
		font-size: 1.02rem;
	}

	.ws3-actions {
		margin-top: 22px;
	}

	.ws3-trustline {
		display: none;
	}

	.ws3-hero__visual {
		min-height: 405px;
	}

	.ws3-screen--large {
		top: 30px;
		width: min(500px, 100%);
		height: 315px;
	}

	.ws3-screen--float {
		width: 220px;
		height: 142px;
	}

	.ws3-screen--two {
		right: 12px;
		bottom: 0;
	}
}

@media (max-width: 1120px) {
	.ws3-hero__grid,
	.ws3-sell__grid,
	.ws3-fit__grid,
	.ws3-final__box {
		grid-template-columns: 1fr;
	}

	.ws3-feature-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.ws3-wrap {
		width: calc(100% - 44px);
	}

	.ws3-hero {
		padding-top: 28px;
		padding-bottom: 30px;
	}

	.ws3-brandmark {
		width: 54px;
		height: 54px;
		margin-bottom: 10px;
	}

	.ws3-kicker {
		width: 100%;
		min-height: 28px;
		margin-bottom: 12px;
		padding: 7px 10px;
		font-size: .68rem;
		line-height: 1.15;
		text-align: center;
		justify-content: center;
		white-space: normal;
	}

	.ws3-hero h1,
	.ws3-section-head h2,
	.ws3-sell h2,
	.ws3-seo h2,
	.ws3-fit h2,
	.ws3-final h2 {
		font-size: clamp(1.55rem, 7.2vw, 2.25rem);
		line-height: 1.03;
		overflow-wrap: break-word;
	}

	.ws3-lead {
		margin-top: 14px;
		font-size: .98rem;
	}

	.ws3-actions {
		display: grid;
		grid-template-columns: 1fr;
		gap: 10px;
		margin-top: 20px;
	}

	.ws3-btn {
		width: 100%;
		min-height: 48px;
		padding: 0 10px;
		font-size: .94rem;
		line-height: 1.12;
		text-align: center;
	}

	.ws3-trustline {
		display: none;
	}

	.ws3-hero__visual {
		min-height: 215px;
		margin-top: 18px;
	}

	.ws3-screen--large {
		position: relative;
		top: auto;
		right: auto;
		width: 100%;
		height: 205px;
	}

	.ws3-screen--float {
		display: none;
	}

	.ws3-sell,
	.ws3-examples,
	.ws3-seo,
	.ws3-fit {
		padding: 56px 0;
	}

	.ws3-case {
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 12px;
	}

	.ws3-case__image {
		min-height: 255px;
	}

	.ws3-case__copy {
		padding: 18px;
	}

	.ws3-carousel__controls {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ws3-carousel__controls label {
		min-height: 40px;
		padding: 0 10px;
		font-size: .82rem;
	}

	.ws3-feature-grid {
		grid-template-columns: 1fr;
	}

	.ws3-final__logo {
		width: 72px;
		height: 72px;
	}
}

@media (max-width: 760px) {
	html,
	body {
		overflow-x: hidden;
	}

	.ws3-wrap,
	.ws3-hero__grid,
	.ws3-hero__copy,
	.ws3-hero__visual {
		width: min(346px, calc(100vw - 44px)) !important;
		max-width: min(346px, calc(100vw - 44px)) !important;
		min-width: 0 !important;
	}

	.ws3-wrap {
		margin-left: 22px !important;
		margin-right: 22px !important;
	}

	.ws3-hero h1,
	.ws3-hero p,
	.ws3-kicker,
	.ws3-btn {
		max-width: 100% !important;
		white-space: normal;
		overflow-wrap: anywhere;
	}
}

/* Header korekcija: zadar silueta bez donje crte. */
.site-header {
	border-bottom: 0 !important;
	box-shadow: none !important;
}

.site-header::after {
	display: block !important;
	content: "";
	position: absolute;
	left: max(22px, calc((100vw - 1320px) / 2));
	right: auto;
	bottom: 12px;
	width: min(430px, 32vw);
	height: 54px;
	background: url("assets/images/zadar-line.svg") left bottom / contain no-repeat;
	opacity: .34;
	pointer-events: none;
	z-index: 0;
}

.site-header__inner {
	position: relative;
	z-index: 2;
}

@media (max-width: 980px) {
	.site-header::after {
		left: 16px;
		width: min(280px, 64vw);
		height: 42px;
		opacity: .22;
	}
}

/* Naslovnica v4: prodajni koncept s jasnom ponudom i manjom galerijom. */
.ws4-home {
	--ws4-navy: #06243a;
	--ws4-navy-2: #0a3450;
	--ws4-sea: #0d7888;
	--ws4-teal: #14a0a7;
	--ws4-gold: #d7ad35;
	--ws4-gold-soft: #ffe68d;
	--ws4-ink: #082238;
	--ws4-muted: #526477;
	--ws4-paper: #f6fbfb;
	--ws4-line: rgba(8, 34, 56, .12);
	box-sizing: border-box;
	color: var(--ws4-ink);
	font-size: 1rem;
	line-height: 1.55;
}

.ws4-home *,
.ws4-home *::before,
.ws4-home *::after {
	box-sizing: border-box;
}

.ws4-wrap {
	width: min(1180px, calc(100% - 44px));
	margin-inline: auto;
}

.ws4-eyebrow {
	display: inline-flex;
	align-items: center;
	width: max-content;
	max-width: 100%;
	min-height: 34px;
	margin: 0 0 18px;
	padding: 7px 12px;
	border: 1px solid rgba(215, 173, 53, .42);
	border-radius: 999px;
	color: #9a6d00;
	background: rgba(255, 230, 141, .3);
	font-size: .78rem;
	font-weight: 950;
	line-height: 1.15;
	text-transform: uppercase;
}

.ws4-home h1,
.ws4-home h2,
.ws4-home h3 {
	margin: 0;
	color: inherit;
	font-weight: 950;
	letter-spacing: 0;
}

.ws4-home h1 {
	max-width: 780px;
	font-size: clamp(2.65rem, 5.1vw, 5.65rem);
	line-height: .97;
}

.ws4-home h2 {
	font-size: clamp(2rem, 3.4vw, 4rem);
	line-height: 1.02;
}

.ws4-home h3 {
	font-size: clamp(1.18rem, 1.45vw, 1.55rem);
	line-height: 1.16;
}

.ws4-home p {
	margin: 0;
}

.ws4-lead {
	max-width: 650px;
	margin-top: 22px !important;
	color: #29455a;
	font-size: clamp(1.04rem, 1.4vw, 1.24rem);
}

.ws4-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(58px, 7vw, 108px) 0 clamp(50px, 6vw, 88px);
	background:
		linear-gradient(135deg, #f8fcfc 0%, #e5f3f2 44%, #fff7df 100%);
}

.ws4-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		linear-gradient(90deg, rgba(6, 36, 58, .055) 1px, transparent 1px),
		linear-gradient(180deg, rgba(6, 36, 58, .045) 1px, transparent 1px);
	background-size: 92px 92px;
	opacity: .7;
}

.ws4-hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, .95fr) minmax(420px, .82fr);
	gap: clamp(38px, 6vw, 82px);
	align-items: center;
}

.ws4-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.ws4-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 0 24px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-weight: 950;
	line-height: 1.1;
	text-align: center;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ws4-btn:hover,
.ws4-btn:focus {
	transform: translateY(-2px);
	text-decoration: none;
}

.ws4-btn--gold {
	color: #061827;
	background: linear-gradient(135deg, #fff2b7, var(--ws4-gold));
	box-shadow: 0 18px 38px rgba(215, 173, 53, .26);
}

.ws4-btn--outline {
	color: var(--ws4-navy);
	border-color: rgba(6, 36, 58, .18);
	background: rgba(255, 255, 255, .72);
}

.ws4-quick {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	max-width: 720px;
	margin-top: 34px;
}

.ws4-quick span {
	min-height: 58px;
	padding: 13px 14px;
	border-left: 3px solid var(--ws4-gold);
	background: rgba(255, 255, 255, .7);
	box-shadow: 0 14px 32px rgba(8, 34, 56, .08);
	font-size: .9rem;
	font-weight: 900;
}

.ws4-hero__visual {
	position: relative;
	min-height: 500px;
}

.ws4-hero__visual::before {
	content: "";
	position: absolute;
	inset: 54px 0 34px 44px;
	border-radius: 8px;
	background:
		linear-gradient(135deg, rgba(6, 36, 58, .98), rgba(13, 120, 136, .94));
	box-shadow: 0 32px 80px rgba(6, 36, 58, .22);
	transform: rotate(-1.4deg);
}

.ws4-brandmark {
	position: absolute;
	z-index: 4;
	top: 20px;
	left: 12px;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 18px 48px rgba(6, 36, 58, .28);
}

.ws4-showcase {
	position: absolute;
	z-index: 2;
	margin: 0;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 8px;
	background: #082238;
	box-shadow: 0 30px 70px rgba(6, 36, 58, .25);
}

.ws4-showcase img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ws4-showcase--main {
	top: 82px;
	right: 0;
	width: min(560px, 96%);
	height: 350px;
}

.ws4-showcase--small {
	left: 0;
	bottom: 42px;
	width: 270px;
	height: 174px;
}

.ws4-visual-note {
	position: absolute;
	z-index: 3;
	right: 22px;
	bottom: 8px;
	width: min(285px, 70%);
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, .24);
	border-radius: 8px;
	color: #fff;
	background: rgba(6, 36, 58, .92);
	box-shadow: 0 22px 50px rgba(6, 36, 58, .24);
}

.ws4-visual-note strong,
.ws4-visual-note span {
	display: block;
}

.ws4-visual-note span {
	margin-top: 5px;
	color: rgba(255, 255, 255, .76);
	font-size: .92rem;
}

.ws4-services,
.ws4-packages {
	padding: clamp(70px, 8vw, 118px) 0;
	background: #fff;
}

.ws4-section-head {
	max-width: 820px;
	margin-bottom: 34px;
}

.ws4-section-head p:not(.ws4-eyebrow) {
	max-width: 710px;
	margin-top: 14px;
	color: rgba(255, 255, 255, .72);
	font-size: 1.05rem;
}

.ws4-section-head--split {
	display: grid;
	grid-template-columns: minmax(210px, .34fr) minmax(0, .66fr);
	gap: clamp(24px, 5vw, 64px);
	align-items: start;
	max-width: none;
}

.ws4-section-head--center {
	margin-inline: auto;
	text-align: center;
}

.ws4-section-head--center .ws4-eyebrow {
	margin-inline: auto;
}

.ws4-service-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.ws4-service,
.ws4-package {
	position: relative;
	min-height: 210px;
	padding: 26px;
	border: 1px solid var(--ws4-line);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 18px 46px rgba(8, 34, 56, .08);
}

.ws4-service::before,
.ws4-package::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 5px;
	border-radius: 8px 0 0 8px;
	background: linear-gradient(180deg, var(--ws4-gold), var(--ws4-teal));
}

.ws4-service span,
.ws4-package span {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	margin-bottom: 22px;
	padding: 5px 9px;
	border-radius: 999px;
	color: #06243a;
	background: linear-gradient(135deg, #fff2b7, #d7ad35);
	font-size: .74rem;
	font-weight: 950;
}

.ws4-service p,
.ws4-package p {
	margin-top: 12px;
	color: var(--ws4-muted);
}

.ws4-gallery {
	padding: clamp(48px, 5.5vw, 72px) 0;
	color: #fff;
	background:
		linear-gradient(135deg, #06243a 0%, #0a4860 48%, #0f7e8a 100%);
}

.ws4-gallery .ws4-eyebrow {
	color: #ffe68d;
	background: rgba(255, 230, 141, .12);
}

.ws4-gallery h2 {
	color: #fff;
}

.ws4-gallery .ws4-section-head {
	max-width: 760px;
	margin-bottom: 24px;
}

.ws4-gallery .ws4-section-head p:not(.ws4-eyebrow) {
	max-width: 620px;
	margin-top: 10px;
}

.ws4-carousel {
	max-width: 980px;
	margin-inline: auto;
}

.ws4-gallery .ws3-carousel__viewport {
	border-color: rgba(255, 255, 255, .18);
	background: rgba(255, 255, 255, .08);
	box-shadow: 0 28px 70px rgba(0, 0, 0, .2);
}

.ws4-gallery .ws3-case {
	grid-template-columns: minmax(0, .6fr) minmax(260px, .4fr);
	gap: 12px;
	padding: 10px;
}

.ws4-gallery .ws3-case__image {
	min-height: 0;
	height: 300px;
}

.ws4-gallery .ws3-case__copy {
	min-height: 0;
	height: 300px;
	padding: 22px;
	border-radius: 8px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .05));
}

.ws4-gallery .ws3-case__copy h3 {
	margin-top: 24px;
}

.ws4-gallery .ws3-case__copy a {
	color: #ffe68d;
}

.ws4-gallery .ws3-carousel__controls {
	justify-content: center;
	margin-top: 16px;
}

.ws4-responsive {
	padding: clamp(70px, 8vw, 118px) 0;
	background:
		linear-gradient(180deg, #f6fbfb 0%, #e8f4f2 100%);
}

.ws4-responsive__grid {
	display: grid;
	grid-template-columns: minmax(0, .96fr) minmax(360px, .74fr);
	gap: clamp(38px, 6vw, 82px);
	align-items: center;
}

.ws4-device-board {
	position: relative;
	min-height: 460px;
	border-radius: 8px;
	background:
		linear-gradient(135deg, #06243a, #0d7888);
	box-shadow: 0 28px 70px rgba(6, 36, 58, .18);
}

.ws4-device {
	position: absolute;
	overflow: hidden;
	border: 9px solid #fff;
	background: #082238;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .24);
}

.ws4-device img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ws4-device--desktop {
	top: 54px;
	left: 38px;
	right: 48px;
	height: 300px;
	border-radius: 8px;
}

.ws4-device--phone {
	right: 28px;
	bottom: 28px;
	width: 150px;
	height: 250px;
	border-radius: 26px;
}

.ws4-responsive__copy {
	min-width: 0;
}

.ws4-checklist {
	display: grid;
	gap: 12px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
}

.ws4-checklist li {
	position: relative;
	padding: 16px 18px 16px 46px;
	border: 1px solid var(--ws4-line);
	border-radius: 8px;
	background: rgba(255, 255, 255, .78);
	box-shadow: 0 14px 32px rgba(8, 34, 56, .07);
	color: #29455a;
	font-weight: 800;
}

.ws4-checklist li::before {
	content: "";
	position: absolute;
	left: 18px;
	top: 20px;
	width: 12px;
	height: 7px;
	border-left: 3px solid var(--ws4-teal);
	border-bottom: 3px solid var(--ws4-teal);
	transform: rotate(-45deg);
}

.ws4-text-link,
.ws4-package a,
.ws4-contact {
	display: inline-flex;
	width: max-content;
	max-width: 100%;
	margin-top: 24px;
	color: #956700;
	font-weight: 950;
	text-decoration: none;
}

.ws4-text-link:hover,
.ws4-package a:hover,
.ws4-contact:hover {
	color: var(--ws4-sea);
	text-decoration: none;
}

.ws4-package-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.ws4-package {
	display: flex;
	flex-direction: column;
}

.ws4-package a {
	margin-top: auto;
	padding-top: 22px;
}

.ws4-package--premium {
	color: #fff;
	border-color: rgba(255, 255, 255, .2);
	background:
		linear-gradient(135deg, #06243a, #0a4860);
}

.ws4-package--premium h3,
.ws4-package--premium p {
	color: inherit;
}

.ws4-package--premium p {
	color: rgba(255, 255, 255, .76);
}

.ws4-package--premium a {
	color: #ffe68d;
}

.ws4-delivery {
	padding: clamp(66px, 7vw, 96px) 0;
	color: #fff;
	background: #06243a;
}

.ws4-delivery .ws4-eyebrow,
.ws4-final .ws4-eyebrow {
	color: #ffe68d;
	background: rgba(255, 230, 141, .12);
}

.ws4-delivery h2,
.ws4-final h2 {
	color: #fff;
}

.ws4-delivery__grid {
	display: grid;
	grid-template-columns: minmax(0, .42fr) minmax(0, .58fr);
	gap: clamp(28px, 5vw, 64px);
	align-items: start;
}

.ws4-steps {
	display: grid;
	gap: 14px;
}

.ws4-steps div {
	padding: 22px 24px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 8px;
	background: rgba(255, 255, 255, .07);
}

.ws4-steps strong,
.ws4-steps span {
	display: block;
}

.ws4-steps span {
	margin-top: 7px;
	color: rgba(255, 255, 255, .72);
}

.ws4-final {
	padding: clamp(70px, 8vw, 112px) 0;
	color: #fff;
	background:
		linear-gradient(135deg, rgba(6, 36, 58, .96), rgba(13, 120, 136, .9)),
		#06243a;
}

.ws4-final__grid {
	display: grid;
	grid-template-columns: minmax(0, .68fr) minmax(260px, .32fr);
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
}

.ws4-final p:not(.ws4-eyebrow) {
	max-width: 760px;
	margin-top: 18px;
	color: rgba(255, 255, 255, .76);
	font-size: 1.08rem;
}

.ws4-final__actions {
	display: grid;
	justify-items: start;
	gap: 8px;
}

.ws4-final__actions .ws4-btn {
	margin-bottom: 10px;
}

.ws4-contact {
	margin-top: 0;
	color: #fff;
}

@media (max-height: 950px) and (min-width: 981px) {
	.ws4-hero {
		padding-top: 50px;
		padding-bottom: 52px;
	}

	.ws4-home h1 {
		font-size: clamp(2.55rem, 4.35vw, 4.9rem);
	}

	.ws4-hero__visual {
		min-height: 430px;
	}

	.ws4-showcase--main {
		height: 305px;
	}
}

@media (max-width: 1120px) {
	.ws4-hero__grid,
	.ws4-responsive__grid,
	.ws4-delivery__grid,
	.ws4-final__grid,
	.ws4-section-head--split {
		grid-template-columns: 1fr;
	}

	.ws4-package-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ws4-service-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	html,
	body {
		overflow-x: hidden;
	}

	.ws4-wrap {
		width: calc(100vw - 44px) !important;
		max-width: 346px !important;
		margin-left: 22px !important;
		margin-right: 22px !important;
	}

	.ws4-home,
	.ws4-hero__grid,
	.ws4-hero__copy,
	.ws4-hero__visual {
		min-width: 0 !important;
		max-width: 100vw !important;
		overflow-x: hidden;
	}

	.ws4-home {
		width: 100vw !important;
	}

	.ws4-home h1 {
		width: calc(100vw - 44px) !important;
		max-width: 346px !important;
		font-size: clamp(1.78rem, 7.8vw, 2.12rem);
		line-height: 1.02;
		overflow-wrap: break-word;
	}

	.ws4-home h2 {
		max-width: 100%;
		font-size: clamp(1.75rem, 8vw, 2.35rem);
		overflow-wrap: break-word;
	}

	.ws4-home p,
	.ws4-home li,
	.ws4-home a,
	.ws4-home span,
	.ws4-lead {
		max-width: 346px;
		overflow-wrap: break-word;
	}

	.ws4-hero__copy,
	.ws4-lead,
	.ws4-actions,
	.ws4-quick,
	.ws4-eyebrow {
		width: calc(100vw - 44px) !important;
		max-width: 346px !important;
	}

	.ws4-eyebrow {
		width: 100%;
		justify-content: center;
		text-align: center;
		white-space: normal;
	}

	.ws4-hero {
		padding: 34px 0 46px;
	}

	.ws4-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.ws4-btn {
		width: 100%;
		min-height: 50px;
		padding-inline: 14px;
	}

	.ws4-quick {
		width: 100%;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.ws4-quick span {
		min-width: 0;
		min-height: 52px;
		padding: 11px 12px;
		font-size: .82rem;
	}

	.ws4-hero__visual {
		min-height: 325px;
	}

	.ws4-hero__visual::before {
		inset: 44px 0 22px 18px;
	}

	.ws4-brandmark {
		width: 62px;
		height: 62px;
	}

	.ws4-showcase--main {
		top: 70px;
		width: 100%;
		height: 210px;
	}

	.ws4-showcase--small,
	.ws4-visual-note {
		display: none;
	}

	.ws4-services,
	.ws4-gallery,
	.ws4-responsive,
	.ws4-packages,
	.ws4-delivery,
	.ws4-final {
		padding: 54px 0;
	}

	.ws4-service-grid,
	.ws4-package-grid {
		grid-template-columns: 1fr;
	}

	.ws4-service,
	.ws4-package {
		min-height: auto;
		padding: 22px;
	}

	.ws4-gallery .ws3-case {
		grid-template-columns: 1fr;
		gap: 10px;
		padding: 10px;
	}

	.ws4-gallery .ws3-case__image {
		min-height: 210px;
		height: 210px;
	}

	.ws4-gallery .ws3-case__copy {
		min-height: auto;
		height: auto;
		padding: 18px;
	}

	.ws4-gallery .ws3-case__copy h3 {
		margin-top: 18px;
	}

	.ws4-device-board {
		min-height: 330px;
	}

	.ws4-device--desktop {
		top: 32px;
		left: 18px;
		right: 18px;
		height: 205px;
	}

	.ws4-device--phone {
		right: 20px;
		bottom: 18px;
		width: 105px;
		height: 174px;
		border-width: 6px;
		border-radius: 20px;
	}
}

/* Naslovnica v4: 3D hero kartice. */
.ws4-hero__visual {
	isolation: isolate;
	min-height: 540px;
	perspective: 1200px;
	overflow: visible;
}

.ws4-hero__visual::before {
	inset: 52px 10px 38px 64px;
	border: 1px solid rgba(255, 229, 143, .24);
	border-radius: 16px;
	background:
		radial-gradient(circle at 18% 18%, rgba(255, 230, 141, .24), transparent 30%),
		linear-gradient(135deg, rgba(4, 31, 51, .98), rgba(9, 89, 109, .95) 58%, rgba(6, 36, 58, .98));
	box-shadow:
		0 40px 90px rgba(6, 36, 58, .25),
		0 18px 48px rgba(13, 120, 136, .18),
		inset 0 1px 0 rgba(255, 255, 255, .16);
	transform: rotateX(5deg) rotateY(-10deg) rotateZ(-1.2deg);
	transform-style: preserve-3d;
}

.ws4-hero__visual::after {
	content: "";
	position: absolute;
	z-index: 0;
	right: 4%;
	bottom: 4px;
	width: 70%;
	height: 120px;
	border-radius: 50%;
	background: radial-gradient(ellipse, rgba(6, 36, 58, .26), transparent 68%);
	filter: blur(8px);
	pointer-events: none;
}

.ws4-brandmark {
	top: 30px;
	left: 24px;
	width: 118px;
	height: 118px;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow:
		0 24px 48px rgba(6, 24, 39, .32),
		0 0 28px rgba(215, 173, 53, .18);
	filter:
		drop-shadow(0 5px 10px rgba(2, 8, 19, .28))
		drop-shadow(0 0 10px rgba(215, 173, 53, .18));
	object-fit: contain;
}

.ws4-showcase {
	overflow: hidden;
	border-color: rgba(255, 230, 141, .2);
	border-radius: 14px;
	background:
		linear-gradient(135deg, rgba(255, 230, 141, .12), transparent 28%),
		#061827;
	box-shadow:
		0 34px 80px rgba(6, 36, 58, .27),
		0 14px 34px rgba(6, 36, 58, .16),
		inset 0 1px 0 rgba(255, 255, 255, .16);
	transform-style: preserve-3d;
}

.ws4-showcase::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(110deg, rgba(255, 255, 255, .22), transparent 24%, transparent 66%, rgba(255, 230, 141, .13)),
		linear-gradient(180deg, transparent 58%, rgba(4, 20, 34, .18));
	mix-blend-mode: screen;
	pointer-events: none;
}

.ws4-showcase img {
	transform: translateZ(1px) scale(1.01);
}

.ws4-showcase--main {
	top: 82px;
	right: 4px;
	width: min(590px, 94%);
	height: 360px;
	transform: rotateX(4deg) rotateY(-9deg) rotateZ(-1deg) translateZ(14px);
}

.ws4-showcase--small {
	z-index: 4;
	left: 4px;
	bottom: 50px;
	width: 310px;
	height: 196px;
	border-color: rgba(255, 230, 141, .26);
	transform: rotateX(3deg) rotateY(12deg) rotateZ(1deg) translateZ(42px);
}

.ws4-visual-note {
	z-index: 5;
	right: 8px;
	bottom: 28px;
	width: min(312px, 72%);
	border-color: rgba(255, 230, 141, .28);
	border-radius: 12px;
	background:
		linear-gradient(135deg, rgba(9, 52, 80, .96), rgba(4, 23, 39, .94));
	box-shadow:
		0 28px 62px rgba(6, 24, 39, .35),
		inset 0 1px 0 rgba(255, 255, 255, .14);
	transform: rotateX(2deg) rotateY(-8deg) translateZ(62px);
}

.ws4-visual-note strong {
	color: #fff7d0;
}

@media (max-height: 950px) and (min-width: 981px) {
	.ws4-hero__visual {
		min-height: 456px;
	}

	.ws4-brandmark {
		width: 108px;
		height: 108px;
	}

	.ws4-showcase--main {
		height: 318px;
	}

	.ws4-showcase--small {
		width: 286px;
		height: 178px;
	}
}

@media (max-width: 760px) {
	.ws4-hero__visual {
		min-height: 342px;
		overflow: hidden;
		perspective: none;
	}

	.ws4-hero__visual::before {
		inset: 48px 0 26px 16px;
		border-radius: 12px;
		transform: rotate(-1deg);
	}

	.ws4-hero__visual::after {
		right: 8%;
		bottom: 0;
		width: 84%;
		height: 78px;
	}

	.ws4-brandmark {
		top: 28px;
		left: 12px;
		width: 78px;
		height: 78px;
		padding: 0;
	}

	.ws4-showcase {
		border-radius: 10px;
	}

	.ws4-showcase--main {
		top: 78px;
		right: 0;
		width: 100%;
		height: 216px;
		transform: rotate(-1deg);
	}

	.ws4-showcase--small,
	.ws4-visual-note {
		display: none;
	}
}

/* Naslovnica v4: flip kartice usluga. */
.ws4-service-grid {
	perspective: 1200px;
}

.ws4-service.ws4-flip-card {
	position: relative;
	min-height: 252px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
	outline: none;
	perspective: 1000px;
}

.ws4-service.ws4-flip-card::before {
	content: none;
}

.ws4-service__inner {
	position: relative;
	min-height: 252px;
	transform-style: preserve-3d;
	transition: transform .72s cubic-bezier(.2, .78, .18, 1);
}

.ws4-service.ws4-flip-card:hover .ws4-service__inner {
	transform: rotateY(180deg) translateY(-2px);
}

.ws4-service.ws4-flip-card:focus-visible .ws4-service__inner,
.ws4-service.ws4-flip-card.is-flipped .ws4-service__inner {
	transform: rotateY(180deg) translateY(-2px);
}

.ws4-service.ws4-flip-card:focus-visible {
	outline: 3px solid rgba(215, 173, 53, .42);
	outline-offset: 4px;
}

.ws4-service__face {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	padding: 28px;
	border: 1px solid rgba(8, 34, 56, .12);
	border-radius: 10px;
	backface-visibility: hidden;
	box-shadow: 0 22px 58px rgba(8, 34, 56, .1);
}

.ws4-service__face::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 5px;
	background: linear-gradient(180deg, var(--ws4-gold), var(--ws4-teal));
}

.ws4-service__front {
	background:
		radial-gradient(circle at 88% 14%, rgba(215, 173, 53, .14), transparent 28%),
		linear-gradient(145deg, #fff 0%, #f7fbfb 100%);
}

.ws4-service__back {
	color: #fff;
	background:
		radial-gradient(circle at 22% 18%, rgba(255, 230, 141, .2), transparent 34%),
		linear-gradient(135deg, #06243a 0%, #0a4860 58%, #0f7e8a 100%);
	transform: rotateY(180deg);
	box-shadow: 0 30px 70px rgba(6, 36, 58, .25);
}

.ws4-service .ws4-service__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	min-height: 50px;
	margin: 0 0 24px;
	padding: 0;
	border: 1px solid rgba(215, 173, 53, .36);
	border-radius: 14px;
	color: #06243a;
	background: linear-gradient(135deg, #fff6c9, var(--ws4-gold));
	box-shadow: 0 16px 34px rgba(215, 173, 53, .18);
	font-size: 1.22rem;
}

.ws4-service__face h3 {
	position: relative;
	z-index: 1;
}

.ws4-service__face p {
	position: relative;
	z-index: 1;
	margin-top: 12px;
	color: var(--ws4-muted);
}

.ws4-service__front strong {
	position: relative;
	z-index: 1;
	margin-top: auto;
	color: #0a4860;
	font-size: .92rem;
	font-weight: 950;
}

.ws4-service__back span {
	position: relative;
	z-index: 1;
	display: inline-flex;
	width: max-content;
	max-width: 100%;
	min-height: 30px;
	margin: 0 0 18px;
	padding: 6px 10px;
	border: 1px solid rgba(255, 230, 141, .34);
	border-radius: 999px;
	color: #fff2b7;
	background: rgba(255, 230, 141, .12);
	font-size: .76rem;
	font-weight: 950;
	text-transform: uppercase;
}

.ws4-service__back h3 {
	color: #fff;
}

.ws4-service__back p {
	color: rgba(255, 255, 255, .8);
}

@media (prefers-reduced-motion: reduce) {
	.ws4-service__inner {
		transition: none;
	}
}

@media (max-width: 760px) {
	.ws4-service.ws4-flip-card,
	.ws4-service__inner {
		min-height: 238px;
	}

	.ws4-service__face {
		padding: 22px;
	}

	.ws4-service .ws4-service__icon {
		width: 44px;
		height: 44px;
		min-height: 44px;
		margin-bottom: 18px;
		border-radius: 12px;
		font-size: 1.05rem;
	}

	.ws4-service__back span {
		margin-bottom: 14px;
	}
}

/* Zavrsna mobilna navigacija: samostalan panel ispod zaglavlja. */
@media (max-width: 980px) {
	.site-header {
		position: sticky;
		top: 0;
		z-index: 1200;
	}

	.site-header__inner {
		position: relative;
		min-height: 76px;
		justify-content: flex-end;
	}

	.site-navigation {
		position: static !important;
		flex: 0 0 auto !important;
		margin-left: auto;
	}

	.menu-toggle {
		display: grid !important;
		position: relative !important;
		z-index: 1202;
		margin: 0;
	}

	.primary-menu {
		position: fixed !important;
		top: calc(var(--wp-admin--admin-bar--height, 0px) + 88px) !important;
		right: 12px !important;
		left: 12px !important;
		width: auto !important;
		max-width: none !important;
		max-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px) - 104px) !important;
		overflow-y: auto !important;
		display: none;
		padding: 12px !important;
		border-radius: 18px !important;
		background: #06233a !important;
		box-shadow: 0 22px 54px rgba(2, 14, 24, .42) !important;
	}

	.site-navigation.is-open .primary-menu,
	.site-navigation.toggled .primary-menu {
		display: flex !important;
	}

	.primary-menu > li > a {
		min-height: 48px;
		padding: .86rem 1rem;
	}

	.primary-menu .sub-menu {
		margin: .12rem 0 .42rem;
		padding: .34rem;
		border-radius: 14px;
	}

	.primary-menu .sub-menu a {
		min-height: 42px;
		padding: .72rem .82rem;
	}

	body.wsime-menu-open {
		overflow: hidden;
	}
}

/* Final desktop override: dropdowns never open merely by hover or focus. */
@media (min-width: 981px) {
	.primary-menu > li.menu-item-has-children {
		display: flex;
		align-items: center;
	}

	.primary-menu > li.menu-item-has-children > a::after {
		display: none;
	}

	.primary-menu > li.menu-item-has-children > .wsime-submenu-toggle {
		display: inline-grid;
		width: 28px;
		height: 36px;
		margin-left: -3px;
		padding: 0;
		border: 0;
		place-items: center;
		color: currentColor;
		cursor: pointer;
		background: transparent;
	}

	.primary-menu > li.menu-item-has-children > .wsime-submenu-toggle::before {
		width: .46rem;
		height: .46rem;
		margin-top: -.24rem;
		content: "";
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: rotate(45deg);
		transition: transform .2s ease;
	}

	.primary-menu > li.menu-item-has-children.is-submenu-open > .wsime-submenu-toggle::before {
		margin-top: .18rem;
		transform: rotate(225deg);
	}

	.primary-menu > li.menu-item-has-children:not(.wsime-offers-menu) > .sub-menu,
	.primary-menu > li.wsime-offers-menu > .sub-menu {
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translate(-50%, 10px);
	}

	.primary-menu > li.menu-item-has-children:not(.wsime-offers-menu).is-submenu-open > .sub-menu,
	.primary-menu > li.wsime-offers-menu.is-submenu-open > .sub-menu {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translate(-50%, 0);
	}

	.primary-menu > .wsime-offers-menu > .sub-menu > .wsime-offers-group > .wsime-submenu-toggle {
		display: none;
	}
}

/* Closed dropdowns are removed from layout, preventing invisible links over content. */
@media (min-width: 981px) {
	.primary-menu > li.menu-item-has-children:not(.wsime-offers-group) > .sub-menu {
		display: none !important;
	}

	.primary-menu > li.menu-item-has-children:not(.wsime-offers-group).is-submenu-open > .sub-menu,
	.primary-menu > li.wsime-offers-menu.is-submenu-open > .sub-menu,
	.primary-menu > li.wsime-offers-menu > .sub-menu > .wsime-offers-group > .sub-menu {
		display: grid !important;
	}
}
