/* ============================================================================
   KLIČKOVIĆ SP – Odnosi sa javnošću
   style.css — verzija 2

   1. Fontovi      5. Hero            9. Naš pristup
   2. Tokeni       6. Traka          10. Pitanja
   3. Osnove       7. O nama         11. Kontakt
   4. Header       8. Djelatnosti    12. Footer i pomoćno
   ========================================================================== */

/* ---------------------------------- 1. FONTOVI (lokalni) ----------------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/archivo-latin-wght-normal.woff2') format('woff2-variations');
  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;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/archivo-latin-ext-wght-normal.woff2') format('woff2-variations');
  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: 'Newsreader';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/assets/fonts/newsreader-latin-wght-normal.woff2') format('woff2-variations');
  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;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/assets/fonts/newsreader-latin-ext-wght-normal.woff2') format('woff2-variations');
  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: 'Sacramento';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/assets/fonts/sacramento-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Sacramento';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/assets/fonts/sacramento-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* ---------------------------------- 2. TOKENI ---------------------------- */
:root {
  --navy-950: #041A3B;
  --navy-900: #05224C;
  --navy-800: #0A2C5C;
  --navy-700: #123A6E;
  --ink:      #0B1F3A;
  --muted:    #5A6880;
  --muted-dark: rgba(226, 233, 244, .68);
  --line:     #DFE4EC;
  --line-dark: rgba(255,255,255,.16);
  --paper:    #EFF2F7;
  --white:    #FFFFFF;
  --gold:     #C1872E;
  --gold-web: #D9A94F;

  --sans:  'Archivo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --script:'Sacramento', 'Segoe Script', cursive;

  --fs-display: clamp(2.9rem, 7.6vw, 6rem);
  --fs-h2:      clamp(1.9rem, 3.5vw, 3rem);
  --fs-lead:    clamp(1.08rem, 1.45vw, 1.28rem);
  --fs-body:    1.0625rem;
  --fs-small:   0.875rem;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --sec-pad: clamp(80px, 10vw, 152px);
  --rail: 190px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --header-h: 112px;
}

