/*
Theme Name: Akt Invest
Theme URI: https://davidojdanic.com
Author: David Ojdanić
Author URI: https://davidojdanic.com
Description: Tema za agenciju nekretnina Akt Invest (Zlatibor) – prenos dizajna sa Webflow-a. Zahteva plugin „Akt Invest – Oglasi nekretnina“.
Version: 1.3.1
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: akt-invest
*/

/* ==========================================================================
   Tokeni (boje i tipografija preuzeti sa Webflow sajta)
   ========================================================================== */
:root {
	--cream: #fdfcee;
	--cream-2: #f4f2e3;
	--cream-3: #ebe8d5;
	--ink: #1e322d;
	--ink-2: #35584f;
	--brown: #4b382b;
	--gold: #b08d57;
	--muted: rgba(30, 50, 45, .68);
	--line: rgba(30, 50, 45, .12);
	--line-2: rgba(30, 50, 45, .2);
	--danger: #a33a2b;
	--ok: #2f6b4f;

	--font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-2: "Outfit", var(--font);

	--r-sm: .5rem;
	--r: .75rem;
	--r-lg: 1rem;
	--r-xl: 1.5rem;
	--shadow: 0 1px 2px rgba(30, 50, 45, .06), 0 8px 24px rgba(30, 50, 45, .07);
	--shadow-lg: 0 24px 60px rgba(30, 50, 45, .18);
	--container: 1280px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 72px;
}

/* ==========================================================================
   Osnova
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.nav-open, body.filter-open, body.lb-open { overflow: hidden; }
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink-2); }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.sr-only, .akt-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: var(--r); }
.skip-link:focus { top: 12px; color: var(--cream); }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }
.center { text-align: center; }
.muted, .akt-muted { color: var(--muted); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 62ch; }

.eyebrow {
	display: inline-block;
	font-family: var(--font-2);
	font-size: .8rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: .8rem;
}
.eyebrow--light { color: rgba(253, 252, 238, .75); }

/* ==========================================================================
   Dugmad, bedževi, čipovi
   ========================================================================== */
