/* ==========================================================================
   Solaris Pons Esco – stilovi
   ========================================================================== */

:root {
  --green-900: #0E1C15;   /* tekst naslova, footer */
  --green-800: #0D3D2B;   /* tamne sekcije, gumbi */
  --green-700: #214A3B;
  --green-600: #1A6645;   /* naglašene riječi */
  --green-500: #2D9E68;   /* eyebrow */
  --lime: #B8E04A;
  --mint: #F0F8F2;
  --mint-line: #D4EDD9;
  --paper: #FFFDFA;
  --line: #ECEAE4;
  --text: #0E1C15;
  --muted: #475D58;
  --white: #FFFFFF;

  --radius: 24px;
  --container: 1280px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; color: var(--green-900); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 40px; }
.accent { color: var(--green-600); }
.accent-lime { color: var(--lime); }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--green-500); margin-bottom: 1.2em;
}
.eyebrow::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.eyebrow-lime { color: var(--lime); }

/* Ikone (duotone) */
.ico { width: 32px; height: 32px; display: block; overflow: visible; }
.ico .d { fill: var(--ico-d); }
.ico .a { fill: var(--ico-a); }
.ico .s { fill: none; stroke: var(--ico-s); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico .as { fill: none; stroke: var(--ico-a); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.value-card:hover .ico .a, .spec-card:hover .ico .a, .step:hover .ico .a { animation: icoPulse 1.2s ease-in-out infinite alternate; }
@keyframes icoPulse { to { opacity: .55; } }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,253,250,.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; column-gap: 40px; align-items: center; height: 88px; }
.header-inner > .logo { grid-column: 2; grid-row: 1; }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 1.6rem; letter-spacing: -.035em; color: var(--green-900); font-weight: 400; }
.logo-word { white-space: nowrap; }
.logo-word b { font-weight: 700; color: var(--green-800); }
.logo-esco { font-weight: 500; color: var(--green-500); }

.nav { display: contents; }
.nav-group { display: flex; align-items: center; gap: 8px; grid-row: 1; }
.nav-left { grid-column: 1; justify-self: end; }
.nav-right { grid-column: 3; justify-self: start; }
.nav a { white-space: nowrap; text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--green-900); padding: 8px 18px; border-radius: 99px; transition: background .2s; }
.nav a:hover { background: var(--mint); }

.nav-toggle { display: none; width: 52px; height: 52px; border: 0; border-radius: 10px; background: var(--green-800); cursor: pointer; padding: 15px 13px; }
.nav-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; margin: 4px 0; transition: transform .3s, opacity .3s; }
.nav-toggle span:nth-child(2) { width: 70%; margin-left: auto; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding: 96px 0 120px;
  background:
    radial-gradient(520px 520px at 72% 30%, rgba(184,224,74,.10), transparent 70%),
    radial-gradient(700px 600px at 80% 20%, rgba(45,158,104,.10), transparent 70%),
    var(--paper);
}
/* mreža linija u pozadini */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(13,61,43,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(13,61,43,.05) 1px, transparent 1px);
  background-size: 112px 112px;
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent);
          mask-image: linear-gradient(to bottom, #000 60%, transparent);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.12; margin-bottom: 28px; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 33em; margin: 0; }
.hero-copy > * { animation: rise .9s ease both; }
.hero-copy > *:nth-child(2) { animation-delay: .1s; }
.hero-copy > *:nth-child(3) { animation-delay: .2s; }

.hero-visual { position: relative; padding: 0 40px 40px 0; animation: rise 1s .25s ease both; }
.hero-img {
  display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 40px 40px 240px 40px;
}
.hero-badge { position: absolute; border-radius: 20px; padding: 22px 26px; box-shadow: 0 20px 40px rgba(14,28,21,.12); }
.hero-badge strong { display: block; font-size: 1.9rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.hero-badge span { display: block; margin-top: 6px; }
.hero-badge-lime { top: 48px; right: 0; background: var(--lime); color: var(--green-900); }
.badge-figure { display: flex; align-items: center; gap: 10px; }
.badge-figure em { font-style: normal; font-weight: 600; font-size: 1rem; line-height: 1.15; letter-spacing: -.01em; }
.hero-badge-lime span { font-family: var(--mono); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--green-700); }
.hero-badge-dark { left: -48px; bottom: 96px; background: var(--green-800); color: var(--white); max-width: 270px; }
.hero-badge-dark strong { font-size: 1.3rem; color: var(--lime); }
.hero-badge-dark span { font-size: .92rem; color: rgba(255,255,255,.8); }
.hero:not(.page-hero) .hero-badge-dark strong { font-size: 1.9rem; }
.hero:not(.page-hero) .hero-badge-dark span { font-family: var(--mono); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.75); }

