/* Red Coral — zajednički dizajnerski sustav (prototip) */
:root {
  --navy: #0b1f33;
  --navy-2: #12304d;
  --navy-3: #1d4468;
  --ink: #0e1a26;
  --text: #24313d;
  --muted: #5a6774;
  --line: #e4dfd6;
  --line-dark: rgba(255, 255, 255, .18);
  --sand: #f5f2ec;
  --sand-2: #ece7de;
  --paper: #ffffff;
  --coral: #b8352a;        /* tekst/akcent na svijetlom (AA) */
  --coral-soft: #e9735f;   /* akcent na tamnom */
  --brand-red: #8f0000;    /* boja logotipa */
  --demo: #8a5a00;
  --demo-bg: #fff4d6;

  --f: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 2px;
  --wrap: 1280px;
  --gut: clamp(16px, 4vw, 48px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 1rem/1.6 var(--f); color: var(--text); background: var(--paper); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; line-height: 1.12; letter-spacing: -.015em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, .82); }
.section--navy h2, .section--navy h3 { color: #fff; }

/* Tipografija */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--coral); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--navy .eyebrow, .on-dark .eyebrow { color: var(--coral-soft); }
.h-xl { font-size: clamp(2.4rem, 5.4vw, 4.6rem); font-weight: 500; letter-spacing: -.03em; }
.h-l { font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 500; letter-spacing: -.025em; }
.h-m { font-size: clamp(1.4rem, 2vw, 1.75rem); }
.h-s { font-size: 1.125rem; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 640px; }
.section--navy .lead { color: rgba(255, 255, 255, .72); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head > div { display: grid; gap: 16px; max-width: 720px; }

/* Gumbi */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border: 1px solid transparent; border-radius: var(--r); font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s; background: none; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--solid { background: var(--navy); color: #fff; }
.btn--solid:hover { background: var(--navy-3); }
.btn--coral { background: var(--coral); color: #fff; }
.btn--coral:hover { background: #9a2a20; }
.btn--line { border-color: var(--navy); color: var(--navy); }
.btn--line:hover { background: var(--navy); color: #fff; }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--sand); }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .75rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--navy); border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link:hover { color: var(--coral); }

/* Oznake */
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border-radius: var(--r); background: #fff; color: var(--navy); }
.tag--new { background: var(--navy); color: #fff; }
.tag--used { background: #fff; color: var(--navy); }
.tag--line { background: none; border: 1px solid var(--line); color: var(--muted); }
.demo { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; font-size: .625rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--demo); background: var(--demo-bg); border: 1px dashed #d9a93c; border-radius: var(--r); vertical-align: middle; white-space: nowrap; }
.demo-bar { background: var(--demo-bg); color: #5c3d00; border-bottom: 1px dashed #d9a93c; font-size: .875rem; }
.demo-bar .wrap { display: flex; gap: 12px; align-items: center; padding-top: 10px; padding-bottom: 10px; }
.demo-bar b { font-weight: 800; letter-spacing: .1em; font-size: .75rem; text-transform: uppercase; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: background .3s, border-color .3s, color .3s; }
.hdr .wrap { max-width: 1440px; height: 100%; display: flex; align-items: center; gap: 28px; }
.hdr__logo { flex: none; display: block; width: 196px; }
.hdr__logo img, .rc-logo { display: block; width: 100%; height: auto; }
/* Logo: simbol (slika) + tekst u bojama */
.rc-logo__w { fill: var(--ink, #0b1f33); transition: fill .3s; }
.rc-logo__t { fill: #8f0000; transition: fill .3s; }
.hdr--over .rc-logo__w, body.nav-open .hdr .rc-logo__w, .ftr .rc-logo__w { fill: #fff; }
.hdr--over .rc-logo__t, body.nav-open .hdr .rc-logo__t, .ftr .rc-logo__t { fill: rgba(255,255,255,.75); }
.ftr__brand .l-red { display: none; }
.hdr__logo .l-white { display: none; }
.hdr__nav { flex: 1; display: flex; justify-content: center; }
.hdr__nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 1.7vw, 30px); }
.hdr__nav a { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ink); padding: 8px 0; position: relative; white-space: nowrap; }
.hdr__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.hdr__nav a:hover::after, .hdr__nav a[aria-current="page"]::after { transform: scaleX(1); }
.hdr__cta { display: flex; gap: 8px; flex: none; }
.hdr__cta .btn { min-height: 40px; padding: 0 16px; font-size: .6875rem; }
.hdr__lang { flex: none; font-size: .75rem; font-weight: 700; letter-spacing: .12em; display: flex; gap: 2px; }
.hdr__lang a, .hdr__lang span { padding: 6px 5px; text-decoration: none; color: var(--muted); }
.hdr__lang [aria-current] { color: var(--ink); }
.hdr__lang span { opacity: .45; cursor: default; }
.hdr__burger { display: none; width: 44px; height: 44px; margin-left: auto; border: 0; background: none; cursor: pointer; position: relative; }
.hdr__burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .3s, opacity .3s; }
.hdr__burger span:nth-child(1) { top: 16px; } .hdr__burger span:nth-child(2) { top: 22px; } .hdr__burger span:nth-child(3) { top: 28px; }
body[data-header="over"] .hdr { position: fixed; left: 0; right: 0; }
.hdr--over { background: transparent; border-color: transparent; color: #fff; backdrop-filter: none; }
.hdr--over .hdr__nav a, .hdr--over .hdr__lang [aria-current] { color: #fff; }
.hdr--over .hdr__lang a, .hdr--over .hdr__lang span { color: rgba(255, 255, 255, .7); }
.hdr--over .l-red { display: none; } .hdr--over .l-white { display: block; }
.hdr--over .hdr__cta .btn--line { border-color: rgba(255, 255, 255, .75); color: #fff; }
.hdr--over .hdr__cta .btn--line:hover { background: #fff; color: var(--navy); }
.hdr--over::before { content: ""; position: absolute; inset: 0 0 -40px; background: linear-gradient(rgba(6, 16, 28, .55), rgba(6, 16, 28, 0)); pointer-events: none; z-index: -1; }

.mnav { position: fixed; inset: var(--header-h) 0 0; z-index: 49; background: var(--navy); color: #fff; padding: 24px var(--gut) 40px; display: flex; flex-direction: column; gap: 28px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s, visibility .3s; }
.mnav.is-open { opacity: 1; transform: none; visibility: visible; }
.mnav ul { list-style: none; padding: 0; margin: 0; }
.mnav li a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-dark); font-size: 1.25rem; font-weight: 500; text-decoration: none; }
.mnav li a svg { width: 18px; height: 18px; flex: none; opacity: .6; }
.mnav__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mnav__cta .btn { padding: 0 10px; }
.mnav__meta { font-size: .9375rem; color: rgba(255, 255, 255, .7); display: grid; gap: 6px; }
.mnav__meta a { text-decoration: none; }
.mnav__lang { display: flex; gap: 6px; margin-top: 10px; }
.mnav__lang a { padding: 6px 10px; border: 1px solid var(--line-dark); font-size: .8125rem; font-weight: 700; letter-spacing: .12em; }
.mnav__lang a[aria-current] { background: #fff; color: var(--navy); border-color: #fff; }
body.nav-open { overflow: hidden; }
body.nav-open .hdr { background: var(--navy); color: #fff; border-color: var(--navy); }
body.nav-open .hdr .l-red { display: none; } body.nav-open .hdr .l-white { display: block; }

@media (max-width: 1180px) {
  .hdr__nav ul { gap: 16px; }
  .hdr__cta .btn:first-child { display: none; }
}
@media (max-width: 1040px) {
  :root { --header-h: 64px; }
  .hdr__nav, .hdr__cta, .hdr__lang { display: none; }
  .hdr__burger { display: block; }
  .hdr__logo { width: 158px; }
}

/* ---------- Split hero ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; height: 100vh; height: 100svh; min-height: 620px; background: var(--navy); position: relative; }
.split__half { position: relative; overflow: hidden; display: flex; align-items: flex-end; color: #fff; text-decoration: none; isolation: isolate; }
.split__half img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.001); transition: transform 1.4s var(--ease), filter .8s; }
.split__half::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 16, 28, .2) 0%, rgba(6, 16, 28, .12) 40%, rgba(6, 16, 28, .74) 100%); transition: background .6s; }
.split__body { padding: 0 clamp(28px, 5vw, 80px) clamp(48px, 8vh, 96px); display: grid; gap: 18px; max-width: 560px; }
.split__idx { font-size: .75rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .82); display: flex; align-items: center; gap: 12px; }
.split__idx::before { content: ""; width: 28px; height: 1px; background: var(--coral-soft); }
.split__title { color: #fff; font-size: clamp(2.2rem, 3.7vw, 3.75rem); font-weight: 500; letter-spacing: .02em; line-height: 1.02; text-transform: uppercase; }
.split__title span { display: block; }
.split__sub { font-size: clamp(1.05rem, 1.4vw, 1.3rem); color: rgba(255, 255, 255, .88); }
.split__body .btn { justify-self: start; margin-top: 10px; }
.split__half:hover img, .split__half:focus-visible img { transform: scale(1.05); }
.split:hover .split__half:not(:hover)::after { background: linear-gradient(180deg, rgba(6, 16, 28, .4), rgba(6, 16, 28, .82)); }
.split__half:hover .btn--ghost { background: #fff; color: var(--navy); border-color: #fff; }
.split__divider { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, .35); z-index: 2; pointer-events: none; }
.split__mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; width: 64px; height: 64px; border-radius: 50%; background: rgba(11, 31, 51, .55); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .35); display: grid; place-items: center; pointer-events: none; }
.split__mark img { width: 22px; height: auto; }
.split__h1 { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3; margin: 0; font-size: .6875rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .78); white-space: nowrap; text-align: center; background: rgba(11, 31, 51, .45); padding: 8px 16px; backdrop-filter: blur(6px); }
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; height: auto; min-height: 0; padding-top: var(--header-h); }
  .split__half { height: max(320px, calc((100svh - var(--header-h)) / 2)); min-height: 0; }
  .split__body { padding: 24px 20px 28px; gap: 10px; }
  .split__title { font-size: 2.1rem; }
  .split__body .btn { margin-top: 6px; min-height: 44px; }
  /* Mobitel: dvije jednake ploče, bez simbola i crte između */
  .split__divider, .split__mark { display: none; }
  .split__h1 { position: static; transform: none; grid-column: 1; order: 3; white-space: normal; background: var(--navy); padding: 14px 16px; backdrop-filter: none; }
}

/* ---------- Kartice ---------- */
.grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .3s; min-width: 0; }
.card:hover { border-color: #c9c1b4; }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__tags { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card__kicker { font-size: .6875rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.card__title { font-size: 1.25rem; font-weight: 600; }
.card__specs { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; font-size: .8125rem; color: var(--muted); }
.card__specs b { display: block; color: var(--ink); font-size: .9375rem; font-weight: 600; }
.card__foot { margin-top: auto; padding-top: 6px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.price { font-size: 1.25rem; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.price small { font-size: .75rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.card__actions { display: flex; gap: 8px; }

/* Two ways */
.way { position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--paper); border: 1px solid var(--line); }
.way__media { aspect-ratio: 16 / 10; overflow: hidden; }
.way__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.way:hover .way__media img { transform: scale(1.04); }
.way__body { padding: clamp(24px, 3vw, 44px); display: grid; gap: 18px; align-content: start; }
.way__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.way__list li { display: flex; gap: 12px; align-items: baseline; }
.way__list li::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--coral); transform: translateY(-2px); }
.way__body .btn { justify-self: start; margin-top: 6px; }

/* Why */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.pillar { padding: 36px 28px 8px 0; display: grid; gap: 14px; align-content: start; }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.pillar svg { width: 34px; height: 34px; stroke: var(--coral-soft); fill: none; stroke-width: 1.3; }
.pillar p { color: rgba(255, 255, 255, .72); font-size: .9688rem; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr 1fr; } .pillar:nth-child(3) { padding-left: 0; border-left: 0; } .pillar:nth-child(n+3) { border-top: 1px solid var(--line-dark); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } .pillar, .pillar + .pillar { padding: 26px 0 10px; border-left: 0; } .pillar + .pillar { border-top: 1px solid var(--line-dark); } }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.facts div { display: grid; gap: 4px; }
.facts b { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 500; color: #fff; letter-spacing: -.03em; line-height: 1; }
.facts span { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }

/* Final CTA */
.journey { display: grid; grid-template-columns: 1fr 1fr; min-height: 460px; }
.journey__half { position: relative; isolation: isolate; display: grid; align-content: end; gap: 16px; padding: clamp(32px, 5vw, 72px); color: #fff; overflow: hidden; }
.journey__half img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.journey__half::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(8, 22, 38, .62); }
.journey__half:hover img { transform: scale(1.04); }
.journey__half h3 { color: #fff; }
.journey__half p { color: rgba(255, 255, 255, .8); max-width: 420px; }
.journey__half .btn { justify-self: start; }
.journey__half + .journey__half { border-left: 1px solid rgba(255, 255, 255, .25); }
@media (max-width: 760px) { .journey { grid-template-columns: 1fr; } .journey__half { min-height: 320px; } .journey__half + .journey__half { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .25); } }

/* ---------- Podstranice ---------- */
.page-hero { position: relative; isolation: isolate; color: #fff; min-height: 380px; display: flex; align-items: flex-end; overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 16, 28, .25), rgba(6, 16, 28, .75)); }
.page-hero .wrap { padding-top: 64px; padding-bottom: 56px; display: grid; gap: 16px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255, 255, 255, .85); max-width: 620px; font-size: 1.125rem; }
.page-hero .eyebrow { color: var(--coral-soft); }
.page-hero--plain { min-height: 0; background: var(--sand); color: var(--ink); }
.page-hero--plain::after { display: none; }
.page-hero--plain h1 { color: var(--ink); }
.page-hero--plain p { color: var(--muted); }
.page-hero--plain .eyebrow { color: var(--coral); }

.crumbs { font-size: .8125rem; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--coral); }
.page-hero:not(.page-hero--plain) .crumbs { color: rgba(255, 255, 255, .75); }

.sister { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 22px; border: 1px solid var(--line); background: var(--paper); }
.sister p { font-size: .9375rem; }
.sister b { color: var(--ink); }

/* Filteri */
.catalog { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 22px; }
.filters__head { display: flex; justify-content: space-between; align-items: center; }
.filters__head h2 { font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; }
.f-group { display: grid; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.f-group > label, .f-group > span { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.input, .select, .textarea { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #cfc8bc; border-radius: var(--r); background: #fff; font-size: .9375rem; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230b1f33' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.textarea { min-height: 120px; padding: 12px 14px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1px solid #cfc8bc; border-radius: var(--r); }
.seg button { border: 0; background: none; min-height: 44px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.seg button + button { border-left: 1px solid #cfc8bc; }
.seg button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.check { display: flex; gap: 10px; align-items: center; font-size: .9375rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--navy); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 18px; border: 1px solid #cfc8bc; border-radius: var(--r); background: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.results-bar p { font-size: .9375rem; color: var(--muted); }
.results-bar .select { width: auto; min-width: 200px; }
.f-toggle { display: none; }
.empty { padding: 48px; text-align: center; border: 1px dashed var(--line); color: var(--muted); }
@media (max-width: 960px) {
  .catalog { grid-template-columns: 1fr; }
  .f-toggle { display: inline-flex; }
  .filters { position: fixed; inset: 0; z-index: 60; background: #fff; padding: 20px var(--gut) 100px; overflow-y: auto; transform: translateX(-100%); transition: transform .35s var(--ease); align-content: start; }
  .filters.is-open { transform: none; }
  .filters__apply { position: fixed; left: 0; right: 0; bottom: 0; padding: 14px var(--gut); background: #fff; border-top: 1px solid var(--line); }
}
@media (min-width: 961px) { .filters__close, .filters__apply { display: none; } }

/* Detalj */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(32px, 4vw, 64px); align-items: start; }
.detail__side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
@media (max-width: 1000px) { .detail { grid-template-columns: 1fr; } .detail__side { position: static; } }
.gallery { display: grid; gap: 10px; }
.gallery__main { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand-2); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); cursor: pointer; display: grid; place-items: center; }
.gallery__nav svg { width: 18px; height: 18px; }
.gallery__nav--prev { left: 14px; } .gallery__nav--next { right: 14px; }
.gallery__count { position: absolute; right: 14px; bottom: 14px; background: rgba(11, 31, 51, .7); color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .1em; padding: 6px 10px; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.gallery__thumbs button { padding: 0; border: 0; aspect-ratio: 4 / 3; overflow: hidden; cursor: pointer; opacity: .6; transition: opacity .25s; background: var(--sand-2); }
.gallery__thumbs button[aria-current="true"] { opacity: 1; outline: 2px solid var(--navy); outline-offset: -2px; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.keyfacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); }
.keyfacts div { padding: 18px 20px; display: grid; gap: 4px; }
.keyfacts div + div { border-left: 1px solid var(--line); }
.keyfacts span { font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.keyfacts b { font-size: 1.125rem; font-weight: 600; color: var(--ink); }
@media (max-width: 640px) { .keyfacts { grid-template-columns: 1fr 1fr; } .keyfacts div:nth-child(3) { border-left: 0; } .keyfacts div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.block { display: grid; gap: 18px; padding-top: 40px; margin-top: 40px; border-top: 1px solid var(--line); }
.specs { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.specs th, .specs td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { font-weight: 500; color: var(--muted); width: 50%; }
.specs td { font-weight: 600; color: var(--ink); }
.specs-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
@media (max-width: 640px) { .specs-2 { grid-template-columns: 1fr; } }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; }
.ticks li { display: flex; gap: 12px; align-items: baseline; }
.ticks li::before { content: ""; flex: none; width: 10px; height: 5px; border-left: 1.5px solid var(--coral); border-bottom: 1.5px solid var(--coral); transform: rotate(-45deg) translateY(-3px); }
@media (max-width: 560px) { .ticks { grid-template-columns: 1fr; } }
.panel { border: 1px solid var(--line); background: #fff; padding: 28px; display: grid; gap: 18px; }
.panel--navy { background: var(--navy); border-color: var(--navy); color: rgba(255, 255, 255, .8); }
.panel--navy h2, .panel--navy h3, .panel--navy .price { color: #fff; }
.panel--navy .input, .panel--navy .select { color: var(--ink); }
.panel__row { display: flex; justify-content: space-between; gap: 16px; font-size: .9375rem; }
.contact-line { display: flex; gap: 12px; align-items: center; font-size: .9375rem; text-decoration: none; }
.contact-line svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; flex: none; }

.stops { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.stops li { position: relative; padding: 0 0 26px 44px; counter-increment: s; }
.stops li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0; font-size: .75rem; font-weight: 700; color: var(--coral); letter-spacing: .08em; }
.stops li::after { content: ""; position: absolute; left: 9px; top: 24px; bottom: 4px; width: 1px; background: var(--line); }
.stops li:last-child::after { display: none; }
.stops b { display: block; color: var(--ink); font-size: 1.0625rem; margin-bottom: 4px; }
.stops p { color: var(--muted); font-size: .9375rem; }

/* Forme */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form .check { font-size: .875rem; color: var(--muted); align-items: flex-start; }
.form .check input { margin-top: 3px; flex: none; }
.form-note { font-size: .8125rem; color: var(--muted); }
.success { display: none; padding: 20px; border: 1px solid #b9d7c4; background: #eef7f1; color: #1c5134; font-size: .9375rem; }
.success.is-on { display: block; }

/* Booking */
.steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 2px solid var(--line); counter-reset: st; }
.steps li { counter-increment: st; padding-top: 14px; margin-top: -2px; border-top: 2px solid transparent; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: grid; gap: 2px; }
.steps li::before { content: counter(st, decimal-leading-zero); color: inherit; }
.steps li.is-done { border-color: var(--navy); color: var(--ink); }
.steps li.is-now { border-color: var(--coral); color: var(--coral); }
@media (max-width: 760px) { .steps { grid-template-columns: repeat(6, 1fr); } .steps li span { display: none; }
  .bk__summary img { display: none; }  }
.bk { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.bk__summary { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 1000px) { .bk { grid-template-columns: 1fr; } .bk__summary { position: static; order: -1; } }
.bk-step { display: none; gap: 24px; }
.bk-step.is-on { display: grid; }
.bk-step > h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; }
.bk-nav { display: flex; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.pick { display: grid; gap: 10px; }
.pick__group { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.opt { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 10px 16px 10px 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; text-align: left; width: 100%; }
.opt img { width: 88px; height: 66px; object-fit: cover; }
.opt b { display: block; color: var(--ink); font-weight: 600; }
.opt small { color: var(--muted); font-size: .8125rem; }
.opt[aria-pressed="true"] { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.opt__radio { width: 20px; height: 20px; border: 1.5px solid #b5ad9f; border-radius: 50%; }
.opt[aria-pressed="true"] .opt__radio { border: 6px solid var(--navy); }
@media (max-width: 480px) { .opt { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; } .opt img { width: 64px; height: 52px; } }
.cal { border: 1px solid var(--line); background: #fff; padding: 20px; max-width: 460px; }
.cal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cal__head b { font-weight: 600; color: var(--ink); }
.cal__head button { width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; }
.cal__head button svg { width: 14px; height: 14px; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__grid span { font-size: .6875rem; font-weight: 700; letter-spacing: .08em; color: var(--muted); padding: 6px 0; }
.cal__grid button { aspect-ratio: 1; border: 0; background: none; cursor: pointer; font-size: .9375rem; border-radius: var(--r); }
.cal__grid button:hover:not([disabled]) { background: var(--sand); }
.cal__grid button[disabled] { color: #c3bdb2; cursor: default; }
.cal__grid button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.stepper { display: inline-grid; grid-template-columns: 52px 72px 52px; border: 1px solid #cfc8bc; }
.stepper button { border: 0; background: #fff; font-size: 1.25rem; cursor: pointer; height: 52px; }
.stepper button[disabled] { color: #c3bdb2; cursor: default; }
.stepper output { display: grid; place-items: center; font-size: 1.25rem; font-weight: 600; border-left: 1px solid #cfc8bc; border-right: 1px solid #cfc8bc; }
.pay { display: grid; gap: 10px; }
.pay label { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); cursor: pointer; }
.pay label.is-off { opacity: .55; cursor: not-allowed; }
.pay input { margin-top: 4px; accent-color: var(--navy); }
.pay b { display: block; color: var(--ink); }
.pay small { color: var(--muted); }
.notice { padding: 14px 16px; background: var(--sand); font-size: .875rem; color: var(--muted); border-left: 2px solid var(--coral); }

/* ---------- Footer ---------- */
.ftr { background: var(--ink); color: rgba(255, 255, 255, .7); font-size: .9375rem; }
.ftr__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-top: 80px; padding-bottom: 56px; }
.ftr__brand { display: grid; gap: 20px; align-content: start; }
.ftr__brand img, .ftr__brand .rc-logo { width: 210px; }
.ftr h2 { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: #fff; }
.ftr__twin { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, .12); border-top: 1px solid rgba(255, 255, 255, .12); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ftr__twin a { background: var(--ink); padding: 28px var(--gut); display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #fff; font-size: 1.125rem; font-weight: 500; transition: background .3s; }
.ftr__twin a:hover { background: #142434; }
.ftr__twin span { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--coral-soft); display: block; margin-bottom: 4px; }
.ftr__twin svg { width: 20px; height: 20px; flex: none; }
.ftr__bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 32px; font-size: .8125rem; color: rgba(255, 255, 255, .5); }
.ftr__bot nav { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 900px) { .ftr__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr__top { grid-template-columns: 1fr; padding-top: 56px; } .ftr__twin { grid-template-columns: 1fr; } }

/* Animacije pri skrolanju (suptilno) */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}

.wa { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; background: #1f7a4d; color: #fff; display: grid; place-items: center; }
.wa svg { width: 24px; height: 24px; fill: currentColor; }
body.nav-open .wa { display: none; }

/* Pomoćno */
.stack { display: grid; gap: 16px; }
.stack-l { display: grid; gap: 28px; }
.muted { color: var(--muted); }
.mt-l { margin-top: clamp(40px, 5vw, 64px); }
.center { text-align: center; justify-items: center; }
.prose { display: grid; gap: 16px; max-width: 720px; }
.prose p { color: var(--text); }
