/* ==========================================================================
   RDB Ketering — style.css
   Struktura:
   1. Font i tokeni
   2. Reset i osnova
   3. Raspored (container, sekcije)
   4. Tipografija
   5. Dugmad i linkovi
   6. Info traka i header
   7. Mobilni meni
   8. Footer i CTA
   9. Početna — sekcije
   10. Usluge
   11. Kontakt i forma
   12. Hvala, 404, Politika
   13. Pomoćne klase (razmaci, fokus fotografija)
   14. Pristupačnost i smanjen pokret
   ========================================================================== */

/* 1. Font i tokeni ======================================================= */
@font-face {
  font-family: "Cabinet Grotesk";
  src: url("../assets/fonts/CabinetGrotesk-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* Cabinet Grotesk nema ćirilicu: ruska slova uzimaju Onest (isti karakter, self-hosted).
   Ime porodice je isto, pa ostali stilovi ne moraju da se menjaju. */
@font-face {
  font-family: "Cabinet Grotesk";
  src: url("../assets/fonts/Onest-Cyrillic-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  /* Boje */
  --c-brand: #430107;          /* Midnight Cherry */
  --c-brand-hover: #6A0E14;
  --c-ink: #161414;            /* tekst */
  --c-muted: #5E5955;          /* sekundarni tekst */
  --c-subtle: #8E8885;
  --c-bg: #FFFFFF;
  --c-tint: #F8F3F2;           /* svetle sekcije */
  --c-tint-2: #EFE3E1;
  --c-tint-3: #F3E6E5;         /* placeholder oznake */
  --c-on-brand: #E8DEDD;       /* sekundarni tekst na Cherry */
  --c-dark: #161414;           /* footer */
  --c-line: rgba(22, 20, 20, .10);
  --c-line-strong: rgba(22, 20, 20, .18);
  --c-line-light: rgba(255, 255, 255, .18);

  /* Tipografija — jedina skala na sajtu. Druge veličine slova se ne upisuju ručno.
     Naslovi rastu fluidno (telefon → desktop), tekst je fiksan zbog čitljivosti.
     Stil        veličina        prored  razmak slova   upotreba
     H1          40 → 88 px      1.0     -0.035em       naslov stranice (jedan po stranici)
     H2          32 → 64 px      1.0     -0.03em        naslov sekcije
     H3          24 → 28 px      1.15    -0.015em       naslov kartice, istaknut citat, korak
     H4          18 → 20 px      1.25    -0.01em        podnaslov u listi, ime usluge, vrednost
     Broj        32 → 44 px      1.0     -0.03em        velike brojke (2022, 4,8)
     Lead        17 → 19 px      1.5     0              uvodni pasus ispod naslova
     Tekst       17 px           1.55    0              osnovni tekst (min. 16 px na telefonu)
     Mali        15 px           1.5     0              dugmad, meni, sporedni tekst
     Sitni       13 px           1.45    0              opisi slika, napomene, meta podaci
     Natpis      12 px VELIKA    1.2     +0.12em        eyebrow, oznake iznad liste ("CENA") */
  --font: "Cabinet Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-h1: clamp(40px, 6vw, 88px);
  --fs-h2: clamp(32px, 4.6vw, 64px);
  --fs-h3: clamp(24px, 2.2vw, 28px);
  --fs-h4: clamp(18px, 1.5vw, 20px);
  --fs-num: clamp(32px, 3.4vw, 44px);
  --fs-lead: clamp(17px, 1.3vw, 19px);
  --fs-body: 17px;
  --fs-small: 15px;
  --fs-xs: 13px;
  --fs-label: 12px;

  --lh-tight: 1;
  --lh-heading: 1.15;
  --lh-snug: 1.25;
  --lh-body: 1.55;

  --ls-label: .12em;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Raspored */
  --container: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(80px, 10vw, 128px);
  --gap-head: clamp(40px, 5vw, 64px);

  /* Oblici i senke */
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;
  --shadow-float: 0 14px 30px rgba(67, 1, 7, .10);
  --shadow-card: 0 18px 40px rgba(67, 1, 7, .16);

  /* Pokret */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur: 200ms;

  /* Header */
  --topbar-h: 42px;
  --header-h: 84px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

/* Scrollbar u bojama sajta: Cherry na svetloj podlozi */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--c-tint); }
::-webkit-scrollbar-thumb {
  background: var(--c-brand);
  border: 3px solid var(--c-tint);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: var(--c-brand-hover); }
::-webkit-scrollbar-corner { background: var(--c-tint); }
/* Firefox nema ::-webkit-scrollbar, pa dobija standardna svojstva */
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-color: var(--c-brand) var(--c-tint); scrollbar-width: thin; }
}

/* Lenis (mekši skrol). Klase dodaje js/lenis.min.js */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-ink);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  background: var(--c-bg);
  overflow-x: hidden;
}

/* Cabinet ima niža mala slova od standardnih fontova; optički ujednačavamo tekst. */
p, li, a, dd, dt, figcaption, blockquote, button, label, input, select, textarea {
  font-size-adjust: 0.53;
}
h1, h2, h3, h4, .h-display { font-size-adjust: none; }

img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
img { outline: 1px solid rgba(0, 0, 0, .06); outline-offset: -1px; }
img.no-outline, .logo img { outline: 0; }

h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

::selection { background: var(--c-brand); color: #fff; }
/* Duge reči u velikim naslovima (npr. ruski „конфиденциальности“) se dele na telefonu
   umesto da izlaze iz ekrana */
h1, h2, .h1, .h2 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }

:focus-visible {
  outline: 2px solid var(--c-brand);
  outline-offset: 3px;
  border-radius: 8px;
}
.on-brand :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: var(--c-brand);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

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

.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 16px; height: 16px; flex: none; }

/* 3. Raspored ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--tint { background: var(--c-tint); }
.section--flush-top { padding-top: 0; }

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(48px, 7vw, 104px);
  align-items: start;
}
.split--center { align-items: center; }
.split--7-5 { grid-template-columns: 7fr 5fr; }

.section-head {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 64px;
  align-items: end;
  margin-bottom: var(--gap-head);
}
.section-head--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}
.stack { display: flex; flex-direction: column; gap: 20px; }

/* 4. Tipografija ========================================================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-brand);
}
.eyebrow::before,
.eyebrow--center::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.on-brand .eyebrow { color: var(--c-on-brand); }

.h1, .h2, .h3, .h4, .num {
  font-family: var(--font);
  font-weight: var(--fw-bold);
  text-wrap: balance;
}
.h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: -0.035em; }
.h2 { font-size: var(--fs-h2); line-height: var(--lh-tight); letter-spacing: -0.03em; }
.h3 { font-size: var(--fs-h3); line-height: var(--lh-heading); letter-spacing: -0.015em; }
.h4 { font-size: var(--fs-h4); line-height: var(--lh-snug); letter-spacing: -0.01em; }
.num { font-size: var(--fs-num); line-height: var(--lh-tight); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
p, li { text-wrap: pretty; }
.accent { color: var(--c-brand); }
.on-brand .accent { color: var(--c-on-brand); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--c-muted);
  max-width: 60ch;   /* 55–75 znakova u redu = najlakše čitanje */
  text-wrap: pretty;
}
.on-brand .lead, .on-brand .muted { color: var(--c-on-brand); }
.muted { color: var(--c-muted); }
.small { font-size: var(--fs-small); line-height: 1.5; }
.xs { font-size: var(--fs-xs); line-height: 1.45; }
.label {
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--c-muted);
}
.on-brand .label { color: var(--c-on-brand); }
.tabular { font-variant-numeric: tabular-nums; }

