/* ==========================================================================
   A JE TO — Križevci · main stylesheet
   Layers: reset → base → components → utilities
   Every colour, space, radius and shadow is a custom property on :root.
   ========================================================================== */

@layer reset, base, components, utilities;

/* ---------- Tokens ---------- */
:root {
  /* colour */
  --orange-600: #F15A24;
  --orange-500: #FF6B35;
  --orange-700: #C8431A;          /* darker orange for small text on white (AA) */
  --orange-100: #FFEDE5;
  --ink-950: #121212;
  --ink-900: #1C1C1C;
  --ink-800: #262626;
  --ink-700: #333333;
  --body-600: #5C6166;
  --body-400: #A3A7AB;
  --surface-0: #FFFFFF;
  --surface-50: #F7F7F5;
  --cream-50: #FDF8F3;
  --line: #E8E6E2;
  --line-dark: #2E2E2E;
  --white: #FFFFFF;
  --whatsapp: #1F8F4E;            /* darkened for white-text contrast */
  --viber: #6F4BB8;
  --success: #1E7A46;
  --error: #B3261E;

  --tint-orange: color-mix(in oklab, var(--orange-600) 10%, var(--surface-0));
  --scrim: linear-gradient(90deg, color-mix(in srgb, var(--ink-950) 88%, transparent) 0%, color-mix(in srgb, var(--ink-950) 55%, transparent) 48%, color-mix(in srgb, var(--ink-950) 5%, transparent) 100%);

  /* type */
  --font-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-h1: clamp(2.4rem, 5.5vw, 4.2rem);
  --fs-h2: clamp(2rem, 3.6vw, 3rem);
  --fs-h3: clamp(1.3rem, 1.6vw, 1.55rem);
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-small: 0.9rem;
  --fs-eyebrow: 0.82rem;

  /* 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: 3rem;
  --sp-8: 4rem;
  --section: clamp(4rem, 8vw, 7rem);
  --gutter: clamp(1rem, 4vw, 2rem);
  --maxw: 1240px;

  /* radius & shadow */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-pill: 999px;
  --sh-card: 0 1px 2px color-mix(in srgb, var(--ink-950) 6%, transparent);
  --sh-float: 0 18px 40px -12px color-mix(in srgb, var(--ink-950) 28%, transparent);
  --sh-lift: 0 10px 24px -10px color-mix(in srgb, var(--orange-600) 60%, transparent);

  --header-h: 76px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* animated underline swash length (registered so it can transition) */
@property --swash {
  syntax: "<number>";
  inherits: true;
  initial-value: 1;
}

/* Croatian-diacritic-safe font loading: Google Fonts serves latin-ext with
   unicode-range, so č ć đ š ž render in the same face. */

/* ---------- Reset ---------- */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; }
  html { -webkit-text-size-adjust: 100%; }
  img, svg, video { display: block; max-width: 100%; }
  img { 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; }
}

/* ---------- Base ---------- */
@layer base {
  @view-transition { navigation: auto; }

  html { scroll-behavior: smooth; overflow-x: clip; }
  body { overflow-x: clip; }
  body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.7;
    color: var(--body-600);
    background: var(--surface-0);
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--ink-950);
    line-height: 1.05;
    letter-spacing: -0.005em;
    text-wrap: balance;
  }
  h1 { font-size: var(--fs-h1); }
  h2 { font-size: var(--fs-h2); }
  h3 { font-size: var(--fs-h3); line-height: 1.15; }
  p { text-wrap: pretty; }
  strong { color: var(--ink-900); font-weight: 600; }
  a { text-underline-offset: 3px; }
  :focus-visible {
    outline: 3px solid var(--orange-600);
    outline-offset: 3px;
    border-radius: 4px;
  }
  [id] { scroll-margin-top: calc(var(--header-h) + 16px); }
  ::selection { background: var(--orange-600); color: var(--white); }
}