.hero-badge { animation: float 5s ease-in-out infinite; will-change: transform; }
.hero-badge-dark { animation-duration: 6s; animation-delay: -2.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Ticker ----------------------------------------------------------------- */
.ticker { background: var(--green-800); color: rgba(255,255,255,.9); overflow: hidden; padding: 22px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker ul { display: flex; gap: 72px; margin: 0; padding: 0 36px; list-style: none; }
.ticker li { display: flex; align-items: center; gap: 12px; white-space: nowrap; font-size: .95rem; }
.ticker li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Sections --------------------------------------------------------------- */
.section { padding: 128px 0; }
.section-dark { background: var(--green-800); color: rgba(255,255,255,.75); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-mint { background: var(--mint); }
.section-head { max-width: 640px; margin-bottom: 72px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p:last-child { font-size: 1.05rem; }

/* O nama */
.mission-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: center; }
.mission-intro > p.muted { font-size: 1.05rem; margin: 0; }
.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value-card { background: var(--mint); border: 1px solid var(--mint-line); border-radius: 20px; padding: 28px; transition: transform .3s, box-shadow .3s; }
.value-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(13,61,43,.08); }
.value-card h3 { margin: 22px 0 8px; }
.value-card p { margin: 0; font-size: .9rem; color: var(--muted); }
.value-icon {
  width: 60px; height: 60px; border-radius: 16px; background: var(--white); border: 1px solid var(--mint-line);
  display: grid; place-items: center;
  --ico-s: var(--green-800); --ico-d: #E6F4C8; --ico-a: var(--lime);
}

/* Naš put */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); }
.step { padding: 48px 48px 56px; border-left: 1px solid rgba(255,255,255,.08); border-top: 1px solid rgba(255,255,255,.08); }
.step:nth-child(3n+1) { border-left: 0; }
.step:nth-child(-n+3) { border-top: 0; }
.step-num {
  display: inline-block; margin-bottom: 24px; padding: 6px 12px; border-radius: 99px;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--lime); background: rgba(184,224,74,.08); border: 1px solid rgba(184,224,74,.22);
}
.step-icon { width: 72px; height: 72px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(184,224,74,.3); display: grid; place-items: center; margin-bottom: 28px; }
.step-icon .ico { width: 36px; height: 36px; }
.step-icon { --ico-s: #E6F2DA; --ico-d: rgba(184,224,74,.12); --ico-a: var(--lime); }
.step h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 14px; }
.step p { margin: 0; font-size: .95rem; line-height: 1.7; }

/* Kutjevo Z */
.project-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 64px; align-items: end; }
.project-intro > p.muted { font-size: 1.02rem; }
.project-photo { position: relative; margin-top: 32px; }
.project-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px 24px 120px 24px; }
.status-pill {
  position: absolute; top: 18px; left: 18px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 99px; background: var(--lime); color: var(--green-900);
  font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-800); flex: none; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.project-side { align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; gap: 24px; }
.project-side .link-text { align-self: flex-end; }
.link-text {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 1rem; color: var(--green-800); text-decoration: none;
  transition: gap .2s, color .2s;
}
.link-text span { color: var(--green-600); transition: transform .2s; }
.link-text:hover { color: var(--green-600); }
.link-text:hover span { transform: translateX(4px); }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.spec-card {
  display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; align-content: start;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px;
  transition: border-color .3s, box-shadow .3s;
}
.spec-card:hover { border-color: var(--mint-line); box-shadow: 0 16px 32px rgba(13,61,43,.06); }
.spec-icon { grid-row: span 3; width: 64px; height: 64px; border-radius: 16px; background: var(--mint-line); display: grid; place-items: center; }
.spec-icon { --ico-s: var(--green-800); --ico-d: var(--white); --ico-a: var(--lime); }
.spec-label { font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-700); }
.spec-card strong { display: block; font-size: 1.1rem; font-weight: 600; margin: 10px 0 6px; letter-spacing: -.01em; color: var(--green-900); }
.spec-card p { margin: 0; font-size: .88rem; color: var(--muted); }
.spec-card-wide { grid-column: 1 / -1; }

