/* GRIC-GRIC – under construction
   Paleta prati buduću temu (Bazari, zelena #3bac44) + žuta/limeta iz logotipa. */

:root {
  --green: #3bac44;
  --green-600: #1e7d2b;
  --green-700: #17652a;
  --green-900: #0f3a1c;
  --lime: #90b838;
  --yellow: #f6dc1c;
  --bg: #ffffff;
  --tint: #f3f8ee;
  --ink: #16241a;
  --muted: #55655a;
  --line: #e2eadc;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(15, 58, 28, .25);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-600); }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }

.ico { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

/* Topbar */
.topbar { background: var(--green-700); color: #fff; font-size: 13.5px; font-weight: 500; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.topbar__item { display: flex; align-items: center; gap: 8px; }
.topbar .ico { color: var(--yellow); }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar__item--phones span { opacity: .6; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 24px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 46px; height: auto; }
.brand__text { display: grid; line-height: 1.15; }
.brand__text strong { font-size: 20px; font-weight: 800; letter-spacing: -.01em; color: var(--green-700); }
.brand__text span { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--green-600); border-color: var(--green); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: 10px 18px; font-size: 15px; }
.btn--primary { background: var(--green-600); color: #fff; box-shadow: 0 8px 20px -8px rgba(30, 125, 43, .7); }
.btn--primary:hover { background: var(--green-700); }
.btn--ghost { border-color: var(--green-600); color: var(--green-700); background: transparent; }
.btn--ghost:hover { background: var(--tint); }
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.btn--fb, .btn--ig { color: #fff; padding: 12px 20px; font-size: 15px; }
.btn--fb { background: #1877f2; }
.btn--ig { background: linear-gradient(45deg, #f58529, #dd2a7b 50%, #8134af); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(246, 220, 28, .28), transparent 70%),
    radial-gradient(700px 400px at 0% 100%, rgba(59, 172, 68, .16), transparent 70%),
    var(--tint);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 72px 0 88px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 700; color: var(--green-700);
}
.badge__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgba(246, 220, 28, .9); animation: pulse 2s infinite; outline: 1px solid #c9b200; }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(246, 220, 28, 0); } }
.hero h1 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; margin: 18px 0 18px; }
.hl { color: var(--green-600); background: linear-gradient(transparent 62%, rgba(246, 220, 28, .7) 62%); padding: 0 .08em; }
.lead { font-size: clamp(16px, 1.5vw, 18.5px); color: var(--muted); max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.vets-badge {
  display: flex; align-items: center; gap: 14px; margin-top: 22px; max-width: 520px;
  padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--green-600);
  border-radius: var(--radius-sm); box-shadow: 0 6px 18px -12px rgba(15, 58, 28, .35);
}
.vets-badge__avatars { display: flex; flex: none; }
.vets-badge__avatars span {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green-600); color: #fff; font-weight: 800; font-size: 13.5px; border: 2px solid #fff;
}
.vets-badge__avatars span + span { margin-left: -10px; background: var(--green-700); }
.vets-badge p { font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.vets-badge strong { display: block; color: var(--ink); font-size: 16px; }
.status { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-weight: 600; font-size: 15px; color: var(--ink); }
.status[hidden] { display: none; }
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: #9aa69d; }
.status.is-open .status__dot { background: var(--green); box-shadow: 0 0 0 4px rgba(59, 172, 68, .2); }
.status.is-closed .status__dot { background: #d9534f; }

.hero__media { position: relative; padding: 0 0 56px 0; }
.hero__img img { border-radius: var(--radius); object-fit: cover; }
.hero__img--main img { width: 88%; aspect-ratio: 3 / 2; margin-left: auto; box-shadow: var(--shadow); }
.hero__img--side { position: absolute; left: 0; bottom: 0; width: 46%; }
.hero__img--side img { aspect-ratio: 4 / 3; border: 6px solid #fff; box-shadow: var(--shadow); }
.hero__stat {
  position: absolute; right: -6px; bottom: 26px;
  background: var(--green-600); color: #fff; border-radius: var(--radius-sm);
  padding: 14px 18px; max-width: 190px; box-shadow: var(--shadow);
}
.hero__stat strong { display: block; font-size: 28px; font-weight: 800; line-height: 1; color: var(--yellow); }
.hero__stat span { font-size: 13.5px; font-weight: 500; line-height: 1.3; display: block; margin-top: 6px; }
.hero__stat strong::before { content: "Od "; font-size: 15px; font-weight: 600; color: #fff; }

/* Perks */
.perks { margin-top: -36px; position: relative; z-index: 2; }
.perks__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.perk { display: flex; gap: 14px; align-items: flex-start; padding: 22px; }
.perk + .perk { border-left: 1px solid var(--line); }
.perk__ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--tint); display: grid; place-items: center; }
.perk__ico svg { width: 24px; height: 24px; fill: var(--green-600); }
.perk h2 { font-size: 16px; font-weight: 700; letter-spacing: 0; }
.perk p { font-size: 14px; color: var(--muted); line-height: 1.45; margin-top: 2px; }

/* Sections */
.section { padding: 88px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--green-900); color: #fff; }
.section__head { max-width: 680px; margin-bottom: 40px; }
.section__head h2, .about__copy h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; }
.section__head p:not(.eyebrow) { color: var(--muted); margin-top: 12px; font-size: 17px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green-600); margin-bottom: 10px; }
.section--dark .eyebrow { color: var(--yellow); }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cat__ico { width: 54px; height: 54px; border-radius: 16px; background: var(--tint); display: grid; place-items: center; margin-bottom: 18px; }
.cat__ico svg { width: 30px; height: 30px; fill: var(--green-600); }
.cat:nth-child(even) .cat__ico { background: #fdf8d2; }
.cat:nth-child(even) .cat__ico svg { fill: #8a7a00; }
.cat h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 8px; }
.cat p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* Brands */
.brandtable { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.brandrow { display: grid; grid-template-columns: minmax(240px, 1fr) 2fr; gap: 12px 40px; align-items: center; padding: 22px 30px; }
.brandrow + .brandrow { border-top: 1px solid var(--line); }
.brandrow__cat h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.brandrow__cat p { font-size: 14px; color: var(--muted); line-height: 1.45; margin-top: 3px; }
.brandrow__list { display: flex; flex-wrap: wrap; column-gap: 0; row-gap: 4px; font-size: 16.5px; font-weight: 600; color: var(--green-900); }
.brandrow__list li:not(:last-child)::after { content: "·"; margin: 0 12px; color: var(--green); font-weight: 800; }
.brandtable__cta {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap;
  padding: 22px 30px; background: var(--green-900); color: #dcebdf;
}
.brandtable__cta strong { color: #fff; }
.brandtable__cta .btn--primary { background: var(--yellow); color: var(--green-900); box-shadow: none; }
.brandtable__cta .btn--primary:hover { background: #ffe94a; }
.note { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* About */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.about__copy > p:not(.eyebrow) { color: var(--muted); margin-top: 16px; font-size: 16.5px; }
.team { display: grid; gap: 14px; margin-top: 30px; }
.vet { display: flex; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.vet__avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--green-600); color: #fff; font-weight: 800; display: grid; place-items: center; letter-spacing: .02em; }
.vet h3 { font-size: 16.5px; font-weight: 700; }
.vet p { font-size: 14.5px; color: var(--muted); margin: 4px 0 6px; line-height: 1.5; }
.vet a { font-weight: 700; text-decoration: none; }
.vet a:hover { text-decoration: underline; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.gallery picture:nth-child(odd) { transform: translateY(18px); }

/* Soon */
.soon { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.soon li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 26px; }
.soon__num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--yellow); color: var(--green-900); font-weight: 800; margin-bottom: 16px; }
.soon h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.soon p { color: #cfe3d3; font-size: 15px; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; align-items: stretch; }
.contact__card {
  font-style: normal; display: flex; flex-direction: column; gap: 22px;
  background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
}
.contact__row { display: flex; gap: 16px; }
.contact__ico { flex: none; width: 42px; height: 42px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.contact__ico svg { width: 22px; height: 22px; fill: var(--green-600); }
.contact__row h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.contact__row p { font-weight: 600; line-height: 1.7; }
.contact__row p a { color: var(--ink); text-decoration: none; }
.contact__row p a:hover { color: var(--green-600); text-decoration: underline; }
.link { font-weight: 700; font-size: 14.5px; }
.hours { border-collapse: collapse; font-weight: 600; }
.hours th { text-align: left; font-weight: 600; padding: 2px 24px 2px 0; }
.hours td { padding: 2px 0; }
.contact__map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 420px; background: var(--tint); }
.contact__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* Footer */
.footer { background: var(--green-900); color: #cfe3d3; font-size: 14px; padding: 26px 0; }
.footer__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer strong { color: #fff; }

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

/* Responsive */
@media (max-width: 1000px) {
  .nav { display: none; }
  .hero__inner, .about { grid-template-columns: 1fr; gap: 44px; }
  .hero__inner { padding: 48px 0 76px; }
  .hero__media { max-width: 560px; }
  .perks__grid { grid-template-columns: repeat(2, 1fr); }
  .perk:nth-child(3) { border-left: 0; }
  .perk:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

@media (max-width: 640px) {
  .container { width: min(1180px, 100% - 32px); }
  .topbar__item--hours, .topbar__item:first-child { display: none; }
  .topbar__inner { justify-content: center; }
  .brand__text span { display: none; }
  .header .btn span { display: none; }
  .header .btn { padding: 11px; }
  .hero__actions .btn { width: 100%; }
  .hero__stat { right: 0; }
  .perks__grid, .cats, .soon { grid-template-columns: 1fr; }
  .brandrow { grid-template-columns: 1fr; padding: 18px 20px; }
  .brandrow__list { font-size: 15.5px; }
  .brandrow__list li:not(:last-child)::after { margin: 0 9px; }
  .brandtable__cta { padding: 20px; }
  .brandtable__cta .btn { width: 100%; }
  .perk + .perk { border-left: 0; border-top: 1px solid var(--line); }
  .soon { gap: 12px; }
  .gallery picture:nth-child(odd) { transform: none; }
  .contact__card { padding: 22px; }
  .contact__map, .contact__map iframe { min-height: 320px; }
  .footer { padding-bottom: 92px; }
  .callbar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px;
  }
  .callbar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px; border-radius: 999px; font-weight: 700; text-decoration: none;
    background: var(--green-600); color: #fff; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45);
  }
  .callbar a + a { background: #fff; color: var(--green-700); border: 1px solid var(--line); }
}

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

/* Brand logo carousel */
.logos {
  overflow: hidden; margin-bottom: 28px; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.logos__track { display: flex; gap: 16px; width: max-content; animation: logos-scroll 70s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
.logos__track li {
  flex: none; width: 180px; height: 92px; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.logos__track img { width: auto; height: auto; max-width: 136px; max-height: 46px; }
@keyframes logos-scroll { to { transform: translateX(calc(-50% - 8px)); } }

@media (max-width: 640px) {
  .logos__track li { width: 140px; height: 76px; }
  .logos__track img { max-width: 104px; max-height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .logos { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}
