/* ==========================================================================
   POČETNA STRANICA: zakazivanje preko cijelog ekrana (i stranica za otkazivanje)
   ========================================================================== */

/* ---------- Pozadina: čista tamna, sa blagim crvenim sjajem ---------- */
body.app {
  background-color: var(--bg);
  background-image: radial-gradient(90% 45% at 50% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%);
  background-attachment: fixed;
}
body.app-fixed {
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ---------- Gornja traka ---------- */
.topbar {
  flex: none;
  display: flex;
  align-items: center;
  gap: clamp(8px, 2.5vw, 24px);
  padding: 8px clamp(12px, 4vw, 32px);
  padding-top: calc(8px + env(safe-area-inset-top));
}
.monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  margin-right: auto;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--shadow) 35%, transparent);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: .04em;
  line-height: 1;
  text-decoration: none;
  overflow: hidden;
}
.topbar-link {
  min-height: 44px;
  padding: 0 4px;
  font-size: .875rem;
  font-weight: 600;
  transition: color .15s;
}
@media (hover: hover) { .topbar-link:hover { color: var(--accent); } }
.topbar-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  color: var(--accent);
}

/* ---------- Mali footer ---------- */
.minifoot {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 12px;
  padding: 3px 12px calc(3px + env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.2;
}
.minifoot a, .minifoot button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 24px;
  text-decoration: none;
  transition: color .15s;
}
@media (hover: hover) { .minifoot a:hover, .minifoot button:hover { color: var(--accent); } }

