/* Stolica & Sto - stilovi sajta
   Boje i fontovi su na jednom mestu (:root) - menjaju se ovde. */

:root {
  --gold: #CFA54E;
  --gold-hover: #DDB867;
  --gold-text: #8A6A28;
  --ink: #141414;
  --dark: #111111;
  --dark-2: #1E1D1B;
  --dark-3: #2A2825;
  --dark-line: #34322E;
  --light: #FAFAF7;
  --stone: #F2EFE8;
  --white: #FFFFFF;
  --muted: #55524C;
  --muted-dark: #B3ADA3;
  --line: #DCD5C7;
  --on-dark: #F4F1EA;
  --radius: 14px;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--light); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-text); }
a:hover { color: #6B511C; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.icon { width: 20px; height: 20px; flex: none; }

/* Oznaka za tekst koji treba dopuniti - obrisati kad se popuni */
mark.popuni { background: #FFF3C4; color: #5A4500; border: 1px dashed #C9A23A; border-radius: 4px; padding: 0 4px; }

/* ---------- Gornja traka i zaglavlje ---------- */
.topbar { background: var(--gold); color: var(--ink); font-size: 14px; font-weight: 700; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 22px; padding-block: 9px; text-align: center; }

.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--dark); color: var(--on-dark); border-bottom: 1px solid var(--dark-line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .amblem { width: 46px; height: 46px; }
.brand .natpis { width: auto; height: 27px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--on-dark); text-decoration: none; padding: 8px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
.nav-toggle { display: none; }

/* ---------- Dugmad ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 12px; border: 2px solid transparent; font-family: var(--font-body); font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn .icon { width: 18px; height: 18px; }
.btn-sm { min-height: 46px; padding: 0 18px; font-size: 15px; border-radius: 10px; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hover); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #2C2B29; color: var(--white); }
.btn-line-dark { border-color: var(--ink); color: var(--ink); }
.btn-line-dark:hover { background: var(--ink); color: var(--white); }
.btn-line-light { border-color: #4A4740; color: var(--on-dark); }
.btn-line-light:hover { border-color: var(--gold); color: var(--gold); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Naslovi sekcija ---------- */
.h-display { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.95; }
.h2 { font-size: clamp(36px, 5vw, 68px); }
.section { padding-block: clamp(64px, 8vw, 112px); }
.section-stone { background: var(--stone); }
.section-dark { background: var(--dark); color: var(--on-dark); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; margin-bottom: 40px; }
.section-head p { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 440px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); }
.section-dark .eyebrow, .page-hero .eyebrow { color: var(--gold); }

/* ---------- Početni ekran ---------- */
.hero { background: var(--dark); color: var(--on-dark); }
.hero .wrap { display: flex; flex-direction: column; gap: 40px; padding-block: clamp(40px, 6vw, 88px) clamp(48px, 6vw, 80px); }
.hero-top { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 28px 64px; }
.hero h1 { flex: 3 1 560px; min-width: 0; font-size: clamp(46px, 7.6vw, 120px); line-height: 0.92; }
.hero h1 span { color: var(--gold); }
.hero-lead { flex: 1 1 300px; min-width: 0; font-size: 18px; line-height: 1.6; color: var(--muted-dark); }

.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.contact-card { display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 18px 22px; border-radius: var(--radius); background: var(--dark-2); border: 1px solid var(--dark-line); color: var(--on-dark); text-decoration: none; transition: border-color .15s; }
.contact-card:hover { border-color: var(--gold); color: var(--on-dark); }
.contact-card .ic { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--dark-3); color: var(--gold); }
.contact-card .ic .icon { width: 22px; height: 22px; }
.contact-card strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.2; }
.contact-card small { display: block; font-size: 15px; color: var(--muted-dark); }
.contact-card.primary { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.contact-card.primary:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: var(--ink); }
.contact-card.primary .ic { background: var(--ink); color: var(--gold); }
.contact-card.primary small { color: var(--ink); font-weight: 500; }

.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }

/* ---------- Kategorije (pločice) ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.tile { position: relative; display: block; overflow: hidden; border-radius: 16px; color: var(--ink); text-decoration: none; background: var(--stone); }
.tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .4s ease; }
.tile:hover img { transform: scale(1.03); }
.tile.wide { grid-column: 1 / -1; }
.tile.wide img { aspect-ratio: 16 / 5; }
.tile-label { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 12px; background: var(--white); }
.tile-label strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1.2; }
.tile-label small { display: block; font-size: 14px; color: var(--muted); }
.arrow { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--gold); }
.arrow .icon { width: 18px; height: 18px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin-top: 32px; list-style: none; }
.chips li, .chips a { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-family: var(--font-display); font-weight: 500; font-size: 17px; color: var(--ink); text-decoration: none; }
.chips a:hover { border-color: var(--ink); }

/* ---------- Recenzije ---------- */
.reviews { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.rating { flex: 0 1 300px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.rating .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(110px, 12vw, 150px); line-height: 0.85; letter-spacing: -0.04em; color: var(--gold); }
.rating p { color: var(--muted-dark); }
.rating .stars { margin-top: 14px; }
.stars { display: inline-flex; gap: 4px; color: var(--gold); }
.stars svg { width: 22px; height: 22px; }
.quotes { flex: 1 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.quote .stars svg { width: 16px; height: 16px; }
.rating .btn-row { margin-top: 8px; }
.quote { display: flex; flex-direction: column; gap: 16px; padding: 26px; border-radius: 16px; background: var(--dark-2); border: 1px solid var(--dark-line); }
.quote blockquote { font-size: 18px; line-height: 1.55; }
.quote figcaption { font-size: 14px; color: var(--muted-dark); }
.quote figcaption strong { color: var(--on-dark); }

/* ---------- Galerija ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gallery a { display: block; overflow: hidden; border-radius: var(--radius); background: var(--stone); }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .4s ease; }
.gallery a:hover img { transform: scale(1.03); }
.note { margin-top: 28px; font-size: 15px; color: var(--muted); }
.note a { font-weight: 700; }

.lightbox { width: min(92vw, 1100px); max-width: none; max-height: 92vh; padding: 0; border: 0; border-radius: 16px; background: var(--dark); color: var(--on-dark); }
.lightbox::backdrop { background: rgba(10, 10, 10, 0.88); }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; background: #000; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; }
.lb-bar button { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; border: 1px solid var(--dark-line); border-radius: 10px; background: var(--dark-2); color: var(--on-dark); font: 600 15px var(--font-body); cursor: pointer; }
.lb-bar button:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Česta pitanja ---------- */
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 14px; align-items: start; }
.faq details { padding: 0 24px; border-radius: var(--radius); background: var(--white); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; padding: 20px 0; font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.3; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--gold-text); transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; font-size: 16px; line-height: 1.65; color: var(--muted); }

/* ---------- Poziv na akciju (zlatna traka) ---------- */
.cta-band { background: var(--gold); color: var(--ink); }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding-block: clamp(56px, 7vw, 96px); }
.cta-band .text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cta-band h2 { font-size: clamp(34px, 4.6vw, 62px); }
.cta-band p { font-size: 18px; font-weight: 500; }
.cta-band .btn-line-dark:hover { background: var(--ink); color: var(--gold); }

