/* ==========================================================================
   DUBROVNIK EXPO, site.css
   Komponente povrh design/tokens.css. Fontovi self-hosted (assets/fonts/).
   Boje, geometrija i tipografija iskljucivo preko tokens.css varijabli.
   ========================================================================== */

/* --------------------------------------------------------------------------
   FONTOVI (self-hosted woff2, latin + latin-ext zbog hrvatskih znakova)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-v23-latin_latin-ext-500.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-v23-latin_latin-ext-600.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/archivo-v25-latin_latin-ext-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/archivo-v25-latin_latin-ext-500.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo Narrow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/archivo-narrow-v35-latin_latin-ext-700.woff2") format("woff2");
}

/* --------------------------------------------------------------------------
   RESET + BAZA
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, svg, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--blue-bright); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-soft); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }
.container-narrow { max-width: 820px; }

/* --------------------------------------------------------------------------
   SEKCIJE + ETIKETE
   -------------------------------------------------------------------------- */
.section { position: relative; padding-block: var(--section-pad); }
.section--tint { isolation: isolate; }
.section--tint::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--grad-section);
}
.section-label {
  font-family: var(--font-body); font-size: var(--fs-label); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--light);
  margin-bottom: 0.9rem;
}
.section-sublabel {
  font-size: var(--fs-label); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--text-soft); margin: 2.4rem 0 1rem;
}
.section-title { font-size: var(--fs-h2); margin-bottom: 1rem; }
.section-lead { font-size: var(--fs-h3); color: var(--text-soft); max-width: 720px; margin-bottom: 1.5rem; line-height: 1.4; }

/* --------------------------------------------------------------------------
   GUMBI (pravilo 6)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 0.9rem 1.6rem; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; transition: transform .2s var(--anim-ease), box-shadow .2s ease, background .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--grad-cta); color: #081226; box-shadow: 0 8px 26px rgba(255,138,43,0.28); }
.btn-primary:hover { color: #081226; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255,138,43,0.4); }
.btn-secondary { background: transparent; border-color: var(--blue-bright); color: var(--light); }
.btn-secondary:hover { background: rgba(77,157,224,0.12); color: var(--light); transform: translateY(-2px); }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.92rem; }
.btn-block { width: 100%; padding-block: 1.05rem; }

/* --------------------------------------------------------------------------
   PROMO TRAKA
   -------------------------------------------------------------------------- */
