/* ==========================================================================
   Krovoteh — stylesheet
   Jedan file, bez frameworka. Tokeni u :root, zatim baza, layout, komponente.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokeni
   -------------------------------------------------------------------------- */
:root {
  /* Neutralni tonovi (hladno siva s toplim podtonom) */
  --ink-900: #0f1419;
  --ink-800: #1a2027;
  --ink-700: #252d36;
  --ink-600: #3a4553;
  --ink-500: #5a6775;
  --ink-400: #8a96a3;
  --ink-300: #c2cad2;
  --ink-200: #e2e7ec;
  --ink-100: #f1f4f7;
  --paper: #ffffff;
  --sand: #faf8f5;
  --sand-200: #efe9e2;

  /* Akcent — terakota, boja crijepa */
  --brand: #c8481f;
  --brand-dark: #a63916;
  --brand-light: #e8703f;
  --brand-tint: #fdf1ec;

  --ok: #1e7a4c;
  --ok-tint: #e9f6ef;
  --warn: #b45309;
  --err: #c0271b;
  --err-tint: #fdeceb;

  /* Tipografija */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --fs-xs: 0.78rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.0625rem;
  --fs-lg: clamp(1.1rem, 0.5vw + 1rem, 1.25rem);
  --fs-xl: clamp(1.35rem, 1vw + 1.1rem, 1.6rem);
  --fs-2xl: clamp(1.65rem, 1.6vw + 1.2rem, 2.15rem);
  --fs-3xl: clamp(2rem, 2.6vw + 1.3rem, 2.9rem);
  --fs-4xl: clamp(2.3rem, 3.6vw + 1.3rem, 3.6rem);

  /* Razmaci */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --shadow-sm: 0 1px 2px rgba(15, 20, 25, 0.06), 0 1px 3px rgba(15, 20, 25, 0.08);
  --shadow: 0 2px 4px rgba(15, 20, 25, 0.05), 0 8px 20px rgba(15, 20, 25, 0.08);
  --shadow-lg: 0 4px 8px rgba(15, 20, 25, 0.06), 0 20px 48px rgba(15, 20, 25, 0.16);

  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 74px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset i baza
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-md);
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 var(--sp-4);
  color: var(--ink-900);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 750;
  text-wrap: balance;
}

h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

a {
  color: var(--brand-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--brand); }

img,
svg {
  max-width: 100%;
  display: block;
}

ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.25rem; }
li { margin-bottom: var(--sp-2); }

strong { color: var(--ink-900); font-weight: 650; }

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