/* ---------------------------------- 3. OSNOVE ---------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) - 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.1; }
p { margin: 0 0 1.15em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
::selection { background: var(--navy-900); color: #fff; }

:focus-visible { outline: 2px solid var(--gold-web); outline-offset: 3px; border-radius: 2px; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy-900); color: #fff; padding: 12px 20px;
  text-decoration: none; font-size: var(--fs-small);
}
.skip-link:focus { left: 0; }

/* Sekcije */
.section { padding-block: var(--sec-pad); }
.section-light { background: var(--white); }
.section-paper { background: var(--paper); }
.section-dark  { background: var(--navy-900); color: #fff; }

/* Editorijalna mreža: lijeva šina + sadržaj */
.sec-grid {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.rail {
  position: sticky;
  top: calc(var(--header-h) + 8px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.rail-num {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--gold);
  letter-spacing: .04em;
}
.rail-label {
  font-size: 0.72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.rail-dark { border-top-color: var(--line-dark); }
.rail-dark .rail-num { color: var(--gold-web); }
.rail-dark .rail-label { color: rgba(255,255,255,.55); }

.sec-title {
  font-family: var(--serif);
  font-size: var(--fs-h2);
  font-weight: 350;
  letter-spacing: -.018em;
  line-height: 1.13;
  max-width: 46rem;
  color: var(--ink);
}
.section-dark .sec-title { color: #fff; }
.sec-sub {
  margin-top: 20px;
  color: var(--muted);
  max-width: 52ch;
  font-size: var(--fs-lead);
}
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 22px;
}

/* Dugmad */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 32px;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  overflow: hidden;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-web);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.btn > span, .btn { z-index: 0; }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn { isolation: isolate; }
.btn::before { z-index: -1; }

.btn-solid { background: var(--navy-900); color: #fff; }
.btn-solid:hover { color: var(--navy-900); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { color: var(--navy-900); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { color: var(--navy-900); border-color: var(--gold-web); }
.btn-block { width: 100%; }

/* ---------------------------------- 4. HEADER ---------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), height .35s var(--ease);
}
.site-header.is-stuck {
  height: 84px;
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--line);
}
.progress {
  position: absolute; left: 0; bottom: -1px;
  height: 2px; width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.site-header.is-stuck .progress { opacity: 1; }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; position: relative; z-index: 2; }
.brand-logo { height: 78px; width: auto; transition: height .35s var(--ease); }
.site-header.is-stuck .brand-logo { height: 58px; }
.brand-logo-dark { display: none; }
.site-header.is-stuck .brand-logo-inverse { display: none; }
.site-header.is-stuck .brand-logo-dark { display: block; }

.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.nav-list { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav-link {
  position: relative;
  font-size: 0.92rem;
  text-decoration: none;
  color: rgba(255,255,255,.85);
  padding-block: 6px;
  transition: color .25s var(--ease);
}
.site-header.is-stuck .nav-link { color: var(--muted); }
.nav-link::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold-web);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .32s var(--ease);
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link:hover, .nav-link.is-active { color: #fff; }
.site-header.is-stuck .nav-link:hover,
.site-header.is-stuck .nav-link.is-active { color: var(--navy-900); }
.site-header.is-stuck .nav-link::after { background: var(--gold); }

.nav-cta { min-height: 46px; padding: 0 24px; font-size: 0.72rem; }
.site-header:not(.is-stuck) .nav-cta { background: transparent; border-color: rgba(255,255,255,.4); }

.burger {
  display: none;
  position: relative; z-index: 2;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 6px;
  background: none; border: 0; cursor: pointer; padding: 0;
}
.burger span {
  display: block; width: 24px; height: 1.5px; background: #fff;
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-stuck .burger span { background: var(--navy-900); }

/* ---------------------------------- 5. HERO ------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--navy-900);
  color: #fff;
  padding-top: calc(var(--header-h) + 32px);
  padding-bottom: 100px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 70% at 78% 22%, rgba(18,58,110,.7) 0%, rgba(5,34,76,0) 60%),
    linear-gradient(180deg, rgba(4,26,59,.55), rgba(5,34,76,0) 42%);
  pointer-events: none;
}
.hero-swoosh {
  position: absolute;
  top: 50%; right: -4%;
  width: min(520px, 54vw);
  transform: translateY(-44%);
  opacity: .72;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, transparent 4%, #000 46%);
          mask-image: linear-gradient(to top, transparent 4%, #000 46%);
  clip-path: inset(0 0 0 100%);
  animation: swooshIn 1.6s var(--ease) .15s forwards;
}
@keyframes swooshIn { to { clip-path: inset(0 0 0 0); } }

.hero-inner { position: relative; z-index: 2; }
.hero-eyebrow { color: var(--gold-web); }
.hero-title {
  font-family: var(--serif);
  font-size: var(--fs-display);
  font-weight: 350;
  letter-spacing: -.028em;
  line-height: 1;
  max-width: 15ch;
  margin-top: -.05em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span {
  display: block;
  transform: translateY(108%);
  animation: lineUp 1.05s var(--ease) forwards;
}
.hero-title .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes lineUp { to { transform: none; } }

.hero-sub {
  margin-top: clamp(24px, 3vw, 34px);
  max-width: 46ch;
  font-size: var(--fs-lead);
  color: rgba(255,255,255,.74);
  line-height: 1.66;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(32px, 4vw, 46px); }

.anim { opacity: 0; transform: translateY(16px); animation: riseIn .9s var(--ease) forwards; }
.anim-1 { animation-delay: .05s; }
.anim-2 { animation-delay: .38s; }
.anim-3 { animation-delay: .5s; }
.anim-4 { animation-delay: .74s; }
@keyframes riseIn { to { opacity: 1; transform: none; } }

.scroll-cue {
  position: absolute;
  left: var(--gutter); bottom: 38px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color .3s var(--ease);
}
.scroll-cue:hover { color: var(--gold-web); }
.scroll-cue-line {
  position: relative;
  width: 54px; height: 1px;
  background: rgba(255,255,255,.24);
  overflow: hidden;
}
.scroll-cue-line::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--gold-web);
  transform: translateX(-100%);
  animation: cue 2.8s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: translateX(-100%); }
  55% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* ---------------------------------- 6. TRAKA ----------------------------- */
.ticker {
  overflow: hidden;
  background: var(--navy-950);
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker-track {
  display: flex; align-items: center; gap: 26px;
  width: max-content;
  animation: slide 58s linear infinite;
}
.ticker-track span {
  font-size: 0.74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.66);
  white-space: nowrap;
}
.ticker-track i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------------------------------- 7. O NAMA ---------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, .65fr);
  gap: clamp(32px, 5vw, 76px);
  margin-top: clamp(36px, 5vw, 60px);
}
.about-text { max-width: 62ch; }
.about-text .lead {
  font-family: var(--serif);
  font-size: var(--fs-lead);
  line-height: 1.58;
  color: var(--navy-900);
}
.about-text p { color: var(--muted); }

.about-side { border-top: 1px solid var(--line); padding-top: 24px; }
.about-year {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 6vw, 5rem);
  font-weight: 250;
  line-height: .9;
  letter-spacing: -.03em;
  margin: 0;
  color: var(--navy-900);
}
.about-year-label {
  margin: 14px 0 0;
  font-size: var(--fs-small);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.about-principles { margin-top: 32px; border-top: 1px solid var(--line); }
.about-principles li {
  position: relative;
  padding: 13px 0 13px 22px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--navy-800);
}
.about-principles li::before {
  content: '';
  position: absolute; left: 0; top: 23px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
}
.about-closing {
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding-left: 26px;
  border-left: 2px solid var(--gold);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.45;
  color: var(--navy-900);
  max-width: 34ch;
}

/* ---------------------------------- 8. DJELATNOSTI ----------------------- */
.services { margin-top: clamp(40px, 5vw, 68px); border-top: 1px solid var(--line); }
.service {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 0 clamp(16px, 2vw, 28px);
  padding: clamp(24px, 2.6vw, 34px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .45s var(--ease);
}
.service::after {
  content: '';
  position: absolute; left: 0; bottom: -1px;
  height: 1px; width: 0;
  background: var(--gold);
  transition: width .55s var(--ease);
}
.service:hover::after, .service:focus-within::after { width: 100%; }
.service:hover { padding-left: 12px; }

.service-num {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--muted);
  padding-top: .45em;
  transition: color .35s var(--ease);
}
.service:hover .service-num { color: var(--gold); }

.service-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 6px clamp(24px, 4vw, 64px);
  align-items: baseline;
}
.service-title {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.3vw, 2.05rem);
  font-weight: 400;
  letter-spacing: -.015em;
  color: var(--navy-900);
}
.service-desc { color: var(--muted); margin: 0; max-width: 48ch; }

/* ---------------------------------- 9. NAŠ PRISTUP ----------------------- */
.approach-intro {
  max-width: 60ch;
  color: var(--muted-dark);
  margin-top: clamp(28px, 3vw, 40px);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  margin-top: clamp(46px, 6vw, 80px);
}
.step {
  background: var(--navy-900);
  padding: 32px clamp(18px, 2vw, 28px) 38px;
  transition: background-color .4s var(--ease);
}
.step:hover { background: var(--navy-800); }
.step-num { font-family: var(--serif); font-size: .95rem; letter-spacing: .1em; color: var(--gold-web); }
.step-title { margin: 16px 0 10px; font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.step-desc { color: var(--muted-dark); margin: 0; font-size: .97rem; }

.pullquote {
  margin: clamp(52px, 7vw, 92px) 0 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 250;
  line-height: 1.24;
  letter-spacing: -.02em;
  color: #fff;
  max-width: 22ch;
}

/* ---------------------------------- 10. PITANJA -------------------------- */
.faq { margin-top: clamp(36px, 4vw, 56px); border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1.6vw, 1.4rem);
  color: var(--navy-900);
  transition: color .3s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold); }
