@font-face { font-family: Inter; src: url(fonts/inter-latin-ext-wght-normal.woff2) format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; 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; src: url(fonts/inter-latin-wght-normal.woff2) format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; 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; src: url(fonts/inter-latin-ext-wght-italic.woff2) format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; 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; src: url(fonts/inter-latin-wght-italic.woff2) format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; 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; }

:root {
  --font: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --brand: #008AD8;          /* Pantone 2382 C, približek za zaslon */
  --brand-strong: #0072B5;   /* isti odtenek, dovolj kontrasta za mali bel tekst in povezave */
  --brand-tint: #E8F4FC;
  --ink: #0A3E57;            /* temni ton logotipa */
  --text: #24404F;
  --muted: #566B7A;
  --line: #D3E2EC;
  --bg: #fff;
  --head-h: 76px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--ink); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }
a { color: var(--brand-strong); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }
.todo { background: #FFF3C4; color: #6B4E00; padding: 1px 6px; border: 1px dashed #C79A00; border-radius: 3px; font-size: .92em; }

/* Glava */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--head-h); background: #fff; box-shadow: 0 1px 0 var(--line); transition: background .2s, box-shadow .2s; }
.site-header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: block; flex: none; }
.logo img { width: clamp(180px, 18vw, 224px); height: auto; }
.logo__w { display: none; }
.nav ul { display: flex; gap: 34px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15.5px; font-weight: 500; padding: 8px 0; }
.nav ul a:hover { color: var(--brand-strong); box-shadow: inset 0 -2px 0 var(--brand); }
.lang { border: 1px solid var(--line); border-radius: 3px; padding: 4px 10px !important; font-size: 13px !important; font-weight: 600 !important; }
.lang:hover { border-color: var(--brand); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--ink); font: 600 14px var(--font); padding: 8px 14px; border-radius: 3px; cursor: pointer; }

