/* Armin vulkanizer: mobile-first, "moderan i minimalistički" (forma). Boje klijenta: crna je osnova, crvena je jedini naglasak
   (dugmad, 0–24, brojevi, traka). Svijetlo siva sekcija daje stranici da diše. Fotografije su crno-bijele, pa crvena iskače.
   Motiv je gazeći sloj gume: ševroni u heroju, šara gume iza bloka "Dežurni".
   Bez tankih obruba, zaobljenih kartica i obruba samo s jedne strane. */

/* Anton (naslovi, zbijeni grotesk, statičan rez) i Archivo (tekst, varijabilan po debljini), oba SIL OFL, self-host. latin + latin-ext (č ć š ž đ) */
@font-face { font-family: Anton; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/anton-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: Anton; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/anton-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; }
@font-face { font-family: Archivo; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(/fonts/archivo-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: Archivo; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(/fonts/archivo-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; }

:root {
  --crna: #0e0e0e;
  --ugalj: #1a1a1a;
  --svijetla: #f2f2f2;
  --bijela: #ffffff;
  --tekst: #111111;
  --prigusen-tamni: #555555;
  --prigusen: #b3b3b3;
  --crvena: #c8221a;
  --crvena-hover: #a51b14;
  --crvena-svijetla: #f4433a;
  --font-naslovi: Anton, Impact, "Arial Narrow", sans-serif;
  --font-tekst: Archivo, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body {
  margin: 0; font-family: var(--font-tekst); font-size: 1.0625rem; line-height: 1.6;
  color: var(--tekst); background: var(--svijetla);
  padding-bottom: 4.5rem; /* mjesto za sticky poziv na mobitelu */
}
img { max-width: 100%; height: auto; display: block; }
svg { flex-shrink: 0; }
a { color: var(--tekst); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.05; }
h1, h2 { font-family: var(--font-naslovi); font-weight: 400; text-transform: uppercase; letter-spacing: .005em; }
h1 { font-size: clamp(3rem, 14vw, 7rem); line-height: 1; }
h2 { font-size: clamp(2.5rem, 11vw, 4.6rem); line-height: 1.02; }
h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--crvena); outline-offset: 3px; }
.hero :focus-visible, .top :focus-visible, .foot :focus-visible, .sticky-cta :focus-visible, .dezurni :focus-visible, .section--crna :focus-visible { outline-color: var(--bijela); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--crvena); color: var(--bijela); padding: .6rem 1rem; z-index: 100; font-weight: 800; }
.skip:focus { left: 1rem; }
.nw { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(100% - 2.5rem, 76rem); margin-inline: auto; }

.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico--btn { width: 20px; height: 20px; stroke-width: 2; }