.faq-icon { position: relative; width: 16px; height: 16px; flex: none; }
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute; left: 0; top: 50%;
  width: 16px; height: 1.5px;
  background: var(--gold);
  transition: transform .35s var(--ease);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-answer { padding: 0 12% 28px 0; color: var(--muted); max-width: 68ch; }
.faq-answer p { margin: 0; }

/* ---------------------------------- 11. KONTAKT -------------------------- */
.section-contact { background: var(--navy-950); }
#kontakt .sec-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
#kontakt .rail {
  position: static;
  flex-direction: row;
  align-items: baseline;
  gap: 14px;
  margin-bottom: clamp(28px, 3vw, 44px);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 560px);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-lead { color: var(--muted-dark); max-width: 44ch; margin-top: 24px; font-size: var(--fs-lead); }

.contact-list { margin: clamp(32px, 4vw, 48px) 0 0; }
.contact-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid var(--line-dark);
}
.contact-item dt {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  padding-top: 4px;
}
.contact-item dd { margin: 0; color: #fff; }
.contact-item a { text-decoration: none; border-bottom: 1px solid var(--line-dark); transition: border-color .25s var(--ease); }
.contact-item a:hover { border-color: var(--gold-web); }

.demo-flag {
  margin: 26px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--gold);
  font-size: .82rem;
  line-height: 1.6;
  color: rgba(255,255,255,.6);
}
.demo-flag code { color: var(--gold-web); font-size: .95em; }