/* ---------- Koraci ---------- */
.stage { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.step {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}
.step-enter-next { animation: step-in-next .28s var(--ease); }
.step-enter-prev { animation: step-in-prev .28s var(--ease); }
.step-exit-next { animation: step-out-next .28s var(--ease) forwards; pointer-events: none; }
.step-exit-prev { animation: step-out-prev .28s var(--ease) forwards; pointer-events: none; }
@keyframes step-in-next { from { transform: translateX(100%); opacity: .3; } }
@keyframes step-in-prev { from { transform: translateX(-100%); opacity: .3; } }
@keyframes step-out-next { to { transform: translateX(-35%); opacity: 0; } }
@keyframes step-out-prev { to { transform: translateX(35%); opacity: 0; } }

.step-head { flex: none; padding: 4px 16px 10px; text-align: center; }
.step-kicker {
  color: var(--accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .24em;
}
.step-head h1 {
  margin-top: 2px;
  font-size: clamp(1.9rem, 8.6vw, 4rem);
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
  outline: none;
}
.step-head h1 em { color: var(--accent-2); font-style: normal; }
.step-back {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 500;
  transition: color .15s;
}
@media (hover: hover) { .step-back:hover { color: var(--accent); } }

.step-body {
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: 660px;
  margin-inline: auto;
  padding: 0 16px 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* Traka na dnu koraka */
.action-bar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 16px;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  border-top: 2px solid var(--accent);
}
.bar-info { min-width: 0; line-height: 1.25; }
.bar-total {
  display: block;
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: .02em;
}
.bar-sub { display: block; color: var(--muted); font-size: .85rem; }
.action-bar .btn { flex: none; min-width: 124px; text-transform: uppercase; }
@media (min-width: 760px) {
  .action-bar { padding-inline: calc((100vw - 628px) / 2); }
}

/* ---------- Korak 1: barberi ---------- */
.step-body-barbers {
  max-width: 1040px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.barber-cards {
  flex: 1;
  min-height: 230px;
  max-height: 600px;
  display: grid;
  grid-template-columns: repeat(var(--staff-count, 3), minmax(0, 1fr));
  gap: 8px;
}
.barber-pick {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  border: 1px solid var(--accent);
  text-align: center;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s;
}
.barber-pick .media { flex: 1; min-height: 0; }
.barber-pick .media img { position: absolute; inset: 0; transition: transform .4s var(--ease); }
.barber-pick-body { flex: none; display: block; padding: 8px 6px 8px; }
.barber-pick-name {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 5.5vw, 2.25rem);
  letter-spacing: .02em;
  line-height: 1.1;
  text-transform: uppercase;
}
.barber-pick-spec {
  display: block;
  min-height: 2.6em;
  margin-top: 2px;
  color: var(--muted);
  font-size: clamp(.7rem, 2.800vw, .95rem);
  line-height: 1.3;
}
.barber-pick-cta {
  display: block;
  margin-top: 6px;
  padding: 7px 4px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: clamp(.72rem, 2.800vw, .95rem);
  font-weight: 700;
  letter-spacing: .06em;
}
.barber-pick.is-selected { box-shadow: 0 0 0 2px var(--accent); }
@media (hover: hover) {
  .barber-pick:hover { transform: translateY(-4px); box-shadow: var(--hard-shadow-sm); }
  .barber-pick:hover img { transform: scale(1.04); }
}
.any-barber {
  flex: none;
  align-self: center;
  width: min(100%, 420px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 6px 14px;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  border: 1px solid var(--line);
  font-size: .9rem;
  font-weight: 600;
  transition: border-color .15s, color .15s;
}
.any-barber .icon { color: var(--accent); }
.any-barber.is-selected { border-color: var(--accent); }
@media (hover: hover) { .any-barber:hover { border-color: var(--accent); color: var(--accent); } }
@media (max-width: 759px) {
  /* Na telefonu ograničena visina, da uska kartica ne uveća lice previše. */
  .step-body-barbers { justify-content: center; }
  .barber-cards { max-height: 390px; }
}
@media (min-width: 760px) {
  .barber-cards { gap: 20px; }
  .barber-pick-body { padding: 14px 14px 16px; }
  .barber-pick-spec { min-height: 0; }
  .barber-pick-cta { margin-top: 12px; padding: 11px; }
}

/* ---------- Korak 2: usluge ---------- */
.acc { display: grid; gap: 8px; }
.acc-item { background: color-mix(in srgb, var(--bg) 94%, transparent); border: 1px solid var(--line); transition: border-color .15s; }
.acc-item.is-open { border-color: var(--accent); }
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 8px 12px;
  text-align: left;
}
.acc-icon { color: var(--accent); font-size: 1.15rem; display: inline-flex; }
.acc-name {
  flex: 1;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.acc-count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: .8rem;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
}
.acc-chevron { display: inline-flex; color: var(--muted); transition: transform .22s var(--ease); }
.acc-item.is-open .acc-chevron { transform: rotate(180deg); }
.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows .24s var(--ease), visibility 0s .24s;
}
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.acc-inner { min-height: 0; overflow: hidden; }
.svc-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 8px 12px;
  border-top: 1px solid var(--line);
  text-align: left;
  transition: background-color .15s;
}
.svc-box {
  flex: none;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--muted);
  color: transparent;
  font-size: .8rem;
  transition: background-color .12s, border-color .12s;
}
.svc-text { flex: 1; min-width: 0; line-height: 1.3; }
.svc-name { display: block; font-weight: 600; }
.svc-note { display: block; color: var(--muted); font-size: .8rem; }
.svc-meta { flex: none; text-align: right; line-height: 1.25; }
.svc-price { display: block; color: var(--accent); font-weight: 800; }
.svc-time { display: block; color: var(--muted); font-size: .8rem; }
.svc-row[aria-checked="true"] { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.svc-row[aria-checked="true"] .svc-box { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
@media (hover: hover) { .svc-row:hover { background: color-mix(in srgb, var(--accent) 7%, transparent); } }

/* ---------- Korak 3: točkići ---------- */
.step-body-time { display: flex; flex-direction: column; gap: 8px; max-width: 520px; }
.time-summary { flex: none; color: var(--muted); font-size: .875rem; line-height: 1.35; text-align: center; }
.time-summary b { color: var(--text); font-weight: 600; }
.step-alert {
  flex: none;
  padding: 8px 12px;
  border-left: 3px solid var(--danger);
  background: color-mix(in srgb, var(--danger) 12%, var(--bg));
  font-size: .875rem;
  line-height: 1.4;
}
.step-empty { padding: 18px; background: color-mix(in srgb, var(--bg) 94%, transparent); color: var(--muted); text-align: center; }
.wheels {
  --wheel-item: 46px;
  position: relative;
  flex: 1;
  min-height: 190px;
  max-height: 340px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 10px;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border: 1px solid var(--line);
}
.wheels::before {
  /* traka koja pokazuje izabrani red */
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: var(--wheel-item);
  transform: translateY(-50%);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border-block: 1px solid var(--accent);
  pointer-events: none;
}
.wheel {
  position: relative;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  outline: none;
  -webkit-mask-image: linear-gradient(transparent, #000 28%, #000 72%, transparent);
  mask-image: linear-gradient(transparent, #000 28%, #000 72%, transparent);
  perspective: 500px;
}
.wheel::-webkit-scrollbar { display: none; }
.wheel.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.wheel:focus-visible { box-shadow: inset 0 0 0 2px var(--accent-hover); }
.wheel-list { margin: 0; padding: 0; list-style: none; }
.wheel-item {
  height: var(--wheel-item);
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
  scroll-snap-stop: normal;
}
.wheel-label {
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transform-origin: center;
  will-change: transform, opacity;
}
.wheel-item.is-center .wheel-label { color: var(--accent); font-weight: 700; }
.wheel-item.is-off { cursor: not-allowed; }
.wheel-item.is-off .wheel-label { color: color-mix(in srgb, var(--muted) 65%, var(--bg)); text-decoration: line-through; font-weight: 400; }
.wheel-empty { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--muted); }

/* ---------- Korak 4: potvrda ---------- */
.summary-card {
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  border: 1px solid var(--accent);
  margin: 0;
}
.summary-card > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  font-size: .925rem;
  line-height: 1.35;
}
.summary-card > div:last-child { border-bottom: 0; }
.summary-card dt { flex: none; color: var(--muted); }
.summary-card dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.summary-total dd { color: var(--accent); font-weight: 800; }
.confirm-form { display: grid; gap: 10px; margin-top: 12px; }
.confirm-form .btn { width: 100%; text-transform: uppercase; }
.confirm-form .check { font-size: .9rem; }
.confirm-form .step-alert a { color: var(--accent); text-decoration: underline; }
/* Ime i prezime jedno pored drugog */
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.done-pending {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, var(--bg));
  font-size: .925rem;
  font-weight: 600;
  line-height: 1.45;
}

/* ---------- Potvrđen termin ---------- */
.done-check { width: 72px; height: 72px; margin: 0 auto 4px; display: block; color: var(--accent); }
.done-check rect {
  fill: none; stroke: currentColor; stroke-width: 3;
  stroke-dasharray: 304; stroke-dashoffset: 304;
  animation: draw .5s .05s var(--ease) forwards;
}
.done-check path {
  fill: none; stroke: currentColor; stroke-width: 6; stroke-linecap: square;
  stroke-dasharray: 60; stroke-dashoffset: 60;
  animation: draw .28s .45s var(--ease) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.done-code {
  margin: 10px 0;
  padding: 10px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px dashed var(--accent);
  text-align: center;
  font-size: .85rem;
  color: var(--muted);
}
.done-code b {
  display: block;
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 1.9rem;
  letter-spacing: .1em;
  line-height: 1.15;
}
.done-actions { display: grid; gap: 8px; margin-top: 12px; text-align: center; }
.done-actions .btn { width: 100%; text-transform: uppercase; }
.done-cancel { justify-self: center; padding: 6px; color: var(--muted); font-size: .9rem; }
.done-note { margin-top: 8px; color: var(--muted); font-size: .78rem; line-height: 1.4; text-align: center; }

/* ---------- Prozori preko ekrana ---------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  background-image:
    linear-gradient(color-mix(in srgb, var(--bg) 90%, transparent), color-mix(in srgb, var(--bg) 95%, transparent)),
    var(--brick);
  background-size: auto, 128px 64px;
  transform: translateY(24px);
  opacity: 0;
  visibility: hidden;
  transition: transform .24s var(--ease), opacity .2s, visibility 0s .24s;
}
.overlay.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.overlay-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 8px 16px;
  padding-top: calc(8px + env(safe-area-inset-top));
  border-bottom: 2px solid var(--accent);
}
.overlay-head h2 {
  font-size: 1.85rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  outline: none;
}
.overlay-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px 16px calc(24px + env(safe-area-inset-bottom));
}
.overlay-inner { max-width: 720px; margin-inline: auto; }
.overlay-inner-wide { max-width: 1040px; }

/* Usluge */
.price-group + .price-group { margin-top: 20px; }
.price-group h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 1.3rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 58px;
  gap: 12px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.price-row-name { font-weight: 600; line-height: 1.3; }
.price-row-time { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.price-row-value { color: var(--accent); font-weight: 800; text-align: right; white-space: nowrap; }

/* Radovi */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}
.gallery-item .media { width: 100%; height: 100%; }
.gallery-item img { transition: transform .4s var(--ease); }
.gallery-tag {
  position: absolute;
  z-index: 2;
  left: 0; bottom: 0;
  padding: 2px 9px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
@media (hover: hover) { .gallery-item:hover img { transform: scale(1.05); } }
@media (min-width: 760px) { .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
.instagram-btn { width: 100%; margin-top: 14px; }
.demo-note { margin-top: 10px; color: var(--muted); font-size: .8rem; text-align: center; }

/* Lokacija */
.location-grid { display: grid; gap: 16px; }
.location-address { font-family: var(--font-heading); font-size: 1.6rem; letter-spacing: .02em; line-height: 1.15; }
.location-phone { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--accent); font-weight: 700; text-decoration: none; min-height: 40px; }
.hours-title { margin-top: 10px; font-size: 1.2rem; letter-spacing: .03em; text-transform: uppercase; }
.hours-list { margin-top: 6px; border-top: 1px solid var(--line); }
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
.hours-list .is-today { background: color-mix(in srgb, var(--accent) 10%, transparent); font-weight: 700; }
.hours-list .is-closed span:last-child { color: var(--muted); }
.hours-list span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.rule-note {
  padding: 12px 14px;
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  font-weight: 600;
  line-height: 1.45;
}
.map-box { min-height: 240px; display: flex; background: color-mix(in srgb, var(--bg) 94%, transparent); border: 1px solid var(--line); }
.map-box iframe { width: 100%; min-height: 240px; flex: 1; border: 0; display: block; filter: grayscale(.4) contrast(1.05); }
.map-placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  text-align: center;
}
.map-placeholder p { max-width: 42ch; color: var(--muted); font-size: .875rem; line-height: 1.45; }
.location-actions { display: grid; gap: 8px; }
.location-actions .btn { width: 100%; }
@media (min-width: 760px) {
  .location-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
  .map-box, .map-box iframe { min-height: 420px; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  background: rgba(10, 10, 10, .97);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, visibility 0s .2s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 8px 16px;
  color: var(--muted);
  font-size: .9rem;
}
.lightbox-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 8px; }
.lightbox-stage .media { width: 100%; height: 100%; background: none; }
.lightbox-stage img { object-fit: contain; animation: lb-in .22s var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(.98); } }
.lightbox-caption {
  padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
  text-align: center;
  font-size: .925rem;
}
.lightbox-caption b { color: var(--accent); margin-right: 8px; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  background: color-mix(in srgb, var(--shadow) 55%, transparent);
}
.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }

/* ---------- Stranica za otkazivanje ---------- */
.cancel-page { width: 100%; max-width: 520px; margin-inline: auto; padding: 12px 16px 40px; }
.cancel-page h1 {
  margin-top: 2px;
  font-size: clamp(2rem, 9vw, 3rem);
  text-transform: uppercase;
  text-align: center;
  outline: none;
}
.cancel-page h1 em { color: var(--accent-2); font-style: normal; }
.cancel-page > .step-kicker { text-align: center; }
.cancel-lead { margin: 8px 0 14px; color: var(--muted); font-size: .95rem; text-align: center; line-height: 1.45; }
.cancel-box { display: grid; gap: 12px; }
.cancel-box .btn { width: 100%; }
.cancel-error {
  padding: 10px 12px;
  border-left: 3px solid var(--danger);
  background: color-mix(in srgb, var(--danger) 12%, var(--bg));
  font-size: .925rem;
  line-height: 1.4;
}
.cancel-link { justify-self: center; padding: 6px; color: var(--muted); font-size: .9rem; }
.cancel-danger { background: var(--danger); border-color: var(--danger); color: var(--bg); }

/* ---------- Uvodni ekran ---------- */
.splash {
  position: fixed;
  inset: 0;
  z-index: 400; /* iznad svega, i iznad cookie banera */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 24px;
  background-color: var(--bg);
  background-image: radial-gradient(60% 45% at 50% 42%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 75%);
  cursor: pointer;
  transition: opacity .4s var(--ease);
}
.splash-tagline {
  max-width: 32ch;
  margin-top: -10px;
  color: var(--accent-2);
  font-size: clamp(.9rem, 3.6vw, 1.05rem);
  text-align: center;
  animation: splash-name-in .5s .9s var(--ease) backwards;
}
.splash.is-leaving { opacity: 0; } /* i dok nestaje hvata dodire, da dupli dodir ne izabere barbera */
.splash-logo {
  position: relative;
  width: clamp(124px, 36vw, 168px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  animation: splash-logo-in 1.8s var(--ease) backwards;
}
.splash-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.splash-ring circle {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-dasharray: 1;
  animation: splash-ring-draw 1s .15s ease-in-out backwards;
}
.splash-monogram {
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: clamp(3rem, 14vw, 4.25rem);
  letter-spacing: .04em;
  line-height: 1;
}
.splash-image { width: 88%; height: 88%; object-fit: cover; border-radius: 50%; } /* logo popuni krug unutar prstena */
.splash-name {
  color: var(--text);
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 6vw, 2rem);
  letter-spacing: .08em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  animation: splash-name-in .5s .7s var(--ease) backwards;
}
.splash-still .splash-logo,
.splash-still .splash-ring circle,
.splash-still .splash-name,
.splash-still .splash-tagline { animation: none; }
@keyframes splash-logo-in {
  from { opacity: 0; transform: scale(.88); }
  30% { opacity: 1; }
}
@keyframes splash-ring-draw { from { stroke-dashoffset: 1; } }
@keyframes splash-name-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Bez klizanja i okretanja za one koji ne žele animacije ---------- */
@media (prefers-reduced-motion: reduce) {
  .step-enter-next, .step-enter-prev { animation: none; }
  .step-exit-next, .step-exit-prev { animation: none; display: none; }
  .wheel-label { will-change: auto; }
}