.btn, .akt-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	padding: .95rem 1.4rem;
	border-radius: var(--r);
	border: 1px solid transparent;
	font-weight: 600; font-size: .98rem; line-height: 1.1;
	text-decoration: none; cursor: pointer;
	transition: background .2s, color .2s, border-color .2s, transform .15s;
	white-space: nowrap;
}
.btn:active, .akt-btn:active { transform: translateY(1px); }
.btn--dark, .akt-btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover, .akt-btn--dark:hover { background: var(--ink-2); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--ghost, .akt-btn--ghost { background: rgba(30, 50, 45, .07); color: var(--ink); }
.btn--ghost:hover, .akt-btn--ghost:hover { background: rgba(30, 50, 45, .13); color: var(--ink); }
.btn--outline-light { border-color: rgba(253, 252, 238, .4); color: var(--cream); }
.btn--outline-light:hover { border-color: var(--cream); color: var(--cream); background: rgba(253, 252, 238, .08); }
.akt-btn--danger { background: transparent; color: var(--danger); border-color: rgba(163, 58, 43, .3); }
.akt-btn--danger:hover { background: var(--danger); color: #fff; }
.btn--sm, .akt-btn--sm { padding: .6rem .95rem; font-size: .9rem; }
.btn--block, .akt-btn--block { width: 100%; }

.badge {
	display: inline-flex; align-items: center; gap: .3rem;
	padding: .3rem .65rem; border-radius: 99px;
	background: var(--ink); color: var(--cream);
	font-size: .76rem; font-weight: 600; letter-spacing: .02em;
}
.badge--light { background: var(--cream); color: var(--ink); }
.badge--outline { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }

.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
	display: inline-flex; align-items: center; gap: .35rem;
	padding: .45rem .8rem; border-radius: 99px;
	background: transparent; border: 1px solid var(--line-2);
	font-size: .85rem; cursor: pointer; color: var(--ink);
	transition: background .15s, border-color .15s;
}
.chip:hover { border-color: var(--ink); }
.chip--check { position: relative; }
.chip--check input { position: absolute; opacity: 0; pointer-events: none; }
.chip--check:has(input:checked) { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chip--check:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.chip--remove { background: var(--cream-2); border-color: transparent; }
.chip--remove:hover { background: var(--cream-3); }
.chips--quick .chip { padding: .3rem .65rem; font-size: .78rem; color: var(--muted); }

/* ==========================================================================
   Forme
   ========================================================================== */
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=search], input[type=number], select, textarea {
	width: 100%;
	padding: .8rem .95rem;
	border: 1px solid var(--line-2);
	border-radius: var(--r);
	background: #fff;
	color: var(--ink);
	transition: border-color .15s, box-shadow .15s;
	min-height: 48px;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(30, 50, 45, .12); }
select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231e322d' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.2rem;
}
input[type=checkbox], input[type=radio] { accent-color: var(--ink); width: 18px; height: 18px; margin: 0; flex: none; }
label { font-size: .92rem; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

.akt-form { display: grid; gap: 1rem; }
.akt-form label:not(.akt-check):not(.chip):not(.akt-upload) { display: grid; gap: .4rem; font-weight: 600; }
.akt-form fieldset { display: grid; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.akt-form legend { font-weight: 700; padding: 0; margin-bottom: .2rem; }
.akt-form--narrow { max-width: 520px; }
.akt-form__row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .9rem; }
.akt-form__row--end { justify-content: flex-end; }
.akt-check { display: inline-flex; align-items: center; gap: .55rem; cursor: pointer; font-weight: 400; }
.akt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; align-items: end; }
.akt-grid--2 { grid-template-columns: 1fr 1fr; }
.akt-span-2 { grid-column: span 2; }
.akt-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .6rem 1rem; }
.akt-field-group { display: grid; gap: .9rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.akt-field-group h4 { margin: 0; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-family: var(--font-2); font-weight: 500; }
.akt-fields { display: grid; gap: 1rem; }
.akt-upload { display: grid; place-items: center; text-align: center; gap: .6rem; padding: 2rem 1rem; border: 2px dashed var(--line-2); border-radius: var(--r-lg); cursor: pointer; color: var(--muted); background: var(--cream); }
.akt-upload:hover { border-color: var(--ink); }
.akt-upload-preview { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .6rem; }
.akt-upload-preview figure { margin: 0; position: relative; aspect-ratio: 4/3; border-radius: var(--r); overflow: hidden; }
.akt-upload-preview img { width: 100%; height: 100%; object-fit: cover; }
.akt-upload-preview figcaption { position: absolute; left: 6px; bottom: 6px; background: var(--ink); color: var(--cream); font-size: .72rem; padding: 2px 8px; border-radius: 99px; }

.akt-notice { padding: .9rem 1.1rem; border-radius: var(--r); margin: 0 0 1.25rem; font-size: .95rem; border: 1px solid; }
.akt-notice p { margin: 0; }
.akt-notice--ok { background: #eaf3ec; border-color: #bcd8c4; color: var(--ok); }
.akt-notice--err { background: #fbecea; border-color: #eec3bc; color: var(--danger); }
.akt-notice a { font-weight: 600; }

/* ==========================================================================
   Header + navigacija
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(253, 252, 238, .88);
	backdrop-filter: saturate(1.4) blur(14px);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(30, 50, 45, .05); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; flex: none; }
.brand:hover { color: inherit; }
.brand__mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: var(--cream); font-family: var(--font-2); font-size: 1.05rem; }
.brand--light { color: var(--cream); }
.brand--light .brand__mark { background: var(--cream); color: var(--ink); }
.brand__logo { max-height: 44px; width: auto; }

.nav { flex: 1; }
.nav__list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav__link, .nav__list--wp > li > a {
	display: inline-flex; align-items: center; gap: .35rem;
	padding: .6rem .85rem; border-radius: var(--r-sm);
	background: none; border: 0; cursor: pointer;
	text-decoration: none; font-weight: 500; font-size: .97rem; color: var(--ink);
}
.nav__link:hover, .nav__list--wp > li > a:hover { background: rgba(30, 50, 45, .06); color: var(--ink); }
.nav__link svg { transition: transform .2s; }
.has-mega { position: static; }
.has-mega.is-open .nav__link svg { transform: rotate(180deg); }
.mega {
	position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% - 6px);
	max-width: calc(var(--container) - 2 * var(--gutter)); margin-inline: auto;
	display: grid; grid-template-columns: repeat(3, 1fr) 1.2fr; gap: 1.5rem;
	padding: 1.5rem; background: var(--cream); border: 1px solid var(--line);
	border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .2s, transform .2s, visibility .2s;
}
.has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__col { display: grid; align-content: start; gap: .15rem; }
.mega__title { font-family: var(--font-2); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 0 .75rem .5rem; }
.mega__col a { display: grid; gap: .1rem; padding: .65rem .75rem; border-radius: var(--r); text-decoration: none; }
.mega__col a:hover { background: var(--cream-2); color: var(--ink); }
.mega__col a span { font-size: .85rem; color: var(--muted); }
.mega__promo { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 220px; text-decoration: none; color: var(--cream); display: block; }
.mega__promo .mega__img, .mega__promo .akt-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mega__promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(20, 34, 30, .85)); }
.mega__promo-text { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1; font-size: .88rem; display: grid; gap: .2rem; }
.mega__promo-text strong { font-size: 1.05rem; }
.mega__promo:hover { color: var(--cream); }
.nav__list--wp .sub-menu { display: none; }
.nav__mobile-extra { display: none; }

.site-header__actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--ink); cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: rgba(30, 50, 45, .06); color: var(--ink); }
.icon-btn__dot { position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); border: 2px solid var(--cream); }
.nav-toggle { display: none; }

@media (max-width: 1020px) {
	.nav-toggle { display: inline-grid; }
	.site-header__search { display: none; }
	.nav {
		position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
		background: var(--cream); overflow-y: auto;
		padding: 1rem var(--gutter) 2rem;
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .25s ease, transform .25s ease, visibility .25s;
		display: flex; flex-direction: column; gap: 1.5rem;
	}
	.admin-bar .nav { top: calc(var(--header-h) + 46px); }
	.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
	/* backdrop-filter bi napravio da se fiksni meni računa u odnosu na header */
	.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
	.nav__list { flex-direction: column; align-items: stretch; }
	.nav__link, .nav__list--wp > li > a { width: 100%; justify-content: space-between; padding: 1rem .25rem; font-size: 1.15rem; border-bottom: 1px solid var(--line); border-radius: 0; }
	.mega { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: .5rem 0 1rem; grid-template-columns: 1fr; gap: 1rem; background: transparent; max-width: none; }
	.has-mega.is-open .mega { display: grid; }
	.mega__promo { display: none; }
	.nav__mobile-extra { display: grid; gap: .6rem; }
	.nav__phone { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem; text-decoration: none; font-weight: 600; }
}

/* ==========================================================================
   Sekcije
   ========================================================================== */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
.section--alt { background: var(--cream-2); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section__head h2 { margin: 0; }
.section__head--center { justify-content: center; text-align: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; }
.link-arrow svg { transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

.page-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem); background: var(--cream-2); }
.page-hero h1 { margin-bottom: .3em; }
.page-hero .lead { margin: 0; }
.page-hero--search { padding-bottom: 1.5rem; }
.page-hero--search h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Placeholder dok slike nisu uvezene */
.akt-ph { background: linear-gradient(135deg, #2b463f 0%, #1e322d 55%, #4b382b 120%); position: relative; }
.akt-ph::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%, rgba(253, 252, 238, .14), transparent 55%); }

/* ==========================================================================
   Početna – hero
   ========================================================================== */
.hero { padding-block: 1rem clamp(2.5rem, 6vw, 4rem); }
.hero__card {
	position: relative; overflow: visible; /* padajući meniji pretrage ne smeju da se seku */
	border-radius: var(--r-xl);
	min-height: clamp(560px, 78vh, 760px);
	display: flex; flex-direction: column; justify-content: flex-end; gap: 2rem;
	padding: clamp(1.25rem, 4vw, 3.5rem);
	color: var(--cream);
	background: var(--hero, none) center / cover no-repeat, var(--ink);
}
.hero__card--noimg { background: radial-gradient(circle at 75% 20%, #3b5e55 0, transparent 50%), linear-gradient(135deg, #2b463f, #1e322d 60%, #3a2c22); }
.hero__card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(15, 26, 23, .15) 0%, rgba(15, 26, 23, .35) 40%, rgba(15, 26, 23, .82) 100%); }
.hero__card > * { position: relative; }
.hero__card .quick-search { z-index: 5; }
.hero__content { max-width: 760px; }
.hero__title { color: var(--cream); font-size: clamp(2.3rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.035em; margin-bottom: .35em; }
.hero__lead { color: rgba(253, 252, 238, .82); font-size: clamp(1rem, 1.5vw, 1.18rem); max-width: 58ch; margin: 0; }

.quick-search { background: rgba(253, 252, 238, .97); color: var(--ink); border-radius: var(--r-lg); padding: .75rem; box-shadow: var(--shadow-lg); max-width: 1040px; }
.quick-search__fields { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: .5rem; margin-top: .6rem; }
.qs-field { display: grid; gap: .15rem; padding: .35rem .5rem; border-radius: var(--r); }
.qs-field span { font-family: var(--font-2); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-left: .2rem; }
.qs-field select { border: 0; background-color: transparent; padding: .25rem 2rem .25rem .2rem; min-height: 0; font-weight: 600; box-shadow: none; }
.qs-field:hover { background: var(--cream-2); }
.qs-field + .qs-field { border-left: 1px solid var(--line); border-radius: 0; }
.quick-search__btn { padding-inline: 1.8rem; }
.segmented { display: inline-flex; padding: 4px; border-radius: var(--r); background: var(--cream-2); gap: 2px; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: block; padding: .45rem 1rem; border-radius: calc(var(--r) - 3px); font-weight: 600; font-size: .9rem; color: var(--muted); transition: background .15s, color .15s; }
.segmented input:checked + span { background: var(--ink); color: var(--cream); }
.segmented input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 1px; }

.hero__stats { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.hero__stats li, .stats li { display: grid; gap: .1rem; padding: 1rem 0; border-top: 1px solid var(--line-2); }
.hero__stats strong, .stats strong { font-size: clamp(1.4rem, 2.5vw, 2rem); letter-spacing: -.03em; }
.hero__stats span, .stats span { color: var(--muted); font-size: .9rem; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 860px) {
	.quick-search__fields { grid-template-columns: 1fr 1fr; }
	.qs-field + .qs-field { border-left: 0; }
	.qs-field { background: var(--cream-2); border-radius: var(--r) !important; }
	.quick-search__btn { grid-column: 1 / -1; }
	.hero__stats, .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
	.quick-search__fields { grid-template-columns: 1fr; }
	.segmented { display: flex; }
	.segmented label { flex: 1; text-align: center; }
}

/* ==========================================================================
   Kartice oglasa
   ========================================================================== */
.akt-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); }
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__img { transform: scale(1.04); }
.card__badges { position: absolute; top: .8rem; left: .8rem; display: flex; gap: .35rem; }
.card__count { position: absolute; left: .8rem; bottom: .8rem; display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .55rem; border-radius: 99px; background: rgba(20, 34, 30, .65); color: var(--cream); font-size: .78rem; }
.card__body { padding: 1.1rem 1.2rem 1.25rem; display: grid; gap: .35rem; }
.card__price { font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.card__title { font-size: 1.02rem; font-weight: 600; margin: 0; line-height: 1.3; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__loc { display: flex; align-items: center; gap: .35rem; margin: 0; font-size: .88rem; color: var(--muted); }
.card__loc svg { flex: none; }
.card__facts { list-style: none; margin: .5rem 0 0; padding: .75rem 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .86rem; color: var(--muted); }
.card__facts li + li::before { content: "·"; margin-right: 1rem; margin-left: -.5rem; }

.akt-fav {
	position: absolute; top: .7rem; right: .7rem; z-index: 2;
	display: inline-flex; align-items: center; gap: .4rem;
	padding: .55rem; border-radius: 99px; border: 0; cursor: pointer;
	background: rgba(253, 252, 238, .92); color: var(--ink);
	transition: transform .15s, background .15s;
}
.akt-fav svg { fill: transparent; stroke: currentColor; stroke-width: 1.8; transition: fill .15s; }
.akt-fav:hover { transform: scale(1.06); }
.akt-fav.is-saved svg { fill: #c0392b; stroke: #c0392b; }
.akt-fav.is-busy { opacity: .6; }
.listing__actions .akt-fav { position: static; padding: .6rem .95rem; background: rgba(30, 50, 45, .07); font-weight: 600; font-size: .9rem; }

.akt-pagination { display: flex; justify-content: center; gap: .35rem; margin-top: 2.5rem; }
.akt-pagination a { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r); text-decoration: none; border: 1px solid var(--line-2); font-weight: 600; }
.akt-pagination a.is-current { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.akt-empty { text-align: center; padding: 3rem 1.5rem; border: 1px dashed var(--line-2); border-radius: var(--r-lg); background: rgba(255, 255, 255, .5); }
.akt-empty h3 { margin-bottom: .4rem; }

/* ==========================================================================
   Pretraga
   ========================================================================== */
.search { display: grid; grid-template-columns: 300px 1fr; gap: 2rem; align-items: start; padding-block: 2rem 4rem; }
.search__filters { position: sticky; top: calc(var(--header-h) + 1rem); max-height: calc(100vh - var(--header-h) - 2rem); overflow-y: auto; scrollbar-width: thin; border-radius: var(--r-lg); }
.filter { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.filter__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 2; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.filter__title { display: inline-flex; align-items: center; gap: .5rem; font-size: 1rem; margin: 0; }
.filter__reset { font-size: .85rem; color: var(--muted); }
.filter__close { display: none; }
.filter__body { padding: .4rem 1.2rem; }
.filter__foot { padding: 1rem 1.2rem; border-top: 1px solid var(--line); position: sticky; bottom: 0; z-index: 2; background: #fff; border-radius: 0 0 var(--r-lg) var(--r-lg); }
.js-on .filter__foot { display: none; }
.fgroup { padding: 1.1rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .65rem; }
.fgroup:last-child { border-bottom: 0; }
.fgroup__label { font-family: var(--font-2); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 0; }
.fgroup__hint { font-size: .78rem; color: var(--muted); margin: 0; }
.fgroup .segmented { display: flex; width: 100%; }
.fgroup .segmented label { flex: 1; text-align: center; }
.fgroup .segmented span { padding: .45rem .3rem; }
.input-icon { position: relative; }
.input-icon svg { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-icon input { padding-left: 2.5rem; }
.range { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .4rem; color: var(--muted); }
.range input, .range select { min-height: 42px; padding: .55rem .7rem; font-size: .92rem; }
.checklist { display: grid; gap: .1rem; }
.checkrow { display: flex; align-items: center; gap: .6rem; padding: .35rem .2rem; cursor: pointer; border-radius: var(--r-sm); }
.checkrow:hover { background: var(--cream); }
.checkrow span { flex: 1; }
.checkrow em { font-style: normal; font-size: .78rem; color: var(--muted); background: var(--cream-2); padding: 0 .45rem; border-radius: 99px; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.toolbar__count { margin: 0; font-size: 1.05rem; }
.toolbar__right { display: flex; gap: .5rem; align-items: center; }
.toolbar__filters { display: none; }
.select-wrap select { min-height: 40px; padding-block: .5rem; font-size: .9rem; background-color: #fff; width: auto; }
.count-dot { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 99px; background: var(--ink); color: var(--cream); font-size: .72rem; }
.active-filters { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-bottom: 1.25rem; }
.link-reset { font-size: .85rem; color: var(--muted); margin-left: .25rem; }
.results { transition: opacity .2s; min-height: 200px; }
.results .akt-cards, .akt-dash__main .akt-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 255px), 1fr)); }
.results.is-loading { opacity: .45; pointer-events: none; }
.filter-backdrop { display: none; }

@media (max-width: 1020px) {
	.search { grid-template-columns: 1fr; padding-top: 1.25rem; }
	.toolbar__filters { display: inline-flex; }
	.search__filters {
		position: fixed; inset: 0 auto 0 0; z-index: 200; width: min(420px, 92vw);
		max-height: none; height: 100vh; height: 100dvh; border-radius: 0;
		transform: translateX(-102%); visibility: hidden; transition: transform .3s ease, visibility .3s;
	}
	.filter { min-height: 100%; border-radius: 0; border: 0; }
	.filter__head, .filter__foot { border-radius: 0; }
	.filter__close { display: inline-grid; width: 40px; height: 40px; }
	.filter-open .search__filters { transform: none; visibility: visible; }
	.filter-open .filter-backdrop { display: block !important; position: fixed; inset: 0; z-index: 150; background: rgba(15, 26, 23, .45); }
	.js-on .filter__foot { display: block; }
}

/* ==========================================================================
   Pojedinačni oglas
   ========================================================================== */
.listing { padding-block: 1.5rem 0; }
.gallery {
	position: relative; display: grid; gap: .5rem;
	grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr));
	height: clamp(320px, 58vh, 560px); border-radius: var(--r-xl); overflow: hidden;
}
.gallery__item { position: relative; display: block; overflow: hidden; background: var(--cream-2); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s; }
.gallery__item:hover img { transform: scale(1.03); filter: brightness(.94); }
.gallery__item--main { grid-row: 1 / -1; }
.gallery--n1 { grid-template-columns: 1fr; }
.gallery--n2 { grid-template-columns: 2fr 1fr; }
.gallery--n2 .gallery__item:not(.gallery__item--main) { grid-row: 1 / -1; }
.gallery--n3 { grid-template-columns: 2fr 1fr; }
.gallery--n4 { grid-template-columns: 2fr 1fr 1fr; }
.gallery--n4 .gallery__item:last-of-type { grid-column: 2 / -1; }
.gallery__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(15, 26, 23, .55); color: var(--cream); font-size: 1.6rem; font-weight: 700; }
.gallery__all { position: absolute; right: 1rem; bottom: 1rem; box-shadow: var(--shadow); }
@media (max-width: 760px) {
	.gallery, .gallery--n2, .gallery--n3, .gallery--n4 { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 62vw; min-height: 260px; border-radius: var(--r-lg); }
	.gallery__item:not(.gallery__item--main) { display: none; }
}

.listing__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem 3rem; flex-wrap: wrap; padding-block: 2rem 1.5rem; }
.listing__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .9rem; }
.listing__title { font-size: clamp(1.8rem, 3.6vw, 2.8rem); max-width: 22ch; margin-bottom: .4rem; }
.listing__loc { display: flex; align-items: center; gap: .4rem; color: var(--muted); margin: 0; }
.listing__price-wrap { text-align: right; }
.listing__price { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.listing__ppm { color: var(--muted); margin-top: .35rem; }
.listing__actions { display: flex; gap: .5rem; justify-content: flex-end; margin-top: 1rem; }
@media (max-width: 700px) {
	.listing__price-wrap { text-align: left; }
	.listing__actions { justify-content: flex-start; }
}

.facts { list-style: none; margin: 0 0 2rem; padding: 1.1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .75rem; background: var(--cream-2); border-radius: var(--r-lg); }
.facts li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .75rem; align-items: center; padding: .4rem .5rem; }
.facts svg { grid-row: 1 / -1; color: var(--ink-2); }
.facts span { font-size: .8rem; color: var(--muted); }
.facts strong { font-size: 1.05rem; }

