/* ============================================
   NAJEMNINA — STYLES (začasna podstran)
   ============================================ */

.najem-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.najem-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* ---- POSTAVITEV: stranski meni + vsebina ---- */
.najem-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  grid-template-areas:
    "meni uvod"
    "meni vsebina";
  column-gap: 48px;
}
.najem-uvod { grid-area: uvod; }
.najem-vsebina { grid-area: vsebina; }
.najem-podmeni { grid-area: meni; }
.najem-inner p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 12px;
}
.najem-inner a:not(.btn) { color: var(--secondary); }
.najem-inner a:not(.btn):hover { text-decoration: underline; }

/* ---- UVOD ---- */
.najem-inner .najem-pozdrav {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  color: var(--blue);
  line-height: 1.2;
  margin-bottom: 12px;
}
.najem-inner .najem-uvod-text {
  font-size: 18px;
  line-height: 1.55;
}

/* ---- ŠTEVILKA TOČKE ---- */
.najem-st {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

/* ---- STRANSKI MENI (usklajen z .sidebar s predstavitev.html) ---- */
.najem-podmeni-inner {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.najem-podmeni-label {
  display: block;
  background: var(--text);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 10px 14px;
  margin-bottom: 8px;
}
.najem-inner .najem-podmeni a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.35;
  transition: background 0.2s, color 0.2s;
}
.najem-inner .najem-podmeni a:hover {
  background: var(--bg-hero);
  text-decoration: none;
}
.najem-inner .najem-podmeni a.active { background: var(--blue-light); }
.najem-podmeni .najem-st {
  width: auto;
  height: auto;
  min-width: 14px;
  background: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 800;
  justify-content: flex-start;
}
.najem-podmeni a.active .najem-st { color: var(--secondary); }

/* ---- TOČKE ---- */
.najem-tocka {
  padding-top: 80px;
  scroll-margin-top: calc(var(--header-h) + 8px);
}
.najem-tocka:first-child { padding-top: 56px; }
.najem-tocka h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  color: var(--blue);
  line-height: 1.25;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--border);
}

/* seznami z oranžno piko (vzorec s paviljon.html), rahlo zamaknjeni */
.najem-tocka > ul,
.najem-z-stranjo ul {
  list-style: none;
  padding-left: 32px;
  margin-bottom: 12px;
}
.najem-tocka > ul li,
.najem-z-stranjo ul li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}
.najem-tocka > ul li::before,
.najem-z-stranjo ul li::before {
  content: '•';
  color: var(--secondary);
  font-weight: 700;
  position: absolute;
  left: 2px;
}

/* gnezdene alineje (s pomišljajem) */
.najem-z-stranjo ul ul {
  padding-left: 4px;
  margin: 4px 0 0;
}
.najem-z-stranjo ul ul li { margin-bottom: 2px; }
.najem-z-stranjo ul ul li::before {
  content: '–';
  color: var(--text-muted);
  font-weight: 400;
}

/* ---- BESEDILO + STRANSKI CENIK (točka 2) ---- */
.najem-z-stranjo {
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 40px;
  align-items: start;
}
.najem-cenik {
  padding: 16px 18px;
  background: var(--tertiary);
  border-radius: var(--radius);
}
.najem-cenik-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.najem-cenik-vrstica {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}
.najem-cenik-vrstica + .najem-cenik-vrstica { border-top: 1px solid var(--border); }
.najem-cenik-vrstica strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}
.najem-cenik-vrstica small { font-size: 12px; }
.najem-cenik-poudarek strong { color: var(--secondary); }
.najem-cenik-vrstica .najem-cenik-navadno { font-weight: 400; }

/* ---- SHEMA POTEKA POSTOPKA (točka 4) ---- */
/* uvodni alineji 1, 2 */
.najem-potek-uvod {
  padding-left: 52px;
  margin-bottom: 12px;
}
.najem-potek-uvod li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  padding-left: 4px;
  margin-bottom: 4px;
}
.najem-potek-uvod li::marker { color: var(--secondary); font-weight: 700; }