.social { display: flex; gap: 22px; margin-top: 26px; }
.social a { font-size: var(--fs-small); text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.social a:hover { border-color: var(--gold-web); }

.contact-form-wrap {
  background: var(--navy-900);
  border: 1px solid var(--line-dark);
  padding: clamp(26px, 3.4vw, 44px);
  color: #fff;
}
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  display: block;
  font-size: .88rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 12px 14px;
  min-height: 48px;
  transition: border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.field textarea { resize: vertical; line-height: 1.6; }
.field input:hover, .field textarea:hover { border-color: var(--gold-web); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(193,135,46,.28);
}
.field input.is-invalid, .field textarea.is-invalid { border-color: #E06A62; box-shadow: 0 0 0 3px rgba(224,106,98,.22); }
.field input::placeholder, .field textarea::placeholder { color: #8E9AAC; }

.field-check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 26px;
}
.field-check input {
  width: 20px; height: 20px; min-height: 0; margin-top: 3px;
  accent-color: var(--gold);
  background: var(--white);
  padding: 0;
}
.field-check label { font-size: .88rem; line-height: 1.55; margin: 0; color: rgba(255,255,255,.7); }
.field-check label a { color: var(--gold-web); }
.field-check .err { grid-column: 1 / -1; }

.err { margin: 7px 0 0; font-size: .82rem; color: #F0A49E; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

#submit-btn { margin-top: 28px; }
#submit-btn[disabled] { opacity: .55; cursor: not-allowed; }

.form-status { margin: 16px 0 0; font-size: .92rem; line-height: 1.6; }
.form-status.is-ok { color: #8FD8AE; }
.form-status.is-err { color: #F0A49E; }
.form-status:empty { display: none; }
.form-note { margin: 14px 0 0; font-size: .8rem; color: rgba(255,255,255,.5); }

/* ---------------------------------- 12. FOOTER --------------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  color: rgba(255,255,255,.7);
  padding-top: clamp(64px, 8vw, 104px);
}
.footer-ribbon {
  position: absolute; right: 0; bottom: 0;
  width: min(420px, 44vw);
  opacity: .35;
  pointer-events: none;
}
.footer-inner, .footer-bottom { position: relative; z-index: 1; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(48px, 6vw, 76px);
}
.footer-brand img { height: 92px; width: auto; }
.footer-slogan {
  margin: 24px 0 0;
  font-family: var(--script);
  font-size: 2.05rem;
  line-height: 1.15;
  color: var(--gold-web);
}
.footer-swoosh { display: block; width: 190px; margin-top: 2px; color: var(--gold-web); }
.footer-h {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-col li { margin-bottom: 11px; font-size: .94rem; }
.footer-col a { text-decoration: none; transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--gold-web); }
.footer-demo {
  margin-top: 16px;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-web);
  border: 1px dashed rgba(217,169,79,.5);
  display: inline-block;
  padding: 4px 10px;
}
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.footer-bottom a:hover { color: var(--gold-web); }

/* Mobilna traka sa radnjama */
.mobile-bar { display: none; }
.mobile-bar-label { display: block; font-size: .62rem; letter-spacing: .16em; opacity: .7; }
.mobile-bar-num { display: block; font-size: .95rem; letter-spacing: .04em; text-transform: none; }

/* Baner za kolačiće (aktivan samo ako se uvede analitika) */
.cookie-bar {
  position: fixed;
  left: 50%; bottom: 20px;
  z-index: 120;
  width: min(680px, calc(100% - 32px));
  transform: translate(-50%, 140%);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  background: var(--navy-950);
  border: 1px solid var(--line-dark);
  color: rgba(255,255,255,.8);
  font-size: .88rem;
  line-height: 1.6;
  transition: transform .5s var(--ease);
}
.cookie-bar.is-visible { transform: translate(-50%, 0); }
.cookie-bar p { margin: 0; }
.cookie-bar a { color: var(--gold-web); }
.cookie-actions { display: flex; gap: 10px; flex: none; }
.cookie-actions .btn { min-height: 44px; padding: 0 18px; font-size: .7rem; }

/* Otkrivanje pri skrolu */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}

/* 404 i pravne stranice */
.page-404 {
  min-height: 100svh;
  display: flex; align-items: center;
  background: var(--navy-900); color: #fff;
  padding-block: 120px;
}
.page-404 h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 300;
  letter-spacing: -.02em;
  margin-bottom: 22px;
}
.page-404 p { color: var(--muted-dark); max-width: 46ch; }
.page-404 .btn-gold { margin-top: 24px; }
.page-404-logo { height: 86px; width: auto; margin-bottom: 44px; }
.eyebrow-light { color: var(--gold-web); }
.page-404-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.legal-back { margin-top: 44px; }
.footer-bottom-plain { border-top: 0; }

.legal { padding-top: calc(var(--header-h) + clamp(48px, 7vw, 90px)); padding-bottom: var(--sec-pad); }
.legal-body { max-width: 70ch; }
.legal-body h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 300;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.legal-body h2 {
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 400;
  margin: 44px 0 14px;
  color: var(--navy-900);
}
.legal-body p, .legal-body li { color: var(--muted); }
.legal-body ul { list-style: disc; padding-left: 22px; margin-bottom: 1.15em; }
.legal-body li { margin-bottom: 8px; }
.legal-updated { font-size: var(--fs-small); color: var(--muted); }
.legal-body a { color: var(--navy-900); }
.legal-body .demo-flag { color: var(--muted); border-left-color: var(--gold); }
.legal-body .demo-flag code { color: var(--navy-900); }

/* ---------------------------------- RESPONSIVE --------------------------- */
@media (max-width: 1100px) {
  :root { --rail: 150px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .service-body { grid-template-columns: 1fr; }
  .service-desc { margin-top: 8px; }
}

@media (max-width: 900px) {
  .sec-grid { grid-template-columns: 1fr; gap: 20px; }
  .rail {
    position: static;
    flex-direction: row;
    align-items: baseline;
    gap: 14px;
    padding-top: 8px;
    margin-bottom: 22px;
  }
  .about-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-h: 84px; }
  .brand-logo { height: 58px; }
  .site-header.is-stuck { height: 72px; }
  .site-header.is-stuck .brand-logo { height: 50px; }
  .footer-brand img { height: 78px; }

  .burger { display: flex; }
  .nav {
    position: fixed; inset: 0;
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 0;
    background: var(--navy-900);
    padding: var(--gutter);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .4s var(--ease), visibility .4s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
  .nav-list li { width: 100%; border-bottom: 1px solid var(--line-dark); }
  .nav-link {
    display: block; width: 100%;
    padding: 19px 0;
    font-family: var(--serif);
    font-size: 1.55rem;
    color: #fff;
  }
  .nav-link::after { display: none; }
  .nav-link.is-active { color: var(--gold-web); }
  .site-header.is-stuck .nav-link { color: #fff; }
  .site-header.is-stuck .nav-link.is-active { color: var(--gold-web); }
  .nav-cta { margin-top: 32px; width: 100%; min-height: 54px; }
  .site-header:not(.is-stuck) .nav-cta { background: var(--gold); border-color: var(--gold); color: #fff; }

  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { background: transparent; border-color: transparent; backdrop-filter: none; }
  body.nav-open .site-header .brand-logo-inverse { display: block; }
  body.nav-open .site-header .brand-logo-dark { display: none; }
  body.nav-open .site-header .burger span { background: #fff; }
  body.nav-open .site-header .burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
  body.nav-open .site-header .burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  body.nav-open .site-header .progress { opacity: 0; }
  body.nav-open .mobile-bar { display: none; }

  .hero { min-height: 94svh; padding-bottom: 96px; }
  .hero-swoosh { right: -22%; width: 96vw; opacity: .34; }
  .hero-actions .btn { flex: 1 1 100%; }
  .scroll-cue { bottom: 30px; }

  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-item { grid-template-columns: 1fr; gap: 4px; }
  .faq-answer { padding-right: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; }

  /* traka sa radnjama pri dnu ekrana */
  body { padding-bottom: 0; }
  body.has-bar { padding-bottom: 76px; }
  .mobile-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--navy-950);
    border-top: 1px solid var(--line-dark);
    transform: translateY(100%);
    transition: transform .4s var(--ease);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px;
    min-height: 64px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
  }
  .mobile-bar-cta { background: var(--gold); color: var(--navy-900); }
}

@media (max-width: 600px) {
  .cookie-bar { flex-direction: column; align-items: stretch; gap: 16px; }
  .cookie-actions .btn { flex: 1; }
  .sec-title br { display: none; }
  .steps { grid-template-columns: 1fr; }
  .service { grid-template-columns: 46px minmax(0, 1fr); }
}

/* ---------------------------------- PRISTUPAČNOST / ŠTAMPA --------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .hero-title .line > span { transform: none; }
  .hero-swoosh { clip-path: none; }
  .anim { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
  .scroll-cue-line::after { display: none; }
  .progress { display: none; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .hero-swoosh, .contact-form-wrap, .burger, .ticker, .mobile-bar, .footer-ribbon { display: none !important; }
  body { color: #000; background: #fff; }
  .section-dark, .section-contact, .hero, .site-footer { background: #fff !important; color: #000 !important; }
  .sec-title, .pullquote, .contact-item dd { color: #000 !important; }
}