/* Sadržaj koji čeka podatke od klijenta (cene, fotografije, zona dostave) je sakriven
   atributom data-ceka. Kad podatak stigne: upiše se i obriše se data-ceka. */
[data-ceka] { display: none !important; }

/* Oznaka za sadržaj koji dostavlja klijent */
.ph {
  background: var(--c-tint-3);
  color: var(--c-brand);
  border-radius: 6px;
  padding: 1px 7px;
  font-weight: 600;
}
.on-brand .ph { background: rgba(255, 255, 255, .14); color: #fff; }

/* 5. Dugmad i linkovi ==================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition-property: background-color, color, border-color, transform;
  transition-duration: var(--dur);
  transition-timing-function: var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 46px; padding: 0 20px; }

.btn--primary { background: var(--c-brand); color: #fff; }
.btn--primary:hover { background: var(--c-brand-hover); }

.btn--outline { border-color: var(--c-ink); color: var(--c-ink); background: transparent; }
.btn--outline:hover { background: var(--c-ink); color: #fff; }

.btn--soft { border-color: var(--c-line-strong); color: var(--c-ink); background: #fff; }
.btn--soft:hover { border-color: var(--c-ink); }

.btn--light { background: #fff; color: var(--c-brand); }
.btn--light:hover { background: var(--c-tint); }

.btn--outline-light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--c-brand); border-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--c-ink);
  text-decoration: underline;
  text-decoration-color: var(--c-brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: text-decoration-thickness var(--dur) var(--ease-out);
}
.link-more:hover { text-decoration-thickness: 2px; }
.link-more .icon-sm { transition: transform var(--dur) var(--ease-out); }
.link-more:hover .icon-sm { transform: translateX(3px); }

.icon-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-line-strong);
  background: #fff;
  color: var(--c-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition-property: background-color, color, border-color, transform;
  transition-duration: var(--dur);
}
.icon-btn:hover { border-color: var(--c-ink); }
.icon-btn:active { transform: scale(.94); }
.icon-btn--brand { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.icon-btn--brand:hover { background: var(--c-brand-hover); border-color: var(--c-brand-hover); }

/* 6. Info traka i header ================================================= */
.topbar {
  background: var(--c-brand);
  color: var(--c-on-brand);
  font-size: var(--fs-xs);
  font-weight: 500;
}
.topbar__inner {
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topbar p { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.topbar strong { color: #fff; font-weight: 700; }
.topbar a { color: var(--c-on-brand); text-decoration: none; transition: color var(--dur); }
.topbar a:hover { color: #fff; }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar__right a { display: inline-flex; align-items: center; gap: 8px; }
.topbar__sep { width: 1px; height: 16px; background: rgba(232, 222, 221, .35); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(22, 20, 20, .08);
  transition: box-shadow var(--dur) var(--ease-out);
}
.site-header__inner {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  transition: min-height 250ms var(--ease-out);
}

/* Logo na "etiketi" koja visi ispod info trake */
.logo-tag {
  align-self: start;
  display: inline-flex;
  margin-bottom: -44px;
  padding: 14px 20px 18px;
  background: #fff;
  border-radius: 0 0 22px 22px;
  box-shadow: var(--shadow-float);
  transition-property: padding, margin;
  transition-duration: 250ms;
  transition-timing-function: var(--ease-out);
}
.logo-tag img {
  height: 104px;
  width: auto;
  max-width: none; /* logo se nikad ne sužava kad je header pun */
  transition: height 250ms var(--ease-out);
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 2vw, 30px);
}
.main-nav a {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  padding: 6px 0;
  font-size: var(--fs-small);
  font-weight: 500;
  text-decoration: none;
  color: var(--c-ink);
  transition: color var(--dur);
}
/* aria-current="page" = ova stranica; "location" = sekcija Usluga koja je trenutno na ekranu (main.js) */
.main-nav a:hover, .main-nav a[aria-current] { color: var(--c-brand); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms var(--ease-out);
}
.main-nav a:hover::after, .main-nav a[aria-current]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.menu-toggle { display: none; }
/* Dugme za Viber je samo ikonica (naziv je u aria-label i u info traci iznad),
   da u headeru ima mesta za birač jezika i duže nazive u meniju na EN i RU */
.header-actions .btn--soft { width: 46px; padding: 0; }
.header-actions .btn--soft span { display: none; }

/* Birač jezika: dugme pokazuje trenutni jezik, lista se otvara ispod */
.lang { position: relative; }
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 12px 0 14px;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--c-ink);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: .02em;
  cursor: pointer;
  transition: border-color var(--dur), background-color var(--dur);
}
.lang__btn:hover { border-color: rgba(22, 20, 20, .35); background: var(--c-tint); }
.lang__flag { width: 20px; height: 14px; flex: none; border-radius: 3px; box-shadow: 0 0 0 1px rgba(22, 20, 20, .12); }
.lang__chev { width: 16px; height: 16px; flex: none; color: var(--c-muted); transition: transform 250ms var(--ease-out); }
.lang.is-open .lang__chev { transform: rotate(180deg); }
.lang__list {
  list-style: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 70;
  min-width: 196px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-float);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(.98);
  transform-origin: top right;
  transition: opacity 180ms ease-out, transform 220ms var(--ease-out), visibility 0s linear 220ms;
}
.lang.is-open .lang__list {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 180ms ease-out, transform 220ms var(--ease-out), visibility 0s;
}
.lang__opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  color: var(--c-ink);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  text-decoration: none;
  transition: background-color var(--dur), color var(--dur);
}
.lang__opt:hover, .lang__opt:focus-visible { background: var(--c-tint); }
.lang__abbr { margin-left: auto; font-size: var(--fs-xs); color: var(--c-subtle); letter-spacing: .04em; }
.lang__opt[aria-current] { background: var(--c-tint-2); color: var(--c-brand); font-weight: var(--fw-semibold); }
.lang__opt[aria-current] .lang__abbr { color: var(--c-brand); }
/* Telefoni: samo zastavica (jezik piše u aria-label i u listi), da sve ikonice i logo stanu u header */
/* Najuži telefoni (do 360px): manja dugmad i razmak, da logo i četiri ikonice stanu */
@media (max-width: 360px) {
  .site-header__inner { gap: 12px; }
  .header-actions { gap: 6px; }
  .header-actions .btn, .header-actions .icon-btn, .lang__btn { width: 40px; height: 40px; }
}
@media (max-width: 480px) {
  .lang__btn { width: 46px; padding: 0; justify-content: center; }
  .lang__btn .lang__code, .lang__btn .lang__chev { display: none; }
  /* Lista je centrirana ispod zastavice, da ne pokrije logo i ne izađe iz ekrana */
  .lang__list { right: auto; left: 50%; margin-left: -98px; transform-origin: top center; }
}