/* barva koraka glede na to, kdo ga izvede */
.najem-pk-vi        { --pk-barva: var(--secondary); }
.najem-pk-izvajalec { --pk-barva: var(--blue); }
.najem-pk-jss       { --pk-barva: var(--blue-soft); }

.najem-potek {
  margin-top: 32px;
  padding: 36px 12px 40px;
  background: var(--tertiary);
  border-radius: var(--radius);
}

/* faze (oklepaja nad koraki 1–3 in 4–6) */
.najem-potek-faze {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 22px;
}
.najem-potek-faze span {
  position: relative;
  margin: 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #d6d3c9;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.najem-potek-faze span::before,
.najem-potek-faze span::after {
  content: '';
  position: absolute;
  bottom: -8px;
  width: 2px;
  height: 8px;
  background: #d6d3c9;
}
.najem-potek-faze span::before { left: 0; }
.najem-potek-faze span::after { right: 0; }
.najem-pk-faza-m { display: none; }

/* koraki: neprekinjena črta skozi številke, s puščico med vsakim parom */
.najem-potek-koraki {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.najem-pk {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 8px;
}
.najem-pk:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 23px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: #c9c6bb;
}
.najem-pk:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 19px;
  /* konica tik pred naslednjim krogom (središče naslednjega = 150 %) */
  left: calc(150% - 24px - 5px - 11px);
  width: 9px;
  height: 9px;
  border-top: 2px solid #9a978d;
  border-right: 2px solid #9a978d;
  transform: rotate(45deg);
}
.najem-pk-st {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  background: var(--tertiary); /* brez polnila – le prekrije črto */
  color: var(--blue);
  font-size: 19px;
  font-weight: 800;
  box-shadow: 0 0 0 5px var(--tertiary);
}
.najem-pk-vsebina {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 12px;
}
.najem-pk-kdo {
  font-size: 14.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pk-barva);
  margin-bottom: 18px;
}
.najem-inner .najem-pk p {
  font-size: 12.5px;
  line-height: 1.5;
  margin-bottom: 0;
}
.najem-pk-rok {
  margin-top: 10px;
  padding: 3px 9px;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

/* ---- KORAKI I–III (točka 5) ---- */
.najem-inner .najem-koraki-uvod {
  font-size: 17px;
  font-weight: 500;
  margin: 36px 0 32px;
}
.najem-koraki {
  list-style: none;
  padding: 0;
  margin: 0;
}
.najem-korak {
  position: relative;
  padding-bottom: 28px;
}
/* navpična črta, ki povezuje korake */
.najem-korak:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 35px;
  top: 30px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.najem-korak-glava {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: var(--tertiary);
  border-radius: var(--radius);
}
.najem-korak-st {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 34px;
  height: 34px;
  padding: 0 6px;
  border-radius: 17px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.najem-korak-glava h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}
/* vsebina koraka poravnana z besedilom naslova */
.najem-korak-vsebina { padding: 16px 0 0 66px; }
.najem-inner .najem-zadeva { font-weight: 700; }

/* podtočke A–D znotraj koraka II */
.najem-podtocka + .najem-podtocka { margin-top: 32px; }
.najem-podtocka h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.najem-crka {
  color: var(--blue);
  font-weight: 800;
  margin-right: 8px;
}
.najem-podtocka ol {
  padding-left: 40px;
  margin-bottom: 12px;
}
.najem-podtocka li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 4px;
  padding-left: 4px;
}
.najem-podtocka li::marker { color: var(--text-muted); font-weight: 600; }
.najem-priloge > li { margin-bottom: 14px; }
.najem-priloge > li:last-child { margin-bottom: 4px; }
.najem-primer {
  margin: 0 0 12px 22px;
  font-style: italic;
  color: var(--text-muted);
}
.najem-primer-label {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}
.najem-primer ol { margin-bottom: 0; }
.najem-primer li { font-size: 14px; margin-bottom: 0; color: var(--text-muted); }
.najem-inner .najem-opomba {
  font-size: 14px;
  color: var(--text-muted);
  margin: 4px 0 12px;
  padding-left: 44px; /* poravnano z besedilom seznama nad njim */
}