/* ---------- dugmad: bijelo na crvenoj, oštri uglovi ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 56px; padding: .8rem 1.6rem; border: 0; border-radius: 0;
  background: var(--crvena); color: var(--bijela);
  font: 800 1.02rem/1.2 var(--font-tekst); letter-spacing: .02em; text-transform: uppercase; text-decoration: none; text-align: center; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
  box-shadow: 0 16px 34px -14px rgb(200 34 26 / .85);
}
.btn:hover { transform: translateY(-2px); background: var(--crvena-hover); box-shadow: 0 20px 40px -12px rgb(200 34 26 / .95); }
.btn--ghost { background: rgb(14 14 14 / .4); color: var(--bijela); box-shadow: inset 0 0 0 2px rgb(255 255 255 / .85); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: var(--bijela); color: var(--crna); box-shadow: inset 0 0 0 2px var(--bijela); }
.btn--tamno { background: var(--crna); color: var(--bijela); box-shadow: 0 16px 34px -16px rgb(14 14 14 / .8); }
.btn--tamno:hover { background: var(--crvena); color: var(--bijela); }
.btn--sm { min-height: 44px; padding: .5rem 1rem; font-size: .9rem; box-shadow: none; }

/* ---------- logo: znak (guma) + ARMIN / VULKANIZER; samo na crnoj podlozi ---------- */
.znak { width: 44px; height: 44px; overflow: visible; }
.logo, .hero__logo { display: inline-flex; align-items: center; gap: .7rem; color: var(--bijela); text-decoration: none; }
.logo__tekst { display: grid; line-height: 1; }
.logo__tekst b { font: 400 1.75rem/.95 var(--font-naslovi); letter-spacing: .06em; text-transform: uppercase; }
.logo__tekst small { font: 700 .62rem/1.2 var(--font-tekst); letter-spacing: .42em; text-transform: uppercase; color: var(--crvena-svijetla); margin-top: .3rem; }
.logo--top { opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s; }
.top.is-solid .logo--top { opacity: 1; visibility: visible; }
.hero__logo { margin: 0 0 1.6rem; gap: .9rem; filter: drop-shadow(0 6px 18px rgb(0 0 0 / .5)); }
.hero__logo .znak { width: 68px; height: 68px; animation: okreni 1.4s .2s cubic-bezier(.2, .7, .2, 1) both; }
.hero__logo .logo__tekst b { font-size: 2.6rem; }
.hero__logo .logo__tekst small { font-size: .74rem; }
.logo--foot .znak { width: 60px; height: 60px; }
.logo--foot .logo__tekst b { font-size: 2.3rem; }
@keyframes okreni { from { transform: rotate(-200deg); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- zaglavlje preko heroja ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 30; transition: background-color .3s ease; }
.top::before {
  content: ""; position: absolute; inset: 0 0 -2.5rem; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgb(14 14 14 / .7), rgb(14 14 14 / 0)); transition: opacity .3s ease;
}
.top.is-solid { background-color: rgb(14 14 14 / .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.top.is-solid::before { opacity: 0; }
.top__in { display: flex; align-items: center; gap: .75rem; min-height: 4.5rem; padding: .3rem 0; }
.nav, .top__cta { display: none; }
.nav a { color: var(--bijela); text-decoration: none; font-weight: 700; font-size: .88rem; letter-spacing: .1em; text-transform: uppercase; text-shadow: 0 1px 8px rgb(0 0 0 / .45); }
.nav a:hover { color: var(--crvena-svijetla); }
.top__tel { margin-left: auto; display: inline-grid; place-items: center; width: 46px; height: 46px; color: var(--bijela); background: var(--crvena); }
.top__tel:hover { background: var(--crvena-hover); }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--bijela); background: var(--crna);
  min-height: min(96svh, 56rem); display: flex; align-items: flex-end; padding: 7.5rem 0 2.75rem;
}
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__video { opacity: 0; transition: opacity .8s ease; }
.hero__video.is-ready { opacity: 1; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgb(14 14 14 / .6) 0%, rgb(14 14 14 / .25) 22%, rgb(14 14 14 / .88) 55%, var(--crna) 100%),
    radial-gradient(ellipse at 0% 100%, rgb(200 34 26 / .3), transparent 62%);
}
.hero__gazeci { display: none; }
.hero__oznaka { display: flex; width: fit-content; align-items: center; gap: .6rem; margin: 0 0 .9rem; font: 800 .8rem/1 var(--font-tekst); letter-spacing: .28em; text-transform: uppercase; color: var(--crvena-svijetla); }
.hero__oznaka::before { content: ""; width: 1.6rem; height: 3px; background: currentColor; }
.hero h1 { margin-bottom: .35em; text-shadow: 0 4px 30px rgb(0 0 0 / .35); }
.hero h1 .red { display: block; }
.hero h1 .akc { color: var(--crvena-svijetla); margin-top: .2em; }
.lead { font-size: clamp(1.05rem, 3.6vw, 1.22rem); max-width: 36rem; }
.hero .lead, .dezurni .lead, .section--crna .lead { color: var(--prigusen); }
.lead--tamni { color: var(--prigusen-tamni); }
.akcije { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.75rem; }

