/* Bez Limita – tema. Crvena #D52B1E, crna #0E0F11, Plus Jakarta Sans. */
:root {
	--red: #D52B1E;
	--red-d: #B4231A;
	--red-l: #FF5A4E;
	--black: #0E0F11;
	--ink: #111214;
	--ink-2: #2A2C30;
	--muted: #55585E;
	--line: #E6E6E8;
	--bg: #F6F6F7;
	--white: #FFFFFF;
	--green: #1E7A4C;
	--wa: #1FA855;
	--radius: 12px;
	--shadow: 0 4px 18px rgba(14, 15, 17, .07);
	--shadow-lg: 0 18px 50px rgba(14, 15, 17, .16);
	--font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--wrap: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-d); }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.015em; font-weight: 800; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.ico { flex: none; display: inline-block; vertical-align: middle; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red-l); outline-offset: 2px; }

/* ---------- Gumbi ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 20px; border-radius: 8px; border: 2px solid transparent; font-weight: 700; font-size: 15px; line-height: 1; cursor: pointer; text-decoration: none; transition: background .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-d); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .1); }
.btn-line { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #178a45; color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.link-arrow:hover { color: var(--red); }
.link-arrow .ico { transition: transform .15s; }
.link-arrow:hover .ico { transform: translateX(3px); }

.kicker { display: flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: .16em; font-weight: 700; text-transform: uppercase; color: #C9CBCF; margin-bottom: 16px; }
.kicker i { width: 32px; height: 3px; background: var(--red); display: block; }
.kicker-dark { color: #3A3D42; }

/* ---------- Zaglavlje ---------- */
.topbar { background: var(--black); color: #B8BBC0; font-size: 13px; }
.topbar-in { display: flex; gap: 26px; align-items: center; min-height: 38px; }
.topbar-in > span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-r { margin-left: auto; gap: 16px !important; }
.topbar a { color: #E4E5E7; }
.topbar a:hover { color: #fff; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-in { display: flex; align-items: center; gap: 28px; min-height: 80px; }
.logo { display: block; flex: none; }
.logo svg, .custom-logo { height: 46px; width: auto; display: block; }
.custom-logo-link { flex: none; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav .menu a { display: block; padding: 10px 14px; color: var(--ink); font-weight: 700; font-size: 15px; border-radius: 6px; position: relative; }
.nav .menu a:hover { color: var(--red); }
.nav .menu .current-menu-item > a, .nav .menu .current_page_item > a { color: var(--red); }
.nav .menu .current-menu-item > a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px; background: var(--red); border-radius: 2px; }
.nav-call { display: none; }
.header-call { flex: none; }
.burger { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }

/* ---------- Naslovnica: hero ---------- */
.hero { position: relative; background: var(--black); color: #fff; overflow: hidden; min-height: 600px; display: flex; align-items: center; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 55%; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 15, 17, .96) 0%, rgba(14, 15, 17, .85) 34%, rgba(14, 15, 17, .25) 70%, rgba(14, 15, 17, .1) 100%); }
.hero-in { position: relative; padding-top: 80px; padding-bottom: 150px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); line-height: 1.0; letter-spacing: -.03em; max-width: 640px; }
.hero h1 span { color: var(--red); display: block; }
.hero-text { font-size: 19px; color: #D5D7DB; max-width: 520px; margin: 24px 0 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Pretraga preko hero slike */
.search-wrap { position: relative; margin-top: -84px; z-index: 5; }
.search-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 14px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field select, .field input, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; font-size: 15px; font-weight: 600; color: var(--ink); appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111214' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }
.field textarea { min-height: 110px; resize: vertical; font-weight: 500; }
.field select:focus, .field input:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ---------- Sekcije ---------- */
.section { padding-top: 88px; padding-bottom: 8px; }
.section-tight { padding-top: 56px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 44px); }
.section-head .kicker { margin-bottom: 12px; }

/* ---------- Kartice vozila ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(14, 15, 17, .12); }
.card-media { position: relative; display: block; aspect-ratio: 3 / 2; background: #1A1B1E; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-noimg { width: 100%; height: 100%; display: grid; place-items: center; color: #4A4D52; background: linear-gradient(135deg, #1A1B1E, #26282C); }
.badge { position: absolute; top: 14px; left: 14px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 4px; }
.badge-sold { background: var(--ink); }
.badge-lg { font-size: 15px; padding: 9px 14px; z-index: 3; }
.card-count { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 5px; background: rgba(14, 15, 17, .72); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 9px; border-radius: 20px; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-title { font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -.005em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.card-title a { color: var(--ink); }
.card-title a::after { content: ''; position: absolute; inset: 0; }
.card { position: relative; }
.card-title a:hover { color: var(--red); }
.card-price { font-size: 23px; font-weight: 800; color: var(--red); letter-spacing: -.02em; }
.card-specs { list-style: none; margin: auto 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: #3A3D42; }
.card-specs li { display: inline-flex; align-items: center; gap: 6px; }
.card-specs .ico { color: var(--muted); }
.card.is-sold .card-media img { filter: grayscale(.7) brightness(.8); }
.card.is-sold .card-price { color: var(--muted); text-decoration: line-through; }

.empty { background: #fff; border-radius: var(--radius); padding: 56px 24px; text-align: center; color: var(--muted); }
.empty .ico { color: #C9CBCF; margin: 0 auto 12px; }
.empty h3 { color: var(--ink); font-size: 22px; margin-bottom: 8px; }
.empty .btn { margin: 4px; }

/* Vrste vozila */
.types { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.type { position: relative; display: flex; align-items: flex-end; min-height: 230px; border-radius: var(--radius); overflow: hidden; background: var(--black); color: #fff; padding: 24px; isolation: isolate; }
.type img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s; }
.type::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14, 15, 17, .92) 0%, rgba(14, 15, 17, .2) 70%); }
.type:hover img { transform: scale(1.05); }
.type-ico { position: absolute; right: 26px; top: 26px; color: #3A3D42; z-index: -1; }
.type-text { display: flex; flex-direction: column; gap: 4px; }
.type-text strong { font-size: 22px; font-weight: 800; }
.type-text small { color: #C9CBCF; font-size: 14px; }
.type-go { margin-left: auto; width: 46px; height: 46px; border-radius: 50%; background: var(--red); display: grid; place-items: center; transition: transform .2s; }
.type:hover { color: #fff; }
.type:hover .type-go { transform: translateX(4px); }

/* Zašto mi */
.why { background: var(--black); color: #fff; margin-top: 88px; padding: 88px 0; }
.why h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 40px; }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.why-item { background: #17181B; border: 1px solid #23252A; border-radius: var(--radius); padding: 28px 24px; }
.why-item .ico { color: var(--red); margin-bottom: 18px; }
.why-item h3 { font-size: 19px; margin-bottom: 10px; }
.why-item p { color: #B8BBC0; font-size: 15px; margin: 0; }

/* Tamni pojas s volanom */
.band { display: grid; grid-template-columns: 5fr 7fr; background: #fff; }
.band-media { min-height: 460px; position: relative; background: linear-gradient(135deg, #17181B, #2A2C30); }
.band-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-text { padding: 72px 64px; display: flex; flex-direction: column; gap: 30px; align-items: flex-start; }
.band-text h2 { font-size: clamp(30px, 3.2vw, 42px); }
.band-text h2 span { color: var(--red); }
.band-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: 100%; }
.band-grid > div { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; }
.band-grid strong { font-size: 17px; font-weight: 800; }
.band-grid span { font-size: 14px; color: var(--muted); }
.band-grid .band-red { background: var(--red); border-color: var(--red); color: #fff; }
.band-grid .band-red span { color: #FFE3E0; }
.band .btn-ghost { color: var(--ink); border-color: var(--line); }
.band .btn-ghost:hover { border-color: var(--ink); background: transparent; }

/* Posjet / karta */
.visit { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; background: #fff; border-radius: var(--radius); padding: 48px; box-shadow: var(--shadow); margin-bottom: 88px; }
.visit-text h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 26px; }
.visit-list { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.visit-list li { display: flex; gap: 14px; align-items: flex-start; }
.visit-list .ico { color: var(--red); margin-top: 2px; }
.visit-list span { display: flex; flex-direction: column; color: var(--muted); }
.visit-list strong { color: var(--ink); font-size: 17px; }
.visit-list strong a { color: var(--ink); }
.visit-map { position: relative; min-height: 360px; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, #17181B, #2A2C30); }
.visit-map::before { content: ''; position: absolute; inset: 0; background: rgba(14, 15, 17, .7); }
.visit-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
.visit-map-tall { min-height: 440px; }
.map-load { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: none; border: 0; color: #fff; cursor: pointer; width: 100%; }
.map-load .ico { color: var(--red-l); }
.map-load span { font-weight: 800; font-size: 18px; }
.map-load small { color: #C9CBCF; }
.map-load:hover span { text-decoration: underline; }

/* ---------- Podnaslov stranice ---------- */
.page-head { background: var(--black); color: #fff; padding: 46px 0 50px; position: relative; overflow: hidden; }
.page-head::after { content: ''; position: absolute; right: -120px; top: -60px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(213, 43, 30, .14); }
.page-head h1 { font-size: clamp(32px, 4.4vw, 52px); position: relative; z-index: 1; }
.page-head p { color: #C9CBCF; margin: 10px 0 0; font-size: 17px; position: relative; z-index: 1; }
.page-head .hero-actions { margin-top: 28px; position: relative; z-index: 1; }
.crumbs { font-size: 14px; color: #8A8D92; margin-bottom: 14px; position: relative; z-index: 1; }
.crumbs a { color: #C9CBCF; }
.crumbs a:hover { color: #fff; }
.crumbs span { margin: 0 6px; }
.crumbs-dark { color: var(--muted); margin: 24px 0 18px; }
.crumbs-dark a { color: var(--muted); }
.crumbs-dark a:hover { color: var(--red); }
.crumb-cur { margin: 0 !important; color: var(--ink); }

/* ---------- Popis vozila ---------- */
.listing { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; padding-top: 32px; padding-bottom: 80px; align-items: start; }
.filters { position: sticky; top: 100px; }
.filters-form { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.filters-head { display: flex; justify-content: space-between; align-items: center; }
.filters-head h2 { font-size: 20px; }
.filters-close { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.filters-form .field > span { font-size: 11px; }
.filters-form .field select, .filters-form .field input { min-height: 44px; font-size: 14px; }
.results-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.filters-open { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; padding: 7px 10px 7px 12px; border-radius: 20px; }
.chip:hover { background: var(--red); color: #fff; }
.sort { margin-left: auto; }
.sort select { min-height: 44px; padding: 0 38px 0 14px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111214' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; font-weight: 700; font-size: 14px; appearance: none; -webkit-appearance: none; cursor: pointer; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pagination { margin-top: 36px; }
.nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.page-numbers { min-width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: #fff; color: var(--ink); font-weight: 700; box-shadow: var(--shadow); padding: 0 12px; }
.page-numbers.current { background: var(--red); color: #fff; }
a.page-numbers:hover { background: var(--ink); color: #fff; }
.page-numbers.dots { box-shadow: none; background: none; }
.filters-backdrop { display: none; }

/* ---------- Stranica vozila ---------- */
.vehicle { padding-bottom: 80px; }
.vehicle-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 30px; align-items: start; }
.gallery { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery-stage { position: relative; aspect-ratio: 4 / 3; background: #111214; }
.gallery-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .3s; pointer-events: none; }
.gallery-slide.is-active { opacity: 1; pointer-events: auto; }
.gallery-slide img { width: 100%; height: 100%; object-fit: contain; }
.gallery-zoom { position: absolute; inset: 0; background: none; border: 0; cursor: zoom-in; z-index: 1; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); transition: background .15s; }
.gallery-nav:hover { background: #fff; color: var(--red); }
.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }
.gallery-count { position: absolute; right: 14px; bottom: 14px; z-index: 2; background: rgba(14, 15, 17, .75); color: #fff; font-size: 13px; font-weight: 700; padding: 6px 11px; border-radius: 20px; display: inline-flex; align-items: center; gap: 6px; }
.gallery-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; scrollbar-width: thin; }
.gallery-thumbs button { flex: none; width: 92px; height: 66px; padding: 0; border: 3px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: #ddd; opacity: .7; transition: opacity .15s, border-color .15s; }
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs button.is-active, .gallery-thumbs button:hover { opacity: 1; border-color: var(--red); }
.card-noimg-lg { flex-direction: column; gap: 8px; color: #5A5D62; font-weight: 700; }
.vehicle-block { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; margin-top: 24px; }
.vehicle-block h2 { font-size: 22px; margin-bottom: 18px; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0; }
.specs > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.specs dt { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.specs dt .ico { color: var(--red); }
.specs dd { margin: 0; font-weight: 700; text-align: right; }
.desc { font-size: 16px; color: var(--ink-2); line-height: 1.7; overflow-wrap: anywhere; }
.desc p { margin: 0 0 .9em; }
.vehicle-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.buy-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; display: flex; flex-direction: column; gap: 12px; border-top: 4px solid var(--red); }
.buy-type { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.buy-box h1 { font-size: 25px; line-height: 1.22; letter-spacing: -.01em; overflow-wrap: anywhere; }
.buy-price { font-size: 38px; font-weight: 800; color: var(--red); letter-spacing: -.03em; line-height: 1.1; }
.buy-quick { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.buy-quick li { display: inline-flex; align-items: center; gap: 6px; background: var(--bg); padding: 7px 11px; border-radius: 6px; font-size: 14px; font-weight: 600; }
.buy-quick .ico { color: var(--muted); }
.buy-info { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; font-size: 14px; color: var(--muted); }
.buy-info p { display: flex; gap: 8px; align-items: center; margin: 0 0 6px; }
.buy-info .ico { color: var(--red); }
.share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.share a, .share button { width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--bg); color: var(--ink); border: 0; cursor: pointer; position: relative; }
.share a:hover, .share button:hover { background: var(--ink); color: #fff; }
.share button em { position: absolute; bottom: 120%; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-style: normal; font-size: 12px; padding: 4px 8px; border-radius: 4px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.share button.is-copied em { opacity: 1; }
.share .share-nj { width: auto; border-radius: 20px; padding: 0 14px; font-weight: 700; font-size: 13px; margin-left: auto; }

/* Upit */
.inquiry { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 110px; }
.inquiry h3 { font-size: 21px; }
.inquiry .hp { position: absolute; left: -9999px; }
.fine { font-size: 12px; color: var(--muted); margin: 0; }
.alert { padding: 12px 14px; border-radius: 8px; font-weight: 600; display: flex; gap: 8px; align-items: center; font-size: 15px; }
.alert-ok { background: #E7F5EC; color: var(--green); }
.alert-err { background: #FFF0EE; color: var(--red-d); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8, 8, 10, .96); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: calc(100vw - 160px); max-height: calc(100vh - 80px); object-fit: contain; user-select: none; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); border: 0; color: #fff; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { background: var(--red); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #C9CBCF; font-weight: 700; }
.vehicle-bar { display: none; }

/* ---------- Stranice ---------- */
.prose { font-size: 17px; line-height: 1.75; color: var(--ink-2); max-width: 820px; }
.prose h2 { font-size: 28px; margin: 1.4em 0 .5em; color: var(--ink); }
.prose h3 { font-size: 21px; margin: 1.2em 0 .4em; color: var(--ink); }
.prose ul { padding-left: 20px; }
.section.prose { padding-bottom: 80px; }
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; padding-bottom: 88px; }
.about .prose { max-width: none; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-stats { position: relative; margin: -50px 24px 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: center; }
.about-stats strong { display: block; font-size: 26px; color: var(--red); font-weight: 800; }
.about-stats span { font-size: 13px; color: var(--muted); }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.service { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px 28px; }
.service-ico { width: 60px; height: 60px; border-radius: 12px; background: #FFF0EE; color: var(--red); display: grid; place-items: center; margin-bottom: 20px; }
.service h2 { font-size: 21px; margin-bottom: 10px; }
.service p { color: var(--muted); margin: 0; }
.service-red { background: var(--red); color: #fff; }
.service-red .service-ico { background: rgba(255, 255, 255, .16); color: #fff; }
.service-red p { color: #FFE3E0; }
.cta-strip { margin: 48px 0 88px; background: var(--black); color: #fff; border-radius: var(--radius); padding: 40px 44px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-strip h2 { font-size: 30px; }
.cta-strip p { color: #C9CBCF; margin: 6px 0 0; }
.contact { padding-bottom: 88px; }
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 28px; }
.ccard { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; display: flex; flex-direction: column; gap: 4px; color: var(--ink); }
.ccard .ico { color: var(--red); margin-bottom: 10px; }
.ccard small { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ccard strong { font-size: 19px; }
.ccard span { color: var(--muted); font-size: 14px; }
a.ccard:hover { color: var(--ink); box-shadow: 0 10px 28px rgba(14, 15, 17, .12); }
.ccard-red { background: var(--red); color: #fff; }
.ccard-red .ico, .ccard-red small { color: #FFE3E0; }
a.ccard-red:hover { color: #fff; background: var(--red-d); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
.contact-address { display: flex; gap: 14px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; margin-bottom: 18px; }
.contact-address .ico { color: var(--red); }
.contact-address div { display: flex; flex-direction: column; gap: 2px; }
.contact-address a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; margin-top: 6px; }
.page-404 { padding: 90px 0; }
.post-row { margin-bottom: 30px; }

/* ---------- Podnožje ---------- */
.site-footer { background: var(--black); color: #B8BBC0; padding: 70px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand p { margin: 20px 0; max-width: 320px; }
.site-footer h4 { color: #fff; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-list li { display: flex; gap: 10px; align-items: flex-start; }
.footer-list .ico { color: var(--red); margin-top: 3px; }
.footer-list li { flex-wrap: wrap; }
.footer-list a { white-space: nowrap; }
.footer-list small { color: #6E7177; flex-basis: 100%; padding-left: 26px; margin-top: -10px; }
.site-footer a { color: #E4E5E7; }
.site-footer a:hover { color: #fff; }
.footer-links a::before { content: '— '; color: var(--red); }
.footer-social { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: #1C1D21; display: grid; place-items: center; }
.footer-social a:hover { background: var(--red); }
.footer-social .footer-nj { width: auto; border-radius: 20px; padding: 0 16px; font-weight: 700; font-size: 14px; }
.footer-bottom { border-top: 1px solid #23252A; display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; font-size: 13px; color: #6E7177; flex-wrap: wrap; }
.footer-bottom a { color: #8A8D92; }
.mobile-cta { display: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
	.cards, .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.search-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.search-card .btn { grid-column: 1 / -1; }
	.vehicle-grid { grid-template-columns: minmax(0, 1fr) 360px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.band-text { padding: 56px 40px; }
	.topbar-in > span:nth-child(2) { display: none; }
}
@media (max-width: 960px) {
	.header-call { display: none; }
	.burger { display: block; }
	.nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: #fff; flex-direction: column; align-items: stretch; padding: 90px 24px 24px; gap: 18px; transform: translateX(100%); transition: transform .25s; box-shadow: var(--shadow-lg); z-index: 60; }
	.nav.is-open { transform: none; }
	.nav .menu { flex-direction: column; }
	.nav .menu a { font-size: 19px; padding: 14px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
	.nav .menu .current-menu-item > a::after { display: none; }
	.nav-call { display: flex; }
	.burger { position: relative; z-index: 70; }
	body.nav-open { overflow: hidden; }
	body.nav-open::after { content: ''; position: fixed; inset: 0; background: rgba(14, 15, 17, .5); z-index: 55; }
	.listing { grid-template-columns: 1fr; }
	.filters { position: fixed; inset: 0 auto 0 0; width: min(380px, 92vw); z-index: 80; transform: translateX(-105%); transition: transform .25s; top: 0; }
	.filters.is-open { transform: none; }
	.filters-form { height: 100%; overflow-y: auto; border-radius: 0; padding-bottom: 40px; }
	.filters-close { display: block; }
	.filters-open { display: inline-flex; }
	body.filters-on { overflow: hidden; }
	body.filters-on .filters-backdrop { display: block; position: fixed; inset: 0; background: rgba(14, 15, 17, .5); z-index: 75; }
	.vehicle-grid { display: flex; flex-direction: column; gap: 0; }
	.vehicle-main, .vehicle-side { display: contents; }
	.gallery { order: 1; align-self: stretch; }
	.buy-box { order: 2; margin-top: 20px; }
	.vehicle-block { order: 3; }
	.inquiry { order: 4; margin-top: 24px; }
	.band { grid-template-columns: 1fr; }
	.band-media { min-height: 280px; }
	.visit { grid-template-columns: 1fr; padding: 32px; }
	.about { grid-template-columns: 1fr; gap: 36px; }
	.services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.contact-grid { grid-template-columns: 1fr; }
	.types { gap: 14px; }
	.type { min-height: 180px; padding: 18px; }
	.type-text strong { font-size: 18px; }
	.type-go { width: 38px; height: 38px; }
}

/* ---------- Mobitel ---------- */
@media (max-width: 640px) {
	body { padding-bottom: 66px; }
	.wrap { padding: 0 16px; }
	.topbar { display: none; }
	.header-in { min-height: 66px; }
	.logo svg, .custom-logo { height: 38px; }
	.hero { min-height: 0; }
	.hero-media img { object-position: 64% center; }
	.hero-media::after { background: linear-gradient(180deg, rgba(14, 15, 17, .5) 0%, rgba(14, 15, 17, .82) 45%, rgba(14, 15, 17, .97) 100%); }
	.hero-in { padding-top: 120px; padding-bottom: 120px; }
	.hero-text { font-size: 17px; }
	.hero-actions .btn { flex: 1 1 100%; }
	.search-card { grid-template-columns: 1fr 1fr; padding: 16px; gap: 10px; }
	.search-card .field > span { font-size: 11px; }
	.section { padding-top: 60px; }
	.cards, .cards-3 { grid-template-columns: 1fr; gap: 16px; }
	.types { grid-template-columns: 1fr; }
	.type { min-height: 150px; }
	.why { margin-top: 60px; padding: 60px 0; }
	.why-grid { grid-template-columns: 1fr; gap: 12px; }
	.why-item { padding: 22px 20px; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; }
	.why-item .ico { grid-row: span 2; margin: 0; }
	.band-text { padding: 44px 16px; }
	.band-grid { grid-template-columns: 1fr; }
	.visit { padding: 22px 18px; margin-bottom: 60px; }
	.visit-map { min-height: 280px; }
	.page-head { padding: 30px 0 34px; }
	.listing { padding-top: 18px; }
	.results-bar { gap: 10px; }
	.sort { margin-left: 0; flex: 1; }
	.sort select { width: 100%; }
	.results-bar .chips { order: 3; width: 100%; }
	.gallery-stage { aspect-ratio: 4 / 3; margin: 0; }
	.gallery { border-radius: 0; margin: 0 -16px; width: calc(100% + 32px); box-shadow: none; background: none; }
	.gallery-nav { width: 42px; height: 42px; }
	.gallery-prev { left: 8px; }
	.gallery-next { right: 8px; }
	.gallery-thumbs { padding: 10px 16px; }
	.gallery-thumbs button { width: 74px; height: 54px; }
	.vehicle-block { padding: 20px; }
	.specs { grid-template-columns: 1fr; }
	.buy-box { padding: 20px; }
	.buy-box h1 { font-size: 22px; }
	.buy-price { font-size: 32px; }
	.lightbox img { max-width: 100vw; max-height: 80vh; }
	.lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 14px; transform: none; width: 52px; height: 52px; }
	.services { grid-template-columns: 1fr; }
	.contact-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
	.ccard { padding: 18px; }
	.ccard strong { font-size: 16px; }
	.cta-strip { padding: 28px 22px; }
	.footer-grid { grid-template-columns: 1fr; gap: 30px; }
	.mobile-cta { display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--black); border-top: 1px solid #23252A; }
	.mobile-cta a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 64px; color: #fff; font-size: 12px; font-weight: 700; }
	.mobile-cta .mcta-call { background: var(--red); }
	.mobile-cta .mcta-wa .ico { color: #4BD37E; }
	.single-listings .mobile-cta { display: none; }
	.vehicle-bar { display: flex; align-items: center; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; padding: 10px 16px; box-shadow: 0 -6px 24px rgba(14, 15, 17, .14); }
	.vehicle-bar div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
	.vehicle-bar strong { color: var(--red); font-size: 20px; line-height: 1.2; }
	.vehicle-bar span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.vehicle-bar .btn { width: 50px; padding: 0; min-height: 46px; }
}

/* ===================== WOW: slider, brojke, marke, animacije ===================== */
.hero-slider { min-height: 700px; align-items: stretch; }
.hero-media { overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; transform: scale(1.02); }
.hero-slide.is-active img { animation: blt-kenburns 9s ease-out forwards; }
@keyframes blt-kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translateX(-1.5%); } }
.hero-slider .hero-in { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: end; padding-top: 90px; padding-bottom: 190px; }
.hero-cards { position: relative; min-height: 236px; }
.hero-card { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border-radius: 14px; color: #fff; background: rgba(14, 15, 17, .58); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; pointer-events: none; }
.hero-card.is-active { opacity: 1; transform: none; pointer-events: auto; }
.hero-card:hover { color: #fff; border-color: rgba(255, 255, 255, .35); }
.hero-card-tag { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; background: var(--red); padding: 5px 9px; border-radius: 4px; margin-bottom: 6px; }
.hero-card strong { font-size: 21px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-card-price { font-size: 34px; font-weight: 800; color: var(--red-l); letter-spacing: -.02em; line-height: 1.1; }
.hero-card-specs { color: #C9CBCF; font-size: 14px; }
.hero-card-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; margin-top: 8px; }
.hero-card:hover .hero-card-go .ico { transform: translateX(4px); }
.hero-card-go .ico { transition: transform .2s; }
.hero-nav { position: absolute; left: 0; right: 0; bottom: 112px; z-index: 3; }
.hero-nav-in { display: flex; gap: 18px; }
.hero-dot { flex: 1; max-width: 220px; background: none; border: 0; padding: 8px 0; color: #C9CBCF; text-align: left; cursor: pointer; font-size: 13px; font-weight: 700; }
.hero-dot i { display: block; height: 3px; background: rgba(255, 255, 255, .22); border-radius: 2px; overflow: hidden; margin-bottom: 8px; }
.hero-dot b { display: block; height: 100%; width: 0; background: var(--red); }
.hero-dot.is-active { color: #fff; }
.hero-dot.is-active b { animation: blt-progress var(--blt-slide, 6500ms) linear forwards; }
.hero-slider.is-paused .hero-dot.is-active b { animation-play-state: paused; }
.hero-dot.is-done b { width: 100%; }
.hero-dot span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes blt-progress { from { width: 0; } to { width: 100%; } }

.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.quick span { font-size: 13px; font-weight: 700; color: var(--muted); margin-right: 4px; }
.quick a { background: #fff; border: 1.5px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 20px; transition: border-color .15s, color .15s, transform .15s; }
.quick a:hover { border-color: var(--red); color: var(--red); transform: translateY(-1px); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding-top: 56px; }
.stat { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 26px; display: flex; flex-direction: column; gap: 4px; }
.stat strong { font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat strong small { font-size: 15px; font-weight: 700; letter-spacing: 0; }
.stat > span { color: var(--muted); font-weight: 600; }
.stat-red { background: var(--red); }
.stat-red strong, .stat-red > span { color: #fff; }
.stat-red > span { color: #FFE3E0; }

.makes { margin-top: 40px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.makes-track { display: flex; width: max-content; animation: blt-marquee 45s linear infinite; }
.makes:hover .makes-track { animation-play-state: paused; }
.makes-row { display: flex; gap: 12px; padding-right: 12px; }
.makes a { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; background: var(--black); color: #fff; font-weight: 800; font-size: 17px; letter-spacing: -.01em; padding: 14px 22px; border-radius: 40px; transition: background .2s; }
.makes a em { font-style: normal; font-size: 13px; background: rgba(255, 255, 255, .14); padding: 3px 8px; border-radius: 10px; }
.makes a:hover { background: var(--red); color: #fff; }
@keyframes blt-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.card-alt { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; pointer-events: none; }
@media (hover: hover) { .card:hover .card-alt[src] { opacity: 1; } }
.badge-deal { background: #FFC233; color: var(--ink); }

.site-header .header-in { transition: min-height .25s ease; }
.site-header .logo svg { transition: height .25s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(14, 15, 17, .08); }
.site-header.is-scrolled .header-in { min-height: 64px; }
.site-header.is-scrolled .logo svg { height: 38px; }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal .card { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease, box-shadow .2s; }
.js .reveal.is-in .card { opacity: 1; transform: none; }
.js .reveal.is-in .card:nth-child(2) { transition-delay: .08s; }
.js .reveal.is-in .card:nth-child(3) { transition-delay: .16s; }
.js .reveal.is-in .card:nth-child(4) { transition-delay: .24s; }
.js .reveal.is-in .card:nth-child(5) { transition-delay: .32s; }
.js .reveal.is-in .card:nth-child(6) { transition-delay: .4s; }
.js .reveal.is-in .card:hover { transition-delay: 0s; transform: translateY(-3px); }

@media (max-width: 1100px) {
	.hero-slider .hero-in { grid-template-columns: minmax(0, 1fr) 330px; }
	.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.hero-slider .hero-in { grid-template-columns: 1fr; gap: 24px; padding-bottom: 170px; }
	.hero-cards { min-height: 210px; }
}
@media (max-width: 640px) {
	.hero-slider { min-height: 0; }
	.hero-slider .hero-in { padding-top: 70px; padding-bottom: 150px; }
	.hero-card { padding: 16px 18px; }
	.hero-card strong { font-size: 17px; }
	.hero-card-price { font-size: 26px; }
	.hero-cards { min-height: 196px; }
	.hero-nav { bottom: 96px; }
	.hero-nav-in { gap: 8px; }
	.hero-dot span { display: none; }
	.stats { gap: 10px; padding-top: 40px; }
	.stat { padding: 18px; }
	.stat strong { font-size: 32px; }
	.makes a { font-size: 15px; padding: 11px 18px; }
	.quick { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
	.quick a { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
	.makes-track { animation: none; width: auto; flex-wrap: wrap; }
	.makes-row[aria-hidden] { display: none; }
	.makes-row { flex-wrap: wrap; }
	.js .reveal, .js .reveal .card { opacity: 1; transform: none; }
}

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