/* Ljekarna Varaždinske županije — srediste (bento service hub)
   Figtree only. Mint ground, white tiles, one teal-gradient hero tile, orange pill CTA.
   rem scale: html 10px. Breakpoints 1199.98 / 991.98 / 767.98. */

:root {
  --mint: #ebf6f4;
  --mint-2: #d8eee8;
  --mint-3: #c4e5dd;
  --white: #fff;
  --teal: #009780;
  --teal-fill: #00826d;
  --teal-ink: #00705f;
  --mid: #00858c;
  --deep: #005958;
  --deeper: #00403f;
  --abyss: #02302f;
  --light: #59c3b4;
  --orange: #f27414;
  --orange-hover: #e26404;
  --ink: #17302f;
  --ink-d: #0e1e1d;
  --text: #373737;
  --text-2: #4a4a4a;
  --muted: #566664;
  --line: rgba(0, 89, 88, .14);
  --line-2: rgba(0, 89, 88, .08);
  --deal: #a83f08;
  --err: #b3261e;
  --ok: #1d7a4a;
  --ok-fill: #2b7d2f;
  --amber: #f2b01e;
  --blue: #1f5fae;
  --r-tile: 2.6rem;
  --r-in: 1.6rem;
  --gap: 1.6rem;
  --pad: 3.2rem;
  --sh-tile: 0 .1rem .2rem rgba(0, 89, 88, .05), 0 1.8rem 3.6rem -1.8rem rgba(0, 89, 88, .26);
  --sh-lift: 0 .1rem .2rem rgba(0, 89, 88, .06), 0 2.6rem 5.2rem -1.8rem rgba(0, 89, 88, .38);
  --sh-pop: 0 .2rem .4rem rgba(0, 63, 62, .08), 0 2.4rem 6rem -1.2rem rgba(0, 63, 62, .34);
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 10px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font: 400 1.6rem/1.55 var(--font); color: var(--text); background: var(--mint);
  background-image:
    radial-gradient(70rem 46rem at 8% -6%, rgba(0, 151, 128, .13), transparent 70%),
    radial-gradient(60rem 40rem at 96% 38%, rgba(89, 195, 180, .16), transparent 70%);
  background-repeat: no-repeat; font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.drawer-open, body.dialog-open { overflow: hidden; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--teal-ink); text-underline-offset: .3rem; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.ic { width: 2rem; height: 2rem; flex: none; }
.ic-s { width: 1.4rem; height: 1.4rem; }
.sr-only { position: absolute !important; width: .1rem; height: .1rem; margin: -.1rem; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

:focus-visible { outline: .3rem solid var(--teal-fill); outline-offset: .3rem; border-radius: .6rem; }
.tile-hero :focus-visible, .tile-pens :focus-visible, .tile-dez :focus-visible, .foot-panel :focus-visible { outline-color: #fff; }
.skip-link { position: fixed; left: 1.6rem; top: -8rem; z-index: 200; background: var(--ink); color: #fff; padding: 1.2rem 2rem; border-radius: 99rem; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 1.6rem; }

.content-container { width: min(100% - 2 * var(--pad), 140rem); margin-inline: auto; }

/* ------------------------------------------------------------ buttons & small parts */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .9rem; min-height: 4.8rem; padding: 0 2.4rem; border: 0; border-radius: 99rem;
  font-weight: 700; font-size: 1.5rem; line-height: 1.1; text-decoration: none; white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn small { font-size: 1.2rem; font-weight: 500; opacity: .78; }
.btn-lg { min-height: 5.6rem; padding: 0 3.2rem; font-size: 1.7rem; }
.btn-block { width: 100%; }
.btn-orange { background: var(--orange); color: var(--ink-d); box-shadow: 0 1rem 2.2rem -1rem rgba(242, 116, 20, .85); }
.btn-orange:hover { background: var(--orange-hover); transform: translateY(-.2rem); box-shadow: 0 1.4rem 2.6rem -1rem rgba(226, 100, 4, .9); }
.btn-soft { background: var(--mint); color: var(--deep); box-shadow: inset 0 0 0 .1rem var(--line); }
.btn-soft:hover { background: var(--mint-2); transform: translateY(-.2rem); }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.5rem; color: var(--teal-ink); text-decoration: none; border-radius: .6rem; }
.link-arrow .ic { width: 1.7rem; height: 1.7rem; transition: transform .2s ease; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover .ic { transform: translate(.2rem, -.2rem); }
.icon-btn { display: inline-grid; place-items: center; width: 4.4rem; height: 4.4rem; border: 0; border-radius: 99rem; background: transparent; color: var(--deep); text-decoration: none; transition: background-color .2s ease, transform .2s ease; }
.icon-btn:hover { background: rgba(0, 151, 128, .12); }
.icon-btn-sm { width: 3.6rem; height: 3.6rem; background: var(--mint); }
.icon-btn[disabled] { opacity: .35; cursor: default; }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem 1rem; border-radius: 99rem; background: var(--mint); color: var(--deep); font-size: 1.25rem; font-weight: 650; line-height: 1.4; }
.chip .ic { width: 1.2rem; height: 1.2rem; }
.chip-pin { background: var(--deep); color: #fff; }
.chip-on { background: var(--mint-2); color: var(--deep); }
.chip-live { background: var(--orange); color: var(--ink-d); }
.chip-mute { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 .1rem var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.count { display: inline-grid; place-items: center; min-width: 2rem; height: 2rem; padding: 0 .6rem; margin-left: .6rem; border-radius: 99rem; background: var(--mint-2); color: var(--deep); font-size: 1.15rem; font-weight: 700; }

/* status shapes: filled disc = open, hollow ring = closed, diamond = depo (never colour alone) */
.st { display: inline-block; flex: none; width: 1.2rem; height: 1.2rem; border-radius: 50%; }
.st-open { background: var(--teal); box-shadow: 0 0 0 .3rem rgba(0, 151, 128, .2); }
.st-closed { background: transparent; box-shadow: inset 0 0 0 .2rem #6f7f7d; }
.st-depo { border-radius: .3rem; transform: rotate(45deg) scale(.86); }

/* flag-shaped status tag */
.flag { display: inline-flex; align-items: center; gap: .6rem; height: 3rem; padding: 0 2rem 0 1.2rem; font-size: 1.3rem; font-weight: 700; white-space: nowrap; clip-path: polygon(0 0, calc(100% - .9rem) 0, 100% 50%, calc(100% - .9rem) 100%, 0 100%); }
.flag .ic { width: 1.4rem; height: 1.4rem; }
.flag-open { background: var(--ok-fill); color: #fff; }
.flag-closed { background: var(--mint-2); color: var(--muted); }
.flag-res { background: var(--blue); color: #fff; }
.flag-wait { background: var(--amber); color: var(--ink-d); }

/* ------------------------------------------------------------ floating glass nav */
.site-header { position: sticky; top: 1.2rem; z-index: 60; margin-top: 1.2rem; }
.nav-bar {
  position: relative; display: flex; align-items: center; gap: 1.6rem; height: 7.2rem; padding: 0 1.4rem 0 2.6rem; border-radius: 99rem;
  background: rgba(255, 255, 255, .66); -webkit-backdrop-filter: blur(22px) saturate(1.7); backdrop-filter: blur(22px) saturate(1.7);
  box-shadow: inset 0 0 0 .1rem rgba(255, 255, 255, .8), 0 .1rem .2rem rgba(0, 89, 88, .06), 0 1.8rem 4rem -1.6rem rgba(0, 89, 88, .38);
}
.brand { display: block; flex: none; border-radius: 1rem; }
.brand img { height: 3.8rem; width: auto; }
.nav-list { display: flex; align-items: center; gap: .2rem; margin-left: 2.4rem; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: .4rem; height: 4.4rem; padding: 0 1.5rem; border: 0; border-radius: 99rem; background: transparent; color: var(--ink); font-size: 1.5rem; font-weight: 650; text-decoration: none; transition: background-color .2s ease; }
.nav-link .ic { width: 1.6rem; height: 1.6rem; transition: transform .2s ease; }
.nav-link:hover, .has-sub.open > .nav-link { background: rgba(0, 151, 128, .12); }
.has-sub.open > .nav-link .ic { transform: rotate(180deg); }
.subnav {
  position: absolute; top: calc(100% + 1.4rem); left: -1rem; width: max-content; min-width: 26rem; max-width: 62rem; padding: 1.4rem; border-radius: 2.4rem;
  background: #fff; box-shadow: var(--sh-pop), inset 0 0 0 .1rem var(--line-2);
  opacity: 0; visibility: hidden; transform: translateY(-.6rem); transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -1.6rem; height: 1.6rem; }
.has-sub.open > .subnav { opacity: 1; visibility: visible; transform: none; }
.subnav > ul { columns: 2; column-gap: .6rem; }
.nav-item:nth-child(3) .subnav > ul { columns: 1; }
.subnav li { break-inside: avoid; }
.subnav a { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: .9rem 1.2rem; border-radius: 1.2rem; color: var(--ink); font-size: 1.5rem; font-weight: 550; text-decoration: none; transition: background-color .15s ease; }
.subnav a:hover { background: var(--mint); }
.subnav a .count { margin: 0; }
.sub-nested { margin: 0 0 .4rem 1.2rem; padding-left: 1rem; border-left: .1rem solid var(--line); }
.sub-nested a { font-size: 1.4rem; color: var(--text-2); padding: .55rem 1rem; }
.nav-tools { display: flex; align-items: center; gap: .4rem; margin-left: auto; }
.nav-search { display: flex; align-items: center; border-radius: 99rem; transition: background-color .2s ease; }
.nav-search input { width: 0; min-width: 0; height: 4.4rem; padding: 0; border: 0; background: transparent; outline: 0; font-size: 1.5rem; transition: width .28s ease, padding .28s ease; }
.nav-search.open { background: rgba(0, 151, 128, .1); }
.nav-search.open input { width: 17rem; padding: 0 0 0 1.8rem; }
.nav-search:focus-within { box-shadow: 0 0 0 .3rem var(--teal-fill); }
.nav-search input:focus-visible { outline: 0; }
.nav-cta { min-height: 4.8rem; padding: 0 2.2rem; margin-left: .6rem; }
.nav-burger { display: none; }
.drawer { position: absolute; top: calc(100% + .8rem); left: 0; right: 0; max-height: calc(100vh - 11rem); overflow: auto; padding: 1.6rem; border-radius: 2.6rem; background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: var(--sh-pop); margin-inline: var(--pad); }
.drawer-search { display: flex; align-items: center; gap: .4rem; margin-bottom: 1rem; padding-left: 1.8rem; border-radius: 99rem; background: var(--mint); }
.drawer-search input { flex: 1; min-width: 0; height: 4.8rem; border: 0; background: transparent; outline: 0; font-size: 1.6rem; }
.drawer-search:focus-within { box-shadow: 0 0 0 .3rem var(--teal-fill); }
.drawer-link { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 5.2rem; padding: 0 1.4rem; border: 0; border-radius: 1.4rem; background: transparent; color: var(--ink); font-size: 1.8rem; font-weight: 700; text-decoration: none; text-align: left; }
.drawer-link:hover { background: var(--mint); }
.drawer-link[aria-expanded="true"] .ic { transform: rotate(180deg); }
.drawer-sub { padding: 0 0 1rem 1.4rem; }
.drawer-sub a { display: flex; align-items: center; justify-content: space-between; padding: .9rem 1.2rem; color: var(--text-2); font-size: 1.5rem; text-decoration: none; border-radius: 1rem; }
.drawer-sub a:hover { background: var(--mint); }
.drawer-sub .sub-nested { margin-left: 1rem; }
.drawer-cta { margin-top: 1rem; width: 100%; }

/* ------------------------------------------------------------ bento base */
.cluster { margin-top: 11rem; scroll-margin-top: 10rem; }
.hero-cluster { margin-top: 2rem; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.bento-head { grid-column: 1 / -1; display: flex; align-items: flex-end; justify-content: space-between; gap: 4rem; padding: 0 .8rem .6rem; }
.bento-head h2 { font-size: clamp(3.4rem, 4.4vw, 5.2rem); font-weight: 800; line-height: 1; letter-spacing: -.035em; color: var(--ink); }
.bento-head p { max-width: 42rem; color: var(--muted); font-size: 1.6rem; line-height: 1.5; padding-bottom: .4rem; }
.tile { position: relative; min-width: 0; padding: 2.8rem; border-radius: var(--r-tile); background: var(--white); box-shadow: inset 0 0 0 .1rem var(--line-2), var(--sh-tile); overflow: hidden; }
.tile-title { font-size: 1.7rem; font-weight: 750; letter-spacing: -.01em; color: var(--ink); }
.tile-title-on-dark { color: #fff; }
.glass { background: rgba(255, 255, 255, .17); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: inset 0 0 0 .1rem rgba(255, 255, 255, .3); color: #fff; }

/* ------------------------------------------------------------ HERO bento (12-col asymmetric) */
.hero-bento { grid-auto-rows: minmax(9rem, auto); }
.tile-hero { grid-column: 1 / 7; grid-row: 1 / 7; padding: 0; min-height: 64rem; color: #fff; background: linear-gradient(158deg, #00826d 0%, #00675c 36%, #00403f 100%); }
.tile-open { grid-column: 7 / 13; grid-row: 1 / 4; display: flex; flex-direction: column; gap: .8rem; padding: 2.4rem 2.4rem 2rem; }
.tile-dez { grid-column: 7 / 10; grid-row: 4 / 7; padding: 0; color: #fff; background: var(--deeper); }
.tile-pens { grid-column: 10 / 13; grid-row: 4 / 7; display: grid; grid-template-columns: 11rem 1fr; grid-template-areas: "h h" "r n" "c c" "u u"; align-content: space-between; gap: 1.2rem 1.4rem; padding: 2.2rem 2rem; color: #d9efeb; background: linear-gradient(170deg, #005958, #02302f); }
.hero-photo { position: absolute; inset: auto 0 0 0; width: 100%; height: 64%; object-fit: cover; object-position: 40% 45%; mix-blend-mode: luminosity; opacity: .86; filter: contrast(1.25) brightness(1.04); -webkit-mask-image: linear-gradient(to top, #000 38%, transparent 100%); mask-image: linear-gradient(to top, #000 38%, transparent 100%); }
.hero-shade { position: absolute; inset: 0; background: radial-gradient(60% 40% at 90% 100%, rgba(89, 195, 180, .35), transparent 70%), linear-gradient(to top, rgba(0, 48, 47, .5), transparent 45%); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; padding: 4rem 3.6rem 0; }
.hero-copy h1 { font-size: clamp(3.8rem, 4.5vw, 6.2rem); font-weight: 800; line-height: .98; letter-spacing: -.04em; text-wrap: balance; }
.hero-sub { margin-top: 2rem; max-width: 36rem; font-size: 1.7rem; line-height: 1.45; font-weight: 400; color: rgba(255, 255, 255, .88); }
.hero-find { display: flex; align-items: center; gap: .6rem; margin-top: 2.8rem; max-width: 43rem; padding: .6rem .6rem .6rem 2.4rem; border-radius: 99rem; background: rgba(255, 255, 255, .97); box-shadow: 0 1.6rem 3.4rem -1.4rem rgba(0, 30, 29, .6); }
.hero-find input { flex: 1; min-width: 0; height: 4.6rem; border: 0; background: transparent; color: var(--ink); font-size: 1.6rem; outline: 0; }
.hero-find input::placeholder { color: #5b6867; }
.hero-find:focus-within { box-shadow: 0 0 0 .3rem #fff, 0 1.6rem 3.4rem -1.4rem rgba(0, 30, 29, .6); }
.hero-today { position: absolute; left: 3.6rem; bottom: 3.2rem; z-index: 2; display: inline-flex; align-items: center; gap: .8rem; padding: 1rem 1.8rem; border-radius: 99rem; font-size: 1.4rem; font-weight: 650; }
.hero-today .ic { width: 1.8rem; height: 1.8rem; }

/* B: open now */
.tile-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.live-chip { display: inline-flex; align-items: center; gap: .7rem; padding: .4rem 1.2rem .4rem 1rem; border-radius: 99rem; background: var(--mint); font-size: 1.3rem; font-weight: 700; color: var(--deep); font-variant-numeric: tabular-nums; }
.live-dot { width: .9rem; height: .9rem; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 .3rem rgba(0, 151, 128, .22); }
.open-count { display: flex; align-items: baseline; gap: 1rem; color: var(--deep); line-height: .86; }
.open-count strong { font-size: clamp(7.6rem, 8vw, 10rem); font-weight: 900; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.open-count span { font-size: 1.7rem; font-weight: 500; line-height: 1.2; color: var(--muted); letter-spacing: 0; max-width: 11rem; }
.open-ticks { display: flex; align-items: flex-end; gap: .45rem; height: 3.4rem; }
.open-ticks i { flex: 1; height: 1.2rem; border-radius: .4rem; background: var(--mint-3); transform-origin: bottom; }
.open-ticks i.on { height: 3.4rem; background: var(--teal); }
.open-list-wrap { margin-top: .4rem; }
.open-list-title { font-size: 1.3rem; font-weight: 650; color: var(--muted); margin-bottom: .2rem; }
.open-row { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 1rem; width: 100%; min-height: 4.2rem; padding: 0 .8rem; margin-inline: -.8rem; width: calc(100% + 1.6rem); border: 0; border-radius: 1.2rem; background: transparent; text-align: left; font-size: 1.5rem; transition: background-color .15s ease; }
.open-row:hover { background: var(--mint); }
.open-list li + li .open-row { box-shadow: 0 -.1rem 0 var(--line-2); }
.open-name { font-weight: 700; color: var(--ink); }
.open-when { color: var(--text-2); font-variant-numeric: tabular-nums; }
.open-dist { color: var(--teal-ink); font-weight: 700; font-size: 1.3rem; }
.tile-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1rem; }
.tile-foot .btn { min-height: 4.4rem; padding: 0 1.8rem; }
.geo-note { font-size: 1.25rem; color: var(--muted); min-height: 0; }
.geo-note:empty { display: none; }

@media (min-width: 1200px) {
  .tile-open { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "h h" "c l" "k l" "f f" "g g"; column-gap: 3.2rem; align-content: start; }
  .tile-open .tile-head { grid-area: h; }
  .tile-open .open-count { grid-area: c; }
  .tile-open .open-ticks { grid-area: k; align-self: end; }
  .tile-open .open-list-wrap { grid-area: l; margin-top: 0; align-self: center; }
  .tile-open .tile-foot { grid-area: f; }
  .tile-open .geo-note { grid-area: g; }
}

/* C: dezurna */
.dez-photo { position: absolute; inset: 0 0 auto 0; width: 100%; height: 46%; object-fit: cover; object-position: 62% 40%; mix-blend-mode: luminosity; opacity: .72; }
.dez-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 64, 63, .62), rgba(0, 64, 63, .35) 22%, var(--deeper) 46%); }
.dez-body { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; padding: 2rem; gap: .8rem; }
.dez-body .tile-title { position: absolute; top: 2rem; left: 2rem; right: 2rem; }
.dez-hours { display: flex; align-items: baseline; font-size: clamp(4.8rem, 5vw, 6.4rem); font-weight: 900; line-height: .9; letter-spacing: -.06em; color: var(--orange); font-variant-numeric: tabular-nums; }
.dez-dash { font-weight: 300; margin: 0 .1em; color: #fff; opacity: .9; }
.dez-where { display: flex; flex-direction: column; font-size: 1.4rem; line-height: 1.35; color: #cfe6e2; }
.dez-where strong { color: #fff; font-weight: 700; font-size: 1.5rem; }
.dez-body .btn { min-height: 4.4rem; padding: 0 1.2rem; font-size: 1.45rem; margin-top: .6rem; }

/* D: pensioner countdown */
.tile-pens .tile-title { font-size: 1.6rem; line-height: 1.25; }
.pens-head { grid-area: h; display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; }
.pens-state { display: inline-flex; align-items: center; gap: .7rem; padding: .45rem 1.3rem .45rem 1.1rem; border-radius: 99rem; font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.pens-state i { width: .9rem; height: .9rem; flex: none; border-radius: 50%; }
.pens-state.is-off { background: rgba(255, 255, 255, .08); color: #cfe6e2; box-shadow: inset 0 0 0 .1rem rgba(255, 255, 255, .3); }
.pens-state.is-off i { box-shadow: inset 0 0 0 .2rem #cfe6e2; }
.pens-state.is-on { background: var(--orange); color: var(--ink-d); }
.pens-state.is-on i { background: var(--ink-d); }
.pens-ring { grid-area: r; position: relative; width: 11rem; aspect-ratio: 1; margin: 0; }
.pens-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.pens-track, .pens-arc { fill: none; stroke-width: 6; }
.pens-track { stroke: rgba(255, 255, 255, .14); }
.pens-arc { stroke: var(--orange); stroke-linecap: round; }
.pens-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: .9; }
.pens-num strong { font-size: 4.4rem; font-weight: 900; letter-spacing: -.05em; color: var(--orange); font-variant-numeric: tabular-nums; }
.pens-num strong.is-word { font-size: 2.6rem; letter-spacing: -.03em; }
.pens-num span { margin-top: .3rem; font-size: 1.3rem; font-weight: 600; color: #cfe6e2; }
.pens-next { grid-area: n; align-self: center; font-size: 1.35rem; line-height: 1.35; color: #cfe6e2; }
.pens-next strong { display: block; margin-top: .2rem; font-size: 1.7rem; color: #fff; font-weight: 750; }
.pens-cta { grid-area: c; width: 100%; min-height: 4.4rem; padding: 0 1.6rem; font-size: 1.45rem; }
.pens-rule { grid-area: u; padding-top: 1rem; font-size: 1.2rem; line-height: 1.4; color: #a8cbc6; border-top: .1rem solid rgba(255, 255, 255, .14); }


/* E: poster discounts as live UI (circles keep the poster template) */
.tile-deals { grid-column: 1 / -1; padding: 3.2rem 3.2rem 2.8rem; background: radial-gradient(64rem 30rem at 8% 0, rgba(255, 255, 255, .7), transparent 70%), radial-gradient(54rem 34rem at 100% 100%, rgba(89, 195, 180, .3), transparent 70%), var(--mint-2); }
.hd-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 2rem 4rem; margin-bottom: 3rem; }
.hd-eyebrow { display: inline-flex; align-items: center; gap: .7rem; font-size: 1.35rem; font-weight: 700; color: var(--teal-ink); }
.hd-eyebrow .ic { width: 1.7rem; height: 1.7rem; }
.hd-title h2 { margin-top: .8rem; font-size: clamp(3rem, 3.4vw, 4.6rem); font-weight: 800; line-height: 1; letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
.hd-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 1.2rem 2.4rem; }
.hd-seg { margin: 0; }
.hd-seg .chip-toggle { background: #fff; }
.hd-seg .chip-toggle:hover { background: var(--mint); }
.hd-seg .chip-toggle[aria-pressed="true"] { background: var(--deep); }
.hd-groups { display: grid; gap: 3.4rem; }
.hd-ghead { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.hd-ghead h3 { font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.hd-ghead .count { margin-left: 0; background: #fff; }
.hd-ghead::after { content: ""; flex: 1; height: .1rem; margin-left: 1rem; background: var(--line); }
.hd-max, .hd-ghead .count { flex: none; white-space: nowrap; }
.hd-max { font-size: 1.35rem; font-weight: 750; color: var(--deal); }
.hd-grid { --n: 8; --g: 1.6rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 2.8rem var(--g); }
.hd-item { container-type: inline-size; display: flex; flex-direction: column; align-items: center; gap: 1.8rem; width: calc((100% - (var(--n) - 1) * var(--g)) / var(--n) - .05rem); }
.hd-badge { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4cqw; width: 100%; aspect-ratio: 1; padding: 11cqw 8cqw 9cqw; border-radius: 50%; background: #fff; text-align: center; box-shadow: inset 0 0 0 .1rem rgba(0, 151, 128, .12), 0 .1rem .2rem rgba(0, 89, 88, .06), 0 1.4rem 2.6rem -1.2rem rgba(0, 89, 88, .38); }
.hd-dates { font-size: clamp(1.05rem, 9.4cqw, 1.5rem); font-weight: 750; line-height: 1; letter-spacing: .02em; color: var(--muted); font-variant-numeric: tabular-nums; }
.hd-logo { width: auto; max-width: 68%; height: auto; max-height: 30cqw; object-fit: contain; }
.hd-word { font-size: clamp(1.2rem, 11cqw, 1.7rem); font-weight: 800; line-height: 1.05; color: var(--deep); }
.hd-off { font-size: clamp(2rem, 21cqw, 3.4rem); font-weight: 850; line-height: 1; letter-spacing: -.04em; color: var(--deal); font-variant-numeric: tabular-nums; }
.hd-off small { margin-left: .04em; font-size: .62em; font-weight: 800; }
.hd-pill { display: inline-block; padding: .4em .8em; border-radius: 99rem; background: #fdeadb; color: var(--deal); font-size: clamp(1.1rem, 10.5cqw, 1.5rem); font-weight: 800; letter-spacing: 0; line-height: 1.1; }
.hd-tag { position: absolute; left: 50%; bottom: -.9rem; transform: translateX(-50%); padding: .3rem 1rem; border-radius: 99rem; background: #fff; box-shadow: inset 0 0 0 .1rem var(--line); color: var(--deep); font-size: 1.15rem; font-weight: 750; line-height: 1.3; white-space: nowrap; }
.is-live .hd-tag { background: var(--orange); color: var(--ink-d); box-shadow: none; }
.hd-note { max-width: 100%; font-size: 1.3rem; line-height: 1.3; color: var(--text-2); text-align: center; text-wrap: balance; }
.is-ended .hd-badge { box-shadow: inset 0 0 0 .1rem var(--line); }
.is-ended .hd-badge > :not(.hd-tag), .is-ended .hd-note { opacity: .6; filter: grayscale(1); }
.is-ended .hd-tag { background: var(--mint-3); }
.hd-more { display: flex; margin: 2.4rem auto 0; min-height: 4.4rem; padding: 0 2rem; background: #fff; }
.hd-more:hover { background: var(--mint); }
.hd-more .ic { width: 1.8rem; height: 1.8rem; transition: transform .2s ease; }
.hd-more[aria-expanded="true"] .ic { transform: rotate(180deg); }
.hd-empty { padding: 2rem 0; text-align: center; color: var(--muted); }
.hd-foot { margin-top: 3rem; font-size: 1.3rem; line-height: 1.45; color: var(--muted); }

/* intro: one orchestrated moment */
@media (prefers-reduced-motion: no-preference) {
  .hero-bento .tile { animation: tile-in .8s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 80ms); }
  .open-ticks i { animation: tick-in .5s var(--ease-out) both; animation-delay: calc(500ms + var(--i, 0) * 28ms); }
  .hero-bento .ring, .rv.in .ring { animation: ring-in 1s var(--ease-out) both; }
  .rv.in .ring-arc { animation: ring-draw 1.2s var(--ease-out) both; }
  /* scroll reveal: app.js tags targets .rv, adds .in when they enter the viewport; backwards fill keeps hover transforms free */
  .rv:not(.in) { opacity: 0; }
  .rv.in { animation: rv-in .7s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 55ms); }
  .beacon, .fm-beacon { animation: beacon 2.6s ease-out infinite; }
  .live-dot { animation: blink 2.4s ease-in-out infinite; }
}
@keyframes tile-in { from { opacity: 0; transform: translateY(1.6rem) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes rv-in { from { opacity: 0; transform: translateY(3.2rem) scale(.985); } }
@keyframes tick-in { from { transform: scaleY(.1); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ring-in { from { opacity: 0; transform: rotate(-24deg) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes ring-draw { from { stroke-dasharray: 0 100; } }
@keyframes beacon { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(3.4); opacity: 0; } }
@keyframes blink { 50% { box-shadow: 0 0 0 .7rem rgba(0, 151, 128, 0); } }

/* ------------------------------------------------------------ NATJEČAJI */
.tile-tender { grid-column: 1 / 9; display: flex; flex-direction: column; gap: 2.4rem; padding: 3.2rem; }
.tile-tender-sub { grid-column: span 6; display: flex; flex-direction: column; gap: 2rem; padding: 3rem; }
.tile-eyebrow { display: flex; align-items: center; gap: .8rem; padding-bottom: 1.4rem; border-bottom: .1rem solid var(--line); }
.tile-eyebrow .hd-eyebrow { font-size: 1.5rem; letter-spacing: .08em; text-transform: uppercase; }
.tile-eyebrow .count { margin-left: 0; }
.sub-feat { display: grid; grid-template-columns: 14rem 1fr; gap: 2.4rem; align-items: center; }
.tile-tender-sub .tender-copy h3 { font-size: 2.2rem; line-height: 1.15; letter-spacing: -.02em; }
.tender-foot { display: flex; margin-top: auto; padding-top: .4rem; }
.tender-foot .btn { width: 100%; justify-content: space-between; }
.tender-foot .count { margin-left: .8rem; }
.tender-top { display: grid; grid-template-columns: 22rem 1fr; gap: 3.6rem; align-items: center; }
.tile-tender .tender-top { margin-block: auto; } /* the tile stretches to the dark tile beside it: centre the ring + copy between eyebrow and button */
.tile-tender .tender-foot { margin-top: 0; }
.ring-wrap { position: relative; width: 22rem; aspect-ratio: 1; }
.ring { display: block; width: 100%; height: 100%; overflow: visible; } /* block: an inline svg leaves a baseline gap, which made the figure taller than wide and pushed the disc + number down */
.ring-wrap::before { content: ""; position: absolute; inset: 15%; border-radius: 50%; background: var(--mint); box-shadow: inset .5rem .5rem 1rem rgba(0, 89, 88, .12), inset -.5rem -.5rem 1rem #fff; } /* soft inner disc behind the number */
.ring-track, .ring-arc { fill: none; stroke-width: 16; }
.ring-track { stroke: var(--mint-2); }
.ring-arc { stroke: url(#ring-grad); stroke-linecap: round; stroke-dasharray: var(--p) 100; filter: drop-shadow(0 .3rem .5rem rgba(0, 130, 109, .35)); } /* pathLength=100, so --p is the percent left */
.ring-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: .9; }
.ring-num strong { font-size: 8.4rem; font-weight: 900; letter-spacing: -.06em; color: var(--deep); font-variant-numeric: tabular-nums; }
.ring-num span { font-size: 1.7rem; font-weight: 600; color: var(--muted); margin-top: .2rem; }
.ring-wrap.ring-sm { width: 14rem; }
.ring-sm .ring-num strong { font-size: 4.8rem; }
.ring-sm .ring-num span { font-size: 1.3rem; }
.ring-check { width: 4rem; height: 4rem; margin-bottom: .6rem; color: var(--teal-fill); }
.tender-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; }
.tender-copy h3 { font-size: clamp(2.8rem, 3vw, 3.8rem); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; color: var(--ink); }
.tender-meta { font-size: 1.6rem; color: var(--text-2); }
.tender-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.2rem 2.4rem; margin-top: .4rem; }
.pill-link { grid-area: link; display: inline-flex; align-items: center; gap: .5rem; height: 3.6rem; padding: 0 1.4rem; border-radius: 99rem; background: #fff; color: var(--deep); font-size: 1.3rem; font-weight: 700; text-decoration: none; box-shadow: inset 0 0 0 .1rem var(--line); transition: background-color .15s ease, transform .15s ease; white-space: nowrap; }
.pill-link .ic { width: 1.5rem; height: 1.5rem; }
.pill-link:hover { background: var(--mint-2); transform: translateY(-.15rem); }

.tile-tender-all { grid-column: 9 / 13; display: flex; flex-direction: column; gap: 2rem; padding: 3.2rem 3rem; color: #cfe6e2; background: radial-gradient(42rem 26rem at 100% 0, rgba(0, 133, 140, .42), transparent 70%), linear-gradient(165deg, #005958, #02302f); }
.tile-tender-all h3 { font-size: 2.6rem; font-weight: 800; line-height: 1.08; letter-spacing: -.025em; color: #fff; }
.tile-tender-all :focus-visible, .tile-detail :focus-visible { outline-color: #fff; }
.lgrp-wrap { display: flex; flex-direction: column; gap: 2.2rem; }
.lgrp-head { display: flex; align-items: center; padding-bottom: .9rem; justify-content: space-between; gap: 1rem; font-size: 1.3rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--light); }
.lgrp-head .count { margin-left: 0; background: rgba(255, 255, 255, .14); color: #fff; }
.link-rows a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; font-size: 1.5rem; font-weight: 600; color: #fff; text-decoration: none; border-top: .1rem solid rgba(255, 255, 255, .15); }
.link-rows li:last-child a { border-bottom: .1rem solid rgba(255, 255, 255, .15); }
.link-rows a:hover { color: var(--light); }
.link-rows .ic { width: 1.6rem; height: 1.6rem; color: var(--light); }
.tile-tender-all .btn { margin-top: auto; }

/* dialog (all tenders) */
.sheet { width: min(100% - 3.2rem, 96rem); max-height: min(86vh, 78rem); padding: 0; border: 0; border-radius: 3rem; background: #fff; color: var(--text); box-shadow: 0 4rem 10rem -2rem rgba(0, 40, 39, .55); overflow: hidden; }
.sheet::backdrop { background: rgba(2, 48, 47, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet[open] { display: flex; animation: sheet-in .3s cubic-bezier(.2, .7, .2, 1); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(2rem) scale(.98); } to { opacity: 1; transform: none; } }
.sheet-inner { display: flex; flex-direction: column; width: 100%; min-height: 0; padding: 2.8rem 3rem 0; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: 1.6rem; }
.sheet-head h2:focus { outline: 0; }
.sheet-head h2 { font-size: 3rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.seg { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1rem; }
.chip-toggle { display: inline-flex; align-items: center; gap: .6rem; min-height: 4rem; padding: 0 1.6rem; border: 0; border-radius: 99rem; background: var(--mint); color: var(--deep); font-size: 1.4rem; font-weight: 650; box-shadow: inset 0 0 0 .1rem var(--line); transition: background-color .15s ease, color .15s ease; }
.chip-toggle .ic { width: 1.6rem; height: 1.6rem; }
.chip-toggle:hover { background: var(--mint-2); }
.chip-toggle[aria-pressed="true"] { background: var(--deep); color: #fff; box-shadow: none; }
.chip-toggle[aria-pressed="true"] .count { background: rgba(255, 255, 255, .2); color: #fff; }
.td-list { overflow: auto; margin: 0 -3rem; padding: 0 3rem 3rem; }
.td-row { display: grid; grid-template-columns: 7.2rem 1fr auto auto; gap: 1.6rem; align-items: center; padding: 1.8rem 0; border-top: .1rem solid var(--line); }
.td-date { display: flex; flex-direction: column; line-height: 1.15; }
.td-date strong { font-size: 2rem; font-weight: 800; color: var(--deep); font-variant-numeric: tabular-nums; }
.td-date span { font-size: 1.3rem; color: var(--muted); }
.td-main { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.td-main strong { font-size: 1.7rem; font-weight: 700; color: var(--ink); line-height: 1.3; }
.td-main span { font-size: 1.4rem; color: var(--muted); }
.td-links { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-end; }

/* ------------------------------------------------------------ OBAVIJESTI feed */
.feed-band { padding-block: clamp(4.8rem, 7vw, 8rem) clamp(3.2rem, 5vw, 6rem); color: #cfe6e2; background: radial-gradient(60rem 36rem at 100% 0, rgba(0, 133, 140, .42), transparent 70%), linear-gradient(165deg, #005958, #02302f); }
.feed-band .bento-head h2 { color: #fff; }
.feed-panel { grid-column: 1 / -1; }
.feed-band :focus-visible { outline-color: #fff; }
.feed-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap); }
.feed-item { display: flex; min-width: 0; }
.feed-card { position: relative; flex: 1; display: flex; min-width: 0; border-radius: 2.2rem; overflow: hidden; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 .1rem rgba(255, 255, 255, .14); transition: background-color .2s ease, transform .2s ease; }
.feed-card:hover { background: rgba(255, 255, 255, .1); transform: translateY(-.3rem); }
.feed-copy { flex: 1; display: flex; flex-direction: column; gap: 1rem; padding: 2.2rem 2.4rem 2.4rem; }
.feed-copy h3 { font-size: 2rem; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.feed-link { color: #fff; text-decoration: none; }
.feed-link::after { content: ""; position: absolute; inset: 0; border-radius: 2.2rem; }
.feed-link:focus-visible { outline: 0; }
.feed-link:focus-visible::after { outline: .3rem solid #fff; outline-offset: -.3rem; }
.feed-sub { font-size: 1.5rem; font-weight: 600; color: #fff; }
.feed-p { font-size: 1.45rem; line-height: 1.6; }
.feed-copy time { font-size: 1.35rem; font-weight: 600; color: #cfe6e2; font-variant-numeric: tabular-nums; }
.feed-more { display: inline-flex; align-items: center; gap: .6rem; margin-top: auto; padding-top: .6rem; font-size: 1.4rem; font-weight: 700; color: var(--light); }
.feed-more .ic { width: 1.6rem; height: 1.6rem; transition: transform .2s ease; }
.feed-card:hover .feed-more .ic { transform: translate(.2rem, -.2rem); }
.feed-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 1.2rem 1.6rem; margin-top: auto; padding-top: .6rem; }
.feed-foot time { margin-right: auto; }
.feed-foot .btn { position: relative; z-index: 1; }
.feed-card .facts { display: flex; flex-wrap: wrap; gap: .8rem; }
.feed-card .facts div { display: flex; flex-direction: column; padding: .8rem 1.4rem; border-radius: 1.4rem; background: rgba(255, 255, 255, .08); }
.feed-card .facts dt { font-size: 1.2rem; color: #cfe6e2; }
.feed-card .facts dd { font-size: 1.45rem; font-weight: 700; color: #fff; }
.is-feat .feed-card { background: linear-gradient(150deg, var(--teal-ink), var(--deeper)); box-shadow: inset 0 0 0 .1rem rgba(255, 255, 255, .2); }
.is-feat .feed-card:hover { background: linear-gradient(150deg, var(--teal-ink), var(--deeper)); }
.is-feat .feed-copy { gap: 1.8rem; padding: 3.6rem 4rem 3.8rem; }
.is-feat .feed-copy h3 { font-size: clamp(3rem, 3.6vw, 4.8rem); line-height: 1.05; letter-spacing: -.035em; }
.is-feat .feed-sub { font-size: 2.2rem; line-height: 1.3; }
.is-feat .feed-p { font-size: 1.8rem; line-height: 1.7; max-width: 62ch; }
.is-feat .facts { gap: 1rem; margin-top: auto; }
.is-feat .facts + .feed-foot { margin-top: 0; }
.is-feat .facts div { padding: 1.2rem 2rem; }
.is-feat .facts dt { font-size: 1.3rem; }
.is-feat .facts dd { font-size: 1.7rem; }
.is-feat .feed-foot time { font-size: 1.5rem; }
/* desktop: feature (4/6 wide, two rows) + two stacked on the right, two halves below */
@media (min-width: 992px) {
  .feed-item.is-feat { grid-column: 1 / 5; grid-row: 1 / 3; }
  .feed-item:nth-child(2), .feed-item:nth-child(3) { grid-column: 5 / 7; }
  .feed-item:nth-child(4), .feed-item:nth-child(5) { grid-column: span 3; }
}
.feed-band .chip { background: rgba(255, 255, 255, .12); color: #fff; }
.feed-band .chip-pin { background: var(--orange); color: var(--ink-d); }
.feed-band .chip-on { background: rgba(89, 195, 180, .32); }
.feed-band .chip-mute { background: transparent; color: #cfe6e2; box-shadow: inset 0 0 0 .1rem rgba(255, 255, 255, .3); }

/* ------------------------------------------------------------ MJERENJA */
.tile-cal { grid-column: 1 / 6; padding: 2.6rem; }
.tile-day { grid-column: 6 / 13; padding: 2.8rem 3rem; display: flex; flex-direction: column; gap: 2rem; background: linear-gradient(180deg, #fff, #fff 60%, var(--mint) 140%); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.6rem; }
.cal-head h3 { font-size: 3rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.cal-head h3 span { font-weight: 300; color: var(--muted); }
.cal-nav { display: flex; gap: .6rem; }
.cal-week, .cal-body { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .4rem; }
.cal-week span { text-align: center; font-size: 1.25rem; font-weight: 650; color: var(--muted); padding-bottom: .8rem; }
.cal-day { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; aspect-ratio: 1 / .96; border: 0; border-radius: 1.6rem; background: transparent; color: var(--text-2); transition: background-color .15s ease, color .15s ease, transform .15s ease; }
.cal-num { font-size: 1.7rem; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1; }
.cal-dots { display: flex; gap: .3rem; height: .6rem; }
.cal-dots i { width: .6rem; height: .6rem; border-radius: 50%; background: var(--teal-fill); }
.cal-day.has { background: var(--mint); color: var(--ink); }
.cal-day.has .cal-num { font-weight: 800; }
.cal-day:hover { background: var(--mint-2); }
.cal-day.today::after { content: ""; position: absolute; inset: .2rem; border-radius: 1.4rem; box-shadow: inset 0 0 0 .2rem var(--orange); pointer-events: none; }
.cal-day.sel { background: var(--deep); color: #fff; transform: scale(1.04); box-shadow: 0 1rem 2rem -.8rem rgba(0, 89, 88, .6); z-index: 1; }
.cal-day.sel .cal-dots i { background: var(--light); }
.tile-cal { display: flex; flex-direction: column; }
/* calendar keeps its own height; when the day list is taller it sticks under the header while scrolling */
@media (min-width: 992px) { .tile-cal { align-self: start; position: sticky; top: 10rem; } }
.cal-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; padding-top: 2rem; border-top: .1rem solid var(--line); }
.cal-foot p { display: flex; align-items: baseline; gap: .8rem; font-size: 1.4rem; color: var(--muted); }
.cal-foot strong { font-size: 3.6rem; font-weight: 900; line-height: 1; letter-spacing: -.05em; color: var(--deep); }
.cal-key { display: flex; flex-wrap: wrap; gap: 1.6rem; margin: 1.8rem 0 1.6rem; font-size: 1.3rem; color: var(--muted); }
.cal-key span { display: inline-flex; align-items: center; gap: .7rem; }
.cal-key .cal-dots { height: auto; }
.cal-ring { width: 1.4rem; height: 1.4rem; border-radius: .5rem; box-shadow: inset 0 0 0 .2rem var(--orange); }
.day-head { display: flex; align-items: center; gap: 2rem; }
.day-head .day-num { font-size: 9rem; font-weight: 900; line-height: .8; letter-spacing: -.07em; color: var(--deep); font-variant-numeric: tabular-nums; }
.day-head .day-num span { font-weight: 300; }
.day-head h3 { font-size: 2.6rem; font-weight: 800; letter-spacing: -.025em; color: var(--ink); }
.day-head p { font-size: 1.5rem; color: var(--muted); }
.ev-list { display: flex; flex-direction: column; }
.ev { position: relative; display: grid; grid-template-columns: 9rem 1fr 9.6rem 4.4rem; gap: 2rem; align-items: start; padding: 2rem 0; border-top: .1rem solid var(--line); }
.ev-time { display: flex; flex-direction: column; line-height: 1.1; }
.ev-time strong { font-size: 2.6rem; font-weight: 800; color: var(--deep); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ev-time span { font-size: 1.3rem; color: var(--muted); margin-top: .3rem; }
.ev-main { display: flex; flex-direction: column; gap: .8rem; min-width: 0; }
.ev-main h4 { font-size: 1.9rem; font-weight: 750; line-height: 1.25; letter-spacing: -.015em; color: var(--ink); }
.ev-where { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .8rem; font-size: 1.4rem; color: var(--muted); }
.ev-where .ic { width: 1.6rem; height: 1.6rem; color: var(--teal-ink); }
.ev-loc { padding: 0; border: 0; background: none; color: var(--teal-ink); font-weight: 700; text-decoration: underline; text-underline-offset: .3rem; text-decoration-color: rgba(0, 112, 95, .35); }
.ev-loc:hover { text-decoration-color: currentColor; }
.ev-text { font-size: 1.4rem; line-height: 1.5; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ev-img { width: 9.6rem; height: 9.6rem; border-radius: 1.6rem; object-fit: cover; background: var(--mint-2); }
.ev-go { display: grid; place-items: center; width: 4.4rem; height: 4.4rem; border-radius: 50%; background: var(--mint); color: var(--deep); transition: background-color .2s ease, transform .2s ease; }
.ev-go:hover { background: var(--teal-fill); color: #fff; transform: translate(.2rem, -.2rem); }
.ev-next { margin-top: auto; padding-top: 1.4rem; }
.ev-next h4 { font-size: 1.4rem; font-weight: 700; color: var(--muted); margin-bottom: .4rem; }
.next-row { display: grid; grid-template-columns: 5.2rem 1fr auto; align-items: center; gap: 1.4rem; width: 100%; padding: 1rem 1rem 1rem .6rem; border: 0; border-radius: 1.4rem; background: transparent; text-align: left; transition: background-color .15s ease; }
.next-row:hover { background: var(--mint); }
.ev-next li + li { border-top: .1rem solid var(--line-2); }
.next-date { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.next-date strong { font-size: 2.4rem; font-weight: 800; color: var(--deep); font-variant-numeric: tabular-nums; }
.next-date small { margin-top: .3rem; font-size: 1.2rem; color: var(--muted); }
.next-main { display: flex; flex-direction: column; min-width: 0; }
.next-main strong { font-size: 1.5rem; font-weight: 700; color: var(--ink); line-height: 1.3; }
.next-main span { font-size: 1.3rem; color: var(--muted); }
.next-row .ic { width: 1.8rem; height: 1.8rem; color: var(--teal-ink); }
.ev-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; padding: 3.2rem; border-radius: 2rem; background: var(--mint); font-size: 1.6rem; color: var(--text-2); }

/* ------------------------------------------------------------ POGODNOSTI */
.pog-pills { grid-column: 1 / 6; grid-row: 2; align-self: start; display: grid; grid-template-rows: repeat(4, 11.6rem); gap: 1.2rem; }
.pill-card {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; width: 100%; padding: 0 1.8rem 0 3.4rem; border: 0; border-radius: 99rem; overflow: hidden; text-align: left; color: #fff; isolation: isolate;
  background: linear-gradient(90deg, rgba(0, 48, 47, .94) 0%, rgba(0, 89, 88, .82) 46%, rgba(0, 89, 88, .1) 100%), var(--photo, none) var(--pos, center) / cover, var(--deeper);
  box-shadow: var(--sh-tile); transition: transform .25s ease, box-shadow .25s ease, padding .25s ease;
}
.pill-card:hover { transform: translateY(-.3rem); box-shadow: var(--sh-lift); }
.pill-card[aria-pressed="true"] { box-shadow: 0 0 0 .4rem var(--orange), var(--sh-lift); padding-left: 4rem; }
.pill-plain { background: linear-gradient(90deg, var(--deeper) 0%, var(--deep) 55%, #00706b 100%); }
.pill-text { display: flex; flex-direction: column; gap: .4rem; }
.pill-text strong { font-size: clamp(2rem, 1.9vw, 2.6rem); font-weight: 800; line-height: 1.1; letter-spacing: -.025em; }
.pill-text span { font-size: 1.4rem; font-weight: 500; opacity: .92; }
.pill-logo { width: 6.4rem; height: 6.4rem; margin-left: auto; border-radius: 50%; background: #fff; object-fit: contain; padding: .6rem; }
.pill-go { display: grid; place-items: center; flex: none; width: 5.2rem; height: 5.2rem; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--deep); transition: background-color .2s ease, transform .2s ease; }
.pill-card:hover .pill-go { transform: translate(.2rem, -.2rem); }
.pill-card[aria-pressed="true"] .pill-go { background: var(--orange); color: var(--ink-d); }
.pill-card[aria-pressed="true"] .pill-go .ic { transform: rotate(45deg); }
.tile-rows { grid-column: 6 / 13; grid-row: 2; padding: 2.8rem 3rem; min-height: 50rem; display: flex; flex-direction: column; }
.rows-head { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; margin-bottom: .8rem; }
.rows-head h3 { font-size: 3rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.rows-head p { font-size: 1.4rem; color: var(--muted); }
.deals { flex: 1; }
.deal { display: grid; grid-template-columns: 5.6rem minmax(0, 1.1fr) minmax(0, 1fr) 9rem; gap: 2rem; align-items: center; padding: 1.5rem 0; border-top: .1rem solid var(--line); }
.deal:first-child { border-top: 0; }
.deal-logo { display: grid; place-items: center; width: 5.6rem; height: 5.6rem; border-radius: 1.6rem; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 .1rem var(--line); }
.deal-logo img { width: 100%; height: 100%; object-fit: contain; }
.deal-mono { background: var(--mint-2); color: var(--deep); font-size: 2.4rem; font-weight: 800; }
.deal-main { display: flex; flex-direction: column; min-width: 0; }
.deal-main strong { font-size: 1.8rem; font-weight: 750; color: var(--ink); letter-spacing: -.01em; }
.deal-main span { font-size: 1.35rem; color: var(--muted); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.deal-window { display: flex; flex-direction: column; gap: .7rem; }
.win { position: relative; height: .6rem; border-radius: 99rem; background: var(--mint-2); }
.win i { position: absolute; top: 0; bottom: 0; border-radius: 99rem; background: var(--teal-fill); }
.win b { position: absolute; top: -.5rem; width: .2rem; height: 1.6rem; margin-left: -.1rem; background: var(--orange); border-radius: .2rem; }
.deal-window small { font-size: 1.25rem; color: var(--muted); line-height: 1.3; }
.deal-pct { display: flex; align-items: baseline; justify-content: flex-end; font-size: 4rem; font-weight: 900; line-height: 1; letter-spacing: -.05em; color: var(--deep); font-variant-numeric: tabular-nums; }
.deal-pct small { font-size: 2rem; font-weight: 300; margin-left: .1rem; letter-spacing: 0; }
.deal-pct > small:only-child { font-size: 1.3rem; font-weight: 600; text-align: right; }
.deals-few .deal { grid-template-columns: 18rem minmax(0, 1fr) auto; grid-template-areas: "logo main pct" "logo note note" "logo win win"; gap: 1rem 3rem; align-items: start; padding: 2.4rem 0; }
.deals-few .deal-logo { grid-area: logo; width: 100%; height: auto; aspect-ratio: 1; border-radius: 2.2rem; padding: 1.2rem; }
.deals-few .deal-main { grid-area: main; }
.deals-few .deal-main strong { font-size: 3rem; letter-spacing: -.025em; }
.deals-few .deal-main span { font-size: 1.6rem; -webkit-line-clamp: unset; }
.deals-few .deal-note { grid-area: note; font-size: 1.6rem; line-height: 1.55; color: var(--text-2); max-width: 56ch; }
.deals-few .deal-window { grid-area: win; align-self: end; }
.deals-few .deal-pct { grid-area: pct; font-size: 7.6rem; }
.deals-few .deal-pct small { font-size: 3.6rem; }
.rows-foot { margin-top: 1rem; padding-top: 1.4rem; border-top: .1rem solid var(--line); }
.tile-promo { grid-column: 1 / 6; grid-row: 3; display: grid; grid-template-columns: 12rem 1fr; gap: 2.4rem; align-items: center; padding: 2rem; }
.promo-img { width: 100%; height: auto; aspect-ratio: 400 / 566; object-fit: cover; border-radius: 1.6rem; filter: grayscale(.45); opacity: .9; }
.promo-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; min-width: 0; }
.promo-copy h3 { font-size: 2rem; font-weight: 800; line-height: 1.12; letter-spacing: -.02em; color: var(--ink); }
.promo-copy p { font-size: 1.35rem; line-height: 1.45; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tile-tea { grid-column: 6 / 13; grid-row: 3; display: flex; flex-direction: row; align-items: center; gap: 3rem; padding: 2.6rem 3rem; background: linear-gradient(160deg, var(--mint-2), var(--mint-3)); }
.tea-img { flex: none; width: 20.2rem; height: auto; }
.tea-copy { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
.tea-copy h3 { font-size: 2.4rem; font-weight: 800; line-height: 1.1; letter-spacing: -.025em; color: var(--ink); }
.tea-copy p { font-size: 1.45rem; line-height: 1.4; color: var(--text-2); }
.tea-status { display: flex; align-items: center; gap: .8rem; font-weight: 650; color: var(--deep) !important; }
.tea-copy .btn-soft { background: #fff; margin-top: .6rem; }

/* ------------------------------------------------------------ LJEKARNE */
.tile-map { grid-column: 1 / 8; grid-row: 3; display: flex; flex-direction: column; padding: 1.4rem; background: #fff; }
.map { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 634; flex: 1 1 auto; min-height: 0; border-radius: 1.8rem; background: linear-gradient(180deg, #f6fbfa, var(--mint)); touch-action: manipulation; }
.map-legend { position: absolute; z-index: 2; left: 2.8rem; bottom: 2.8rem; display: flex; gap: 1.6rem; padding: .9rem 1.6rem; border-radius: 99rem; background: rgba(255, 255, 255, .9); box-shadow: 0 .4rem 1.6rem -.6rem rgba(0, 89, 88, .3); font-size: 1.3rem; font-weight: 600; color: var(--text-2); }
.map-legend span { display: inline-flex; align-items: center; gap: .6rem; }
.lg { display: inline-block; width: 1.1rem; height: 1.1rem; border-radius: 50%; }
.lg-open { background: var(--teal-fill); }
.lg-closed { box-shadow: inset 0 0 0 .2rem var(--teal-ink); background: #fff; }
.lg-depo { border-radius: .25rem; transform: rotate(45deg) scale(.85); background: var(--teal-fill); }
.map-reset { position: absolute; z-index: 2; right: 2.8rem; top: 2.8rem; min-height: 4rem; background: #fff; }
.map-grid { fill: none; stroke: rgba(0, 89, 88, .07); stroke-width: 1; vector-effect: non-scaling-stroke; }
.map-grid-fine { fill: none; stroke: rgba(0, 89, 88, .09); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .3s ease; }
.map.zoomed .map-grid-fine { opacity: 1; }
.map-county { fill: #fff; stroke: var(--light); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 .6rem 1.2rem rgba(0, 89, 88, .15)); }
.pin { cursor: pointer; outline: 0; }
.pin.is-hidden, .map-cluster.is-hidden { display: none; }
.pin-shape { fill: #fff; stroke: var(--teal-ink); stroke-width: 2.4; }
.pin.open .pin-shape { fill: var(--teal-fill); stroke: #fff; stroke-width: 2.4; }
.pin-halo { fill: rgba(0, 151, 128, 0); stroke: none; }
.pin.open .pin-halo { fill: rgba(0, 151, 128, .2); }
.pin-hit { fill: transparent; }
.pin:hover .pin-halo { fill: rgba(0, 151, 128, .32); }
.pin:focus-visible .pin-halo { fill: rgba(0, 89, 88, .18); stroke: var(--deep); stroke-width: 2.4; }
.pin.sel .pin-halo { fill: rgba(242, 116, 20, .22); stroke: var(--orange); stroke-width: 2.6; r: 17; }
.pin.dim { opacity: .22; }
.beacon { fill: var(--teal); transform-box: fill-box; transform-origin: center; opacity: 0; }
.pin-label { font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-linejoin: round; opacity: 0; pointer-events: none; transition: opacity .2s ease; font-family: var(--font); }
.pin.sel .pin-label, .pin:hover .pin-label, .pin:focus-visible .pin-label, .map.zoomed .pin-label { opacity: 1; }
.map-cluster { cursor: pointer; outline: 0; }
.cluster-halo { fill: rgba(0, 151, 128, .2); }
.cluster-disc { fill: var(--teal-fill); stroke: #fff; stroke-width: 3; }
.cluster-n { fill: #fff; font: 800 18px var(--font); text-anchor: middle; }
.map-cluster:hover .cluster-halo { fill: rgba(0, 151, 128, .34); }
.map-cluster:focus-visible .cluster-halo { stroke: var(--deep); stroke-width: 3; }

.tile-filters { grid-column: 1 / -1; grid-row: 2; z-index: 5; overflow: visible; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr) repeat(3, minmax(0, .9fr)); --ffp: 1.2rem; padding: 2rem 1.2rem 2.2rem; }
.ff { position: relative; display: flex; flex-direction: column; gap: .8rem; min-width: 0; padding: 0 var(--ffp); }
.ff + .ff { border-left: .1rem solid var(--line-2); }
.ff-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.ff-label { font-size: 1.3rem; font-weight: 700; color: var(--muted); }
.ff-label b { margin-left: .4rem; font-weight: 700; color: var(--teal-ink); font-variant-numeric: tabular-nums; }
.ff-head .f-reset { padding: 0; border: 0; background: none; font-size: 1.3rem; font-weight: 700; color: var(--teal-ink); text-decoration: underline; text-underline-offset: .3rem; cursor: pointer; }
.ff-head .f-reset[hidden] { display: none; }
.ff-in { position: relative; }
.ff-in .ic { position: absolute; left: 1.7rem; top: 50%; transform: translateY(-50%); color: var(--deep); pointer-events: none; }
.ff-in input { width: 100%; height: 5.4rem; padding: 0 1.8rem 0 4.8rem; border: 0; border-radius: var(--r-in); background: var(--mint); font-size: 1.6rem; box-shadow: inset 0 0 0 .1rem var(--line); transition: box-shadow .2s ease, background-color .2s ease; }
.nav-search input::placeholder, .drawer-search input::placeholder, .ff-in input::placeholder { color: #566664; opacity: 1; }
.ff-in input:hover { background: #e3f1ee; }
.ff-in input:focus { outline: 0; background: #fff; box-shadow: inset 0 0 0 .2rem var(--teal-fill), 0 0 0 .4rem rgba(0, 151, 128, .18); }
.dd-btn { display: flex; align-items: center; gap: 1rem; width: 100%; height: 5.4rem; padding: 0 1.4rem 0 1.8rem; border: 0; border-radius: var(--r-in); background: var(--mint); color: var(--ink); font-size: 1.6rem; font-weight: 600; text-align: left; cursor: pointer; box-shadow: inset 0 0 0 .1rem var(--line); transition: box-shadow .2s ease, background-color .2s ease; }
.dd-btn:hover { background: #e3f1ee; }
.dd-btn:focus-visible, .dd-btn[aria-expanded="true"] { outline: 0; background: #fff; box-shadow: inset 0 0 0 .2rem var(--teal-fill), 0 0 0 .4rem rgba(0, 151, 128, .18); }
.dd-btn[aria-busy="true"] { opacity: .6; cursor: progress; }
.dd.is-set .dd-btn:not([aria-expanded="true"]) { background: var(--mint-2); box-shadow: inset 0 0 0 .1rem var(--teal-fill); }
.dd-val { display: flex; align-items: center; gap: 1rem; flex: 1; min-width: 0; }
.dd-val .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-chev { color: var(--deep); transition: transform .2s ease; }
.dd-btn[aria-expanded="true"] .dd-chev { transform: rotate(180deg); }
.dd-panel { position: absolute; z-index: 20; top: calc(100% + .8rem); left: var(--ffp); min-width: calc(100% - 2 * var(--ffp)); max-height: 44rem; overflow: auto; margin: 0; padding: .8rem; border-radius: 2.4rem; background: #fff; box-shadow: inset 0 0 0 .1rem var(--line-2), var(--sh-pop); scrollbar-width: thin; scrollbar-color: var(--mint-3) transparent; }
.dd-panel:focus { outline: 0; }
.dd-panel-loc { width: 46rem; max-width: calc(100vw - 2 * var(--pad)); }
.dd-opt { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; width: 100%; min-height: 4.6rem; padding: 0 1.4rem; border: 0; border-radius: 1.4rem; background: transparent; color: var(--ink); font-size: 1.5rem; font-weight: 600; text-align: left; white-space: nowrap; cursor: pointer; transition: background-color .15s ease; }
.dd-opt > span:first-child { display: inline-flex; align-items: center; gap: .8rem; }
.dd-opt .ic { width: 1.8rem; height: 1.8rem; color: var(--teal-ink); }
.dd-opt:hover { background: var(--mint); }
.dd-opt[aria-pressed="true"] { background: var(--mint-2); box-shadow: inset 0 0 0 .1rem var(--line); font-weight: 750; }
.dd-n { font-size: 1.3rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.loc-row { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "st main dist" "st when when"; gap: .1rem 1.4rem; align-items: center; width: 100%; padding: 1.2rem 1.4rem; border: 0; border-radius: 1.8rem; background: transparent; text-align: left; transition: background-color .15s ease; }
.loc-row:hover { background: var(--mint); }
.loc-row[aria-pressed="true"] { background: var(--mint-2); box-shadow: inset 0 0 0 .1rem var(--line); }
.loc-row .st { grid-area: st; }
.loc-main { grid-area: main; display: flex; flex-direction: column; min-width: 0; }
.loc-main strong { font-size: 1.6rem; font-weight: 700; color: var(--ink); line-height: 1.25; }
.loc-main span { font-size: 1.3rem; color: var(--muted); }
.loc-when { grid-area: when; font-size: 1.3rem; font-weight: 600; color: var(--teal-ink); font-variant-numeric: tabular-nums; }
.loc-row .st-closed + .loc-main + .loc-when { color: var(--muted); }
.loc-dist { grid-area: dist; font-size: 1.3rem; font-weight: 700; color: var(--teal-ink); }
.dd-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; padding: 2rem 1.4rem; color: var(--text-2); }

.tile-detail { grid-column: 8 / 13; grid-row: 3; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; padding: 0; color: #cfe6e2; background: radial-gradient(40rem 26rem at 100% 0, rgba(0, 133, 140, .4), transparent 70%), linear-gradient(165deg, #005958, #02302f); }
.detail-photo { position: relative; min-height: 17rem; }
.detail-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.status-pill { position: absolute; left: 1.4rem; bottom: 1.4rem; right: 1.4rem; display: flex; align-items: center; gap: .9rem; width: fit-content; max-width: calc(100% - 2.8rem); padding: .9rem 1.6rem; border-radius: 99rem; background: rgba(255, 255, 255, .95); font-size: 1.35rem; font-weight: 700; color: var(--ink); box-shadow: 0 .6rem 1.8rem -.6rem rgba(0, 40, 39, .4); }
.detail-body { display: flex; flex-direction: column; gap: 1.8rem; padding: 2.6rem 2.8rem 2.6rem; min-width: 0; }
.detail-body header h3 { font-size: 2.8rem; font-weight: 800; line-height: 1.08; letter-spacing: -.03em; color: #fff; }
.detail-body header p { margin-top: .4rem; font-size: 1.5rem; color: #a9cbc5; }
.detail-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; }
.detail-cols h4 { margin-bottom: .8rem; font-size: 1.3rem; font-weight: 700; color: #8fb7b1; }
.hours-text li { font-size: 1.45rem; line-height: 1.45; color: #e1f0ed; padding: .2rem 0; }
.detail-note { margin-top: 1rem; padding: 1rem 1.3rem; border-radius: 1.2rem; background: rgba(255, 255, 255, .09); font-size: 1.3rem; line-height: 1.4; color: #d3e8e4; }
.detail-temp strong { display: block; color: #fff; }
.week { width: 100%; border-collapse: collapse; font-size: 1.4rem; font-variant-numeric: tabular-nums; }
.week th { text-align: left; font-weight: 600; color: #a9cbc5; padding: .55rem 0; width: 6.4rem; }
.week td { color: #fff; font-weight: 600; text-align: right; padding: .55rem 0; }
.week tr + tr th, .week tr + tr td { border-top: .1rem solid rgba(255, 255, 255, .12); }
.week .today th, .week .today td { color: #fff; font-weight: 800; }
.week .today th::before { content: ""; display: inline-block; width: .7rem; height: .7rem; margin-right: .6rem; border-radius: 50%; background: var(--orange); vertical-align: .1rem; }
.week .closed { color: #a9cbc5; font-weight: 500; }
.tile-detail .btn-soft { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 .1rem rgba(255, 255, 255, .22); }
.tile-detail .btn-soft:hover { background: rgba(255, 255, 255, .18); }
.tile-detail .link-arrow { color: #bfe6df; }
.detail-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.6rem; margin-top: auto; }
.detail-actions .btn { min-height: 4.6rem; }

/* ------------------------------------------------------------ KONTAKT */
.tile-form { grid-column: 1 / 8; padding: 3.2rem; }
.tile-form form { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 2rem; }
.field { position: relative; display: flex; flex-direction: column; gap: .8rem; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 1.4rem; font-weight: 700; color: var(--ink); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 5.4rem; padding: 1.3rem 1.8rem; border: 0; border-radius: 1.6rem; background: var(--mint); color: var(--ink); font-size: 1.6rem; box-shadow: inset 0 0 0 .1rem var(--line); transition: box-shadow .2s ease, background-color .2s ease; appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 14rem; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { background: #e3f1ee; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; background: #fff; box-shadow: inset 0 0 0 .2rem var(--teal-fill), 0 0 0 .4rem rgba(0, 151, 128, .18); }
.field.is-bad input[type="text"], .field.is-bad input[type="email"], .field.is-bad select, .field.is-bad textarea { background: #fdf2f1; box-shadow: inset 0 0 0 .2rem var(--err); }
.field.is-bad input:focus, .field.is-bad select:focus, .field.is-bad textarea:focus { box-shadow: inset 0 0 0 .2rem var(--err), 0 0 0 .4rem rgba(179, 38, 30, .18); }
.field-err { display: flex; align-items: center; gap: .6rem; font-size: 1.35rem; font-weight: 600; color: var(--err); }
.field-err::before { content: "!"; display: inline-grid; place-items: center; flex: none; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--err); color: #fff; font-size: 1.2rem; font-weight: 800; }
.select-wrap { position: relative; }
.select-wrap .ic { position: absolute; right: 1.6rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--deep); }
.field-check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: .6rem 1.2rem; }
.field-check input { flex: none; width: 2.4rem; height: 2.4rem; margin: .1rem 0 0; accent-color: var(--teal-fill); }
.field-check label { flex: 1; min-width: 0; font-weight: 500; font-size: 1.45rem; line-height: 1.45; color: var(--text-2); }
.field-check .field-err { flex-basis: 100%; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.2rem 2.4rem; }
.form-hint { font-size: 1.35rem; color: var(--muted); }
.form-summary { grid-column: 1 / -1; padding: 1.4rem 1.8rem; border-radius: 1.6rem; background: #fdf2f1; box-shadow: inset 0 0 0 .1rem rgba(179, 38, 30, .35); color: #7d1b15; font-size: 1.5rem; }
.btn.is-busy { position: relative; }
.btn.is-busy::before { content: ""; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: .25rem solid rgba(14, 30, 29, .25); border-top-color: var(--ink-d); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-done { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.4rem; min-height: 38rem; outline: 0; }
.form-done[hidden], .tile-form form[hidden], .form-summary[hidden], .field-err[hidden] { display: none; }
.done-mark { display: grid; place-items: center; width: 7.2rem; height: 7.2rem; border-radius: 50%; background: var(--ok); color: #fff; box-shadow: 0 0 0 1rem rgba(29, 122, 74, .14); }
.done-mark .ic { width: 3.6rem; height: 3.6rem; }
.form-done h3 { font-size: 3.6rem; font-weight: 800; letter-spacing: -.035em; color: var(--ink); }
.form-done p { font-size: 1.7rem; color: var(--text-2); max-width: 42rem; }
.tile-contact { grid-column: 8 / 13; display: flex; flex-direction: column; gap: 2.4rem; padding: 3rem; background: linear-gradient(170deg, var(--mint-2), #fff 75%); }
.contact-block h3 { font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin-bottom: .6rem; }
.contact-block > p { font-size: 1.6rem; line-height: 1.45; color: var(--text-2); }
.contact-lines { margin-top: 1rem; }
.contact-lines li { display: grid; grid-template-columns: 2rem auto 1fr; gap: 1rem; align-items: center; padding: 1rem 0; border-top: .1rem solid var(--line); font-size: 1.6rem; }
.contact-lines li > .ic { color: var(--teal-ink); }
.contact-lines a, .contact-lines .plain { font-weight: 700; color: var(--ink); text-decoration: none; word-break: break-word; }
.contact-lines a:hover { color: var(--teal-ink); text-decoration: underline; }
.contact-lines li > span:last-child { justify-self: end; font-size: 1.25rem; color: var(--muted); }
.tile-contact .btn { margin-top: auto; }

/* ------------------------------------------------------------ FOOTER: floating dark panel */
.site-footer { margin: 11rem 2rem 2rem; }
.foot-panel { position: relative; border-radius: 3.6rem; padding: 5.6rem 5.6rem 3rem; color: #c9e0dc; background: radial-gradient(70rem 40rem at 100% 0, rgba(0, 133, 140, .35), transparent 70%), linear-gradient(165deg, #004a49 0%, #02302f 70%); box-shadow: 0 3rem 8rem -2rem rgba(0, 48, 47, .55); overflow: hidden; }
.foot-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr); gap: 5rem; max-width: 140rem; margin-inline: auto; }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; }
.foot-brand img { height: 4.8rem; width: auto; }
.foot-brand p { font-size: 1.6rem; line-height: 1.5; max-width: 30rem; color: #dcebe8; }
.foot-ids { display: grid; gap: .2rem; width: 100%; max-width: 34rem; }
.foot-ids div { display: flex; justify-content: space-between; gap: 2rem; padding: .9rem 0; border-top: .1rem solid rgba(255, 255, 255, .13); font-size: 1.4rem; }
.foot-ids dt { color: #8fb7b1; font-weight: 600; }
.foot-ids dd { color: #fff; font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.foot-fb { display: inline-flex; align-items: center; gap: .9rem; padding: 1rem 1.8rem 1rem 1.4rem; border-radius: 99rem; background: rgba(255, 255, 255, .1); color: #fff; font-weight: 650; font-size: 1.5rem; text-decoration: none; transition: background-color .2s ease; }
.foot-fb:hover { background: rgba(255, 255, 255, .18); }
.foot-links { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; }
.foot-col { display: flex; flex-direction: column; gap: 2.6rem; }
.foot-group h3 { margin-bottom: 1rem; font-size: 1.5rem; font-weight: 750; color: #fff; }
.foot-col:first-child .foot-group ul { columns: 2; column-gap: 2rem; }
.foot-col:first-child .foot-group:first-child ul { columns: 1; }
.foot-group a { display: inline-block; padding: .35rem 0; color: #c9e0dc; font-size: 1.45rem; text-decoration: none; border-radius: .4rem; }
.foot-group a:hover { color: #fff; text-decoration: underline; text-underline-offset: .3rem; }
.foot-cta { align-self: start; display: flex; flex-direction: column; gap: 1.2rem; padding: 2.4rem; border-radius: 2.6rem; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 .1rem rgba(255, 255, 255, .13); }
.foot-map { width: 100%; height: auto; margin-bottom: .6rem; }
.fm-county { fill: rgba(255, 255, 255, .05); stroke: rgba(89, 195, 180, .7); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.fm-dot { fill: var(--light); stroke: rgba(2, 48, 47, .6); stroke-width: 2; }
.fm-beacon { fill: var(--orange); transform-box: fill-box; transform-origin: center; opacity: 0; }
.foot-map .fm-dot:last-of-type { fill: var(--light); }
.foot-cta-title { font-size: 2.4rem; font-weight: 800; line-height: 1.1; letter-spacing: -.025em; color: #fff; }
.foot-cta-where { font-size: 1.45rem; color: #cfe3df; }
.foot-base { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 3rem; max-width: 140rem; margin: 4.4rem auto 0; padding-top: 2.4rem; border-top: .1rem solid rgba(255, 255, 255, .13); font-size: 1.4rem; color: #a9cbc5; }
.foot-base a { color: #fff; font-weight: 650; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1399.98px) {
  .nav-list { margin-left: 1rem; }
  .nav-link { padding: 0 1.2rem; }
}
@media (max-width: 1199.98px) {
  :root { --pad: 2.4rem; }
  .nav-bar { padding-left: 2rem; gap: 1rem; }
  .nav-cta span { display: none; }
  .nav-cta { padding: 0; width: 4.8rem; margin-left: 0; }
  .hero-bento { grid-auto-rows: minmax(8.4rem, auto); }
  .tile-hero { grid-column: 1 / 8; grid-row: 1 / 5; min-height: 40rem; }
  .tile-open { grid-column: 8 / 13; grid-row: 1 / 5; }
  .tile-dez { grid-column: 1 / 6; grid-row: 5 / 8; }
  .tile-pens { grid-column: 6 / 13; grid-row: 5 / 8; grid-template-columns: 11rem 1fr 1fr; grid-template-areas: "h h h" "r n c" "u u u"; align-items: center; align-content: stretch; }
  .tile-deals { padding: 2.8rem 2.4rem 2.4rem; }
  .hd-grid { --n: 7; }
  .hero-find { max-width: 38rem; }
  .tile-tender { grid-column: 1 / -1; }
  .tile-tender-all { grid-column: 1 / -1; order: 1; }
  .lgrp-wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 3rem; align-items: start; }
  .tile-cal { grid-column: 1 / 6; }
  .tile-day { grid-column: 6 / 13; }
  .ev { grid-template-columns: 7.6rem 1fr 4.4rem; }
  .ev-img { display: none; }
  .deal { grid-template-columns: 5rem minmax(0, 1fr) 8rem; }
  .deal-window { grid-column: 2 / 4; grid-row: 2; }
  .deal-pct { grid-column: 3; grid-row: 1; }
  .tile-rows { min-height: 0; }
  .tile-promo { grid-template-columns: 10rem 1fr; gap: 1.8rem; }
  .tile-tea { gap: 2rem; padding: 2.4rem; }
  .tea-img { width: 15rem; }
  .tile-map { grid-column: 1 / 8; }
  .tile-filters { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.8rem 0; --ffp: 1.2rem; }
  .ff { grid-column: span 2; }
  .ff + .ff { border-left: 0; }
  .ff-q, .dd[data-dd="loc"] { grid-column: span 3; }
  .tile-form { grid-column: 1 / 8; padding: 2.6rem; }
  .tile-contact { grid-column: 8 / 13; padding: 2.4rem; }
  .foot-panel { padding: 4.4rem 3.6rem 2.6rem; }
  .foot-main { grid-template-columns: 1fr 1.4fr; gap: 4rem; }
  .foot-cta { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "m t" "m w" "m b"; column-gap: 3rem; align-items: center; }
  .foot-map { grid-area: m; margin: 0; }
  .foot-cta-title { grid-area: t; align-self: end; }
  .foot-cta-where { grid-area: w; }
  .foot-cta .btn { grid-area: b; align-self: start; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .detail-photo { min-height: 14rem; }
  .detail-body { padding: 2.2rem; gap: 1.6rem; }
  .detail-cols { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 991.98px) {
  .nav-list, .nav-fb, .nav-search { display: none; }
  .nav-burger { display: inline-grid; }
  .nav-cta { display: inline-flex; width: auto; padding: 0 2rem; }
  .nav-cta span { display: inline; }
  .nav-bar { height: 6.8rem; padding-left: 2.2rem; }
  .cluster { margin-top: 8rem; }
  .bento-head { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .tile-hero { grid-column: 1 / -1; grid-row: auto; min-height: 56rem; }
  .tile-open { grid-column: 1 / 8; grid-row: auto; }
  .tile-dez { grid-column: 8 / -1; grid-row: auto; min-height: 36rem; }
  .tile-pens { grid-column: 1 / -1; grid-row: auto; grid-template-columns: 11rem 1fr minmax(24rem, 30rem); }
  .hd-grid { --n: 5; }
  
  .tile-tender-sub { grid-column: 1 / -1; }
  .tender-top { grid-template-columns: 20rem 1fr; gap: 2.4rem; }
  .ring-wrap { width: 20rem; }
  .ring-num strong { font-size: 7.4rem; }
  .feed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feed-item.is-feat { grid-column: 1 / -1; }
  .tile-cal, .tile-day { grid-column: 1 / -1; }
  .cal-day { aspect-ratio: 1 / .78; }
  .pog-pills { grid-column: 1 / -1; grid-row: auto; grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .pill-card { min-height: 11rem; padding-left: 2.8rem; }
  .tile-rows { grid-column: 1 / -1; grid-row: auto; }
  .tile-promo { grid-column: 1 / 7; grid-row: auto; }
  .tile-tea { grid-column: 7 / -1; grid-row: auto; flex-direction: column; align-items: flex-start; }
  .tile-map, .tile-filters, .tile-detail, .tile-form, .tile-contact { grid-column: 1 / -1; grid-row: auto; }
  .tile-detail { grid-template-columns: .8fr 1.4fr; grid-template-rows: auto; }
  .dd-panel-loc { left: auto; right: var(--ffp); }
  .foot-main { grid-template-columns: 1fr; gap: 3.2rem; }
  .foot-cta { grid-template-columns: 1fr 1fr; }
  .deals-few .deal { grid-template-columns: 12rem minmax(0, 1fr) auto; gap: 1rem 2.4rem; }
  .deals-few .deal-pct { font-size: 5.6rem; }
}
@media (max-width: 767.98px) {
  :root { --pad: 1.6rem; --r-tile: 2.4rem; --gap: 1.2rem; }
  body { font-size: 1.6rem; }
  .site-header { top: .8rem; margin-top: .8rem; }
  .nav-bar { height: 6.4rem; padding: 0 .8rem 0 1.8rem; }
  .brand img { height: 3.2rem; }
  .nav-cta span { display: none; }
  .nav-cta { width: 4.8rem; padding: 0; }
  .drawer { margin-inline: var(--pad); }
  .tile { padding: 2.2rem; }
  .bento-head h2 { font-size: 3.6rem; }
  .bento-head { padding: 0 .4rem; }
  .cluster { margin-top: 6.4rem; }
  .tile-hero, .tile-open, .tile-dez, .tile-pens, .tile-deals { grid-column: 1 / -1; }
  .tile-hero { min-height: 58rem; padding: 0; }
  .hero-copy { padding: 3rem 2.4rem 0; }
  .hero-copy h1 { font-size: 4rem; }
  .hero-sub { font-size: 1.6rem; }
  .hero-find { margin-top: 2.2rem; padding-left: 1.8rem; }
  .hero-today { left: 2.4rem; bottom: 2.4rem; }
  .open-count strong { font-size: 10rem; }
  .tile-dez { min-height: 34rem; }
  .dez-photo { height: 52%; }
  .tile-pens { grid-template-columns: 12rem 1fr; grid-template-areas: "h h" "r n" "c c" "u u"; }
  .tile-deals { padding: 2.4rem 1.8rem 2.2rem; }
  .hd-head { margin-bottom: 2.4rem; }
  .hd-grid { --n: 3; --g: 1rem; gap: 2.4rem var(--g); }
  .hd-ghead h3 { font-size: 2rem; }
  .tile-tender, .tile-tender-sub { padding: 2.4rem; }
  .sub-feat { grid-template-columns: 1fr; justify-items: center; gap: 2rem; }
  .sub-feat .tender-copy { width: 100%; }
  .tender-top { grid-template-columns: 1fr; justify-items: center; text-align: left; gap: 2.4rem; }
  .ring-wrap { width: 22rem; }
  .tender-copy { width: 100%; }
  .lgrp-wrap { grid-template-columns: 1fr; gap: 2.2rem; }
  .sheet { width: calc(100% - 1.6rem); max-height: 92vh; border-radius: 2.4rem; }
  .sheet-inner { padding: 2rem 1.8rem 0; }
  .sheet-head h2 { font-size: 2.4rem; }
  .td-list { margin: 0 -1.8rem; padding: 0 1.8rem 2rem; }
  .td-row { grid-template-columns: 5.8rem 1fr; gap: 1rem 1.2rem; }
  .td-row .flag, .td-links { grid-column: 2; justify-self: start; }
  .td-links { justify-content: flex-start; }
  .feed-grid { grid-template-columns: minmax(0, 1fr); }
  .feed-item.is-feat { grid-column: auto; }
  .feed-copy, .is-feat .feed-copy { padding: 1.8rem; }
  .tile-cal { padding: 1.8rem; }
  .tile-day { padding: 2.2rem; }
  .cal-head h3 { font-size: 2.4rem; }
  .cal-day { aspect-ratio: 1 / 1.05; border-radius: 1.2rem; }
  .cal-num { font-size: 1.5rem; }
  .day-num { font-size: 7rem; }
  .day-head h3 { font-size: 2.2rem; }
  .ev { grid-template-columns: 6.6rem 1fr; gap: 1.4rem; }
  .ev-go { display: none; }
  .ev-time strong { font-size: 2rem; }
  .pog-pills { grid-template-columns: 1fr; }
  .pill-card { min-height: 10rem; }
  .tile-rows { padding: 2.2rem; }
  .rows-head { flex-direction: column; gap: .4rem; }
  .rows-head h3 { font-size: 2.4rem; }
  .deal { grid-template-columns: 4.8rem minmax(0, 1fr) auto; gap: 1.2rem; }
  .deal-logo { width: 4.8rem; height: 4.8rem; }
  .deal-pct { font-size: 3.2rem; }
  .tile-promo, .tile-tea { grid-column: 1 / -1; }
  .tile-promo { grid-template-columns: 9rem 1fr; }
  .map-legend { left: 1.8rem; bottom: 1.8rem; right: 1.8rem; gap: 1rem; padding: .7rem 1.2rem; font-size: 1.2rem; flex-wrap: wrap; width: fit-content; max-width: calc(100% - 3.6rem); }
  .map-reset { right: 1.8rem; top: 1.8rem; }
  .tile-map { padding: .8rem; }
  .tile-filters { gap: 1.6rem 1.2rem; padding: 1.8rem 1.6rem 2rem; --ffp: 0rem; }
  .ff-q, .dd[data-dd="loc"] { grid-column: 1 / -1; }
  .dd-panel-loc { left: 0; right: 0; width: auto; }
  .tile-detail { grid-template-columns: 1fr; }
  .detail-body { padding: 2.2rem; }
  .detail-cols { grid-template-columns: 1fr; gap: 2rem; }
  .tile-form { padding: 2.2rem; }
  .tile-form form { grid-template-columns: 1fr; }
  .tile-contact { padding: 2.2rem; }
  .site-footer { margin: 7rem 1rem 1rem; }
  .foot-panel { padding: 3.2rem 2.2rem 2.2rem; border-radius: 2.8rem; }
  .foot-links { grid-template-columns: 1fr; gap: 2.4rem; }
  .foot-cta { grid-template-columns: 1fr; grid-template-areas: "m" "t" "w" "b"; }
  .foot-base { flex-direction: column; align-items: flex-start; }
  .deals-few .deal { grid-template-columns: 9rem 1fr; grid-template-areas: "logo pct" "main main" "note note" "win win"; gap: 1.2rem 1.6rem; align-items: center; }
  .deals-few .deal-logo { padding: .8rem; border-radius: 1.8rem; }
  .deals-few .deal-main strong { font-size: 2.4rem; }
  .deals-few .deal-pct { font-size: 5.2rem; }
}
@media (max-width: 560px) {
  .ff { grid-column: span 3; }
  .ff-q, .dd[data-dd="loc"], .dd[data-dd="sort"] { grid-column: 1 / -1; }
}
@media (max-width: 400px) {
  .hero-copy h1 { font-size: 3.5rem; }
  .nav-cta { display: none; }
  .tile-pens { grid-template-columns: 11rem 1fr; }
  .hd-note { font-size: 1.2rem; }
  .open-row { grid-template-columns: auto 1fr auto; }
  .open-dist { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