/* Kompaktno stanje pri skrolovanju (klasu dodaje main.js) */
.site-header.is-compact { box-shadow: 0 1px 0 rgba(22, 20, 20, .06), 0 10px 30px rgba(67, 1, 7, .08); }
.site-header.is-compact .site-header__inner { min-height: 68px; }
.site-header.is-compact .logo-tag {
  align-self: center;
  margin-bottom: 0;
  padding: 0;
  box-shadow: none;
}
.site-header.is-compact .logo-tag img { height: 58px; }

/* Meni prelazi u mobilni na 1280px, da i duži nazivi na EN i RU stanu u jedan red */
@media (max-width: 1280px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions .btn { width: 46px; padding: 0; }
  .header-actions .btn span { display: none; }
  .site-header__inner { grid-template-columns: auto 1fr; }
  /* Tablet: info traka ostaje u jednom redu, bez dodatne poruke o dostavi */
  .topbar__extra { display: none; }
  .topbar p, .topbar__right a { white-space: nowrap; }
}
@media (max-width: 760px) {
  :root { --header-h: 76px; }
  .topbar__right, .topbar__extra { display: none; }
  .logo-tag { margin-bottom: -28px; padding: 10px 14px 12px; }
  .logo-tag img { height: 70px; }
  .site-header.is-compact .logo-tag img { height: 48px; }
}

/* 7. Mobilni meni ======================================================== */
/* Otvara se kao krug koji se širi iz dugmeta za meni (--menu-x/--menu-y postavlja JS),
   pa stavke uplivavaju jedna za drugom. Zatvara se obrnuto i brže. */
.mobile-menu {
  --menu-x: calc(100% - 44px);
  --menu-y: 44px;
  --menu-ease: cubic-bezier(.76, 0, .24, 1);
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background:
    radial-gradient(120% 60% at 100% 100%, var(--c-tint-2) 0%, rgba(239, 227, 225, 0) 60%),
    #fff;
  padding: 20px var(--gutter) 32px;
  visibility: hidden;
  clip-path: circle(0 at var(--menu-x) var(--menu-y));
  transition: clip-path 480ms var(--menu-ease) 120ms, visibility 0s linear 600ms;
}
.mobile-menu.is-open {
  visibility: visible;
  clip-path: circle(150vmax at var(--menu-x) var(--menu-y));
  transition: clip-path 640ms var(--menu-ease), visibility 0s;
}
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__top img { height: 60px; width: auto; }
.mobile-menu [data-menu-close] svg { transition: transform 500ms var(--ease-out); }
.mobile-menu.is-open [data-menu-close] svg { transform: rotate(90deg); }
.mobile-menu nav { margin-top: 40px; }
.mobile-menu ul { list-style: none; }
.mobile-menu nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--c-line);
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.mobile-menu nav li:last-child a { border-bottom: 1px solid var(--c-line); }
/* Strelica desno od stavke */
.mobile-menu nav a::after {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .35;
  transition: opacity var(--dur), transform var(--dur);
}
.mobile-menu nav a:hover::after, .mobile-menu nav a:focus-visible::after { opacity: 1; transform: translateX(4px); }
.mobile-menu nav a[aria-current] { color: var(--c-brand); }
.mobile-menu nav a[aria-current]::after { opacity: 1; }
.mobile-menu__actions { margin-top: auto; padding-top: 32px; display: grid; gap: 10px; }

/* Stavke uplivavaju jedna za drugom */
.mobile-menu__top, .mobile-menu nav li, .mobile-menu__actions > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 200ms ease-out, transform 300ms var(--ease-out);
}
.mobile-menu.is-open .mobile-menu__top,
.mobile-menu.is-open nav li,
.mobile-menu.is-open .mobile-menu__actions > * {
  opacity: 1;
  transform: none;
  transition: opacity 450ms ease-out var(--d, 0ms), transform 600ms var(--ease-out) var(--d, 0ms);
}
.mobile-menu.is-open .mobile-menu__top { --d: 150ms; }
.mobile-menu.is-open nav li:nth-child(1) { --d: 220ms; }
.mobile-menu.is-open nav li:nth-child(2) { --d: 280ms; }
.mobile-menu.is-open nav li:nth-child(3) { --d: 340ms; }
.mobile-menu.is-open nav li:nth-child(4) { --d: 400ms; }
.mobile-menu.is-open nav li:nth-child(5) { --d: 460ms; }
.mobile-menu.is-open .mobile-menu__actions > :nth-child(1) { --d: 540ms; }
.mobile-menu.is-open .mobile-menu__actions > :nth-child(2) { --d: 600ms; }
@media (prefers-reduced-motion: reduce) {
  .mobile-menu, .mobile-menu.is-open { clip-path: none; }
  .mobile-menu__top, .mobile-menu nav li, .mobile-menu__actions > * { transform: none; }
}
body.menu-open { overflow: hidden; }