/* --------------------------------------------------------------------------
   3. Layout pomoćnici
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: 820px; }

.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--tint { background: var(--sand); }
.section--ink { background: var(--ink-100); }

.section--dark {
  background: var(--ink-900);
  color: var(--ink-300);
}
.section--dark h2,
.section--dark h3 { color: #fff; }
.section--dark a { color: var(--brand-light); }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brand);
  display: block;
}
.section-head--center .eyebrow::before { display: none; }
.section--dark .eyebrow { color: var(--brand-light); }
.section--dark .eyebrow::before { background: var(--brand-light); }

.lead {
  font-size: var(--fs-lg);
  color: var(--ink-500);
  line-height: 1.6;
}
.section--dark .lead { color: var(--ink-300); }

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

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--sp-4);
  z-index: 200;
  background: var(--brand);
  color: #fff;
  padding: var(--sp-3) var(--sp-5);
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 650;
  text-decoration: none;
}
.skip-link:focus { top: 0; color: #fff; }

/* --------------------------------------------------------------------------
   4. Gumbi
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  --btn-bd: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.8em 1.5em;
  font: inherit;
  font-size: var(--fs-base);
  font-weight: 650;
  line-height: 1.2;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 2px solid var(--btn-bd);
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s var(--ease), box-shadow 0.2s var(--ease),
    background-color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn:active { transform: translateY(0); }

.btn--primary { --btn-bg: var(--brand); --btn-bd: var(--brand); }
.btn--primary:hover { --btn-bg: var(--brand-dark); --btn-bd: var(--brand-dark); }

.btn--dark { --btn-bg: var(--ink-900); --btn-bd: var(--ink-900); }
.btn--dark:hover { --btn-bg: var(--ink-700); --btn-bd: var(--ink-700); }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink-900);
  --btn-bd: var(--ink-300);
}
.btn--outline:hover { --btn-bd: var(--ink-900); --btn-fg: var(--ink-900); }

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--ink-900);
  --btn-bd: #fff;
}
.btn--light:hover { --btn-bg: var(--ink-100); --btn-bd: var(--ink-100); }

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.35);
}
.btn--ghost-light:hover { --btn-bd: #fff; --btn-fg: #fff; }

.btn--lg { padding: 1em 1.9em; font-size: var(--fs-md); }
.btn--block { display: flex; width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 650;
  text-decoration: none;
  color: var(--brand-dark);
}
.link-arrow::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}
.link-arrow:hover::after { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   5. Topbar + header
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--ink-900);
  color: var(--ink-300);
  font-size: var(--fs-sm);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 42px;
  flex-wrap: wrap;
}
.topbar__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  flex-wrap: wrap;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--ink-300);
  text-decoration: none;
}
.topbar__item:hover { color: #fff; }
.topbar__item svg { width: 15px; height: 15px; flex: none; opacity: 0.7; }

.topbar__alert {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
  background: var(--brand);
  padding: 0.35em 0.9em;
  border-radius: 100px;
}
.topbar__alert:hover { background: var(--brand-dark); color: #fff; }
.topbar__alert svg { width: 15px; height: 15px; flex: none; }

@media (max-width: 700px) {
  .topbar__meta .topbar__item--hours { display: none; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--ink-200);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  min-height: var(--header-h);
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  flex: none;
}
.logo__mark {
  width: 40px;
  height: 40px;
  flex: none;
}
.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo__name {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink-900);
}
.logo__tag {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-400);
  font-weight: 600;
}

/* Navigacija */
.nav { margin-left: auto; }
.nav__cta { display: none; }
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list li { margin: 0; }
.nav__link {
  color: var(--ink-700);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--fs-base);
  padding: var(--sp-2) 0;
  position: relative;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transition: transform 0.2s var(--ease);
}
.nav__link:hover { color: var(--ink-900); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--ink-900); }

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex: none;
}
.header__phone {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.15;
}
.header__phone span {
  font-size: var(--fs-xs);
  color: var(--ink-400);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.header__phone strong {
  font-size: 1.05rem;
  color: var(--ink-900);
  font-weight: 750;
  letter-spacing: -0.01em;
}

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: transform 0.22s var(--ease), opacity 0.15s var(--ease);
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; order: 3; }
  .header__actions .btn { display: none; }
  .nav {
    position: fixed;
    inset: calc(var(--header-h)) 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--ink-200);
    box-shadow: var(--shadow-lg);
    padding: var(--sp-4) var(--gutter) var(--sp-6);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav__link {
    display: block;
    padding: var(--sp-4) 0;
    border-bottom: 1px solid var(--ink-100);
    font-size: var(--fs-lg);
  }
  .nav__link::after { display: none; }
  .nav__cta { display: block; margin-top: var(--sp-5); }
  .nav__cta .btn { display: flex; }
}

@media (max-width: 560px) {
  .header__phone { display: none; }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--ink-900);
  color: var(--ink-300);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  /* slojeviti gradijent + uzorak krovne linije */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(200, 72, 31, 0.32), transparent 58%),
    radial-gradient(90% 70% at 10% 100%, rgba(58, 69, 83, 0.55), transparent 60%),
    linear-gradient(160deg, #161d25 0%, #0f1419 58%, #131a21 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='40' viewBox='0 0 120 40'%3E%3Cpath d='M0 40L30 8l30 32M60 40L90 8l30 32' fill='none' stroke='%23ffffff' stroke-width='1.2'/%3E%3C/svg%3E");
  background-size: 120px 40px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 70%);
}

.hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
@media (min-width: 980px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 0.4em 1em;
  border-radius: 100px;
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: var(--sp-5);
}
.hero__badge svg { width: 16px; height: 16px; color: var(--brand-light); }

.hero h1 {
  color: #fff;
  margin-bottom: var(--sp-5);
}
.hero h1 em {
  font-style: normal;
  color: var(--brand-light);
}

.hero__lead {
  font-size: var(--fs-lg);
  color: #c9d2dc;
  max-width: 56ch;
  margin-bottom: var(--sp-6);
}