/* EU */
.eu-card { background: var(--white); border: 1px solid var(--mint-line); border-radius: 28px; overflow: hidden; display: grid; grid-template-columns: 320px 1fr; }
.eu-head { padding: 48px 36px; border-right: 1px solid var(--mint-line); display: flex; flex-direction: column; gap: 32px; }
.eu-logo { display: block; width: 100%; max-width: 250px; height: auto; }
.eu-note { margin: 0; padding-top: 24px; border-top: 1px solid var(--mint-line); font-size: .88rem; line-height: 1.6; color: var(--muted); }
.eu-body { padding: 56px; }
.eu-body h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.eu-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--mint-line); border: 1px solid var(--mint-line); border-radius: 16px; overflow: hidden; margin: 36px 0; }
.eu-facts div { background: var(--white); padding: 20px 24px; display: flex; flex-direction: column; gap: 4px; }
.eu-facts span { font-size: .82rem; color: var(--muted); }
.eu-facts strong { font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
.goals { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.goal { background: var(--mint); border: 1px solid var(--mint-line); border-radius: 16px; padding: 24px; }
.goal p { margin: 10px 0 0; font-size: .93rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.55); padding: 96px 0 40px; font-size: .92rem; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.08); }
.logo-light { color: var(--white); }
.logo-light .logo-word b, .logo-light .logo-esco { color: var(--white); }
.logo-light .logo-esco { font-weight: 400; }
.footer-brand p { margin: 20px 0 0; max-width: 30em; line-height: 1.7; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { color: var(--white); font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.footer-col a { text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 32px; font-size: .85rem; }
.footer-bottom p { margin: 0; }


/* Podstranica projekta ----------------------------------------------------- */
.nav a.active { background: var(--mint); color: var(--green-600); }
.breadcrumb { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--muted); margin-bottom: 40px; }
.breadcrumb a { text-decoration: none; color: var(--green-900); }
.breadcrumb a:hover { color: var(--green-600); }
.breadcrumb span[aria-hidden] { color: var(--green-500); font-size: 1.1rem; }
.page-hero { padding: 64px 0 112px; }
.page-hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.8rem); }

/* Hero stranice projekta: fotografija preko cijele širine */
.project-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(820px, calc(100vh - 88px));
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 96px 0 40px; color: var(--white); background: var(--green-900);
}
.project-hero-bg { position: absolute; inset: 0; z-index: -1; }
.project-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; animation: heroZoom 18s ease-out both; }
.project-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,30,22,.88) 0%, rgba(10,30,22,.6) 45%, rgba(10,30,22,.15) 80%),
    linear-gradient(0deg, rgba(10,30,22,.9) 0%, rgba(10,30,22,0) 45%);
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.project-hero-inner h1 { max-width: 15ch; }
.project-hero-inner > * { animation: rise .9s ease both; }
.project-hero-inner > *:nth-child(2) { animation-delay: .08s; }
.project-hero-inner > *:nth-child(3) { animation-delay: .16s; }
.project-hero-inner > *:nth-child(4) { animation-delay: .24s; }
.project-hero-inner > *:nth-child(5) { animation-delay: .32s; }
.project-hero h1 { color: var(--white); font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; margin-bottom: 24px; }
.project-hero .lead { color: rgba(255,255,255,.82); max-width: 36em; margin-bottom: 28px; }
.project-hero .status-pill { position: static; }
.breadcrumb-light, .breadcrumb-light a { color: rgba(255,255,255,.75); }
.breadcrumb-light a:hover { color: var(--lime); }
.breadcrumb-light span[aria-hidden] { color: var(--lime); }

.project-hero-facts {
  margin-top: 64px;
  display: grid; grid-template-columns: 1.5fr 1.1fr 1fr .8fr;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 20px;
  backdrop-filter: blur(14px) saturate(130%); -webkit-backdrop-filter: blur(14px) saturate(130%);
  animation: rise 1s .4s ease both;
}
.fact { padding: 26px 28px; border-left: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: 8px; }
.fact:first-child { border-left: 0; }
.fact .spec-label { color: var(--lime); }
.fact strong { white-space: nowrap; color: var(--white); font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 600; letter-spacing: -.01em; }

.about-project { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: start; }
.about-project p.muted { font-size: 1.02rem; }
.info-card { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 8px 32px; }
.info-card div { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.info-card div:first-child { border-top: 0; }
.info-card dt { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-500); padding-top: 3px; }
.info-card dd { margin: 0; font-weight: 600; color: var(--green-900); }

.spec-grid-3 { grid-template-columns: repeat(3, 1fr); }

.funding { background: var(--mint); border: 1px solid var(--mint-line); border-radius: 16px; padding: 24px; margin: 32px 0 0; }
.funding-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.funding-row span { font-size: .9rem; color: var(--muted); }
.funding-row strong { font-size: 1.3rem; font-weight: 600; color: var(--green-900); }
.funding-row-muted strong { font-size: 1rem; color: var(--muted); }
.funding-bar { height: 12px; border-radius: 99px; background: var(--white); border: 1px solid var(--mint-line); margin: 14px 0; overflow: hidden; }
.funding-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green-600), var(--lime)); }


