/* =========================================================
   Lalalu – igralnica v naravi
   Barve povzete iz logotipa (zelen krog, oranžen napis, sonce, lisica)
   ========================================================= */
:root {
  --green: #98bd45;
  --green-500: #85ad35;
  --green-600: #6b9128;
  --green-700: #4a6b1f;
  --green-800: #2f4a1c;
  --green-900: #1f3315;
  --leaf-light: #c8db4b;
  --orange: #f68d25;
  --orange-600: #e2740c;
  --orange-100: #fde9d3;
  --sun: #fcdf65;
  --sun-100: #fff4c7;
  --cream: #fff8ec;
  --cream-200: #f8eedb;
  --mint: #f1f7e3;
  --white: #fff;
  --ink: #23361a;
  --ink-soft: #4d5e43;
  --line: #e6e0cf;

  /* Ena sama pisava za celotno stran; naslovi se ločijo le po debelini */
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: var(--font-body);

  --radius-s: 14px;
  --radius: 24px;
  --radius-l: 36px;
  --shadow-s: 0 4px 14px rgba(47, 74, 28, .08);
  --shadow: 0 14px 40px rgba(47, 74, 28, .12);
  --shadow-l: 0 24px 60px rgba(31, 51, 21, .18);
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .9, .32, 1.15);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; }
a { color: var(--green-700); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--orange-600); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; color: var(--green-800); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--green-800); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.section--mint { background: var(--mint); }
.section--white { background: var(--white); }
.section--cream { background: var(--cream); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-head); font-weight: 800; font-size: .95rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--orange-600);
  margin-bottom: .8rem;
}
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head p { font-size: 1.15rem; color: var(--ink-soft); }
.accent { color: var(--orange); }

