/* =========================================================
   OPG Pčelarstvo Radiković — demo stranica
   ========================================================= */

:root {
  --gold: #D6A72C;
  --gold-deep: #B98218;
  --gold-text: #8A620F;
  --gold-soft: #EBCB78;
  --cream: #FFF9EC;
  --cream-soft: #F5EBD5;
  --sand: #EFE3C8;
  --ink: #171713;
  --ink-2: #211F1A;
  --brown: #59422C;
  --muted: #6A5845;
  --white: #FFFFFF;
  --line: rgba(89, 66, 44, 0.16);
  --line-strong: rgba(89, 66, 44, 0.34);
  --error: #9A2B1B;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 76px;
  --radius: 3px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  --gable: polygon(0 9%, 50% 0, 100% 9%, 100% 100%, 0 100%);

  --comb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%23B98218' stroke-opacity='.28' stroke-width='1'/%3E%3Cpath d='M28 0L28 34L0 50L0 84L28 100L56 84L56 50L28 34' fill='none' stroke='%23B98218' stroke-opacity='.28' stroke-width='1'/%3E%3C/svg%3E");
  --comb-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%23D6A72C' stroke-opacity='.35' stroke-width='1'/%3E%3Cpath d='M28 0L28 34L0 50L0 84L28 100L56 84L56 50L28 34' fill='none' stroke='%23D6A72C' stroke-opacity='.35' stroke-width='1'/%3E%3C/svg%3E");
}

/* ---------- Reset & osnova ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
  overflow-x: clip;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.nav-open,
body.lightbox-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; }
p { margin: 0 0 1rem; }
a { color: inherit; }
button { font: inherit; color: inherit; }
address { font-style: normal; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  color: var(--ink);
  letter-spacing: 0;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

/* Zabrana lomljenja hrvatskih riječi */
h1,
h2,
h3,
.hero-title,
.section-title {
  hyphens: none;
  -webkit-hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  vertical-align: middle;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 500;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--cream);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.top-sentinel {
  position: absolute;
  top: 0; left: 0;
  width: 1px; height: 24px;
  pointer-events: none;
}

/* ---------- Tipografski elementi ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.25rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brown);
}

.eyebrow::before {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 11.5px;
  background: var(--gold);
  clip-path: var(--hex);
}

.eyebrow--light { color: var(--gold-soft); }

.section-title {
  font-size: clamp(2.2rem, 1.5rem + 3vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: 0;
  margin-bottom: 1.5rem;
}

.section {
  position: relative;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 760px; }
.section-head .section-title { margin-bottom: 0; }

.section-head--split {
  max-width: none;
  display: grid;
  gap: 1.25rem;
  align-items: end;
}

.section-intro {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.3fr 1fr; gap: 3rem; }
  .section-head--split .section-intro { justify-self: end; }
}

/* ---------- Gumbi ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0.8rem 1.6rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--brown); }

.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); }

.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--cream); }

.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
}
.link-arrow .icon { transition: transform 0.3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: var(--white);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -22px rgba(23, 23, 19, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-right: auto;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-kicker {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold-text);
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  white-space: nowrap;
}

.header-cta { display: none; min-height: 44px; padding: 0.6rem 1.2rem; }

@media (min-width: 560px) {
  .header-cta { display: inline-flex; }
}

/* Hamburger */
.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle-bars { display: grid; gap: 5px; width: 20px; }
.nav-toggle-bars span { display: block; height: 1.5px; background: var(--ink); }
.nav-toggle-bars span:nth-child(2) { width: 70%; justify-self: end; }

/* Mobilni / tablet izbornik */
.main-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  padding: 1rem var(--gutter) 2rem;
  overflow-y: auto;
  background: var(--cream);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.45s var(--ease), visibility 0s linear 0.45s;
}

.main-nav::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background-image: var(--comb);
  background-size: 56px 100px;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(to top, #000, transparent);
  mask-image: linear-gradient(to top, #000, transparent);
  pointer-events: none;
}

.main-nav.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.45s var(--ease), visibility 0s;
}