/* Podnožje: adresa i regulativa */
.footer-col address { font-style: normal; line-height: 1.8; }
.footer-link-btn, .inline-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.footer-link-btn { transition: color .2s; }
.footer-link-btn:hover { color: var(--lime); }
.footer-brand .logo { text-decoration: none; }
.inline-link { color: var(--green-600); text-decoration: underline; text-underline-offset: 3px; }

/* Pravne stranice */
.legal-hero { padding-bottom: 72px; }
.legal-hero .lead { font-size: .95rem; margin-top: -8px; }
.legal-section { padding-top: 0; }
.legal { max-width: 780px; color: var(--muted); font-size: 1.02rem; line-height: 1.75; }
.legal-intro { font-size: 1.12rem; color: var(--green-900); }
.legal h2 { font-size: 1.45rem; margin: 2.2em 0 .7em; padding-top: 1.4em; border-top: 1px solid var(--line); }
.legal h3 { font-size: 1.05rem; margin: 1.6em 0 .5em; }
.legal a { color: var(--green-600); text-underline-offset: 3px; }
.legal strong { color: var(--green-900); font-weight: 600; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: .3em; }
.legal li::marker { color: var(--green-500); }
.legal-card { margin: 0 0 1em; background: var(--mint); border: 1px solid var(--mint-line); border-radius: 16px; padding: 4px 24px; }
.legal-card div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--mint-line); }
.legal-card div:first-child { border-top: 0; }
.legal-card dt { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-500); padding-top: 4px; }
.legal-card dd { margin: 0; font-weight: 600; color: var(--green-900); }
.legal-table-wrap { overflow-x: auto; margin: 0 0 1em; border: 1px solid var(--line); border-radius: 16px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
.legal-table th { text-align: left; font-family: var(--mono); font-weight: 400; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-500); background: var(--mint); padding: 14px 18px; }
.legal-table td { padding: 14px 18px; border-top: 1px solid var(--line); color: var(--green-900); vertical-align: top; }
.legal-table code { font-size: .85rem; background: var(--mint); padding: 2px 6px; border-radius: 4px; }

/* Obavijest o kolačićima */
.cookie-banner {
  position: fixed; left: 24px; bottom: 24px; z-index: 100;
  width: min(460px, calc(100% - 48px));
  display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: start;
  background: var(--white); border: 1px solid var(--mint-line); border-radius: 20px;
  padding: 22px 22px 20px; box-shadow: 0 24px 60px rgba(14,28,21,.18);
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .4s ease, transform .4s ease;
}
.cookie-banner.visible { opacity: 1; transform: none; pointer-events: auto; }
.cookie-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--mint); display: grid; place-items: center; grid-row: span 2; --ico-s: var(--green-800); --ico-d: #F3E3C3; --ico-a: var(--green-800); }
.cookie-icon .ico { width: 28px; height: 28px; }
.cookie-text strong { display: block; color: var(--green-900); font-size: 1rem; margin-bottom: 4px; }
.cookie-text p { margin: 0; font-size: .88rem; line-height: 1.55; color: var(--muted); }
.cookie-text a { color: var(--green-600); text-underline-offset: 3px; }
.cookie-btn {
  grid-column: 2; justify-self: start; margin-top: 10px;
  background: var(--green-800); color: var(--white); border: 0; border-radius: 99px;
  padding: 11px 26px; font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; transition: background .2s;
}
.cookie-btn:hover { background: var(--green-700); }