/* ---------- traka (marquee) preko cijele širine ---------- */
.trust { background: var(--crvena); color: var(--bijela); padding: .8rem 0; overflow: hidden; }
.marquee {
  display: flex; width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
}
.marquee__track { display: flex; flex-shrink: 0; gap: 2.25rem; padding: 0 1.125rem; margin: 0; list-style: none; animation: marquee 30s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { display: inline-flex; align-items: center; gap: 2.25rem; white-space: nowrap; font: 400 1.5rem/1.3 var(--font-naslovi); letter-spacing: .04em; text-transform: uppercase; }
.marquee__tacka { width: 10px; height: 10px; border-radius: 50%; background: var(--crna); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- sekcije ---------- */
.section { padding: 4.5rem 0; }
.section--svijetla { background: var(--svijetla); }
.section--crna { background: var(--crna); color: var(--bijela); }
.oznaka { display: inline-flex; align-items: center; gap: .6rem; font: 800 .78rem/1 var(--font-tekst); letter-spacing: .24em; text-transform: uppercase; color: var(--crvena); margin-bottom: 1rem; }
.oznaka::before { content: ""; width: 1.6rem; height: 3px; background: currentColor; }
.oznaka--tamna { color: var(--crvena-svijetla); }
.glava { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .5rem 2rem; margin-bottom: 2.25rem; }
.glava h2 { margin-bottom: .3em; }
.glava .lead { margin: 0; }
.link-strelica { display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .92rem; text-decoration: none; padding: .6rem 0; color: var(--crvena); }
.link-strelica:hover { text-decoration: underline; }

/* ikone: outline, bez kutije, s crvenom aurom */
.aura {
  display: inline-grid; place-items: center; width: 60px; height: 60px; flex-shrink: 0; color: var(--crvena);
  background: radial-gradient(circle, rgb(200 34 26 / .2) 0%, rgb(200 34 26 / 0) 68%);
}
.aura .ico { width: 32px; height: 32px; filter: drop-shadow(0 0 6px rgb(200 34 26 / .45)); }
.aura--mala { width: 44px; height: 44px; }
.aura--mala .ico { width: 22px; height: 22px; }
.section--crna .aura { color: var(--crvena-svijetla); background: radial-gradient(circle, rgb(244 67 58 / .3) 0%, rgb(244 67 58 / 0) 68%); }
.section--crna .aura .ico { filter: drop-shadow(0 0 6px rgb(244 67 58 / .7)) drop-shadow(0 0 18px rgb(244 67 58 / .4)); }

/* usluge: visoke crno-bijele fotografije, tekst preko slike, crveni broj */
.usluge { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.usl { position: relative; overflow: hidden; isolation: isolate; background: var(--crna); color: var(--bijela); }
.usl img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.1); transition: transform .7s ease, filter .7s ease; }
.usl:hover img { transform: scale(1.05); filter: grayscale(.4) contrast(1.1); }
.usl::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(14 14 14 / 0) 30%, rgb(14 14 14 / .8) 62%, rgb(14 14 14 / .96) 100%); z-index: 0; }
.usl__tekst { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.25rem 1.35rem 1.4rem; }
.usl__br { display: block; font: 400 3.2rem/1 var(--font-naslovi); color: var(--crvena-svijetla); margin-bottom: .35rem; text-shadow: 0 0 24px rgb(244 67 58 / .45); }
.usl h3 { font: 400 1.9rem/1 var(--font-naslovi); text-transform: uppercase; letter-spacing: .02em; margin: 0 0 .45rem; }
.usl p { margin: 0; color: var(--prigusen); font-size: .98rem; }