/* ---------- Gumbi ---------- */
.btn {
  --bg: var(--orange); --fg: var(--green-900);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .8em 1.6em;
  font-family: var(--font-head); font-weight: 800; font-size: 1.08rem; line-height: 1.1;
  color: var(--fg); background: var(--bg);
  border: 2px solid transparent; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 0 rgba(0, 0, 0, .12);
  transition: transform .25s var(--ease), box-shadow .25s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 9px 0 rgba(0, 0, 0, .12); color: var(--fg); background: var(--sun); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0, 0, 0, .12); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--green { --bg: var(--green-700); --fg: #fff; }
.btn--green:hover { --fg: var(--green-900); }
.btn--ghost { --bg: rgba(255, 255, 255, .14); --fg: #fff; border-color: rgba(255, 255, 255, .7); box-shadow: none; backdrop-filter: blur(6px); }
.btn--ghost:hover { --bg: #fff; --fg: var(--green-800); box-shadow: none; }
.btn--outline { --bg: transparent; --fg: var(--green-800); border-color: var(--green); box-shadow: none; }
.btn--outline:hover { --bg: var(--mint); box-shadow: none; }
.btn--small { min-height: 44px; padding: .6em 1.2em; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- Glava ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 248, 236, .92);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(47, 74, 28, .1); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); width: min(100% - 32px, 1360px); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green-800); flex: none; }
.brand img { width: 58px; height: 58px; transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.05); }
.brand-text { font-family: var(--font-head); line-height: 1; }
.brand-text strong { display: block; font-size: 1.45rem; font-weight: 900; color: var(--orange-600); letter-spacing: .02em; }
.brand-text span { font-size: .82rem; color: var(--green-700); font-weight: 700; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a {
  display: block; padding: .55em .9em; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.04rem;
  color: var(--green-800); text-decoration: none; transition: background .2s, color .2s;
}
.main-nav a:hover, .main-nav a.is-active { background: var(--mint); color: var(--green-700); }
.header-cta { flex: none; }
.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; border-radius: 14px;
  background: var(--mint); color: var(--green-800); cursor: pointer; padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 2.5px; border-radius: 2px; background: currentColor;
  margin: auto; position: relative; transition: transform .3s ease, background .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(92vh, 860px);
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
  padding: 80px 0 150px;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; animation: heroZoom 18s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(23, 40, 14, .82) 0%, rgba(23, 40, 14, .55) 45%, rgba(23, 40, 14, .08) 80%),
    linear-gradient(0deg, rgba(23, 40, 14, .55) 0%, rgba(23, 40, 14, 0) 40%);
}
.hero-content { max-width: 660px; }
.badge {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .5em 1.1em; border-radius: 999px;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(8px);
  font-family: var(--font-head); font-weight: 800; font-size: .9rem; letter-spacing: .12em;
}
.hero h1 {
  color: #fff; font-size: clamp(2.9rem, 7.4vw, 5.6rem); font-weight: 900;
  line-height: 1.02; margin: 22px 0 22px; letter-spacing: -.02em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .25);
}
.hero h1 .accent { color: var(--orange); display: inline-block; position: relative; }
.hero h1 .accent::after {
  content: ""; position: absolute; left: 2%; right: 4%; bottom: -.1em; height: .1em;
  background: var(--sun); border-radius: 99px; opacity: .9; z-index: -1;
  transform-origin: left; animation: underline 1s .6s var(--ease) both;
}
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-lead { font-size: clamp(1.15rem, 1.8vw, 1.35rem); max-width: 540px; color: rgba(255, 255, 255, .94); margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-chips {
  position: absolute; left: 0; right: 0; bottom: 92px; z-index: 2;
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chips li {
  display: inline-flex; align-items: center; gap: .45em;
  padding: .45em 1em; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: var(--green-800);
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  box-shadow: var(--shadow-s);
}

/* ---------- Organski prehodi ---------- */
.wave { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(50px, 7vw, 100px); width: 100%; z-index: 1; pointer-events: none; display: block; }
.wave--top { top: -1px; bottom: auto; transform: rotate(180deg); }

/* ---------- Uvod ---------- */
.intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.intro-text .lead { font-size: 1.25rem; color: var(--ink); }
.highlights { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.highlights li {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: var(--white); border-radius: var(--radius-s);
  box-shadow: var(--shadow-s); font-weight: 600; color: var(--green-800);
}
.highlights .ico {
  width: 42px; height: 42px; flex: none; display: grid; place-items: center;
  border-radius: 12px; background: var(--mint); font-size: 1.3rem;
}
.intro-media { position: relative; }
.photo-stack { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.photo-stack .wide { grid-column: 1 / -1; }
.photo-stack img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.photo-stack .wide img { aspect-ratio: 16 / 7; }
.photo-stack .tall img { aspect-ratio: 4 / 5; }
.photo-stack .tall:nth-child(3) { transform: translateY(28px); }
.sun-deco {
  position: absolute; top: -34px; right: 0; width: 96px; height: 96px; z-index: 2;
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Zgodba ---------- */
.story-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.story-photo { position: relative; }
.story-photo img { border-radius: var(--radius-l) var(--radius-l) var(--radius-l) 120px; box-shadow: var(--shadow-l); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.story-photo .tag {
  position: absolute; right: -14px; bottom: 36px;
  background: var(--white); border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow);
  font-family: var(--font-head); color: var(--green-800); line-height: 1.25;
}
.story-photo .tag strong { display: block; font-size: 1.15rem; }
.story-photo .tag span { font-size: .92rem; color: var(--ink-soft); }
.story-text p { color: var(--ink-soft); }
.name-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--sun-100); border-radius: var(--radius); padding: 22px 24px; margin: 26px 0;
}
.name-card .letters { font-family: var(--font-head); font-weight: 900; font-size: 1.7rem; color: var(--orange-600); line-height: 1; white-space: nowrap; }
.name-card p { margin: 0; color: var(--ink); }
.quote {
  margin: 0; padding: 0 0 0 22px; border-left: 4px solid var(--green);
  font-family: var(--font-head); font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; color: var(--green-800); line-height: 1.35;
}

/* ---------- Doživetja ---------- */
.programs-group + .programs-group { margin-top: clamp(64px, 8vw, 96px); }
.group-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.group-head h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 0; }
.group-head p { margin: 6px 0 0; color: var(--ink-soft); max-width: 560px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 26px; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-s);
  transition: transform .4s var(--ease), box-shadow .4s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mint); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card-emoji {
  position: absolute; left: 16px; bottom: -22px; z-index: 2;
  width: 56px; height: 56px; display: grid; place-items: center; font-size: 1.7rem;
  background: var(--white); border-radius: 18px; box-shadow: var(--shadow-s);
  transform: rotate(-6deg); transition: transform .4s var(--ease);
}
.card:hover .card-emoji { transform: rotate(4deg) scale(1.08); }
.card-price {
  position: absolute; right: 14px; top: 14px;
  background: var(--sun); color: var(--green-900); border-radius: 999px; padding: .35em .9em;
  font-family: var(--font-head); font-weight: 800; font-size: .95rem; box-shadow: var(--shadow-s);
}
.card-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 36px 24px 24px; }
.card-sub { font-family: var(--font-head); font-weight: 700; color: var(--orange-600); font-size: .98rem; margin-bottom: 4px; }
.card h4 { font-size: 1.45rem; margin-bottom: .45em; }
.card p { color: var(--ink-soft); font-size: 1rem; }
.facts { list-style: none; padding: 0; margin: 4px 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { background: var(--mint); color: var(--green-800); border-radius: 999px; padding: .3em .85em; font-size: .9rem; font-weight: 700; }
.card .btn { margin-top: auto; align-self: flex-start; }

.feature {
  display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
  background: var(--green-800); color: #fff; border-radius: var(--radius-l); box-shadow: var(--shadow-l);
}
.feature-media { position: relative; min-height: 360px; }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-body { padding: clamp(28px, 5vw, 56px); }
.feature h3, .feature h4 { color: #fff; }
.feature h3 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.feature p { color: rgba(255, 255, 255, .86); }
.feature .eyebrow { color: var(--sun); }
.termini { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; }
.termini li {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; padding: 12px 16px;
}
.termini .date {
  flex: none; width: 58px; text-align: center; background: var(--sun); color: var(--green-900);
  border-radius: 12px; padding: 6px 0; font-family: var(--font-head); line-height: 1;
}
.termini .date b { display: block; font-size: 1.4rem; }
.termini .date small { font-size: .78rem; font-weight: 600; text-transform: uppercase; }
.termini strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.08rem; }
.termini span { color: rgba(255, 255, 255, .78); font-size: .95rem; }
.feature .facts li { background: rgba(255, 255, 255, .12); color: #fff; }
.feature-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.extras {
  margin-top: 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px;
}
.extra { background: var(--cream); border: 2px dashed var(--line); border-radius: var(--radius); padding: 20px 22px; }
.extra strong { font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; color: var(--green-800); display: block; margin-bottom: 4px; }
.extra p { margin: 0; font-size: .97rem; color: var(--ink-soft); }

/* ---------- Dialog programa ---------- */
dialog.program {
  width: min(100% - 24px, 920px); max-height: min(92vh, 900px); padding: 0; border: 0;
  border-radius: var(--radius-l); box-shadow: var(--shadow-l); background: var(--white); color: var(--ink);
  overflow: hidden;
}
dialog.program[open] { animation: pop .35s var(--ease); display: flex; }
dialog::backdrop { background: rgba(23, 40, 14, .6); backdrop-filter: blur(4px); }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
.program-inner { display: grid; grid-template-columns: 1fr 300px; overflow: auto; width: 100%; }
.program-main { padding: clamp(26px, 4vw, 44px); }
.program-main h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.program-main h4 { font-size: 1.15rem; margin-top: 1.4em; }
.program-main ul { padding-left: 0; list-style: none; margin: 0; }
.program-main li { position: relative; padding-left: 30px; margin-bottom: 8px; }
.program-main li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 6px;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.program-price { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.program-price span { background: var(--sun-100); border-radius: 14px; padding: .5em 1em; font-weight: 700; color: var(--green-800); }
.program-side { background: var(--mint); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.program-side a.poster { display: block; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.program-side a.poster img { transition: transform .4s ease; }
.program-side a.poster:hover img { transform: scale(1.03); }
.program-side small { color: var(--ink-soft); text-align: center; }
.dialog-close {
  position: absolute; right: 14px; top: 14px; z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--white); color: var(--green-800); box-shadow: var(--shadow-s); font-size: 1.6rem; line-height: 1;
}
.dialog-close:hover { background: var(--sun); }

/* ---------- Zakaj ---------- */
.why { color: #fff; background: var(--green-700); overflow: hidden; }
.why h2, .why h3 { color: #fff; }
.why .section-head p { color: rgba(255, 255, 255, .85); }
.why .eyebrow { color: var(--sun); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; z-index: 2; }
.why-item {
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius); padding: 30px 24px; text-align: center;
  transition: transform .4s var(--ease), background .3s;
}
.why-item:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .14); }
.why-icon {
  width: 84px; height: 84px; margin: 0 auto 18px; display: grid; place-items: center;
  border-radius: 28px 28px 28px 8px; background: var(--cream); font-size: 2.3rem;
  box-shadow: 0 8px 0 rgba(0, 0, 0, .12);
}
.why-item:nth-child(2) .why-icon { background: var(--sun); border-radius: 28px 8px 28px 28px; }
.why-item:nth-child(3) .why-icon { background: var(--orange-100); border-radius: 8px 28px 28px 28px; }
.why-item:nth-child(4) .why-icon { background: var(--leaf-light); border-radius: 28px 28px 8px 28px; }
.why-item h3 { font-size: 1.3rem; }
.why-item p { margin: 0; color: rgba(255, 255, 255, .84); font-size: 1rem; }
.why-banner {
  position: relative; z-index: 2;
  margin-top: 48px; text-align: center;
  font-family: var(--font-head); font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; line-height: 1.3;
}
.why-banner span { color: var(--sun); }
.footprints { position: absolute; opacity: .12; color: #fff; pointer-events: none; }
.footprints--a { left: -10px; top: 80px; width: 220px; transform: rotate(-20deg); }
.footprints--b { right: -20px; bottom: 60px; width: 260px; transform: rotate(160deg); }

/* ---------- Za starše ---------- */
.parents-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.info-card { background: var(--white); border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-s); }
.info-card h3 { display: flex; align-items: center; gap: 12px; }
.info-card h3 .ico { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--sun-100); font-size: 1.5rem; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding: 8px 0 8px 34px; border-bottom: 1px dashed var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: "🌿"; position: absolute; left: 0; top: 8px; }
.info-card .note { margin: 18px 0 0; font-weight: 700; color: var(--green-700); }
.rules dt { font-family: var(--font-head); font-weight: 800; color: var(--green-800); font-size: 1.1rem; margin-top: 14px; }
.rules dt:first-child { margin-top: 0; }
.rules dd { margin: 4px 0 0; color: var(--ink-soft); }

/* ---------- Dogodki (časovnica) ---------- */
.timeline { position: relative; display: grid; gap: 34px; max-width: 1040px; margin: 0 auto; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; transform: translateX(-50%);
  background: repeating-linear-gradient(to bottom, var(--green) 0 14px, transparent 14px 26px); border-radius: 4px;
}
.event { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.event::after {
  content: "👣"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; display: grid; place-items: center; background: var(--cream); border: 3px solid var(--green);
  border-radius: 50%; font-size: 1.1rem;
}
.event:nth-child(even) .event-media { order: 2; }
.event-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.event-date { display: inline-block; background: var(--orange-100); color: var(--orange-600); border-radius: 999px; padding: .25em .9em; font-weight: 800; font-size: .9rem; margin-bottom: 10px; }
.event h3 { font-size: 1.5rem; }
.event p { color: var(--ink-soft); margin-bottom: .6em; }
.event .closing { font-family: var(--font-head); color: var(--green-700); font-weight: 700; }

/* ---------- Galerija ---------- */
.gallery { columns: 4 240px; column-gap: 16px; }
.gallery-item {
  break-inside: avoid; margin: 0 0 16px; position: relative; display: block; width: 100%;
  border: 0; padding: 0; background: var(--mint); border-radius: 20px; overflow: hidden; cursor: zoom-in;
}
.gallery-item img { width: 100%; height: auto; transition: transform .7s ease, filter .4s; }
.gallery-item::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(23, 40, 14, .35), transparent 50%);
  opacity: 0; transition: opacity .3s;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item.is-hidden { display: none; }
.gallery-more { text-align: center; margin-top: 30px; }
.gallery-note { text-align: center; margin-top: 18px; color: var(--ink-soft); }

.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center;
  background: rgba(15, 26, 9, .94); padding: 60px 70px;
}
.lightbox.is-open { display: flex; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; } }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lb-btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.6rem; display: grid; place-items: center;
  transition: background .2s;
}
.lb-btn:hover { background: var(--orange); color: var(--green-900); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .75); font-weight: 700; }