.promo { background: var(--grad-cta); color: #081226; font-weight: 500; position: relative; z-index: 60; }
.promo.is-hidden { display: none; }
.promo-in { display: flex; align-items: center; gap: 1rem; padding-block: 0.6rem; flex-wrap: wrap; justify-content: center; }
.promo-text { font-size: 0.95rem; }
.promo-cta { color: #081226; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.promo-cta:hover { color: #081226; }
.promo-close { margin-left: auto; background: none; border: none; color: #081226; font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0 0.3rem; }

/* --------------------------------------------------------------------------
   HEADER (sticky, show-on-scroll)
   -------------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: background .3s ease, backdrop-filter .3s ease, box-shadow .3s ease; }
.site-header.scrolled { background: rgba(8,18,38,0.9); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(204,229,247,0.08); }
.header-in { display: flex; align-items: center; justify-content: space-between; padding-block: 0.85rem; gap: 1rem; }
.logo img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--text-soft); font-size: 0.92rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }
.nav a:not(.btn):hover { color: var(--text); }
.nav a.btn { color: #081226; text-transform: none; letter-spacing: 0; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--text); transition: transform .3s ease, opacity .3s ease; }

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; z-index: 0; filter: saturate(0.9); }
.hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero-overlay { position: absolute; inset: 0; z-index: 2; background: var(--grad-section); }
.hero-in { position: relative; z-index: 3; text-align: center; padding-block: 6rem; margin-inline: auto; max-width: 900px; }
.hero-kicker { font-size: var(--fs-label); letter-spacing: 0.22em; text-transform: uppercase; color: var(--light); margin-bottom: 1.2rem; }
.hero-title { font-family: var(--font-hero); font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; font-size: var(--fs-hero); line-height: 0.94; color: var(--text); }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--text-soft); max-width: 640px; margin: 1.4rem auto 0; }
.hero-badge { display: inline-block; margin-top: 1.6rem; padding: 0.5rem 1.1rem; border: 1.5px solid var(--accent); border-radius: var(--radius-sm); color: var(--accent-soft); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; margin-top: 2.2rem; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 3; width: 26px; height: 42px; border: 2px solid var(--text-muted); border-radius: 14px; }
.hero-scroll span { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: var(--accent); border-radius: 2px; animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 80% { opacity: 0; top: 22px; } 100% { opacity: 0; } }

/* --------------------------------------------------------------------------
   WAVE DIVIDERI (pravilo 9)
   -------------------------------------------------------------------------- */
.wave { position: relative; line-height: 0; margin-top: -1px; }
.wave svg { width: 150%; margin-left: -25%; height: clamp(70px, 9vw, 140px); }
.wave--bg2 svg path { fill: var(--bg-2); }
.wave--bg3 svg path { fill: var(--bg-3); }
.wave--bg svg path { fill: var(--bg); }

/* --------------------------------------------------------------------------
   MISIJA
   -------------------------------------------------------------------------- */
.misija-text { font-size: var(--fs-h3); line-height: 1.45; color: var(--text); max-width: 900px; margin-bottom: 2rem; }
.citat { border-left: 4px solid var(--accent); padding-left: 1.5rem; max-width: 760px; }
.citat p { font-size: 1.2rem; font-style: italic; color: var(--text-soft); }
.citat cite { display: block; margin-top: 0.8rem; font-style: normal; font-size: 0.9rem; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   BROJKE
   -------------------------------------------------------------------------- */
.brojke-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); text-align: center; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-num { font-family: var(--font-hero); font-weight: 700; font-size: var(--fs-stat); color: var(--accent); line-height: 1; }
.stat-suf { color: var(--accent-soft); }
.stat-desc { margin-top: 0.6rem; color: var(--text-muted); font-size: 0.98rem; max-width: 220px; }

/* --------------------------------------------------------------------------
   ZONE
   -------------------------------------------------------------------------- */
.zone-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2.5vw, 1.6rem); margin-top: 2rem; }
.zone-card { background: var(--bg-2); border: 1.5px solid rgba(204,229,247,0.1); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); border-top-width: 4px; transition: transform .25s var(--anim-ease), border-color .25s ease; }
.zone-card:hover { transform: translateY(-4px); }
.zone-card[data-zone="uni"] { border-top-color: var(--blue); }
.zone-card[data-zone="eu"] { border-top-color: var(--blue-bright); }
.zone-card[data-zone="business"] { border-top-color: var(--accent); }
.zone-card[data-zone="stem"] { border-top-color: var(--gold); }
.zone-card:hover[data-zone="uni"] { border-color: var(--blue); }
.zone-card:hover[data-zone="eu"] { border-color: var(--blue-bright); }
.zone-card:hover[data-zone="business"] { border-color: var(--accent); }
.zone-card:hover[data-zone="stem"] { border-color: var(--gold); }
.zone-name { font-size: var(--fs-h3); margin-bottom: 0.7rem; }
.zone-desc { color: var(--text-soft); font-size: 1rem; }
.zone-chip { display: inline-block; margin-top: 1.2rem; padding: 0.4rem 0.9rem; background: rgba(8,18,38,0.5); border-radius: var(--radius-sm); font-size: 0.82rem; color: var(--text-muted); }
.zone-card[data-zone="stem"] .zone-chip { color: var(--gold); }

/* --------------------------------------------------------------------------
   ARHIVA / TIMELINE
   -------------------------------------------------------------------------- */