/* dežurni 0–24: crni blok preko cijele širine, šara gume u pozadini, ogroman crveni 0–24 */
.dezurni {
  position: relative; isolation: isolate; overflow: hidden; color: var(--bijela); text-align: center;
  background:
    radial-gradient(ellipse at 50% 40%, rgb(200 34 26 / .35), transparent 60%),
    linear-gradient(rgb(14 14 14 / .86), rgb(14 14 14 / .93)),
    url(/img/gazeci-960.webp) center / cover, var(--crna);
  padding: 5rem 0;
}
.dezurni__in { display: grid; justify-items: center; }
.dezurni__veliko {
  margin: 0; font: 400 clamp(7rem, 42vw, 19rem)/.85 var(--font-naslovi); color: var(--crvena-svijetla); letter-spacing: -.01em;
  text-shadow: 0 0 60px rgb(244 67 58 / .45);
}
.dezurni h2 { margin: 1.25rem 0 .6rem; }
.dezurni .lead { margin: 0 auto 1.75rem; }
.dezurni__broj {
  display: inline-flex; align-items: center; gap: .8rem; color: var(--bijela); text-decoration: none;
  font: 400 clamp(2.4rem, 11vw, 4.4rem)/1 var(--font-naslovi); letter-spacing: .03em;
  padding: .9rem 1.6rem; background: var(--crvena); box-shadow: 0 24px 50px -18px rgb(200 34 26 / .9);
  transition: transform .2s ease, background-color .2s ease;
}
.dezurni__broj:hover { transform: translateY(-2px); background: var(--crvena-hover); }
.dezurni__broj .ico { width: .8em; height: .8em; stroke-width: 2; }

/* kako do nas */
.lokacija { display: grid; gap: 2.5rem; }
.lokacija .lead { margin-bottom: 1.5rem; }
.zasto { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.zasto li { display: flex; gap: 1rem; align-items: flex-start; }
.zasto h3 { margin: .7rem 0 .3rem; }
.zasto p { margin: 0; color: var(--prigusen-tamni); }

/* mapa preko cijele širine */
.mapa { line-height: 0; background: var(--ugalj); }
.mapa iframe { width: 100%; height: 340px; border: 0; filter: grayscale(1) contrast(1.05); }

/* kontakt */
.kontakt { display: grid; gap: 2.5rem; }
.kontakt__poziv { margin-top: .5rem; font-size: 1.15rem; }
.kontakt__lista { list-style: none; margin: 0; padding: 1.5rem 1.35rem; display: grid; gap: 1rem; background: var(--ugalj); align-self: start; }
.kontakt__lista li { display: flex; gap: .85rem; align-items: center; }
.kontakt__lista a { color: var(--bijela); font-weight: 700; overflow-wrap: anywhere; }
.label { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--prigusen); }

/* podnožje */
.foot { background: var(--crna); color: var(--prigusen); padding: 3rem 0 1.5rem; font-size: .95rem; box-shadow: inset 0 1px 0 rgb(255 255 255 / .06); }
.foot__in { display: grid; gap: 1.75rem; }
.foot__brend p { margin: 1rem 0 0; max-width: 24rem; }
.foot a { color: var(--bijela); text-decoration: none; overflow-wrap: anywhere; }
.foot a:hover { color: var(--crvena-svijetla); text-decoration: underline; }
.foot .logo:hover { text-decoration: none; }
.foot__in > p { margin: 0; line-height: 2; }
.foot__crveno { color: var(--crvena-svijetla); font: 400 1.6rem/1.4 var(--font-naslovi); }
.foot__dno { margin-top: 2rem; font-size: .85rem; }
.foot__dno p { margin: 0; }

