/* =========================================================
   RROZHRK / NORDK — Stili kryesor
   ========================================================= */
:root {
  --forest: #0d2619;
  --forest-2: #123522;
  --forest-3: #1b4a2f;
  --green: #2e7a3f;
  --brand: #6dab3c;
  --lime: #8dc63f;
  --lime-soft: #e4f2d2;
  --sun: #f5a524;
  --sun-2: #ffc95a;
  --cream: #f6f2e7;
  --cream-2: #efe9d9;
  --paper: #fffdf7;
  --ink: #14211a;
  --muted: #5a6a5f;
  --line: rgba(20, 33, 26, .12);
  --line-light: rgba(255, 255, 255, .16);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 30px 60px -30px rgba(13, 38, 25, .45);
  --shadow-sm: 0 10px 30px -15px rgba(13, 38, 25, .35);
  --ff-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ff-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 600; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; }
h3, h4 { letter-spacing: -.005em; }
p { margin: 0 0 1.1em; }
::selection { background: var(--lime); color: var(--forest); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--sun); color: var(--forest); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 8px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { flex-shrink: 0; }

/* ---------- Butonat ---------- */
.btn {
  --bg: var(--forest); --fg: #fff;
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.6em; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), color .3s;
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--hover, var(--green));
  transform: translateY(101%); border-radius: inherit;
  transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn .ico { transition: transform .4s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn-sun { --bg: var(--sun); --fg: var(--forest); --hover: var(--sun-2); }
.btn-lime { --bg: var(--lime); --fg: var(--forest); --hover: #a6d65e; }
.btn-ghost { --bg: transparent; --fg: #fff; --hover: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.btn-outline { --bg: transparent; --fg: var(--forest); --hover: var(--lime-soft); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-sm { padding: .65em 1.15em; font-size: .85rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; color: var(--green); }
.link-arrow .ico { transition: transform .4s var(--ease); }
.link-arrow:hover .ico { transform: translateX(5px); }

.kicker {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--green); margin-bottom: 1.1rem;
}
.on-dark .kicker, .kicker.light { color: var(--lime); }
.h-display { font-size: clamp(2.2rem, 5vw, 4rem); }
.h-display em, .hero-title em, .page-hero h1 em, .cta h2 em, .about-intro .big em { font-style: normal; color: inherit; font-weight: inherit; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); line-height: 1.7; }
.section { padding: clamp(44px, 5.5vw, 76px) 0; position: relative; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: clamp(26px, 3.5vw, 44px); flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 16ch; }
.section-head p { max-width: 46ch; margin: 0; color: var(--muted); }
.on-dark { color: #fff; }
.on-dark .lead, .on-dark .section-head p { color: rgba(255,255,255,.72); }

/* ---------- Progress ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 300; background: linear-gradient(90deg, var(--lime), var(--sun)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 200; height: var(--header-h);
  color: #fff;
  transition: background .5s var(--ease), color .4s, transform .5s var(--ease), box-shadow .5s, height .4s;
}
.site-header.is-scrolled {
  background: rgba(246, 242, 231, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
  color: var(--ink); box-shadow: 0 1px 0 var(--line); --header-h: 72px;
}
.site-header.is-hidden { transform: translateY(-100%); }
.nav-wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; flex-shrink: 0; position: relative; }
.brand img { height: 58px; width: auto; transition: height .4s var(--ease), opacity .3s; }
.brand .logo-dark { position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; }
.site-header.is-scrolled .brand img { height: 48px; }
.site-header.is-scrolled .brand .logo-light { opacity: 0; }
.site-header.is-scrolled .brand .logo-dark { opacity: 1; }
.main-nav { margin-left: auto; display: flex; gap: 4px; }
.main-nav a {
  position: relative; padding: 10px 14px; font-weight: 700; font-size: .92rem; border-radius: 999px;
  transition: background .3s, color .3s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px;
  background: var(--sun); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .8rem; letter-spacing: .08em;
  padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px currentColor; opacity: .9;
  transition: background .3s, color .3s;
}
.lang-switch:hover { background: var(--sun); color: var(--forest); box-shadow: none; }
/* Butoni i menysë */
.burger {
  display: none; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: rgba(255,255,255,.12); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); transition: background .3s, box-shadow .3s;
}
.site-header.is-scrolled .burger { background: var(--forest); color: #fff; box-shadow: none; }
.burger-lines { display: grid; gap: 4px; width: 20px; }
.burger-lines i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease), width .4s var(--ease); }
.burger-lines i:nth-child(2) { width: 70%; margin-left: auto; }
.burger-lines i:nth-child(3) { width: 45%; margin-left: auto; }
.burger:hover .burger-lines i { width: 100%; }