/* ---------- Podnožje ---------- */
.site-footer { background: var(--dark); color: var(--on-dark); }
.site-footer .wrap { display: flex; flex-direction: column; gap: 40px; padding-block: 56px 32px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.footer-grid h2 { margin-bottom: 4px; font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col a { color: var(--on-dark); text-decoration: none; }
.footer-col a:hover { color: var(--gold); }
.footer-col span, .footer-col p { color: var(--muted-dark); }
.footer-logo { width: 220px; }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--dark-3); font-size: 13px; color: #8F897F; }

/* ---------- Zaglavlje podstranica ---------- */
.page-hero { background: var(--dark); color: var(--on-dark); }
.page-hero .wrap { display: flex; flex-direction: column; gap: 18px; padding-block: clamp(40px, 6vw, 80px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted-dark); }
.crumbs a { color: var(--muted-dark); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.page-hero h1 { font-size: clamp(44px, 7vw, 104px); line-height: 0.92; }
.page-hero h1 span { color: var(--gold); }
.page-hero p.lead { max-width: 640px; font-size: 18px; line-height: 1.6; color: var(--muted-dark); }

/* ---------- Ponuda ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--dark-line); color: var(--on-dark); font-size: 15px; font-weight: 500; text-decoration: none; }
.jump a:hover { border-color: var(--gold); color: var(--gold); }
.cat { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 56px; padding-block: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); }
.cat:first-child { border-top: 0; }
.cat-media { flex: 1 1 460px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cat-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.cat-media img:first-child { grid-column: 1 / -1; }
.cat-body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.cat-body h2 { font-size: clamp(34px, 4vw, 54px); }
.cat-body > p { font-size: 17px; line-height: 1.65; color: var(--muted); }
.facts { display: flex; flex-direction: column; gap: 10px; padding: 0; list-style: none; }
.facts li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.facts li .icon { margin-top: 2px; color: var(--gold-text); }
.ideal { font-size: 15px; color: var(--muted); }
.ideal strong { color: var(--ink); }
@media (min-width: 960px) { .cat.flip .cat-media { order: 2; } }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding: 0; list-style: none; counter-reset: korak; }
.steps li { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 16px; background: var(--white); counter-increment: korak; }
.steps li::before { content: counter(korak, decimal-leading-zero); font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; color: var(--gold); }
.steps h3 { font-family: var(--font-display); font-weight: 600; font-size: 21px; }
.steps p { color: var(--muted); }

/* ---------- O nama ---------- */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 64px; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
.prose { display: flex; flex-direction: column; gap: 18px; font-size: 17px; line-height: 1.7; color: var(--muted); }
.prose .lead { font-size: 21px; line-height: 1.55; color: var(--ink); }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.value { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 16px; background: var(--dark-2); border: 1px solid var(--dark-line); }
.value .ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--dark-3); color: var(--gold); }
.value .ic .icon { width: 24px; height: 24px; }
.value h3 { font-family: var(--font-display); font-weight: 600; font-size: 21px; }
.value p { color: var(--muted-dark); }

/* ---------- Kontakt ---------- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.info { display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.info .ic { color: var(--gold-text); }
.info .ic .icon { width: 26px; height: 26px; }
.info h2 { font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.info p { color: var(--muted); }
.checklist { display: flex; flex-direction: column; gap: 12px; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.checklist li .icon { margin-top: 3px; color: var(--gold-text); }

/* ---------- Mobilna traka za kontakt ---------- */
.mobile-bar { display: none; }

/* ---------- Telefon i tablet ---------- */
@media (max-width: 900px) {
  .js .nav-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; min-width: 46px; padding: 0 12px; border: 1px solid var(--dark-line); border-radius: 10px; background: transparent; color: var(--on-dark); font: 600 15px var(--font-body); cursor: pointer; }
  .js .nav { display: none; order: 3; width: 100%; flex-direction: column; gap: 0; padding-bottom: 6px; }
  .js .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-top: 1px solid var(--dark-line); font-size: 17px; }
  .header-cta { display: none; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(17, 17, 17, 0.97); border-top: 1px solid var(--dark-line); }
  .mobile-bar a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 6px; border-radius: 10px; border: 1px solid var(--dark-line); color: var(--on-dark); font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
  .mobile-bar a.call { background: var(--gold); border-color: var(--gold); color: var(--ink); }
  .mobile-bar .icon { width: 18px; height: 18px; }
  body { padding-bottom: 76px; }
}
@media (max-width: 600px) {
  .brand .amblem { width: 40px; height: 40px; }
  .brand .natpis { height: 22px; }
  .tile img, .tile.wide img { aspect-ratio: 4 / 3; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .topbar .wrap { font-size: 13px; }
  .topbar .sep { display: none; }
}
