/* ==========================================================================
   Celias d.o.o. — design system v2
   Tokens, typography and components per design_handoff_celias_web/README.md
   ========================================================================== */

:root {
  /* Colors */
  --ink: #16181A;          /* header / dark sections / headings on light */
  --ink-deep: #0E0F10;     /* footer, deepest bands */
  --accent: #E2700C;       /* single accent: CTAs, kickers, active nav, numerals */
  --accent-ink: #C25E06;   /* accent on light backgrounds (links, e-mail) */
  --paper: #F7F6F3;        /* page background */
  --paper-doc: #FBFAF7;    /* Poslovne informacije background */
  --paper-alt: #EDEBE6;    /* alternating section band */
  --rule: #D8D5CD;         /* hairlines, grid gutters */
  --rule-doc: #E1E0DA;     /* table rules on Poslovne informacije */
  --body: #55534D;         /* body copy on light */
  --body-2: #5A5952;       /* secondary body */
  --muted: #9A9790;        /* mono kickers, labels */
  --muted-doc: #6C6B66;    /* document-page secondary text */
  --doc-ink: #2C2D2B;      /* table values */
  --placeholder: #C9C6BE;  /* photo placeholder fill */

  /* Type */
  --f-display: 'Archivo', sans-serif;
  --f-body: 'IBM Plex Sans', system-ui, sans-serif;
  --f-mono: 'IBM Plex Mono', monospace;

  --header-h: 80px;
  --header-h-mobile: 62px;
  --gutter: 56px;
}

* { box-sizing: border-box; border-radius: 0 !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  font-family: var(--f-body);
  color: var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); }
p { margin: 0; text-wrap: pretty; }
.container { width: 100%; padding: 0 var(--gutter); }
@media (max-width: 900px) { .container { padding: 0 20px; } :root { --gutter: 20px; } }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--accent); color: #fff; padding: 12px 20px; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------------- eyebrow */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font: 500 11.5px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 24px;
}
.eyebrow--muted { color: var(--muted); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; display: block; flex: none; }
.eyebrow--muted::before { display: none; }