/* 8. Footer i CTA ======================================================== */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--c-brand);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.cta .h2 { max-width: 820px; }
.cta__meta { font-size: var(--fs-small); color: var(--c-on-brand); }
.cta__meta a { color: var(--c-on-brand); text-underline-offset: 4px; }
.cta__meta a:hover { color: #fff; }
.cta__deco {
  position: absolute;
  color: rgba(255, 255, 255, .85);
  pointer-events: none;
}
.cta__deco--1 { width: 84px; left: clamp(20px, 5vw, 64px); bottom: 32px; }
.cta__deco--2 { width: 64px; right: clamp(20px, 5vw, 64px); top: 32px; }
/* Na uskom ekranu ukrasi bi prekrili tekst (telefon i mejl u .cta__meta, naslov) */
@media (max-width: 900px) {
  .cta__deco--1 { display: none; }
  .cta__deco--2 { width: 44px; top: 18px; right: 18px; }
}
@media (max-width: 360px) {
  .cta__deco--2 { display: none; }
}

.site-footer { background: var(--c-dark); color: #C9C4C0; }
/* Gore: slogan i logo. Sredina: opis + mreže, Usluge, Sajt, Kontakt. Dole: autorska prava. */
.site-footer__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-block: clamp(56px, 7vw, 88px) clamp(36px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.site-footer__claim {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
}
.site-footer__claim span { color: var(--c-subtle); white-space: nowrap; }
/* Na telefonu duži prevodi slogana (EN, RU) prelaze u novi red, da logo pored ostane u ekranu */
.site-footer__claim { min-width: 0; }
@media (max-width: 600px) { .site-footer__claim span { white-space: normal; } }
.site-footer__logo { height: 84px; width: auto; flex: none; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-block: clamp(36px, 4vw, 48px);
}
.site-footer__brand p { max-width: 340px; font-size: var(--fs-small); line-height: 1.55; }
.site-footer h2 {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--c-subtle);
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; display: grid; gap: 12px; }
.site-footer a { color: #fff; text-decoration: none; font-size: var(--fs-small); }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__contact li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-small); }
.site-footer__contact svg { color: var(--c-subtle); }
.site-footer .site-footer__social { display: flex; gap: 10px; margin-top: 24px; }
.site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  transition: background-color var(--dur), border-color var(--dur), color var(--dur);
}
.site-footer__social a:hover { background: #fff; border-color: #fff; color: var(--c-dark); }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 24px 32px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: var(--fs-xs);
}
.site-footer__bottom a { color: #C9C4C0; font-size: var(--fs-xs); text-decoration: underline; text-underline-offset: 3px; }
.site-footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }

@media (max-width: 960px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .site-footer__top { align-items: flex-start; }
  .site-footer__logo { height: 64px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .site-footer__grid > div:last-child { grid-column: 1 / -1; }
}
/* Najuži telefoni: slogan dobija ceo red (logo već postoji u headeru) */
@media (max-width: 400px) { .site-footer__logo { display: none; } }

/* 9. Početna — sekcije =================================================== */

/* Hero */
.hero {
  position: relative;
  padding-top: clamp(88px, 10vw, 128px);
  padding-bottom: clamp(48px, 6vw, 72px);
  text-align: center;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.hero .h1 { max-width: 1180px; }
.hero .lead { max-width: 760px; text-wrap: balance; }
.hero .btn-row { justify-content: center; margin-top: 12px; }
.hero__meta { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--c-muted); }
.hero__meta svg { color: var(--c-brand); }
.hero__deco { position: absolute; color: var(--c-brand); pointer-events: none; }
.hero__deco--dome { width: 72px; left: clamp(16px, 4vw, 56px); top: 72px; }
.hero__deco--glass { width: 60px; right: clamp(16px, 4vw, 56px); top: 64px; }
.hero__deco--pot { width: 72px; left: clamp(32px, 6vw, 96px); bottom: 40px; }
.hero__deco--tower { width: 56px; right: clamp(40px, 7vw, 112px); bottom: 32px; }
@media (max-width: 760px) {
  .hero__deco { width: 44px !important; opacity: .8; }
  .hero__deco--pot, .hero__deco--tower { display: none; }
  .hero__deco--dome { top: 24px; }
  .hero__deco--glass { top: 20px; }
  .hero .btn-row .btn { flex: 1 1 100%; }
}

/* Traka fotografija */
/* Bez JS-a (ili uz smanjen pokret) traka se prevlači rukom.
   Sa JS-om (klasa is-moving) slike se same vrte u krug: JS doda kopiju niza,
   a traka klizi za tačno pola svoje širine, pa se spoj ne vidi. */
.strip {
  --strip-img: clamp(200px, 17.6vw, 252px);
  --strip-gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: clamp(56px, 7vw, 96px);
  margin-inline: calc(var(--gutter) * -1);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
}
.strip::-webkit-scrollbar { display: none; }
.strip__track {
  display: flex;
  align-items: flex-start;
  width: max-content;
  padding: 0 var(--gutter) 0 var(--gutter);
}
.strip img {
  flex: 0 0 var(--strip-img);
  width: var(--strip-img);
  margin-right: var(--strip-gap);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-md);
}
/* Talasast raspored visina, kao i ranije */
.strip img:nth-child(5n+1) { margin-top: 32px; }
.strip img:nth-child(5n+3) { margin-top: 56px; }
.strip img:nth-child(5n+4) { margin-top: 16px; }
.strip img:nth-child(5n+5) { margin-top: 40px; }
.strip.is-moving { overflow: hidden; }
.strip.is-moving .strip__track {
  padding-left: 0;
  padding-right: 0;
  animation: strip-loop var(--strip-dur, 70s) linear infinite;
}
.strip.is-moving:hover .strip__track,
.strip.is-paused .strip__track { animation-play-state: paused; }
@keyframes strip-loop { to { transform: translateX(-50%); } }
@media (max-width: 860px) {
  .strip { --strip-img: 44vw; --strip-gap: 12px; --strip-dur: 55s; padding-bottom: 56px; }
}

/* Kartice usluga */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.svc {
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: inherit;
  text-decoration: none;
}
.svc__media { overflow: hidden; border-radius: var(--r-md); }
.svc__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}
.svc .label { color: var(--c-brand); margin-top: 6px; }
.svc p { color: var(--c-muted); font-size: var(--fs-small); text-wrap: pretty; }
.svc .link-more { margin-top: auto; padding-top: 6px; align-self: flex-start; }
@media (hover: hover) {
  .svc:hover .svc__media img { transform: scale(1.04); }
  .svc:hover .link-more { text-decoration-thickness: 2px; }
}
@media (max-width: 960px) { .services { grid-template-columns: 1fr; gap: 48px; } .svc__media img { aspect-ratio: 4 / 3; } }

/* Cherry blok (kuvana jela, ketering) */
.panel {
  background: var(--c-brand);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(28px, 5vw, 72px);
}
.panel__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-lg);
}
/* Manji laptop: tekst dobija širu kolonu i dugmad malo manji unutrašnji razmak,
   da "Viber zajednica" i "Pozovite" ostanu u jednom redu (Početna, Kuvana jela) */
@media (min-width: 961px) and (max-width: 1260px) {
  .panel.split--center { grid-template-columns: 3fr 2fr; }
  .panel.split--center .btn-row .btn { padding-inline: 20px; }
}
/* Isto za Ketering panel na Uslugama, na najužem laptopu */
@media (min-width: 961px) and (max-width: 1040px) {
  .panel .btn-row .btn { padding-inline: 20px; }
}
/* Ketering panel na manjem laptopu: tekst dobija širu kolonu, slajder užu */
@media (min-width: 961px) and (max-width: 1100px) {
  .panel.split { grid-template-columns: 3fr 2fr; }
}