/* ---------- CTA ---------- */
.cta-wrap { padding: 0 0 clamp(72px, 10vw, 120px); background: var(--cream); }
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, var(--orange) 0%, #f9a648 55%, var(--sun) 120%);
  border-radius: var(--radius-l); padding: clamp(40px, 7vw, 80px) clamp(28px, 6vw, 80px);
  display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center;
  box-shadow: var(--shadow-l);
}
.cta::before {
  content: ""; position: absolute; z-index: -1; right: -80px; bottom: -160px; width: 520px; height: 420px;
  background: var(--green); border-radius: 50% 50% 0 0 / 70% 70% 0 0; opacity: .9;
}
.cta::after {
  content: ""; position: absolute; z-index: -1; right: 180px; bottom: -200px; width: 460px; height: 330px;
  background: var(--green-500); border-radius: 50% 50% 0 0 / 80% 80% 0 0;
}
.cta h2 { color: var(--green-900); font-size: clamp(2rem, 4.4vw, 3.3rem); max-width: 640px; }
.cta p { color: var(--green-900); font-size: 1.2rem; max-width: 560px; margin-bottom: 28px; }
.cta .btn { --bg: var(--green-800); --fg: #fff; }
.cta .btn:hover { --bg: #fff; --fg: var(--green-800); }
.cta-fox { width: clamp(150px, 20vw, 240px); filter: drop-shadow(0 14px 18px rgba(31, 51, 21, .3)); animation: bob 4s ease-in-out infinite; transform-origin: bottom center; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-2deg); } }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 28px; align-items: start; }
.form-card { background: var(--white); border-radius: var(--radius-l); padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .98rem; color: var(--green-800); }
.field label .req { color: var(--orange-600); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 2px solid var(--line); border-radius: 16px;
  padding: 13px 16px; min-height: 52px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(152, 189, 69, .25); }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f4a1c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 20px;
}
.field input::placeholder, .field textarea::placeholder { color: #8a957f; opacity: 1; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c2410c; background: #fff7f3; }
.field-error { display: none; color: #9b2c12; font-size: .9rem; font-weight: 700; }
.field.has-error .field-error { display: block; }
.form-hint { margin: -6px 0 18px; font-size: .92rem; color: var(--ink-soft); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink-soft); }
.consent input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; accent-color: var(--green-600); flex: none; }
.form-card .btn { margin-top: 6px; }
.hidden-field { display: none; }