.nav-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.nav-panel-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-close {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-close .icon { width: 22px; height: 22px; }

.nav-list { list-style: none; position: relative; z-index: 1; }

.nav-list a {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0.35rem 0;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 6vw, 2.25rem);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.nav-list a.is-active { color: var(--gold-text); }

.nav-panel-foot {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.5rem;
  margin-top: 2rem;
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
  color: var(--brown);
  word-break: break-all;
}

/* Desktop navigacija */
@media (min-width: 1180px) {
  .nav-toggle,
  .nav-panel-head,
  .nav-panel-foot { display: none; }

  .main-nav {
    position: static;
    height: auto;
    padding: 0;
    overflow: visible;
    background: none;
    transform: none;
    visibility: visible;
    transition: none;
    display: block;
  }

  .main-nav::after { display: none; }

  .nav-list {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 1.6vw, 1.75rem);
  }

  .nav-list a {
    position: relative;
    min-height: 44px;
    padding: 0;
    font-family: var(--sans);
    font-size: 0.875rem;
    font-weight: 600;
    border-bottom: 0;
    white-space: nowrap;
  }

  .nav-list a::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    bottom: 8px;
    height: 1.5px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
  }

  .nav-list a:hover::after,
  .nav-list a.is-active::after { transform: scaleX(1); }

  .nav-list a.is-active { color: var(--ink); }

  .brand { margin-right: 0; }
  .main-nav { margin-left: auto; }
  .header-inner { gap: clamp(1.25rem, 2.5vw, 2.5rem); }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4.5rem);
  background: var(--cream);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 40%;
  background-image: var(--comb);
  background-size: 56px 100px;
  opacity: 0.7;
  -webkit-mask-image: linear-gradient(to left, #000 10%, transparent 85%);
  mask-image: linear-gradient(to left, #000 10%, transparent 85%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 3rem;
}

.hero-copy { max-width: 620px; }

.hero-title {
  font-size: clamp(2.7rem, 1.4rem + 5.4vw, 5.75rem);
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: italic;
  color: var(--brown);
}

.hero-lead {
  max-width: 34rem;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  color: var(--muted);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero vizual */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  padding-bottom: 2.5rem;
}

.hero-backdrop {
  position: absolute;
  z-index: 0;
  top: -1.25rem;
  right: -8%;
  width: 84%;
  aspect-ratio: 4 / 5;
  background: var(--cream-soft) var(--comb);
  background-size: 56px 100px;
  clip-path: var(--gable);
}

.hero-main {
  position: relative;
  z-index: 1;
  width: 84%;
  margin-left: auto;
  aspect-ratio: 4 / 5;
  clip-path: var(--gable);
  background: var(--sand);
}

.hero-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}

.hero-hex {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 0;
  width: 40%;
  aspect-ratio: 0.866;
  padding: 5px;
  background: var(--gold);
  clip-path: var(--hex);
}

.hero-hex img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: var(--hex);
}

.hero-vertical {
  display: none;
  position: absolute;
  z-index: 2;
  left: 3%;
  top: 14%;
  margin: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (min-width: 600px) {
  .hero-vertical { display: block; }
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(2.5rem, 5vw, 5rem);
  }
  .hero-visual { margin-right: 0; }
}

/* Hero činjenice */
.hero-facts {
  position: relative;
  margin: clamp(2.5rem, 5vw, 4.5rem) 0 0;
  border-top: 1px solid var(--line-strong);
}

.fact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.fact dt {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.1;
}

.fact dt::before {
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 0.58em;
  margin-right: 0.45em;
  background: var(--gold);
  clip-path: var(--hex);
  vertical-align: 0.06em;
}

.fact dd {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

@media (min-width: 768px) {
  .hero-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .fact {
    display: block;
    padding: 1.5rem 1.5rem 0 0;
    border-bottom: 0;
  }
  .fact + .fact {
    padding-left: 1.75rem;
    border-left: 1px solid var(--line);
  }
  .fact dt { font-size: clamp(1.7rem, 1rem + 1.4vw, 2.3rem); margin-bottom: 0.35rem; }
}

/* =========================================================
   O NAMA
   ========================================================= */
.about { background: var(--white); }

.about-grid {
  display: grid;
  gap: 3rem;
}

.about-media {
  margin: 0;
}

.about-frame {
  padding: clamp(0.6rem, 1.4vw, 1rem);
  background: var(--cream);
  border: 1px solid var(--gold);
}

.about-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 50%;
}