.listing__layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(2rem, 4vw, 4rem); align-items: start; padding-bottom: clamp(3rem, 6vw, 5rem); }
.listing__section { padding-block: 0 2.25rem; margin-bottom: 2.25rem; border-bottom: 1px solid var(--line); }
.listing__section:last-child { border-bottom: 0; margin-bottom: 0; }
.listing__section h2 { font-size: 1.45rem; margin-bottom: 1rem; }
.listing__side { position: sticky; top: calc(var(--header-h) + 1.25rem); display: grid; gap: .75rem; }
@media (max-width: 980px) {
	.listing__layout { grid-template-columns: 1fr; }
	.listing__side { position: static; }
}

.prose { font-size: 1.02rem; line-height: 1.75; max-width: 70ch; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1.1em; }
.prose li { margin-bottom: .25rem; }
.prose li::marker { color: var(--gold); }
.prose--page { max-width: 820px; }
.prose a { font-weight: 600; }

.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .65rem 1.5rem; }
.features li { display: flex; align-items: center; gap: .6rem; }
.features svg { color: var(--ok); flex: none; background: #e3efe6; border-radius: 50%; padding: 3px; width: 24px; height: 24px; }

.details { margin: 0 0 1.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
.details div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.details dt { color: var(--muted); }
.details dd { margin: 0; font-weight: 600; text-align: right; }
@media (max-width: 640px) { .details { grid-template-columns: 1fr; } }

.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 1.5rem; box-shadow: var(--shadow); }
.contact-card h2 { font-size: 1.4rem; margin-bottom: .2rem; }
.contact-card__agent { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.1rem; }
.contact-card__agent strong { display: block; }
.contact-card__agent span { font-size: .88rem; }
.contact-card__avatar { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex: none; }
.contact-card__quick { display: grid; gap: .5rem; }
.contact-card__divider { position: relative; text-align: center; margin: 1.2rem 0 1rem; font-size: .82rem; color: var(--muted); }
.contact-card__divider::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--line); }
.contact-card__divider span { position: relative; background: #fff; padding: 0 .6rem; }
.akt-inquiry { gap: .75rem; }
.akt-inquiry textarea { min-height: 96px; }
.admin-edit { background: transparent; border: 1px dashed var(--line-2); }

/* Kalkulator kredita */
.calc { background: var(--ink); color: var(--cream); border-radius: var(--r-xl); padding: clamp(1.4rem, 3vw, 2.2rem) !important; border: 0 !important; }
.calc h2 { color: var(--cream); margin-bottom: .25rem; }
.calc .muted { color: rgba(253, 252, 238, .7); margin: 0; }
.calc__head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.75rem; }
.calc__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(253, 252, 238, .1); flex: none; }
.calc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.calc__inputs { display: grid; gap: 1.4rem; align-content: start; }
.calc__field { display: grid; gap: .55rem; }
.calc__field > span:first-child { display: flex; justify-content: space-between; font-weight: 600; font-size: .92rem; }
.calc__field output { font-weight: 700; color: #e9d9b8; }
.calc__field small { color: rgba(253, 252, 238, .6); font-size: .82rem; }
.input-suffix { position: relative; display: block; }
.input-suffix em { position: absolute; right: .95rem; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--muted); }
.calc input[type=text] { font-weight: 700; font-size: 1.1rem; }
.calc input[type=range] {
	-webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; cursor: pointer;
	background: linear-gradient(90deg, #e9d9b8 var(--p, 50%), rgba(253, 252, 238, .18) var(--p, 50%));
}
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--cream); border: 4px solid #e9d9b8; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.calc input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--cream); border: 4px solid #e9d9b8; }
.calc__result { background: rgba(253, 252, 238, .07); border: 1px solid rgba(253, 252, 238, .12); border-radius: var(--r-lg); padding: 1.4rem; display: grid; gap: .3rem; align-content: start; }
.calc__label { font-family: var(--font-2); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(253, 252, 238, .65); }
.calc__rate { font-size: clamp(2.2rem, 4vw, 2.9rem); letter-spacing: -.03em; line-height: 1.05; margin-bottom: .75rem; }
.calc__result dl { margin: 0 0 1rem; }
.calc__result dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-top: 1px solid rgba(253, 252, 238, .12); font-size: .92rem; }
.calc__result dt { color: rgba(253, 252, 238, .7); }
.calc__result dd { margin: 0; font-weight: 600; }
.calc__note { font-size: .78rem; color: rgba(253, 252, 238, .55); margin: 0 0 1rem; }
@media (max-width: 720px) { .calc__grid { grid-template-columns: 1fr; } }

/* Traka sa cenom i kontaktom na telefonu */
.listing-bar { display: none; }
@media (max-width: 980px) {
	.listing-bar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
		display: flex; align-items: center; gap: .5rem;
		padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
		background: rgba(253, 252, 238, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
		border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(30, 50, 45, .08);
	}
	.listing-bar > div { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
	.listing-bar strong { font-size: 1.15rem; }
	.listing-bar span { font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.single-nekretnina .float-contact { display: none; }
	.single-nekretnina .site-footer { padding-bottom: 72px; }
}

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(10, 16, 14, .94); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox__figure { margin: 0; display: grid; place-items: center; gap: .75rem; height: 100vh; padding: 3.5rem 0 2rem; }
.lightbox__figure img { max-height: calc(100vh - 7rem); width: auto; max-width: 100%; object-fit: contain; border-radius: var(--r-sm); }
.lightbox__figure figcaption { color: rgba(253, 252, 238, .7); font-size: .9rem; }
.lightbox__nav, .lightbox__close { background: none; border: 0; color: var(--cream); cursor: pointer; font-size: 3rem; line-height: 1; padding: .5rem; }
.lightbox__close { position: absolute; top: .75rem; right: .75rem; }
@media (max-width: 600px) { .lightbox { grid-template-columns: 1fr; } .lightbox__nav { position: absolute; bottom: 1rem; } .lightbox__nav--prev { left: 1rem; } .lightbox__nav--next { right: 1rem; } }

/* ==========================================================================
   Početna – ostale sekcije
   ========================================================================== */
.zones { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; }
.zone { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 1.15rem 1.25rem; border-radius: var(--r-lg); background: var(--cream); text-decoration: none; border: 1px solid var(--line); transition: background .2s, border-color .2s; }
.zone:hover { background: #fff; border-color: var(--ink); color: var(--ink); }
.zone__name { font-weight: 700; font-size: 1.05rem; }
.zone__count { grid-row: 2; font-size: .85rem; color: var(--muted); }
.zone svg { grid-row: 1 / span 2; grid-column: 2; transition: transform .2s; }
.zone:hover svg { transform: translateX(3px); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split__media { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; }
.split__img, .split__media .akt-ph { width: 100%; height: 100%; object-fit: cover; }
.split--reverse .split__media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split__media { aspect-ratio: 4 / 3; } .split--reverse .split__media { order: 0; } }

.benefits { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.benefits li { display: grid; gap: .6rem; }
.benefits strong { font-size: 1.05rem; }
.benefits p { margin: .2rem 0 0; color: var(--muted); font-size: .93rem; }
.benefits__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--cream-2); }
@media (max-width: 520px) { .benefits { grid-template-columns: 1fr; } }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-xl); overflow: hidden; color: var(--cream); text-decoration: none; }
.tile__img, .tile .akt-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tile:hover .tile__img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(15, 26, 23, .88)); }
.tile__text { position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.4rem; z-index: 1; display: grid; gap: .3rem; color: rgba(253, 252, 238, .85); font-size: .95rem; }
.tile__text strong { color: var(--cream); font-size: 1.35rem; letter-spacing: -.02em; }
.tile:hover { color: var(--cream); }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr; } .tile { aspect-ratio: 16 / 10; } }

