/* ==========================================================================
   Arma Concept — redizajn
   Jedan stylesheet, bez build koraka. Kod prelaska na WP ide u style.css teme.
   ========================================================================== */

/* Font -------------------------------------------------------------------
   Outfit, varijabilna verzija — jedan fajl pokriva sve težine od 100 do 900.
   Hostuje se lokalno: nema poziva prema Googleu i nema čekanja na vanjski
   server prije nego se tekst prikaže.
   latin-ext podskup nosi č, ć, ž, š i đ — bez njega ta slova ispadnu iz
   zamjenskog fonta i vidi se razlika usred riječi.
   ------------------------------------------------------------------------ */

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Zamjenski font dok se Outfit učitava.
   Izmjereno: Outfit zauzima 97–98 % širine Ariala, Segoe UI i Robota.
   size-adjust izjednačava širinu, pa tekst ne "skoči" kad Outfit stigne —
   mijenja se samo oblik slova, ne i prelom redova. */
@font-face {
  font-family: 'Outfit Fallback';
  src: local('Arial'), local('Helvetica'), local('Roboto');
  size-adjust: 97.5%;
  ascent-override: 100%;
  descent-override: 25%;
}

:root {
  /* Boje */
  --ink:        #101316;
  --ink-2:      #1a1f24;
  --ink-3:      #262d34;
  --steel:      #6b757e;
  --steel-2:    #9aa4ad;
  --line:       #dde1e5;
  --line-dark:  #2f373f;
  --paper:      #ffffff;
  --paper-2:    #f4f6f7;
  --accent:     #ec6608;
  --accent-2:   #c95205;
  --accent-ink: #ffffff;

  /* Tipografija */
  --font: "Outfit", "Outfit Fallback", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --mono: "SF Mono", "Cascadia Mono", "Consolas", ui-monospace, monospace;

  /* Ritam */
  --wrap: 1200px;
  --gut: 24px;
  --sec: 96px;
}

@media (max-width: 860px) {
  :root { --sec: 64px; --gut: 20px; }
}

/* Reset ------------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* Pomoćne klase ---------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.section { padding-block: var(--sec); }
.section--tight { padding-block: calc(var(--sec) * 0.6); }
.section--paper { background: var(--paper-2); }

.section--dark {
  background: var(--ink);
  color: var(--steel-2);
}
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.lede {
  max-width: 62ch;
  font-size: 1.1rem;
  color: var(--steel);
}
.section--dark .lede { color: var(--steel-2); }

.section-head { margin-bottom: 48px; }
.section-head .lede { margin-top: 18px; }

/* Dugmad ----------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-2); }

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--outline:hover { border-color: var(--ink); }

.btn--block { width: 100%; }

/* Header ----------------------------------------------------------------- */