.about-media figcaption {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.about-copy p { color: var(--muted); max-width: 34rem; }

.about-count {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.count-item {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  line-height: 1.35;
  color: var(--muted);
}

.count-item strong {
  font-family: var(--serif);
  font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}

.count-line {
  flex: 1;
  min-width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  position: relative;
}

.count-line::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -4px;
  width: 8px;
  height: 9px;
  background: var(--gold);
  clip-path: var(--hex);
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: clamp(3rem, 6vw, 6rem);
  }
  .about-frame img { aspect-ratio: 5 / 6; }
}

/* =========================================================
   NAŠ MED
   ========================================================= */
.honey { background: var(--cream-soft); }

.product {
  display: grid;
  gap: 2rem;
}

.product-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 50%;
}

.product-media figcaption {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.product-body { position: relative; }

.product-index {
  display: block;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  font-weight: 500;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-deep);
  margin-bottom: 0.75rem;
}

.product-body h3 {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  margin-bottom: 1rem;
}

.product-body p { color: var(--muted); max-width: 32rem; }

.product-tags {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown) !important;
  margin: 1.5rem 0 2rem;
}

.product-tags span { color: var(--gold-deep); padding: 0 0.3rem; }

.product-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1rem;
}

.product-title-row h3 { margin-bottom: 0; }

.award-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 36px;
  padding: 0.35rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--gold);
  border-radius: 2px;
  transition: background-color 0.25s var(--ease);
}

.award-badge .icon { color: var(--gold-deep); }
.award-badge:hover { background: var(--gold-soft); }

.product--cvjetni .product-body .btn { margin-top: 1rem; }

/* Široka fotografija */
.honey-wide {
  position: relative;
  margin: clamp(3.5rem, 7vw, 6rem) 0;
}

.honey-wide img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 50%;
}

.wide-label {
  position: absolute;
  bottom: 3.25rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--ink);
  border-left: 3px solid var(--gold);
}

.wide-label--left { left: 0.75rem; }
.wide-label--right { right: 0.75rem; }

.honey-wide figcaption {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.honey-note {
  position: relative;
  align-self: end;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
}

.honey-note-hex {
  width: 28px;
  height: 28px;
  color: var(--gold-deep);
  margin-bottom: 0.75rem;
}

.honey-note p {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 1rem;
}

.honey-note-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  font-weight: 700;
  text-decoration: none;
  color: var(--brown);
  border-bottom: 1px solid var(--gold);
}

@media (min-width: 900px) {
  .product--bagrem {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
    gap: clamp(3rem, 6vw, 6rem);
  }
  .product--bagrem .product-media img { max-height: 640px; }

  .product--cvjetni {
    grid-template-columns: minmax(0, 6fr) minmax(0, 4fr);
    gap: clamp(3rem, 6vw, 6rem);
    align-items: end;
  }

  .honey-wide img { aspect-ratio: 16 / 7; }
  .wide-label { bottom: 3.75rem; font-size: 0.75rem; padding: 0.55rem 1rem; }
  .wide-label--left { left: 1.5rem; }
  .wide-label--right { right: 1.5rem; }
}

/* =========================================================
   NAGRAĐENA KVALITETA
   ========================================================= */
.award {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}

.award-pattern {
  position: absolute;
  inset: 0;
  background-image: var(--comb-light);
  background-size: 56px 100px;
  opacity: 0.35;
  -webkit-mask-image: radial-gradient(ellipse at 20% 50%, #000 0%, transparent 65%);
  mask-image: radial-gradient(ellipse at 20% 50%, #000 0%, transparent 65%);
  pointer-events: none;
}

.award-grid {
  position: relative;
  display: grid;
  gap: 3.5rem;
}

.award-media {
  max-width: 460px;
  width: 100%;
  margin-inline: auto;
}

.award-frame {
  position: relative;
  padding: clamp(0.75rem, 2vw, 1.15rem);
  background: var(--cream);
  box-shadow: 0 40px 70px -35px rgba(0, 0, 0, 0.85);
}

.award-frame::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid var(--gold);
  pointer-events: none;
}

.award-photo {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.award-photo img { width: 100%; height: auto; }

.award-date {
  margin: 2rem 0 0;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-soft);
}

.award-copy .section-title { color: var(--cream); }

.award-ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.8rem;
  margin: 0 0 2rem;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(214, 167, 44, 0.5);
  border-bottom: 1px solid rgba(214, 167, 44, 0.5);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.award-ribbon .dot { color: var(--gold-deep); }

.award-lead {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem);
  line-height: 1.3;
  color: var(--cream);
}