.faq { display: grid; gap: .6rem; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 1.35rem; font-weight: 600; font-size: 1.05rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item p { padding: 0 1.35rem 1.25rem; margin: 0; color: var(--muted); }
.faq__plus { position: relative; width: 18px; height: 18px; flex: none; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s; }
.faq__plus::after { transform: rotate(90deg); }
.faq__item[open] .faq__plus::after { transform: rotate(0); }
.faq-more { text-align: center; margin-top: 2.5rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .6rem; }
.faq-more p { width: 100%; margin: 0 0 .25rem; color: var(--muted); }

.cta { display: grid; grid-template-columns: 1.1fr .9fr; background: var(--ink); color: var(--cream); border-radius: var(--r-xl); overflow: hidden; }
.cta__text { padding: clamp(2rem, 5vw, 4rem); }
.cta h2 { color: var(--cream); }
.cta p { color: rgba(253, 252, 238, .78); max-width: 50ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.cta__media { min-height: 280px; position: relative; }
.cta__img, .cta__media .akt-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } .cta__media { order: -1; min-height: 220px; } }

/* O nama / usluge / kontakt */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.team__card { background: #fff; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); }
.team__img, .team__card .akt-ph { width: 100%; aspect-ratio: 1; object-fit: cover; }
.team__body { padding: 1.25rem 1.4rem 1.5rem; }
.team__body h3 { margin-bottom: .1rem; }
.team__role { font-size: .88rem; color: var(--muted); }
.team__body p { margin: .75rem 0 0; font-size: .95rem; color: var(--muted); }
@media (max-width: 860px) { .team { grid-template-columns: 1fr; max-width: 460px; } }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.service { padding: 1.75rem; background: #fff; border-radius: var(--r-xl); border: 1px solid var(--line); }
.service h3 { margin: 1.1rem 0 .4rem; }
.service p { margin: 0; color: var(--muted); }
.service__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--cream-2); }
@media (max-width: 960px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } }

.steps { list-style: none; counter-reset: s; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; column-gap: 1rem; }
.steps li::before { content: counter(s); grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--cream); font-weight: 700; }
.steps span { color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.contact-list { display: grid; gap: .75rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); text-decoration: none; }
a.contact-item:hover { border-color: var(--ink); color: var(--ink); }
.contact-item small { display: block; color: var(--muted); font-size: .8rem; }
.contact-item strong { font-size: 1.05rem; word-break: break-word; }
.contact-item__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--cream-2); flex: none; }
.map { margin-top: 2.5rem; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 380px; border: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Nalog / admin panel na sajtu
   ========================================================================== */
.akt-account { max-width: 1180px; }
.is-account .prose--page { max-width: none; font-size: 1rem; line-height: 1.6; }
.is-account .prose ul { padding: 0; }
.akt-auth { max-width: 480px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 1.5rem; box-shadow: var(--shadow); }
.akt-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--cream-2); padding: 4px; border-radius: var(--r); margin-bottom: 1.5rem; }
.akt-tabs button { border: 0; background: none; padding: .7rem; border-radius: calc(var(--r) - 3px); cursor: pointer; font-weight: 600; color: var(--muted); }
.akt-tabs button[aria-selected=true] { background: var(--ink); color: var(--cream); }

.akt-dash { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 2rem; align-items: start; }
.akt-dash__side { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 1.1rem; position: sticky; top: calc(var(--header-h) + 1rem); }
.akt-dash__user { display: flex; align-items: center; gap: .75rem; padding: .25rem .25rem 1rem; border-bottom: 1px solid var(--line); margin-bottom: .75rem; font-size: .92rem; }
.akt-avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--cream); font-weight: 700; flex: none; }
.akt-dash__nav { display: grid; gap: .15rem; }
.akt-dash__nav a { padding: .65rem .8rem; border-radius: var(--r); text-decoration: none; font-weight: 500; }
.akt-dash__nav a:hover { background: var(--cream); }
.akt-dash__nav a.is-active { background: var(--ink); color: var(--cream); }
.akt-dash__logout { color: var(--danger) !important; margin-top: .5rem; border-top: 1px solid var(--line); border-radius: 0 !important; }
.akt-dash__main h2 { font-size: 1.6rem; }
.akt-dash__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.akt-dash__head h2 { margin: 0; }
@media (max-width: 860px) {
	.akt-dash { grid-template-columns: 1fr; }
	.akt-dash__side { position: static; }
	.akt-dash__nav { display: flex; overflow-x: auto; gap: .3rem; }
	.akt-dash__nav a { white-space: nowrap; }
	.akt-dash__logout { margin-top: 0; border-top: 0; }
}