.topbar {
  background: var(--ink);
  color: var(--steel-2);
  font-size: 0.82rem;
  border-bottom: 1px solid var(--line-dark);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 44px;
}
.topbar__list {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.topbar a { text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { flex: none; opacity: .55; }

.topbar__social { display: flex; gap: 14px; }
.topbar__social a { display: inline-flex; opacity: .6; }
.topbar__social a:hover { opacity: 1; }

@media (max-width: 860px) {
  .topbar__list--meta .topbar__item--addr { display: none; }
  .topbar__social { display: none; }
  .topbar__inner { justify-content: center; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}
.brand img { height: 44px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand__tag {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  display: block;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-2);
  border-radius: 2px;
}
.nav a:hover { color: var(--accent); }
.nav a[aria-current="page"] { color: var(--accent); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
}

@media (max-width: 940px) {
  .site-header__cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav[data-open="true"] { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gut) 20px; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav li:last-child a { border-bottom: 0; }
}

/* Hero ------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(78vh, 680px);
  padding-block: 90px;
  background: var(--ink) center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(9,11,13,.92) 0%, rgba(9,11,13,.78) 45%, rgba(9,11,13,.35) 100%);
}
.hero > .wrap { position: relative; z-index: 1; }
.hero__inner { max-width: 720px; }
.hero h1 { color: #fff; }
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero__lede {
  margin-top: 22px;
  max-width: 52ch;
  font-size: 1.15rem;
  color: rgba(255,255,255,.78);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* Traka s ključnim podacima */
.factbar {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.factbar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.fact {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
}
.fact:first-child { padding-left: 0; }
.fact:last-child { border-right: 0; padding-right: 0; }
.fact__num {
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.fact__label {
  margin-top: 6px;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--steel);
}

@media (max-width: 860px) {
  .factbar__grid { grid-template-columns: repeat(2, 1fr); }
  .fact { padding: 24px 20px; border-bottom: 1px solid var(--line); }
  .fact:nth-child(2n) { border-right: 0; padding-right: 0; }
  .fact:nth-child(2n+1) { padding-left: 0; }
  .fact:nth-last-child(-n+2) { border-bottom: 0; }
}

/* Kartice asortimana ----------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  padding: 36px;
  color: #fff;
  text-decoration: none;
  background: var(--ink) center/cover no-repeat;
  border-radius: 2px;
  overflow: hidden;
  isolation: isolate;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(9,11,13,.94) 22%, rgba(9,11,13,.55) 60%, rgba(9,11,13,.3) 100%);
  transition: background .3s ease;
}
.card:hover::after {
  background: linear-gradient(to top, rgba(9,11,13,.96) 30%, rgba(15,20,24,.7) 70%, rgba(20,26,31,.45) 100%);
}
.card__body { margin-top: auto; }
.card h3 {
  color: #fff;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
}
.card__list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.card__list li {
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 2px;
  color: rgba(255,255,255,.85);
}
.card__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.card__more svg { transition: transform .2s ease; }
.card:hover .card__more svg { transform: translateX(5px); }

/* Prodajni program — četiri grupe ---------------------------------------- */

.prog {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1040px) { .prog { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .prog { grid-template-columns: 1fr; } }

.prog__card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  background: var(--ink);
  color: #fff;
  border-radius: 2px;
  text-decoration: none;
  overflow: hidden;
  transition: transform .22s ease, background-color .22s ease;
}
.prog__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,0) 55%);
  pointer-events: none;
}
.prog__card:hover { transform: translateY(-3px); background: var(--ink-2); }

.prog__num {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.prog__card h3 {
  margin: 12px 0 0;
  color: #fff;
  font-size: 1.32rem;
}
.prog__list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--steel-2);
  font-size: 0.95rem;
}
.prog__list li {
  position: relative;
  padding-left: 16px;
  line-height: 1.85;
}
.prog__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 5px;
  height: 1px;
  background: var(--accent);
}
.prog__more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.prog__more svg { transition: transform .2s ease; }
.prog__card:hover .prog__more svg { transform: translateX(4px); }

/* Grupa proizvoda na stranici programa ----------------------------------- */

.group + .group {
  margin-top: 80px;
  padding-top: 80px;
  border-top: 1px solid var(--line);
}
.group__head {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 36px;
}
@media (max-width: 900px) { .group__head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 28px; } }