.arhiva .container { position: relative; z-index: 1; }
.timeline { position: relative; display: flex; gap: 1.4rem; overflow-x: auto; padding: 2.5rem clamp(20px, 5vw, 48px) 1rem; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.timeline-line { position: absolute; top: calc(2.5rem + 118px); left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--blue) 12%, var(--blue) 88%, transparent); z-index: 0; }
.timeline-card { position: relative; z-index: 1; flex: 0 0 300px; scroll-snap-align: center; background: var(--bg-2); border: 1.5px solid rgba(204,229,247,0.1); border-radius: var(--radius); overflow: hidden; color: var(--text); transition: transform .25s var(--anim-ease), border-color .25s ease; }
.timeline-card:hover { transform: translateY(-6px); border-color: var(--blue-bright); color: var(--text); }
.tc-media { position: relative; aspect-ratio: 16/9; }
.tc-media img { width: 100%; height: 100%; object-fit: cover; }
.tc-ph { position: absolute; inset: 0; background: linear-gradient(154deg, var(--blue) 0%, var(--bg-3) 70%); }
.tc-overlay { position: absolute; inset: 0; background: var(--grad-overlay); }
.tc-jubilee { position: absolute; top: 12px; right: 12px; background: var(--gold); color: #081226; font-family: var(--font-hero); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.1em; padding: 0.3rem 0.7rem; border-radius: var(--radius-sm); z-index: 2; }
.tc-body { padding: 1.2rem 1.3rem 1.5rem; display: flex; flex-direction: column; gap: 0.25rem; }
.tc-year { font-family: var(--font-hero); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--text); }
.timeline-card.is-jubilee .tc-year { color: var(--gold); }
.tc-edition { color: var(--accent-soft); font-weight: 600; font-size: 0.92rem; }
.tc-date, .tc-venue { color: var(--text-muted); font-size: 0.88rem; }
.tc-stat { margin-top: 0.6rem; font-size: 0.9rem; color: var(--text-soft); }
.tc-stat b { color: var(--accent); font-family: var(--font-hero); font-size: 1.1rem; }
.timeline-card.is-spinoff { flex-basis: 250px; opacity: 0.94; border-color: rgba(77,157,224,0.4); }
.timeline-card.is-spinoff .tc-year { font-size: 2rem; color: var(--blue-bright); }

/* --------------------------------------------------------------------------
   AFTERMOVIE / lite-youtube
   -------------------------------------------------------------------------- */
.lyt { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: var(--bg-3); }
.lyt img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--anim-ease); }
.lyt:hover img { transform: scale(1.04); }
.lyt-big { max-width: 900px; margin: 2rem auto 0; aspect-ratio: 16/9; }
.lyt-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.lyt-sm { aspect-ratio: 16/9; }
.lyt-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 68px; height: 68px; border: none; border-radius: 50%; background: var(--grad-cta); cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,0.4); transition: transform .2s var(--anim-ease); }
.lyt-play::before { content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%,-50%); border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #081226; }
.lyt:hover .lyt-play { transform: translate(-50%,-50%) scale(1.1); }
.lyt-sm .lyt-play { width: 48px; height: 48px; }
.lyt-sm .lyt-play::before { border-width: 8px 0 8px 13px; }
.lyt-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1rem 0.9rem; background: linear-gradient(0deg, rgba(8,18,38,0.9), transparent); color: var(--text); font-size: 0.85rem; }
.lyt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --------------------------------------------------------------------------
   IZLAGACI / MARQUEE
   -------------------------------------------------------------------------- */
.marquee { overflow: hidden; padding: 0.5rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); margin-top: 1rem; }
.marquee-track { display: flex; gap: 0.8rem; width: max-content; }
.marquee-left { animation: marquee 48s linear infinite; }
.marquee-right { animation: marquee-rev 52s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.chip { display: inline-block; padding: 0.6rem 1.1rem; background: var(--bg-2); border: 1px solid rgba(204,229,247,0.12); border-radius: var(--radius-sm); font-size: 0.9rem; color: var(--text-soft); white-space: nowrap; }
.chip-gold { border-color: rgba(201,162,39,0.5); color: var(--gold); }
.chip-cloud { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.5rem; }

/* --------------------------------------------------------------------------
   PARTNERI
   -------------------------------------------------------------------------- */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.9rem; margin-top: 0.5rem; }
