/* =================================================================
   panjevi.rs — produkcijski stilovi
   Boje i tipografija prema HGP Baumstumpf design sistemu.
   Fontovi se hostuju lokalno iz /fonts (vidi fonts/README.md).
   ================================================================= */

/* ---- Lokalni fontovi (bez CDN) -------------------------------- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/CormorantGaramond-MediumItalic.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/CormorantGaramond-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/CormorantGaramond-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Manrope-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/Manrope-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/Manrope-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/Manrope-Bold.woff2") format("woff2");
}

/* ---- Tokeni --------------------------------------------------- */
:root {
  --bg-page: #0d1a13;
  --bg-section: #11221a;
  --bg-card: #15291f;
  --bg-card-hover: #1c3527;
  --fg-strong: #f5efe0;
  --fg-default: #ece5d2;
  --fg-muted: #c8c2b1;
  --fg-faint: #908c7c;
  --accent: #c9a55a;
  --accent-hover: #d8b975;
  --accent-press: #b08c44;
  --on-accent: #0d1a13;
  --border-soft: rgba(241, 234, 217, 0.10);
  --border-mid: rgba(241, 234, 217, 0.18);
  --border-accent: rgba(201, 165, 90, 0.40);
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --content-max: 1200px;
  --content-pad: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---- Reset ---------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--bg-page);
  color: var(--fg-default);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-pad);
}

/* ---- Tipografija ---------------------------------------------- */
h1, h2, h3 { margin: 0; color: var(--fg-strong); }
.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.eyebrow--accent { color: var(--accent); }

.h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.h1 .accent { color: var(--accent); }

.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.75rem, 4vw, 2.625rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.h2 em { font-style: italic; color: var(--accent); }

.h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.3;
}

/* ---- Dugmad --------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background .14s var(--ease), color .14s var(--ease),
              border-color .14s var(--ease), transform .14s var(--ease);
}
.btn svg { flex: none; }
.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset,
              0 6px 18px -8px rgba(201, 165, 90, 0.45);
}
.btn--primary:hover { background: var(--accent-press); }
.btn--primary:active { transform: translateY(1px); }
.btn--ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--border-accent);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-hover); }
.btn--lg { padding: 15px 24px; font-size: 15px; }
.btn--block { width: 100%; justify-content: center; }

/* ---- Header --------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 76px;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-soft);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
}
.lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
  color: var(--fg-strong);
}
.lockup__main {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.01em;
}
.lockup__tld {
  font-weight: 600;
  font-size: 13px;
  color: var(--fg-muted);
  margin-left: -6px;
}
.lockup__pill {
  padding: 5px 11px;
  border: 1px solid var(--border-accent);
  color: var(--accent);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-default);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color .14s var(--ease), border-color .22s var(--ease);
}
.nav__link:hover { color: var(--fg-strong); border-bottom-color: var(--accent); }
.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--border-mid);
  border-radius: 8px;
  cursor: pointer;
}
.burger span { width: 18px; height: 1px; background: var(--fg-strong); display: block; }

/* ---- Hero ----------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px);
  background: radial-gradient(60% 70% at 78% 18%, rgba(201, 165, 90, 0.07), transparent 70%);
}
.hero__eyebrow { margin-bottom: clamp(28px, 5vw, 44px); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero__text { min-width: 0; }
.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.5;
  color: var(--fg-default);
  margin: 24px 0 0;
  max-width: 54ch;
}
.hero__body { color: var(--fg-muted); margin: 18px 0 0; max-width: 52ch; line-height: 1.62; }
.hero__actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: clamp(22px, 3vw, 32px);
}
.hero__aside { display: flex; flex-direction: column; gap: 24px; }
.phone-block { display: flex; flex-direction: column; gap: 4px; }
.phone-number {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 38px;
  color: var(--fg-strong);
  text-decoration: none;
}
.phone-number:hover { color: var(--accent); }
.phone-note { font-size: 14px; color: var(--fg-faint); }
.media {
  border: 1px solid var(--border-mid);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}
.media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(0.92) brightness(0.95); }
.media__cap {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-strong);
  background: rgba(13, 26, 19, 0.7);
  padding: 6px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* ---- Sekcije -------------------------------------------------- */
.section { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--border-soft); }
.section--alt { background: var(--bg-section); }
.section--contact { background: var(--bg-section); border-top: 1px solid var(--border-mid); }
.section__head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }
.section__head .eyebrow { margin-bottom: 14px; }
.section__lead {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  color: var(--fg-muted);
  line-height: 1.55;
  margin: 16px 0 0;
  max-width: 60ch;
}