/* Vremenska linija */
.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 8px;
}
.timeline { --tl-line: rgba(67, 1, 7, .25); }
.on-brand .timeline { --tl-line: rgba(255, 255, 255, .3); }
.timeline li {
  position: relative;
  padding: 24px 20px 0 0;
  border-top: 1px solid var(--tl-line);
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 0; top: -6px;
  width: 11px; height: 11px;
  border-radius: var(--r-pill);
  background: var(--c-brand);
}
.timeline strong {
  display: block;
  font-size: var(--fs-h3);
  line-height: var(--lh-heading);
  font-weight: 700;
  color: var(--c-brand);
  font-variant-numeric: tabular-nums;
}
.timeline span { display: block; margin-top: 8px; font-size: var(--fs-small); color: var(--c-muted); }
.on-brand .timeline li::before { background: #fff; }
.on-brand .timeline strong { color: #fff; }
.on-brand .timeline span { color: var(--c-on-brand); }
@media (max-width: 520px) {
  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .timeline li { padding-right: 0; }
}

/* Galerija */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 20px;
}
.gallery figure { display: flex; flex-direction: column; }
.gallery img, .gallery video {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--r-md);
  background: var(--c-tint-2);   /* svetla podloga dok se slika učitava */
}
.gallery figcaption { margin-top: 10px; font-size: var(--fs-xs); color: var(--c-muted); }
.gallery__big { grid-column: span 2; grid-row: span 2; }
.gallery__big img { flex: 1; min-height: 0; height: 100%; aspect-ratio: auto; }
.gallery__video { position: relative; }
.badge {
  position: absolute;
  left: 12px; top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: var(--c-brand);
  border-radius: var(--r-pill);
  padding: 5px 12px;
  font-size: var(--fs-label);
  font-weight: 700;
}
.gallery-more { margin-top: 40px; font-size: var(--fs-small); color: var(--c-muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .gallery__big { grid-row: auto; }
  .gallery__big img { aspect-ratio: 4 / 3; height: auto; }
}

/* O firmi */
.about__media { position: relative; max-width: 460px; }
.about__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 999px 999px var(--r-lg) var(--r-lg);
}
.about__name {
  position: absolute;
  left: -16px;
  bottom: 32px;
  background: #fff;
  border-radius: var(--r-sm);
  padding: 12px 16px;
  box-shadow: var(--shadow-float);
}
.about__name strong { display: block; font-size: var(--fs-small); }
.about__name span { font-size: var(--fs-xs); color: var(--c-muted); }
.about__deco { position: absolute; right: -64px; top: 4px; width: 84px; color: var(--c-brand); }
.about__text p + p { margin-top: 16px; }
.stats {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--c-line);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: auto;
  justify-content: start;
}
/* Ćelije široke koliko im treba, sa tankom linijom između: razmak od teksta do linije je svuda isti */
.stats dt { order: 2; font-size: var(--fs-xs); line-height: 1.35; color: var(--c-muted); }
.stats div { display: flex; flex-direction: column; gap: 8px; padding-inline: clamp(16px, 2vw, 32px); }
.stats div:first-child { padding-left: 0; }
.stats div + div { border-left: 1px solid var(--c-line); }
.stats dd { order: 1; font-size: var(--fs-num); font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .about__deco { display: none; } .about__name { left: 12px; } }

/* Zašto RDB */
/* Položena fotografija, da leva kolona bude visoka otprilike kao lista desno.
   Na telefonu ostaje uspravna, jer bi položena bila preniska. */
.why-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 60%;
  border-radius: var(--r-lg);
}
@media (max-width: 600px) { .why-media img { aspect-ratio: 4 / 5; object-position: center; } }
.why-list { list-style: none; border-bottom: 1px solid var(--c-line); }
.why-list li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--c-line);
}
.why-list svg { width: 32px; height: 32px; color: var(--c-brand); }
.why-list h3 { font-size: var(--fs-h4); font-weight: var(--fw-bold); line-height: var(--lh-snug); letter-spacing: -0.01em; }
.why-list p { margin-top: 4px; font-size: var(--fs-small); color: var(--c-muted); }

/* Dostava */
.facts {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.facts div { background: #fff; border-radius: var(--r-md); padding: 18px 20px; }
.facts dt { font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--c-muted); }
.facts dd { margin-top: 6px; font-size: var(--fs-h3); font-weight: 700; line-height: 1.15; }
.facts dd.accent { color: var(--c-brand); }
/* Duže reči u prevodu (npr. ruski „договорённости“) se dele umesto da izađu iz kartice */
.facts dt, .facts dd, .hours dt, .hours dd { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 400px) {
  /* Najuži telefoni: kartice su uske, vrednost ide na H4 da "po dogovoru" stane */
  .facts div { padding: 16px; }
  .facts dd { font-size: var(--fs-h4); }
}

.vehicle { position: relative; }
.vehicle__circle {
  position: absolute;
  left: 50%; top: 0;
  width: 82%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: var(--r-pill);
  background: var(--c-tint-2);
}
.vehicle__photo {
  position: absolute;
  right: 2%; top: 4%;
  z-index: 1;
  width: 26%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
  border: 6px solid #fff;
  box-shadow: var(--shadow-card);
  transform: rotate(4deg);
}
.vehicle__car { position: relative; z-index: 2; padding-top: 38%; }
.vehicle__car img { width: 100%; outline: 0; }
.vehicle__car::after {
  content: "";
  display: block;
  height: 28px;
  margin: -20px 5% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(22, 20, 20, .32), rgba(22, 20, 20, 0));
}

