:root {
  --ink: #141210;
  --ink-soft: #4a443e;
  --muted: #7a7169;
  --paper: #faf7f2;
  --paper-2: #f1ebe2;
  --line: #e2d9cc;
  --gold: #b08a57;
  --gold-deep: #8c6a3c;
  --dark: #111010;
  --radius: 14px;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.1; }
h1, h2 { font-family: var(--serif); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.05rem; letter-spacing: 0.005em; }
p { margin: 0; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--small { padding: 10px 18px; font-size: 0.85rem; }
.btn svg { width: 18px; height: 18px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner {
  max-width: var(--max); margin: 0 auto; padding: 12px var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.nav__brand img { width: 40px; height: 40px; border-radius: 50%; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); }
.nav__links a:hover { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: none; padding: 5px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.nav__toggle { display: none; width: 40px; height: 40px; border: 0; background: none; position: relative; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .25s; }
.nav__toggle span:first-child { top: 16px; }
.nav__toggle span:last-child { top: 23px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { display: none; }

/* Hero */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(24px, 5vw, 64px) var(--gutter) clamp(40px, 6vw, 80px);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1.02; }
.hero h1 em { font-style: italic; color: var(--gold-deep); }
.hero__lede { margin-top: 22px; font-size: 1.1rem; color: var(--ink-soft); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__proof { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 14px 32px; }
.hero__proof li { display: flex; flex-direction: column; font-size: 0.82rem; color: var(--muted); padding-left: 14px; border-left: 2px solid var(--gold); }
.hero__proof strong { font-size: 1.05rem; color: var(--ink); }
.hero__image { margin: 0; position: relative; }
.hero__image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 220px 220px var(--radius) var(--radius); }
.open-badge {
  position: absolute; left: 20px; bottom: 20px;
  background: var(--paper); border-radius: 999px; padding: 9px 16px 9px 14px;
  font-size: 0.82rem; font-weight: 600; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
}
.open-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #c0392b; }
.open-badge.is-open::before { background: #2e9a5b; box-shadow: 0 0 0 4px rgba(46,154,91,.18); }

/* Highlights */
.highlights {
  width: min(calc(100% - 2 * var(--gutter)), calc(var(--max) - 2 * var(--gutter))); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.highlight { background: var(--paper); padding: 28px 24px; }
.highlight__icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--paper-2); color: var(--gold-deep); font-size: 20px; margin-bottom: 16px; }
.highlight p { margin-top: 8px; font-size: 0.9rem; color: var(--ink-soft); }

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 9vw, 120px) var(--gutter) 0; }
.section__head { max-width: 640px; margin-bottom: 44px; }
.section__head > p:not(.eyebrow) { margin-top: 16px; color: var(--ink-soft); font-size: 1.05rem; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* Services */
.services { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.service { display: flex; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.service__num { font-family: var(--serif); font-size: 1.3rem; color: var(--gold); line-height: 1; padding-top: 2px; }
.service h3 { font-size: 1.1rem; }
.service p { margin-top: 6px; font-size: 0.92rem; color: var(--ink-soft); }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  border: 1px solid var(--line); background: transparent; border-radius: 999px;
  padding: 8px 16px; font-size: 0.85rem; font-weight: 500; color: var(--ink-soft);
  transition: all .15s;
}
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery__item {
  position: relative; padding: 0; border: 0; background: var(--paper-2);
  border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 5;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .4s; opacity: 0; }
.gallery__item img.is-loaded { opacity: 1; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.gallery__item[hidden] { display: none; }
.gallery__more { text-align: center; margin-top: 36px; }

/* About */
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__image { margin: 0; }
.about__image img { border-radius: var(--radius); width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; }
.about__text p:not(.eyebrow) { margin-top: 18px; color: var(--ink-soft); }
.about__text h2 { margin-bottom: 4px; }
.creds { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.cred {
  display: flex; align-items: center; gap: 12px; text-align: left;
  border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 8px 16px 8px 8px;
  font-size: 0.85rem; font-weight: 600; transition: border-color .15s;
}
.cred:hover { border-color: var(--gold); }
.cred img { width: 52px; height: 52px; object-fit: cover; object-position: top; border-radius: 6px; }

/* Trusted */
.trusted .section__head { text-align: center; margin-left: auto; margin-right: auto; }
.trusted h2 { font-style: italic; }
.trusted__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 760px; margin: 0 auto; }
.trusted__grid figure { margin: 0; }
.trusted__grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.trusted__grid figcaption { margin-top: 12px; font-size: 0.9rem; font-weight: 600; text-align: center; }

/* Reviews */
.rating { display: grid; grid-template-columns: auto auto; column-gap: 12px; align-items: center; text-decoration: none; }
.rating__score { grid-row: span 2; font-family: var(--serif); font-size: 3.4rem; font-weight: 600; line-height: 1; }
.rating__stars { color: var(--gold); letter-spacing: 2px; }
.rating__count { font-size: 0.85rem; color: var(--ink-soft); }
.rating:hover .rating__count { color: var(--ink); text-decoration: underline; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
}
.review p { font-family: var(--serif); font-size: 1.2rem; line-height: 1.4; }
.review .review__tr { display: none; margin-top: -8px; padding-top: 12px; border-top: 1px dashed var(--line); font-family: var(--sans); font-size: 0.88rem; line-height: 1.55; color: var(--muted); }
.review__tr::before { content: "Translation · "; font-weight: 700; letter-spacing: .04em; color: var(--gold-deep); }
.review__tr:lang(bs)::before { content: "Prijevod · "; }
html:lang(en) .review:lang(bs) .review__tr:lang(en),
html:lang(bs) .review:lang(en) .review__tr:lang(bs) { display: block; }
.review footer { font-size: 0.85rem; font-weight: 600; color: var(--muted); margin-top: auto; }
.review footer::before { content: "★★★★★"; display: block; color: var(--gold); letter-spacing: 2px; margin-bottom: 4px; }

/* Visit */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); padding-bottom: clamp(64px, 9vw, 120px); }
.visit__info > p:not(.eyebrow) { margin-top: 16px; color: var(--ink-soft); }
.contact-list { margin-top: 28px; border-top: 1px solid var(--line); }
.contact-item { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .2s; }
.contact-item:hover { padding-left: 6px; }
.contact-item__label { font-size: 0.85rem; color: var(--muted); }
.contact-item__value { font-weight: 600; text-align: right; }
.hours__title { margin-top: 36px; margin-bottom: 10px; }
.hours { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours th, .hours td { padding: 8px 0; text-align: left; font-weight: 400; border-bottom: 1px dashed var(--line); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; color: var(--gold-deep); }
.hours tr.is-closed td { color: var(--muted); }
.visit__side { display: flex; flex-direction: column; gap: 16px; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 11; background: var(--paper-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.35) contrast(1.05); }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-size: 0.85rem; font-weight: 600; }
.contact-form input, .contact-form textarea {
  font: inherit; font-weight: 400; font-size: 1rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper);
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: transparent; }
.contact-form .btn { justify-self: start; }
.contact-form__note { font-size: 0.8rem; color: var(--muted); }

/* Footer */
.footer { background: var(--dark); color: #d8d1c7; }
.footer__inner { max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter); display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.footer__brand span { font-weight: 400; color: #9a9187; font-size: 0.9rem; }
.footer__brand img { border-radius: 50%; border: 1px solid #333; }
.footer__social { display: flex; gap: 10px; margin-left: auto; }
.footer__social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #3a3632; border-radius: 50%; font-size: 18px; transition: border-color .2s, color .2s; }
.footer__social a:hover { border-color: var(--gold); color: var(--gold); }
.footer__copy { font-size: 0.85rem; color: #8a8178; width: 100%; }

/* Sticky call (mobile) */
.sticky-call { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 9, 8, .94); display: grid; place-items: center; padding: 56px 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(100%, 900px); max-height: calc(100vh - 112px); max-height: calc(100dvh - 112px); object-fit: contain; border-radius: 8px; }
.lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.08); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 28px; line-height: 1; }
.lightbox button:hover { background: rgba(255,255,255,.18); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox.is-single .lightbox__nav { display: none; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .gallery__item img { transition: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__actions { margin-left: auto; }
  .mobile-menu { display: grid; max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 var(--gutter); }
  .mobile-menu.is-open { max-height: 360px; border-bottom: 1px solid var(--line); }
  .mobile-menu a { padding: 14px 0; text-decoration: none; font-family: var(--serif); font-size: 1.5rem; border-top: 1px solid var(--line); }
  .mobile-menu a:last-child { margin-bottom: 12px; }
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { padding-bottom: 76px; }
  .nav__actions .btn--small { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 12px; }
  .hero__image { order: -1; }
  .hero__image img { aspect-ratio: 4 / 4.2; border-radius: 160px 160px var(--radius) var(--radius); }
  .hero__cta .btn { flex: 1 1 auto; }
  .highlights { grid-template-columns: 1fr; }
  .highlight { display: grid; grid-template-columns: 42px 1fr; column-gap: 16px; padding: 20px; }
  .highlight__icon { grid-row: span 2; margin: 0; }
  .highlight p { margin-top: 2px; }
  .services { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; width: calc(100% + var(--gutter) * 2); }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: 0 0 auto; }
  .about, .visit { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }
  .rating__score { font-size: 2.8rem; }
  .footer__social { margin-left: 0; }
  .sticky-call {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 40;
    background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600;
    padding: 16px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.25);
    transform: translateY(150%); transition: transform .3s ease;
  }
  .sticky-call.is-visible { transform: none; }
  .sticky-call svg { width: 20px; height: 20px; }
}