/* ---- Činjenice ------------------------------------------------ */
.facts { padding: 0 0 clamp(40px, 7vw, 80px); }
.facts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fact {
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  border-radius: 14px;
  padding: clamp(20px, 3vw, 28px);
}
.fact__big {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
  color: var(--fg-strong);
  margin-bottom: 8px;
}
.fact__small { font-size: 14px; color: var(--fg-muted); }

/* ---- Usluge --------------------------------------------------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.4vw, 26px);
  border: 1px solid var(--border-mid);
  border-radius: 14px;
  background: var(--bg-card);
  min-height: 230px;
  transition: border-color .22s var(--ease), background .22s var(--ease);
}
.service:hover { border-color: var(--border-accent); background: var(--bg-card-hover); }
.service .h3 { margin: 0 0 10px; }
.service p { color: var(--fg-muted); font-size: 14.5px; line-height: 1.55; margin: 0; }

/* ---- Kako radimo ---------------------------------------------- */
.steps { list-style: none; padding: 0; margin: 0; }
.step {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: clamp(24px, 4vw, 36px) 0;
  border-bottom: 1px solid var(--border-soft);
}
.step:last-child { border-bottom: 0; }
.step__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 0.9;
  color: var(--accent);
}
.step .h3 { margin: 0 0 8px; }
.step p { color: var(--fg-muted); margin: 0; max-width: 60ch; }

/* ---- Zašto mi ------------------------------------------------- */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 48px; max-width: 980px; }
.why__item { position: relative; padding: 18px 0 18px 36px; border-top: 1px solid var(--border-soft); }
.why__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  width: 18px;
  height: 1px;
  background: var(--accent);
}
.why__item .h3 { margin: 0 0 6px; font-size: 1.0625rem; }
.why__item p { color: var(--fg-muted); margin: 0; font-size: 15px; line-height: 1.55; }

/* ---- Galerija ------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; }
.gallery__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 8px;
}
.gallery__tag--posle { color: var(--accent); }
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border-mid);
  background: var(--bg-card);
}

/* ---- Kontakt -------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.contact__h2 { margin: 0 0 18px; }
.contact__text { color: var(--fg-muted); margin: 0; max-width: 48ch; line-height: 1.62; }
.contact__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.contact__area { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border-soft); }
.contact__area .eyebrow { margin-bottom: 8px; }
.contact__area p { color: var(--fg-default); font-size: 15px; margin: 0; }

.form {
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  border-radius: 14px;
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.field input,
.field textarea {
  background: var(--bg-section);
  border: 1px solid var(--border-mid);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--fg-default);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  resize: vertical;
  transition: border-color .14s var(--ease), box-shadow .14s var(--ease);
}
.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 165, 90, 0.25);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__foot { font-size: 12px; color: var(--fg-faint); text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Footer --------------------------------------------------- */
.footer { background: var(--bg-page); border-top: 1px solid var(--border-mid); }
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  padding: 56px var(--content-pad) 40px;
  max-width: var(--content-max);
  margin: 0 auto;
}
.footer__brand { display: flex; flex-direction: column; gap: 14px; }
.footer__word {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 26px;
  color: var(--fg-strong);
  line-height: 1;
}
.footer__word span { font-family: var(--font-body); font-style: normal; font-weight: 600; font-size: 14px; color: var(--fg-muted); margin-left: 2px; }
.footer__tag { font-size: 14px; color: var(--fg-muted); line-height: 1.5; max-width: 300px; }
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__col .eyebrow { margin-bottom: 6px; }
.footer__col a, .footer__col span { font-size: 14px; color: var(--fg-default); text-decoration: none; }
.footer__col a:hover { color: var(--accent); }
.footer__base { border-top: 1px solid var(--border-soft); padding: 18px 0; }
.footer__base .container { font-size: 12px; color: var(--fg-faint); }

/* ---- Responsivno ---------------------------------------------- */
@media (max-width: 980px) {
  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--bg-page);
    border-bottom: 1px solid var(--border-mid);
    padding: 14px 24px 20px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .burger { display: inline-flex; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__aside { order: 2; }
  .phone-number { font-size: 32px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .step { grid-template-columns: 64px 1fr; gap: 18px; }
}
@media (max-width: 600px) {
  .services { grid-template-columns: 1fr; }
  .facts__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
}

/* SEO intro prose */
.intro-prose { max-width: 70ch; }
.intro-prose p { color: var(--fg-muted); line-height: 1.7; margin: 0 0 1em; }
.intro-prose p:last-child { margin-bottom: 0; }

/* Service-Karte: Mehr-Link */
.service__more{display:inline-block;margin-top:14px;color:var(--accent);font-weight:600;font-size:.92rem;text-decoration:none}
.service__more:hover{text-decoration:underline}
