/* Tehnomont — dizajn sustav
   Boje: crvena iz logotipa + duboka mornarska + hladne sive. */
@import url("../fonts/fonts.css");

:root {
  --red: #e10615;
  --red-dark: #b8040f;
  --navy: #0a1a2b;
  --navy-2: #10263d;
  --navy-3: #1b3653;
  --ink: #14212e;
  --text: #3a4755;
  --muted: #6b7a89;
  --line: #e1e6eb;
  --bg: #ffffff;
  --bg-alt: #f3f5f7;
  --steel: #c9d2db;
  --radius: 4px;
  --wrap: 1240px;
  --head: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow: 0 1px 2px rgba(10, 26, 43, .06), 0 8px 28px rgba(10, 26, 43, .08);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; overflow-x: clip; font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); margin: 0 0 .5em; line-height: 1.08; font-weight: 700; font-stretch: 92%; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.35rem; line-height: 1.2; }
h4 { font-size: 1.05rem; line-height: 1.3; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 10px 16px; z-index: 200; }
.skip:focus { left: 8px; }

.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--navy); color: #b9c6d3; }
.section.dark h2, .section.dark h3, .section.dark h4 { color: #fff; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--head); font-weight: 600; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--ink); }
.dark .lead { color: #dbe4ec; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(32px, 4vw, 56px); flex-wrap: wrap; }
.sec-head > div { max-width: 760px; }
.sec-head h2 { margin-bottom: 0; }
.sec-head p { margin: 16px 0 0; }

/* Gumbi */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 600; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; padding: 15px 26px; border-radius: var(--radius); border: 2px solid var(--red); background: var(--red); color: #fff; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn .arr, .link .arr { transition: transform .2s; }
.btn:hover .arr, .link:hover .arr, a:hover > .link .arr { transform: translateX(4px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--steel); }
.btn.ghost:hover { border-color: var(--ink); background: transparent; }
.dark .btn.ghost, .hero .btn.ghost, .cta .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.dark .btn.ghost:hover, .hero .btn.ghost:hover, .cta .btn.ghost:hover { border-color: #fff; }
.link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 600; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Zaglavlje */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.header.scrolled { box-shadow: 0 6px 24px rgba(10, 26, 43, .08); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.logo img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-family: var(--head); font-weight: 600; font-size: .93rem; color: var(--ink); padding: 10px 13px; border-radius: var(--radius); position: relative; white-space: nowrap; }
.nav a:hover { color: var(--red); }
.nav a[aria-current="page"] { color: var(--red); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; background: var(--red); }
.nav .ext::after { content: "↗"; font-size: .75em; margin-left: 4px; opacity: .6; }
.nav .only-m { display: none; }
.head-side { display: flex; align-items: center; gap: 16px; }
.lang { font-family: var(--head); font-size: .85rem; font-weight: 600; color: var(--muted); display: flex; gap: 6px; }
.lang b { color: var(--ink); }
.lang a:hover { color: var(--red); }
.header .btn { padding: 11px 20px; font-size: .85rem; }
.burger { display: none; width: 46px; height: 46px; border: 0; background: none; cursor: pointer; padding: 12px 10px; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .25s, opacity .2s; }
.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1120px) {
  .burger { display: block; }
  .header .btn { display: none; }
  /* backdrop-filter bi zaglavlje učinio containing blockom za fixed izbornik */
  .header { backdrop-filter: none; background: #fff; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 16px 24px 40px; overflow-y: auto; opacity: 0; transform: translateY(-8px); transition: opacity .25s ease, transform .25s ease, visibility .25s; visibility: hidden; }
  .menu-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav a { font-size: 1.35rem; padding: 17px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .only-m { display: block; color: var(--red); }
  .menu-open { overflow: hidden; }
}

/* Hero (naslovnica) */
.hero { position: relative; min-height: min(88vh, 860px); display: flex; align-items: flex-end; color: #fff; background: var(--navy); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; animation: slowzoom 24s ease-out both; }
@keyframes slowzoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 26, 43, .88) 0%, rgba(10, 26, 43, .55) 45%, rgba(10, 26, 43, .1) 100%), linear-gradient(0deg, rgba(10, 26, 43, .75) 0%, rgba(10, 26, 43, 0) 45%); }
.hero .wrap { padding: 140px 0 0; }
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: #ff3b47; }
.hero .lead { color: #e3eaf1; max-width: 600px; }
.hero .eyebrow { color: #fff; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid rgba(255, 255, 255, .2); }
.hero-stats div { padding: 24px 24px 28px 0; }
.hero-stats div + div { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .2); }
.hero-stats b { display: block; font-family: var(--head); font-size: clamp(1.8rem, 3.2vw, 2.8rem); font-weight: 700; color: #fff; line-height: 1; font-stretch: 90%; }
.hero-stats span { font-size: .85rem; color: #b9c6d3; display: block; margin-top: 8px; line-height: 1.35; }
@media (max-width: 720px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-stats div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .2); }
  .hero::after { background: linear-gradient(0deg, rgba(10, 26, 43, .92) 0%, rgba(10, 26, 43, .6) 60%, rgba(10, 26, 43, .35) 100%); }
}

/* Hero podstranica */
.phero { position: relative; background: var(--navy); color: #cfd9e3; padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); overflow: hidden; isolation: isolate; }
.phero.has-img { padding-top: clamp(120px, 16vw, 220px); }
.phero-bg { position: absolute; inset: 0; z-index: -2; }
.phero-bg img { width: 100%; height: 100%; object-fit: cover; }
.phero.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 26, 43, .96) 0%, rgba(10, 26, 43, .7) 55%, rgba(10, 26, 43, .4) 100%); }
.phero.has-img .eyebrow { color: #fff; }
.phero.has-img .crumbs { color: #d5dee7; }
.phero:not(.has-img)::before { content: ""; position: absolute; right: -80px; top: -40px; width: 520px; height: 520px; z-index: -1; opacity: .07; background: repeating-linear-gradient(90deg, #fff 0 6px, transparent 6px 16px); border-radius: 0 100% 0 100%; transform: rotate(-8deg); }
.phero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.8rem); max-width: 20ch; margin-bottom: 0; }
.phero .lead { color: #dbe4ec; max-width: 720px; margin: 20px 0 0; }
.crumbs { font-size: .85rem; color: #9fb0c0; margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a:hover { color: #fff; }
.crumbs span::before { content: "/"; margin-right: 8px; opacity: .5; }

/* Mreže */
.grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.top { align-items: start; }
.split.wide-l { grid-template-columns: 1.25fr 1fr; }
@media (max-width: 1000px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) { .split, .split.wide-l { grid-template-columns: 1fr; } .split .media { order: -1; } }
@media (max-width: 640px) { .g2, .g3 { grid-template-columns: 1fr; } .g4 { grid-template-columns: 1fr; } .g4.keep2 { grid-template-columns: 1fr 1fr; } }

.media { position: relative; }
.media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.media.tall img { aspect-ratio: 4 / 5; }
.media.accent::before { content: ""; position: absolute; right: -16px; top: -16px; width: 45%; height: 45%; background: var(--red); z-index: -1; border-radius: var(--radius); }
.media figcaption, figure figcaption { font-size: .82rem; color: var(--muted); margin-top: 10px; }

/* Grupa — kartice sastavnica */
.units { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.unit { background: #fff; display: flex; flex-direction: column; transition: background .25s; }
.unit-img { aspect-ratio: 16 / 10; overflow: hidden; }
.unit-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.unit:hover .unit-img img { transform: scale(1.05); }
.unit-body { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.unit-co { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-family: var(--head); font-weight: 600; margin-bottom: 10px; }
.unit p { font-size: .97rem; flex: 1; }
@media (max-width: 900px) { .units { grid-auto-flow: row; grid-template-columns: 1fr; } }

/* Org. shema */
.org { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; position: relative; margin-top: 8px; }
.org-top { grid-column: 1 / -1; text-align: center; background: var(--navy); color: #fff; padding: 22px; border-radius: var(--radius); font-family: var(--head); font-weight: 700; font-size: 1.25rem; letter-spacing: .02em; position: relative; }
.org-top small { display: block; font-family: var(--body); font-weight: 400; font-size: .85rem; color: #9fb0c0; margin-top: 4px; letter-spacing: 0; }
.org-co { border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); background: #fff; padding: 28px; }
.org-co h3 { margin-bottom: 4px; }
.org-co > p { font-size: .92rem; color: var(--muted); margin-bottom: 20px; }
.org-co li { padding: 14px 0; border-top: 1px solid var(--line); display: flex; gap: 14px; align-items: baseline; }
.org-co li b { font-family: var(--head); color: var(--ink); font-size: 1.02rem; min-width: 0; }
.org-co li span { font-size: .9rem; color: var(--muted); display: block; }
.org-co li::before { content: ""; width: 8px; height: 8px; background: var(--red); flex: none; transform: translateY(-2px); }
@media (max-width: 760px) { .org { grid-template-columns: 1fr; } }

/* Kartice brodova */
.vcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s, border-color .25s; }
.vcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.vcard-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-alt); position: relative; }
.vcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.vcard-img.drawing img { object-fit: contain; padding: 18px; background: #fff; }
.vcard:hover .vcard-img img { transform: scale(1.05); }
.tag { position: absolute; left: 12px; top: 12px; background: var(--navy); color: #fff; font-family: var(--head); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 2px; }
.tag.red { background: var(--red); }
.vcard-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.vcard-cat { font-family: var(--head); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.vcard h3 { font-size: 1.18rem; margin-bottom: 14px; }
.vcard-meta { margin-top: auto; display: flex; gap: 18px; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.vcard-meta b { color: var(--ink); font-weight: 600; }
.vcard[hidden] { display: none; }

/* Kategorije (naslovnica) */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.cat { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; color: #fff; display: flex; align-items: flex-end; isolation: isolate; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s ease; }
.cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 26, 43, .92) 0%, rgba(10, 26, 43, .1) 60%); transition: background .3s; }
.cat:hover img { transform: scale(1.07); }
.cat div { padding: 20px; width: 100%; }
.cat b { font-family: var(--head); font-size: 1.2rem; line-height: 1.15; display: block; font-stretch: 92%; }
.cat span { font-size: .82rem; color: #c5d1dc; }
.cat i { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-style: normal; opacity: 0; transform: translateY(6px); transition: .25s; }
.cat:hover i { opacity: 1; transform: none; }
@media (max-width: 1000px) { .cats { grid-template-columns: repeat(3, 1fr); } .cat { aspect-ratio: 1; } }
@media (max-width: 600px) { .cats { grid-template-columns: 1fr 1fr; } .cat:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; } }

/* Filtri */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip { font-family: var(--head); font-weight: 600; font-size: .88rem; padding: 10px 18px; border-radius: 100px; border: 1px solid var(--steel); background: #fff; color: var(--ink); cursor: pointer; transition: .2s; }
.chip sup { color: var(--muted); font-weight: 500; margin-left: 3px; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip[aria-pressed="true"] sup { color: #9fb0c0; }

/* Značajke / brojke */
.feat { padding: 28px 0 0; border-top: 2px solid var(--ink); }
.dark .feat { border-color: rgba(255, 255, 255, .25); }
.feat .num { font-family: var(--head); font-weight: 700; font-size: .85rem; color: var(--red); letter-spacing: .1em; margin-bottom: 14px; display: block; }
.feat p { font-size: .97rem; margin: 0; }
.bigstat b { display: block; font-family: var(--head); font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 700; line-height: 1; color: var(--ink); font-stretch: 88%; }
.dark .bigstat b { color: #fff; }
.bigstat b small { font-size: .45em; font-weight: 600; margin-left: 4px; color: var(--red); }
.bigstat span { display: block; margin-top: 10px; font-size: .92rem; color: var(--muted); line-height: 1.4; }
.dark .bigstat span { color: #9fb0c0; }
.bigstat { padding-top: 22px; border-top: 1px solid var(--line); }
.dark .bigstat { border-color: rgba(255, 255, 255, .18); }

.check li { position: relative; padding: 10px 0 10px 32px; border-bottom: 1px solid var(--line); }
.check li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 14px; height: 7px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }
.dark .check li { border-color: rgba(255, 255, 255, .14); }

/* Novosti */
.ncard { display: flex; flex-direction: column; }
.ncard-img { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--navy-2); margin-bottom: 18px; position: relative; }
.ncard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ncard:hover .ncard-img img { transform: scale(1.05); }
.ncard-img.empty { display: grid; place-items: center; }
.ncard-img.empty img { width: 46%; height: auto; opacity: .35; object-fit: contain; }
.date { font-family: var(--head); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; display: block; }
.ncard h3 { font-size: 1.2rem; margin-bottom: 10px; transition: color .2s; }
.ncard:hover h3 { color: var(--red); }
.ncard p { font-size: .95rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nfeature { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(40px, 5vw, 72px); }
.nfeature .ncard-img { margin: 0; aspect-ratio: 16 / 10; }
.nfeature h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.nfeature p { -webkit-line-clamp: 5; font-size: 1.02rem; margin-bottom: 20px; }
@media (max-width: 820px) { .nfeature { grid-template-columns: 1fr; } }
.nlist { border-top: 1px solid var(--line); }
.nrow { display: grid; grid-template-columns: 130px 1fr auto; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; transition: padding .2s; }
.nrow:hover { padding-left: 8px; }
.nrow:hover h4 { color: var(--red); }
.nrow h4 { margin: 0; font-size: 1.08rem; }
.nrow .date { margin: 0; }
.nrow .arr { color: var(--red); }
@media (max-width: 640px) { .nrow { grid-template-columns: 1fr auto; } .nrow .date { grid-column: 1 / -1; margin-bottom: -14px; } }
.year-h { font-family: var(--head); font-size: 2.4rem; font-weight: 700; color: var(--steel); margin: 56px 0 16px; font-stretch: 88%; }

/* Članak / proza */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 6vw, 88px); align-items: start; }
.article.single { grid-template-columns: minmax(0, 860px); justify-content: center; }
@media (max-width: 960px) { .article { grid-template-columns: 1fr; } }
.prose { font-size: 1.05rem; }
.prose h2 { font-size: 1.7rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { margin: 0 0 1.4em; }
.prose ul li { position: relative; padding: 7px 0 7px 22px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 18px; width: 8px; height: 2px; background: var(--red); }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose .lead { margin-bottom: 1.4em; padding-left: 20px; border-left: 3px solid var(--red); }
.aside { position: sticky; top: calc(var(--header-h) + 24px); }
.panel { background: var(--bg-alt); border-radius: var(--radius); padding: 28px; }
.panel + .panel { margin-top: 20px; }
.panel h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.panel.navy { background: var(--navy); color: #cfd9e3; }
.panel.navy h3 { color: #fff; }
.spec { width: 100%; border-collapse: collapse; font-size: .94rem; }
.spec th, .spec td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font-weight: 500; color: var(--muted); padding-right: 16px; width: 48%; }
.spec td { color: var(--ink); font-weight: 600; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.docs li + li { margin-top: 8px; }
.doc { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; font-size: .93rem; color: var(--ink); transition: .2s; }
.doc:hover { border-color: var(--red); color: var(--red); }
.doc::before { content: "PDF"; font-family: var(--head); font-size: .66rem; font-weight: 700; letter-spacing: .06em; background: var(--red); color: #fff; padding: 4px 6px; border-radius: 2px; flex: none; }
.doc[data-type]::before { content: attr(data-type); }

/* Galerija */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 36px; }
.gallery a:first-child { aspect-ratio: 3 / 2; }
.gallery a { display: block; overflow: hidden; border-radius: var(--radius); background: var(--bg-alt); aspect-ratio: 3 / 2; cursor: zoom-in; }
.gallery a:first-child { grid-column: 1 / -1; }
.gallery.n1 a:first-child { aspect-ratio: auto; max-height: 620px; }
.gallery.n2 a:nth-child(2), .gallery.n3 a:nth-child(n+2) { grid-column: span 2; }
.gallery.n2 { grid-template-columns: 1fr; } .gallery.n2 a { grid-column: 1 / -1 !important; aspect-ratio: 16 / 9; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a.drawing img { object-fit: contain; background: #fff; padding: 16px; }
.gallery a:hover img { transform: scale(1.03); }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery.n3 a:nth-child(n+2) { grid-column: span 1; } }
.lb { position: fixed; inset: 0; z-index: 300; background: rgba(6, 14, 24, .96); display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 2px; }
.lb button { position: absolute; background: rgba(255, 255, 255, .08); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; transition: background .2s; }
.lb button:hover { background: var(--red); }
.lb .lb-x { top: 20px; right: 20px; } .lb .lb-p { left: 20px; top: 50%; margin-top: -26px; } .lb .lb-n { right: 20px; top: 50%; margin-top: -26px; }
.lb .lb-c { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #9fb0c0; font-size: .85rem; }

/* Video (lagani YouTube embed) */
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--navy); cursor: pointer; display: block; width: 100%; border: 0; padding: 0; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .6s; }
.yt:hover img { opacity: 1; transform: scale(1.03); }
.yt::after { content: ""; position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M9 6.5v11l9-5.500z'/%3E%3C/svg%3E") center / 40px no-repeat; box-shadow: 0 0 0 10px rgba(225, 6, 21, .25); transition: transform .25s; }
.yt:hover::after { transform: scale(1.08); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt.on::after { display: none; }
.yt-cap { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.prose .yt { margin: 2em 0 0; }

/* Partneri / logotipi */
.logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.logos a, .logos span { background: #fff; display: grid; place-items: center; padding: 22px; min-height: 110px; text-align: center; font-family: var(--head); font-weight: 600; font-size: .85rem; color: var(--ink); line-height: 1.25; }
.logos img { max-height: 64px; width: auto; max-width: 80%; filter: grayscale(1); opacity: .75; transition: .25s; mix-blend-mode: multiply; }
.logos a:hover img { filter: none; opacity: 1; }
@media (max-width: 900px) { .logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .logos { grid-template-columns: repeat(2, 1fr); } }

.certs { display: flex; flex-wrap: wrap; gap: 10px; }
.cert { border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radius); padding: 14px 18px; min-width: 150px; }
.cert b { display: block; font-family: var(--head); color: #fff; font-size: 1.1rem; }
.cert span { font-size: .8rem; color: #9fb0c0; }
.section:not(.dark) .cert { border-color: var(--line); background: #fff; }
.section:not(.dark) .cert b { color: var(--ink); }
.section:not(.dark) .cert span { color: var(--muted); }

/* Tržišta */
.markets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.markets li { font-family: var(--head); font-weight: 600; font-size: .9rem; padding: 8px 14px; border-radius: 100px; background: rgba(255, 255, 255, .08); color: #fff; }
.section:not(.dark) .markets li { background: var(--bg-alt); color: var(--ink); }

/* CTA */
.cta { background: var(--red); color: #fff; padding: clamp(48px, 6vw, 80px) 0; position: relative; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; right: -60px; top: -120px; width: 480px; height: 480px; z-index: -1; opacity: .12; background: repeating-linear-gradient(90deg, #fff 0 6px, transparent 6px 16px); border-radius: 0 100% 0 100%; transform: rotate(-8deg); }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin: 0 0 8px; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.cta p { margin: 0; color: #ffd9dc; max-width: 600px; }
.cta .btn { background: #fff; color: var(--red); border-color: #fff; }
.cta .btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Kontakt */
.ccard { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: #fff; display: flex; flex-direction: column; }
.ccard.main { border-top: 4px solid var(--red); }
.ccard h3 { margin-bottom: 6px; }
.ccard .unit-co { margin-bottom: 18px; }
.cinfo li { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .96rem; }
.cinfo li span { color: var(--muted); font-size: .85rem; padding-top: 2px; }
.cinfo a { color: var(--ink); font-weight: 600; }
.cinfo a:hover { color: var(--red); }
.map { border: 0; width: 100%; height: 420px; border-radius: var(--radius); filter: grayscale(.35) contrast(1.05); display: block; }
details.acc { border-bottom: 1px solid var(--line); }
details.acc:first-of-type { border-top: 1px solid var(--line); }
details.acc summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-family: var(--head); font-weight: 700; font-size: 1.12rem; color: var(--ink); position: relative; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--red); transition: transform .2s; }
details.acc[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details.acc .acc-body { padding: 0 0 24px; font-size: .96rem; }
details.acc .acc-body dl { display: grid; grid-template-columns: 200px 1fr; gap: 8px 24px; margin: 0; }
details.acc dt { color: var(--muted); } details.acc dd { margin: 0; color: var(--ink); }
@media (max-width: 600px) { details.acc .acc-body dl { grid-template-columns: 1fr; gap: 2px; } details.acc dd { margin-bottom: 10px; } }

/* Dokumenti po godinama */
.yr { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.yr > b { font-family: var(--head); font-size: 1.9rem; color: var(--ink); line-height: 1; font-stretch: 88%; }
.yr li + li { margin-top: 8px; }
@media (max-width: 640px) { .yr { grid-template-columns: 1fr; gap: 14px; } }

/* Podnožje */
.footer { background: var(--navy); color: #9fb0c0; font-size: .93rem; padding: clamp(56px, 7vw, 88px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 48px; }
.footer img.flogo { height: 36px; width: auto; margin-bottom: 20px; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer li { margin-bottom: 9px; }
.footer a:hover { color: #fff; }
.footer address { font-style: normal; line-height: 1.7; }
.footer address b { color: #fff; display: block; font-family: var(--head); margin-bottom: 4px; }
.footer address + address { margin-top: 22px; }
.footer-bottom { margin-top: 56px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; }
.footer-bottom div { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Animacije ulaska */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .hero-bg img { animation: none; } html { scroll-behavior: auto; } }

.mt0 { margin-top: 0; } .mb0 { margin-bottom: 0; } .mt-l { margin-top: clamp(40px, 5vw, 72px); } .center { text-align: center; }
.note { font-size: .88rem; color: var(--muted); }
.e404 { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.e404 b { font-family: var(--head); font-size: clamp(6rem, 18vw, 12rem); line-height: 1; color: var(--bg-alt); display: block; -webkit-text-stroke: 2px var(--steel); }
