/* Home page · white and cool gray, navy #093e73 ink, red #c50910 call, green open (from the logo) */
:root {
  color-scheme: light;
  --paper: #ffffff; --paper-2: oklch(97.2% 0.004 250); --paper-3: oklch(93.5% 0.007 250);
  --ink: oklch(24% 0.08 258); --ink-2: oklch(33% 0.05 258); --muted: oklch(48% 0.02 255); --rule: oklch(88% 0.008 250);
  --navy: #093e73; --navy-deep: oklch(27% 0.09 258);
  --go: #c50910; --go-hover: oklch(44% 0.18 27); --go-ink: #ffffff;
  --green: oklch(46% 0.11 150); --green-soft: oklch(94% 0.04 150);
  --focus: #093e73;
  --font-display: "Red Hat Display", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Red Hat Text", ui-sans-serif, system-ui, sans-serif;
  --gutter: 48px; --section: 96px; --radius: 10px; --callbar-h: 0px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 var(--font-body); -webkit-font-smoothing: antialiased; padding-bottom: var(--callbar-h); }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; hyphens: manual; overflow-wrap: normal; }
h1 { font-size: clamp(2.25rem, 4.2vw + 0.6rem, 4.25rem); max-width: 14ch; }
h2 { font-size: clamp(1.875rem, 2vw + 1rem, 2.75rem); margin-bottom: 32px; }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.16em; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.wrap { max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.lead { font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.3125rem); line-height: 1.45; max-width: 46ch; color: var(--ink-2); }

/* keys */
.key {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 8px;
  border: 1.5px solid var(--navy); background: var(--paper); color: var(--navy);
  font: 600 1rem/1 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 200ms var(--ease), transform 120ms var(--ease);
}
.key:hover { background: var(--paper-2); }
.key:active { transform: translateY(1px); }
.key--go { background: var(--go); border-color: var(--go); color: var(--go-ink); }
.key--go:hover { background: var(--go-hover); border-color: var(--go-hover); }
.key svg { flex-shrink: 0; }

/* live status */
.status {
  display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; border-radius: 999px;
  font: 600 0.9375rem/1.2 var(--font-body); white-space: nowrap; vertical-align: middle;
  background: var(--paper-3); color: var(--ink);
}
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.status[data-state="open"] { background: var(--green-soft); color: var(--green); }
.status[data-state="open"]::before { background: var(--green); box-shadow: 0 0 0 3px color-mix(in oklab, var(--green) 25%, transparent); }

/* header */
.top { border-bottom: 1px solid var(--rule); }
.top__in { display: flex; align-items: center; gap: 32px; min-height: 76px; }
.top__mark img { width: 84px; height: 56px; }
.top__nav { display: flex; gap: 28px; margin-left: auto; }
.top__nav a { font-weight: 500; color: var(--ink-2); text-decoration: none; padding: 8px 0; }
.top__nav a:hover { color: var(--ink); text-decoration: underline; }
.top__tel { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--navy); border-radius: 8px; color: var(--navy); font-weight: 600; text-decoration: none; }
.top__tel:hover { background: var(--paper-2); }