.hero__bullets {
  list-style: none;
  margin: 0 0 var(--sp-6);
  padding: 0;
  display: grid;
  gap: var(--sp-3);
}
.hero__bullets li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin: 0;
  color: #dde3e9;
  font-weight: 550;
}
.hero__bullets svg {
  width: 21px;
  height: 21px;
  flex: none;
  margin-top: 2px;
  color: var(--brand-light);
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero__proof div strong {
  display: block;
  font-size: 1.6rem;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.hero__proof div span {
  font-size: var(--fs-sm);
  color: var(--ink-400);
}

/* Hero forma */
.hero-form {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--ink-700);
}
.hero-form__head { margin-bottom: var(--sp-5); }
.hero-form__head h2 {
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-2);
}
.hero-form__head p {
  font-size: var(--fs-sm);
  color: var(--ink-500);
  margin: 0;
}
.hero-form__foot {
  margin-top: var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--ink-500);
  text-align: center;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   7. Traka povjerenja
   -------------------------------------------------------------------------- */
.trustbar {
  background: var(--paper);
  border-bottom: 1px solid var(--ink-200);
  padding-block: var(--sp-5);
}
.trustbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5) var(--sp-6);
  flex-wrap: wrap;
}
.trustbar__label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-400);
  flex: none;
}
.trustbar__items {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.trustbar__items li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin: 0;
  font-weight: 650;
  color: var(--ink-600);
  font-size: var(--fs-sm);
}
.trustbar__items svg {
  width: 20px;
  height: 20px;
  color: var(--brand);
  flex: none;
}

/* --------------------------------------------------------------------------
   8. Usluge
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--ink-300);
  color: inherit;
}
.service-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--brand-tint);
  color: var(--brand);
  flex: none;
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card h3 {
  font-size: var(--fs-lg);
  margin: 0;
}
.service-card p {
  font-size: var(--fs-sm);
  color: var(--ink-500);
  margin: 0;
  flex: 1;
}
.service-card__more {
  font-size: var(--fs-sm);
  font-weight: 650;
  color: var(--brand-dark);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}
.service-card__more::after { content: "→"; transition: transform 0.2s var(--ease); }
.service-card:hover .service-card__more::after { transform: translateX(4px); }

.service-card--urgent {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: #fff;
}
.service-card--urgent h3 { color: #fff; }
.service-card--urgent p { color: var(--ink-300); }
.service-card--urgent .service-card__icon {
  background: rgba(232, 112, 63, 0.18);
  color: var(--brand-light);
}
.service-card--urgent .service-card__more { color: var(--brand-light); }
.service-card--urgent:hover { color: #fff; }

/* --------------------------------------------------------------------------
   9. Brojke
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  text-align: center;
}
.stat__value {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
  margin-bottom: var(--sp-2);
}
.section--dark .stat__value { color: #fff; }
.stat__label {
  font-size: var(--fs-sm);
  color: var(--ink-400);
  line-height: 1.45;
}
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, 0.1); }
@media (max-width: 760px) {
  .stat + .stat { border-left: 0; }
}

/* --------------------------------------------------------------------------
   10. Prednosti (zašto mi)
   -------------------------------------------------------------------------- */
.features {
  display: grid;
  gap: var(--sp-5) var(--sp-6);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.feature {
  display: flex;
  gap: var(--sp-4);
  margin: 0;
}
.feature__icon {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 {
  font-size: var(--fs-base);
  font-weight: 700;
  margin-bottom: var(--sp-1);
}
.feature p {
  font-size: var(--fs-sm);
  color: var(--ink-500);
  margin: 0;
}

/* Split layout (tekst + slika) */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: -1; }
}

/* --------------------------------------------------------------------------
   11. Proces
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.step {
  margin: 0;
  position: relative;
  padding-top: var(--sp-5);
  border-top: 3px solid var(--ink-200);
}
.step--active { border-top-color: var(--brand); }
.step__num {
  counter-increment: step;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink-900);
  color: #fff;
  font-weight: 800;
  font-size: var(--fs-base);
  margin-bottom: var(--sp-3);
}
.step h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-2);
}
.step p {
  font-size: var(--fs-sm);
  color: var(--ink-500);
  margin: 0;
}
.step__meta {
  display: inline-block;
  margin-top: var(--sp-3);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-tint);
  padding: 0.3em 0.8em;
  border-radius: 100px;
}

/* --------------------------------------------------------------------------
   12. Media placeholder + projekti
   -------------------------------------------------------------------------- */