.items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}
@media (max-width: 900px) { .items { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .items { grid-template-columns: 1fr; } }

.item {
  padding: 24px 26px;
  background: var(--paper);
  font-weight: 700;
  color: var(--ink);
  transition: background-color .18s ease;
}
.section--paper .item { background: #fff; }
.item:hover { background: var(--paper-2); }
.item span {
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--steel);
}

/* Prednosti s kvačicom ---------------------------------------------------- */

.checks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 28px 26px;
  background: var(--ink);
}
.check svg { flex: none; margin-top: 2px; color: var(--accent); }
.check strong {
  display: block;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Misija ------------------------------------------------------------------ */

.mission {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) { .mission { grid-template-columns: 1fr; gap: 24px; } }

.mission__text {
  font-size: clamp(1.25rem, 2.1vw, 1.6rem);
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.section--dark .mission__text { color: #fff; }
.mission__text + p { margin-top: 20px; font-size: 1.02rem; color: var(--steel); }
.section--dark .mission__text + p { color: var(--steel-2); }

/* Prednosti / koraci ----------------------------------------------------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.section--dark .grid-3 { background: var(--line-dark); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }

.step {
  padding: 40px 34px;
  background: var(--ink);
}
.step__num {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.step h3 { margin: 14px 0 10px; font-size: 1.25rem; }
.step p { color: var(--steel-2); font-size: 0.97rem; }

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

.feature { padding-top: 26px; border-top: 2px solid var(--ink); }
.feature h3 { margin-bottom: 8px; }
.feature p { font-size: 0.96rem; color: var(--steel); }

/* Tablica dimenzija ------------------------------------------------------ */

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 2px; }

table.specs {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.94rem;
}
table.specs th,
table.specs td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
table.specs thead th {
  background: var(--paper-2);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
}
table.specs tbody tr:last-child th,
table.specs tbody tr:last-child td { border-bottom: 0; }
table.specs tbody th { font-weight: 700; color: var(--ink); }

/* Blok proizvoda na stranici asortimana */
.product {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) { .product { grid-template-columns: 1fr; gap: 28px; } }

.product + .product { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--line); }
.product__media {
  aspect-ratio: 4 / 3;
  background: var(--ink) center/cover no-repeat;
  border-radius: 2px;
}
.product h3 { font-size: 1.6rem; margin-bottom: 12px; }

/* CTA traka -------------------------------------------------------------- */

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 52px;
  background: var(--accent);
  border-radius: 2px;
}
.cta-band h2 { color: #fff; max-width: 22ch; }
.cta-band p { margin-top: 12px; color: rgba(255,255,255,.9); max-width: 46ch; }
.cta-band .btn--primary { background: var(--ink); }
.cta-band .btn--primary:hover { background: #000; }
@media (max-width: 700px) { .cta-band { padding: 36px 26px; } }

/* Forma ------------------------------------------------------------------ */

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field--full { grid-column: 1 / -1; }

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  font: inherit;
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(236,102,8,.14);
}
.field__hint { margin-top: 6px; font-size: 0.82rem; color: var(--steel); }

.form-note { margin-top: 16px; font-size: 0.85rem; color: var(--steel); }

/* Honeypot — sakriveno od ljudi, vidljivo botovima. Ne koristiti display:none,
   dio botova to prepoznaje i preskoči polje. */
.pot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Poruka nakon slanja */
.poruka {
  padding: 14px 18px;
  border-left: 3px solid var(--steel);
  background: var(--paper-2);
  font-size: 0.92rem;
  color: var(--ink-2);
}
.poruka[data-stanje="uspjeh"] { border-left-color: #1f9d55; }
.poruka[data-stanje="greska"] { border-left-color: #d64545; }

/* Kontakt ---------------------------------------------------------------- */

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) { .contact-split { grid-template-columns: 1fr; gap: 40px; } }

.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list li:first-child { padding-top: 0; }
.contact-list svg { flex: none; margin-top: 3px; color: var(--accent); }
.contact-list dt {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}
.contact-list dd { margin: 3px 0 0; font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--accent); }

.map-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 2px;
  filter: grayscale(1) contrast(1.05);
  transition: filter .3s ease;
}
.map-embed:hover { filter: grayscale(0); }

/* Podnaslovna traka stranice --------------------------------------------- */

.pagehead {
  position: relative;
  padding-block: 88px;
  background: var(--ink) center/cover no-repeat;
  color: #fff;
}
.pagehead::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(9,11,13,.93), rgba(9,11,13,.7));
}
.pagehead > .wrap { position: relative; z-index: 1; }
.pagehead h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.pagehead p { margin-top: 16px; max-width: 56ch; color: rgba(255,255,255,.75); }

.crumbs {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.82rem;
  color: rgba(255,255,255,.55);
}
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* Footer ----------------------------------------------------------------- */

.site-footer {
  padding-top: 72px;
  background: var(--ink);
  color: var(--steel-2);
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 56px;
  padding-bottom: 56px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 40px; } }

.site-footer h4 {
  margin-bottom: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 12px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }

.footer-brand img { height: 52px; margin-bottom: 20px; }
.footer-brand p { max-width: 38ch; }

.social { display: flex; gap: 12px; margin-top: 24px; }
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-dark);
  border-radius: 2px;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.colophon {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding-block: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.85rem;
  color: var(--steel);
}
.colophon a { color: var(--steel-2); }

/* Oznaka placeholder sadržaja -------------------------------------------- */
/* Vidljivo samo kad se otvori s ?ph na kraju URL-a — za internu provjeru.  */

html.ph [data-ph] {
  outline: 2px dashed rgba(236,102,8,.75);
  outline-offset: 3px;
  position: relative;
}
html.ph [data-ph]::before {
  content: attr(data-ph);
  position: absolute;
  top: -9px;
  left: 0;
  z-index: 5;
  padding: 1px 7px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border-radius: 2px;
  pointer-events: none;
}

/* Ulazna animacija ------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
  }
  [data-reveal].is-in { opacity: 1; transform: none; }
}

/* Pristupačnost ---------------------------------------------------------- */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}
.skip:focus { left: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