/* ---------- Components ---------- */
@layer components {

  .container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
  .section { padding-block: var(--section); }
  .section--cream { background: var(--cream-50); }
  .section--grey { background: var(--surface-50); }
  .section--dark { background: var(--ink-950); color: var(--body-400); }
  .section--dark h2, .section--dark h3 { color: var(--white); }

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

  /* ----- Eyebrow + two-tone heading with swash ----- */
  .eyebrow {
    display: inline-flex; align-items: center; gap: var(--sp-2);
    font-family: var(--font-head); font-weight: 700; font-size: var(--fs-eyebrow);
    letter-spacing: .18em; text-transform: uppercase; color: var(--orange-700);
    margin-bottom: var(--sp-3);
  }
  .eyebrow::before {
    content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--orange-600);
  }
  .section--dark .eyebrow, .hero .eyebrow, .on-dark .eyebrow { color: var(--orange-500); }

  .hl {
    position: relative; display: inline-block; color: var(--orange-600); white-space: nowrap;
    padding-bottom: .12em;
  }
  .hl .swash {
    position: absolute; left: -2%; bottom: -0.12em; width: 104%; height: .34em;
    overflow: visible; pointer-events: none;
  }
  .hl .swash path {
    fill: none; stroke: var(--orange-600); stroke-width: 6; stroke-linecap: round;
    stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--swash));
  }
  .swash-pending { --swash: 0; }
  .swash-drawn { --swash: 1; transition: --swash 900ms var(--ease) 150ms; }

  @media (max-width: 600px) { .hl { white-space: normal; display: inline; } .hl .swash { display: none; } .hl { text-decoration: underline; text-decoration-color: var(--orange-600); text-decoration-thickness: .08em; text-underline-offset: .18em; } }
  .section-head { max-width: 760px; margin-bottom: var(--sp-7); }
  .section-head--center { margin-inline: auto; text-align: center; }
  .section-head p { margin-top: var(--sp-4); }
  .lead { font-size: 1.12rem; }

  /* ----- Buttons ----- */
  .btn {
    --bg: var(--orange-600); --fg: var(--white);
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    min-height: 48px; padding: .7rem 1.5rem; border-radius: var(--r-pill);
    background: var(--bg); color: var(--fg); border: 2px solid var(--bg);
    font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; letter-spacing: .03em;
    text-transform: uppercase; text-decoration: none; line-height: 1;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  }
  .btn:hover { transform: translateY(-2px); box-shadow: var(--sh-lift); }
  .btn .arrow { transition: transform .25s var(--ease); }
  .btn:hover .arrow, .link-more:hover .arrow { transform: translateX(4px); }
  .btn svg { width: 18px; height: 18px; flex: none; }
  .btn--dark { --bg: var(--ink-950); }
  .btn--dark:hover { box-shadow: var(--sh-float); }
  .btn--ghost { --bg: transparent; --fg: var(--ink-950); border-color: var(--line); }
  .btn--ghost:hover { border-color: var(--ink-950); box-shadow: none; }
  .btn--light { --bg: var(--white); --fg: var(--ink-950); }
  .btn--whatsapp { --bg: var(--whatsapp); }
  .btn--viber { --bg: var(--viber); }
  .btn--sm { min-height: 44px; padding: .55rem 1.1rem; font-size: 1rem; }
  .btn--sm:not(.btn--dark, .btn--ghost, .btn--light, .btn--whatsapp, .btn--viber) { --bg: var(--orange-700); } /* small white text needs the darker orange for AA */

  .btn-play {
    display: inline-flex; align-items: center; gap: .8rem; color: var(--white);
    font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
    text-decoration: none; min-height: 48px;
  }
  .btn-play .ring {
    width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
    background: var(--white); color: var(--orange-600);
    box-shadow: 0 0 0 8px color-mix(in srgb, var(--white) 18%, transparent);
    transition: box-shadow .3s var(--ease);
  }
  .btn-play:hover .ring { box-shadow: 0 0 0 12px color-mix(in srgb, var(--white) 22%, transparent); }

  .link-more {
    display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head);
    font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .95rem;
    color: var(--orange-700); text-decoration: none; min-height: 44px;
  }

  /* ----- Utility bar ----- */
  .topbar { background: var(--surface-50); border-bottom: 1px solid var(--line); font-size: .88rem; color: var(--ink-700); }
  .topbar .container { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); min-height: 46px; }
  .topbar__info { display: flex; gap: var(--sp-5); flex-wrap: wrap; }
  .topbar__info span { display: inline-flex; align-items: center; gap: .4rem; }
  .topbar__info svg { width: 15px; height: 15px; color: var(--orange-600); }
  .phone-pill {
    display: inline-flex; align-items: center; gap: .5rem; background: var(--ink-950); color: var(--white);
    border-radius: var(--r-pill); padding: .35rem 1rem .35rem .4rem; text-decoration: none;
    font-weight: 600; min-height: 36px;
  }
  .phone-pill .dot { width: 28px; height: 28px; border-radius: 50%; background: var(--orange-600); display: grid; place-items: center; }
  .phone-pill svg { width: 14px; height: 14px; }
  .phone-pill small { opacity: .7; font-weight: 400; }

  /* ----- Header ----- */
  .site-header {
    position: sticky; top: 0; z-index: 100; background: var(--surface-0);
    border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
  }
  .site-header.is-scrolled { border-color: var(--line); box-shadow: var(--sh-card); }
  .site-header .container { display: flex; align-items: center; gap: var(--sp-5); min-height: var(--header-h); }
  .logo { display: inline-flex; flex: none; text-decoration: none; }
  .logo svg { height: 48px; width: auto; }
  .nav { margin-inline: auto; }
  .nav > ul { display: flex; gap: .25rem; list-style: none; padding: 0; }
  .nav a, .nav button {
    display: inline-flex; align-items: center; gap: .25rem; padding: .6rem .7rem; min-height: 44px;
    font-family: var(--font-head); font-weight: 600; font-size: 1.06rem; letter-spacing: .02em;
    color: var(--ink-900); text-decoration: none; border-radius: var(--r-sm);
  }
  .nav a:hover, .nav button:hover { color: var(--orange-700); }
  .nav .is-active { color: var(--orange-700); box-shadow: inset 0 -3px 0 var(--orange-600); }
  .nav .has-sub { position: relative; }
  .nav .has-sub svg { width: 12px; height: 12px; transition: transform .2s; }
  .nav .sub {
    position: absolute; top: 100%; left: 0; min-width: 250px; padding: var(--sp-2); list-style: none;
    background: var(--surface-0); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-float);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease);
  }
  .nav .sub a { display: flex; width: 100%; font-family: var(--font-body); font-weight: 500; font-size: .98rem; }
  .nav .sub a:hover { background: var(--cream-50); }
  .nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub, .nav .has-sub.is-open .sub { opacity: 1; visibility: visible; transform: none; }
  .nav .has-sub.is-open > button svg { transform: rotate(180deg); }
  .header-cta { display: flex; align-items: center; gap: var(--sp-3); }
  .header-phone { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--ink-950); text-decoration: none; white-space: nowrap; }
  .burger { display: none; width: 48px; height: 48px; border-radius: var(--r-sm); border: 1px solid var(--line); place-items: center; }
  .burger svg { width: 24px; height: 24px; }

  .nav a { white-space: nowrap; }
  @media (max-width: 1280px) {
    .header-phone { display: none; }
  }
  @media (max-width: 1100px) {
    .header-cta { margin-left: auto; }
    .burger { display: grid; margin-left: auto; }
    .header-cta .btn { display: none; }
    .nav {
      position: fixed; inset: var(--header-h) 0 0 0; background: var(--surface-0); padding: var(--sp-5) var(--gutter);
      overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s; margin: 0;
    }
    .nav.is-open { transform: none; visibility: visible; transition: transform .3s var(--ease); }
    .nav > ul { flex-direction: column; }
    .nav a, .nav button { width: 100%; font-size: 1.3rem; justify-content: space-between; }
    .nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 var(--sp-4); display: none; }
    .nav .has-sub.is-open .sub { display: block; }
    .topbar__info span:not(:first-child) { display: none; }
  }
  @media (max-width: 560px) { .topbar__info { display: none; } .topbar .container { justify-content: center; } }
  /* Mobitel: bez gornje trake "Nazovite odmah" (poziv je u donjoj traci). */
  @media (max-width: 768px) { .topbar { display: none; } }

  /* ----- Hero ----- */
  .hero { position: relative; isolation: isolate; color: var(--white); overflow: hidden; background: var(--ink-950); }
  .hero__media { position: absolute; inset: 0; z-index: -2; }
  .hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 55%; transform-origin: 70% 50%; }
  .hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--scrim); }
  .hero .container { min-height: clamp(560px, 82vh, 760px); display: flex; flex-direction: column; justify-content: center; padding-block: var(--sp-8); }
  .hero__content { max-width: 640px; }
  .hero h1 { color: var(--white); }
  .hero p { font-size: 1.15rem; color: color-mix(in srgb, var(--white) 86%, transparent); margin-top: var(--sp-5); max-width: 52ch; }
  .hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-6); margin-top: var(--sp-6); }
  .hero__tagline { margin-top: var(--sp-6); font-family: var(--font-head); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .95rem; color: color-mix(in srgb, var(--white) 75%, transparent); }
  .hero--page .container { min-height: clamp(340px, 46vh, 460px); }
  /* Početna: slika preko cijelog ekrana (širina i visina), ispod topbara i headera. */
  .hero--right .container { min-height: calc(100svh - var(--header-h) - 46px); }
  @media (max-width: 768px) { .hero--right .container { min-height: calc(100svh - var(--header-h)); } }
  .hero--right .hero__media img { transform-origin: 50% 50%; transform: scale(1.04); }
  .hero__media picture { display: contents; }
  /* Mobitel: vertikalna fotografija (tamno nebo gore za tekst, kombi dolje). */
  @media (max-width: 600px) {
    .hero--right .hero__media img { object-position: 55% 100% !important; transform: none !important; animation: none !important;
      -webkit-mask-image: none; mask-image: none; }
  }
  .breadcrumbs { display: flex; gap: .5rem; flex-wrap: wrap; font-size: .92rem; margin-top: var(--sp-4); color: color-mix(in srgb, var(--white) 78%, transparent); list-style: none; padding: 0; }
  .breadcrumbs a { color: var(--white); }
  .breadcrumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .6; }

  /* ----- Fork ----- */
  .fork { position: relative; z-index: 2; margin-top: calc(var(--sp-8) * -1); }
  .fork__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); }
  .fork-card {
    position: relative; display: grid; grid-template-columns: 42% 1fr; background: var(--surface-0);
    border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-float);
    text-decoration: none; color: inherit; transition: transform .3s var(--ease);
  }
  .fork-card:hover { transform: translateY(-4px); }
  .fork-card__img { overflow: hidden; }
  .fork-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
  .fork-card:hover .fork-card__img img { transform: scale(1.03); }
  .fork-card__body { padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3); }
  .fork-card__kicker { font-family: var(--font-head); font-weight: 700; letter-spacing: .16em; font-size: .8rem; text-transform: uppercase; color: var(--orange-700); }
  .fork-card h2 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); }
  .fork-card ul { list-style: none; padding: 0; display: grid; gap: .15rem; font-size: .98rem; }
  .fork-card li::before { content: "—"; color: var(--orange-600); margin-right: .5rem; }
  .fork-card .link-more { margin-top: auto; }
  .fork-card--dark { background: var(--ink-950); border-color: var(--ink-950); color: var(--body-400); }
  .fork-card--dark h2, .fork-card--dark strong { color: var(--white); }
  .fork-card--dark .fork-card__kicker, .fork-card--dark .link-more { color: var(--orange-500); }
  @media (max-width: 900px) { .fork__grid { grid-template-columns: 1fr; } }
  @media (max-width: 520px) { .fork-card { grid-template-columns: 1fr; } .fork-card__img { aspect-ratio: 16/9; } }

  /* ----- About ----- */
  .about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
  .about__text p + p { margin-top: var(--sp-4); }
  .checks { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3) var(--sp-5); list-style: none; padding: 0; margin: var(--sp-6) 0; }
  .checks li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink-900); font-weight: 500; }
  .checks svg { flex: none; width: 22px; height: 22px; color: var(--orange-600); margin-top: 2px; }
  .about__media { position: relative; padding: 0 0 12% 0; }
  .about__media .img-main { width: 86%; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1/1; }
  .about__media .img-main img, .about__media .img-over img { width: 100%; height: 100%; object-fit: cover; }
  .about__media .img-over {
    position: absolute; right: 0; top: 18%; width: 46%; aspect-ratio: 3/4; border-radius: var(--r-lg); overflow: hidden;
    border: 8px solid var(--surface-0); box-shadow: var(--sh-float);
  }
  .float-card {
    position: absolute; left: 6%; bottom: 0; display: flex; align-items: center; gap: var(--sp-4);
    background: var(--surface-0); border-radius: var(--r-md); padding: var(--sp-4) var(--sp-5); box-shadow: var(--sh-float);
  }
  .float-card .ico { width: 54px; height: 54px; border-radius: 50%; background: var(--orange-100); color: var(--orange-600); display: grid; place-items: center; }
  .float-card .ico svg { width: 28px; height: 28px; }
  .float-card strong { display: block; font-family: var(--font-head); font-size: 2.6rem; line-height: 1; color: var(--ink-950); }
  .float-card span { font-size: .92rem; }
  /* Manja slika (ključevi) odmaknuta udesno od glavne; koliko — ovisi o slobodnom prostoru uz rub ekrana. */
  @media (min-width: 1024px) { .about__media .img-over { right: -6%; } }
  @media (min-width: 1400px) { .about__media .img-over { right: -12%; } }
  @media (min-width: 1600px) { .about__media .img-over { right: -18%; } }
  @media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
  @media (max-width: 480px) { .checks { grid-template-columns: 1fr; } }

  /* ----- Service cards ----- */
  .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--sp-5); }
  .svc {
    display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-6); background: var(--surface-0);
    border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform .3s var(--ease), box-shadow .3s;
  }
  .svc:hover { transform: translateY(-4px); box-shadow: var(--sh-float); }
  .svc .ico { width: 56px; height: 56px; border-radius: var(--r-md); background: var(--orange-100); color: var(--orange-600); display: grid; place-items: center; margin-bottom: var(--sp-2); }
  .svc .ico svg { width: 28px; height: 28px; }
  .svc p { flex: 1; }
  .svc--accent { background: var(--orange-700); border-color: var(--orange-700); color: var(--white); }
  .svc--accent h3, .svc--accent .link-more { color: var(--white); }
  .svc--accent .ico { background: color-mix(in srgb, var(--white) 20%, transparent); color: var(--white); }
  .svc--accent p { color: var(--white); font-weight: 500; }
  .svc__img { margin: calc(var(--sp-6) * -1) calc(var(--sp-6) * -1) var(--sp-3); aspect-ratio: 16/10; overflow: hidden; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
  .svc:hover .svc__img img { transform: scale(1.03); }

  /* ----- Vučna služba ----- */
  .tow__head { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: end; margin-bottom: var(--sp-7); }
  .tow .lead { margin-top: var(--sp-4); max-width: 60ch; }
  .tow__area { margin-top: var(--sp-3); max-width: 60ch; font-size: .97rem; }
  .tow a:not(.btn, .link-more, .tow__phone) { color: var(--orange-500); text-underline-offset: .15em; }
  .tow__facts { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); list-style: none; padding: 0; }
  .tow__facts li { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem; border: 1px solid var(--line-dark); border-radius: var(--r-pill); color: var(--white); font-weight: 500; font-size: .95rem; }
  .tow__facts .tow__facts-hot { background: var(--orange-700); border-color: var(--orange-700); }
  .tow__facts-hot a { display: inline-flex; align-items: center; gap: .5rem; color: var(--white); text-decoration: none; }
  .tow__facts-hot svg { color: var(--white) !important; }
  .tow__facts svg { width: 18px; height: 18px; color: var(--orange-500); flex: none; }
  .tow__call { background: var(--orange-700); color: var(--white); border-radius: var(--r-lg); padding: var(--sp-6); display: grid; gap: var(--sp-2); box-shadow: var(--sh-float); }
  .tow__call p { font-family: var(--font-head); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .9rem; }
  .tow__phone { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1.05; color: var(--white); text-decoration: none; white-space: nowrap; }
  .tow__phone svg { width: .8em; height: .8em; flex: none; }
  .tow__phone:hover { text-decoration: underline; text-underline-offset: .15em; }
  .tow__call .link-more { color: var(--white); }
  .tow__gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); }
  .tow__gallery figure { position: relative; margin: 0; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/3; background: var(--ink-900); }
  .tow__gallery figure:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .tow__gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
  .tow__gallery figure:hover img { transform: scale(1.04); }
  .tow__gallery figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: var(--sp-5) var(--sp-4) var(--sp-3);
    background: linear-gradient(transparent, color-mix(in srgb, var(--ink-950) 80%, transparent));
    color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; letter-spacing: .02em;
  }
  @media (max-width: 900px) { .tow__head { grid-template-columns: 1fr; align-items: start; } }
  @media (max-width: 700px) { .tow__gallery { grid-template-columns: 1fr 1fr; } .tow__gallery figure:first-child { aspect-ratio: 4/3; grid-row: auto; } }
  @media (max-width: 380px) { .tow__phone { font-size: 2rem; } }

  /* ----- Why band ----- */
  .why { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink-950); }
  .why__media { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; min-height: 560px; }
  .why__media figure { overflow: hidden; }
  .why__media figure:first-child { grid-row: span 2; }
  .why__media img { width: 100%; height: 100%; object-fit: cover; }
  .why__caption {
    position: absolute; left: var(--gutter); bottom: var(--sp-6); max-width: 320px; background: var(--orange-700); color: var(--white);
    padding: var(--sp-5); border-radius: var(--r-md); box-shadow: var(--sh-float);
  }
  .why__caption h3 { color: var(--white); font-size: 1.5rem; }
  .why__caption p { font-size: .96rem; margin-top: .3rem; font-weight: 500; }
  .why__panel { padding: var(--section) clamp(1.5rem, 5vw, 5rem); color: var(--body-400); }
  .why__panel h2 { color: var(--white); }
  .why__panel > p { margin-top: var(--sp-4); max-width: 52ch; }
  .stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6) var(--sp-5); margin-top: var(--sp-7); list-style: none; padding: 0; }
  .stat { display: flex; gap: var(--sp-4); align-items: flex-start; }
  .stat .ico { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--orange-500); display: grid; place-items: center; }
  .stat .ico svg { width: 24px; height: 24px; }
  .stat strong { display: block; font-family: var(--font-head); font-size: 2.1rem; line-height: 1.05; color: var(--white); }
  .stat span { font-size: .95rem; }
  .stat strong span { font-size: inherit; }
  .stat div { min-width: 0; overflow-wrap: anywhere; }
  @media (max-width: 960px) { .why { grid-template-columns: 1fr; } .why__media { min-height: 380px; } }
  @media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }

  /* ----- Fleet ----- */
  .fleet-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-5); flex-wrap: wrap; margin-bottom: var(--sp-6); }
  .fleet-head .section-head { margin-bottom: 0; }
  .chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
  .chip {
    min-height: 44px; padding: .5rem 1.1rem; border-radius: var(--r-pill); border: 1px solid var(--line);
    background: var(--surface-0); color: var(--ink-900); font-weight: 600; font-size: .96rem; transition: .2s;
  }
  .chip:hover { border-color: var(--ink-950); }
  .chip[aria-pressed="true"] { background: var(--ink-950); border-color: var(--ink-950); color: var(--white); }
  .fleet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: var(--sp-5); }
  .fleet-grid:has(.vcard) .fleet-empty { display: none; }
  .fleet-empty { padding: var(--sp-6); border: 1px dashed var(--line); border-radius: var(--r-lg); text-align: center; }
  .fleet-note { margin-top: var(--sp-5); font-size: .95rem; text-align: center; }
  .fleet-more { display: flex; justify-content: center; margin-top: var(--sp-6); }

  .vcard-wrap { container-type: inline-size; }
  .vcard {
    position: relative; display: flex; flex-direction: column; height: 100%; background: var(--surface-0);
    border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .3s, transform .3s var(--ease);
  }
  .vcard:hover { box-shadow: var(--sh-float); transform: translateY(-3px); }
  .vcard[hidden] { display: none; }
  .vcard__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--surface-50); }
  .vcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
  .vcard:hover .vcard__media img { transform: scale(1.03); }
  .ribbon {
    position: absolute; top: 14px; left: -34px; transform: rotate(-35deg); width: 140px; text-align: center;
    background: var(--ink-950); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: .78rem;
    letter-spacing: .14em; padding: .25rem 0; z-index: 2;
  }
  .lic-badge {
    position: absolute; right: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: .35rem;
    background: var(--surface-0); color: var(--ink-950); border-radius: var(--r-pill); padding: .3rem .5rem .3rem .7rem;
    font-size: .78rem; font-weight: 600; text-decoration: none; box-shadow: var(--sh-card); min-height: 32px;
  }
  .lic-badge b { background: var(--orange-700); color: var(--white); border-radius: var(--r-pill); padding: .05rem .5rem; font-family: var(--font-head); font-size: .95rem; letter-spacing: .03em; }
  .avail { position: absolute; left: 12px; bottom: 12px; z-index: 2; background: color-mix(in srgb, var(--ink-950) 80%, transparent); color: var(--white); border-radius: var(--r-pill); font-size: .78rem; padding: .2rem .7rem; }
  .vcard__body { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-5); flex: 1; }
  .vcard__cat { font-family: var(--font-head); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .76rem; color: var(--orange-700); }
  .vcard h3 { font-size: 1.45rem; }
  .vcard h3 a { text-decoration: none; }
  .vcard h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
  .vcard__sub { font-size: .95rem; margin-top: -.4rem; }
  .specs { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; }
  .specs li { display: inline-flex; align-items: center; gap: .35rem; font-size: .86rem; color: var(--ink-700); background: var(--surface-50); border-radius: var(--r-sm); padding: .3rem .55rem; }
  .specs svg { width: 15px; height: 15px; color: var(--orange-600); }
  .vcard__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); margin-top: auto; padding-top: var(--sp-4); border-top: 1px solid var(--line); }
  .price { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--ink-950); line-height: 1.1; }
  .price small { display: block; font-family: var(--font-body); font-size: .8rem; font-weight: 400; color: var(--body-600); }
  .vcard__foot .btn { position: relative; z-index: 3; }

  @container (min-width: 520px) {
    .vcard { flex-direction: row; }
    .vcard__media { aspect-ratio: auto; width: 46%; flex: none; }
  }
  @container (max-width: 300px) {
    .vcard__foot { flex-direction: column; align-items: stretch; }
  }

  /* ----- Weekend route ----- */
  .route { position: relative; overflow: hidden; background: var(--ink-950); color: var(--body-400); isolation: isolate; }
  .route__bg { position: absolute; inset: 0; z-index: -2; }
  .route__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
  .route::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--ink-950) 30%, color-mix(in srgb, var(--ink-950) 60%, transparent)); }
  .route__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
  .route h2 { color: var(--white); }
  .route .lead { margin-top: var(--sp-4); }
  .route__facts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); margin: var(--sp-6) 0; list-style: none; padding: 0; }
  .route__facts li { border: 1px solid var(--line-dark); border-radius: var(--r-md); padding: var(--sp-4); background: color-mix(in srgb, var(--ink-900) 80%, transparent); }
  .route__facts b { display: block; font-family: var(--font-head); color: var(--white); font-size: 1.15rem; letter-spacing: .02em; }
  .route__facts span { font-size: .93rem; }
  .route__map { background: var(--ink-900); border: 1px solid var(--line-dark); border-radius: var(--r-lg); padding: var(--sp-5); }
  .route__map svg { width: 100%; height: auto; }
  .route__map figcaption { font-size: .88rem; margin-top: var(--sp-3); text-align: center; }
  .route-line { stroke-dasharray: 8 10; animation: dash 1.6s linear infinite; }
  @keyframes dash { to { stroke-dashoffset: -36; } }
  .return-callout { position: relative; margin: 0 0 var(--sp-6); padding: var(--sp-5) var(--sp-5) var(--sp-5); border: 2px solid var(--orange-600); border-radius: var(--r-lg); background: color-mix(in srgb, var(--orange-600) 14%, var(--ink-900)); }
  .return-callout__badge { position: absolute; top: 0; right: var(--sp-5); transform: translateY(-50%); background: var(--orange-600); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; padding: .3rem .8rem; border-radius: var(--r-pill); }
  .return-callout h3 { display: flex; align-items: center; gap: .55rem; color: var(--white); font-size: clamp(1.35rem, 2vw, 1.65rem); }
  .return-callout h3 svg { width: 26px; height: 26px; color: var(--orange-500); flex: none; }
  .return-callout p { margin-top: var(--sp-2); color: color-mix(in srgb, var(--white) 82%, transparent); }
  .return-callout .link-more { display: inline-flex; margin-top: var(--sp-3); color: var(--orange-500); }
  .route__actions { display: flex; gap: var(--sp-4); flex-wrap: wrap; align-items: center; }
  .route__meta { font-size: .92rem; }
  @media (max-width: 900px) { .route__grid { grid-template-columns: 1fr; } }
  @media (max-width: 480px) { .route__facts { grid-template-columns: 1fr; } }

  /* ----- Steps ----- */
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); counter-reset: step; list-style: none; padding: 0; }
  .step { position: relative; padding: var(--sp-6); border-radius: var(--r-lg); background: var(--surface-0); border: 1px solid var(--line); }
  .step__img { aspect-ratio: 16/10; border-radius: var(--r-md); overflow: hidden; margin-bottom: var(--sp-5); }
  .step__img img { width: 100%; height: 100%; object-fit: cover; }
  .step__num { position: absolute; top: calc(var(--sp-6) + 12px); left: calc(var(--sp-6) + 12px); width: 48px; height: 48px; border-radius: 50%; background: var(--orange-600); color: var(--white); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; }
  .step h3 { margin-bottom: var(--sp-2); }
  /* Koraci bez slike: broj stoji iznad naslova. */
  .step:not(:has(.step__img)) .step__num { position: static; margin-bottom: var(--sp-4); }
  @media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

  /* ----- Conditions ----- */
  .cond { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
  .cond__list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; list-style: none; padding: 0; margin: 0; }
  .cond__list li { background: var(--surface-0); padding: var(--sp-5); display: flex; gap: var(--sp-3); }
  .cond__list svg { flex: none; width: 26px; height: 26px; color: var(--orange-600); }
  .cond__list dt, .cond__list .k { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--ink-950); letter-spacing: .02em; }
  .cond__list .v { font-size: .96rem; }
  .token { font-family: ui-monospace, Menlo, monospace; font-size: .86em; background: var(--orange-100); color: var(--ink-900); padding: .05rem .35rem; border-radius: 4px; }
  @media (max-width: 900px) { .cond { grid-template-columns: 1fr; } }
  @media (max-width: 520px) { .cond__list { grid-template-columns: 1fr; } }

  /* ----- Licence explainer ----- */
  .lic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
  .lic-card { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-6); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface-0); }
  .lic-card--mid { border-color: var(--ink-950); box-shadow: var(--sh-float); }
  .lic-card__code { display: inline-flex; align-self: flex-start; font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--white); background: var(--ink-950); border-radius: var(--r-md); padding: .4rem .9rem; }
  .lic-card--mid .lic-card__code { background: var(--orange-600); }
  .lic-card ul { padding-left: 1.1rem; display: grid; gap: .35rem; }
  .lic-card li::marker { color: var(--orange-600); }
  .lic-diagram { display: flex; align-items: center; gap: .3rem; font-family: var(--font-head); font-weight: 700; color: var(--ink-950); font-size: 1.05rem; flex-wrap: wrap; }
  .lic-diagram span { background: var(--surface-50); border-radius: var(--r-sm); padding: .25rem .55rem; }
  .lic-note { margin-top: var(--sp-6); padding: var(--sp-5); border-left: 4px solid var(--orange-600); background: var(--cream-50); border-radius: 0 var(--r-md) var(--r-md) 0; font-size: .97rem; }
  .lic-example { margin-top: var(--sp-5); font-size: .97rem; }
  @media (max-width: 900px) { .lic-grid { grid-template-columns: 1fr; } }

  /* ----- Testimonials ----- */
  .quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
  .quote { padding: var(--sp-6); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface-0); }
  .stars { display: flex; gap: 2px; color: var(--orange-600); margin-bottom: var(--sp-3); }
  .quote footer { display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-4); }
  .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--orange-100); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: var(--orange-700); }

  /* ----- FAQ ----- */
  .faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
  .faq__list { display: grid; gap: var(--sp-3); }
  .faq details { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-0); transition: border-color .2s; }
  .faq details[open] { border-color: var(--ink-950); }
  .faq summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
    padding: var(--sp-4) var(--sp-5); min-height: 56px; font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; color: var(--ink-950);
  }
  .faq summary::-webkit-details-marker { display: none; }
  /* Plus/minus nacrtan linijama (ne slovom), da bude točno u sredini kruga */
  .faq summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; transition: transform .25s;
    background: linear-gradient(var(--orange-700) 0 0) center / 12px 2px no-repeat, linear-gradient(var(--orange-700) 0 0) center / 2px 12px no-repeat, var(--orange-100); }
  .faq details[open] summary::after { background: linear-gradient(var(--white) 0 0) center / 12px 2px no-repeat, var(--orange-600); }
  .faq details > div { padding: 0 var(--sp-5) var(--sp-5); }
  @media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }

  /* ----- Contact ----- */
  .contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); }
  .big-phone { display: inline-flex; align-items: center; gap: var(--sp-4); text-decoration: none; margin: var(--sp-5) 0; }
  .big-phone .ico { width: 64px; height: 64px; border-radius: 50%; background: var(--orange-600); color: var(--white); display: grid; place-items: center; }
  .big-phone .ico svg { width: 28px; height: 28px; }
  .big-phone strong { font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--ink-950); line-height: 1; }
  .big-phone small { display: block; font-size: .9rem; }
  .contact__list { list-style: none; padding: 0; display: grid; gap: var(--sp-3); margin-bottom: var(--sp-5); }
  .contact__list li { display: flex; gap: var(--sp-3); align-items: flex-start; }
  .contact__list svg { flex: none; width: 20px; height: 20px; color: var(--orange-600); margin-top: 4px; }
  .msg-btns { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-bottom: var(--sp-5); }
  .map { height: 300px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface-50); }
  .map-fallback { height: 100%; display: grid; place-items: center; text-align: center; padding: var(--sp-5); }
  .map iframe { display: block; width: 100%; height: 100%; border: 0; }
  .map-link { margin-top: var(--sp-2); font-size: .92rem; }

  .form { background: var(--surface-0); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: var(--sh-card); }
  .form h3 { margin-bottom: var(--sp-2); }
  .form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); margin-top: var(--sp-5); }
  .field { display: flex; flex-direction: column; gap: .35rem; }
  .field--full { grid-column: 1 / -1; }
  .field label { font-weight: 600; color: var(--ink-900); font-size: .95rem; }
  .field label .req { color: var(--error); }
  .field input, .field select, .field textarea {
    min-height: 48px; padding: .65rem .9rem; border: 1px solid #CFCAC2; border-radius: var(--r-sm); background: var(--surface-0);
    color: var(--ink-950); transition: border-color .2s, box-shadow .2s;
  }
  .field textarea { min-height: 110px; resize: vertical; }
  .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange-600); box-shadow: 0 0 0 3px var(--orange-100); outline: none; }
  .field .err { display: none; align-items: center; gap: .35rem; color: var(--error); font-size: .88rem; font-weight: 500; }
  .field .err::before { content: "!"; width: 18px; height: 18px; border-radius: 50%; background: var(--error); color: var(--white); display: grid; place-items: center; font-size: .75rem; font-weight: 700; flex: none; }
  .field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--error); }
  .field.is-invalid .err { display: flex; }
  .consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .93rem; }
  .consent input { width: 22px; height: 22px; min-height: 0; margin-top: 3px; accent-color: var(--orange-600); flex: none; }
  .form__actions { margin-top: var(--sp-5); display: flex; gap: var(--sp-4); align-items: center; flex-wrap: wrap; }
  .form-success { display: none; margin-top: var(--sp-4); padding: var(--sp-4); border-radius: var(--r-md); background: color-mix(in srgb, var(--success) 10%, var(--surface-0)); color: var(--success); font-weight: 600; border: 1px solid color-mix(in srgb, var(--success) 35%, transparent); }
  .form-success.is-visible { display: block; }
  .form-error { margin-top: var(--sp-4); padding: var(--sp-4); border-radius: var(--r-md); background: color-mix(in srgb, var(--error) 8%, var(--surface-0)); color: var(--error); font-weight: 600; border: 1px solid color-mix(in srgb, var(--error) 35%, transparent); }
  .form-error[hidden] { display: none; }

  /* Skočni prozor nakon poslanog upita */
  .sent-modal {
    position: fixed; inset: 0; margin: auto; height: fit-content; max-height: calc(100dvh - 2rem); overflow: auto;
    width: min(100vw - 2rem, 440px); padding: var(--sp-7) var(--sp-6) var(--sp-6); border: 0; border-radius: var(--r-lg);
    background: var(--surface-0); color: var(--body-600); text-align: center; box-shadow: var(--sh-float);
  }
  .sent-modal::backdrop { background: color-mix(in srgb, var(--ink-950) 60%, transparent); backdrop-filter: blur(3px); }
  .sent-modal__icon { width: 76px; height: 76px; margin: 0 auto var(--sp-5); border-radius: 50%; display: grid; place-items: center; background: var(--success); color: var(--white); box-shadow: 0 0 0 10px color-mix(in srgb, var(--success) 15%, transparent); }
  .sent-modal__icon svg { width: 40px; height: 40px; }
  .sent-modal h2 { font-size: clamp(1.8rem, 4vw, 2.2rem); color: var(--ink-950); }
  .sent-modal p { margin-top: var(--sp-3); }
  .sent-modal__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; margin-top: var(--sp-6); }
  .sent-modal__icon path { stroke-dasharray: 24; stroke-dashoffset: 0; }
  @media (prefers-reduced-motion: no-preference) {
    .sent-modal[open] { animation: modalIn .35s var(--ease); }
    .sent-modal[open]::backdrop { animation: fadeIn .3s ease; }
    .sent-modal[open] .sent-modal__icon path { animation: tick .5s .2s var(--ease) backwards; }
  }
  @keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.96); } }
  @keyframes fadeIn { from { opacity: 0; } }
  @keyframes tick { from { stroke-dashoffset: 24; } }
  .form button[disabled] { opacity: .6; cursor: wait; }
  @media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
  /* Kontakt: karta lijevo ispod podataka na računalu, a na mobitelu ispod obrasca */
  .map-mobile { display: none; }
  @media (max-width: 900px) { .map-desktop { display: none; } .map-mobile { display: block; } }
  @media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } }

  /* ----- Closing CTA ----- */
  .cta-band { position: relative; overflow: hidden; isolation: isolate; color: var(--white); text-align: center; background: var(--ink-950); }
  .cta-band img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .5; }
  .cta-band h2 { color: var(--white); max-width: 18ch; margin-inline: auto; }
  .cta-band p { margin: var(--sp-4) auto var(--sp-6); max-width: 52ch; color: color-mix(in srgb, var(--white) 82%, transparent); }
  .cta-band .actions { display: flex; justify-content: center; gap: var(--sp-4); flex-wrap: wrap; }

  /* ----- Generic content pages ----- */
  .split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
  .split--rev > :first-child { order: 2; }
  .split img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
  .prose { max-width: 72ch; }
  .prose > * + * { margin-top: var(--sp-4); }
  .prose h2 { margin-top: var(--sp-7); font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
  .prose h3 { margin-top: var(--sp-6); }
  .prose ul, .prose ol { padding-left: 1.2rem; display: grid; gap: .35rem; }
  .prose li::marker { color: var(--orange-600); }
  .prose a { color: var(--orange-700); }
  .prose table { width: 100%; border-collapse: collapse; font-size: .96rem; }
  .prose th, .prose td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
  .prose th { font-family: var(--font-head); color: var(--ink-950); font-size: 1.05rem; }
  .info-box { padding: var(--sp-5); border-radius: var(--r-md); background: var(--cream-50); border: 1px solid var(--line); }
  /* Uvjeti najma: kartice s detaljima (3 stupca na računalu) */
  .terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
  .term { padding: var(--sp-6); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface-0); display: flex; flex-direction: column; gap: var(--sp-3); }
  .term__ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-50); color: var(--orange-600); }
  .term__ico svg { width: 24px; height: 24px; }
  .term h3 { font-size: 1.35rem; }
  .term p { font-size: .98rem; }
  .term a { color: var(--orange-700); }
  .terms__cta { margin-top: var(--sp-6); padding: var(--sp-5) var(--sp-6); border-radius: var(--r-lg); background: var(--cream-50); border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); flex-wrap: wrap; }
  .terms__cta p { margin: 0; font-size: 1.05rem; }
  .terms__cta a:not(.btn) { color: var(--orange-700); font-weight: 600; }
  @media (max-width: 1000px) { .terms { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 640px) { .terms { grid-template-columns: 1fr; } .term { padding: var(--sp-5); } .terms__cta .btn { width: 100%; justify-content: center; } }
  .ticks { list-style: none; padding: 0; display: grid; gap: .6rem; }
  .ticks li { display: flex; gap: .6rem; }
  .ticks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%; background: var(--orange-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
  .gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); }
  .gallery a { display: block; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/3; }
  .gallery a:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
  .gallery a:hover img { transform: scale(1.03); }
  .spec-table { width: 100%; border-collapse: collapse; }
  .spec-table th, .spec-table td { padding: .7rem 0; border-bottom: 1px solid var(--line); text-align: left; }
  .spec-table th { font-weight: 500; color: var(--body-600); width: 50%; }
  .spec-table td { font-weight: 600; color: var(--ink-950); }
  .detail { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
  .detail__aside { position: sticky; top: calc(var(--header-h) + 20px); padding: var(--sp-6); border: 1px solid var(--line); border-radius: var(--r-lg); }
  .detail__aside .price { font-size: 2rem; }
  .detail__aside .btn { width: 100%; margin-top: var(--sp-3); }
  @media (max-width: 900px) { .split, .detail { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } .detail__aside { position: static; } }
  @media (max-width: 560px) { .gallery { grid-template-columns: 1fr 1fr; } }
  .notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
  .notfound .code { font-family: var(--font-head); font-size: clamp(6rem, 18vw, 11rem); color: var(--orange-600); line-height: 1; font-weight: 700; }

  /* ----- Footer ----- */
  .site-footer { background: var(--ink-950); color: var(--body-400); padding-top: var(--sp-8); font-size: .97rem; }
  .footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: var(--sp-6); padding-bottom: var(--sp-7); }
  .site-footer h2 { font-size: 1.15rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-500); margin-bottom: var(--sp-4); }
  .site-footer ul { list-style: none; padding: 0; display: grid; gap: .25rem; }
  .site-footer a { color: var(--body-400); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
  .site-footer a:hover { color: var(--white); }
  .footer-phone { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--white) !important; line-height: 1.1; }
  .footer-brand p { margin: var(--sp-4) 0; max-width: 34ch; }
  .footer-brand .logo svg { height: 54px; }
  .social { display: flex; gap: var(--sp-2); }
  .social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); justify-content: center; }
  .social a:hover { background: var(--orange-600); border-color: var(--orange-600); }
  .social svg { width: 18px; height: 18px; }
  .legal { border-top: 1px solid var(--line-dark); padding: var(--sp-5) 0 calc(var(--sp-5) + 64px); font-size: .86rem; display: grid; gap: var(--sp-2); }
  .legal__links { display: flex; gap: var(--sp-4); flex-wrap: wrap; }
  .made-by { margin-left: auto; }
  .made-by a { color: var(--orange-500); font-weight: 600; }
  @media (max-width: 560px) { .made-by { margin-left: 0; flex-basis: 100%; } }
  @media (min-width: 769px) { .legal { padding-bottom: var(--sp-5); } }
  @media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
  /* Mobitel: logo preko cijele širine, ispod linkovi lijevo i kontakt desno */
  @media (max-width: 900px) { .footer-brand { grid-column: 1 / -1; } }
  @media (max-width: 520px) { .footer-grid { gap: var(--sp-6) var(--sp-4); } .footer-phone { font-size: 1.5rem; } .footer-contact { overflow-wrap: anywhere; } }

  /* Početna: kratka kontakt traka s gumbom na stranicu Kontakt */
  .contact-cta { text-align: center; }
  .contact-cta h2 { max-width: 20ch; margin-inline: auto; }
  .contact-cta p:not(.eyebrow) { margin: var(--sp-4) auto var(--sp-6); max-width: 52ch; }
  .contact-cta .eyebrow { justify-content: center; }

  /* Mobitel: kartice jedna kraj druge, listaju se prstom lijevo-desno */
  @media (max-width: 700px) {
    #o-nama .checks { display: none; }
    #usluge .cards, .fleet-grid, .steps, .lic-grid {
      display: flex; gap: var(--sp-4); overflow-x: auto; overscroll-behavior-x: contain;
      scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
      margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) var(--sp-4);
    }
    #usluge .cards::-webkit-scrollbar, .fleet-grid::-webkit-scrollbar, .steps::-webkit-scrollbar, .lic-grid::-webkit-scrollbar { display: none; }
    #usluge .cards > *, .fleet-grid > .vcard-wrap, .steps > *, .lic-grid > * { flex: 0 0 82%; scroll-snap-align: start; }
    .fleet-grid > .fleet-empty { flex: 0 0 100%; }
    .fleet-grid > .vcard-wrap > .vcard { height: 100%; }
  }

  /* ----- Mobile action bar ----- */
  .mobile-bar { display: none; }
  @media (max-width: 768px) {
    .mobile-bar {
      position: fixed; inset: auto 0 0 0; z-index: 120; display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2);
      padding: var(--sp-2) var(--sp-3) calc(var(--sp-2) + env(safe-area-inset-bottom)); background: var(--surface-0); border-top: 1px solid var(--line);
      box-shadow: 0 -8px 24px -12px color-mix(in srgb, var(--ink-950) 30%, transparent);
    }
    .mobile-bar .btn { width: 100%; }
  }

  /* ----- Cookie banner ----- */
  .cookie {
    position: fixed; z-index: 130; left: var(--sp-4); bottom: var(--sp-4); max-width: 420px; padding: var(--sp-5);
    background: var(--ink-950); color: var(--body-400); border-radius: var(--r-lg); box-shadow: var(--sh-float); font-size: .93rem;
  }
  .cookie[hidden] { display: none; }
  .cookie strong { color: var(--white); font-family: var(--font-head); font-size: 1.15rem; display: block; margin-bottom: .3rem; }
  .cookie a { color: var(--white); }
  .cookie .row { display: flex; gap: var(--sp-2); margin-top: var(--sp-4); flex-wrap: wrap; }
  @media (max-width: 768px) { .cookie { left: var(--sp-3); right: var(--sp-3); bottom: 80px; max-width: none; } }

  /* ----- Reveal (CSS scroll-driven where supported; JS/GSAP otherwise) ----- */
  .reveal { opacity: 1; }
  @supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
      .reveal-css { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    }
  }
  @keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

  @keyframes heroPanRight { from { transform: scale(1.04); } to { transform: scale(1.1); } }
  @keyframes heroPan { from { transform: scale(1.08) translateX(0); } to { transform: scale(1.08) translateX(-2.5%); } }
  @media (prefers-reduced-motion: no-preference) {
    .hero__media img { animation: heroPan 24s ease-in-out infinite alternate; }
    .hero--right .hero__media img { animation-name: heroPanRight; }
  }
}

/* ---------- Utilities ---------- */
@layer utilities {
  .visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .mt-4 { margin-top: var(--sp-4); }
  .mt-5 { margin-top: var(--sp-5); }
  .mt-6 { margin-top: var(--sp-6); }
  .center { text-align: center; }
  .flex-gap { display: flex; gap: var(--sp-3); flex-wrap: wrap; align-items: center; }
  .no-scroll { overflow: hidden; }
}

/* ---------- Preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .swash-pending { --swash: 1; }
  @view-transition { navigation: none; }
}
@media (prefers-contrast: more) {
  :root { --body-600: #3A3D40; --line: #9A958D; --orange-700: #A33310; }
  .btn { border-color: var(--ink-950); }
  .hero::before { background: color-mix(in srgb, var(--ink-950) 85%, transparent); }
}