.media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(80% 70% at 70% 20%, rgba(200, 72, 31, 0.2), transparent 60%),
    linear-gradient(150deg, #2a333d 0%, #1a2027 60%, #232c35 100%);
  display: grid;
  place-items: center;
  isolation: isolate;
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='28' viewBox='0 0 80 28'%3E%3Cpath d='M0 28L20 4l20 24M40 28L60 4l20 24' fill='none' stroke='%23ffffff' stroke-width='1.1'/%3E%3C/svg%3E");
  background-size: 80px 28px;
  z-index: 0;
}
.media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}
.media__label {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.55);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: var(--sp-4);
}
.media--wide { aspect-ratio: 16 / 9; }
.media--tall { aspect-ratio: 3 / 4; }

.projects-grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.project-card {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.project-card .media { border-radius: 0; aspect-ratio: 16 / 10; }
.project-card__body { padding: var(--sp-5); flex: 1; display: flex; flex-direction: column; }
.project-card__tag {
  display: inline-block;
  align-self: flex-start;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-tint);
  padding: 0.3em 0.75em;
  border-radius: 100px;
  margin-bottom: var(--sp-3);
}
.project-card h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.project-card p { font-size: var(--fs-sm); color: var(--ink-500); margin: 0 0 var(--sp-4); flex: 1; }
.project-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--ink-500);
  border-top: 1px solid var(--ink-100);
  padding-top: var(--sp-3);
  margin-top: auto;
}
.project-card__meta strong { color: var(--ink-700); font-weight: 650; }

/* Filter */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}
.filter-btn {
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: 0.55em 1.1em;
  border-radius: 100px;
  border: 1px solid var(--ink-200);
  background: #fff;
  color: var(--ink-600);
  cursor: pointer;
  transition: all 0.18s var(--ease);
}
.filter-btn:hover { border-color: var(--ink-400); color: var(--ink-900); }
.filter-btn[aria-pressed="true"] {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: #fff;
}
.is-hidden { display: none !important; }

/* --------------------------------------------------------------------------
   13. Recenzije
   -------------------------------------------------------------------------- */
.quotes {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.quote-card {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.quote-card__stars {
  display: flex;
  gap: 3px;
  color: #e8a33f;
}
.quote-card__stars svg { width: 17px; height: 17px; }
.quote-card blockquote {
  margin: 0;
  font-size: var(--fs-base);
  color: var(--ink-700);
  line-height: 1.65;
  flex: 1;
}
.quote-card figcaption {
  border-top: 1px solid var(--ink-100);
  padding-top: var(--sp-4);
  font-size: var(--fs-sm);
}
.quote-card figcaption strong { display: block; color: var(--ink-900); }
.quote-card figcaption span { color: var(--ink-500); }

/* --------------------------------------------------------------------------
   14. CTA banner
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  background: var(--ink-900);
  color: var(--ink-300);
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(90% 120% at 85% 50%, rgba(200, 72, 31, 0.38), transparent 60%),
    linear-gradient(120deg, #0f1419, #1c242d);
}
.cta-band__inner {
  display: grid;
  gap: var(--sp-5);
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 880px) {
  .cta-band__inner { grid-template-columns: 1fr auto; gap: var(--sp-7); }
}
.cta-band h2 { color: #fff; margin-bottom: var(--sp-3); font-size: var(--fs-2xl); }
.cta-band p { color: #c9d2dc; margin: 0; max-width: 60ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* --------------------------------------------------------------------------
   15. FAQ
   -------------------------------------------------------------------------- */
.faq { max-width: 820px; }
.faq__item {
  border-bottom: 1px solid var(--ink-200);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  cursor: pointer;
  font-weight: 650;
  font-size: var(--fs-lg);
  color: var(--ink-900);
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  width: 12px;
  height: 12px;
  flex: none;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.25s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(-135deg) translate(-4px, -4px); }
.faq__item summary:hover { color: var(--brand-dark); }
.faq__answer {
  padding-bottom: var(--sp-5);
  color: var(--ink-500);
  max-width: 72ch;
}

/* --------------------------------------------------------------------------
   16. Forma
   -------------------------------------------------------------------------- */
.form-grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.field--full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: var(--sp-2); }

.field label {
  font-size: var(--fs-sm);
  font-weight: 650;
  color: var(--ink-700);
}
.field .req { color: var(--brand); }
.field__hint {
  font-size: var(--fs-xs);
  color: var(--ink-400);
  font-weight: 500;
}

.input,
.select,
.textarea {
  font: inherit;
  font-size: var(--fs-base);
  width: 100%;
  padding: 0.75em 0.9em;
  color: var(--ink-900);
  background: #fff;
  border: 1.5px solid var(--ink-200);
  border-radius: var(--radius);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
  appearance: none;
}
.input::placeholder,
.textarea::placeholder { color: var(--ink-400); }
.input:hover,
.select:hover,
.textarea:hover { border-color: var(--ink-300); }
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(200, 72, 31, 0.15);
}
.textarea { min-height: 130px; resize: vertical; line-height: 1.6; }