.partner-card { display: flex; align-items: center; justify-content: center; text-align: center; padding: 1.3rem 1rem; background: var(--bg-2); border: 1px solid rgba(204,229,247,0.14); border-radius: var(--radius); font-weight: 500; color: var(--text-soft); min-height: 84px; }
.partner-cta { margin-top: 3rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.partner-cta p { font-size: var(--fs-h3); font-family: var(--font-display); color: var(--text); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.8rem; }
.faq-item { background: var(--bg-2); border: 1px solid rgba(204,229,247,0.1); border-radius: var(--radius); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.2rem 1.4rem; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex: 0 0 20px; width: 20px; height: 20px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--accent); }
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after { width: 2px; height: 14px; transition: transform .25s ease; }
.faq-item[open] .faq-icon::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a { padding: 0 1.4rem 1.3rem; color: var(--text-soft); }

/* --------------------------------------------------------------------------
   FORMA
   -------------------------------------------------------------------------- */
.form { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.form-types { border: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.type-card { position: relative; display: flex; flex-direction: column; gap: 0.25rem; padding: 1.1rem 1.2rem; background: var(--bg-2); border: 1.5px solid rgba(204,229,247,0.14); border-radius: var(--radius); cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.type-card input { position: absolute; opacity: 0; }
.type-card:has(input:checked) { border-color: var(--accent); background: rgba(255,138,43,0.08); }
.type-name { font-family: var(--font-display); font-weight: 600; }
.type-desc { font-size: 0.85rem; color: var(--text-muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field-label { font-size: 0.85rem; color: var(--text-soft); }
.field input, .field select, .field textarea { font-family: var(--font-body); font-size: 1rem; color: var(--text); background: var(--bg); border: 1.5px solid rgba(204,229,247,0.18); border-radius: var(--radius-sm); padding: 0.8rem 1rem; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-bright); }
.field textarea { resize: vertical; }
.field select { appearance: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-error { color: #ff9a8a; background: rgba(255,90,90,0.1); border: 1px solid rgba(255,90,90,0.3); border-radius: var(--radius-sm); padding: 0.8rem 1rem; font-size: 0.92rem; }
.form-success { margin-top: 2rem; text-align: center; background: var(--bg-2); border: 1.5px solid rgba(77,180,120,0.5); border-radius: var(--radius); padding: 2.5rem 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.form-success p { font-size: 1.1rem; color: var(--text); }
.success-check { width: 56px; height: 56px; border-radius: 50%; background: rgba(77,180,120,0.18); position: relative; }
.success-check::before { content: ""; position: absolute; top: 46%; left: 50%; transform: translate(-50%,-50%) rotate(45deg); width: 12px; height: 24px; border: solid #5ec98a; border-width: 0 3px 3px 0; }

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer { background: var(--bg-2); padding-top: clamp(3rem, 6vw, 5rem); margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-col h3 { font-size: 1.05rem; margin-bottom: 1rem; color: var(--text); }
.footer-col p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0.5rem; }
.footer-logo { margin-bottom: 1rem; }
.footer-addr { font-size: 0.88rem; }
.footer-social { display: flex; gap: 1rem; margin-top: 0.8rem; }
.footer-social a { font-size: 0.9rem; color: var(--text-soft); }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--text-muted); font-size: 0.95rem; }
.footer-links a:hover { color: var(--accent-soft); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-block: 2rem; margin-top: 2.5rem; border-top: 1px solid rgba(204,229,247,0.08); flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }
.footer-hashtag { color: var(--accent-soft); font-weight: 600; }

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.err-page { min-height: 70vh; display: flex; align-items: center; text-align: center; }
.err-page h1 { font-size: var(--fs-h2); margin: 0.5rem 0 1rem; }
.err-page .lead { color: var(--text-soft); max-width: 520px; margin: 0 auto 2rem; }

/* --------------------------------------------------------------------------
   ANIMACIJE (pravilo 10)
   -------------------------------------------------------------------------- */
.anim { opacity: 0; transform: translateY(var(--anim-rise)); transition: opacity var(--anim-dur) var(--anim-ease), transform var(--anim-dur) var(--anim-ease); }
.anim.in { opacity: 1; transform: translateY(0); }

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .nav { position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px); flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 1.4rem; background: var(--bg-2); padding: 6rem 2rem 2rem; transform: translateX(100%); transition: transform .3s var(--anim-ease); box-shadow: -20px 0 60px rgba(0,0,0,0.4); }
  .nav.open { transform: translateX(0); }
  .nav-toggle { display: flex; z-index: 55; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .brojke-grid { grid-template-columns: repeat(2, 1fr); }
  .zone-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-types { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .brojke-grid { gap: 2rem 1rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .timeline-card { flex-basis: 78vw; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .anim { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none !important; }
  .hero-particles { display: none; }
}

/* --------------------------------------------------------------------------
   ARHIVSKA PODSTRANICA
   -------------------------------------------------------------------------- */
.ap-hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; overflow: hidden; }
.ap-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.ap-hero-ph { background: linear-gradient(154deg, var(--blue) 0%, var(--bg-3) 70%); }
.ap-hero-overlay { position: absolute; inset: 0; z-index: 1; background: var(--grad-overlay); }
.ap-hero-in { position: relative; z-index: 2; padding-block: clamp(2.5rem, 6vw, 5rem); }
.breadcrumb { font-size: 0.9rem; color: var(--text-soft); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--light); }
.breadcrumb span { color: var(--text-muted); margin: 0 0.3rem; }
.ap-edition { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--accent-soft); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.9rem; }
.ap-jubilee-tag { background: var(--gold); color: #081226; font-family: var(--font-hero); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.1em; padding: 0.25rem 0.6rem; border-radius: var(--radius-sm); }
.ap-year { font-family: var(--font-hero); font-weight: 700; font-size: var(--fs-hero); line-height: 0.9; margin: 0.5rem 0; color: var(--text); }
.ap-hero.is-jubilee .ap-year { color: var(--gold); }
.ap-title { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); color: var(--text); max-width: 700px; }
.ap-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-top: 1rem; color: var(--text-soft); }
.ap-meta-sep { color: var(--text-muted); }
.ap-brojke-grid { text-align: center; }
.ap-brojke .stat-num { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.ap-opis-text { font-size: var(--fs-h3); line-height: 1.45; color: var(--text); }
.ap-highlights { list-style: none; padding: 0; margin-top: 1.8rem; display: flex; flex-direction: column; gap: 0.9rem; }
.ap-highlights li { position: relative; padding-left: 1.8rem; color: var(--text-soft); }
.ap-highlights li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.citat-card { background: var(--bg-2); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 1.6rem 1.8rem; margin-bottom: 1.2rem; }
.ap-videi-row { margin-top: 1.5rem; }
.ap-nav-in { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center; }
.ap-nav-link { display: inline-flex; flex-direction: column; gap: 0.2rem; padding: 1rem 1.4rem; background: var(--bg-2); border: 1px solid rgba(204,229,247,0.1); border-radius: var(--radius); color: var(--text); transition: border-color .2s ease, transform .2s var(--anim-ease); }
.ap-nav-link:hover { border-color: var(--blue-bright); transform: translateY(-3px); color: var(--text); }
.ap-nav-next { text-align: right; }
.ap-nav-home { grid-column: 2; align-self: center; background: transparent; border: 1.5px solid var(--blue-bright); color: var(--light); flex-direction: row; }
.ap-nav-dir { font-size: 0.82rem; color: var(--text-muted); }
.ap-nav-year { font-family: var(--font-hero); font-weight: 700; font-size: 1.5rem; }
@media (max-width: 640px) {
  .ap-nav-in { grid-template-columns: 1fr; }
  .ap-nav-next { text-align: left; }
  .ap-nav-home { grid-column: 1; }
}