.award-copy p:not(.award-lead):not(.eyebrow):not(.award-ribbon) {
  color: rgba(255, 249, 236, 0.75);
  margin-bottom: 2rem;
  max-width: 34rem;
}

@media (min-width: 900px) {
  .award-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(4rem, 8vw, 8rem);
  }
  .award-media { margin: 0; }
}

/* =========================================================
   NAŠA PRIČA
   ========================================================= */
.story { background: var(--cream); }

.story-grid {
  display: grid;
  gap: 3rem;
}

.story-media { margin-top: 2rem; position: relative; }

.story-media::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  width: 72px;
  height: 3px;
  background: var(--gold);
}

.story-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.timeline {
  list-style: none;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 0.75rem;
  bottom: 2rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), var(--line));
}

.tl-item {
  position: relative;
  padding: 0 0 2.75rem 3.25rem;
}

.tl-item::before,
.tl-item::after {
  content: "";
  position: absolute;
  clip-path: var(--hex);
}

.tl-item::before {
  left: 0;
  top: 0.35rem;
  width: 23px;
  height: 26px;
  background: var(--gold);
}

.tl-item::after {
  left: 4px;
  top: calc(0.35rem + 4.5px);
  width: 15px;
  height: 17px;
  background: var(--cream);
}

.tl-item--now::after { background: var(--gold); }

.tl-label {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.1;
  color: var(--gold-text);
}

.tl-item h3 {
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.15rem);
  margin-bottom: 0.65rem;
}

.tl-item p:not(.tl-label) {
  color: var(--muted);
  margin: 0;
  max-width: 34rem;
}

.story-closing {
  position: relative;
  max-width: 920px;
  margin: clamp(2rem, 5vw, 4rem) 0 0;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line-strong);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.35rem);
  line-height: 1.3;
  color: var(--ink);
}

.story-closing::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  width: 14px;
  height: 16px;
  background: var(--gold);
  clip-path: var(--hex);
}

@media (min-width: 960px) {
  .story-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(4rem, 7vw, 7rem);
  }
  .story-sticky {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
  .story-media img { aspect-ratio: 5 / 4; }
  .timeline { padding-top: 0.5rem; }
  .tl-item { padding-bottom: 3.5rem; }
}

/* =========================================================
   GALERIJA
   ========================================================= */
.gallery { background: var(--white); }

.gallery-grid {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: clamp(120px, 38vw, 230px);
  grid-template-areas:
    "b b"
    "a c"
    "a d"
    "e e"
    "f g"
    "i g"
    "h h";
}

.g-a { grid-area: a; }
.g-b { grid-area: b; }
.g-c { grid-area: c; }
.g-d { grid-area: d; }
.g-e { grid-area: e; }
.g-f { grid-area: f; }
.g-g { grid-area: g; }
.g-h { grid-area: h; }
.g-i { grid-area: i; }

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--sand);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transition: transform 0.9s var(--ease);
}

.g-a .gallery-item img { object-position: 50% 62%; }

.gallery-item:hover img,
.gallery-item:focus-visible img { transform: scale(1.035); }

.gallery-item:focus-visible { outline-offset: -3px; outline-color: var(--gold); }

.gallery-zoom {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 249, 236, 0.92);
  color: var(--ink);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.gallery-item:hover .gallery-zoom,
.gallery-item:focus-visible .gallery-zoom { opacity: 1; transform: none; }

@media (hover: none) {
  .gallery-zoom { opacity: 1; transform: none; width: 32px; height: 32px; }
}

@media (min-width: 700px) {
  .gallery-grid {
    gap: 0.75rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: clamp(140px, 20vw, 210px);
    grid-template-areas:
      "a a b b"
      "a a c c"
      "d d e e"
      "d d f g"
      "h h i i";
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    gap: 0.9rem;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: clamp(120px, 11vw, 175px);
    grid-template-areas:
      "a a b b b b"
      "a a b b b b"
      "a a c c d d"
      "e e e e d d"
      "e e e e f f"
      "g g h h h i"
      "g g h h h i";
  }
}

