/* ============================================================
   MINI WEB — predložak „Optika V2"  (site_seed 2.x)
   Zaključana konstrukcija. Po klijentu se mijenja SAMO paleta.css.
   ============================================================ */

/* ---------- fontovi (lokalno, OFL) ---------- */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/fraunces-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/fraunces-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/fraunces-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/fraunces-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/inter-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/inter-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/inter-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/inter-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- osnovni tokeni (paleta.css ih prepisuje) ---------- */
:root {
  --navy-deep: #0b2926;
  --navy:      #123d39;
  --accent:    #16877f;
  --accent-light: #86c6be;
  --accent-rgb: 22,135,127;
  --navy-rgb:   11,41,38;

  --paper:   #f7f8fb;
  --card:    #ffffff;
  --card-2:  #fbfcfe;
  --ink:     #162321;
  --ink-2:   #243651;
  --muted:   #667572;
  --line:    #dce3ee;
  --line-2:  #cbd5e3;
  --header-bg: rgba(255,255,255,.93);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans:  "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --hero-origin: 50% 32%;
  --hero-pos: center 35%;
}

[data-theme="dark"] {
  --paper:   #0a1614;
  --card:    #10201e;
  --card-2:  #132725;
  --ink:     #e8eef0;
  --ink-2:   #d3dee0;
  --muted:   #93a5a2;
  --line:    #1f3532;
  --line-2:  #2a4441;
  --header-bg: rgba(10,22,20,.92);
}