/* ---------- O nama (hero slika, slogan, tekst) ---------- */
.about { display: grid; gap: 18px; margin-bottom: 28px; }
.about-hero .media { aspect-ratio: 16 / 9; border: 1px solid var(--line); }
.about-name { font-family: var(--font-heading); font-size: clamp(1.8rem, 7vw, 2.6rem); line-height: 1.05; letter-spacing: .02em; }
.about-tagline { margin-top: 6px; color: var(--accent-2); font-weight: 600; }
.about-body p { margin-top: 12px; color: var(--muted); line-height: 1.6; }
.about-body .about-signature { margin-top: 16px; color: var(--text); font-weight: 600; font-style: italic; }
@media (min-width: 820px) {
  .about { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 32px; }
}

/* ==========================================================================
   POČETNI EKRAN (velika slika, logo, "Zakaži termin")
   ========================================================================== */
.step-home { overflow: hidden; }
.home {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.home-bg { position: absolute !important; inset: 0; }
.home-bg img { object-position: 38% 30%; animation: home-zoom 14s ease-out both; }
@keyframes home-zoom { from { transform: scale(1.08); } }
.home::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 45%, transparent) 0%, transparent 22%,
      color-mix(in srgb, var(--bg) 55%, transparent) 48%, var(--bg) 88%);
  pointer-events: none;
}
.home-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  padding: 16px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.home-logo {
  width: 64px;
  height: 64px;
  margin-bottom: 10px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 1.4rem;
}
.home-logo .logo-image { object-fit: cover; }
.home-place {
  color: var(--accent-2);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.home h1 {
  margin-top: 2px;
  font-size: clamp(3.4rem, 17vw, 6.5rem);
  line-height: .92;
  letter-spacing: .02em;
  text-transform: uppercase;
  outline: none;
}
.home-tagline {
  margin-top: 6px;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 5.4vw, 1.75rem);
  letter-spacing: .08em;
  color: var(--text);
  opacity: .85;
}
.home-rule {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 14px;
  border: 1px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.home-rule .icon { color: var(--accent-2); flex: none; }
.btn-xl {
  width: 100%;
  max-width: 420px;
  min-height: 58px;
  margin-top: 16px;
  font-size: 1.1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 35%, transparent);
}
.home-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  margin-top: 12px;
}
.home-links button {
  min-height: 40px;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent);
  text-underline-offset: 4px;
  transition: color .15s;
}
@media (hover: hover) { .home-links button:hover { color: var(--text); } }
@media (min-width: 760px) {
  .home-content { padding-bottom: 48px; }
  .home-logo { width: 84px; height: 84px; }
}
@media (prefers-reduced-motion: reduce) { .home-bg img { animation: none; } }

/* ---------- Napomena o radnom vremenu u koraku za termin ---------- */
.time-note {
  flex: none;
  padding: 8px 12px;
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.4;
}
.time-note b { color: var(--text); font-weight: 600; }

/* ---------- Logo u footeru ---------- */
.minifoot-brand { color: var(--text); font-weight: 700; }
.minifoot-logo {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  border: 1px solid var(--accent);
  font-size: .5rem;
}
.minifoot-logo .logo-image { object-fit: cover; }

/* ---------- O nama bez mape (nema adrese) ---------- */
.rule-note-strong { margin-bottom: 10px; }
@media (min-width: 760px) { .location-grid.location-grid-single { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }

/* Oznaka ispod vremena u točkiću (npr. "Stalni termin") */
.wheel-note {
  display: block;
  margin-top: -2px;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.1;
  text-transform: uppercase;
}
.wheel-item.is-off .wheel-label:has(.wheel-note) { text-decoration: none; }
.wheel-item.is-off .wheel-note { color: var(--blocked); }
/* Adresa je link na Google Maps */
.location-address a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
