/* =========================================================================
   [[NAZIV_TVRTKE]] — iskopi, rušenje, prijevoz i odvoz
   Plain CSS, no build step. Cascade layers keep specificity predictable.
   Every colour, space, radius and shadow lives in :root.
   ========================================================================= */

@layer reset, base, components, utilities;

/* ---------- Fonts: self-hosted Inter Tight (variable), no third-party request */
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-tight-latin-wght-normal.f5af7a761c2b.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 {
  /* č ć đ š ž Č Ć Đ Š Ž live here */
  font-family: "Inter Tight";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-tight-latin-ext-wght-normal.496654ac82a3.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;
}

/* ---------- Tokens */
:root {
  /* Palette — sampled from the supplied logo, not from the reference */
  --rust-600: #bb5e28;   /* logo excavator orange (sampled) — rules, icons, large figures */
  --rust-500: #e07b22;   /* brighter tone — fills that carry dark text */
  --rust-100: #fbe7d6;
  --earth-700: #4a3425;  /* logo brown — secondary, sparing */
  --earth-500: #7a5a3f;
  --steel-500: #8c8f91;
  --gold-500: #c9a54a;   /* the logo's ring — hairlines only */
  --ink-950: #16181a;
  --ink-900: #212428;
  --ink-800: #2c3035;
  --body-600: #5e6468;
  --cream-50: #f6f3ed;
  --cream-100: #ede8df;
  --line: #e1dad0;
  --white: #ffffff;
  --ok-700: #2f6b3a;
  --err-700: #a3271c;

  --bg: var(--cream-50);
  --text: var(--ink-950);
  --muted: var(--body-600);
  --accent: var(--rust-500);
  --accent-ink: var(--ink-950);
  --track-a: var(--rust-500);   /* Strojni iskopi */
  --track-b: var(--steel-500);  /* Prijevoz, rušenje i odvoz */

  /* Type */
  --font: "Inter Tight", "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.9375rem;
  --fs-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --fs-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-h4: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --fs-h3: clamp(1.4rem, 1.2rem + 0.9vw, 1.9rem);
  --fs-h2: clamp(1.9rem, 1.4rem + 2.2vw, 3.2rem);
  --fs-h1: clamp(2.6rem, 6vw, 4.8rem);
  --fs-stat: clamp(2.6rem, 1.8rem + 3.6vw, 4.6rem);

  /* Space */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  --sp-8: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  --sp-9: clamp(4.5rem, 3rem + 6vw, 8rem);

  /* Shape */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 24px;
  --r-xl: 28px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgb(22 24 26 / 0.06), 0 2px 8px rgb(22 24 26 / 0.05);
  --shadow-md: 0 6px 24px rgb(22 24 26 / 0.08), 0 2px 6px rgb(22 24 26 / 0.05);
  --shadow-lg: 0 18px 50px rgb(22 24 26 / 0.14);

  --wrap: 1240px;
  --gutter: clamp(1rem, 0.5rem + 2vw, 2rem);
  --nav-h: 72px;

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

/* The stats line draws itself: a typed custom property can be transitioned */
@property --line-progress {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}

/* Cross-document view transitions (progressive enhancement) */
@view-transition { navigation: auto; }

/* =========================================================================
   RESET
   ========================================================================= */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body { min-height: 100dvh; }
  img, picture, svg, video { display: block; max-width: 100%; height: auto; }
  input, button, textarea, select { font: inherit; color: inherit; }
  button { cursor: pointer; background: none; border: 0; }
  a { color: inherit; }
  ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
  p, h1, h2, h3, h4, li, dd, dt { overflow-wrap: break-word; }
}

/* =========================================================================
   BASE
   ========================================================================= */
@layer base {
  html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); }
  body {
    font-family: var(--font);
    font-size: var(--fs-base);
    line-height: 1.7;
    color: var(--muted);
    background: var(--bg);
    font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3, h4 {
    color: var(--text);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    text-wrap: balance;
  }
  h1 { font-size: var(--fs-h1); line-height: 1.02; }
  h2 { font-size: var(--fs-h2); }
  h3 { font-size: var(--fs-h3); line-height: 1.15; }
  h4 { font-size: var(--fs-h4); line-height: 1.2; }
  p { text-wrap: pretty; max-width: 68ch; }
  strong { color: var(--text); font-weight: 650; }
  a { text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
  :where(section, [id]) { scroll-margin-top: calc(var(--nav-h) + 24px); }

  :focus-visible {
    outline: 3px solid var(--ink-950);
    outline-offset: 3px;
    border-radius: 6px;
  }
  .on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--rust-500); }

  ::selection { background: var(--rust-100); color: var(--ink-950); }

  /* HTML comment markers are invisible; placeholders that render are styled
     so nobody ships one by accident */
  .ph { background: #fff3c4; color: var(--ink-950); padding: 0 .25em; border-radius: 4px; }
}

/* =========================================================================
   COMPONENTS
   ========================================================================= */