/* Paneli i menysë (celular / tablet) */
.mm-scrim { position: fixed; inset: 0; z-index: 240; background: rgba(8, 20, 13, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s; }
.menu-open .mm-scrim { opacity: 1; visibility: visible; }
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 250; width: min(420px, 100%);
  display: flex; flex-direction: column; padding: 18px 22px 26px; color: #fff; overflow-y: auto;
  background:
    radial-gradient(420px 300px at 100% 0%, rgba(141,198,63,.22), transparent 70%),
    radial-gradient(380px 300px at 0% 100%, rgba(245,165,36,.16), transparent 70%),
    var(--forest);
  box-shadow: -30px 0 60px -20px rgba(0,0,0,.5);
  transform: translateX(100%); visibility: hidden;
  transition: transform .55s var(--ease), visibility .55s;
}
.mobile-menu.is-open { transform: none; visibility: visible; }
.mobile-menu::after {
  content: ""; position: absolute; right: -40px; bottom: 90px; width: 240px; height: 150px; pointer-events: none;
  background: url("../img/logo-mark.png") center / contain no-repeat; opacity: .05;
}
.mm-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; margin-bottom: 8px; border-bottom: 1px solid var(--line-light); }
.mm-top img { height: 46px; width: auto; }
.mm-close { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .3s, color .3s, transform .4s var(--ease); }
.mm-close:hover { background: var(--sun); color: var(--forest); transform: rotate(90deg); }

.mm-nav { display: flex; flex-direction: column; position: relative; z-index: 1; }
.mm-nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 4px 15px 14px; border-bottom: 1px solid rgba(255,255,255,.07); border-radius: 12px;
  font-size: 1.15rem; font-weight: 700; letter-spacing: -.005em; position: relative;
  opacity: 0; transform: translateX(24px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), background .25s, color .25s;
}
.mm-nav a::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 0; border-radius: 4px; background: var(--lime); transform: translateY(-50%); transition: height .3s var(--ease); }
.mm-nav a i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); color: rgba(255,255,255,.7); transition: background .25s, color .25s, transform .35s var(--ease); }
.mm-nav a:hover { background: rgba(255,255,255,.05); }
.mm-nav a:hover i { background: var(--lime); color: var(--forest); transform: translateX(3px); }
.mm-nav a.is-active { color: var(--lime); }
.mm-nav a.is-active::before { height: 22px; }
.mm-nav a.is-active i { background: var(--lime); color: var(--forest); }
.mobile-menu.is-open .mm-nav a, .mobile-menu.is-open .mm-lang, .mobile-menu.is-open .mm-foot { opacity: 1; transform: none; transition-delay: calc(.12s + var(--i) * .045s); }