.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235a6775' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9em center;
  padding-right: 2.4em;
  cursor: pointer;
}

/* Radio pills */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.pill input {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.pill span {
  display: inline-block;
  padding: 0.55em 1em;
  border: 1.5px solid var(--ink-200);
  border-radius: 100px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-600);
  cursor: pointer;
  transition: all 0.15s var(--ease);
  user-select: none;
}
.pill span:hover { border-color: var(--ink-400); }
.pill input:checked + span {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: #fff;
}
.pill input:focus-visible + span {
  outline: 3px solid var(--brand-light);
  outline-offset: 2px;
}

/* Checkbox privole */
.consent {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--ink-500);
  line-height: 1.55;
  cursor: pointer;
}
.consent input {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--brand);
  cursor: pointer;
}

/* Greške */
.field .error-msg {
  font-size: var(--fs-xs);
  color: var(--err);
  font-weight: 600;
  display: none;
}
.field.has-error .error-msg { display: block; }
.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea {
  border-color: var(--err);
  background: var(--err-tint);
}
.field.has-error .pill span { border-color: var(--err); }

.form-alert {
  display: none;
  gap: var(--sp-3);
  align-items: flex-start;
  padding: var(--sp-4);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-5);
}
.form-alert.is-visible { display: flex; }
.form-alert--error {
  background: var(--err-tint);
  color: #8e1d14;
  border: 1px solid #f3c7c3;
}
.form-alert--ok {
  background: var(--ok-tint);
  color: #145c39;
  border: 1px solid #bde3ce;
}
.form-alert svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }

/* Honeypot */
.hp-field {
  position: absolute !important;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-foot {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}
.form-note {
  font-size: var(--fs-xs);
  color: var(--ink-400);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.form-note svg { width: 15px; height: 15px; flex: none; }

.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }

/* Kontakt layout */
.contact-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
@media (min-width: 980px) {
  .contact-grid { grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr); }
}
.form-card {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}

.contact-info { display: grid; gap: var(--sp-5); }
.info-block {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
}
.info-block h3 {
  font-size: var(--fs-base);
  font-weight: 700;
  margin-bottom: var(--sp-3);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.info-block h3 svg { width: 19px; height: 19px; color: var(--brand); flex: none; }
.info-block p,
.info-block ul { font-size: var(--fs-sm); color: var(--ink-500); margin: 0; }
.info-block ul { list-style: none; padding: 0; }
.info-block li { display: flex; justify-content: space-between; gap: var(--sp-4); margin-bottom: var(--sp-2); }
.info-block li:last-child { margin-bottom: 0; }
.info-block a { font-weight: 650; }
.info-block--accent { background: var(--ink-900); border-color: var(--ink-900); }
.info-block--accent h3 { color: #fff; }
.info-block--accent p { color: var(--ink-300); }
.info-block--accent h3 svg { color: var(--brand-light); }

.phone-xl {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
  margin-block: var(--sp-2);
}
.phone-xl:hover { color: var(--brand-light); }

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  list-style: none;
  padding: 0;
  margin: 0;
}
.area-list li {
  margin: 0;
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-600);
  background: var(--ink-100);
  border-radius: 100px;
  padding: 0.35em 0.85em;
}