/* ------------------------------------------------------------------ button */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-body); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  padding: 18px 32px; border: none; cursor: pointer; text-align: center;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); color: #fff; }
.btn-outline {
  background: transparent; color: #fff; font-weight: 500;
  border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(2px);
}
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 14px 22px; font-size: 13px; }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink); height: var(--header-h);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.site-header .container {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.logo { display: flex; align-items: baseline; gap: 10px; }
.logo-text {
  font-family: var(--f-display); font-weight: 900; font-stretch: 118%;
  font-size: 24px; color: #fff; text-transform: uppercase; letter-spacing: .02em; line-height: 1;
}
.logo-dot { width: 7px; height: 7px; background: var(--accent); display: inline-block; flex: none; transform: translateY(-3px); }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav > ul { list-style: none; display: flex; gap: 32px; margin: 0; padding: 0; }
.main-nav a {
  font: 500 14px/1 var(--f-body); color: rgba(255,255,255,.72);
  padding-bottom: 3px; border-bottom: 2px solid transparent; display: inline-block;
}
.main-nav a:hover { color: #fff; }
.main-nav a[aria-current="page"],
.main-nav .has-dropdown.is-active > a {
  color: #fff; border-bottom-color: var(--accent);
}
.has-dropdown { position: relative; }
.has-dropdown > a { display: inline-flex; align-items: center; gap: 6px; }
.has-dropdown > a::after { content: "▼"; color: var(--accent); font-size: 9px; }
.dropdown {
  list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 0;
  width: 280px; background: var(--ink); border: 1px solid rgba(255,255,255,.12);
  opacity: 0; visibility: hidden; transform: translateY(6px); pointer-events: none;
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.has-dropdown:hover .dropdown,
.has-dropdown.is-open .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.dropdown a {
  display: block; padding: 11px 18px; color: rgba(255,255,255,.72); font-size: 13.5px; font-weight: 500;
  border: none; border-left: 2px solid transparent;
}
.dropdown a:hover, .dropdown a:focus, .dropdown a[aria-current="page"] { border-left-color: var(--accent); color: #fff; background: rgba(255,255,255,.03); }

.header-tools { display: flex; align-items: center; gap: 20px; }
.lang-switch { display: flex; align-items: center; gap: 8px; font: 500 12px/1 var(--f-mono); }
.lang-switch a { color: rgba(255,255,255,.5); }
.lang-switch a[aria-current="true"] { color: #fff; }
.lang-switch span { color: rgba(255,255,255,.3); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: #fff; display: block; }

@media (max-width: 980px) {
  .site-header { height: var(--header-h-mobile); }
  .main-nav { display: none; }
  .header-tools .btn-sm { display: none; }
  .nav-toggle { display: flex; }
  .logo-text { font-size: 19px; }
}

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: var(--header-h-mobile) 0 0 0; background: var(--ink);
  transform: translateX(100%); transition: transform .25s ease; z-index: 90;
  overflow-y: auto; padding: 12px 20px;
}
.mobile-nav.is-open { transform: none; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li { border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-nav a {
  display: flex; align-items: center; min-height: 52px; padding: 0 4px; color: #fff; font-size: 17px; font-weight: 500;
}
.mobile-nav .dropdown { position: static; background: none; border: none; opacity: 1; visibility: visible; transform: none; width: auto; padding: 0 0 8px 12px; display: none; }
.mobile-nav .has-dropdown.is-open .dropdown { display: block; }
.mobile-nav .dropdown a { color: rgba(255,255,255,.72); font-size: 15px; min-height: 46px; padding: 0 4px; }
.mobile-nav-foot { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }

/* -------------------------------------------------------------------- hero */
.hero {
  position: relative; min-height: 460px; overflow: hidden; background: var(--ink);
  display: flex; flex-direction: column; align-items: stretch; justify-content: flex-end;
}
.hero--tall { min-height: 900px; }
.hero--short { min-height: 360px; }
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* JS-driven (main.js) rather than CSS animation-delay: independently
   scheduled per-element animations can desync (e.g. after the tab is
   backgrounded) and play out of order. A single JS timer toggling
   .is-active guarantees strict 1→2→3 order. */
.hero-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.05); }
.hero-slide.is-active { opacity: 1; transform: scale(1.16); transition: opacity 1.2s ease, transform 4s linear; }
@media (prefers-reduced-motion: reduce) { .hero-slide.is-active { transition: none; transform: scale(1.05); } }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,13,14,.92) 0%, rgba(12,13,14,.7) 45%, rgba(12,13,14,.18) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 110px var(--gutter) 90px; width: 100%; }
.hero-content .container { padding: 0; }
.hero-inner { max-width: 860px; }
.hero-eyebrow { color: var(--accent); }
.hero h1, .hero h2.page-title {
  font-weight: 800; font-stretch: 112%; font-size: 66px; line-height: .96;
  letter-spacing: -.03em; color: #fff; text-transform: uppercase; margin-bottom: 26px;
}
.hero h1 { font-size: 76px; line-height: .94; }
.hero p.lead {
  font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.85); max-width: 540px; margin-bottom: 38px;
}
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

.hero-phases {
  position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3,1fr) auto;
  align-items: center; gap: 32px; margin: 52px var(--gutter) 0; max-width: 620px;
}
.hero-phases div:not(.hero-sure) { display: flex; flex-direction: column; gap: 10px; }
.hero-phases .num {
  font: 500 10px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
.hero-phases .bar { height: 2px; background: rgba(255,255,255,.22); }
.hero-phases .bar span { height: 2px; background: var(--accent); display: block; transform-origin: left; transform: scaleX(0); }
.hero-phases div.is-active .bar span { transform: scaleX(1); transition: transform 4s linear; }
.hero-sure { height: 50px; width: auto; opacity: .92; }
@media (prefers-reduced-motion: reduce) { .hero-phases div.is-active .bar span { transition: none; transform: scaleX(1); } }

.hero-stats {
  position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4,1fr);
  border-top: 1px solid rgba(255,255,255,.18); background: rgba(12,13,14,.62); backdrop-filter: blur(3px);
  margin-top: 40px;
}
.hero-stats div { padding: 24px 26px; border-right: 1px solid rgba(255,255,255,.14); }
.hero-stats div:last-child { border-right: none; }
.hero-stats .val { font-family: var(--f-display); font-weight: 800; font-size: 27px; color: #fff; letter-spacing: -.01em; }
.hero-stats .lbl {
  font: 500 11px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.58); margin-top: 6px;
}
@media (max-width: 1200px) and (min-width: 901px) {
  .hero--tall { min-height: 780px; }
}
@media (max-width: 900px) {
  .hero { min-height: 420px; }
  .hero--tall { min-height: 560px; }
  .hero--short { min-height: 300px; }
  .hero-overlay { background: linear-gradient(180deg, rgba(12,13,14,.3) 0%, rgba(12,13,14,.55) 45%, rgba(12,13,14,.93) 100%); }
  .hero-content { padding: 32px 20px 32px; }
  .hero-inner { max-width: none; }
  .hero h1 { font-size: 42px; letter-spacing: -.028em; font-stretch: 110%; }
  .hero h2.page-title { font-size: 36px; letter-spacing: -.028em; font-stretch: 110%; }
  .hero p.lead { font-size: 15.5px; }
  .hero-ctas .btn { width: 100%; }
  .hero-stats { grid-template-columns: repeat(2,1fr); margin-top: 24px; }
  .hero-stats div:nth-child(2n) { border-right: none; }
  .hero-stats div { padding: 16px 14px; }
  .hero-stats .val { font-size: 19px; letter-spacing: -.005em; }
  .hero-phases { display: none; }
}

/* --------------------------------------------------------------- sections */
.section { padding: 104px 0; }
.section--tight { padding: 90px 0; }
.section--dark { background: var(--ink); color: #fff; }
.section--panel { background: var(--paper); }
.section--panel-alt { background: var(--paper-alt); }
.section--quiet { background: var(--paper-doc); }
@media (max-width: 900px) { .section { padding: 40px 0; } .section--tight { padding: 38px 0; } }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 {
  font-weight: 800; font-stretch: 110%; font-size: 48px; line-height: 1;
  letter-spacing: -.025em; text-transform: uppercase; color: var(--ink);
}
.section--dark .section-head h2 { color: #fff; }
.lead-paragraph {
  font-family: var(--f-display); font-weight: 600; font-size: 31px; line-height: 1.3;
  letter-spacing: -.015em; color: var(--ink); max-width: 820px;
}
.section--dark .lead-paragraph { color: #fff; }
.body-copy { font-size: 16.5px; line-height: 1.65; color: var(--body); max-width: 640px; }
.section--dark .body-copy { color: rgba(255,255,255,.65); }
@media (max-width: 900px) {
  .section-head h2 { font-size: 30px; letter-spacing: -.02em; font-stretch: 110%; }
  .lead-paragraph { font-size: 24px; }
}

/* mortar grids — the 2px gap is the hairline */
.grid-mortar {
  display: grid; gap: 2px; background: var(--rule);
}
.section--dark .grid-mortar { background: rgba(255,255,255,.14); }
.grid-mortar > * { background: var(--paper); padding: 32px; }
.section--dark .grid-mortar > * { background: var(--ink); }
.grid-mortar.cols-2 { grid-template-columns: repeat(2,1fr); }
.grid-mortar.cols-3 { grid-template-columns: repeat(3,1fr); }
.grid-mortar.cols-4 { grid-template-columns: repeat(4,1fr); }
@media (max-width: 900px) {
  .grid-mortar.cols-2, .grid-mortar.cols-3, .grid-mortar.cols-4 { grid-template-columns: 1fr; }
}

.stat .val { font-family: var(--f-display); font-weight: 800; font-stretch: 105%; font-size: 78px; color: var(--ink); line-height: .9; letter-spacing: -.035em; }
.section--dark .stat .val { color: #fff; }
.stat .val.is-accent { color: var(--accent); }
.stat .unit { font-size: 22px; margin-left: 6px; }
.stat .lbl { font: 500 11px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.section--dark .stat .lbl { color: rgba(255,255,255,.5); }
@media (max-width: 900px) {
  .stat .val { font-size: 60px; }
}

/* process card grid (2x2 / 3-col) */
.process-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2px; background: var(--rule); }
.process-grid.cols-3 { grid-template-columns: repeat(3,1fr); }
.process-card { background: var(--paper); position: relative; }
.process-card .card-media { position: relative; height: 300px; }
.process-card.cols-3-media .card-media { height: 280px; }
.process-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.process-card .chip {
  position: absolute; top: 0; left: 0; background: var(--ink); color: #fff;
  font-family: var(--f-display); font-weight: 800; font-size: 22px; padding: 14px 20px;
}
.process-card .body { padding: 34px 34px 40px; }
.process-card h3 { font-size: 25px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 12px; }
.process-card p { font-size: 16px; line-height: 1.62; color: var(--body); }
@media (max-width: 900px) {
  .process-grid, .process-grid.cols-3 { grid-template-columns: 1fr; }
  .process-card .body { padding: 24px 20px 28px; }
}

/* five-phase rows */
.process-row {
  display: grid; grid-template-columns: 120px 1fr 520px; gap: 40px; align-items: center;
  padding: 34px 0; border-top: 1px solid var(--rule);
}
.process-row:last-of-type { border-bottom: 1px solid var(--rule); }
.process-row .row-media { position: relative; height: 200px; order: 3; }
.process-row .row-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.process-row .step-num {
  font-family: var(--f-display); font-weight: 800; font-size: 46px; line-height: 1;
  color: var(--rule); letter-spacing: -.02em;
}
.process-row.is-highlight .step-num { color: var(--accent); }
.process-row h3 { font-size: 24px; font-weight: 700; letter-spacing: -.01em; margin: 10px 0 10px; }
.process-row p { font-size: 16px; line-height: 1.65; color: var(--body); }
@media (max-width: 900px) {
  .process-row { grid-template-columns: 1fr; gap: 16px; padding: 24px 0; }
  .process-row .row-media { order: -1; height: 200px; }
  .process-row .step-num { font-size: 34px; }
}

.pull-quote {
  font-family: var(--f-display); font-weight: 600; font-size: 34px; line-height: 1.3;
  letter-spacing: -.01em; max-width: 1000px;
}
@media (max-width: 900px) { .pull-quote { font-size: 24px; } }

/* certificate card */
.cert-card {
  border: 1px solid rgba(255,255,255,.16); padding: 32px; display: flex; flex-direction: column; gap: 20px;
}
.cert-card .plate { background: #fff; padding: 20px; display: inline-flex; align-self: flex-start; }
.cert-card .plate img { height: 52px; width: auto; }
.cert-card h4 { font-size: 19px; font-weight: 700; color: #fff; }
.cert-card p { font-size: 14.5px; color: rgba(255,255,255,.62); line-height: 1.55; margin-top: 8px; }
.cert-card .dl { display: inline-block; margin-top: 14px; color: var(--accent); font-weight: 600; font-size: 14px; }

/* image split */
.split {
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
}
.split .split-media { position: relative; min-height: 480px; }
.split .split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split .split-body { background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.split .split-body .form-card { padding: 80px var(--gutter); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split .split-media { min-height: 260px; }
  .split .split-body .form-card { padding: 40px 20px; }
}

/* -------------------------------------------------------------------- form */
.form-card {
  background: var(--ink); color: #fff; padding: 48px 40px;
}
.form-card .eyebrow { color: var(--accent); }
.form-card h2 { color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 28px; }
.form-card .sub { font-size: 15px; color: rgba(255,255,255,.65); margin: 14px 0 32px; line-height: 1.55; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font: 500 10.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.field input, .field textarea {
  background: rgba(255,255,255,.04); border: none; border-bottom: 1px solid rgba(255,255,255,.28); color: #fff;
  font-family: var(--f-body); font-size: 15px; padding: 13px 12px; width: 100%; min-height: 46px;
}
.field input:focus, .field textarea:focus {
  outline: none; border-bottom-color: var(--accent); background: rgba(255,255,255,.07);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-error { font: 500 12.5px/1.4 var(--f-body); color: var(--accent); display: none; }
.field.has-error input, .field.has-error textarea { border-bottom-color: var(--accent); }
.field.has-error .field-error { display: block; }
.form-helper { font-size: 13.5px; color: rgba(255,255,255,.55); margin-top: 16px; }
.form-helper a { color: rgba(255,255,255,.85); text-decoration: underline; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; font-size: 14.5px; padding: 12px 14px; display: none; }
.form-status.is-visible { display: block; }
.form-status.is-success { background: rgba(226,112,12,.12); color: #fff; border-left: 2px solid var(--accent); }
.form-status.is-error { background: rgba(226,112,12,.08); color: #fff; border-left: 2px solid var(--accent); }
.form-success { text-align: left; }
.form-success p { font-size: 17px; line-height: 1.5; color: #fff; }
.cf-turnstile { max-width: 100%; overflow: hidden; }
.cf-turnstile iframe { max-width: 100% !important; }
@media (max-width: 900px) {
  .form-grid { grid-template-columns: 1fr; }
  .field input, .field textarea { min-height: 48px; }
  .form-card { padding: 40px 20px; }
}

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--ink-deep); color: rgba(255,255,255,.8); }
.footer-top {
  padding: 72px var(--gutter) 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-addr { font-size: 14.5px; color: rgba(255,255,255,.6); line-height: 1.6; margin-top: 16px; }
.footer-col label {
  display: block; font: 500 10.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.4); margin-bottom: 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col p { color: rgba(255,255,255,.7); font-size: 14.5px; margin: 0; }
.footer-col a:hover { color: #fff; }
.footer-col a.accent { color: var(--accent); }
.footer-col .eu-logo { height: 76px; width: auto; margin-top: 20px; }
.footer-bottom {
  padding: 24px var(--gutter); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font: 500 11px/1 var(--f-mono); color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.35); }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; padding: 32px 20px; gap: 32px; }
  .footer-col .eu-logo { height: 52px; }
  .footer-bottom { padding: 20px; flex-direction: column; }
}

/* --------------------------------------------------------- definition doc */
.doc-header { padding: 56px var(--gutter) 40px; border-bottom: 1px solid var(--rule-doc); }
.doc-header h1 { font-family: var(--f-display); font-weight: 700; font-size: 36px; text-transform: none; color: var(--ink); letter-spacing: -.01em; }
.doc-header .body-copy { margin-top: 18px; color: var(--muted-doc); }
.doc-body { padding: 48px var(--gutter) 72px; }
.doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.doc-grid h3 { font: 500 11px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted-doc); margin-bottom: 16px; }
.doc-list { list-style: none; margin: 0; padding: 0; }
.doc-list li { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule-doc); font-size: 15px; }
.doc-list .k { color: var(--muted-doc); }
.doc-list .v { color: var(--doc-ink); font-weight: 600; }
.doc-list .mono { font-family: var(--f-mono); font-size: 14px; }
.dept-card { padding: 20px 0; border-bottom: 1px solid var(--rule-doc); }
.dept-card .role { font: 500 11px/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted-doc); margin-bottom: 8px; }
.dept-card h4 { font-size: 17px; font-weight: 600; color: var(--doc-ink); margin-bottom: 6px; }
.dept-card p { font-size: 14.5px; color: var(--muted-doc); line-height: 1.6; }
.dept-card a.accent { color: var(--accent-ink); }
@media (max-width: 900px) {
  .doc-header { padding: 32px 20px 24px; }
  .doc-body { padding: 24px 20px 40px; }
  .doc-grid { grid-template-columns: 1fr; gap: 8px; }
  .doc-list li { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
}

/* ------------------------------------------------------------ static map */
.static-map {
  position: relative; aspect-ratio: 16/9; background: var(--paper-alt);
  display: flex; align-items: flex-end; overflow: hidden;
}
.static-map img, .static-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.static-map figcaption {
  position: relative; z-index: 1; font: 500 11.5px/1 var(--f-mono); letter-spacing: .08em;
  color: var(--body); background: rgba(255,255,255,.9); padding: 10px 14px; margin: 12px;
}

/* --------------------------------------------------------- pellet stand-in */
.brand-panel {
  position: relative; aspect-ratio: 16/9; overflow: hidden; display: flex; align-items: flex-end;
}
.brand-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.brand-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,13,14,0) 50%, rgba(12,13,14,.75) 100%); }
.brand-panel .txt { position: relative; z-index: 1; padding: 18px 22px; }
.brand-panel .txt .small { font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); display: block; }
.brand-panel .txt .big { font-family: var(--f-display); font-weight: 700; font-size: 20px; color: #fff; margin-top: 8px; }

/* --------------------------------------------------------------- fact row */
.fact-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--rule); margin: 40px 0; }
.fact-row > div { background: var(--paper); padding: 24px 26px; }
.fact-row .val { font-family: var(--f-display); font-weight: 800; font-stretch: 105%; font-size: 34px; color: var(--ink); letter-spacing: -.02em; }
.fact-row .lbl { font: 500 11px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
@media (max-width: 900px) { .fact-row { grid-template-columns: 1fr; } }

/* ad-hoc two-column split containers (Home/O nama/Kontakt/Peleta) — collapse on mobile */
@media (max-width: 900px) {
  .split-2col { grid-template-columns: 1fr !important; gap: 32px !important; }
  .impact-3col { grid-template-columns: 1fr !important; }
}

/* --------------------------------------------------------- phone reveal */
.tel-reveal {
  font: inherit; color: inherit; background: none; border: none; padding: 0; margin: 0;
  cursor: pointer; text-decoration: underline dotted; text-underline-offset: 3px;
}
.tel-reveal:hover { color: var(--accent-ink); }
.tel-reveal .tel-reveal__icon { display: inline-block; margin-right: 5px; opacity: .7; }

/* ---------------------------------------------------------- gallery grid */
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--rule); }
.gallery-grid figure { margin: 0; background: var(--paper); }
.gallery-grid .g-media { position: relative; aspect-ratio: 4/3; overflow: hidden; display: block; }
.gallery-grid .g-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-grid .g-media:hover img { transform: scale(1.04); }
@media (max-width: 1200px) and (min-width: 901px) { .gallery-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ cookie bar */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--ink); color: rgba(255,255,255,.85); border-top: 1px solid rgba(255,255,255,.14);
  padding: 22px var(--gutter); display: none;
}
.cookie-bar.is-visible { display: block; }
.cookie-bar__inner { max-width: 1000px; margin: 0 auto; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.cookie-bar p { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.75); flex: 1 1 auto; min-width: 260px; margin: 0; }
.cookie-bar p a { color: #fff; text-decoration: underline; }
.cookie-bar__actions { display: flex; gap: 12px; flex: 0 0 auto; }
.cookie-bar__actions .btn { padding: 12px 20px; font-size: 13.5px; }
.cookie-bar__actions .btn-ghost { background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; }
.cookie-bar__actions .btn-ghost:hover { border-color: rgba(255,255,255,.6); }
@media (max-width: 640px) {
  .cookie-bar__inner { flex-direction: column; align-items: stretch; gap: 16px; }
  .cookie-bar__actions { width: 100%; }
  .cookie-bar__actions .btn { flex: 1; }
}

/* -------------------------------------------------------------- lightbox */
.gallery-grid .g-media { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(12,13,14,.96);
  display: none; align-items: center; justify-content: center; padding: 60px;
}
.lightbox.is-open { display: flex; }
.lightbox-stage { position: relative; display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.lightbox-stage img { display: block; max-width: 100%; max-height: 78vh; width: auto; height: auto; object-fit: contain; }
.lightbox-count { margin-top: 16px; font: 500 12px/1 var(--f-mono); letter-spacing: .1em; color: rgba(255,255,255,.55); }
.lightbox-close, .lightbox-nav {
  position: absolute; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2); color: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1;
}
.lightbox-close:hover, .lightbox-nav:hover { background: var(--accent); border-color: var(--accent); }
.lightbox-close { top: 24px; right: 24px; width: 44px; height: 44px; font-size: 26px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 30px; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
@media (max-width: 640px) {
  .lightbox { padding: 20px; }
  .lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 22px; }
  .lightbox-nav { width: 40px; height: 40px; font-size: 22px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}