/* ---------- dvojezičnost ---------- */
html[lang="hr"] [data-l="en"] { display: none; }
html[lang="en"] [data-l="hr"] { display: none; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- zaglavlje (v1 ponašanje, v2 izgled) ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--header-bg); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 78px; padding: 0 clamp(24px, 5vw, 74px); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; min-width: 0; font: 500 17px/1.1 var(--serif); letter-spacing: .02em; }
.brand-text { white-space: nowrap; }
.brand small { font-size: .78em; font-weight: 400; }
.brand-mark { width: 41px; height: 41px; flex: none; display: grid; place-items: center; color: var(--accent); border: 1px solid rgba(var(--accent-rgb),.5); border-radius: 50%; overflow: hidden; }
.brand-mark img { width: 26px; height: 26px; display: block; object-fit: contain; }
.nav-main { display: flex; align-items: center; gap: 34px; margin-left: auto; color: var(--ink-2); font-size: .88rem; font-weight: 600; }
.nav-main a { display: inline-flex; align-items: center; min-height: 40px; transition: color .2s ease; }
.nav-main a:not(.header-cta):hover { color: var(--accent); }
.header-cta { padding: 0 20px; min-height: 44px !important; color: white !important; background: var(--accent); border-radius: 8px; font-size: .85rem; font-weight: 700; box-shadow: 0 9px 24px rgba(var(--accent-rgb),.2); }
.hdr-tools { display: flex; align-items: center; gap: 6px; flex: none; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: transparent; cursor: pointer; line-height: 1; }
.icon-btn:hover { background: var(--card-2); }
.icon-btn .ikona { width: 17px; height: 17px; flex: none; }
.lang-btn span { font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.theme-btn { padding: 0 9px; }
.i-sunce, .lc-hr, .i-zatvori { display: none; }
html[data-theme="dark"] .i-mjesec { display: none; }
html[data-theme="dark"] .i-sunce { display: block; }
html[lang="en"] .lc-en { display: none; }
html[lang="en"] .lc-hr { display: inline; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; }
.nav-toggle .ikona { width: 24px; height: 24px; flex: none; }

/* ---------- omotač + hero ---------- */
.page-shell { width: min(1450px, calc(100% - 36px)); margin: 18px auto 0; }
.hero { position: relative; min-height: 620px; overflow: hidden; border-radius: 28px; background: var(--navy-deep); box-shadow: 0 26px 70px rgba(var(--navy-rgb),.3); }
.hero-copy {
  position: relative; z-index: 5; width: 100%; min-height: 620px; display: flex;
  flex-direction: column; justify-content: center; padding: clamp(42px, 7vw, 104px); color: white;
  background: radial-gradient(ellipse 52% 115% at 17% 50%, rgba(var(--accent-rgb),.28) 0%, rgba(var(--navy-rgb),.32) 50%, rgba(var(--navy-rgb),0) 82%),
              linear-gradient(90deg, rgba(var(--navy-rgb),.98) 0%, rgba(var(--navy-rgb),.94) 30%, rgba(var(--navy-rgb),.72) 43%, rgba(var(--navy-rgb),.28) 59%, rgba(var(--navy-rgb),0) 77%);
}
.eyebrow { display: flex; align-items: center; gap: 10px; width: max-content; max-width: 100%; margin: 0 0 30px; padding: 8px 12px; border: 1px solid rgba(var(--accent-rgb),.72); border-radius: 4px; color: var(--accent-light); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow i { width: 3px; height: 3px; border-radius: 50%; background: var(--accent-light); }
.hero h1 { margin: 0; font: 400 clamp(3.35rem, 5.1vw, 5.25rem)/.98 var(--serif); letter-spacing: -.045em; overflow-wrap: anywhere; }
.hero-lead { max-width: 530px; margin: 28px 0 0; color: #d8e4f4; font-size: clamp(1rem, 1.3vw, 1.18rem); line-height: 1.75; }
.hero-actions { display: flex; gap: 14px; margin-top: 38px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 49px; padding: 0 23px; border-radius: 7px; font-size: .89rem; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--accent); box-shadow: 0 12px 30px rgba(var(--accent-rgb),.26); }
.button-ghost { border: 1px solid rgba(var(--accent-rgb),.7); color: #eef8f6; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos); transform-origin: var(--hero-origin); animation: ken-burns 14s cubic-bezier(.42,0,.25,1) infinite alternate; will-change: transform; }
.hero-media::after { content: ""; position: absolute; z-index: 1; width: 650px; height: 650px; left: 41%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(ellipse at 57% 50%, rgba(var(--accent-rgb),.02) 0 31%, rgba(var(--accent-rgb),.12) 49%, rgba(var(--navy-rgb),.24) 68%, rgba(var(--navy-rgb),0) 74%); pointer-events: none; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--navy-rgb),.24) 0%, rgba(var(--navy-rgb),.04) 66%, rgba(var(--navy-rgb),.12) 100%); }
/* branšni motiv — generički sloj (dvije razine); arhetip može dodati vlastiti SVG u .motiv */
.motiv { position: absolute; z-index: 2; width: 520px; height: 380px; left: 42%; top: 50%; transform: translate(-50%, -50%); border: 1px solid rgba(var(--accent-rgb),.38); pointer-events: none; }
.motiv::before, .motiv::after { content: ""; position: absolute; inset: 34px; border: 1px solid rgba(var(--accent-rgb),.18); }
.motiv::after { inset: 84px; background-image: linear-gradient(90deg, transparent 32.8%, rgba(var(--accent-rgb),.17) 33%, rgba(var(--accent-rgb),.17) 33.4%, transparent 33.6%, transparent 66%, rgba(var(--accent-rgb),.17) 66.2%, rgba(var(--accent-rgb),.17) 66.6%, transparent 66.8%); }
.motiv-2 { width: 310px; height: 220px; opacity: .58; }
.motiv svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- činjenice ---------- */
.facts { position: relative; z-index: 8; display: grid; grid-template-columns: repeat(4, 1fr); margin: 24px 0 0; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 12px 40px rgba(var(--navy-rgb),.07); }
.fact { min-height: 200px; padding: 28px 34px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact-heading { display: flex; align-items: center; gap: 10px; color: var(--accent); font-size: .77rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.fact-heading svg { width: 22px; height: 22px; }
.fact strong { display: block; margin-top: 24px; color: var(--ink); font: 500 clamp(1.45rem, 2.1vw, 2.05rem)/1.08 var(--serif); overflow-wrap: anywhere; }
.fact p { margin: 13px 0 0; color: var(--muted); font-size: .84rem; line-height: 1.6; }

/* ---------- o tvrtki ---------- */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(48px, 7vw, 110px); align-items: center; padding: clamp(94px, 11vw, 155px) clamp(24px, 4vw, 58px); }
.about.no-visual { grid-template-columns: 1fr; }
.about.no-visual .about-copy { max-width: 820px; }
.section-kicker { margin: 0 0 18px; color: var(--accent); font-size: .73rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.about h2, .contact h2 { max-width: 560px; margin: 0; font: 400 clamp(2.7rem, 4vw, 4.15rem)/1.05 var(--serif); letter-spacing: -.035em; overflow-wrap: anywhere; }
.about-copy > p:not(.section-kicker) { max-width: 600px; margin: 27px 0 0; color: var(--ink-2); font-size: 1rem; line-height: 1.85; }
.company-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 34px 0 0; }
.company-meta div { padding: 18px 19px; background: var(--card); border: 1px solid var(--line-2); border-radius: 8px; }
.company-meta dt { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.company-meta dd { margin: 9px 0 0; color: var(--ink); font-size: .9rem; font-weight: 700; overflow-wrap: anywhere; }
.about-visual { position: relative; min-height: 430px; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 65px rgba(var(--navy-rgb),.08); }
.about-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(var(--accent-rgb),.045) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--accent-rgb),.045) 1px, transparent 1px); background-size: 42px 42px; }
.about-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.92) contrast(.98); transition: transform .7s ease; }
.about-visual:hover img { transform: scale(1.018); }
.visual-caption { position: absolute; right: 21px; bottom: 18px; padding: 7px 10px; color: var(--ink-2); background: var(--header-bg); border: 1px solid var(--line-2); border-radius: 4px; font-size: .63rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; backdrop-filter: blur(8px); }