/* ---- ZAKLJUČEK (na koncu vsebine) ---- */
/* oblikovano kot .pred-highlight-box s predstavitev.html */
.najem-zakljucek {
  margin-top: 112px;
  background: var(--secondary-light);
  border-radius: var(--radius);
  padding: 20px 32px;
  text-align: center;
}
.najem-inner .najem-zakljucek p {
  font-size: 16px;
  font-weight: 400;
  color: var(--secondary);
  line-height: 1.5;
  margin: 0;
}
.najem-zakljucek strong { font-weight: 700; }

/* ---- POGOSTA VPRAŠANJA ---- */
.najem-faq-item { margin-bottom: 10px; }
.najem-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 44px 14px 18px;
  font-size: 15px;
  font-weight: 700;
  position: relative;
  background: var(--tertiary);
  border-radius: var(--radius);
  transition: background 0.2s;
}
.najem-faq-item summary:hover { background: #ebe9e1; }
.najem-faq-item summary::-webkit-details-marker { display: none; }
.najem-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 600;
  color: var(--secondary);
}
.najem-faq-item summary::after { transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1); }
.najem-faq-item.odprto summary::after { transform: translateY(-50%) rotate(45deg); }
.najem-faq-odgovor { overflow: hidden; }
.najem-faq-odgovor-inner { padding: 14px 18px; }
.najem-inner .najem-faq-odgovor-inner > :last-child { margin-bottom: 0; }
.najem-faq-odgovor .opis-bullets,
.najem-faq-odgovor .opis-bullets li { font-size: 15px; line-height: 1.7; }
.najem-faq-odgovor .opis-bullets { margin: 0 0 12px; }
.najem-inner .najem-faq-prazno { color: var(--text-muted); font-style: italic; }

/* ---- TABLICA / MOBILNO ---- */
@media (max-width: 1024px) {
  .najem-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "uvod" "meni" "vsebina";
  }
  .najem-podmeni { margin-top: 32px; }
  .najem-podmeni-inner { position: static; }
}
@media (max-width: 900px) {
  /* shema postopka navpično: črta levo, številke ena pod drugo */
  .najem-potek { padding: 30px 18px 16px; }
  .najem-potek-faze { display: none; }
  .najem-potek-koraki { grid-template-columns: 1fr; }
  .najem-pk,
  .najem-pk-faza-m {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 0 0 30px;
    gap: 16px;
  }
  .najem-pk:not(:last-child)::before,
  .najem-pk-faza-m::before {
    content: '';
    position: absolute;
    top: 0;
    left: 23px;
    width: 2px;
    height: 100%;
    background: #c9c6bb;
  }
  .najem-pk:not(:last-child)::after {
    top: auto;
    bottom: 7px;
    left: 19px;
    transform: rotate(135deg);
  }
  .najem-pk-vsebina { align-items: flex-start; margin-top: 4px; }
  .najem-pk-kdo { margin-bottom: 10px; }
  .najem-pk-faza-m {
    display: flex;
    position: relative;
    padding-left: 64px;
    padding-bottom: 14px;
  }
  .najem-pk-faza-m:first-child::before { display: none; }
  .najem-pk-faza-m span {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
  }
}
@media (max-width: 640px) {
  .najem-section { padding: 40px 16px 64px; }
  .najem-z-stranjo { grid-template-columns: 1fr; gap: 16px; }
  .najem-tocka { padding-top: 56px; }
  .najem-korak-glava { padding: 10px 12px; }
  .najem-korak:not(:last-child)::before { left: 28px; }
  .najem-korak-vsebina { padding-left: 46px; }
  .najem-podtocka ol { padding-left: 28px; }
  .najem-inner .najem-opomba { padding-left: 32px; }
  .najem-potek-uvod { padding-left: 32px; }
  .najem-tocka > ul, .najem-z-stranjo ul { padding-left: 12px; }
  .najem-zakljucek { margin-top: 72px; }
  .najem-inner .najem-uvod-text { font-size: 16px; }
}
