/* ==========================================================================
   KS FACTOR — layout.css
   Shiriti i sipërm, koka (header) me menunë, koka e faqeve të brendshme,
   dhe fundi i faqes (footer). Përdoret nga TË GJITHA faqet.
   ========================================================================== */

/* ---------- Shiriti i sipërm ---------- */
.topbar { background: var(--c-green-900); color: #D9E3DE; font-size: 13px; }
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-block: 8px;
}
.topbar a { color: #D9E3DE; text-decoration: none; }
.topbar a:hover { color: var(--c-white); }
.topbar__links { display: flex; gap: 20px; }
@media (max-width: 600px) { .topbar__text { display: none; } }

/* ---------- Koka ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--c-ink); }
.brand:hover { color: var(--c-ink); }
.brand img { width: 44px; height: 44px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--f-display); font-weight: 900; font-size: 22px; letter-spacing: .02em; }
.brand__tag { margin-top: 4px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted-2); }

.main-nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.main-nav a {
  position: relative;
  display: block;
  padding: 12px 14px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-radius: 8px;
}
.main-nav a:hover { background: var(--c-bg); color: var(--c-green); }
.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 3px;
  border-radius: 2px;
  background: var(--c-accent);
}
.main-nav__cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  align-items: center;
  justify-content: center;
  background: var(--c-white);
  border: 1px solid #D3D9D2;
  border-radius: var(--radius-sm);
}
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .main-nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--c-white);
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow);
    padding: 8px var(--gutter) 24px;
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { padding: 16px 0; font-size: 18px; font-weight: 700; border-radius: 0; border-bottom: 1px solid #EEF0EC; }
  .main-nav a:hover { background: none; }
  .main-nav a[aria-current="page"] { color: var(--c-accent); }
  .main-nav a[aria-current="page"]::after { display: none; }
  .main-nav__cta { display: flex; margin-top: 20px; }
  .main-nav__cta .btn { width: 100%; }
}

/* ---------- Koka e faqeve të brendshme ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--c-green-700);
  color: var(--c-white);
  padding-block: clamp(64px, 8vw, 104px) clamp(48px, 6vw, 72px);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 400' preserveAspectRatio='none'%3E%3Cpolygon points='0,400 0,260 240,150 480,250 720,120 960,230 1200,140 1440,220 1440,400' fill='%23fff' fill-opacity='.05'/%3E%3Cpolygon points='0,400 0,330 300,260 600,340 900,270 1200,330 1440,290 1440,400' fill='%23000' fill-opacity='.2'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}
.page-hero > .container { position: relative; }
.page-hero h1 { margin-top: 16px; max-width: 900px; font-weight: 900; font-size: clamp(38px, 5.6vw, 72px); line-height: 1; letter-spacing: -.02em; }
.page-hero p { margin-top: 20px; max-width: 680px; font-size: clamp(17px, 1.8vw, 20px); color: #E4EEE9; }

.breadcrumb ol { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #CFE3D8; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.breadcrumb a { color: #CFE3D8; text-decoration: none; }
.breadcrumb a:hover { color: var(--c-white); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--c-white); font-weight: 600; }

/* ---------- Fundi i faqes ---------- */
.site-footer { background: var(--c-green-900); color: #C9D8D0; }
.site-footer a { color: #C9D8D0; text-decoration: none; }
.site-footer a:hover { color: var(--c-white); }

.newsletter {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding-block: 64px 56px;
  border-bottom: 1px solid #24443A;
}
.newsletter__text { flex: 1 1 360px; min-width: 0; }
.newsletter__text h2 { color: var(--c-white); font-size: 30px; font-weight: 800; }
.newsletter__text p { margin-top: 10px; }
.newsletter__form { flex: 1 1 380px; min-width: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter__form input {
  flex: 1 1 220px;
  min-height: 52px;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid #3A5C50;
  background: #133129;
  color: var(--c-white);
}
.newsletter__form input::placeholder { color: #9DB3A9; }
.newsletter__form input:focus { outline: 2px solid var(--c-white); outline-offset: 2px; }
.newsletter__msg { flex-basis: 100%; font-size: 14px; color: #CFE3D8; min-height: 1em; }

.footer-cols { display: flex; flex-wrap: wrap; gap: 40px; padding-block: 48px; }
.footer-brand { flex: 2 1 300px; min-width: 0; }
.footer-brand__name { font-family: var(--f-display); font-weight: 900; font-size: 26px; color: var(--c-white); letter-spacing: .02em; }
.footer-brand__slogan { margin-top: 6px; color: var(--c-white); font-weight: 600; }
.footer-brand p { margin-top: 14px; max-width: 380px; font-size: 14px; }
.footer-col { flex: 1 1 170px; }
.footer-col h3 { font-family: var(--f-body); font-size: 16px; font-weight: 700; color: var(--c-white); margin-bottom: 14px; }
.footer-col li + li { margin-top: 10px; }
.footer-col address { font-style: normal; font-size: 15px; line-height: 1.7; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 24px 32px;
  border-top: 1px solid #24443A;
  font-size: 14px;
}