/* ---------- djelatnosti (tamna ploha, paralaksa) ---------- */
.activities { position: relative; min-height: 770px; display: grid; place-items: center; overflow: hidden; border-radius: 28px; color: white; background: var(--navy-deep); }
.activities.compact { min-height: 0; }
.parallax-layer { position: absolute; inset: -160px 0; overflow: hidden; }
.parallax-layer img { position: absolute; width: 100%; height: calc(100% + 320px); left: 0; top: -160px; object-fit: cover; object-position: center; filter: blur(1.5px) saturate(.8); transition: transform .06s linear; will-change: transform; }
.activities-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(var(--navy-rgb),.96) 0%, rgba(var(--navy-rgb),.89) 47%, rgba(var(--navy-rgb),.7) 100%); }
.activities-overlay::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(var(--accent-rgb),.07) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--accent-rgb),.07) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(90deg, transparent 0, black 55%); -webkit-mask-image: linear-gradient(90deg, transparent 0, black 55%); }
.activities-content { position: relative; z-index: 2; width: 100%; padding: clamp(65px, 8vw, 110px) clamp(28px, 7vw, 108px); }
.section-heading-light { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 30px; margin-bottom: 44px; }
.section-heading-light .section-kicker { grid-column: 1; color: var(--accent-light); }
.section-heading-light h2 { grid-column: 1; margin: 0; font: 400 clamp(2.8rem, 4vw, 4.2rem)/1 var(--serif); letter-spacing: -.03em; }
.section-heading-light > p:last-child { grid-column: 2; grid-row: 1 / span 2; max-width: 300px; margin: 0; color: #aebed4; line-height: 1.7; }
.activity-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 7vw, 92px); border-top: 1px solid rgba(255,255,255,.22); }
.activity-grid.single { grid-template-columns: 1fr; max-width: 760px; }
.activity-item { display: grid; grid-template-columns: 36px 1fr auto; gap: 13px; align-items: center; min-height: 62px; border-bottom: 1px solid rgba(255,255,255,.16); }
.activity-item > span { color: var(--accent-light); font: 600 .69rem/1 var(--sans); letter-spacing: .08em; }
.activity-item p { margin: 0; color: #edf4ff; font-size: .9rem; line-height: 1.4; }
.activity-item b { color: var(--accent-light); font: 300 1.45rem/1 var(--sans); }
.activity-item.primary p { color: white; font-weight: 700; }
.activity-item[hidden] { display: none; }
.activities-toggle { display: inline-flex; min-height: 45px; align-items: center; justify-content: center; margin-top: 30px; padding: 0 18px; border: 1px solid rgba(var(--accent-rgb),.58); border-radius: 6px; color: white; background: rgba(var(--navy-rgb),.58); font-size: .8rem; font-weight: 700; cursor: pointer; }
.activities-toggle:hover { background: var(--accent); }
.activities-toggle[hidden] { display: none; }

/* ---------- kontakt ---------- */
.contact { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(45px, 7vw, 105px); align-items: start; margin: 24px 0; padding: clamp(68px, 8vw, 110px) clamp(26px, 6vw, 90px); background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 15px 50px rgba(var(--navy-rgb),.07); }
.contact.no-form { grid-template-columns: 1fr 1fr; }
.contact-details > p:not(.section-kicker) { margin: 22px 0 0; color: var(--muted); line-height: 1.7; }
.contact-details ul { list-style: none; margin: 38px 0 0; padding: 0; display: grid; gap: 17px; }
.contact-details li { display: flex; align-items: center; gap: 13px; color: var(--ink-2); font-size: .92rem; overflow-wrap: anywhere; }
.contact-icon { flex: 0 0 auto; width: 19px; color: var(--accent); font-weight: 800; text-align: center; }
.contact-icon svg { width: 18px; height: 18px; }
.contact-form { padding: clamp(23px, 3vw, 38px); background: var(--card-2); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 38px rgba(var(--navy-rgb),.08); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.contact-form label { display: grid; gap: 8px; margin-bottom: 15px; color: var(--ink-2); font-size: .75rem; font-weight: 700; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; color: var(--ink); background: var(--card); border: 1px solid var(--line-2); border-radius: 7px; outline: none; transition: border-color .2s, box-shadow .2s; }
.contact-form input, .contact-form select { height: 50px; padding: 0 14px; }
.contact-form textarea { resize: vertical; min-height: 126px; padding: 14px; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.15); }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.submit-button { width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 10px; color: white; background: var(--accent); border: 0; border-radius: 7px; font-weight: 800; cursor: pointer; box-shadow: 0 12px 26px rgba(var(--accent-rgb),.2); }
.submit-button[disabled] { opacity: .6; cursor: wait; }
.form-note { min-height: 20px; display: flex; justify-content: center; align-items: center; gap: 7px; margin: 13px 0 0; color: var(--muted); font-size: .72rem; text-align: center; }
.form-note.ok { color: #1a8a55; font-weight: 700; }
.form-note.err { color: #c43a3a; font-weight: 700; }
.contact-cta { display: grid; gap: 12px; align-content: start; padding: clamp(23px, 3vw, 38px); background: var(--card-2); border: 1px solid var(--line); border-radius: 14px; }
.contact-cta .button { min-height: 56px; }

/* ---------- footer ---------- */
footer { position: relative; overflow: hidden; margin-top: 0; color: #dce8f8; background: var(--navy-deep); }
footer::after { content: ""; position: absolute; width: 520px; height: 360px; right: -220px; bottom: -210px; border: 1px solid rgba(var(--accent-rgb),.2); box-shadow: 0 0 0 55px rgba(var(--accent-rgb),.05), 0 0 0 110px rgba(var(--accent-rgb),.035); }
.footer-inner { position: relative; z-index: 2; width: min(1320px, calc(100% - 48px)); margin: auto; display: grid; grid-template-columns: 1.5fr .7fr 1fr; gap: 70px; padding: 72px 0 58px; }
.footer-brand { display: flex; align-items: flex-start; gap: 14px; }
.brand-mark-footer { color: var(--accent-light); border-color: rgba(var(--accent-rgb),.42); }
.footer-brand strong { font: 500 1.25rem/1.2 var(--serif); }
.footer-brand p { margin: 10px 0 0; color: #8ea1bb; font-size: .82rem; }
footer h3 { margin: 0 0 18px; color: white; font: 500 1.2rem/1 var(--serif); }
footer .footer-inner > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 11px; color: #9cadc4; font-size: .82rem; }
footer p { margin: 0; }
.footer-bottom { position: relative; z-index: 2; width: min(1320px, calc(100% - 48px)); margin: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 19px 0; border-top: 1px solid rgba(255,255,255,.12); color: #8295b0; font-size: .72rem; }
.powered { display: flex; align-items: center; gap: 10px; font-weight: 650; }
.logo-box { display: flex; background: #fff; border-radius: 8px; padding: 5px 8px; }
.logo-box img { width: 112px; height: auto; display: block; }

@keyframes ken-burns {
  0%   { transform: scale(1.01) translate3d(0, 0, 0); }
  100% { transform: scale(1.105) translate3d(-2.1%, -1.2%, 0); }
}

/* ---------- prijelomi ---------- */
@media (max-width: 980px) {
  .header-inner { flex-wrap: nowrap; gap: 8px; min-height: 0; padding-top: 12px; padding-bottom: 12px; }
  .brand { flex: 0 1 auto; min-width: 0; overflow: hidden; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-text { font-size: clamp(14px, 3.8vw, 19px); }
  .brand small { display: none; }
  .hdr-tools { margin-left: auto; }
  .hdr-tools .icon-btn { height: 38px; padding: 0 9px; }
  .nav-toggle { display: inline-flex; }
  .nav-main { display: none; order: 4; flex-basis: 100%; margin-left: 0; }
  html.nav-open .header-inner { flex-wrap: wrap; }
  html.nav-open .nav-main { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 4px 0 6px; }
  html.nav-open .nav-main a { min-height: 52px; padding: 0 4px; font-size: 17px; border-top: 1px solid var(--line); }
  html.nav-open .nav-main .header-cta { justify-content: center; margin-top: 10px; border-top: 0; }
  html.nav-open .i-izbornik { display: none; }
  html.nav-open .i-zatvori { display: block; }
  .page-shell { width: min(100% - 24px, 900px); }
  .hero-copy { width: 100%; padding: 58px 45px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about { grid-template-columns: 1fr; }
  .about-visual { min-height: 400px; }
  .section-heading-light { display: block; }
  .section-heading-light > p:last-child { margin-top: 18px; }
  .contact, .contact.no-form { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .header-inner:has(.brand-dugacak) { flex-wrap: wrap; row-gap: 10px; }
  .header-inner:has(.brand-dugacak) .nav-toggle { margin-left: auto; }
  .header-inner:has(.brand-dugacak) .hdr-tools { order: 3; flex-basis: 100%; justify-content: center; margin-left: 0; }
  .brand-dugacak .brand-text { font-size: 17px; white-space: normal; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 74px; }
  .page-shell { width: calc(100% - 16px); margin-top: 8px; }
  .hero { min-height: 670px; border-radius: 17px; }
  .hero-shade { background: linear-gradient(90deg, rgba(var(--navy-rgb),.99) 0%, rgba(var(--navy-rgb),.94) 49%, rgba(var(--navy-rgb),.48) 100%); }
  .hero-copy { width: 100%; min-height: 670px; justify-content: flex-end; padding: 42px 25px 56px; background: linear-gradient(0deg, rgba(var(--navy-rgb),.99) 0%, rgba(var(--navy-rgb),.82) 55%, rgba(var(--navy-rgb),.1) 100%); }
  .hero-media::after { width: 470px; height: 470px; left: 62%; top: 31%; opacity: .65; }
  .motiv { width: 420px; height: 300px; left: 62%; top: 31%; opacity: .55; }
  .motiv-2 { width: 250px; height: 180px; }
  .eyebrow { margin-bottom: 21px; font-size: .62rem; flex-wrap: wrap; }
  .hero h1 { font-size: clamp(3.15rem, 15vw, 4.15rem); }
  .hero-lead { max-width: 88%; margin-top: 20px; }
  .hero-actions { flex-wrap: wrap; margin-top: 27px; }
  .facts { grid-template-columns: 1fr; padding: 8px; border-radius: 14px; }
  .fact { min-height: auto; padding: 25px 22px; border-right: 0; border-bottom: 1px solid var(--line); }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .fact:last-child { border-bottom: 0; }
  .fact strong { margin-top: 14px; }
  .about { gap: 42px; padding: 83px 16px; }
  .about h2, .contact h2 { font-size: 2.75rem; }
  .company-meta { grid-template-columns: 1fr; }
  .about-visual { min-height: 300px; }
  .activities { min-height: auto; border-radius: 17px; }
  .parallax-layer { inset: -40px 0; }
  .parallax-layer img { height: calc(100% + 80px); top: -40px; transform: scale(1.08) !important; }
  .activities-content { padding: 70px 22px; }
  .activity-grid, .activity-grid.single { grid-template-columns: 1fr; }
  .activity-item { min-height: 67px; }
  .contact { margin: 12px 0; padding: 63px 18px; border-radius: 17px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { width: calc(100% - 40px); grid-template-columns: 1fr; gap: 42px; }
  .footer-bottom { width: calc(100% - 40px); flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img { animation: none; transform: scale(1.04); }
  .parallax-layer img { transform: scale(1.08) !important; transition: none; }
  .button:hover { transform: none; }
}