.mm-lang { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 22px 0 0; border-radius: 14px; background: rgba(255,255,255,.07); opacity: 0; transform: translateX(24px); transition: opacity .5s var(--ease), transform .5s var(--ease); position: relative; z-index: 1; }
.mm-lang a { text-align: center; padding: 10px; border-radius: 11px; font-weight: 800; font-size: .88rem; color: rgba(255,255,255,.75); transition: background .25s, color .25s; }
.mm-lang a.is-active { background: var(--lime); color: var(--forest); }
.mm-lang a:not(.is-active):hover { background: rgba(255,255,255,.08); color: #fff; }

.mm-foot { margin-top: auto; padding-top: 26px; display: grid; gap: 8px; opacity: 0; transform: translateX(24px); transition: opacity .5s var(--ease), transform .5s var(--ease); position: relative; z-index: 1; }
.mm-btn { display: flex; gap: 10px; align-items: center; padding: 13px 16px; border-radius: 14px; background: rgba(255,255,255,.06); font-weight: 700; font-size: .92rem; transition: background .25s, color .25s; }
.mm-btn .ico { color: var(--lime); }
.mm-btn:hover { background: rgba(255,255,255,.12); }
.mm-social { display: inline-flex; gap: 8px; align-items: center; justify-self: start; padding: 8px 4px; font-size: .85rem; font-weight: 700; color: rgba(255,255,255,.65); }
.mm-social:hover { color: var(--sun-2); }

/* ---------- Hero (ballina) ---------- */
.hero {
  position: relative; min-height: max(80svh, 560px); color: #fff; overflow: hidden;
  display: flex; align-items: center; background: var(--forest);
  padding: calc(var(--header-h) + 32px) 0 clamp(120px, 16vw, 210px);
}
.hero-media { position: absolute; inset: -12% 0 0; z-index: 0; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 18s ease-out forwards; }
.hero-media img + img { position: absolute; inset: 0; opacity: 0; transition: opacity 2s ease; }
.hero-media img.is-active { opacity: 1; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(1200px 600px at 80% 10%, rgba(245,165,36,.28), transparent 60%),
    linear-gradient(180deg, rgba(13,38,25,.55) 0%, rgba(13,38,25,.35) 40%, rgba(13,38,25,.85) 100%),
    linear-gradient(90deg, rgba(13,38,25,.85) 0%, rgba(13,38,25,.1) 70%);
}
.hero-sun {
  position: absolute; z-index: 1; right: 9%; top: 16%; width: clamp(140px, 18vw, 260px); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,201,90,.95) 0 30%, rgba(245,165,36,.5) 45%, rgba(245,165,36,0) 70%);
  filter: blur(2px); mix-blend-mode: screen; will-change: transform;
}
.hero-sun::after {
  content: ""; position: absolute; inset: -40%;
  background: repeating-conic-gradient(from 0deg, rgba(255,201,90,.22) 0 4deg, transparent 4deg 18deg);
  border-radius: 50%; -webkit-mask: radial-gradient(circle, #000 20%, transparent 68%); mask: radial-gradient(circle, #000 20%, transparent 68%);
  animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hills { position: absolute; left: 0; width: 100%; height: auto; bottom: -1px; z-index: 2; pointer-events: none; will-change: transform; }
.hills svg { width: 100%; height: clamp(120px, 18vw, 300px); display: block; }
.hills-back { z-index: 2; opacity: .9; }
.hills-mid { z-index: 3; }
.hills-front { z-index: 4; }
.leaf-float { position: absolute; z-index: 3; color: var(--lime); opacity: .55; animation: floaty 9s ease-in-out infinite; pointer-events: none; }
@keyframes floaty { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(18px, -26px) rotate(25deg); } }
.hero-inner { position: relative; z-index: 5; }
.hero-copy { max-width: 820px; }
.hero-title { font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1.06; margin-bottom: .35em; text-wrap: balance; }
.hero-lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 56ch; color: rgba(255,255,255,.85); margin-bottom: 2em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .kicker { color: var(--sun-2); }
.hero-badges { display: flex; gap: 22px; margin-top: 42px; flex-wrap: wrap; color: rgba(255,255,255,.75); font-size: .85rem; font-weight: 700; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges .ico { color: var(--lime); }

.scroll-cue span { width: 26px; height: 42px; border-radius: 20px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.85); position: relative; }
.scroll-cue span::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--sun-2); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Titulli me fjalë që shfaqen */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--wi) * 70ms + .2s); }
.is-loaded [data-split].is-in .w > span, [data-split].is-in .w > span { transform: none; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
[data-reveal="left"] { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal="zoom"] { transform: scale(.92); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Ticker ---------- */
/* Karta me fjalët kyçe, mbi kodrat e hero-s */
.keywords { position: relative; z-index: 6; margin-top: clamp(-70px, -5vw, -40px); }
.keywords-card {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  background: var(--paper); border-radius: 20px; padding: 8px;
  box-shadow: 0 24px 50px -28px rgba(13,38,25,.45), 0 0 0 1px var(--line);
}
.kw {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; position: relative;
  font-size: .9rem; font-weight: 700; color: var(--ink); line-height: 1.25;
}
.kw + .kw::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.kw i { width: 38px; height: 38px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--lime-soft); color: var(--green); transition: background .3s, color .3s, transform .4s var(--ease); }
.kw:hover i { background: var(--forest); color: var(--lime); transform: rotate(-6deg); }
.section-alt { background: var(--cream-2); }

/* ---------- Intro / Vizioni ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.intro-media { position: relative; min-height: 460px; }
.intro-media figure { margin: 0; position: absolute; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); will-change: transform; }
.intro-media figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.intro-media figure:hover img { transform: scale(1.06); }
.intro-media .img-a { inset: 0 18% 22% 0; }
.intro-media .img-b { inset: 46% 0 0 34%; border: 8px solid var(--cream); }
.seal {
  position: absolute; z-index: 3; left: -4%; bottom: 6%; width: 150px; height: 150px; border-radius: 50%;
  background: var(--sun); color: var(--forest); display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.seal svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.seal svg.ring text { font-family: var(--ff-body); font-weight: 800; font-size: 10.5px; letter-spacing: .28em; fill: var(--forest); text-transform: uppercase; }
.seal img { width: 62px; }
.checklist { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 16px; }
.checklist li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.checklist .ck { width: 44px; height: 44px; border-radius: 14px; background: var(--lime-soft); color: var(--green); display: grid; place-items: center; }
.checklist strong { display: block; font-size: 1.02rem; margin-bottom: 2px; }
.checklist p { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.6; }

/* ---------- Statistikat ---------- */
.stats { background: var(--forest); color: #fff; position: relative; overflow: hidden; }
.stats::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background: radial-gradient(600px 300px at 10% 0%, rgba(141,198,63,.22), transparent 60%), radial-gradient(500px 300px at 90% 100%, rgba(245,165,36,.18), transparent 60%);
}
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(28px, 3.5vw, 46px) 24px; text-align: center; border-left: 1px solid var(--line-light); }
.stat:first-child { border-left: 0; }
.stat .num { font-family: var(--ff-display); font-size: clamp(3rem, 6vw, 5rem); line-height: 1; color: var(--sun-2); font-weight: 500; display: block; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.stat .lbl { font-weight: 700; color: rgba(255,255,255,.8); font-size: .95rem; }

/* ---------- Ekspertiza ---------- */
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.exp-card {
  position: relative; padding: 36px 32px 34px; border-radius: var(--radius); background: var(--paper);
  border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
}
.exp-card::before {
  content: ""; position: absolute; inset: auto -30% -60% auto; width: 260px; height: 260px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(141,198,63,.35), transparent 70%); transform: scale(.4); opacity: 0;
  transition: transform .8s var(--ease), opacity .8s;
}
.exp-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.exp-card:hover::before { transform: scale(1.4); opacity: 1; }
.exp-card .no { position: absolute; top: 26px; right: 30px; font-family: var(--ff-display); font-size: 2.6rem; color: var(--line); font-weight: 600; transition: color .4s; }
.exp-card:hover .no { color: var(--lime); }
.exp-card .ic { width: 62px; height: 62px; border-radius: 18px; background: var(--forest); color: var(--lime); display: grid; place-items: center; margin-bottom: 26px; transition: transform .6s var(--ease), background .4s, color .4s; }
.exp-card:hover .ic { transform: rotate(-8deg) scale(1.06); background: var(--sun); color: var(--forest); }
.exp-card h3 { font-size: 1.32rem; margin-bottom: .45em; }
.exp-card p { margin: 0; color: var(--muted); font-size: .97rem; line-height: 1.65; }