@layer components {

  /* ---------- Layout */
  .wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
  .section { padding-block: var(--sp-8); }
  .section--tight { padding-block: var(--sp-7); }
  .section--alt { background: var(--cream-100); }
  .section--dark { background: var(--ink-950); color: color-mix(in srgb, var(--white) 72%, transparent); }
  .section--dark :where(h1, h2, h3, h4, strong), .on-dark :where(h1, h2, h3, h4, strong) { color: var(--white); }
  .section-head { display: grid; gap: var(--sp-4); margin-bottom: var(--sp-7); }
  .section-head--center { text-align: center; justify-items: center; }
  .section-head--center p { margin-inline: auto; }
  .section-head--split {
    grid-template-columns: 1fr auto; align-items: end;
  }
  @media (max-width: 760px) { .section-head--split { grid-template-columns: 1fr; } }
  .lead { font-size: var(--fs-lg); line-height: 1.6; }

  .skip-link {
    position: absolute; left: 1rem; top: -100px; z-index: 1000;
    background: var(--ink-950); color: var(--white); padding: .75rem 1.25rem;
    border-radius: var(--r-pill); text-decoration: none; font-weight: 600;
  }
  .skip-link:focus { top: 1rem; }

  .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;
  }

  /* ---------- Eyebrow pill */
  .eyebrow {
    display: inline-flex; align-items: center; gap: .5em;
    font-size: var(--fs-xs); font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--ink-950); background: var(--white); border: 1px solid var(--line);
    padding: .45em 1em; border-radius: var(--r-pill); line-height: 1.2;
    width: fit-content; justify-self: start;
  }
  .section-head--center .eyebrow { justify-self: center; }
  .eyebrow::before {
    content: ""; width: .5em; height: .5em; border-radius: 50%; background: var(--rust-500);
  }
  .section--dark .eyebrow { background: transparent; color: var(--white); border-color: rgb(255 255 255 / .25); }

  /* ---------- Buttons: pills with a circular arrow badge inside */
  .btn {
    --btn-bg: var(--white); --btn-fg: var(--ink-950); --btn-bd: var(--line);
    --badge-bg: var(--rust-500); --badge-fg: var(--ink-950);
    display: inline-flex; align-items: center; gap: .75rem;
    min-height: 48px; padding: .35rem .4rem .35rem 1.35rem;
    background: var(--btn-bg); color: var(--btn-fg);
    border: 1px solid var(--btn-bd); border-radius: var(--r-pill);
    font-weight: 600; font-size: var(--fs-sm); line-height: 1.2; text-decoration: none;
    transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background-color 200ms;
    white-space: nowrap;
  }
  .btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
  .btn__badge {
    display: inline-grid; place-items: center; flex: none;
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--badge-bg); color: var(--badge-fg);
    transition: transform 260ms var(--ease);
  }
  .btn__badge svg { width: 16px; height: 16px; }
  .btn:hover .btn__badge { transform: rotate(45deg); }
  .btn--accent { --btn-bg: var(--rust-500); --btn-fg: var(--ink-950); --btn-bd: var(--rust-500); --badge-bg: var(--ink-950); --badge-fg: var(--white); }
  .btn--dark { --btn-bg: var(--ink-950); --btn-fg: var(--white); --btn-bd: var(--ink-950); --badge-bg: var(--rust-500); --badge-fg: var(--ink-950); }
  .btn--ghost-dark { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgb(255 255 255 / .35); }
  .btn--plain { padding: .35rem 1.35rem; }
  .btn--sm { min-height: 44px; padding-block: .25rem; }
  .btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }

  .btn--wa { --btn-bg: #1f8f4e; --btn-fg: #fff; --btn-bd: #1f8f4e; --badge-bg: #fff; --badge-fg: #1f8f4e; }
  .btn--viber { --btn-bg: #5b3fa8; --btn-fg: #fff; --btn-bd: #5b3fa8; --badge-bg: #fff; --badge-fg: #5b3fa8; }
  .btn--msg { --btn-bg: #1a5fd0; --btn-fg: #fff; --btn-bd: #1a5fd0; --badge-bg: #fff; --badge-fg: #1a5fd0; }

  .text-link {
    display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: inherit;
    text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  }
  .text-link:hover { text-decoration-color: currentColor; }

  /* Corner arrow badge used on cards */
  .arrow-badge {
    position: absolute; right: 14px; bottom: 14px;
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
    background: var(--rust-500); color: var(--ink-950);
    box-shadow: 0 0 0 8px var(--notch, var(--bg));
    transition: transform 280ms var(--ease);
  }
  .arrow-badge svg { width: 18px; height: 18px; }

  /* ---------- Header / floating pill navbar */
  .site-header {
    position: sticky; top: 12px; z-index: 50;
    width: min(100% - 2 * var(--gutter), var(--wrap)); margin: 12px auto 0;
  }
  .nav {
    display: flex; align-items: center; gap: var(--sp-4);
    min-height: var(--nav-h); padding: .5rem .5rem .5rem .9rem;
    background: color-mix(in srgb, var(--white) 96%, transparent);
    backdrop-filter: saturate(1.4) blur(10px);
    border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
    border-radius: var(--r-pill); box-shadow: var(--shadow-md);
  }
  .brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink-950); flex: none; }
  .brand img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
  .brand__name { display: grid; line-height: 1.05; }
  .brand__name b { font-size: 1.02rem; font-weight: 750; letter-spacing: -0.01em; }
  .brand__name span { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--body-600); }

  .nav__menu { display: flex; align-items: center; gap: .15rem; margin-inline: auto; list-style: none; padding: 0; }
  .nav__menu > li { position: relative; }
  .nav__link {
    display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; padding: 0 .8rem;
    border-radius: var(--r-pill); text-decoration: none; font-weight: 550; font-size: .95rem;
    color: var(--ink-900);
  }
  .nav__link:hover { background: var(--cream-50); }
  .nav__link.is-active, .nav__link[aria-current="page"] { background: var(--cream-100); color: var(--ink-950); }
  .nav__link svg { width: 12px; height: 12px; transition: transform 200ms; }
  .nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
  .submenu {
    position: absolute; top: calc(100% + 10px); left: -8px; min-width: 280px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
    box-shadow: var(--shadow-lg); padding: .5rem; list-style: none; display: none;
  }
  .submenu.is-open { display: block; }
  .submenu a {
    display: flex; flex-direction: column; padding: .6rem .8rem; border-radius: var(--r-sm);
    text-decoration: none; color: var(--ink-950); font-weight: 600; font-size: .95rem; line-height: 1.3;
  }
  .submenu a span { font-weight: 400; font-size: .82rem; color: var(--body-600); }
  .submenu a:hover, .submenu a[aria-current="page"] { background: var(--cream-50); }

  .nav__call { display: grid; line-height: 1.15; text-decoration: none; color: var(--ink-950); font-size: .82rem; flex: none; }
  .nav__call span { color: var(--body-600); }
  .nav__call a { color: inherit; text-decoration: none; }
  .nav__call a:hover { text-decoration: underline; }
  .nav__call b { font-size: .95rem; font-weight: 700; }
  .nav__toggle {
    display: none; width: 48px; height: 48px; border-radius: 50%; background: var(--ink-950); color: var(--white);
    place-items: center; flex: none;
  }
  .nav__toggle svg { width: 20px; height: 20px; }

  @media (max-width: 1180px) {
    .nav__call { display: none; }
  }
  @media (max-width: 1020px) {
    .nav__toggle { display: grid; margin-left: auto; }
    .nav__cta { display: none; }
    .nav__menu {
      position: absolute; top: calc(100% + 10px); left: 0; right: 0; margin: 0;
      flex-direction: column; align-items: stretch; gap: 0;
      background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
      box-shadow: var(--shadow-lg); padding: .6rem; max-height: calc(100dvh - 120px); overflow: auto;
      display: none;
    }
    .nav__menu.is-open { display: flex; }
    .nav__link { width: 100%; justify-content: space-between; padding: 0 1rem; min-height: 48px; }
    .submenu { position: static; box-shadow: none; border: 0; padding: 0 0 .4rem .6rem; min-width: 0; }
    .nav__menu .nav__mobile-cta { display: grid; gap: .5rem; padding: .6rem .4rem .2rem; }
  }
  .nav__mobile-cta { display: none; }

  /* ---------- Hero (split) */
  .hero { padding-top: var(--sp-5); padding-bottom: var(--sp-7); }
  .hero__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: var(--sp-4); }
  .hero__media { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 520px; background: var(--ink-900); }
  .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .hero__media figcaption {
    position: absolute; left: 14px; bottom: 14px; font-size: .75rem; color: var(--white);
    background: rgb(22 24 26 / .55); padding: .2rem .6rem; border-radius: var(--r-pill);
  }
  .hero__panel {
    background: var(--cream-100); border-radius: var(--r-lg);
    padding: clamp(1.75rem, 1rem + 3vw, 3.5rem);
    display: flex; flex-direction: column; gap: var(--sp-5);
  }
  .hero__panel h1 { max-width: 12ch; }
  .hero__panel h1 span { display: block; }
  .hero__panel .lead { max-width: 44ch; }
  .hero__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-5); padding-top: var(--sp-5); }
  .years { display: flex; align-items: center; gap: var(--sp-4); }
  .years__circle {
    display: grid; place-items: center; width: clamp(96px, 8vw, 120px); aspect-ratio: 1;
    border-radius: 50%; background: var(--rust-500); color: var(--ink-950);
    font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.4rem); font-weight: 750; letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
  }
  .years__label { color: var(--ink-950); font-weight: 600; line-height: 1.25; max-width: 12ch; }
  .btn-play { display: inline-flex; align-items: center; gap: .75rem; }
  .btn-play .btn__badge svg { width: 14px; height: 14px; }
  .hero__trust { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: var(--fs-sm); color: var(--ink-900); list-style: none; padding: 0; }
  .hero__trust li { display: inline-flex; align-items: center; gap: .45rem; }
  .hero__trust svg { width: 18px; height: 18px; color: var(--rust-600); }

  @media (max-width: 900px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__media { min-height: 0; aspect-ratio: 4 / 3; }
  }

  /* Sub-page hero (smaller) */
  .page-hero .hero__media { min-height: 420px; }
  @media (max-width: 900px) { .page-hero .hero__media { min-height: 0; } }
  .page-hero .hero__panel h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); max-width: 16ch; }

  .crumbs { font-size: .85rem; }
  .crumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; padding: 0; }
  .crumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--steel-500); }
  .crumbs a { color: var(--body-600); }
  .crumbs [aria-current] { color: var(--ink-950); font-weight: 600; }

  /* ---------- Track tags (two service families) */
  .track-tag {
    display: inline-flex; align-items: center; gap: .45em; font-size: var(--fs-xs); font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase; line-height: 1.2;
    padding: .4em .85em; border-radius: var(--r-pill);
    background: var(--white); color: var(--ink-950);
  }
  .track-tag::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: var(--tag, var(--track-a)); }
  [data-track="b"] { --tag: var(--track-b); }
  [data-track="a"] { --tag: var(--track-a); }

  /* ---------- Fork: the two families, directly under the hero */
  .fork { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
  .fork__card {
    position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end;
    min-height: 460px; border-radius: var(--r-xl); overflow: hidden; color: var(--white);
    text-decoration: none; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); padding-right: 90px;
    --notch: var(--bg);
  }
  .fork__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 700ms var(--ease); }
  .fork__card::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgb(22 24 26 / .05) 20%, rgb(22 24 26 / .88) 100%);
  }
  .fork__card .track-tag { align-self: flex-start; }
  .fork__card h2, .fork__card h3 { color: var(--white); font-size: var(--fs-h3); margin-block: .75rem .5rem; }
  .fork__card p { color: rgb(255 255 255 / .82); }
  .fork__card ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; margin-top: var(--sp-4); }
  .fork__card li { font-size: .82rem; font-weight: 600; padding: .3rem .7rem; border-radius: var(--r-pill); background: rgb(255 255 255 / .14); backdrop-filter: blur(6px); }
  .fork__card:hover img { transform: scale(1.03); }
  .fork__card:hover .arrow-badge { transform: rotate(45deg); }
  .fork__card[data-track="b"] .arrow-badge { background: var(--white); }
  @media (max-width: 820px) { .fork { grid-template-columns: 1fr; } .fork__card { min-height: 380px; } }

  /* ---------- Three-card row (01 / 02 / 03) */
  .trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
  .trio__card {
    position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
    min-height: 400px; padding: 1.75rem 1.75rem 5rem; border-radius: var(--r-xl);
    background: var(--ink-950); color: rgb(255 255 255 / .74); text-decoration: none;
    transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
  }
  .trio__card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
  .trio__card:hover .arrow-badge { transform: rotate(45deg); }
  .trio__num {
    font-size: .85rem; font-weight: 600; padding-bottom: 1rem; margin-bottom: auto;
    border-bottom: 1px solid rgb(255 255 255 / .18);
  }
  .trio__card h3 { color: var(--white); margin: 1.5rem 0 .6rem; font-size: var(--fs-h3); }
  .trio__card p { font-size: var(--fs-sm); }
  .trio__card .text-link { margin-top: 1rem; color: var(--white); }
  .trio__card--accent { background: var(--rust-500); color: var(--ink-950); }
  .trio__card--accent h3, .trio__card--accent .text-link { color: var(--ink-950); }
  .trio__card--accent .trio__num { border-color: rgb(22 24 26 / .25); }
  .trio__card--accent .arrow-badge { background: var(--ink-950); color: var(--rust-500); }
  .trio__card--accent .trio__figure {
    position: absolute; right: -10px; bottom: 60px; width: 62%; z-index: -1; opacity: .95;
  }
  .trio__spec { display: flex; gap: 1.25rem; margin-top: .75rem; font-variant-numeric: tabular-nums; }
  .trio__spec b { display: block; font-size: 1.6rem; letter-spacing: -0.02em; color: var(--ink-950); }
  .trio__spec span { font-size: .78rem; }
  .trio__card--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 700ms var(--ease); }
  .trio__card--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(22 24 26 / .78), rgb(22 24 26 / .35) 55%, rgb(22 24 26 / .85)); }
  .trio__card--photo:hover img { transform: scale(1.03); }
  @media (max-width: 960px) { .trio { grid-template-columns: 1fr; } .trio__card { min-height: 320px; } }

  /* ---------- Pill chip row */
  .chips-viewport { overflow: hidden; }
  .chips { display: flex; gap: var(--sp-3); list-style: none; padding: 0; }
  .chips--wrap { flex-wrap: wrap; justify-content: center; }
  .chip {
    display: inline-flex; align-items: center; gap: .75rem; flex: none;
    padding: .4rem 1.4rem .4rem .4rem; min-height: 56px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--r-pill);
    text-decoration: none; color: var(--ink-950); font-weight: 600; font-size: 1.02rem;
    transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
  }
  .chip img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
  .chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
  @media (max-width: 900px) {
    .chips-viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
    .chips-viewport::-webkit-scrollbar { display: none; }
    .chips--wrap { flex-wrap: nowrap; justify-content: flex-start; }
    .chip { scroll-snap-align: start; }
    .chips-viewport.is-embla { overflow: hidden; scroll-snap-type: none; }
  }

  /* ---------- Dark stats band */
  .stats { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl); background: var(--ink-950); padding: var(--sp-8) clamp(1.25rem, 1rem + 3vw, 4rem); color: rgb(255 255 255 / .72); }
  .stats__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .2; filter: grayscale(1) contrast(1.1); }
  .stats::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(22 24 26 / .4), rgb(22 24 26 / .85)); }
  .stats h2 { color: var(--white); max-width: 18ch; margin-bottom: var(--sp-7); }
  .stats__track { position: relative; padding-top: 2.25rem; }
  .stats__list {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5);
    list-style: none; padding: 0;
  }
  .stats__line {
    position: absolute; top: 0; left: 6px; right: 6px; height: 1px;
    background: linear-gradient(90deg, rgb(255 255 255 / .55) var(--line-progress), transparent var(--line-progress));
    transition: --line-progress 1400ms var(--ease);
  }
  .stats.is-drawn .stats__line { --line-progress: 100%; }
  .stats__item { position: relative; }
  .stats__item::before {
    content: ""; position: absolute; top: calc(-2.25rem - 4px); left: 0; width: 9px; height: 9px; border-radius: 50%;
    background: var(--rust-500); box-shadow: 0 0 0 4px rgb(224 123 34 / .2);
  }
  .stats__fig { display: flex; align-items: flex-start; color: var(--white); font-size: var(--fs-stat); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
  .stats__fig sup, .stats__fig small { color: var(--rust-500); font-size: .45em; letter-spacing: 0; margin-left: .08em; line-height: 1; }
  .stats__fig small { align-self: flex-end; margin-bottom: .2em; font-weight: 650; }
  .stats__cap { margin-top: .6rem; font-size: var(--fs-sm); max-width: 20ch; line-height: 1.45; }
  @media (max-width: 860px) {
    .stats__track { padding-top: 0; }
    .stats__list { grid-template-columns: 1fr 1fr; row-gap: var(--sp-7); }
    .stats__line { display: none; }
    .stats__item { padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .25); }
    .stats__item::before { top: -5px; }
  }

  /* ---------- Machine section */
  .machine { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--sp-5); align-items: start; }
  .spec-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
  .spec-card__head { display: flex; justify-content: space-between; gap: 1rem; align-items: start; margin-bottom: var(--sp-5); }
  .spec-card__badge { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--rust-100); color: var(--earth-700); padding: .45em .9em; border-radius: var(--r-pill); white-space: nowrap; }
  .spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--sp-5); }
  .spec-list div { display: grid; gap: .1rem; padding: .9rem 0; border-top: 1px solid var(--line); }
  .spec-list dt { font-size: .82rem; color: var(--body-600); }
  .spec-list dd { color: var(--ink-950); font-weight: 650; font-size: 1.12rem; font-variant-numeric: tabular-nums; line-height: 1.3; }
  .spec-list dd small { display: block; font-weight: 400; font-size: .8rem; color: var(--body-600); }
  .spec-list .is-key dd { font-size: 1.45rem; }
  .spec-note { font-size: .8rem; margin-top: var(--sp-4); }
  @media (max-width: 520px) { .spec-list { grid-template-columns: 1fr; } }

  .access { background: var(--ink-950); color: rgb(255 255 255 / .78); border-radius: var(--r-xl); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
  .access h3 { color: var(--white); margin-bottom: .75rem; }
  .access__diagram { margin: var(--sp-5) 0; }
  .access__diagram svg { width: 100%; height: auto; }
  .access__big { display: flex; align-items: baseline; gap: .4rem; color: var(--white); font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
  .access__big small { font-size: .4em; color: var(--rust-500); letter-spacing: 0; }
  .access__check { display: grid; gap: .6rem; margin-top: var(--sp-5); padding-top: var(--sp-5); border-top: 1px solid rgb(255 255 255 / .15); }
  .access__check label { color: var(--white); font-weight: 600; }
  .access__row { display: flex; gap: .5rem; }
  .access__row input {
    flex: 1; min-width: 0; min-height: 48px; padding: 0 1rem; border-radius: var(--r-pill);
    border: 1px solid rgb(255 255 255 / .3); background: rgb(255 255 255 / .06); color: var(--white);
    font-variant-numeric: tabular-nums;
  }
  .access__result { min-height: 3.2em; font-size: var(--fs-sm); color: var(--white); }
  .access__result[data-state="ok"] { color: #9fe0ad; }
  .access__result[data-state="tight"] { color: #ffd08a; }
  .access__result[data-state="no"] { color: #ffb4a8; }
  .access__photo { margin-top: var(--sp-5); padding: 1rem 1.2rem; border-radius: var(--r-md); background: rgb(255 255 255 / .06); color: var(--white); font-weight: 600; }
  @media (max-width: 960px) { .machine { grid-template-columns: 1fr; } }

  /* ---------- Service grid (grouped by family) */
  .svc-group + .svc-group { margin-top: var(--sp-7); }
  .svc-group__head { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-bottom: var(--sp-5); }
  .svc-group__head h3 { font-size: var(--fs-h4); }
  .svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--sp-4); container-type: inline-size; }
  .svc-card {
    container-type: inline-size; position: relative; display: flex; flex-direction: column; gap: .6rem;
    padding: 1.4rem 1.4rem 4.6rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
    text-decoration: none; color: var(--muted); min-height: 220px;
    transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
    border-top: 4px solid var(--tag, var(--track-a));
  }
  .svc-card h4 { font-size: 1.2rem; color: var(--ink-950); }
  .svc-card p { font-size: var(--fs-sm); line-height: 1.6; }
  .svc-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
  .svc-card:hover .arrow-badge { transform: rotate(45deg); }
  .svc-card .arrow-badge { --notch: var(--white); width: 40px; height: 40px; box-shadow: none; }
  .svc-card[data-track="b"] .arrow-badge { background: var(--cream-100); }
  .svc-card__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--cream-100); color: var(--earth-700); }
  .svc-card__icon svg { width: 22px; height: 22px; }
  .svc-card--hl { background: var(--ink-950); color: rgb(255 255 255 / .75); border-color: var(--ink-950); }
  .svc-card--hl h4 { color: var(--white); }
  .svc-card--hl .svc-card__icon { background: rgb(255 255 255 / .1); color: var(--rust-500); }
  @container (min-width: 420px) {
    .svc-card { flex-direction: row; align-items: flex-start; gap: 1rem; }
  }

  /* ---------- Project (radovi) cards */
  .filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--sp-5); }
  .filter {
    min-height: 44px; padding: 0 1.1rem; border-radius: var(--r-pill); border: 1px solid var(--line);
    background: var(--white); color: var(--ink-950); font-weight: 600; font-size: .92rem;
  }
  .filter[aria-pressed="true"] { background: var(--ink-950); color: var(--white); border-color: var(--ink-950); }
  .filter:hover { border-color: var(--ink-950); }
  .projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--sp-4); }
  .projects--teaser { grid-template-columns: repeat(4, 1fr); }
  @media (max-width: 1100px) { .projects--teaser { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .projects--teaser { grid-template-columns: 1fr; } }
  .project { container-type: inline-size; position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
  .project__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-100); }
  .project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
  .project:hover .project__media img { transform: scale(1.03); }
  .project__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; height: 100%; }
  .project__pair figure { position: relative; margin: 0; overflow: hidden; }
  .project__pair img { height: 100%; }
  .phase { position: absolute; left: 8px; bottom: 8px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .25em .6em; border-radius: var(--r-pill); background: var(--white); color: var(--ink-950); }
  .phase--poslije { background: var(--rust-500); }
  .ribbon { position: absolute; right: 10px; top: 10px; z-index: 2; font-size: .7rem; font-weight: 800; letter-spacing: .14em; background: #fff3c4; color: var(--ink-950); padding: .3em .7em; border-radius: 6px; border: 1px dashed var(--earth-500); }
  .project__body { padding: 1.1rem 1.2rem 1.3rem; display: grid; gap: .4rem; }
  .project__meta { font-size: .8rem; display: flex; flex-wrap: wrap; gap: .25rem .75rem; }
  .project__body h3 { font-size: 1.12rem; line-height: 1.25; }
  .project__body p { font-size: .92rem; line-height: 1.55; }
  .project__open { justify-self: start; margin-top: .3rem; min-height: 44px; padding: 0 1rem; border-radius: var(--r-pill); border: 1px solid var(--line); font-weight: 600; font-size: .88rem; }
  .project__open:hover { border-color: var(--ink-950); }
  @container (min-width: 520px) {
    .project__body h3 { font-size: 1.3rem; }
  }
  /* :has() — dim the grid while nothing matches */
  .projects:not(:has(.project:not([hidden]))) + .projects__empty { display: block; }
  .projects__empty { display: none; padding: 2rem; text-align: center; border: 1px dashed var(--line); border-radius: var(--r-lg); }
  /* :has() — filter bar shows which family is active */
  .filters:has([data-filter="rusenje"][aria-pressed="true"]) { --active: var(--track-b); }

  /* Gallery detail (radovi.html) */
  .phase-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
  .phase-groups figure { position: relative; margin: 0; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4/3; }
  .phase-groups a { display: block; height: 100%; }
  .phase-groups img { width: 100%; height: 100%; object-fit: cover; }

  /* ---------- Feature grid (Što nas razlikuje) */
  .features { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
  .feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; display: grid; gap: .6rem; align-content: start; }
  .feature__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--rust-500); color: var(--ink-950); }
  .feature__icon svg { width: 24px; height: 24px; }
  .feature h3 { font-size: 1.25rem; }
  .feature p { font-size: var(--fs-sm); }
  .split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--sp-7); align-items: start; }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split__media { border-radius: var(--r-xl); overflow: hidden; position: relative; }
  .split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
  @media (max-width: 900px) { .split, .split--even { grid-template-columns: 1fr; } .features { grid-template-columns: 1fr; } .split__media img { aspect-ratio: 4/3; } }

  /* ---------- Dark offer band / waste section */
  .band { border-radius: var(--r-xl); background: var(--ink-950); color: rgb(255 255 255 / .74); padding: clamp(1.5rem, 1rem + 3vw, 4rem); }
  .band :where(h2, h3, h4, strong) { color: var(--white); }
  .waste { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--sp-7); }
  .waste__list { display: grid; gap: var(--sp-3); list-style: none; padding: 0; }
  .waste__item { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; padding: 1.2rem; border-radius: var(--r-md); background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .08); }
  .waste__item h3 { font-size: 1.12rem; margin-bottom: .3rem; }
  .waste__item p { font-size: var(--fs-sm); line-height: 1.6; }
  .waste__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgb(224 123 34 / .14); color: var(--rust-500); }
  .waste__icon svg { width: 24px; height: 24px; }
  .waste__stack { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: var(--sp-5); }
  .waste__stack img { border-radius: var(--r-md); aspect-ratio: 1; object-fit: cover; width: 100%; }
  .waste__stack img:first-child { grid-column: span 2; aspect-ratio: 16/9; }
  .legal-note { font-size: .82rem; margin-top: var(--sp-5); padding-top: var(--sp-4); border-top: 1px solid rgb(255 255 255 / .12); }
  @media (max-width: 900px) { .waste { grid-template-columns: 1fr; } }

  /* ---------- Steps */
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); list-style: none; padding: 0; counter-reset: step; }
  .step { position: relative; padding: 1.6rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); counter-increment: step; }
  .step::before {
    content: counter(step, decimal-leading-zero); display: inline-grid; place-items: center;
    width: 46px; height: 46px; border-radius: 50%; margin-bottom: 1.2rem;
    background: var(--ink-950); color: var(--white); font-weight: 700; font-size: .9rem; font-variant-numeric: tabular-nums;
  }
  .step:last-child::before { background: var(--rust-500); color: var(--ink-950); }
  .step h3 { font-size: 1.18rem; margin-bottom: .4rem; }
  .step p { font-size: var(--fs-sm); line-height: 1.6; }
  @media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

  /* ---------- Area + map */
  .area { display: grid; grid-template-columns: 1fr 1.25fr; gap: var(--sp-5); align-items: stretch; }
  .map { min-height: 420px; border-radius: var(--r-xl); overflow: hidden; background: var(--cream-100) center/cover; border: 1px solid var(--line); position: relative; }
  .map__fallback { position: absolute; inset: 0; max-width: none; display: grid; place-items: center; text-align: center; padding: 2rem; font-size: var(--fs-sm); }
  .map__consent { display: grid; gap: .9rem; justify-items: center; width: min(42ch, 100%); }
  .map .leaflet-container { font: inherit; }
  .places { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin-top: var(--sp-4); }
  .places li { font-size: .85rem; font-weight: 600; color: var(--ink-950); background: var(--white); border: 1px solid var(--line); padding: .3rem .75rem; border-radius: var(--r-pill); }
  @media (max-width: 900px) { .area { grid-template-columns: 1fr; } .map { min-height: 340px; } }

  /* ---------- Testimonials (component exists; section ships commented out) */
  .quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
  .quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; display: grid; gap: 1rem; }
  .quote blockquote { color: var(--ink-950); font-size: 1.05rem; line-height: 1.55; }
  .quote figcaption { font-size: .85rem; }

  /* ---------- FAQ */
  .faq { display: grid; gap: .6rem; max-width: 900px; margin-inline: auto; }
  .faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); }
  .faq summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 1.1rem 1.25rem; min-height: 56px; font-weight: 650; color: var(--ink-950); font-size: 1.05rem; line-height: 1.35;
  }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after {
    content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
    background: var(--cream-100); font-weight: 500; font-size: 1.3rem; transition: transform 240ms var(--ease), background 200ms;
  }
  .faq details[open] summary::after { transform: rotate(45deg); background: var(--rust-500); }
  .faq details > div { padding: 0 1.25rem 1.25rem; }
  .faq details > div p + p { margin-top: .6rem; }

  /* ---------- Closing CTA band */
  .cta-band { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl); background: var(--ink-950); padding: clamp(2.5rem, 2rem + 4vw, 6rem) clamp(1.5rem, 1rem + 4vw, 5rem); text-align: center; color: rgb(255 255 255 / .78); }
  .cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .28; filter: grayscale(.6); }
  .cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgb(22 24 26 / .55), rgb(22 24 26 / .9)); }
  .cta-band h2 { color: var(--white); max-width: 20ch; margin: 0 auto var(--sp-4); }
  .cta-band p { margin: 0 auto var(--sp-6); }
  .cta-band .btn-row { justify-content: center; }

  /* ---------- Contact */
  .contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--sp-5); align-items: start; }
  .contact__info { display: grid; gap: var(--sp-5); }
  .phone-big { display: grid; gap: .1rem; text-decoration: none; color: var(--ink-950); padding: 1.2rem 1.4rem; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); transition: box-shadow 200ms; }
  .phone-big:hover { box-shadow: var(--shadow-md); }
  .phone-big span { font-size: .85rem; color: var(--body-600); }
  .phone-big b { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
  .messengers { display: flex; flex-wrap: wrap; gap: .5rem; }
  .contact__list { display: grid; gap: .5rem; list-style: none; padding: 0; font-size: var(--fs-sm); }
  .contact__list b { color: var(--ink-950); }
  @media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }

  .form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.4rem, 1rem + 2vw, 2.4rem); display: grid; gap: 1.1rem; }
  .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
  @media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
  .field { display: grid; gap: .35rem; }
  .field label, .field legend { color: var(--ink-950); font-weight: 600; font-size: .95rem; }
  .field .req { color: var(--err-700); }
  .field .hint { font-size: .82rem; }
  .field input, .field select, .field textarea {
    width: 100%; min-height: 50px; padding: .7rem 1rem; border-radius: var(--r-sm);
    border: 1px solid #cfc6b8; background: var(--cream-50); color: var(--ink-950);
  }
  .field textarea { min-height: 120px; resize: vertical; }
  .field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--rust-500); outline-offset: 1px; border-color: var(--ink-950); }
  .field [aria-invalid="true"] { border-color: var(--err-700); background: #fff6f4; }
  .field__error { display: none; align-items: center; gap: .35rem; color: var(--err-700); font-size: .85rem; font-weight: 600; }
  .field__error svg { width: 16px; height: 16px; flex: none; }
  .field.has-error .field__error { display: flex; }
  .upload {
    position: relative; display: grid; gap: .4rem; justify-items: center; text-align: center;
    padding: 1.5rem 1rem; border: 2px dashed var(--rust-600); border-radius: var(--r-md); background: var(--rust-100);
  }
  .upload strong { font-size: 1.05rem; }
  .upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; min-height: 0; }
  .upload:focus-within { outline: 3px solid var(--ink-950); outline-offset: 2px; }
  .upload svg { width: 30px; height: 30px; color: var(--earth-700); }
  .upload__files { font-size: .85rem; color: var(--ink-950); }
  .check { display: grid; grid-template-columns: 24px 1fr; gap: .6rem; align-items: start; font-size: .9rem; }
  .check input { width: 22px; height: 22px; min-height: 0; margin-top: .15rem; accent-color: var(--ink-950); }
  .form__success { display: none; padding: 1.2rem 1.4rem; border-radius: var(--r-md); background: #e7f3e9; color: var(--ok-700); font-weight: 600; }
  .form.is-sent .form__success { display: block; }
  .form.is-mailto .form__success { display: block; background: var(--cream-50); color: var(--ink-950); }
  .form__fail { display: none; padding: 1.2rem 1.4rem; border-radius: var(--r-md); background: var(--cream-50); color: var(--ink-950); font-weight: 600; }
  .form.is-failed .form__fail { display: block; }
  .form__note { font-size: .9rem; margin: 0; max-width: none; }
  .form.is-sent .form__fields { display: none; }
  .form__fields { display: grid; gap: 1.1rem; }
  .form__privacy { font-size: .82rem; color: var(--body-600); margin: 0; max-width: none; }
  .form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
  .legal-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
  .legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: .6rem .8rem; border-bottom: 1px solid var(--line); }
  .legal-table th { font-weight: 700; color: var(--ink-950); }
  .legal-table tr > th[scope="row"] { width: 32%; }
  .table-wrap { overflow-x: auto; }

  /* ---------- Footer */
  .site-footer { background: var(--ink-950); color: rgb(255 255 255 / .7); margin-top: var(--sp-8); padding-top: var(--sp-8); border-radius: var(--r-xl) var(--r-xl) 0 0; }
  .site-footer a { color: rgb(255 255 255 / .85); text-decoration: none; }
  .site-footer a:hover { color: var(--white); text-decoration: underline; }
  .footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: var(--sp-6); }
  .footer__brand img { width: 120px; height: 120px; border-radius: 22px; background: var(--white); }
  .footer__brand p { margin-top: 1rem; font-size: var(--fs-sm); max-width: 32ch; }
  .footer__h { color: var(--white); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-bottom: 1rem; }
  .footer__links { list-style: none; padding: 0; display: grid; gap: .45rem; font-size: var(--fs-sm); }
  .footer__links a { display: inline-block; padding-block: .2rem; }
  .socials { display: flex; gap: .5rem; margin-top: 1.2rem; }
  .socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .22); }
  .socials svg { width: 18px; height: 18px; }
  .footer__sister { font-size: var(--fs-sm); max-width: 32ch; margin-top: .6rem; }

  /* ---------- Legal bar: bottom of the footer (registered data + legal links) */
  .legal-bar { margin-top: var(--sp-7); padding-block: var(--sp-5) calc(var(--sp-5) + 70px); border-top: 1px solid rgb(255 255 255 / .12); font-size: .78rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .75rem 2rem; }
  .legal-bar__ids { display: grid; gap: .35rem; }
  .legal-bar__id { display: flex; flex-wrap: wrap; gap: .2rem 1.1rem; max-width: none; margin: 0; }
  .legal-bar__links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .2rem 0; }
  .legal-bar__links li + li::before { content: "·"; margin-inline: .6rem; opacity: .5; }
  .legal-bar__links a { display: inline-block; padding-block: .2rem; }
  @media (min-width: 769px) { .legal-bar { padding-bottom: var(--sp-5); } }
  @media (max-width: 768px) { .legal-bar, .legal-bar__ids, .legal-bar__id, .legal-bar__links { justify-content: center; text-align: center; } }
  @media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }


  /* ---------- Sticky mobile call bar */
  .mobile-bar { display: none; }
  @media (max-width: 767px) {
    .mobile-bar {
      position: fixed; z-index: 70; left: 10px; right: 10px; bottom: 10px;
      display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px;
      background: var(--ink-950); border-radius: var(--r-pill); box-shadow: var(--shadow-lg);
    }
    .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 52px; border-radius: var(--r-pill); text-decoration: none; font-weight: 700; }
    .mobile-bar svg { width: 20px; height: 20px; }
    .mobile-bar__call { background: var(--rust-500); color: var(--ink-950); }
    .mobile-bar__wa { background: #1f8f4e; color: var(--white); }
  }

  /* ---------- Generic content blocks for sub-pages */
  .prose { display: grid; gap: 1rem; }
  .prose h2 { font-size: var(--fs-h3); margin-top: var(--sp-5); }
  .prose h3 { font-size: var(--fs-h4); margin-top: var(--sp-4); }
  .prose ul, .prose ol { padding-left: 1.2rem; display: grid; gap: .35rem; }
  .prose li::marker { color: var(--rust-600); }
  .prose .crumbs ol { display: flex; padding-left: 0; }
  .ticks { list-style: none; padding: 0; display: grid; gap: .65rem; }
  .ticks li { display: grid; grid-template-columns: 26px 1fr; gap: .6rem; align-items: start; }
  .ticks li::before { content: ""; width: 22px; height: 22px; margin-top: .2rem; border-radius: 50%; background: var(--rust-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316181a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat; }
  .section--dark .ticks li::before, .band .ticks li::before { background-color: var(--rust-500); }
  .card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); }
  .card--cream { background: var(--cream-100); border-color: transparent; }
  .card--dark { background: var(--ink-950); color: rgb(255 255 255 / .74); border-color: var(--ink-950); }
  .card--dark :where(h2, h3, h4, strong) { color: var(--white); }
  .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
  .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
  @media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
  .doc-list { counter-reset: doc; list-style: none; padding: 0; display: grid; gap: .75rem; }
  .doc-list li { counter-increment: doc; display: grid; grid-template-columns: 40px 1fr; gap: .75rem; align-items: start; }
  .doc-list li::before { content: counter(doc); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink-950); color: var(--white); font-weight: 700; font-size: .9rem; }
  .callout { border-left: 4px solid var(--rust-500); padding: 1rem 1.25rem; background: var(--rust-100); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--ink-950); }
  .gallery-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
  .gallery-strip figure { margin: 0; border-radius: var(--r-md); overflow: hidden; position: relative; aspect-ratio: 4/3; }
  .gallery-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
  .gallery-strip figure:hover img { transform: scale(1.03); }
  @media (max-width: 700px) { .gallery-strip { grid-template-columns: 1fr 1fr; } }

  .notfound { text-align: center; display: grid; gap: var(--sp-5); justify-items: center; padding-block: var(--sp-9); }
  .notfound__code { font-size: clamp(5rem, 3rem + 10vw, 11rem); font-weight: 800; letter-spacing: -0.06em; color: var(--ink-950); line-height: .9; }
  .notfound__code span { color: var(--rust-500); }

  /* ---------- Reveal (fallback when GSAP is absent: CSS scroll-driven) */
  @supports (animation-timeline: view()) {
    html:not(.has-gsap) [data-reveal] {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
  }
  @keyframes reveal { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }

  /* View transition name for gallery hero image */
  .vt-gallery { view-transition-name: radovi-hero; }
}

/* =========================================================================
   UTILITIES
   ========================================================================= */
@layer utilities {
  .mt-0 { margin-top: 0 !important; }
  .mt-4 { margin-top: var(--sp-4); }
  .mt-5 { margin-top: var(--sp-5); }
  .mt-6 { margin-top: var(--sp-6); }
  .mt-7 { margin-top: var(--sp-7); }
  .center { text-align: center; }
  .muted { color: var(--muted); }
  .small { font-size: .85rem; }
  .nowrap { white-space: nowrap; }
  .maxw-none { max-width: none; }
}

/* ---------- Preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .stats__line { --line-progress: 100%; }
  @view-transition { navigation: none; }
}
@media (prefers-contrast: more) {
  :root { --body-600: #3b4044; --line: #8f877b; --steel-500: #4f5355; }
  .btn { border-width: 2px; }
  .section--dark, .band, .stats, .trio__card { color: var(--white); }
  .stats__bg, .cta-band img { opacity: .08; }
}
@media print {
  .site-header, .mobile-bar, .cta-band, .map, form { display: none !important; }
  body { background: #fff; }
}