.contact-aside { display: grid; gap: 16px; }
.contact-item {
  display: flex; gap: 16px; align-items: center; padding: 18px 20px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-s);
  text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s;
}
a.contact-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.contact-item .ico { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 16px; background: var(--mint); color: var(--green-700); }
.contact-item .ico svg { width: 24px; height: 24px; }
.contact-item small { display: block; color: var(--ink-soft); font-size: .88rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.contact-item strong { font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; color: var(--green-800); word-break: break-word; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s); background: var(--mint); aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Noga ---------- */
.site-footer { position: relative; background: var(--green-900); color: rgba(255, 255, 255, .82); padding: 110px 0 40px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.footer-brand img { width: 84px; height: 84px; }
.footer-brand strong { font-family: var(--font-head); font-size: 1.5rem; color: #fff; display: block; line-height: 1.1; }
.footer-brand span { color: var(--sun); font-family: var(--font-head); }
.site-footer h3 { color: #fff; font-size: 1.15rem; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .92rem; }

/* ---------- Mobilni sticky CTA ---------- */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: none;
  transform: translateY(140%); transition: transform .4s var(--ease);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { width: 100%; box-shadow: 0 10px 30px rgba(31, 51, 21, .35); }

/* ---------- Animacije ob scrollu ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.float-leaf { position: absolute; width: 38px; color: var(--green); opacity: .5; animation: leaf 7s ease-in-out infinite; pointer-events: none; }
@keyframes leaf { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-14px) rotate(10deg); } }

/* ---------- Akcije in obvestila ---------- */
.promo-bar { background: var(--orange); color: var(--green-900); font-weight: 700; font-size: .98rem; text-align: center; }
.promo-bar .container { padding: 9px 0; display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: center; align-items: center; }
.promo-bar a { color: var(--green-900); text-decoration: underline; }
.card-price.is-sale { background: var(--orange); display: inline-flex; gap: 6px; align-items: baseline; }
.card-price b { font-weight: 700; }
.card-price s, .program-price s, .fact-price s { opacity: .65; font-weight: 500; }
.sale-note { display: inline-block; background: var(--orange-100); color: var(--orange-600); font-weight: 800; font-size: .92rem; border-radius: 12px; padding: .35em .8em; }
.sale-note--dark { background: var(--orange); color: var(--green-900); }
.feature .facts .fact-price { background: var(--sun); color: var(--green-900); }
.no-terms { font-style: italic; }
.program-price .is-sale { background: var(--orange-100); color: var(--orange-600); }
.program-inner.no-side { grid-template-columns: 1fr; }
.program-actions { margin-top: 22px; }
.form-msg { border-radius: 14px; padding: 12px 16px; font-weight: 700; }
.form-msg--err { background: #fde3dc; color: #9b2c12; }
.contact-item--note { align-items: flex-start; }
.contact-item--note p { margin: 4px 0 0; }

/* ---------- Podstrani (404, hvala) ---------- */
.simple-page { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; text-align: center; padding: 60px 0 120px; position: relative; overflow: hidden; }
.simple-page .big { font-family: var(--font-head); font-size: clamp(5rem, 18vw, 10rem); font-weight: 900; color: var(--orange); line-height: 1; }
.simple-page img.fox { width: 150px; margin: 0 auto 10px; animation: bob 4s ease-in-out infinite; }
.simple-page p { max-width: 520px; margin: 0 auto 24px; color: var(--ink-soft); font-size: 1.15rem; }
.simple-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Novi bloki: podsekcije, napovedani dogodki, prijava ---------- */
.subsection { margin-top: clamp(64px, 8vw, 96px); }
.form-card--narrow { max-width: 860px; margin: clamp(56px, 7vw, 80px) auto 0; }
.form-card .eyebrow { margin-bottom: .4rem; }
.event-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 26px; }
.event-card { display: flex; flex-direction: column; background: var(--cream); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s); }
.event-card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.event-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.event-card-body h3 { font-size: 1.4rem; }
.event-card-body p { color: var(--ink-soft); font-size: 1rem; }
.event-card-body .closing { font-weight: 700; color: var(--green-700); }
.event-card-body .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Odzivnost ---------- */
@media (max-width: 1440px) {
  .main-nav ul { gap: 2px; }
  .main-nav a { padding: .5em .7em; font-size: 1rem; }
}
@media (max-width: 1279px) {
  .nav-toggle { display: grid; place-items: center; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--cream);
    padding: 24px 16px 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s, transform .3s, visibility .3s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; gap: 6px; max-width: 560px; margin: 0 auto; }
  .main-nav a { font-size: 1.35rem; padding: .55em .9em; border-radius: 18px; }
  .main-nav .nav-cta { display: flex; margin: 18px auto 0; max-width: 560px; }
  .nav-open { overflow: hidden; }
  /* backdrop-filter bi fiksni meni omejil na višino glave */
  .nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
  .header-cta { margin-left: auto; }
}
@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .brand img { width: 50px; height: 50px; }
  .intro-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; }
  .story-photo { max-width: 460px; margin: 0 auto; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; }
  .feature-media { min-height: 0; aspect-ratio: 16 / 10; }
  .parents-grid { grid-template-columns: 1fr; }
  .program-inner { grid-template-columns: 1fr; }
  .program-side { flex-direction: row; align-items: center; }
  .program-side a.poster { width: 140px; flex: none; }
  .timeline::before { left: 22px; }
  .event { grid-template-columns: 1fr; gap: 18px; padding-left: 58px; }
  .event::after { left: 22px; top: 24px; }
  .event:nth-child(even) .event-media { order: 0; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .mobile-cta { display: block; }
  body { padding-bottom: 84px; }
}
@media (min-width: 1280px) { .main-nav .nav-cta { display: none; } }
@media (min-width: 1300px) { .sun-deco { right: -20px; } }
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .header-cta { display: none; }
  .hero { min-height: 100svh; padding: 48px 0 190px; align-items: flex-end; }
  .hero::before { background: linear-gradient(0deg, rgba(23, 40, 14, .9) 0%, rgba(23, 40, 14, .55) 55%, rgba(23, 40, 14, .2) 100%); }
  .hero-actions .btn { width: 100%; }
  .hero-chips { bottom: 70px; }
  .chips li { font-size: .88rem; padding: .4em .8em; }
  .highlights { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; text-align: left; }
  .cta-fox { position: absolute; right: 10px; bottom: 10px; width: 110px; }
  .cta .btn { margin-bottom: 70px; }
  .gallery { columns: 2; column-gap: 10px; }
  .gallery-item { margin-bottom: 10px; border-radius: 14px; }
  .lightbox { padding: 60px 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
  .photo-stack .tall:nth-child(3) { transform: none; }
  .sun-deco { width: 70px; height: 70px; top: -26px; right: 0; }
  .story-photo .tag { right: 8px; }
  .program-side { flex-direction: column; }
  .program-side a.poster { width: 100%; max-width: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