/* ---------- Biblioteka / librat ---------- */
.library-band { background: linear-gradient(180deg, var(--cream-2), var(--cream)); overflow: hidden; }
.shelf { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 240px); gap: 34px; overflow-x: auto; padding: 20px var(--gutter) 50px; margin: 0 calc(var(--gutter) * -1); scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--brand) transparent; }
.shelf > * { scroll-snap-align: start; }
.shelf-wrap { position: relative; isolation: isolate; }
.shelf-wrap::after { content: ""; position: absolute; left: 0; right: 0; bottom: 36px; height: 16px; background: linear-gradient(180deg, #c9b98f, #a8966a); border-radius: 4px; box-shadow: 0 16px 24px -10px rgba(0,0,0,.35); z-index: -1; opacity: .55; }
.shelf-nav { display: flex; gap: 10px; }
.round-btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); transition: background .3s, color .3s, transform .4s var(--ease); }
.round-btn:hover { background: var(--forest); color: #fff; transform: scale(1.06); }

.book { position: relative; display: flex; flex-direction: column; }
.book-cover {
  position: relative; display: block; width: 100%; aspect-ratio: 1 / 1.38; border-radius: 4px 12px 12px 4px;
  background: #fff; perspective: 1200px; text-align: left;
  transform-style: preserve-3d;
}
.book-cover .bc-inner {
  position: absolute; inset: 0; border-radius: inherit; overflow: hidden; background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.05), 8px 10px 0 -2px #e8e2cf, 8px 10px 0 -1px rgba(0,0,0,.08), 18px 30px 40px -18px rgba(13,38,25,.55);
  transform-origin: left center; transition: transform .8s var(--ease), box-shadow .8s var(--ease);
}
.book-cover:hover .bc-inner, .book-cover:focus-visible .bc-inner { transform: rotateY(-22deg) translateX(6px); box-shadow: 0 1px 0 rgba(0,0,0,.05), 14px 12px 0 -2px #e8e2cf, 14px 12px 0 -1px rgba(0,0,0,.08), 30px 40px 50px -18px rgba(13,38,25,.6); }
.book-cover img, .book-cover canvas { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.book-cover .spine { position: absolute; left: 0; top: 0; bottom: 0; width: 14px; background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(255,255,255,.25) 40%, rgba(0,0,0,.12) 70%, transparent); z-index: 2; }
.book-cover .shine { position: absolute; inset: 0; z-index: 2; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.45) 45%, transparent 60%); transform: translateX(-100%); transition: transform 1.1s var(--ease); }
.book-cover:hover .shine { transform: translateX(100%); }
.book-cover .open-hint {
  position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.8); opacity: 0;
  background: var(--forest); color: #fff; border-radius: 999px; padding: 10px 16px; font-weight: 800; font-size: .8rem;
  display: flex; gap: 8px; align-items: center; transition: opacity .4s, transform .5s var(--ease); white-space: nowrap;
}
.book-cover:hover .open-hint { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.book-cover .placeholder, .file-cover {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 22px 20px;
  background: linear-gradient(160deg, var(--forest-3), var(--forest)); color: #fff;
}
.file-cover .ext { font-family: var(--ff-display); font-size: 2.4rem; color: var(--sun-2); line-height: 1; }
.file-cover .ft { font-weight: 700; font-size: .95rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.file-cover .ico { color: var(--lime); }
.book-meta { display: flex; gap: 8px; align-items: center; margin: 18px 0 6px; font-size: .78rem; font-weight: 700; color: var(--muted); flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .08em; background: var(--lime-soft); color: var(--green); text-transform: uppercase; }
.badge.en { background: #e3ecfb; color: #2b5cab; }
.badge.all { background: #fdf0d6; color: #9a6300; }
.book-title { font-family: var(--ff-body); font-size: 1rem; font-weight: 800; line-height: 1.35; letter-spacing: 0; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.book-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.book-actions .btn { justify-content: center; padding: .62em .8em; font-size: .8rem; }
.book-actions .btn:only-child { grid-column: 1 / -1; }

/* ---------- Kartat e postimeve ---------- */
.news-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px; }
.news-side { display: grid; gap: 18px; align-content: start; }
.post-card {
  position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  height: 100%;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card .pc-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--forest); }
.post-card .pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card .pc-media img.is-doc { object-position: top; }
.post-card:hover .pc-media img { transform: scale(1.07); }
.pc-media.doc-media { display: grid; place-items: center; background: radial-gradient(circle at 25% 15%, rgba(141,198,63,.35), transparent 55%), radial-gradient(circle at 85% 90%, rgba(245,165,36,.28), transparent 50%), linear-gradient(160deg, var(--forest-3), var(--forest)); }
.pc-media.doc-media img { width: auto; height: 80%; max-width: 70%; object-fit: cover; object-position: top; border-radius: 3px 8px 8px 3px; box-shadow: -6px 0 0 -2px rgba(255,255,255,.35), 0 24px 40px -12px rgba(0,0,0,.65); transform: rotate(-4deg); }
.post-card:hover .pc-media.doc-media img { transform: rotate(0) scale(1.05); }
.post-card.is-row .pc-media.doc-media img { height: 76%; max-width: 76%; }
.post-card .pc-cat { position: absolute; top: 16px; left: 16px; z-index: 2; background: var(--sun); color: var(--forest); padding: 5px 12px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.post-card .pc-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card .pc-date { font-size: .8rem; font-weight: 700; color: var(--muted); display: flex; gap: 14px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
.post-card .pc-date span { display: inline-flex; gap: 6px; align-items: center; }
.post-card h3 { font-size: 1.28rem; line-height: 1.28; margin-bottom: .55em; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post-card p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .pc-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.post-card .pc-foot .link-arrow { font-size: .9rem; }
.post-card .pc-docs { display: inline-flex; gap: 6px; align-items: center; font-size: .78rem; font-weight: 800; color: var(--green); background: var(--lime-soft); padding: 4px 10px; border-radius: 999px; }
.post-card.is-big .pc-media { aspect-ratio: 16/11; }
.post-card.is-big h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.post-card.is-row { flex-direction: row; }
.post-card.is-row .pc-media { aspect-ratio: auto; width: 38%; flex-shrink: 0; }
.post-card.is-row .pc-body { padding: 20px 22px; }
.post-card.is-row h3 { font-size: 1.08rem; }
.post-card.is-row p { -webkit-line-clamp: 2; margin-bottom: 10px; }
.pc-pattern { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, rgba(141,198,63,.35), transparent 50%), radial-gradient(circle at 80% 90%, rgba(245,165,36,.3), transparent 45%), var(--forest); color: var(--lime); }
.pc-pattern img { width: 42% !important; height: auto !important; opacity: .9; object-fit: contain !important; }
.lang-flag { position: absolute; top: 16px; right: 16px; z-index: 2; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

/* ---------- Parallax band ---------- */
.band { position: relative; overflow: hidden; color: #fff; padding: clamp(60px, 8vw, 110px) 0; background: var(--forest); }
.band-media { position: absolute; inset: -35% 0; z-index: 0; will-change: transform; }
.band-media img { width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(120deg, rgba(13,38,25,.94) 0%, rgba(13,38,25,.72) 55%, rgba(13,38,25,.45) 100%); }
.band .container { position: relative; z-index: 2; }
.band-quote { font-family: var(--ff-display); font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1.3; max-width: 34ch; font-weight: 400; margin: 0 0 36px; }
.band-quote .ico { color: var(--sun); margin-bottom: 18px; }
.memb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.memb {
  display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius);
  background: rgba(255,255,255,.07); border: 1px solid var(--line-light);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background .4s, transform .6s var(--ease);
}
.memb:hover { background: rgba(255,255,255,.14); transform: translateY(-6px); }
.memb .abbr { font-family: var(--ff-display); font-size: 2rem; color: var(--sun-2); line-height: 1; }
.memb strong { font-size: 1.05rem; }
.memb p { margin: 0; color: rgba(255,255,255,.7); font-size: .92rem; line-height: 1.55; }
.memb .ext { margin-top: auto; display: inline-flex; gap: 6px; align-items: center; font-size: .85rem; font-weight: 800; color: var(--lime); }

/* ---------- Partnerët ---------- */
.partners { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: var(--paper); }
.partners-track { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 0; }
.partner { display: flex; align-items: center; gap: 10px; padding: 0 20px; font-family: var(--ff-display); font-size: 1.08rem; color: var(--muted); white-space: nowrap; transition: color .3s; }
.partner:hover { color: var(--forest); }
.partner img { height: 48px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .4s, opacity .4s; }
.partner:hover img { filter: none; opacity: 1; }
.partner .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: 34px; padding: clamp(40px, 6vw, 80px);
  background: var(--sun); color: var(--forest); display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center;
}
.cta::after { content: ""; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.45), transparent 65%); }
.cta h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); margin-bottom: .3em; }
.cta p { margin: 0; font-size: 1.08rem; max-width: 52ch; opacity: .85; }
.cta .btn { position: relative; z-index: 2; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.cta-leaf { position: absolute; left: 44%; bottom: -40px; width: 220px; opacity: .14; transform: rotate(-12deg); pointer-events: none; }

/* ---------- Page hero (faqet e brendshme) ---------- */
.page-hero {
  position: relative; overflow: hidden; background: var(--forest); color: #fff;
  padding: calc(var(--header-h) + clamp(36px, 5vw, 70px)) 0 clamp(100px, 12vw, 160px);
}
.page-hero-media { position: absolute; inset: -20% 0 0; z-index: 0; will-change: transform; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(13,38,25,.6), rgba(13,38,25,.85)), radial-gradient(900px 400px at 85% 0%, rgba(245,165,36,.25), transparent 60%); }
.page-hero .container { position: relative; z-index: 5; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); max-width: 18ch; margin-bottom: .3em; text-wrap: balance; }
.page-hero p { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: rgba(255,255,255,.8); max-width: 60ch; margin: 0; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .82rem; font-weight: 700; color: rgba(255,255,255,.7); margin-bottom: 22px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--sun-2); }
.crumbs .ico { opacity: .6; }