/* --------------------------------------------------------------------------
   17. Page hero (podstranice)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  background: var(--ink-900);
  color: var(--ink-300);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  isolation: isolate;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(100% 120% at 88% 0%, rgba(200, 72, 31, 0.3), transparent 62%),
    linear-gradient(140deg, #161d25, #0f1419);
}
.page-hero h1 { color: #fff; font-size: var(--fs-3xl); margin-bottom: var(--sp-4); }
.page-hero p { color: #c9d2dc; max-width: 66ch; font-size: var(--fs-lg); }

.breadcrumbs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  padding: 0;
  margin: 0 0 var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--ink-400);
}
.breadcrumbs li { margin: 0; display: flex; align-items: center; gap: var(--sp-2); }
.breadcrumbs li + li::before { content: "/"; color: var(--ink-600); }
.breadcrumbs a { color: var(--ink-300); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }

/* Detalj usluge */
.service-detail {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
  border-bottom: 1px solid var(--ink-200);
}
@media (min-width: 900px) {
  .service-detail { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
  .service-detail:nth-child(even) .service-detail__media { order: -1; }
}
.service-detail:last-child { border-bottom: 0; }
.service-detail h2 { font-size: var(--fs-2xl); }
.check-list { list-style: none; padding: 0; margin: var(--sp-4) 0 0; display: grid; gap: var(--sp-2); }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--fs-base);
  margin: 0;
}
.check-list svg { width: 20px; height: 20px; color: var(--ok); flex: none; margin-top: 3px; }

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}
.tag {
  font-size: var(--fs-xs);
  font-weight: 650;
  color: var(--ink-600);
  background: var(--ink-100);
  border-radius: var(--radius-sm);
  padding: 0.3em 0.7em;
}

/* Prose (privatnost) */
.prose { max-width: 760px; }
.prose h2 { font-size: var(--fs-xl); margin-top: var(--sp-7); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--fs-lg); margin-top: var(--sp-6); }
.prose ul { margin-bottom: var(--sp-4); }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--sp-5);
  font-size: var(--fs-sm);
}
.prose th,
.prose td {
  text-align: left;
  padding: var(--sp-3);
  border-bottom: 1px solid var(--ink-200);
  vertical-align: top;
}
.prose th { color: var(--ink-900); font-weight: 700; background: var(--ink-100); }

.callout {
  background: var(--brand-tint);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--sp-5);
  margin-bottom: var(--sp-5);
}
.callout p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   18. Hvala stranica
   -------------------------------------------------------------------------- */
.thanks {
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: clamp(3rem, 8vw, 6rem);
}
.thanks__icon {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: var(--ok-tint);
  color: var(--ok);
  display: grid;
  place-items: center;
  margin-bottom: var(--sp-5);
}
.thanks__icon svg { width: 42px; height: 42px; }
.next-steps {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  text-align: left;
  margin-top: var(--sp-7);
  width: 100%;
}
.next-step {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
}
.next-step__num {
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--brand);
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--sp-2);
}
.next-step h3 { font-size: var(--fs-base); margin-bottom: var(--sp-2); }
.next-step p { font-size: var(--fs-sm); color: var(--ink-500); margin: 0; }

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink-900);
  color: var(--ink-400);
  font-size: var(--fs-sm);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer-grid {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding-bottom: var(--sp-7);
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
}
.footer-brand .logo__name { color: #fff; }
.footer-brand .logo__tag { color: var(--ink-500); }
.footer-brand p { margin-top: var(--sp-4); max-width: 38ch; color: var(--ink-400); }

.footer-col h3 {
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: var(--sp-3); }
.footer-col a { color: var(--ink-400); text-decoration: none; }
.footer-col a:hover { color: #fff; }

.footer-contact li {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  margin-bottom: var(--sp-3);
}
.footer-contact svg {
  width: 17px; height: 17px;
  color: var(--brand-light);
  flex: none;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--ink-500);
}
.footer-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-bottom li { margin: 0; }
.footer-bottom a { color: var(--ink-500); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   20. Sticky mobile bar
   -------------------------------------------------------------------------- */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: none;
  gap: var(--sp-2);
  padding: var(--sp-3);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--ink-200);
  box-shadow: 0 -4px 16px rgba(15, 20, 25, 0.08);
}
.mobile-bar .btn { flex: 1; padding: 0.85em 0.6em; font-size: var(--fs-sm); }

@media (max-width: 767px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 76px; }
}

/* --------------------------------------------------------------------------
   21. Animacije
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