/* =========================================================
   GDJE NAS PRONAĆI
   ========================================================= */
.find { background: var(--cream-soft); }

.find-grid {
  display: grid;
  gap: 2rem;
}

.find-home {
  align-self: start;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
}

.find-home h3,
.find-fairs h3 {
  font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem);
  margin-bottom: 1rem;
}

.find-name {
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.find-address,
.find-hours {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.find-address {
  text-decoration: none;
  color: var(--ink);
}

.find-address span:not(.visually-hidden) {
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

.find-address:hover span:not(.visually-hidden) { border-bottom-color: var(--ink); }

.find-address .icon,
.find-hours .icon {
  margin-top: 0.2rem;
  color: var(--gold-deep);
  width: 1.3em;
  height: 1.3em;
}

.find-hours-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.find-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.find-phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  color: var(--brown);
  text-decoration: none;
}
.find-phone:hover { text-decoration: underline; }

.fair-photos {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 0.6rem;
  height: clamp(200px, 42vw, 360px);
  margin-bottom: 2rem;
}

.fair-photos figure { height: 100%; overflow: hidden; }

.fair-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

.find-fairs > p { color: var(--muted); max-width: 38rem; }

.fair-intro {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown) !important;
}

.fair-list {
  list-style: none;
  display: grid;
  gap: 0;
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--line);
}

.fair-list li {
  position: relative;
  padding: 0.75rem 0 0.75rem 1.5rem;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

.fair-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.3rem;
  width: 8px;
  height: 9px;
  background: var(--gold);
  clip-path: var(--hex);
}

.fair-note { font-size: 0.95rem; }
.fair-note a { color: var(--ink); font-weight: 600; text-decoration-color: var(--gold); text-underline-offset: 3px; }

@media (min-width: 600px) {
  .fair-list { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
}

@media (min-width: 960px) {
  .find-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2.5rem, 5vw, 5rem);
  }
}

/* =========================================================
   KONTAKT
   ========================================================= */
.contact {
  background: var(--cream);
  overflow: hidden;
}

.contact-pattern {
  position: absolute;
  inset: 0 50% 0 0;
  background-image: var(--comb);
  background-size: 56px 100px;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(to right, #000, transparent 80%);
  mask-image: linear-gradient(to right, #000, transparent 80%);
  pointer-events: none;
}

.contact-grid {
  position: relative;
  display: grid;
  gap: 3rem;
}

.contact-lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 32rem;
  margin-bottom: 2rem;
}

.contact-list {
  margin: 0 0 2rem;
  border-top: 1px solid var(--line-strong);
}

.contact-list > div {
  display: grid;
  gap: 0.15rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-list dt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-list dt .icon { color: var(--gold-deep); width: 1.1rem; height: 1.1rem; }

.contact-list dd {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-list dd a {
  display: inline-block;
  padding: 0.25rem 0;
  color: var(--ink);
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

@media (min-width: 600px) {
  .contact-list > div {
    grid-template-columns: 11rem minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
  }
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.facebook-link,
.footer-facebook {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.facebook-link { color: var(--brown); }
.facebook-link .icon {
  width: 34px;
  height: 34px;
  padding: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}
.facebook-link:hover { color: var(--ink); }

/* Forma */
.contact-form {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -45px rgba(89, 66, 44, 0.55);
}

.contact-form h3 {
  font-size: clamp(1.75rem, 1.4rem + 1vw, 2.2rem);
  margin-bottom: 0.4rem;
}

.form-hint {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

.field { margin-bottom: 1.25rem; }

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 0.95rem;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}

.field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }

.field input:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(214, 167, 44, 0.25);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--error); }

.field-error {
  min-height: 0;
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--error);
}
.field-error:empty { display: none; }

.form-status:empty { display: none; }

.form-status {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  background: var(--cream-soft);
  border-left: 3px solid var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
}

@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  position: relative;
  background: var(--ink);
  color: rgba(255, 249, 236, 0.78);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 0;
  border-top: 3px solid var(--gold);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.brand-mark--footer {
  width: 64px;
  height: 64px;
  margin-bottom: 1.25rem;
  border-color: rgba(214, 167, 44, 0.5);
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.3rem;
}

.footer-motto {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold);
}

.footer-heading {
  margin-bottom: 1rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-col address { margin-bottom: 1rem; line-height: 1.7; }
.footer-col p { margin-bottom: 0.25rem; }

.site-footer a {
  color: var(--cream);
  text-decoration: none;
}

.footer-col p a {
  display: inline-block;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(214, 167, 44, 0.45);
}

.site-footer a:hover { color: var(--gold-soft); }

.footer-nav { list-style: none; display: grid; gap: 0.1rem; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 40px; }

.footer-facebook .icon {
  width: 36px;
  height: 36px;
  padding: 8px;
  border: 1px solid rgba(214, 167, 44, 0.5);
  border-radius: 50%;
  color: var(--gold);
}

.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 249, 236, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 249, 236, 0.6);
}
.footer-bottom p { margin: 0; }