.akt-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.akt-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.akt-table th { text-align: left; font-family: var(--font-2); font-weight: 500; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: .9rem 1rem; border-bottom: 1px solid var(--line); background: var(--cream); }
.akt-table td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.akt-table tr:last-child td { border-bottom: 0; }
.akt-table__thumb { width: 72px; }
.akt-table__thumb img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; }
.akt-right { text-align: right; }
.akt-nowrap { white-space: nowrap; }
.akt-danger { color: var(--danger); }
.akt-pill { display: inline-block; background: var(--cream-2); padding: 1px 8px; border-radius: 99px; font-size: .75rem; }
.akt-role { display: inline-block; white-space: nowrap; padding: .2rem .65rem; border-radius: 99px; font-size: .8rem; font-weight: 600; background: var(--cream-2); }
.akt-role--admin { background: var(--ink); color: var(--cream); }
.akt-role--wp { background: var(--gold); color: #fff; }
.akt-row-actions { display: inline-flex; gap: .35rem; flex-wrap: wrap; justify-content: flex-end; }
.akt-users__invite { padding: 1.4rem; border-radius: var(--r-lg); background: var(--cream-2); margin-bottom: 1.25rem; }
.akt-users__invite h3 { margin-bottom: .2rem; }
.akt-inline-form { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .75rem; }
.akt-inline-form input[type=text], .akt-inline-form input[type=email] { flex: 1 1 200px; width: auto; }
.akt-users__search { display: flex; gap: .5rem; margin-bottom: 1rem; }
@media (max-width: 720px) {
	.akt-table thead { display: none; }
	.akt-table tr { display: grid; padding: .75rem 1rem; border-bottom: 1px solid var(--line); }
	.akt-table td { border: 0; padding: .2rem 0; text-align: left; }
	.akt-table td.akt-right { text-align: left; padding-top: .5rem; }
	.akt-row-actions { justify-content: flex-start; }
	.akt-grid--2 { grid-template-columns: 1fr; }
	.akt-span-2 { grid-column: auto; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(253, 252, 238, .75); padding-top: clamp(3rem, 6vw, 5rem); font-size: .95rem; }
.site-footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.4fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer__brand p { margin: 1.1rem 0; max-width: 34ch; }
.site-footer__social { display: flex; gap: 1rem; }
.site-footer h2 { color: var(--cream); font-family: var(--font-2); font-weight: 500; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer__col { display: grid; align-content: start; gap: .55rem; }
.site-footer a { color: rgba(253, 252, 238, .8); text-decoration: none; }
.site-footer a:hover { color: var(--cream); text-decoration: underline; }
.site-footer__contact a, .site-footer__contact span { display: inline-flex; align-items: center; gap: .55rem; }
.site-footer__contact svg { flex: none; opacity: .7; }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; border-top: 1px solid rgba(253, 252, 238, .12); padding-block: 1.4rem; font-size: .85rem; }
@media (max-width: 900px) { .site-footer__top { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__top { grid-template-columns: 1fr; } }

.float-contact { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); transition: transform .2s; }
.float-contact:hover { transform: scale(1.06); color: #fff; }
.lb-open .float-contact, .filter-open .float-contact, .nav-open .float-contact { display: none; }

/* ==========================================================================
   Loading animacije
   ========================================================================== */
.preloader {
	position: fixed; inset: 0; z-index: 10000;
	display: grid; place-items: center;
	background: var(--cream);
	transition: opacity .6s ease, visibility .6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.is-preloading body { overflow: hidden; }
.preloader__inner { display: grid; justify-items: center; gap: 1rem; }
.preloader__mark {
	display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px;
	background: var(--ink); color: var(--cream); font-family: var(--font-2); font-size: 1.8rem;
	animation: akt-pop .7s cubic-bezier(.2, .8, .2, 1.2) both;
}
.preloader__name { font-weight: 700; font-size: 1.4rem; letter-spacing: -.02em; animation: akt-rise .7s .15s ease both; }
.preloader__bar { width: 140px; height: 3px; border-radius: 99px; background: var(--cream-3); overflow: hidden; animation: akt-rise .7s .25s ease both; }
.preloader__bar span { display: block; height: 100%; width: 40%; border-radius: inherit; background: var(--ink); animation: akt-slide 1.1s ease-in-out infinite; }
.preloader.is-done .preloader__inner { transform: translateY(-10px); transition: transform .6s ease; }

@keyframes akt-pop { from { opacity: 0; transform: scale(.6) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes akt-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes akt-slide { 0% { transform: translateX(-110%); } 100% { transform: translateX(260%); } }
@keyframes akt-spin { to { transform: rotate(360deg); } }
@keyframes akt-shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }

/* Ulazak sadržaja posle učitavanja */
.hero__content, .quick-search, .hero__stats { animation: akt-rise .8s ease both; }
.quick-search { animation-delay: .12s; }
.hero__stats { animation-delay: .22s; }
.is-preloading .hero__content, .is-preloading .quick-search, .is-preloading .hero__stats { animation-play-state: paused; }

/* Filter: spinner preko rezultata dok se učitava */
.results { position: relative; }
.results.is-loading::after {
	content: ""; position: absolute; left: 50%; top: 120px; z-index: 5;
	width: 38px; height: 38px; margin-left: -19px; border-radius: 50%;
	border: 3px solid var(--cream-3); border-top-color: var(--ink);
	animation: akt-spin .7s linear infinite;
}
/* Slike se pojavljuju glatko, a dok ne stignu vidi se "shimmer" */
.card__media, .gallery__item { background: linear-gradient(90deg, var(--cream-2) 0, var(--cream-3) 50%, var(--cream-2) 100%) 0 0 / 800px 100%; animation: akt-shimmer 1.4s linear infinite; }
.card__media:has(img.is-loaded), .gallery__item:has(img.is-loaded) { animation: none; }
.js-on .card__img, .js-on .gallery__item img { opacity: 0; transition: opacity .5s ease, transform .6s ease, filter .3s; }
.js-on .card__img.is-loaded, .js-on .gallery__item img.is-loaded { opacity: 1; }

/* Gornja linija napretka pri prelasku na drugu stranicu */
.page-progress { position: fixed; top: 0; left: 0; z-index: 10001; height: 3px; width: 0; background: var(--gold); transition: width .4s ease, opacity .3s; }
.page-progress.is-active { width: 70%; transition: width 4s cubic-bezier(.1, .7, .2, 1); }

@media (prefers-reduced-motion: reduce) {
	.preloader { display: none !important; }
	.js-on .card__img, .js-on .gallery__item img { opacity: 1 !important; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   BOJE I DETALJI SA WEBFLOW SAJTA
   (tamnozeleni meni, braon footer, braon naslovi, kartice #f4f2e3)
   ========================================================================== */
:root {
	--sec: #f4efe3;          /* sekundarne sekcije na Webflow-u */
	--footer: #341c0b;       /* braon footer ("--braon" na Webflow-u) */
	--ink-75: rgba(253, 252, 238, .75);
	--card-line: rgba(30, 50, 45, .2);
	--text-2: #333;
}

/* Meni */
.site-header { background: var(--ink); color: var(--cream); border-radius: 0 0 16px 16px; }
.site-header.is-scrolled { border-color: transparent; box-shadow: 0 8px 30px rgba(15, 26, 23, .25); }
.brand, .brand:hover { color: var(--cream); }
.brand__mark { background: var(--cream); color: var(--ink); }
.nav__link, .nav__list--wp > li > a { color: var(--ink-75); font-weight: 400; font-size: 1.05rem; border-radius: var(--r); }
.nav__link:hover, .nav__list--wp > li > a:hover, .has-mega.is-open .nav__link { color: var(--cream); background: rgba(253, 252, 238, .08); }
.site-header .icon-btn { color: var(--cream); border-color: rgba(253, 252, 238, .3); }
.site-header .icon-btn:hover { background: rgba(253, 252, 238, .1); color: var(--cream); }
.site-header .icon-btn__dot { border-color: var(--ink); }
.site-header__search { background: var(--cream); color: var(--ink); }
.site-header__search:hover { background: #fff; color: var(--ink); }
.mega { background: var(--cream); color: var(--ink); }
.mega__col a { color: var(--ink); }
@media (max-width: 1020px) {
	.nav { background: var(--ink); color: var(--cream); }
	.nav-open .site-header { background: var(--ink); border-radius: 0; }
	.nav__link, .nav__list--wp > li > a { border-bottom-color: rgba(253, 252, 238, .14); border-radius: 0; color: var(--cream); background: none !important; }
	.mega__col a { color: var(--cream); }
	.mega__col a:hover { background: rgba(253, 252, 238, .08); color: var(--cream); }
	.mega__col a span, .mega__title { color: rgba(253, 252, 238, .6); }
	.nav__mobile-extra .btn--dark { background: var(--cream); color: var(--ink); }
	.nav__mobile-extra .btn--ghost { background: rgba(253, 252, 238, .1); color: var(--cream); }
	.nav__phone { color: var(--cream); }
}

/* Tipografija kao na Webflow-u */
.btn, .akt-btn { font-weight: 400; }
.eyebrow { font-family: var(--font); color: var(--ink); letter-spacing: .01em; font-size: .8rem; }
.eyebrow--light { color: rgba(253, 252, 238, .8); }
.page-hero, .section--sec { background: var(--sec); }
.page-hero h1, .section--sec h1 { color: var(--brown); }
.page-hero .lead, .subheading { color: var(--text-2); }
.section--alt { background: var(--cream-2); }
.wf-h4 { font-family: var(--font-2); font-weight: 400; letter-spacing: -.01em; }

/* Kartice */
.card, .akt-field-group, .contact-card, .faq__item, .service, .team__card, .zone, .contact-item, .akt-auth, .akt-dash__side, .akt-table-wrap {
	background: var(--cream-2); border-color: var(--card-line);
}
.zone:hover, a.contact-item:hover { background: var(--cream); }
.filter, .filter__head, .filter__foot { background: var(--cream-2); }
.filter { border-color: var(--card-line); }
.contact-card__divider span { background: var(--cream-2); }
.akt-table th { background: var(--cream); }

/* Footer – braon */
.site-footer { background: var(--footer); color: rgba(253, 252, 238, .75); }
.cta { background: var(--ink); }

/* ==========================================================================
   KURSOR KOJI PRATI MIŠ (isti kao na Webflow-u)
   ========================================================================== */
.cursor1 {
	position: fixed; left: 0; top: 0; z-index: 999998;
	width: 1rem; height: 1rem; border-radius: 1000rem;
	background-color: var(--ink-2); border: 1px solid var(--ink-2);
	pointer-events: none; opacity: 0;
	transition: background-color .5s cubic-bezier(.77, 0, .175, 1), height .5s cubic-bezier(.86, 0, .07, 1), width .5s cubic-bezier(.86, 0, .07, 1), opacity .3s;
	will-change: transform;
}
.cursor1.is-visible { opacity: 1; }
body:has(a:hover) .cursor1, body:has(button:hover) .cursor1, body:has(.btn:hover) .cursor1, body:has(label:hover) .cursor1 {
	width: 2rem; height: 2rem; background-color: rgba(253, 252, 238, .8);
}
@media (hover: none), (pointer: coarse) { .cursor1 { display: none; } }

/* ==========================================================================
   LOTTIE LOADER (ista animacija kao na Webflow-u)
   ========================================================================== */
.lottie-loader {
	position: fixed; inset: 0; z-index: 999999;
	display: flex; align-items: center; justify-content: center;
	background-color: var(--cream-2);
	transition: opacity .5s ease;
}
.lottie-loader.is-done { opacity: 0; pointer-events: none; }
.lottie-loader { transition: opacity .4s ease; }
.lottie-loader__anim { width: min(500px, 80vw); height: min(500px, 80vw); }
.is-preloading body { overflow: hidden; }

/* ==========================================================================
   NOVE SEKCIJE SA WEBFLOW-A
   ========================================================================== */

/* Traka sa slikama koja se pomera (marquee) */
.marquee { overflow: hidden; padding-block: 1rem 0; }
.marquee__track { display: flex; gap: 1rem; width: max-content; animation: akt-marquee 40s linear infinite; align-items: flex-end; }
.marquee__item { flex: none; border-radius: var(--r-lg); overflow: hidden; }
.marquee__item img { width: 100%; height: 100%; object-fit: cover; }
.marquee__item--wide { width: clamp(240px, 26vw, 400px); aspect-ratio: 4 / 3; }
.marquee__item--sq { width: clamp(170px, 18vw, 280px); aspect-ratio: 1; }
@keyframes akt-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Sticky kartice sa slikama koje se menjaju na skrol */
.stack { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.stack__media { position: sticky; top: 120px; aspect-ratio: 2 / 3; max-height: calc(100vh - 160px); width: 100%; border-radius: var(--r); overflow: hidden; }
.stack__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s ease, transform 1.2s ease; }
.stack__media img.is-active { opacity: 1; transform: none; }
.stack__cards { display: flex; flex-direction: column; gap: clamp(2rem, 40vh, 30rem); padding-bottom: 10vh; }
.stack__card {
	position: sticky; top: 120px;
	background: var(--ink); color: var(--cream);
	border: 1px solid rgba(253, 252, 238, .08);
	border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.5rem);
	min-height: 360px; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
	box-shadow: 0 20px 50px rgba(15, 26, 23, .18);
}
.stack__card:nth-child(2) { top: calc(120px + 1rem); }
.stack__card:nth-child(3) { top: calc(120px + 2rem); }
.stack__card:nth-child(4) { top: calc(120px + 3rem); }
.stack__card .eyebrow { color: rgba(253, 252, 238, .7); }
.stack__card h2 { color: var(--cream); font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin-bottom: .6rem; }
.stack__card p { color: rgba(253, 252, 238, .8); font-size: 1.1rem; margin: 0; max-width: 46ch; }
.stack__card .btn { align-self: flex-start; }
.stack__card-img { display: none; }
@media (max-width: 860px) {
	.stack { grid-template-columns: 1fr; }
	.stack__media { display: none; }
	.stack__card-img { display: block !important; width: calc(100% + 3rem); max-width: none; margin: -1.5rem -1.5rem 0; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-lg) var(--r-lg) 0 0; }
	.stack__cards { gap: 1rem; padding-bottom: 0; }
	.stack__card { position: relative; top: 0 !important; min-height: 0; }
}

/* 4 kartice sa slikom (Lideri u industriji…) */
.tiles--4 { grid-template-columns: repeat(4, 1fr); }
.tile { overflow: hidden; }
.tile__img { transform: scale(1.15); transition: transform .3s linear; }
.tile .tile__text { gap: .45rem; }
.tile__btn { margin-top: .6rem; align-self: flex-start; justify-self: start; display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .9rem; border-radius: var(--r); background: rgba(253, 252, 238, .14); color: var(--cream); font-size: .9rem; backdrop-filter: blur(6px); }
.tile:hover .tile__btn { background: var(--cream); color: var(--ink); }
@media (max-width: 1100px) { .tiles--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tiles--4 { grid-template-columns: 1fr; } }

/* Cenovnik (Standard / Premium / Elite) */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.price-card { background: var(--cream-2); border: 1px solid var(--card-line); border-radius: var(--r-xl); padding: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.price-card--featured { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.price-card--featured h3, .price-card--featured .price-card__price { color: var(--cream); }
.price-card--featured .price-card__note, .price-card--featured li { color: rgba(253, 252, 238, .8); }
.price-card h3 { font-family: var(--font-2); font-weight: 400; font-size: 1.3rem; margin: 0; }
.price-card__from { font-size: .85rem; color: var(--muted); }
.price-card--featured .price-card__from { color: rgba(253, 252, 238, .6); }
.price-card__price { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.price-card__price small { font-size: 1rem; font-weight: 400; color: var(--muted); }
.price-card--featured .price-card__price small { color: rgba(253, 252, 238, .6); }
.price-card__note { margin: 0; color: var(--muted); }
.price-card ul { list-style: none; margin: 0; padding: 1rem 0 0; border-top: 1px solid var(--card-line); display: grid; gap: .55rem; flex: 1; }
.price-card--featured ul { border-color: rgba(253, 252, 238, .15); }
.price-card li { display: flex; gap: .55rem; align-items: center; font-size: .95rem; }
.price-card li svg { flex: none; color: var(--ink-2); }
.price-card--featured li svg { color: #e9d9b8; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; max-width: 520px; } }

/* Traka "Doživite luksuz" sa slikom u pozadini */
.band { position: relative; overflow: hidden; border-radius: var(--r-xl); min-height: clamp(360px, 55vh, 560px); display: flex; align-items: flex-end; padding: clamp(1.5rem, 4vw, 3.5rem); color: var(--cream); }
.band__img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 26, 23, .1), rgba(15, 26, 23, .7)); }
.band__content { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; width: 100%; }
.band h2 { color: var(--cream); max-width: 18ch; margin: 0; font-size: clamp(1.8rem, 4vw, 3.2rem); }

/* Utisci klijenata */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.review { background: var(--cream-2); border: 1px solid var(--card-line); border-radius: var(--r-xl); padding: 1.75rem; display: flex; flex-direction: column; gap: 1.25rem; }
.review__stars { color: var(--gold); letter-spacing: .15em; }
.review p { margin: 0; font-size: 1.1rem; line-height: 1.6; flex: 1; }
.review__who { display: flex; align-items: center; gap: .8rem; }
.review__who img, .review__who .akt-ph { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.review__who strong { display: block; }
.review__who span { font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; max-width: 560px; } }

/* Kontakt kartice (Email / Telefon / Adresa) */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.contact-cards .contact-item { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.5rem; }
.contact-cards .contact-item strong { font-size: 1.1rem; }
.contact-cards .contact-item small { font-size: .9rem; }
.contact-cards h3 { font-family: var(--font-2); font-weight: 400; margin: 0; font-size: 1.1rem; }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }

/* Hero na unutrašnjim stranama sa slikom (Kompanija, Kontakt, Usluge) */
.page-hero--split .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.page-hero--split .page-hero__media { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3; }
.page-hero--split .page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.page-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.page-hero__grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-lg); }
.page-hero__grid img:nth-child(1), .page-hero__grid img:nth-child(4) { aspect-ratio: 3 / 4; }
.page-hero__grid img:nth-child(2) { align-self: end; }
@media (max-width: 860px) { .page-hero--split .container { grid-template-columns: 1fr; } }

.page-hero--overlay { position: relative; overflow: hidden; color: var(--cream); background: var(--ink); padding-block: clamp(5rem, 14vw, 10rem); }
.page-hero--overlay .page-hero__bg { position: absolute; inset: -12% 0; display: grid; grid-template-columns: 1fr 1fr; }
.page-hero--overlay .page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--overlay::after { content: ""; position: absolute; inset: 0; background: rgba(15, 26, 23, .62); }
.page-hero--overlay .container { position: relative; z-index: 1; }
.page-hero--overlay h1 { color: var(--cream); font-size: clamp(2.2rem, 5.5vw, 4.4rem); max-width: 18ch; }
.page-hero--overlay .crumbs, .page-hero--overlay .crumbs a { color: rgba(253, 252, 238, .75); }
.page-hero__tags { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: clamp(1.1rem, 2vw, 1.5rem); color: rgba(253, 252, 238, .85); margin: 0 0 .5rem; }
.page-hero__tagline { color: rgba(253, 252, 238, .65); font-style: italic; margin: 0; }

/* Usluge sa slikom */
.services--img { grid-template-columns: repeat(4, 1fr); }
.services--img .service { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.services--img .service img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.services--img .service__body { padding: 1.4rem 1.5rem 1.6rem; }
.services--img .service h3 { margin: 0 0 .4rem; font-family: var(--font-2); font-weight: 400; }
@media (max-width: 1100px) { .services--img { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services--img { grid-template-columns: 1fr; } }

/* Velika izjava (citat) */
.quote-big { font-size: clamp(1.3rem, 2.6vw, 2rem); line-height: 1.45; letter-spacing: -.01em; max-width: 34em; margin: 0 auto; text-align: center; color: var(--ink); }
.quote-big__who { display: flex; justify-content: center; align-items: center; gap: .8rem; margin-top: 2rem; }
.quote-big__who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }

.team__social { display: flex; gap: .75rem; margin-top: 1rem; font-size: .85rem; }
.team__social a { color: var(--muted); }

/* Radno vreme (Kontakt) */
.hours { display: grid; grid-template-columns: 1fr auto; max-width: 520px; border: 1px solid var(--card-line); border-radius: var(--r-xl); overflow: hidden; background: var(--cream-2); }
.hours h3 { font-family: var(--font-2); font-weight: 400; font-size: .95rem; margin: 0; padding: .9rem 1.25rem; background: var(--cream); border-bottom: 1px solid var(--card-line); }
.hours div { display: contents; }
.hours span { padding: .7rem 1.25rem; border-bottom: 1px solid var(--line); }
.hours span:nth-last-child(-n+2) { border-bottom: 0; }

/* ==========================================================================
   SKROL ANIMACIJE (Slide in from bottom, parallax, zoom out)
   ========================================================================== */
.js-on [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1.3s cubic-bezier(.2, .7, .2, 1), transform 1.3s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js-on [data-reveal].is-in { opacity: 1; transform: none; }
[data-parallax] { will-change: transform; }
.mega { transform: translateY(12px); transition: opacity .5s ease, transform .5s ease, visibility .5s; }
.has-mega.is-open .mega { transform: none; }

@media (prefers-reduced-motion: reduce) {
	.marquee__track { animation: none; }
	.js-on [data-reveal] { opacity: 1; transform: none; }
	.lottie-loader, .cursor1 { display: none !important; }
}
.contact-bottom { margin-top: 2.5rem; }
.page-hero--split .lead { max-width: 54ch; }
.js-on .card[data-reveal].is-in:hover { transform: translateY(-2px); }

/* ==========================================================================
   v1.2 – Kontakt poravnanje
   ========================================================================== */
.contact-grid { align-items: stretch; }
.contact-left { display: grid; gap: 1rem; align-content: start; }
.contact-list { grid-template-columns: 1fr; }
.contact-list .contact-item { min-height: 0; }
.contact-list .prose { grid-column: 1 / -1; }
.contact-left .hours { max-width: none; width: 100%; grid-template-columns: 1fr auto; }
.contact-left .hours span:nth-child(2) { text-align: right; }
.hours div span:last-child { text-align: right; font-weight: 600; }
.contact-grid > .contact-card { align-self: stretch; display: flex; flex-direction: column; }
.contact-grid > .contact-card .akt-inquiry { flex: 1; }
.contact-grid > .contact-card .akt-inquiry textarea { flex: 1; min-height: 140px; }
@media (max-width: 560px) {
	.contact-list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   v1.2 – Filter: jedna boja, zaobljeno sa svih strana, lepši checkbox-ovi
   ========================================================================== */
.search__filters { overflow: visible; max-height: none; border-radius: 0; }
.filter {
	display: flex; flex-direction: column;
	max-height: calc(100vh - var(--header-h) - 2rem);
	background: var(--cream-2); border: 1px solid var(--card-line); border-radius: var(--r-xl);
	overflow: hidden; /* ivice zaobljene i kad se skroluje */
}
.filter__head { position: static; background: transparent; border-radius: 0; padding: 1.1rem 1.25rem; }
.filter__body { flex: 1; overflow-y: auto; padding: .25rem 1.25rem 1rem; scrollbar-width: thin; scrollbar-color: rgba(30, 50, 45, .25) transparent; }
.filter__body::-webkit-scrollbar { width: 6px; }
.filter__body::-webkit-scrollbar-thumb { background: rgba(30, 50, 45, .25); border-radius: 99px; }
.filter__foot { position: static; background: transparent; border-radius: 0; }
.filter input[type=text], .filter input[type=search], .filter select { background-color: var(--cream); border-color: var(--card-line); }
.filter .segmented { background: var(--cream-3); }
.filter .chip { background: var(--cream); border-color: var(--card-line); }
.filter .chip:hover { border-color: var(--ink); }
.filter .chip--check:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.filter .chips--quick .chip { background: transparent; }
.checkrow { padding: .45rem .5rem; margin: 0 -.5rem; border-radius: var(--r); transition: background .15s; }
.checkrow:hover { background: var(--cream); }
.checkrow em { background: var(--cream); border: 1px solid var(--card-line); min-width: 26px; text-align: center; }
.checkrow.is-empty { opacity: .55; }
.loc-group + .loc-group { margin-top: .9rem; }
.loc-group__title { display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: .9rem; margin-bottom: .2rem; }
.loc-group__title em { font-style: normal; font-weight: 400; font-size: .78rem; color: var(--muted); }

/* Checkbox i radio u stilu sajta */
input[type=checkbox], input[type=radio]:not(.segmented input):not(.chip input) {
	-webkit-appearance: none; appearance: none;
	width: 20px; height: 20px; flex: none; margin: 0; cursor: pointer;
	border: 1.5px solid rgba(30, 50, 45, .35); border-radius: 6px; background: var(--cream);
	display: inline-grid; place-content: center; transition: background .15s, border-color .15s;
}
input[type=radio]:not(.segmented input):not(.chip input) { border-radius: 50%; }
input[type=checkbox]::before {
	content: ""; width: 11px; height: 11px; transform: scale(0); transition: transform .12s ease;
	background: var(--cream);
	clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
input[type=radio]:not(.segmented input):not(.chip input)::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cream); transform: scale(0); transition: transform .12s ease; }
input[type=checkbox]:checked, input[type=radio]:not(.segmented input):not(.chip input):checked { background: var(--ink); border-color: var(--ink); }
input[type=checkbox]:checked::before, input[type=radio]:checked::before { transform: scale(1); }
input[type=checkbox]:hover, input[type=radio]:hover { border-color: var(--ink); }
.chip--check input, .segmented input { -webkit-appearance: auto; appearance: auto; }

/* ==========================================================================
   v1.2 – Padajući meniji (custom select)
   ========================================================================== */
.aselect { position: relative; width: 100%; }
.aselect select { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.aselect__btn {
	width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: .5rem;
	padding: .75rem .95rem; border: 1px solid var(--line-2); border-radius: var(--r);
	background: #fff; color: var(--ink); font: inherit; text-align: left; cursor: pointer;
}
.aselect__btn:focus-visible, .aselect.is-open .aselect__btn { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(30, 50, 45, .12); }
.aselect__btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aselect__btn svg { flex: none; transition: transform .2s; }
.aselect.is-open .aselect__btn svg { transform: rotate(180deg); }
.aselect__list {
	position: absolute; left: 0; top: calc(100% + 6px); z-index: 60; min-width: 100%; max-height: 320px; overflow-y: auto;
	background: var(--cream); border: 1px solid var(--card-line); border-radius: var(--r-lg);
	box-shadow: 0 18px 40px rgba(15, 26, 23, .16); padding: .4rem; list-style: none; margin: 0;
	opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.aselect.is-open .aselect__list { opacity: 1; visibility: visible; transform: none; }
.aselect.is-up .aselect__list { top: auto; bottom: calc(100% + 6px); }
.aselect__group { padding: .55rem .7rem .25rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.aselect__opt { padding: .55rem .7rem; border-radius: var(--r-sm); cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; white-space: nowrap; }
.aselect__opt.is-grouped { padding-left: 1.2rem; }
.aselect__opt:hover, .aselect__opt.is-active { background: var(--cream-2); }
.aselect__opt[aria-selected=true] { background: var(--ink); color: var(--cream); }
.qs-field .aselect__btn { border: 0; background: transparent; min-height: 0; padding: .25rem .2rem; font-weight: 600; box-shadow: none !important; }
.qs-field .aselect__list { min-width: 240px; }
.filter .aselect__btn { background: var(--cream); border-color: var(--card-line); min-height: 42px; padding: .55rem .7rem; font-size: .92rem; }
.select-wrap .aselect { width: auto; min-width: 210px; }
.select-wrap .aselect__btn { min-height: 40px; padding: .5rem .8rem; font-size: .9rem; }
.select-wrap .aselect__list { left: auto; right: 0; }
@media (max-width: 1020px) {
	.filter { max-height: none; height: 100%; border-radius: 0; border: 0; }
	.filter__foot { border-top: 1px solid var(--card-line); background: var(--cream-2); }
}

/* Forma za oglas – lokacija */
.akt-grid--loc { grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, 1.1fr); gap: 1.25rem 1.5rem; margin-top: .5rem; }
.akt-grid--loc > label { display: grid; gap: .5rem; }
.akt-grid--loc + .akt-small { margin-top: .75rem; }
.akt-small { font-size: .85rem; margin: 0; }
.aselect.is-disabled { pointer-events: none; opacity: .55; }
select:disabled { opacity: .55; }
@media (max-width: 760px) { .akt-grid--loc { grid-template-columns: 1fr; } }

/* Fotografije u izmeni oglasa */
.akt-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; }
.akt-photo { background: var(--cream); border: 1px solid var(--card-line); border-radius: var(--r-lg); overflow: hidden; display: grid; }
.akt-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.akt-photo label { display: flex !important; align-items: center; gap: .45rem; padding: .45rem .7rem; font-size: .85rem; font-weight: 400 !important; cursor: pointer; }
.akt-photo__remove { border-top: 1px solid var(--line); color: var(--danger); }
.akt-photo:has(.akt-photo__remove input:checked) img { opacity: .35; filter: grayscale(1); }
.akt-photo:has(.akt-photo__cover input:checked) { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }

/* Status oglasa u tabeli */
.akt-status { display: inline-block; padding: .15rem .6rem; border-radius: 99px; font-size: .8rem; background: #e3efe6; color: var(--ok); }
.akt-status--draft { background: var(--cream-3); color: var(--muted); }

/* Zone po gradovima na početnoj */
.zones-city + .zones-city { margin-top: 2rem; }
.zones-city__head { display: inline-flex; align-items: baseline; gap: .6rem; margin-bottom: .9rem; text-decoration: none; }
.zones-city__head strong { font-size: 1.35rem; letter-spacing: -.02em; }
.zones-city__head span { color: var(--muted); font-size: .9rem; }

/* Paginacija i brojač za veliki broj oglasa */
.toolbar__range { color: var(--muted); font-size: .88rem; margin-left: .5rem; }
.akt-pagination { flex-wrap: wrap; align-items: center; }
.akt-pagination__nav { padding-inline: 1rem; min-width: auto !important; }
.akt-pagination__gap { padding: 0 .3rem; color: var(--muted); }
@media (max-width: 560px) {
	.akt-pagination a { min-width: 40px; height: 40px; }
	.akt-pagination__nav { font-size: 0; padding-inline: .9rem; }
	.akt-pagination__nav::after { font-size: 1.1rem; }
	.akt-pagination__nav[aria-label^="Prethodna"]::after { content: "‹"; }
	.akt-pagination__nav[aria-label^="Sledeća"]::after { content: "›"; }
	.toolbar__range { display: block; margin: .15rem 0 0; }
}

/* Panel oglasa (1000+ oglasa) */
.akt-list-filter { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 0 0 .75rem; padding: .9rem; background: var(--cream-2); border: 1px solid var(--card-line); border-radius: var(--r-lg); }
.akt-list-filter input[type=search] { flex: 2 1 240px; width: auto; }
.akt-list-filter select, .akt-list-filter .aselect { flex: 1 1 150px; width: auto; }
.akt-list-filter .aselect__btn { background: #fff; }
.akt-actions { display: flex; gap: .9rem; justify-content: flex-end; }
.akt-actions a { text-decoration: none; font-weight: 500; }
.akt-actions__main { color: var(--ink); text-decoration: underline !important; }
.akt-table--listings td { font-size: .9rem; }
@media (max-width: 720px) {
	.akt-list-filter { padding: .75rem; }
	.akt-list-filter > * { flex: 1 1 100% !important; }
	.akt-table--listings tr { grid-template-columns: 64px 1fr; column-gap: .75rem; }
	.akt-table--listings td.akt-table__thumb { grid-row: span 2; }
	.akt-table--listings td[data-label="m²"], .akt-table--listings td[data-label="Dodat"] { display: none; }
	.akt-table--listings td:not(.akt-table__thumb) { grid-column: 2; }
	.akt-actions { justify-content: flex-start; padding-top: .4rem !important; }
}

.card__facts { gap: .25rem .9rem; }
.card__facts li { white-space: nowrap; }
.card__facts li + li::before { margin-right: .9rem; margin-left: -.45rem; }
@media (min-width: 721px) {
	.akt-table--listings td:nth-child(2) { min-width: 260px; }
	.akt-table--listings th:nth-child(5), .akt-table--listings td:nth-child(5) { display: none; }
}
@media (min-width: 721px) and (max-width: 1280px) {
	.akt-table--listings th:nth-child(7), .akt-table--listings td:nth-child(7) { display: none; }
}
/* Mobilni nalog: sadržaj ne sme da bude širi od ekrana */
.akt-dash > *, .akt-dash__main, .contact-grid > *, .listing__layout > *, .search > * { min-width: 0; }
.akt-dash__main .akt-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); }
@media (max-width: 560px) {
	.akt-field-group { padding: 1rem; }
	.akt-dash__main h2 { font-size: 1.35rem; }
	.akt-form__row--end { flex-direction: column-reverse; align-items: stretch; }
	.akt-form__row--end .akt-btn { width: 100%; }
}
@media (max-width: 560px) {
	.akt-form__row--end { display: grid; grid-template-columns: 1fr; gap: .6rem; }
	.akt-form__row--end > * { min-width: 0; white-space: normal; }
}
.akt-form, .akt-fields, .akt-field-group { grid-template-columns: minmax(0, 1fr); }

/* ==========================================================================
   v1.3 – JEZICI, TAMNA TEMA, TALASI U POZADINI
   ========================================================================== */

/* Prebacivač jezika */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 99px; border: 1px solid rgba(253, 252, 238, .3); }
.lang-switch a { display: grid; place-items: center; min-width: 32px; height: 30px; padding: 0 .45rem; border-radius: 99px; font-family: var(--font-2); font-size: .74rem; font-weight: 600; letter-spacing: .06em; color: var(--ink-75); text-decoration: none; transition: background .2s, color .2s; }
.lang-switch a:hover { color: #fdfcee; background: rgba(253, 252, 238, .1); }
.lang-switch a.is-active { background: #fdfcee; color: #1e322d; }
.lang-switch--mobile { display: none; }
@media (max-width: 1020px) {
	.lang-switch--header { display: none; }
	.lang-switch--mobile { display: inline-flex; align-self: flex-start; justify-self: start; width: max-content; margin-bottom: .5rem; }
	.lang-switch--mobile a { min-width: 44px; height: 36px; font-size: .82rem; }
}

/* Dugme za temu: u svetloj temi mesec, u tamnoj sunce */
.theme-toggle__sun { display: none; }
[data-theme="dark"] .theme-toggle__sun { display: block; }
[data-theme="dark"] .theme-toggle__moon { display: none; }
.theme-toggle svg { transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.theme-toggle:hover svg { transform: rotate(-20deg); }

/* --- Tamna tema: tokeni --- */
:root { --surface: #fff; --field: #fff; --wave: rgba(30, 50, 45, .34); }
[data-theme="dark"],
[data-theme="dark"] .mega {
	color-scheme: dark;
	--cream: #111816;
	--cream-2: #18211e;
	--cream-3: #23302b;
	--ink: #ece9d6;
	--ink-2: #c9d3c4;
	--brown: #e2cdb6;
	--gold: #c9a56b;
	--muted: rgba(236, 233, 214, .66);
	--line: rgba(236, 233, 214, .12);
	--line-2: rgba(236, 233, 214, .2);
	--card-line: rgba(236, 233, 214, .16);
	--sec: #151d1a;
	--text-2: #d9d6c4;
	--danger: #e07a68;
	--ok: #7fc7a1;
	--surface: #18211e;
	--field: #1d2824;
	--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
	--shadow-lg: 0 24px 60px rgba(0, 0, 0, .45);
	--wave: rgba(236, 233, 214, .26);
}
/* Delovi koji su uvek tamni (meni, slike, kalkulator, footer…) zadržavaju originalne boje */
[data-theme="dark"] .site-header,
[data-theme="dark"] .site-footer,
[data-theme="dark"] .hero__card,
[data-theme="dark"] .cta,
[data-theme="dark"] .calc,
[data-theme="dark"] .band,
[data-theme="dark"] .tile,
[data-theme="dark"] .stack__card,
[data-theme="dark"] .page-hero--overlay,
[data-theme="dark"] .price-card--featured,
[data-theme="dark"] .mega__promo,
[data-theme="dark"] .lightbox,
[data-theme="dark"] .gallery__more,
[data-theme="dark"] .lottie-loader,
[data-theme="dark"] .skip-link {
	--cream: #fdfcee;
	--cream-2: #f4f2e3;
	--cream-3: #ebe8d5;
	--ink: #1e322d;
	--ink-2: #35584f;
	--muted: rgba(30, 50, 45, .68);
	--line: rgba(30, 50, 45, .12);
	--line-2: rgba(30, 50, 45, .2);
	--card-line: rgba(30, 50, 45, .2);
	--surface: #fff;
	--field: #fff;
}
/* …ali polja i dugmad unutar kalkulatora/hero kartice ostaju čitljiva */
[data-theme="dark"] .site-header { background: #1a2b26; }
[data-theme="dark"] .site-footer { background: #22140a; }
[data-theme="dark"] .cta,
[data-theme="dark"] .calc,
[data-theme="dark"] .stack__card,
[data-theme="dark"] .price-card--featured { background: #1e322d; border: 1px solid rgba(236, 233, 214, .1); }

/* Bele površine → tamne kartice */
[data-theme="dark"] .card,
[data-theme="dark"] .filter,
[data-theme="dark"] .filter__foot,
[data-theme="dark"] .akt-field-group,
[data-theme="dark"] .contact-card,
[data-theme="dark"] .contact-card__divider span,
[data-theme="dark"] .faq__item,
[data-theme="dark"] .team__card,
[data-theme="dark"] .service,
[data-theme="dark"] .contact-item,
[data-theme="dark"] .akt-auth,
[data-theme="dark"] .akt-dash__side,
[data-theme="dark"] .akt-table-wrap,
[data-theme="dark"] .zone:hover,
[data-theme="dark"] .aselect__list { background: var(--surface); }
[data-theme="dark"] input:not([type=checkbox]):not([type=radio]):not([type=range]),
[data-theme="dark"] select,
[data-theme="dark"] textarea,
[data-theme="dark"] .aselect__btn,
[data-theme="dark"] .select-wrap select,
[data-theme="dark"] .akt-list-filter .aselect__btn { background-color: var(--field); color: var(--ink); border-color: var(--line-2); }
[data-theme="dark"] .filter .aselect__btn,
[data-theme="dark"] .filter input[type=text],
[data-theme="dark"] .filter input[type=search],
[data-theme="dark"] .filter select { background-color: var(--cream-2); }
[data-theme="dark"] ::placeholder { color: rgba(236, 233, 214, .4); }
[data-theme="dark"] .hero__card .quick-search input,
[data-theme="dark"] .hero__card .quick-search select,
[data-theme="dark"] .hero__card .aselect__btn { background-color: #fff; color: #1e322d; }
[data-theme="dark"] .btn--light:hover,
[data-theme="dark"] .site-header__search:hover { background: #fdfcee; color: #1e322d; }
[data-theme="dark"] .btn--dark:hover,
[data-theme="dark"] .akt-btn--dark:hover { background: #fdfcee; color: #1e322d; }
[data-theme="dark"] .card__media,
[data-theme="dark"] .split__media,
[data-theme="dark"] .gallery__item { background: var(--cream-3); }
[data-theme="dark"] img { filter: brightness(.92); }
[data-theme="dark"] .site-header img, [data-theme="dark"] .lottie-loader img { filter: none; }
[data-theme="dark"] .map iframe { filter: invert(.9) hue-rotate(180deg) brightness(.95) contrast(.9); }
[data-theme="dark"] .cursor1 { background-color: #c9d3c4; border-color: #c9d3c4; }

/* Glatki prelaz pri promeni teme (samo boje, kratko) */
.theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after { transition: background-color .35s ease, color .35s ease, border-color .35s ease !important; }

/* Talasi u pozadini (lagani canvas iza celog sadržaja) */
.bg-waves { position: fixed; inset: 0; z-index: -1; pointer-events: none; width: 100vw; height: 100vh; opacity: 0; transition: opacity 1.2s ease; }
.bg-waves.is-on { opacity: 1; }
/* Sekcije sa drugom bojom pozadine su blago providne, da se talasi vide i preko njih */
.section--alt { background: color-mix(in srgb, var(--cream-2) 82%, transparent); }
.page-hero:not(.page-hero--overlay), .section--sec { background: color-mix(in srgb, var(--sec) 82%, transparent); }

/* ==========================================================================
   v1.3.1 – TELEFON: manje i preglednije, bez skakanja strane
   ========================================================================== */

/* Upload fotografija: sopstveno dugme umesto "Choose Files", tekst ostaje u kutiji */
.akt-upload { position: relative; min-width: 0; padding: 1.5rem 1rem; gap: .5rem; }
.akt-upload__input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.akt-upload__btn { display: inline-flex; align-items: center; gap: .45rem; padding: .65rem 1.1rem; border-radius: 99px; background: var(--ink); color: var(--cream); font-weight: 600; font-size: .95rem; }
.akt-upload__hint { max-width: 100%; overflow-wrap: anywhere; font-size: .88rem; line-height: 1.45; }
.akt-upload__count:empty { display: none; }
.akt-upload__count { font-weight: 600; color: var(--ink); font-size: .9rem; }
.akt-upload:focus-within { border-color: var(--ink); }

/* Odjava odvojena od kartica naloga */
.akt-dash__logout { display: flex; align-items: center; gap: .5rem; margin-top: .75rem; padding: .75rem .8rem .25rem; border-top: 1px solid var(--line); border-radius: 0 !important; color: var(--danger) !important; text-decoration: none; font-weight: 500; font-size: .92rem; }
.akt-dash__logout:hover { text-decoration: underline; }

/* Meni na telefonu: padajući deo "Nekretnine" bez svetle kutije */
@media (max-width: 1020px) {
	.mega, [data-theme="dark"] .mega { background: transparent; border: 0; box-shadow: none; --cream: #fdfcee; --ink: #1e322d; }
	.mega__col a { padding: .55rem .25rem; }
	.mega__title { padding-inline: .25rem; }
}

@media (max-width: 640px) {
	/* Sve što je u rem jedinicama postaje ~10% manje */
	html { font-size: 14.5px; }
	body { font-size: 15px; }
	:root { --header-h: 60px; --gutter: 16px; --r-xl: 1.1rem; }

	/* iPhone ne zumira stranu kad se klikne u polje samo ako je tekst bar 16px */
	input[type=text], input[type=email], input[type=tel], input[type=password], input[type=search], input[type=number], input[type=url], select, textarea,
	.range input, .range select, .select-wrap select, .filter input, .filter select { font-size: 16px !important; }
	input[type=text], input[type=email], input[type=tel], input[type=password], input[type=search], input[type=number], select, textarea { min-height: 44px; padding: .6rem .8rem; }

	h1 { font-size: clamp(1.7rem, 7.5vw, 2.1rem); }
	h2 { font-size: clamp(1.4rem, 6vw, 1.7rem); }
	.lead { font-size: 1rem; }
	.section { padding-block: 2.5rem; }
	.section--tight { padding-block: 1.75rem; }
	.page-hero { padding-block: 1.75rem 1.25rem; }

	/* Header */
	.brand { font-size: 1.05rem; gap: .5rem; }
	.brand__mark { width: 32px; height: 32px; border-radius: 9px; font-size: 1rem; }
	.brand__logo { max-height: 32px; width: auto; }
	.site-header__actions { gap: .35rem; }
	.icon-btn { width: 38px; height: 38px; }
	.icon-btn svg { width: 18px; height: 18px; }
	.icon-btn__dot { top: 7px; right: 7px; }
	.nav { padding-top: .5rem; gap: 1rem; }
	.nav__link, .nav__list--wp > li > a { padding: .8rem .25rem; font-size: 1.05rem; }
	.nav__mobile-extra .btn { padding: .75rem 1rem; }

	/* Dugmad */
	.btn, .akt-btn { padding: .75rem 1.1rem; font-size: .95rem; }
	.btn--sm, .akt-btn--sm { padding: .5rem .8rem; font-size: .85rem; }

	/* Početna */
	.hero { padding-block: .5rem 2rem; }
	.hero__card { min-height: 0; padding: 1.25rem 1rem 1rem; gap: 1.25rem; padding-top: 4rem; }
	.hero__title { font-size: clamp(1.9rem, 9vw, 2.4rem); }
	.hero__lead { font-size: .98rem; }

	/* Kartice oglasa */
	.card__body { padding: 1rem; }
	.card__price { font-size: 1.2rem; }

	/* Nalog: kartice u dva reda umesto trake koja se skroluje, odjava posebno */
	.akt-dash { gap: 1.25rem; }
	.akt-dash__side { padding: .9rem; }
	.akt-dash__user { padding-bottom: .75rem; margin-bottom: .6rem; }
	.akt-avatar { width: 38px; height: 38px; }
	.akt-dash__nav { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; overflow: visible; }
	.akt-dash__nav a { white-space: normal; text-align: center; padding: .6rem .5rem; font-size: .92rem; background: var(--cream); border: 1px solid var(--line); }
	.akt-dash__nav a.is-active { border-color: var(--ink); }
	.akt-dash__logout { justify-content: center; margin-top: 1rem; padding-top: .9rem; }
	.akt-dash__main h2 { font-size: 1.3rem; }

	/* Forma za oglas */
	.akt-field-group { padding: 1rem; gap: .75rem; }
	.akt-form label:not(.akt-check):not(.chip):not(.akt-upload) { font-size: .95rem; gap: .3rem; }
	.akt-grid--loc { gap: .75rem; }
	.akt-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.contact-card, .akt-auth { padding: 1.1rem; }
}

/* Bez slučajnog horizontalnog pomeranja na telefonu */
html, body { overflow-x: clip; }
@supports not (overflow: clip) { body { overflow-x: hidden; } }