/* hero */
.hero { padding-block: 56px var(--section); }
.hero__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.hero__text { display: grid; gap: 22px; justify-items: start; }
.hero__now { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.hero__where { color: var(--muted); font-weight: 500; }
.hero__keys { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero__hours { display: flex; flex-wrap: wrap; gap: 4px 18px; color: var(--ink-2); font-weight: 500; }
.hero__hours span { white-space: nowrap; }
.kinds { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kinds li { padding: 5px 11px; border-radius: 6px; background: var(--paper-3); color: var(--ink-2); font-size: 0.9375rem; font-weight: 500; white-space: nowrap; }
.hero__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-3); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

/* services */
.services { padding-block: var(--section); background: var(--paper-2); border-block: 1px solid var(--rule); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { padding: 24px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper); display: grid; align-content: start; gap: 8px; }
.card__note { color: var(--muted); font-size: 0.9375rem; }
.ticks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.ticks li { position: relative; padding-left: 22px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 10px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.cip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 16px; padding: 24px 28px; background: var(--navy); color: #fff; border-radius: var(--radius); }
.cip h3 { color: #fff; font-size: clamp(1.25rem, 0.8vw + 1rem, 1.625rem); }
.cip__text p { margin-top: 4px; color: oklch(88% 0.03 250); }
.cip__call {
  display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 24px; border-radius: 8px;
  background: #fff; color: var(--navy); text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.375rem, 1vw + 1rem, 1.875rem); letter-spacing: -0.01em;
  transition: background-color 200ms var(--ease), transform 120ms var(--ease);
}
.cip__call:hover { background: var(--paper-3); }
.cip__call:active { transform: translateY(1px); }
.cip__call svg { color: var(--go); }
.cip__call:focus-visible { outline-color: #fff; outline-offset: 3px; }

/* photos */
.photos { padding-block: var(--section) 0; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 20vw, 300px); gap: 16px; }
.gallery figure { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--paper-3); }
.gallery__big { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 32px 16px 12px; color: #fff; font-size: 0.9375rem; font-weight: 500; background: linear-gradient(transparent, oklch(15% 0.04 258 / 0.72)); }

/* hours */
.hours { padding-block: var(--section); }
.hours__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.hours h2 { margin-bottom: 16px; }
.week { width: 100%; border-collapse: collapse; font-size: 1.125rem; }
.week th, .week td { padding: 18px 12px; border-bottom: 1px solid var(--rule); text-align: left; }
.week th { font-weight: 500; }
.week td { text-align: right; font-weight: 600; white-space: nowrap; }
.week tr:first-child th, .week tr:first-child td { border-top: 2px solid var(--navy); }
.week__shut td { color: var(--muted); font-weight: 500; }
.week tr.is-today { background: var(--paper-2); box-shadow: inset 3px 0 0 var(--go); }
.week tr.is-today th::after { content: "danas"; margin-left: 10px; padding: 2px 8px; border-radius: 999px; background: var(--go); color: var(--go-ink); font-size: 0.75rem; font-weight: 600; vertical-align: 2px; }

/* visit */
.visit { padding-block: var(--section); background: var(--paper-2); border-top: 1px solid var(--rule); }
.visit__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: start; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule); background: var(--paper-3); }
.map iframe { display: block; width: 100%; aspect-ratio: 1 / 1; border: 0; }
.visit__side { display: grid; gap: 24px; }
.addr { font-style: normal; font-size: 1.125rem; }
.addr__street { font-family: var(--font-display); font-weight: 700; font-size: 1.625rem; letter-spacing: -0.02em; }
.visit__keys { display: flex; flex-wrap: wrap; gap: 12px; }
.lines { margin: 0; display: grid; border-top: 1px solid var(--rule); }
.lines div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.lines dt { color: var(--muted); }
.lines dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.lines a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.lines div { align-items: center; padding-block: 2px; }
.lines a:hover { text-decoration: underline; }
.door img { border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.door figcaption { margin-top: 8px; font-size: 0.875rem; color: var(--muted); }

/* footer */
.foot { padding-block: 40px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.9375rem; }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.foot__in p:last-child { margin-left: auto; }
.foot a { display: inline-block; padding-block: 10px; color: var(--ink); }

/* phone call bar */
.callbar { display: none; }

@media (max-width: 64rem) {
  .top__nav { display: none; }
  .top__tel { margin-left: auto; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 47.5rem) {
  :root { --gutter: 16px; --section: 56px; --callbar-h: calc(76px + env(safe-area-inset-bottom)); }
  .top__in { min-height: 64px; gap: 12px; }
  .top__mark img { width: 66px; height: 44px; }
  .hero { padding-block: 20px var(--section); }
  .hero__in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero__text { gap: 16px; }
  .hero__keys { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
  .hero__keys .key { width: 100%; }
  .hero__photo { aspect-ratio: 4 / 3; }
  .hero__photo img { object-position: 50% 40%; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .card { padding: 20px; }
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery figure { flex: 0 0 88%; aspect-ratio: 4 / 3; scroll-snap-align: start; }
  .cip { padding: 20px; }
  .cip__call { width: 100%; justify-content: center; }
  .hours__in, .visit__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .week { font-size: 1rem; }
  .week th, .week td { padding: 14px 8px; }
  .map iframe { aspect-ratio: 4 / 3; }
  .visit__keys { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .visit__keys .key { padding-inline: 12px; }
  .foot__in p:last-child { margin-left: 0; }
  .callbar {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px;
    position: fixed; inset: auto 0 0 0; z-index: 300;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: color-mix(in oklab, var(--paper) 94%, transparent); border-top: 1px solid var(--rule);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  }
}

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

/* Analytics notice from consent.js: a small bubble bottom-left, above the phone call bar */
.consent {
  position: fixed; left: var(--gutter); bottom: var(--gutter); z-index: 400;
  display: flex; align-items: center; gap: 16px;
  padding: 8px 8px 8px 20px; border-radius: 8px;
  background: var(--navy-deep); color: #fff;
  box-shadow: 0 6px 20px oklch(22% 0.09 262 / 0.2);
  font-size: 0.9375rem;
}
.consent button {
  flex-shrink: 0; min-height: 36px; padding: 4px 16px; border: 0; border-radius: 6px; cursor: pointer; white-space: nowrap;
  background: #fff; color: var(--navy);
  font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem;
}
.consent button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 47.5rem) {
  .consent { left: 12px; right: 12px; justify-content: space-between; bottom: calc(var(--callbar-h) + 12px); }
}