.has-overlay .site-header:not(.is-solid):not(.menu-open) { background: transparent; box-shadow: none; }
.has-overlay .site-header:not(.is-solid):not(.menu-open) .logo__c { display: none; }
.has-overlay .site-header:not(.is-solid):not(.menu-open) .logo__w { display: block; }
.has-overlay .site-header:not(.is-solid):not(.menu-open) .nav a { color: #fff; }
.has-overlay .site-header:not(.is-solid):not(.menu-open) .nav ul a:hover { color: #fff; box-shadow: inset 0 -2px 0 #fff; }
.has-overlay .site-header:not(.is-solid):not(.menu-open) .lang,
.has-overlay .site-header:not(.is-solid):not(.menu-open) .menu-btn { border-color: rgba(255,255,255,.6); color: #fff; }
main { padding-top: var(--head-h); }
.has-overlay main { padding-top: 0; }

/* Naslovnica */
.hero { position: relative; min-height: min(100svh, 960px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; background: var(--brand-strong); isolation: isolate; }
.hero__img, .hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__img img { object-fit: cover; object-position: 60% 30%; filter: grayscale(1) contrast(1.08); }
.hero__img { z-index: -2; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--brand); mix-blend-mode: multiply; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(0,114,181,.96) 0%, rgba(0,118,188,.88) 42%, rgba(0,138,216,.34) 78%, rgba(0,138,216,.2) 100%), linear-gradient(180deg, rgba(0,114,181,.55) 0%, rgba(0,114,181,0) 24%); }
.hero__in { padding-top: calc(var(--head-h) + 48px); padding-bottom: 40px; }
.hero__slogan { color: #fff; font-size: clamp(42px, 7.1vw, 104px); font-weight: 650; line-height: 1.02; letter-spacing: -0.035em; max-width: 12.5em; }
.hero__lead { max-width: 34em; font-size: clamp(17px, 1.4vw, 20px); margin-top: 22px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn { display: inline-block; font-size: 16px; font-weight: 600; text-decoration: none; padding: 14px 26px; border-radius: 3px; border: 1.5px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.btn--white { background: #fff; color: var(--brand-strong); }
.btn--white:hover { background: var(--ink); color: #fff; }
.btn--line { border-color: #fff; color: #fff; }
.btn--line:hover { background: #fff; color: var(--brand-strong); }
.btn--brand { background: var(--brand-strong); color: #fff; }
.btn--brand:hover { background: var(--ink); }
.btn--line-dark { border-color: var(--ink); color: var(--ink); }
.btn--line-dark:hover { background: var(--ink); color: #fff; }
.hero__place { font-size: 14.5px; padding-bottom: 26px; padding-top: 18px; position: relative; }

/* Odseki */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tint { background: var(--brand-tint); }
.eyebrow { color: var(--brand-strong); font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.h-lg { font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -0.03em; line-height: 1.08; }
.h-md { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 28px; }
.prose p + p { margin-top: 1.1em; }
.prose h2 { font-size: 22px; margin: 1.8em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose-p { margin-top: 22px; max-width: 34em; }

.about__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.about__grid .prose { font-size: 18px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: clamp(48px, 7vw, 88px); }
.principles li { border-top: 3px solid var(--brand); padding-top: 18px; }
.principles h3 { font-size: 22px; margin-bottom: 8px; }

.sec-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(20px, 6vw, 96px); align-items: end; margin-bottom: clamp(36px, 6vw, 64px); }
.sec-head__lead { font-size: 18px; }

.label { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-bottom: 8px; }
.label--more { margin-top: clamp(40px, 6vw, 64px); margin-bottom: 16px; }

.area-rows li { border-top: 1px solid #BFD6E5; }
.area-rows li:last-child { border-bottom: 1px solid #BFD6E5; }
.section:not(.section--tint) .area-rows li { border-color: var(--line); }
.area-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.2fr) 32px; gap: 20px; align-items: baseline; padding: clamp(20px, 2.6vw, 32px) 0; text-decoration: none; color: inherit; transition: color .15s, padding .15s; }
.area-row__n { color: var(--brand); font-weight: 600; font-size: 19px; font-variant-numeric: tabular-nums; }
.area-row__t { font-size: clamp(24px, 3vw, 38px); font-weight: 600; letter-spacing: -0.025em; color: var(--ink); line-height: 1.15; }
.area-row__arrow { color: var(--brand); font-size: 24px; justify-self: end; transition: transform .15s; }
.area-row:hover .area-row__t { color: var(--brand-strong); }
.area-row:hover .area-row__arrow { transform: translateX(5px); }

.area-minis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.area-mini { display: block; height: 100%; background: #fff; padding: 22px 20px; text-decoration: none; color: var(--text); font-size: 15px; line-height: 1.5; transition: background .15s, color .15s; }
.section:not(.section--tint) .area-mini { background: var(--brand-tint); }
.area-mini strong { display: block; color: var(--ink); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; line-height: 1.25; transition: color .15s; }
.area-mini:hover, .section:not(.section--tint) .area-mini:hover { background: var(--brand-strong); color: #fff; }
.area-mini:hover strong { color: #fff; }

.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.person { display: block; text-decoration: none; color: var(--muted); }
.person__img { aspect-ratio: 4/5; background: var(--brand-tint); display: grid; place-items: center; overflow: hidden; color: var(--brand); font-size: clamp(44px, 6vw, 84px); font-weight: 600; letter-spacing: -0.04em; margin-bottom: 16px; transition: background .15s, color .15s; }
.person__img img { width: 100%; height: 100%; object-fit: cover; }
.person:hover .person__img { background: var(--brand); color: #fff; }
.person h3 { font-size: 20px; margin-bottom: 2px; }
.person:hover h3 { color: var(--brand-strong); }
.person p { font-size: 15.5px; }

.home-contact__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.contact-list > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid #BFD6E5; }
.contact-list > div:last-child { border-bottom: 1px solid #BFD6E5; }
.section:not(.section--tint) .contact-list > div { border-color: var(--line); }
.contact-list { margin: 0; }
.contact-list dt { font-size: 15px; color: var(--muted); }
.contact-list dd { margin: 0; color: var(--ink); font-weight: 500; }
.note { margin-top: 24px; font-size: 15px; color: var(--muted); max-width: 38em; }

/* Podstrani */
.page-head { background: var(--brand-strong); color: #fff; padding-block: clamp(48px, 7vw, 92px); }
.page-head h1 { color: #fff; font-size: clamp(36px, 5.4vw, 68px); letter-spacing: -0.035em; line-height: 1.05; }
.page-head .eyebrow { color: #fff; }
.page-head__lead { max-width: 40em; font-size: clamp(18px, 1.6vw, 21px); margin-top: 20px; }
.crumbs { font-size: 15px; margin-bottom: 16px; }
.crumbs a { color: #fff; }
.crumbs a::before { content: '← '; }

.two-col { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.prose--lg { font-size: 18px; line-height: 1.72; max-width: 40em; }
.cta-card { background: var(--brand-tint); padding: clamp(24px, 3vw, 40px); }
.cta-card h2 { font-size: 26px; margin-bottom: 10px; }
.cta-card .btn { margin-top: 22px; }
.cta-card .small { font-size: 15px; color: var(--muted); margin-top: 8px; }
.link-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px 28px; }
.link-grid a { display: block; padding: 10px 0; color: var(--ink); font-weight: 500; text-decoration: none; }
.link-grid a:hover { color: var(--brand-strong); text-decoration: underline; }

.profile { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.person__img--lg { font-size: clamp(64px, 8vw, 110px); margin: 0; }
.profile .btn { margin-top: 12px; }

.facts { width: 100%; border-collapse: collapse; margin-bottom: 48px; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 13px 0; border-top: 1px solid var(--line); font-size: 16.5px; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 1px solid var(--line); }
.facts th { width: 40%; font-weight: 500; color: var(--muted); padding-right: 16px; }
.facts td { color: var(--ink); }

/* Noga */
.site-footer { background: var(--brand-strong); color: #fff; padding-top: clamp(48px, 6vw, 80px); font-size: 15.5px; }
.site-footer a { color: #fff; }
.site-footer img { width: 220px; height: auto; }
.site-footer__tag { margin-top: 12px; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 32px; }
.site-footer h2 { color: #fff; font-size: 15.5px; font-weight: 600; letter-spacing: 0; margin-bottom: 10px; }
.site-footer__list a { text-decoration: none; }
.site-footer__list a:hover { text-decoration: underline; }
.site-footer p + p { margin-top: 8px; }
.site-footer .todo { font-size: 13.5px; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin-top: 44px; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.35); font-size: 14px; }
.site-footer__base p + p { margin-top: 0; }
.site-footer__links a + a { margin-left: 18px; }

@media (max-width: 1020px) {
  .area-minis { grid-template-columns: repeat(2, 1fr); }
  .people { grid-template-columns: repeat(2, 1fr); }
  .link-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .area-row { grid-template-columns: 44px minmax(0, 1fr) 28px; }
  .area-row__d { grid-column: 2; grid-row: 2; }
  .area-row__arrow { grid-column: 3; grid-row: 1; }
}

@media (max-width: 820px) {
  :root { --head-h: 66px; }
  body { font-size: 16.5px; }
  .menu-btn { display: block; }
  .nav { position: fixed; inset: var(--head-h) 0 auto; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; box-shadow: 0 12px 24px rgba(10,62,87,.14); display: none; }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; font-size: 19px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav ul a:hover { box-shadow: none; }
  .nav .lang { align-self: flex-start; margin-top: 18px; color: var(--ink) !important; border-color: var(--line) !important; }
  .about__grid, .sec-head, .home-contact__grid, .two-col, .profile { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .principles { grid-template-columns: 1fr; }
  .hero::after { background: linear-gradient(180deg, rgba(0,114,181,.82), rgba(0,114,181,.9)); }
  .profile .person__img { max-width: 280px; }
}

@media (max-width: 520px) {
  .area-minis { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .contact-list > div { grid-template-columns: 1fr; gap: 2px; }
  .facts th, .facts td { display: block; width: 100%; padding: 2px 0; border: 0; }
  .facts th { padding-top: 12px; border-top: 1px solid var(--line); }
  .facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
  .site-footer__base { flex-direction: column; }
}

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