/* Utisci */
/* Ocena sa Google-a: jedna kompaktna "pilula" — broj, zvezdice, broj recenzija i dugme */
.rating {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-inline: auto;
  padding: 6px 6px 6px 20px;
  background: var(--c-bg);
  border: 1px solid var(--c-line-strong);
  border-radius: 999px;
}
.rating__score { font-size: var(--fs-h4); font-weight: 700; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.rating__count { font-size: var(--fs-small); color: var(--c-muted); white-space: nowrap; }
.rating__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--c-brand);
  color: #fff;
  font-size: var(--fs-small);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color var(--dur) var(--ease-out);
}
.rating__link:hover { background: var(--c-brand-hover); }
.rating__link .icon-sm { transition: transform var(--dur) var(--ease-out); }
.rating__link:hover .icon-sm { transform: translateX(3px); }
.rating .stars svg { width: 15px; height: 15px; }
@media (max-width: 520px) {
  /* Telefon: broj recenzija ide u drugi red, ispod ocene, a dugme ostaje desno */
  .rating { display: grid; grid-template-columns: auto auto 1fr; column-gap: 10px; row-gap: 2px; padding-left: 18px; text-align: left; }
  .rating__count { grid-column: 1 / 3; grid-row: 2; font-size: var(--fs-xs); }
  .rating__link { grid-column: 3; grid-row: 1 / 3; justify-self: end; }
}
@media (max-width: 360px) {
  .rating { column-gap: 8px; padding-left: 14px; max-width: 100%; }
  .rating__link { padding: 0 12px; }
}
.stars { display: inline-flex; gap: 2px; color: var(--c-brand); }
.stars svg { width: 14px; height: 14px; }
.on-brand .stars { color: #fff; }

.reviews-top {
  margin-top: clamp(40px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.reviews-top img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
.review-feature {
  background: var(--c-brand);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.review-feature blockquote p { font-size: var(--fs-h3); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; text-wrap: pretty; }
.reviews {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
}
.reviews > li { display: flex; }
.review {
  flex: 1;   /* kartica popuni ceo red, pa su sve iste visine; potpis ide na dno */
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border-radius: var(--r-md);
  border: 1px solid var(--c-line);
}
.review blockquote p { font-size: var(--fs-body); line-height: 1.5; }
.review figcaption, .review-feature figcaption {
  margin-top: auto;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--c-muted);
}
.review-feature figcaption { color: var(--c-on-brand); }
.review figcaption span, .review-feature figcaption span { font-weight: 500; }
@media (max-width: 960px) { .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .reviews-top { grid-template-columns: 1fr; } .reviews { grid-template-columns: 1fr; } }

/* Opšti responsive za podelu */
@media (max-width: 960px) {
  .split, .split--7-5, .section-head { grid-template-columns: 1fr; }
}
/* Prikazuje se samo kad su kolone jedna ispod druge (telefon, tablet) */
@media (min-width: 961px) { .only-stacked { display: none !important; } }

/* Usluge na telefonu i tabletu: natpis i naslov sekcije idu pre slajdera,
   da posetilac zna o kojoj usluzi je fotografija */
@media (max-width: 960px) {
  .svc-section .split { row-gap: 0; }
  .svc-section .split > .slider { order: 2; margin-top: 32px; }
  .svc-section .split > .svc-section__text { display: contents; }
  .svc-section .svc-section__text > .stack { order: 1; }
  .svc-section .svc-section__text > :not(.stack) { order: 3; }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats div { padding-inline: 14px; }
  .stats div:first-child { padding-left: 0; }
  .stats dt { font-size: var(--fs-xs); }
  .btn-row .btn { flex: 1 1 100%; }
}

/* 10. Usluge ============================================================= */
.page-hero { padding-top: clamp(88px, 9vw, 120px); padding-bottom: clamp(48px, 6vw, 72px); }
.page-hero .stack { max-width: 920px; }
.page-hero .lead { max-width: 640px; }

.svc-tiles {
  margin-top: clamp(40px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}
.svc-tile {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 12px 18px 12px 12px;
  border-radius: 22px;
  background: #fff;
  color: var(--c-ink);
  text-decoration: none;
  transition: transform var(--dur) var(--ease-out);
}
.svc-tile:hover { transform: translateY(-2px); }
.svc-tile img { width: 88px; height: 88px; object-fit: cover; border-radius: 16px; }
.svc-tile__label { display: block; font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--c-brand); }
.svc-tile__title { display: block; margin-top: 4px; font-size: var(--fs-h4); font-weight: var(--fw-bold); line-height: var(--lh-snug); letter-spacing: -0.01em; }
.svc-tile__arrow {
  width: 40px; height: 40px;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-line-strong);
  display: inline-flex; align-items: center; justify-content: center;
}
.svc-tile--brand { background: var(--c-brand); color: #fff; }
.svc-tile--brand .svc-tile__label { color: var(--c-on-brand); }
.svc-tile--brand .svc-tile__arrow { border-color: rgba(255, 255, 255, .4); }
@media (max-width: 960px) { .svc-tiles { grid-template-columns: 1fr; } }

.blocks { margin-top: 36px; display: flex; flex-direction: column; gap: 28px; }
.block { padding-top: 22px; border-top: 1px solid var(--c-line); }
.on-brand .block { border-top-color: var(--c-line-light); }
.block > p { margin-top: 12px; font-size: var(--fs-body); }
/* Dva bloka jedan pored drugog (Ketering: "Na meniju" i "Uz ketering") */
/* Jedna neprekinuta linija iznad obe kolone, stavke poravnate red po red */
.blocks--pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
  padding-top: 22px;
  border-top: 1px solid var(--c-line);
}
.on-brand .blocks--pair { border-top-color: var(--c-line-light); }
.blocks--pair .block { padding-top: 0; border-top: 0; }
.blocks--pair .checks { grid-template-columns: 1fr; gap: 12px; }
@media (max-width: 520px) { .blocks--pair { grid-template-columns: 1fr; } }
/* Manji laptop: kolone su uske, pa malo manji razmaci da stavke ostanu u jednom redu */
@media (min-width: 961px) and (max-width: 1260px) {
  .blocks--pair { column-gap: 20px; }
  .blocks--pair .checks li { gap: 10px; font-size: var(--fs-small); }
}

/* Cena: natpis kao i ostali blokovi, ispod jedan red teksta */
.price-line { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--c-line); }
.price-line p + p { margin-top: 12px; font-size: var(--fs-body); }
.price-line strong { font-weight: 600; }
.price-line__note { display: block; margin-top: 4px; font-size: var(--fs-small); color: var(--c-muted); }
.on-brand .price-line { border-top-color: var(--c-line-light); }
.on-brand .price-line__note { color: var(--c-on-brand); }

.chips { list-style: none; margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 16px; border-radius: var(--r-pill); border: 1px solid var(--c-line-strong); font-size: var(--fs-small); font-weight: 500; }
.on-brand .chips li { border-color: rgba(255, 255, 255, .3); }

.checks {
  list-style: none;
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px 24px;
}
.checks--3 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.checks li { display: flex; align-items: flex-start; gap: 12px; font-size: var(--fs-body); line-height: 1.4; }
.checks li::before {
  content: "";
  flex: none;
  margin-top: 2px;
  width: 22px; height: 22px;
  border-radius: var(--r-pill);
  background: var(--c-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.on-brand .checks li::before {
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23430107' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* Slajder */
.slider { display: flex; flex-direction: column; gap: 18px; }
.slider__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #EFE7E6;
}
.on-brand .slider__frame { background: #5A1015; }
.slider__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 400ms ease-out;
}
.slider__slide.is-active { opacity: 1; }
.slider__slide img { width: 100%; height: 100%; object-fit: cover; }
.slider__placeholder {
  position: absolute;
  inset: 18px;
  border-radius: 18px;
  border: 1.5px dashed rgba(67, 1, 7, .35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
}
.on-brand .slider__placeholder { border-color: rgba(255, 255, 255, .35); }
.slider__placeholder span { font-size: var(--fs-xs); color: var(--c-muted); }
.on-brand .slider__placeholder span { color: var(--c-on-brand); }
.slider__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.slider__caption { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.slider__caption strong { font-size: var(--fs-small); font-weight: 600; }
.slider__count { font-size: var(--fs-xs); color: var(--c-muted); font-variant-numeric: tabular-nums; }
.on-brand .slider__count { color: var(--c-on-brand); }
.slider__nav { display: flex; gap: 8px; flex: none; }
.on-brand .icon-btn { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); color: #fff; }
.on-brand .icon-btn--brand, .on-brand .icon-btn.slider__next { background: #fff; border-color: #fff; color: var(--c-brand); }

/* Na širokom ekranu slajder ostaje u vidu dok se čita tekst pored njega.
   Visina okvira je ograničena da ceo slajder (slika + traka) stane ispod headera. */
@media (min-width: 961px) {
  .split > .slider { position: sticky; top: 96px; }
  .split > .slider .slider__frame { max-height: calc(100vh - 96px - 96px); }
}

/* 11. Kontakt i forma ==================================================== */
.contact-list { list-style: none; border-bottom: 1px solid var(--c-line); }
.contact-list a { overflow-wrap: anywhere; }
.contact-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--c-line);
}
.contact-list__icon {
  width: 48px; height: 48px;
  border-radius: var(--r-pill);
  background: var(--c-tint);
  color: var(--c-brand);
  display: inline-flex; align-items: center; justify-content: center;
}
.contact-list small { display: block; font-size: var(--fs-xs); color: var(--c-muted); }
.contact-list a, .contact-list b { font-size: var(--fs-h4); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--c-brand); }

.hours { background: var(--c-brand); color: #fff; border-radius: var(--r-lg); padding: 28px 28px 24px; }
.hours__title { display: flex; align-items: center; gap: 10px; }
.hours dl { margin-top: 18px; }
.hours dl div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.hours dl div:last-child { padding-bottom: 0; }
.hours dt { font-weight: 600; }
.hours dd { color: var(--c-on-brand); text-align: right; margin-left: auto; }

.form-card { background: var(--c-tint); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 48px); }
.form-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-small); font-weight: 600; }
.field .req { color: var(--c-brand); }
.input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-line-strong);
  background: #fff;
  font-size: var(--fs-body);
  color: var(--c-ink);
  transition: border-color var(--dur), box-shadow var(--dur);
}
.input:hover { border-color: rgba(22, 20, 20, .35); }
.input:focus { outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 3px rgba(67, 1, 7, .15); }
textarea.input { padding: 14px 16px; min-height: 140px; resize: vertical; }
/* Polja ne smeju da budu šira od kolone (iOS daje datumu sopstvenu minimalnu širinu) */
.field { min-width: 0; }
input[type="date"].input {
  display: block;
  min-width: 0;
  max-width: 100%;
  -webkit-appearance: none;
  appearance: none;
  line-height: 50px;
  text-align: left;
}
.input::-webkit-date-and-time-value { text-align: left; margin: 0; }
/* iPhone/iPad: polje za datum nema svoju ikonicu, pa dobija kalendar u bojama sajta */
@supports (-webkit-touch-callout: none) {
  input[type="date"].input {
    padding-right: 44px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23430107' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") no-repeat right 16px center;
  }
}
select.input {
  appearance: none;
  padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23430107' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.field.is-invalid .input { border-color: #B42318; }
.field__error { display: none; font-size: var(--fs-xs); color: #B42318; }
.field.is-invalid .field__error { display: block; }
.consent { margin-top: 20px; display: flex; align-items: flex-start; gap: 12px; font-size: var(--fs-small); cursor: pointer; }
.consent input { margin: 2px 0 0; width: 20px; height: 20px; accent-color: var(--c-brand); flex: none; cursor: pointer; }
.consent a { color: var(--c-brand); }
.consent.is-invalid { color: #B42318; }
/* Zamka za botove: polje postoji u formi, ali ga ljudi ne vide */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: #FEF3F2;
  color: #B42318;
  font-size: var(--fs-small);
}
.form-status a { color: inherit; font-weight: 600; white-space: nowrap; }
/* Slanje u toku: dugme dobija mali kružić koji se vrti, da se vidi da nešto radi */
.form-card button[aria-busy="true"] { opacity: .85; cursor: progress; }
.form-card button[aria-busy="true"]::after {
  content: "";
  width: 16px; height: 16px;
  margin-left: 4px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.input { caret-color: var(--c-brand); }
.form-foot { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-foot p { max-width: 320px; font-size: var(--fs-xs); color: var(--c-muted); }
.form-foot p a { color: var(--c-ink); font-weight: 600; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } .form-foot .btn { width: 100%; } }

.zone-legend { list-style: none; margin-top: 8px; display: flex; flex-direction: column; gap: 12px; font-weight: 500; }
.zone-legend li { display: flex; align-items: center; gap: 12px; }
.zone-dot { width: 14px; height: 14px; border-radius: var(--r-pill); background: var(--c-brand); }
.zone-dot--dashed { background: none; border: 2px dashed var(--c-brand); }
.zone-map { aspect-ratio: 5 / 4; border-radius: 28px; overflow: hidden; background: #fff; }
.zone-map svg { width: 100%; height: 100%; }
.zone-note { margin-top: 12px; font-size: var(--fs-xs); color: var(--c-muted); }

/* 12. Hvala, 404, Politika =============================================== */
.center-page {
  min-height: 640px;
  padding-block: clamp(96px, 10vw, 140px) clamp(72px, 9vw, 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 24px;
}
.center-page .lead { max-width: 560px; }
.center-page .btn-row { justify-content: center; margin-top: 12px; }
.done-mark {
  width: 88px; height: 88px;
  border-radius: var(--r-pill);
  background: var(--c-brand);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.done-mark svg { width: 40px; height: 40px; }
.big-404 {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 24px);
  font-size: clamp(120px, 18vw, 240px);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -0.05em;
  color: var(--c-brand);
}
.big-404 svg { width: .78em; height: .78em; }

.policy {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 760px);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.policy-toc {
  position: sticky;
  top: 96px;
  background: var(--c-tint);
  border-radius: var(--r-lg);
  padding: 24px 24px 18px;
}
.policy-toc ol { list-style: none; margin-top: 10px; counter-reset: toc; }
.policy-toc a { display: flex; gap: 8px; padding: 7px 0; font-size: var(--fs-small); text-decoration: none; }
.policy-toc a:hover { color: var(--c-brand); }
.policy-toc li { counter-increment: toc; }
.policy-toc a::before { content: counter(toc) "."; min-width: 22px; font-weight: 700; color: var(--c-brand); font-variant-numeric: tabular-nums; }
.policy-list { list-style: none; border-bottom: 1px solid var(--c-line); counter-reset: pol; }
.policy-list > li {
  counter-increment: pol;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 8px;
  padding: 32px 0;
  border-top: 1px solid var(--c-line);
}
.policy-list > li::before { content: counter(pol) "."; font-size: var(--fs-h4); font-weight: 700; color: var(--c-brand); font-variant-numeric: tabular-nums; }
.policy-list h2 { margin-bottom: 14px; }
.policy-list p { line-height: 1.65; }
.policy-list p + p { margin-top: 14px; }
.policy-list a { color: var(--c-brand); }
@media (max-width: 900px) {
  .policy { grid-template-columns: 1fr; }
  .policy-toc { position: static; }
  .policy-list > li { grid-template-columns: 40px minmax(0, 1fr); }
}

/* 13. Pomoćne klase ====================================================== */
/* Male izmene za pojedinačne elemente (umesto style="" u HTML-u).
   Na kraju fajla su namerno, da pobede osnovna pravila iste jačine. */

/* Razmak iznad elementa */
.mt-8  { margin-top: 8px; }
.mt-24 { margin-top: 24px; }
.mt-28 { margin-top: 28px; }
.mt-36 { margin-top: 36px; }
.mt-40 { margin-top: 40px; }

.relative { position: relative; }
.stack--loose { gap: 32px; }
.section-head--flush { margin-bottom: 0; }
.btn-row--center { justify-content: center; }
.form-card__title { font-size: var(--fs-h3); line-height: var(--lh-heading); }

/* Koji deo fotografije ostaje u kadru kad se slika seče (object-fit: cover) */
.focus-x60 { object-position: 60% center; }
.focus-y40 { object-position: center 40%; }
.focus-y60 { object-position: center 60%; }
.focus-y70 { object-position: center 70%; }

/* 14. Pristupačnost i smanjen pokret ===================================== */
/* Pokret ================================================================
   Dva osmišljena trenutka, samo transform i opacity (raspored se ne pomera):
   1. Ulaz heroja na Početnoj: tekst pa traka fotografija, kratko, jednom.
   2. Dnevni ritam (Jutro → 09:00 → 15:00): linija se iscrtava sleva nadesno,
      tačke i tekst se pale redom, kad lista dođe na ekran.
   Bez JS-a i sa smanjenim pokretom sve je odmah vidljivo. */
:root {
  --ease-out-soft: cubic-bezier(.16, 1, .3, 1);
  --dur-enter: 700ms;
  --stagger: 80ms;
}

/* Samo početno stanje: animacija završava na stvarnom izgledu elementa */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes rise-lg { from { opacity: 0; transform: translateY(32px); } }
@keyframes fade-in { from { opacity: 0; } }

/* 1. Hero */
.hero__inner > * { animation: rise var(--dur-enter) var(--ease-out-soft) both; }
.hero__inner > :nth-child(1) { animation-delay: 0ms; }
.hero__inner > :nth-child(2) { animation-delay: calc(var(--stagger) * 1); }
.hero__inner > :nth-child(3) { animation-delay: calc(var(--stagger) * 2); }
.hero__inner > :nth-child(4) { animation-delay: calc(var(--stagger) * 3); }
.hero__inner > :nth-child(5) { animation-delay: calc(var(--stagger) * 4); }
.hero + .container .strip { animation: rise-lg 900ms var(--ease-out-soft) 320ms both; }
/* Ukrasni crteži se pojave poslednji, tiho */
/* Ilustracije se pojave, pa blago lebde; svaka svojim tempom da ne idu u korak */
.hero__deco { animation: fade-in 1.2s var(--ease-out-soft) 500ms both, deco-float 7s ease-in-out 1.7s infinite alternate; }
.hero__deco--dome  { --float-y: -10px; --float-r: -5deg; animation-duration: 1.2s, 6.5s; }
.hero__deco--glass { --float-y: -12px; --float-r: 6deg;  animation-duration: 1.2s, 7.5s; animation-delay: 500ms, 2.2s; }
.hero__deco--pot   { --float-y: -8px;  --float-r: 4deg;  animation-duration: 1.2s, 8s;   animation-delay: 500ms, 1.2s; }
.hero__deco--tower { --float-y: -14px; --float-r: -4deg; animation-duration: 1.2s, 6.8s; animation-delay: 500ms, 2.6s; }
@keyframes deco-float { to { transform: translateY(var(--float-y, -10px)) rotate(var(--float-r, 0deg)); } }

/* 2. Dnevni ritam (klase dodaje main.js) */
.js .timeline li { border-top-color: transparent; }
.js .timeline li::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 1px;
  background: var(--tl-line);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 600ms var(--ease-out-soft);
}
.js .timeline li::before { transform: scale(0); transition: transform 400ms cubic-bezier(.34, 1.56, .64, 1); }
.js .timeline strong, .js .timeline span { opacity: 0; transform: translateY(8px); transition: opacity 500ms var(--ease-out-soft), transform 500ms var(--ease-out-soft); }
.js .timeline.is-in li::after { transform: none; }
.js .timeline.is-in li::before { transform: none; }
.js .timeline.is-in strong, .js .timeline.is-in span { opacity: 1; transform: none; }
.js .timeline li:nth-child(2)::after, .js .timeline li:nth-child(2)::before, .js .timeline li:nth-child(2) strong, .js .timeline li:nth-child(2) span { transition-delay: 350ms; }
.js .timeline li:nth-child(3)::after, .js .timeline li:nth-child(3)::before, .js .timeline li:nth-child(3) strong, .js .timeline li:nth-child(3) span { transition-delay: 700ms; }
.js .timeline li::before { transition-delay: 150ms; }
.js .timeline li:nth-child(2)::before { transition-delay: 500ms; }
.js .timeline li:nth-child(3)::before { transition-delay: 850ms; }

@media (prefers-reduced-motion: reduce) {
  .hero__inner > *, .hero + .container .strip, .hero__deco, .strip__track { animation: none !important; }
  .js .timeline li { border-top-color: var(--tl-line); }
  .js .timeline li::after { display: none; }
  .js .timeline li::before, .js .timeline strong, .js .timeline span { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Dugme "nazad na vrh" (dole desno). Pojavljuje se posle malo skrolovanja.
   Bez JS-a ostaje sakriveno (atribut hidden). */
.to-top {
  position: fixed;
  right: clamp(16px, 2.5vw, 32px);
  bottom: calc(clamp(16px, 2.5vw, 32px) + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: var(--c-brand);
  color: #fff;
  box-shadow: var(--shadow-float);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(.9);
  transition: opacity 250ms var(--ease-out-soft, ease-out), transform 250ms var(--ease-out-soft, ease-out), visibility 0s linear 250ms, background-color 200ms ease;
}
.to-top .icon { transform: rotate(180deg); transition: transform 200ms var(--ease-out-soft, ease-out); }
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.to-top:hover { background: var(--c-brand-hover); }
.to-top:hover .icon { transform: rotate(180deg) translateY(2px); }
.to-top:active { transform: scale(.94); }
.to-top:focus-visible { outline-color: var(--c-brand); }
body.menu-open .to-top { visibility: hidden; opacity: 0; }