/* sticky poziv (samo mobitel) */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex;
  box-shadow: 0 -10px 30px rgb(14 14 14 / .35); transition: transform .25s ease;
}
.sticky-cta.is-hidden { transform: translateY(160%); }
.sticky-cta a { min-height: 58px; display: flex; align-items: center; justify-content: center; gap: .55rem; text-decoration: none; font: 800 1.02rem/1 var(--font-tekst); text-transform: uppercase; letter-spacing: .02em; }
.sticky-cta__tel { flex: 1; background: var(--crvena); color: var(--bijela); }
.sticky-cta__wa { width: 64px; background: var(--crna); color: var(--bijela); }
.sticky-cta__wa .ico { width: 24px; height: 24px; }

@media (min-width: 600px) {
  .akcije { flex-direction: row; flex-wrap: wrap; }
  .usluge { grid-template-columns: 1fr 1fr; }
  .foot__in { grid-template-columns: 1fr 1fr; align-items: start; }
  .foot__brend { grid-column: 1 / -1; }
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .sticky-cta { display: none; }
  .top__cta { display: inline-flex; margin-left: auto; }
  .top__tel { display: none; }
  .hero__logo .znak { width: 84px; height: 84px; }
  .hero__logo .logo__tekst b { font-size: 3.2rem; }
  .hero__logo .logo__tekst small { font-size: .85rem; }
  .hero { padding-bottom: 5.5rem; }
  .section { padding: 5.5rem 0; }
  .dezurni { padding: 6.5rem 0; }
  .zasto { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .zasto li { flex-direction: column; gap: .2rem; }
  .zasto .aura { margin-left: -.8rem; }
  .mapa iframe { height: 420px; }
  .kontakt { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
  .kontakt__lista { padding: 2rem; }
}

@media (min-width: 1000px) {
  .nav { display: flex; gap: 1.8rem; margin-left: auto; }
  .top__cta { margin-left: .75rem; }
  .hero { min-height: min(96vh, 60rem); padding: 10rem 0 6.5rem; align-items: center; }
  .hero::before {
    background:
      linear-gradient(90deg, rgb(14 14 14 / .94) 0%, rgb(14 14 14 / .78) 40%, rgb(14 14 14 / .2) 72%, rgb(14 14 14 / .45) 100%),
      linear-gradient(0deg, var(--crna) 0%, transparent 22%),
      radial-gradient(ellipse at 0% 100%, rgb(200 34 26 / .3), transparent 50%);
  }
  .hero__in > * { max-width: 40rem; }
  .hero__in > h1 { max-width: 64rem; }
  /* gazeći sloj: dvije kolone crvenih ševrona uz desnu ivicu, klize nadole kao guma koja se kotrlja; daleko od naslova */
  .hero__gazeci {
    display: flex; flex-direction: column; position: absolute; right: 3.5rem; top: 6rem; bottom: 2rem; width: 5.5rem; z-index: -1; pointer-events: none; overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
    opacity: 0; animation: pojavi 1.2s 1s ease forwards;
  }
  .hero__gazeci svg { width: 100%; height: auto; flex-shrink: 0; animation: kotrljaj 6s linear infinite; }
  .hero__gazeci path { fill: none; stroke: var(--crvena-svijetla); stroke-width: 7; stroke-linecap: square; filter: drop-shadow(0 0 10px rgb(244 67 58 / .55)); }
  .usluge { grid-template-columns: repeat(4, 1fr); }
  .lokacija { grid-template-columns: .9fr 2fr; gap: 4rem; align-items: start; }
  .foot__in { grid-template-columns: 1.5fr 1fr 1fr; }
  .foot__brend { grid-column: auto; }
}
@keyframes pojavi { to { opacity: .8; } }
@keyframes kotrljaj { to { transform: translateY(-100%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; flex-wrap: wrap; row-gap: .8rem; justify-content: center; }
  .marquee__track[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; justify-content: center; }
  .hero__video { display: none; }
  .hero__gazeci, .hero__gazeci svg, .hero__logo .znak { animation: none !important; opacity: .8; }
  .hero__logo .znak { opacity: 1; }
  .btn, .usl img, .sticky-cta, .dezurni__broj { transition: none; }
}