/* ---------- Faqja e postimit ---------- */
.post-hero { padding-bottom: clamp(120px, 13vw, 180px); }
.post-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.post-hero h1 { font-size: clamp(2rem, 4.6vw, 3.8rem); max-width: 22ch; }
.post-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: .88rem; font-weight: 700; color: rgba(255,255,255,.8); }
.post-meta span { display: inline-flex; gap: 8px; align-items: center; }
.post-meta .pill { background: var(--sun); color: var(--forest); padding: 5px 13px; border-radius: 999px; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 800; }
.post-hero-cover { justify-self: end; width: min(320px, 100%); }
.post-hero-cover .photo { border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); transform: rotate(2deg); aspect-ratio: 4/3.2; }
.post-hero-cover .photo img { width: 100%; height: 100%; object-fit: cover; }
.post-body-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(30px, 5vw, 70px); margin-top: calc(clamp(60px, 9vw, 120px) * -1); position: relative; z-index: 6; }
.post-main { background: var(--paper); border-radius: 28px; padding: clamp(28px, 5vw, 64px); box-shadow: var(--shadow-sm); min-width: 0; }
.post-aside { position: sticky; top: 100px; align-self: start; display: grid; gap: 20px; }
.aside-card { background: var(--paper); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.aside-card h4 { font-family: var(--ff-body); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.share { display: flex; gap: 8px; flex-wrap: wrap; }
.share a, .share button { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); transition: background .3s, color .3s, transform .4s var(--ease); }
.share a:hover, .share button:hover { background: var(--forest); color: #fff; transform: translateY(-3px); }
.lang-note { display: flex; gap: 12px; align-items: center; background: #fdf0d6; color: #7a4f00; padding: 14px 18px; border-radius: 14px; font-weight: 700; font-size: .92rem; margin-bottom: 28px; }

.prose { font-size: 1.07rem; line-height: 1.85; color: #25332b; overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.9rem; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 1.5rem; margin: 1.5em 0 .5em; }
.prose h4 { font-size: 1.2rem; margin: 1.4em 0 .5em; }
.prose a { color: var(--green); text-decoration: underline; text-decoration-color: rgba(46,122,63,.35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--brand); font-weight: 700; }
.prose blockquote { margin: 1.6em 0; padding: 1.2em 1.6em; border-left: 4px solid var(--sun); background: var(--cream); border-radius: 0 16px 16px 0; font-family: var(--ff-display); font-size: 1.25rem; font-style: italic; }
.prose img { border-radius: 16px; margin: 1.4em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 16px; }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose .ql-align-justify { text-align: justify; }

.doc-list { display: grid; gap: 16px; margin-top: 10px; }
.doc-item {
  display: grid; grid-template-columns: 92px 1fr; gap: 20px; align-items: center; padding: 16px; border-radius: 20px;
  background: var(--cream); border: 1px solid var(--line); transition: background .3s, transform .5s var(--ease), box-shadow .5s;
}
.doc-item:hover { background: #fff; transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.doc-item .book-cover { width: 92px; }
.doc-item .file-cover { padding: 12px 10px; }
.doc-item .file-cover .ext { font-size: 1.4rem; }
.doc-item .file-cover .ft { display: none; }
.doc-item h4 { font-family: var(--ff-body); font-size: 1.02rem; font-weight: 800; letter-spacing: 0; margin: 0 0 6px; line-height: 1.35; }
.doc-item .di-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: .78rem; font-weight: 700; color: var(--muted); margin-bottom: 12px; }
.doc-item .di-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.section-title { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; margin: 2.2em 0 1em; }
.section-title .ico { color: var(--brand); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery a { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; display: block; }
.gallery a img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery a:hover img { transform: scale(1.08); }
.gallery a::after { content: ""; position: absolute; inset: 0; background: rgba(13,38,25,.35); opacity: 0; transition: opacity .4s; }
.gallery a:hover::after { opacity: 1; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-nav a { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 18px; background: var(--cream); transition: background .3s, transform .5s var(--ease); }
.post-nav a:hover { background: var(--lime-soft); transform: translateY(-3px); }
.post-nav small { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.post-nav strong { font-size: .98rem; line-height: 1.35; }
.post-nav .next { text-align: right; align-items: flex-end; }

/* ---------- Lista e të rejave ---------- */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 10px 18px; border-radius: 999px; font-weight: 800; font-size: .88rem; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); transition: background .3s, color .3s, box-shadow .3s; display: inline-flex; gap: 8px; align-items: center; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--brand); }
.chip.is-active { background: var(--forest); color: #fff; box-shadow: none; }
.chip .n { font-size: .72rem; opacity: .6; }
.search-box { position: relative; min-width: min(340px, 100%); }
.search-box input { width: 100%; padding: 13px 20px 13px 48px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font: inherit; font-size: .95rem; transition: border-color .3s, box-shadow .3s; }
.search-box input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(109,171,60,.18); }
.search-box .ico { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 46px; height: 46px; padding: 0 14px; border-radius: 999px; display: grid; place-items: center; font-weight: 800; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); transition: background .3s, color .3s; }
.pager a:hover { background: var(--lime-soft); }
.pager .is-active { background: var(--forest); color: #fff; box-shadow: none; }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty .ico { margin: 0 auto 16px; color: var(--brand); }

/* ---------- Biblioteka (faqja) ---------- */
.lib-toolbar { position: sticky; top: 84px; z-index: 20; background: rgba(246,242,231,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); padding: 16px 0; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 50px 32px; }
.lib-grid .book.is-hidden { display: none; }
.lib-count { font-weight: 800; color: var(--muted); font-size: .9rem; }

/* ---------- Për ne ---------- */
.about-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.about-intro .big { font-family: var(--ff-display); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.3; font-weight: 400; }
.obj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.obj { padding: 34px 30px; border-radius: var(--radius); background: var(--forest); color: #fff; position: relative; overflow: hidden; }
.obj:nth-child(2) { background: var(--green); }
.obj:nth-child(3) { background: var(--sun); color: var(--forest); }
.obj h3 { font-size: 1.35rem; margin: 30px 0 .5em; }
.obj p { margin: 0; opacity: .85; font-size: .97rem; line-height: 1.65; }
.map-sec { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.map-art { position: relative; }
.map-art img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.map-art .pin { position: absolute; left: 40%; top: 62%; width: 22px; height: 22px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 6px rgba(245,165,36,.35); animation: ping2 2s infinite; }
@keyframes ping2 { 0% { box-shadow: 0 0 0 0 rgba(245,165,36,.6); } 100% { box-shadow: 0 0 0 26px rgba(245,165,36,0); } }
.target-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.target-list span { display: inline-flex; gap: 8px; align-items: center; padding: 10px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 700; font-size: .92rem; }
.target-list .ico { color: var(--brand); }

/* ---------- Kontakti ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: calc(clamp(60px, 9vw, 120px) * -1); position: relative; z-index: 6; }
.c-card { background: var(--paper); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 6px; transition: transform .5s var(--ease); }
.c-card:hover { transform: translateY(-6px); }
.c-card .ic { width: 56px; height: 56px; border-radius: 16px; background: var(--forest); color: var(--lime); display: grid; place-items: center; margin-bottom: 14px; }
.c-card h3 { font-family: var(--ff-body); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0; }
.c-card a, .c-card p { font-size: 1.08rem; font-weight: 700; margin: 0; line-height: 1.5; }
.c-card a:hover { color: var(--green); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: stretch; }
.form-card { background: var(--paper); border-radius: 28px; padding: clamp(28px, 5vw, 56px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 22px 18px 10px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--cream);
  font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .3s, background .3s, box-shadow .3s; resize: vertical;
}
.field textarea { min-height: 160px; }
.field label { position: absolute; left: 19px; top: 16px; font-size: .98rem; color: var(--muted); pointer-events: none; transition: transform .3s var(--ease), font-size .3s, top .3s, color .3s; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(109,171,60,.15); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 7px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; color: var(--green); }
.hp { position: absolute !important; left: -5000px !important; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.map-card { border-radius: 28px; overflow: hidden; min-height: 420px; box-shadow: var(--shadow-sm); position: relative; background: var(--cream-2); }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.9) contrast(1.05); }
.alert { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 14px; font-weight: 700; margin-bottom: 20px; }
.alert.success { background: var(--lime-soft); color: var(--green); }
.alert.error { background: #fde4e1; color: #a2261a; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--forest); color: rgba(255,255,255,.78); margin-top: clamp(50px, 6vw, 80px); padding-top: clamp(30px, 4vw, 50px); overflow: hidden; }
.site-footer .wave { position: absolute; top: -1px; left: 0; width: 100%; height: 70px; color: var(--cream); transform: rotate(180deg); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding: 40px 0 36px; position: relative; z-index: 2; }
.footer-brand img { width: 150px; height: auto; margin-bottom: 20px; }
.footer-brand p { font-size: .95rem; max-width: 36ch; }
.site-footer h4 { font-family: var(--ff-body); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--lime); margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer ul a { transition: color .3s, padding .4s var(--ease); display: inline-flex; gap: 8px; align-items: center; }
.site-footer ul a:hover { color: var(--sun-2); padding-left: 6px; }
.site-footer .c-line { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.site-footer .c-line .ico { color: var(--lime); margin-top: 4px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line-light); transition: background .3s, color .3s, transform .4s var(--ease); }
.socials a:hover { background: var(--sun); color: var(--forest); transform: translateY(-3px); box-shadow: none; }
.footer-bottom { border-top: 1px solid var(--line-light); padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .85rem; position: relative; z-index: 2; }
.credit a { color: #fff; font-weight: 700; text-decoration: none; transition: color .3s; }
.credit a:hover { color: var(--sun-2); }
.credit .heart { color: #e5484d; display: inline-block; animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } }
.to-top { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; }
.to-top:hover { color: var(--sun-2); }

/* ---------- Flipbook modal ---------- */
.flip-modal {
  position: fixed; inset: 0; z-index: 900; display: flex; flex-direction: column;
  background: radial-gradient(1200px 700px at 50% 0%, #1d4a31 0%, #0a1f14 70%);
  color: #fff; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
}
.flip-modal.is-open { opacity: 1; visibility: visible; }
.flip-top { display: flex; align-items: center; gap: 14px; padding: 14px clamp(14px, 3vw, 28px); border-bottom: 1px solid var(--line-light); }
.flip-title { flex: 1; min-width: 0; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 10px; }
.flip-title .ico { color: var(--lime); }
.flip-tools { display: flex; gap: 6px; }
.flip-tools a, .flip-tools button { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; transition: background .3s, color .3s; }
.flip-tools a:hover, .flip-tools button:hover { background: rgba(255,255,255,.12); }
.flip-tools .close:hover { background: var(--sun); color: var(--forest); }
.flip-stage { flex: 1; position: relative; display: grid; place-items: center; overflow: hidden; padding: 20px; min-height: 0; }
.flip-book { margin: 0 auto; box-shadow: 0 40px 90px -30px rgba(0,0,0,.8); }
.flip-book .fpage { background: #fff; overflow: hidden; }
.flip-book .fpage canvas { width: 100%; height: 100%; display: block; }
.flip-book .fpage .ph { position: absolute; inset: 0; display: grid; place-items: center; color: #b5b5b5; font-size: .85rem; background: repeating-linear-gradient(45deg, #fafafa 0 10px, #f3f3f3 10px 20px); }
.flip-loading { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; pointer-events: none; }
.flip-loading .spin { width: 58px; height: 58px; border-radius: 50%; border: 3px solid rgba(255,255,255,.15); border-top-color: var(--sun); animation: spin 1s linear infinite; margin: 0 auto 16px; }
.flip-loading p { font-weight: 700; color: rgba(255,255,255,.75); margin: 0; }
.flip-loading .bar { width: 200px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); margin: 14px auto 0; overflow: hidden; }
.flip-loading .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--lime), var(--sun)); transition: width .3s; }
.flip-bottom { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 14px 20px 18px; }
.flip-bottom button { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); transition: background .3s, color .3s, transform .3s; }
.flip-bottom button:hover:not(:disabled) { background: var(--sun); color: var(--forest); transform: scale(1.06); }
.flip-bottom button:disabled { opacity: .3; cursor: default; }
.flip-counter { font-weight: 800; font-variant-numeric: tabular-nums; min-width: 120px; text-align: center; font-size: .95rem; }
.flip-range { width: min(360px, 40vw); accent-color: var(--sun); }
.flip-error { text-align: center; max-width: 360px; }
.flip-error .ico { margin: 0 auto 14px; color: var(--sun); }
.flip-hint { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); font-size: .78rem; color: rgba(255,255,255,.5); font-weight: 700; pointer-events: none; transition: opacity .6s; }
body.no-scroll { overflow: hidden; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 950; background: rgba(8, 20, 13, .95); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox button { position: absolute; width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; transition: background .3s; }
.lightbox button:hover { background: var(--sun); color: var(--forest); }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-weight: 700; }

/* ---------- 404 ---------- */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 160px 20px 60px; }
.nf .code { font-family: var(--ff-display); font-size: clamp(6rem, 20vw, 14rem); line-height: 1; color: var(--brand); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .burger { display: grid; }
  .nav-actions { margin-left: auto; }
}
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .intro-grid, .about-intro, .map-sec, .contact-grid, .news-layout { grid-template-columns: 1fr; }
  .intro-media { min-height: 480px; order: 2; }
  .exp-grid, .grid-3, .obj-grid, .memb-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-light); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .post-body-wrap { grid-template-columns: 1fr; }
  .post-aside { position: static; }
  .post-hero-grid { grid-template-columns: 1fr; }
  .post-hero-cover { justify-self: start; width: min(240px, 60%); }
  .cta { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
  .contact-cards { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  :root { --header-h: 72px; }
  .brand img { height: 48px; }
  .site-header.is-scrolled .brand img { height: 42px; }
  .exp-grid, .grid-3, .obj-grid, .memb-grid, .gallery { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .intro-media { min-height: 380px; }
  .seal { width: 120px; height: 120px; left: 0; }
  .seal img { width: 48px; }
  .post-card.is-row { flex-direction: column; }
  .post-card.is-row .pc-media { width: 100%; aspect-ratio: 16/10; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .next { text-align: left; align-items: flex-start; }
  .doc-item { grid-template-columns: 72px 1fr; gap: 14px; padding: 12px; }
  .doc-item .book-cover { width: 72px; }
  .lib-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 18px; }
  .lib-toolbar { top: 72px; }
  .shelf { grid-auto-columns: 170px; gap: 22px; }
  .flip-range { display: none; }
  .flip-bottom { gap: 12px; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .stat .num { font-size: 2.8rem; }
  .scroll-cue { display: none; }
  .hero-badges { gap: 14px; }
}
@media (max-width: 420px) {
  .lib-grid { grid-template-columns: 1fr 1fr; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal], [data-split] .w > span { opacity: 1 !important; transform: none !important; }
}
@media print {
  .site-header, .site-footer, .flip-modal, .lightbox, .loader, .progress, .post-aside { display: none !important; }
  .page-hero { padding: 20px 0; background: none; color: #000; }
}

@media (max-width: 1100px) {
  .keywords-card { grid-template-columns: repeat(3, 1fr); }
  .kw + .kw::before { display: none; }
}
@media (max-width: 720px) {
  .keywords { margin-top: -28px; }
  .keywords-card { grid-template-columns: 1fr 1fr; padding: 6px; }
  .kw { padding: 10px; font-size: .82rem; gap: 10px; }
  .kw i { width: 32px; height: 32px; border-radius: 10px; }
}