@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; }
}

/* InstaDig demo napomena */
.demo-note {
  background: #0E0E0B;
  color: #D9D0BD;
  padding: 1.1rem 0;
  font-size: 0.82rem;
  line-height: 1.6;
  text-align: center;
}
.demo-note p { margin-inline: auto; margin-block: 0; }

/* =========================================================
   MOBILNA TRAKA
   ========================================================= */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  background: var(--ink);
  border-top: 2px solid var(--gold);
  padding-bottom: env(safe-area-inset-bottom, 0);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform 0.35s var(--ease), visibility 0s linear 0.35s;
}

.mobile-bar.is-visible {
  transform: none;
  visibility: visible;
  transition: transform 0.35s var(--ease), visibility 0s;
}

.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 56px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}

.mobile-bar-call { color: var(--cream); }
.mobile-bar-order { background: var(--gold); color: var(--ink); }

@media (max-width: 767.98px) {
  body { padding-bottom: 58px; }
}

@media (min-width: 768px) {
  .mobile-bar { display: none; }
}

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  padding: 4.5rem 0.75rem 1.5rem;
  background: rgba(14, 14, 11, 0.95);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }

.lightbox-stage {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 0;
}

.lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1100px;
  width: 100%;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: calc(100vh - 10rem);
  max-height: calc(100dvh - 10rem);
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox-figure figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1rem;
  margin-top: 1rem;
  color: var(--cream);
  font-size: 0.9rem;
  text-align: center;
}

.lightbox-counter { color: var(--gold); font-weight: 700; letter-spacing: 0.08em; }

.lightbox-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: rgba(255, 249, 236, 0.08);
  color: var(--cream);
  border: 1px solid rgba(255, 249, 236, 0.25);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}

.lightbox-btn:hover { background: rgba(214, 167, 44, 0.3); }
.lightbox-btn .icon { width: 24px; height: 24px; }

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.lightbox-btn:focus-visible { outline-color: var(--gold); }

@media (max-width: 599.98px) {
  .lightbox {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    padding: 4.5rem 0.75rem 1.25rem;
  }
  .lightbox-stage { grid-column: 1 / -1; grid-row: 1; }
  .lightbox-prev { grid-row: 2; grid-column: 1; justify-self: end; margin-right: 0.5rem; }
  .lightbox-next { grid-row: 2; grid-column: 2; justify-self: start; margin-left: 0.5rem; }
  .lightbox-figure img { max-height: calc(100dvh - 12rem); }
}

/* =========================================================
   REVEAL & REDUCED MOTION
   ========================================================= */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .gallery-item:hover img { transform: none; }
}

/* =========================================================
   FINI MOBILNI DETALJI
   ========================================================= */
@media (max-width: 420px) {
  .eyebrow { letter-spacing: 0.12em; font-size: 0.7rem; }
  .brand-name { font-size: 1.12rem; }
  .brand-mark { width: 46px; height: 46px; }
  .hero-actions .btn { width: 100%; }
  .contact-actions .btn { width: 100%; }
  .find-actions .btn { width: 100%; }
  .award-ribbon { letter-spacing: 0.14em; font-size: 0.72rem; }
  .about-count { gap: 0.75rem; }
}

@media (max-width: 359.98px) {
  .brand-text { display: none; }
}