/* Posjetite nas */
.visit-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 72px; align-items: center; }
.visit-copy > p.muted { font-size: 1.05rem; margin-bottom: 32px; }
.visit-address {
  display: flex; align-items: center; gap: 18px; margin-bottom: 28px;
  background: var(--white); border: 1px solid var(--mint-line); border-radius: 20px; padding: 20px 24px;
}
.visit-address strong { display: block; font-size: 1.15rem; font-weight: 600; color: var(--green-900); margin-top: 4px; }
.visit-address div > span:last-child { color: var(--muted); font-size: .95rem; }
.visit-icon {
  width: 56px; height: 56px; flex: none; border-radius: 16px; background: var(--mint-line); display: grid; place-items: center;
  --ico-s: var(--green-800); --ico-d: var(--white); --ico-a: var(--lime);
}
.visit-map {
  position: relative; aspect-ratio: 4 / 3; border-radius: 28px 28px 160px 28px; overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(184,224,74,.25), transparent 45%),
    linear-gradient(to right, rgba(13,61,43,.06) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(to bottom, rgba(13,61,43,.06) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--white);
  border: 1px solid var(--mint-line);
}
.visit-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 32px 48px 72px;
}
.map-pin {
  width: 72px; height: 72px; border-radius: 50%; background: var(--green-800); display: grid; place-items: center; margin-bottom: 18px;
  box-shadow: 0 0 0 10px rgba(184,224,74,.2), 0 16px 32px rgba(13,61,43,.2);
  --ico-s: var(--white); --ico-d: rgba(255,255,255,.12); --ico-a: var(--lime);
  animation: float 4s ease-in-out infinite;
}
.map-pin .ico { width: 34px; height: 34px; }
.map-placeholder strong { font-size: 1.15rem; color: var(--green-900); margin-bottom: 6px; }
.map-placeholder p { max-width: 30em; font-size: .88rem; color: var(--muted); margin: 0 0 18px; }
.map-placeholder p a { color: var(--green-600); text-underline-offset: 3px; }
.map-btn {
  background: var(--green-800); color: var(--white); border: 0; border-radius: 99px;
  padding: 12px 26px; font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; transition: background .2s;
}
.map-btn:hover { background: var(--green-700); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1080px) {
  .about-project { grid-template-columns: 1fr; gap: 48px; }
  .visit-grid { grid-template-columns: 1fr; gap: 48px; }
  .project-hero-facts { grid-template-columns: 1fr 1fr; }
  .fact strong { white-space: normal; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  .spec-grid-3 { grid-template-columns: 1fr 1fr; }
  .project-side .link-text { align-self: flex-start; order: 2; }
  .hero-grid, .mission-grid, .project-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-visual { max-width: 620px; margin-left: auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(n) { border-left: 1px solid rgba(255,255,255,.08); border-top: 1px solid rgba(255,255,255,.08); }
  .step:nth-child(odd) { border-left: 0; }
  .step:nth-child(-n+2) { border-top: 0; }
  .eu-card { grid-template-columns: 1fr; }
  .eu-head { border-right: 0; border-bottom: 1px solid var(--mint-line); gap: 24px; }
  }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .header-inner { display: flex; justify-content: space-between; }
  .nav {
    position: absolute; top: 88px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--paper); padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(14,28,21,.06);
    display: none;
  }
  .nav.open { display: flex; }
  .nav-group { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav a { padding: 14px 18px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 88px 0; }
  .header-inner { height: 80px; }
  .nav { top: 80px; }
  .hero { padding: 64px 0 80px; }
  .hero-visual { padding: 48px 0 0; }
  .hero-img { border-radius: 32px 32px 160px 32px; }
  .hero-badge { padding: 16px 20px; }
  .hero-badge strong { font-size: 1.5rem; }
  .badge-figure em { font-size: .88rem; }
  .hero-badge-lime { top: 0; right: 0; }
  .hero-badge-dark { left: -8px; bottom: 24px; max-width: 220px; }
  .hero-badge-dark strong { font-size: 1.1rem; }
  .hero-badge-dark span { font-size: .82rem; }
  .hero:not(.page-hero) .hero-badge-dark strong { font-size: 1.5rem; }
  .hero:not(.page-hero) .hero-badge-dark span { font-size: .7rem; }
  .value-grid, .spec-grid, .eu-facts, .goals { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step:nth-child(n) { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); padding: 40px 8px; }
  .step:first-child { border-top: 0; }
  .spec-card { grid-template-columns: 52px 1fr; column-gap: 16px; padding: 22px; }
  .spec-icon { width: 52px; height: 52px; }
  .spec-icon .ico { width: 28px; height: 28px; }
  .eu-head { padding: 32px 24px; }
  .eu-body { padding: 36px 24px; }
  .footer-top { grid-template-columns: 1fr; }
  .visit-map { aspect-ratio: 1 / 1; border-radius: 24px 24px 96px 24px; }
  .map-placeholder { padding: 24px 24px 56px; }
  .cookie-banner { left: 12px; bottom: 12px; width: calc(100% - 24px); padding: 18px; }
  .legal-card div { grid-template-columns: 1fr; gap: 4px; }
  .page-hero { padding: 40px 0 72px; }
  .breadcrumb { margin-bottom: 28px; }
  .project-hero { padding: 72px 0 24px; min-height: 0; }
  .project-hero-facts { margin-top: 40px; }
  .fact { padding: 18px 16px; }
  .fact:nth-child(odd) { border-left: 0; }
  .info-card { padding: 4px 22px; }
  .info-card div { grid-template-columns: 1fr; gap: 6px; }
  .spec-grid-3 { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 380px) {
  .logo { font-size: 1.3rem; }
  }
