/* ==========================================================================
   Đurašković – pogrebne usluge
   Paleta preuzeta sa vizit karte: tamnoplava + zlatna
   ========================================================================== */

:root {
    --navy-900: #131a28;
    --navy-800: #182030;
    --navy-700: #1b2537;   /* osnovna boja vizit karte */
    --navy-600: #232f45;
    --navy-500: #2e3b54;

    --gold-500: #b3945b;   /* zlatna sa vizit karte */
    --gold-400: #c5a86f;
    --gold-300: #d8c297;
    --gold-line: rgba(179, 148, 91, .35);

    --text: #e7e1d4;
    --text-muted: #a9a698;
    --danger: #e59a8c;
    --success: #a9c79a;

    --font-display: "EB Garamond", Garamond, "Times New Roman", serif;
    --font-accent: "Playfair Display", Georgia, serif;
    --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

    --radius: 4px;
    --container: 1180px;
    --gutter: clamp(16px, 4vw, 32px);
    --header-h: 76px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--navy-700);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-400); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-300); }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.2; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 3px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.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;
}

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    padding: 10px 16px; background: var(--gold-500); color: var(--navy-900);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 780px; }

/* ---------- Dugmad ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6em;
    padding: .85em 1.6em;
    border: 1px solid transparent; border-radius: var(--radius);
    font: 600 .95rem/1.2 var(--font-body); letter-spacing: .02em;
    cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, transform .25s;
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold-500); color: var(--navy-900); }
.btn--gold:hover { background: var(--gold-300); color: var(--navy-900); }
.btn--ghost { border-color: var(--gold-line); color: var(--gold-300); }
.btn--ghost:hover { border-color: var(--gold-400); background: rgba(179, 148, 91, .08); color: var(--gold-300); }
.btn--sm { padding: .6em 1.1em; font-size: .85rem; }
.btn--lg { padding: 1em 1.9em; font-size: 1rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; font-size: .92rem; letter-spacing: .02em; }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--back:hover .icon { transform: translateX(-4px); }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-900); border-bottom: 1px solid rgba(179, 148, 91, .15); font-size: .82rem; color: var(--text-muted); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar__item { display: inline-flex; align-items: center; gap: .5em; }
.topbar__item .icon { color: var(--gold-500); width: 1.05em; height: 1.05em; }
.topbar__phone { color: var(--gold-300); font-weight: 600; }

/* ---------- Header / navigacija ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(27, 37, 55, .96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--gold-line); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.site-header .logo { margin-right: auto; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; color: var(--gold-500); }
.logo:hover { color: var(--gold-400); }
.logo__name {
    font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
    font-size: 1.65rem; letter-spacing: .08em;
    padding-bottom: 5px; border-bottom: 1px solid currentColor;
}
.logo__tagline { font-family: var(--font-accent); font-size: .78rem; letter-spacing: .04em; margin-top: 5px; }

.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav__list { display: flex; list-style: none; gap: 4px; }
.site-nav__list a {
    position: relative; display: block; padding: 8px 12px;
    color: var(--text); font-size: .93rem; letter-spacing: .02em;
}
.site-nav__list a::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px;
    background: var(--gold-500); transform: scaleX(0); transition: transform .3s var(--ease);
}
.site-nav__list a:hover, .site-nav__list a.is-active { color: var(--gold-300); }
.site-nav__list a:hover::after, .site-nav__list a.is-active::after { transform: scaleX(1); }

.nav-toggle {
    display: none; padding: 8px; border: 1px solid var(--gold-line); border-radius: var(--radius);
    background: none; color: var(--gold-400); cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

/* Izbor jezika */
.lang-switch { position: relative; margin-left: -8px; }
.lang-switch__toggle {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px;
    border: 1px solid var(--gold-line); border-radius: var(--radius);
    color: var(--gold-300); font-size: .85rem; font-weight: 600; letter-spacing: .06em;
    cursor: pointer; list-style: none; user-select: none; transition: border-color .2s, background-color .2s;
}
.lang-switch__toggle::-webkit-details-marker { display: none; }
.lang-switch__toggle:hover, .lang-switch[open] .lang-switch__toggle { border-color: var(--gold-500); background: rgba(179, 148, 91, .08); }
.lang-switch__toggle .icon { width: 18px; height: 18px; color: var(--gold-500); }
.lang-switch__toggle .lang-switch__chevron { width: 14px; height: 14px; transition: transform .2s; }
.lang-switch[open] .lang-switch__chevron { transform: rotate(180deg); }
.lang-switch__menu {
    position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 190px;
    list-style: none; padding: 6px;
    background: var(--navy-800); border: 1px solid var(--gold-line); border-radius: var(--radius);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
}
.lang-switch__menu a {
    display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 3px;
    color: var(--text); font-size: .93rem;
}
.lang-switch__menu a:hover { background: var(--navy-600); color: var(--gold-300); }
.lang-switch__menu a.is-current { color: var(--gold-300); background: rgba(179, 148, 91, .1); }
.lang-switch__code { width: 24px; font-size: .75rem; font-weight: 600; letter-spacing: .08em; color: var(--gold-500); }

@media (max-width: 1180px) {
    .nav-toggle { display: inline-flex; }
    .site-header__inner { gap: 12px; }

    .lang-switch { margin-left: 0; }
    .site-nav {
        position: absolute; top: 100%; left: 0; right: 0; z-index: 49;
        max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
        flex-direction: column; align-items: stretch; gap: 20px;
        padding: 24px var(--gutter) 32px;
        background: var(--navy-800); border-bottom: 1px solid var(--gold-line);
        box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
        transform: translateY(-12px); opacity: 0; visibility: hidden;
        transition: opacity .25s, transform .25s var(--ease), visibility .25s;
    }
    .nav-open .site-nav { transform: none; opacity: 1; visibility: visible; }
    .site-nav__list { flex-direction: column; }
    .site-nav__list a { padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid rgba(179, 148, 91, .12); }
    .site-nav__list a::after { display: none; }
}

@media (max-width: 560px) {
    .topbar__group { display: none; }
    .topbar__inner { justify-content: center; }
    .logo__name { font-size: 1.35rem; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; text-align: center;
    padding: clamp(72px, 12vw, 140px) 0 clamp(64px, 10vw, 120px);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(179, 148, 91, .12), transparent 60%),
        linear-gradient(180deg, var(--navy-700), var(--navy-800));
}
.hero::before, .hero::after {
    content: ""; position: absolute; left: 50%; width: 1px; height: 56px;
    background: linear-gradient(var(--gold-line), transparent);
}
.hero::before { top: 0; }
.hero::after { bottom: 0; transform: rotate(180deg); }

.hero__inner { display: flex; flex-direction: column; align-items: center; }
.hero__hours { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 5vw, 3rem); color: var(--gold-500); margin: 0 0 .3em; letter-spacing: .04em; }
.hero__title {
    font-family: var(--font-display); font-weight: 600; text-transform: uppercase; color: var(--gold-500);
    font-size: clamp(2.6rem, 10vw, 6.5rem); letter-spacing: .06em; line-height: 1;
}
.hero__title-pre {
    display: block; font-family: var(--font-accent); font-weight: 400; text-transform: none;
    font-size: clamp(1rem, 2.4vw, 1.6rem); letter-spacing: .22em; color: var(--gold-300);
    margin-bottom: .35em; opacity: .9;
}
.hero__rule { display: block; width: min(640px, 90%); height: 1px; background: var(--gold-500); margin: clamp(18px, 3vw, 28px) 0; opacity: .8; }
.hero__subtitle { font-family: var(--font-accent); font-size: clamp(1.4rem, 3.4vw, 2.3rem); color: var(--gold-500); margin: 0 0 1.2em; }
.hero__lead { max-width: 620px; color: var(--text-muted); font-size: 1.05rem; margin-bottom: 2em; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hero__note { max-width: 100%; margin: 2.2em 0 0; color: var(--gold-300); font-size: .95rem; }
.hero__note .icon { color: var(--gold-500); vertical-align: -.25em; margin-right: .4em; }

/* ---------- Sekcije ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--tight { padding-top: clamp(40px, 6vw, 64px); }
.section--alt { background: var(--navy-800); border-block: 1px solid rgba(179, 148, 91, .1); }

.section-head { max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; text-align: left; flex-wrap: wrap; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 12px; margin-bottom: 12px;
    font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-500);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-title { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 500; color: #f1ebdf; }
.section-lead { margin: 16px 0 0; color: var(--text-muted); }

/* ---------- Usluge ---------- */
.services { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); gap: 1px; background: var(--gold-line); border: 1px solid var(--gold-line); }
.service { background: var(--navy-700); padding: 34px 30px; transition: background-color .3s; }
.service:hover { background: var(--navy-600); }
.service__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; margin-bottom: 20px;
    border: 1px solid var(--gold-line); border-radius: 50%; color: var(--gold-500);
}
.service__icon .icon { width: 24px; height: 24px; }
.service__title { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: var(--gold-300); margin-bottom: 10px; }
.service__text { color: var(--text-muted); font-size: .95rem; margin: 0; }

/* ---------- O nama ---------- */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about__text .section-title { margin-bottom: 24px; }
.about__text p:not(.eyebrow) { color: var(--text-muted); }
.values { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value {
    display: flex; flex-direction: column; gap: 14px; padding: 28px 24px;
    border: 1px solid var(--gold-line); border-radius: var(--radius); background: rgba(27, 37, 55, .6);
}
.value__num { font-family: var(--font-display); font-weight: 600; font-size: 2.2rem; line-height: 1; color: var(--gold-500); }
.value__icon { color: var(--gold-500); }
.value__icon .icon { width: 34px; height: 34px; }
.value__label { font-size: .95rem; color: var(--text); }

@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .values { grid-template-columns: 1fr; } }

/* ---------- Koraci ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); counter-reset: step; }
.step { position: relative; text-align: center; padding: 0 8px; }
.step__num {
    display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 20px;
    border: 1px solid var(--gold-500); border-radius: 50%;
    font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; color: var(--gold-500);
}
.step__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--gold-300); margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: .95rem; }
@media (min-width: 821px) {
    .step:not(:last-child)::after {
        content: ""; position: absolute; top: 32px; left: calc(50% + 48px); right: calc(-50% + 48px);
        height: 1px; background: var(--gold-line);
    }
}
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ---------- Blog kartice ---------- */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 28px; }
.post-card {
    display: flex; flex-direction: column; overflow: hidden;
    background: var(--navy-700); border: 1px solid rgba(179, 148, 91, .18); border-radius: var(--radius);
    transition: border-color .3s, transform .3s var(--ease);
}
.section--alt .post-card { background: var(--navy-700); }
.post-card:hover { border-color: var(--gold-line); transform: translateY(-3px); }
.post-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-600); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__placeholder {
    display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
    color: var(--gold-500);
    background:
        radial-gradient(circle at 50% 55%, rgba(179, 148, 91, .18), transparent 55%),
        linear-gradient(135deg, var(--navy-600), var(--navy-900));
}
.post-card__placeholder .icon { width: 48px; height: 48px; opacity: .8; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.post-card__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin-bottom: 10px; }
.post-card__title a { color: #f1ebdf; }
.post-card__title a:hover { color: var(--gold-300); }
.post-card__excerpt { color: var(--text-muted); font-size: .94rem; flex: 1; }

.contact__office, .site-footer__office { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-500); opacity: .85; }
.site-footer__legal { flex-basis: 100%; font-size: .82rem; opacity: .7; }
.contact__line--legal { font-size: .88rem; opacity: .8; }

.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 12px; font-size: .8rem; color: var(--text-muted); letter-spacing: .03em; }
.post-meta > * + *::before { content: "·"; margin-right: 14px; color: var(--gold-500); }
.post-meta__cat { color: var(--gold-500); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 56px; }
.pagination__link {
    display: inline-flex; align-items: center; gap: .4em; min-width: 44px; height: 44px; padding: 0 14px; justify-content: center;
    border: 1px solid var(--gold-line); border-radius: var(--radius); color: var(--text); font-size: .9rem;
}
.pagination__link:hover { border-color: var(--gold-500); color: var(--gold-300); }
.pagination__link.is-current { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); font-weight: 600; }

.empty-state { text-align: center; color: var(--text-muted); padding: 48px 0; }

/* ---------- Page hero (podstranice) ---------- */
.page-hero {
    padding: clamp(48px, 8vw, 88px) 0 clamp(40px, 6vw, 64px);
    background: radial-gradient(ellipse at 50% -20%, rgba(179, 148, 91, .12), transparent 60%), var(--navy-800);
    border-bottom: 1px solid rgba(179, 148, 91, .15);
}
.page-hero--center { text-align: center; }
.page-hero--center .btn { margin-top: 12px; }
.page-hero__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.3rem, 5.5vw, 3.6rem); color: #f1ebdf; margin-bottom: 14px; }
.page-hero__lead { max-width: 640px; color: var(--text-muted); font-size: 1.08rem; margin: 0; }
.page-hero--center .page-hero__lead { margin-inline: auto; }
.page-hero--article .page-hero__title { font-size: clamp(2rem, 5vw, 3.1rem); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .82rem; color: var(--text-muted); margin-bottom: 22px; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--gold-300); }
.breadcrumbs span[aria-hidden] { color: var(--gold-500); }

/* ---------- Članak ---------- */
.article__cover { margin-top: 40px; }
.article__cover img { width: 100%; border-radius: var(--radius); }
.prose { padding: clamp(40px, 6vw, 64px) 0 16px; font-size: 1.06rem; line-height: 1.85; color: #ddd7c9; }
.prose h2 { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: var(--gold-300); margin: 1.8em 0 .6em; }
.prose h3 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: var(--gold-300); margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--gold-500); }
.prose strong { color: #f1ebdf; font-weight: 600; }
.prose blockquote {
    margin: 2em 0; padding: 8px 0 8px 28px; border-left: 2px solid var(--gold-500);
    font-family: var(--font-accent); font-style: italic; font-size: 1.3rem; line-height: 1.6; color: var(--gold-300);
}
.prose img { border-radius: var(--radius); margin: 2em 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.article-cta {
    margin: 40px 0 32px; padding: 32px; text-align: center;
    border: 1px solid var(--gold-line); border-radius: var(--radius); background: var(--navy-800);
}
.article-cta__title { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--gold-300); margin-bottom: 6px; }
.article-cta p:not(.article-cta__title) { color: var(--text-muted); }
.link-arrow--back { margin-bottom: clamp(48px, 7vw, 80px); }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact__info .section-title { margin-bottom: 20px; }
.contact__info > p:not(.eyebrow):not(.contact__line) { color: var(--text-muted); }
.contact__phone {
    display: flex; align-items: center; gap: 18px; margin: 28px 0; padding: 22px 24px;
    border: 1px solid var(--gold-500); border-radius: var(--radius); color: var(--gold-300);
    font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 1.9rem); font-weight: 600; line-height: 1.2;
    transition: background-color .25s;
}
.contact__phone:hover { background: rgba(179, 148, 91, .08); color: var(--gold-300); }
.contact__phone > .icon { width: 36px; height: 36px; color: var(--gold-500); }
.contact__phone small { display: block; font-family: var(--font-body); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.contact__line { display: flex; align-items: center; gap: 12px; color: var(--text); margin-bottom: 14px; }
.contact__line .icon { color: var(--gold-500); }

@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

.contact-form {
    padding: clamp(24px, 4vw, 40px);
    background: var(--navy-800); border: 1px solid rgba(179, 148, 91, .2); border-radius: var(--radius);
}
.section--alt .contact-form { background: var(--navy-700); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.field label { display: block; margin-bottom: 8px; font-size: .85rem; font-weight: 600; letter-spacing: .03em; color: var(--text); }
.field label span { color: var(--gold-500); }
.field input, .field select, .field textarea {
    width: 100%; padding: 13px 14px;
    background: var(--navy-900); color: var(--text);
    border: 1px solid rgba(179, 148, 91, .25); border-radius: var(--radius);
    font: inherit; font-size: 1rem; line-height: 1.4;
    transition: border-color .2s, box-shadow .2s;
}
.field select {
    appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3945b' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(179, 148, 91, .18);
}
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field__error { margin: 6px 0 0; font-size: .82rem; color: var(--danger); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { display: none; margin-bottom: 20px; padding: 14px 16px; border-radius: var(--radius); font-size: .95rem; border: 1px solid; }
.form-status.is-visible { display: block; }
.form-status.is-success { color: var(--success); border-color: rgba(169, 199, 154, .4); background: rgba(169, 199, 154, .08); }
.form-status.is-error { color: var(--danger); border-color: rgba(229, 154, 140, .4); background: rgba(229, 154, 140, .08); }

.contact-form__footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; flex-wrap: wrap; }
.contact-form__note { margin: 0; flex: 1 1 260px; font-size: .8rem; color: var(--text-muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); border-top: 1px solid var(--gold-line); padding-top: clamp(48px, 7vw, 72px); font-size: .93rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.site-footer__brand .logo { margin-bottom: 20px; }
.site-footer__brand p { color: var(--text-muted); max-width: 360px; }
.site-footer__title { font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 18px; }
.site-footer__list { list-style: none; display: grid; gap: 12px; }
.site-footer__list li { display: flex; align-items: center; gap: 10px; color: var(--text-muted); }
.site-footer__list .icon { color: var(--gold-500); }
.site-footer__list a { color: var(--text); }
.site-footer__list a:hover { color: var(--gold-300); }
.site-footer__bottom {
    display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
    padding-block: 22px; border-top: 1px solid rgba(179, 148, 91, .15); font-size: .8rem; color: var(--text-muted);
}
.site-footer__bottom p { margin: 0; }
@media (max-width: 800px) {
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Plutajuće dugme za poziv (mobilni) ---------- */
.call-fab {
    position: fixed; right: 16px; bottom: 16px; z-index: 60;
    display: none; align-items: center; gap: 10px; padding: 14px 20px;
    background: var(--gold-500); color: var(--navy-900); border-radius: 999px;
    font-weight: 600; font-size: .95rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
}
.call-fab:hover { color: var(--navy-900); background: var(--gold-300); }
@media (max-width: 900px) {
    .call-fab { display: inline-flex; }
    /* Dok je meni otvoren, plutajuće dugme se sklanja (meni ima svoja dugmad za poziv) */
    .nav-open .call-fab { display: none; }
    .site-footer { padding-bottom: 72px; }
}

/* ---------- Termini (raspored sahrana) ---------- */
.notice {
    display: flex; gap: 18px; align-items: flex-start; margin-bottom: 36px; padding: 20px 24px;
    border: 1px solid var(--gold-line); border-left: 3px solid var(--gold-500); border-radius: var(--radius);
    background: rgba(179, 148, 91, .06);
}
.notice__icon { color: var(--gold-500); padding-top: 2px; }
.notice__icon .icon { width: 26px; height: 26px; }
.notice__title { margin: 0 0 4px; font-weight: 600; color: var(--gold-300); letter-spacing: .02em; }
.notice__text { margin: 0; font-size: .92rem; color: var(--text-muted); }
.notice__text a { text-decoration: underline; text-underline-offset: 3px; }

.schedule-filters { display: grid; gap: 16px; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px;
    border: 1px solid var(--gold-line); border-radius: 999px;
    color: var(--text); font-size: .92rem; transition: border-color .2s, background-color .2s, color .2s;
}
.chip:hover { border-color: var(--gold-500); color: var(--gold-300); }
.chip.is-active { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); font-weight: 600; }
.chip--day { flex-direction: column; gap: 0; min-width: 104px; padding: 8px 16px; border-radius: var(--radius); line-height: 1.3; text-align: center; }
.chip--day small { font-size: .78rem; opacity: .75; }

.schedule-heading {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 24px;
    font-family: var(--font-display); font-size: clamp(1.7rem, 3.5vw, 2.2rem); font-weight: 600; color: #f1ebdf;
}
.schedule-heading span { font-family: var(--font-body); font-size: 1rem; font-weight: 400; color: var(--text-muted); }

.cemeteries { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(420px, 100%), 1fr)); gap: 24px; align-items: start; }
.cemetery { border: 1px solid rgba(179, 148, 91, .2); border-radius: var(--radius); background: var(--navy-800); overflow: hidden; }
.cemetery__title {
    display: flex; align-items: center; gap: 10px; margin: 0; padding: 16px 20px;
    font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--gold-300);
    border-bottom: 1px solid rgba(179, 148, 91, .2);
}
.cemetery__title .icon { color: var(--gold-500); width: 20px; height: 20px; }
.schedule-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.schedule-table th {
    padding: 10px 20px; text-align: left; font-size: .72rem; font-weight: 600; letter-spacing: .14em;
    text-transform: uppercase; color: var(--text-muted);
}
.schedule-table td { padding: 11px 20px; border-top: 1px solid rgba(179, 148, 91, .1); color: var(--text); }
.schedule-table tbody tr:hover td { background: rgba(179, 148, 91, .05); }
.schedule-table__year { width: 1%; white-space: nowrap; text-align: right !important; color: var(--text-muted) !important; }
.schedule-table__time { width: 1%; white-space: nowrap; text-align: right !important; font-weight: 600; color: var(--gold-300) !important; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) {
    .schedule-table th, .schedule-table td { padding-inline: 14px; }
    .cemetery__title { padding-inline: 14px; }
}
.schedule-meta { margin: 28px 0 0; font-size: .85rem; color: var(--text-muted); }

/* Pretraga preminulih */
.deceased-search { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; margin-bottom: 28px; }
.deceased-search__field { display: grid; gap: 8px; flex: 1 1 280px; }
.deceased-search__field label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gold-300); }
.deceased-search__field label .icon { color: var(--gold-500); }
.deceased-search input {
    width: 100%; padding: 13px 14px;
    background: var(--navy-900); color: var(--text);
    border: 1px solid rgba(179, 148, 91, .25); border-radius: var(--radius);
    font: inherit; font-size: 1rem; line-height: 1.4;
}
.deceased-search input::placeholder { color: var(--text-muted); }
.deceased-search input:focus {
    outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(179, 148, 91, .18);
}
.deceased-search__hint { flex: 1 1 100%; margin: 0; font-size: .85rem; color: var(--text-muted); }
.deceased-results {
    border: 1px solid rgba(179, 148, 91, .2); border-radius: var(--radius);
    background: var(--navy-800); overflow-x: auto;
}
.deceased-table { min-width: 620px; }

/* ---------- Zajedničko ---------- */
.topbar__group { display: inline-flex; align-items: center; gap: 22px; }
@media (max-width: 760px) { .topbar__extra { display: none; } }
@media (max-width: 560px) { .topbar__group { display: none; } }

.section-more { margin: 36px 0 0; text-align: center; }
.section-note { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 32px 0 0; color: var(--gold-300); text-align: center; }
.section-note .icon { color: var(--gold-500); }

/* Viber / WhatsApp */
.messengers { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.messenger {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
    border: 1px solid var(--gold-line); border-radius: var(--radius);
    color: var(--text); font-weight: 600; font-size: .92rem; transition: border-color .2s, background-color .2s, color .2s;
}
.messenger .icon { width: 20px; height: 20px; }
.messenger--viber .icon { color: #9d8cf5; }
.messenger--whatsapp .icon { color: #4fd684; }
.messenger--viber:hover { border-color: #7360f2; background: rgba(115, 96, 242, .12); color: #fff; }
.messenger--whatsapp:hover { border-color: #25d366; background: rgba(37, 211, 102, .1); color: #fff; }
.messenger--sm { padding: 6px 10px; font-size: .82rem; }
.messenger--sm .icon { width: 16px; height: 16px; }
.site-footer__messengers { flex-wrap: wrap; gap: 8px !important; }
.site-footer__social { gap: 10px !important; }
.site-footer__social a {
    display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
    border: 1px solid var(--gold-line); border-radius: 50%; color: var(--gold-300);
    transition: border-color .2s, background-color .2s, color .2s;
}
.site-footer__social a:hover { border-color: var(--gold-500); background: rgba(179, 148, 91, .12); }

/* Statistika (50+ godina, 3. generacija, 00-24) */
.stats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat {
    display: flex; flex-direction: column; gap: 8px; padding: 26px 20px; text-align: center;
    border: 1px solid var(--gold-line); border-radius: var(--radius); background: rgba(27, 37, 55, .6);
}
.stat__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 4vw, 2.8rem); line-height: 1; color: var(--gold-500); }
.stat__label { font-size: .88rem; color: var(--text-muted); }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }
.about__text .link-arrow { margin-top: 8px; }

/* O nama */
.about-page { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: clamp(36px, 6vw, 72px); align-items: start; }
.about-page__text p:not(.eyebrow) { color: var(--text-muted); }
.about-page__text .section-title { margin-bottom: 22px; }
.about-page__text .stats { margin-top: 32px; }
.owner { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.owner__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--gold-line); }
.owner__photo--placeholder {
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at 50% 40%, rgba(179, 148, 91, .16), transparent 60%), linear-gradient(160deg, var(--navy-600), var(--navy-900));
}
.owner__photo--placeholder span { font-family: var(--font-display); font-size: 8rem; font-weight: 600; color: var(--gold-500); opacity: .5; }
.owner__caption { margin-top: 12px; font-family: var(--font-accent); font-style: italic; color: var(--gold-300); text-align: center; font-size: .95rem; }
.values--row { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
    .about-page { grid-template-columns: 1fr; }
    .owner { position: static; max-width: 360px; margin-inline: auto; }
    .values--row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .values--row { grid-template-columns: 1fr; } }

/* Kontakt traka (početna i podstranice) */
.contact-band__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px 64px; align-items: center; }
.contact-band__text { color: var(--text-muted); margin: 16px 0 0; }
.contact-band__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.contact-band__actions .messengers { margin: 0; }
@media (max-width: 800px) { .contact-band__inner { grid-template-columns: 1fr; } }
.contact__form-title { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; color: #f1ebdf; margin-bottom: 18px; }

/* Česta pitanja */
.faq { display: grid; gap: 12px; }
.faq__item { border: 1px solid rgba(179, 148, 91, .22); border-radius: var(--radius); background: var(--navy-800); transition: border-color .2s; }
.section--alt .faq__item { background: var(--navy-700); }
.faq__item[open] { border-color: var(--gold-line); }
.faq__question {
    display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px;
    cursor: pointer; list-style: none; font-weight: 600; color: #f1ebdf;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question:hover { color: var(--gold-300); }
.faq__chevron { color: var(--gold-500); transition: transform .25s var(--ease); }
.faq__item[open] .faq__chevron { transform: rotate(180deg); }
.faq__answer { padding: 0 22px 20px; color: var(--text-muted); }
.faq__answer p { margin: 0; }

/* Galerija */
.gallery-nav { margin-bottom: 40px; }
.gallery-section + .gallery-section { margin-top: clamp(48px, 7vw, 72px); }
.gallery-section__head { margin-bottom: 22px; }
.gallery-section__title { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.3rem); font-weight: 600; color: #f1ebdf; }
.gallery-section__head p { margin: 6px 0 0; color: var(--text-muted); }
/* Fotografije stoje u redovima ujednačene visine, svaka u svom prirodnom obliku */
.gallery-grid { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; }
.gallery-grid > li { flex: 0 1 auto; }
.gallery-grid .gallery-grid__item { height: 360px; }
.gallery-grid .gallery-grid__item img { width: auto; height: 100%; }
@media (max-width: 700px) {
    .gallery-grid > li { flex: 1 1 100%; }
    .gallery-grid .gallery-grid__item { height: auto; }
    .gallery-grid .gallery-grid__item img { width: 100%; height: auto; }
}
.gallery-grid__item { display: block; overflow: hidden; border-radius: var(--radius); border: 1px solid rgba(179, 148, 91, .2); background: var(--navy-800); transition: border-color .3s; }
.gallery-grid__item:hover { border-color: var(--gold-line); }
.gallery-grid__item img { display: block; width: 100%; height: auto; }
/* Grupa fotografija (jedno vozilo): velika bočna slika + manji uglovi ispod */
.gallery-group + .gallery-group { margin-top: clamp(36px, 5vw, 56px); }
.gallery-group__title {
    display: flex; align-items: center; gap: 14px; margin: 0 0 18px;
    font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 1.9rem); font-weight: 600; color: var(--gold-300);
}
.gallery-group__title::after { content: ""; flex: 1; height: 1px; background: var(--gold-line); }
.gallery-wide { list-style: none; display: grid; gap: 14px; margin: 0 0 14px; }
.gallery-wide__item { display: block; overflow: hidden; border-radius: var(--radius); border: 1px solid rgba(179, 148, 91, .2); }
.gallery-wide__item { transition: border-color .3s; }
.gallery-wide__item:hover { border-color: var(--gold-line); }
.gallery-wide__item img { width: 100%; height: auto; display: block; }
.gallery-grid--thumbs .gallery-grid__item { height: 300px; }

/* Katalog (oprema): jednake pločice u pravilnoj mreži, cela slika u svakoj */
.gallery-grid--catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(310px, 100%), 1fr)); gap: 16px; }
.gallery-grid--catalog > li { flex: none; }
.gallery-grid--catalog .gallery-grid__item { height: auto; }
.gallery-grid--catalog .gallery-grid__item img {
    width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: var(--navy-900);
}
.gallery-grid__item--labeled { display: flex; flex-direction: column; }
.gallery-grid__caption {
    padding: 9px 12px; text-align: center; font-size: .86rem; font-weight: 600; letter-spacing: .04em;
    color: var(--gold-300); background: var(--navy-900); border-top: 1px solid rgba(179, 148, 91, .18);
}
@media (max-width: 700px) {
    .gallery-grid .gallery-grid__item--labeled img { width: 100%; height: auto; }
}

.gallery-empty {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 48px 20px;
    border: 1px dashed var(--gold-line); border-radius: var(--radius); color: var(--text-muted); text-align: center;
}
.gallery-empty .icon { width: 40px; height: 40px; color: var(--gold-500); opacity: .7; }
.gallery-empty p { margin: 0; }
.lightbox { max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: rgba(10, 14, 22, .94); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(10, 14, 22, .94); }
/* Uvećan prikaz: velika slika, ali ne preko rezolucije originala */
.lightbox__img { width: min(92vw, 1200px); height: auto; max-height: 88vh; object-fit: contain; border-radius: var(--radius); }
.lightbox__btn {
    position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    border: 1px solid var(--gold-line); border-radius: 50%; background: rgba(19, 26, 40, .8); color: var(--gold-300); cursor: pointer;
}
.lightbox__btn:hover { border-color: var(--gold-500); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Izbor grada */
.city-select { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.city-select label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gold-300); }
.city-select label .icon { color: var(--gold-500); }
.city-select__control { position: relative; }
.city-select select {
    appearance: none; -webkit-appearance: none; min-width: 220px; padding: 12px 44px 12px 16px;
    background: var(--navy-900); color: var(--text); font: 600 1rem var(--font-body);
    border: 1px solid var(--gold-500); border-radius: var(--radius); cursor: pointer;
}
.city-select select:focus { outline: none; box-shadow: 0 0 0 3px rgba(179, 148, 91, .25); }
.city-select__chevron { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--gold-500); pointer-events: none; }

/* Footer – stranice u dve kolone */
.site-footer__list--cols { grid-template-columns: 1fr 1fr; column-gap: 20px; }

/* ---------- Podmeni (Galerija) ---------- */
.has-submenu { position: relative; display: flex; align-items: center; }
.submenu-toggle {
    display: inline-flex; align-items: center; margin-left: -10px; padding: 6px 4px;
    background: none; border: 0; color: var(--text-muted); cursor: pointer;
}
.submenu-toggle .icon { width: 14px; height: 14px; transition: transform .2s; }
.has-submenu:hover .submenu-toggle .icon, .has-submenu.is-open .submenu-toggle .icon { transform: rotate(180deg); color: var(--gold-400); }
.submenu {
    position: absolute; top: 100%; left: 0; z-index: 60; min-width: 230px; margin: 0; padding: 6px;
    list-style: none; background: var(--navy-800); border: 1px solid var(--gold-line); border-radius: var(--radius);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.has-submenu:hover .submenu, .has-submenu:focus-within .submenu, .has-submenu.is-open .submenu { opacity: 1; visibility: visible; transform: none; }
.site-nav__list .submenu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 3px; font-size: .92rem; }
.site-nav__list .submenu a::after { display: none; }
.site-nav__list .submenu a:hover { background: var(--navy-600); }
.submenu .icon { width: 18px; height: 18px; color: var(--gold-500); }

/* ---------- Kontakt dugmad u zaglavlju: poziv + Viber + WhatsApp ---------- */
.header-contact { display: flex; align-items: center; gap: 6px; }
.header-contact__icon {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: 36px; height: 36px; border: 1px solid var(--gold-line); border-radius: var(--radius);
    color: var(--text); transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.header-contact__icon .icon { width: 19px; height: 19px; }
.header-contact__icon--viber .icon { color: #9d8cf5; }
.header-contact__icon--whatsapp .icon { color: #4fd684; }
.header-contact__icon--viber:hover { background: #7360f2; border-color: #7360f2; }
.header-contact__icon--whatsapp:hover { background: #25d366; border-color: #25d366; }
.header-contact__icon:hover .icon { color: #fff; }
.header-contact__icon:hover { transform: translateY(-1px); }
.header-contact__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 1180px) {
    .has-submenu { flex-wrap: wrap; }
    .has-submenu > a { flex: 1; }
    /* Podmeni se na mobilnom otvara klikom na strelicu */
    .has-submenu { align-items: stretch; border-bottom: 1px solid rgba(179, 148, 91, .12); }
    .site-nav__list .has-submenu > a { border-bottom: 0; }
    .submenu-toggle { justify-content: center; width: 48px; margin: 0; padding: 0; color: var(--gold-400); }
    .submenu-toggle .icon { width: 20px; height: 20px; }
    .has-submenu:hover .submenu-toggle .icon { transform: none; }
    .has-submenu.is-open .submenu-toggle .icon { transform: rotate(180deg); }
    .submenu {
        display: none; position: static; width: 100%; min-width: 0; padding: 0 0 6px 14px; border: 0; box-shadow: none; background: none;
        opacity: 1; visibility: visible; transform: none;
    }
    .has-submenu.is-open .submenu { display: block; }
    .site-nav__list .submenu a { padding: 10px 0; font-size: .98rem; border-bottom: 1px solid rgba(179, 148, 91, .08); }
    .site-nav__list .submenu li:last-child a { border-bottom: 0; }
    .site-nav__list .submenu a:hover { background: none; }

    .header-contact { flex-wrap: wrap; gap: 10px; }
    .header-contact__call { flex: 1 1 100%; justify-content: center; padding: .85em 1em; font-size: .95rem; }
    .header-contact__icon { flex: 1; width: auto; height: 44px; font-weight: 600; font-size: .92rem; }
    .header-contact__label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

/* ---------- Galerija: kartice kategorija ---------- */
.gallery-cards { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery-card {
    display: flex; flex-direction: column; height: 100%; overflow: hidden;
    border: 1px solid rgba(179, 148, 91, .2); border-radius: var(--radius); background: var(--navy-800);
    color: var(--text); transition: border-color .3s, transform .3s var(--ease);
}
.gallery-card:hover { border-color: var(--gold-line); transform: translateY(-3px); color: var(--text); }
.gallery-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-900); }
.gallery-card__media img { width: 100%; height: 100%; object-fit: contain; }
.gallery-card__placeholder {
    display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--gold-500);
    background: radial-gradient(circle at 50% 55%, rgba(179, 148, 91, .18), transparent 55%), linear-gradient(135deg, var(--navy-600), var(--navy-900));
}
.gallery-card__placeholder .icon { width: 56px; height: 56px; opacity: .8; }
.gallery-card__media { position: relative; }
.gallery-card__badge {
    position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
    padding: 5px 14px; border: 1px solid var(--gold-line); border-radius: 999px;
    background: rgba(19, 26, 40, .75); color: var(--gold-300);
    font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.gallery-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 22px 24px 24px; }
.gallery-card__title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: #f1ebdf; line-height: 1.2; }
.gallery-card__text { flex: 1; color: var(--text-muted); font-size: .93rem; }
.gallery-card .link-arrow { color: var(--gold-400); }
@media (max-width: 900px) { .gallery-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gallery-cards { grid-template-columns: 1fr; } }
.gallery-nav .chip .icon { width: 17px; height: 17px; }

/* ---------- Usluge: kartice kao linkovi + stranica usluge ---------- */
.service { padding: 0; }
.service__link { display: flex; flex-direction: column; height: 100%; padding: 34px 30px; color: inherit; }
.service__link:hover { color: inherit; }
.service__text { flex: 1; }
.service__more {
    display: inline-flex; align-items: center; gap: .5em; margin-top: 18px;
    font-size: .88rem; font-weight: 600; color: var(--gold-400);
}
.service__more .icon { transition: transform .25s var(--ease); }
.service__link:hover .service__more .icon { transform: translateX(4px); }
.service__link:hover .service__title { color: var(--gold-300); }
.services--compact {
    grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 16px; background: none; border: 0;
}
.services--compact .service { border: 1px solid rgba(179, 148, 91, .22); border-radius: var(--radius); background: var(--navy-700); }
.services--compact .service:hover { border-color: var(--gold-line); }
.services--compact .service__link { padding: 24px 24px; }
.services--compact .service__title { font-size: 1.25rem; }
.services--compact .service__icon { width: 44px; height: 44px; margin-bottom: 14px; }
.services--compact .service__more { margin-top: auto; padding-top: 12px; }

.service-hero { display: flex; align-items: flex-start; gap: 24px; }
.service-hero__icon {
    flex: none; display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin-top: 6px;
    border: 1px solid var(--gold-500); border-radius: 50%; color: var(--gold-500);
}
.service-hero__icon .icon { width: 32px; height: 32px; }
@media (max-width: 600px) { .service-hero { flex-direction: column; gap: 16px; } .service-hero__icon { width: 56px; height: 56px; } }

.service-detail { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.prose--flush { padding: 0; }
.service-detail__subtitle { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--gold-300); margin: 36px 0 16px; }
.checklist { list-style: none; display: grid; gap: 12px; margin: 0 0 32px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; color: var(--text); }
.checklist .icon { flex: none; margin-top: 3px; width: 20px; height: 20px; color: var(--gold-500); }
.service-detail__note {
    display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; margin: 0 0 28px;
    border-left: 2px solid var(--gold-500); background: rgba(179, 148, 91, .06); color: var(--text-muted); font-size: .95rem;
}
.service-detail__note .icon { flex: none; margin-top: 2px; color: var(--gold-500); }
.service-detail__content .link-arrow { margin-bottom: 8px; }
.service-aside {
    position: sticky; top: calc(var(--header-h) + 24px);
    padding: 28px; border: 1px solid var(--gold-line); border-radius: var(--radius); background: var(--navy-800);
}
.service-aside__title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--gold-300); margin-bottom: 8px; }
.service-aside__text { color: var(--text-muted); font-size: .94rem; }
.service-aside__call { width: 100%; margin-bottom: 12px; }
.service-aside .messengers { margin-bottom: 18px; }
.service-aside .messenger { flex: 1; justify-content: center; }
@media (max-width: 900px) {
    .service-detail { grid-template-columns: 1fr; }
    .service-aside { position: static; }
}

/* Otvoren mobilni meni: stranica ispod se ne skroluje */
@media (max-width: 1180px) { body.nav-open { overflow: hidden; } }

/* ---------- Cvećara sa kojom sarađujemo ---------- */
.partner {
    display: flex; gap: 18px; align-items: flex-start; margin: 0 0 28px; padding: 22px 24px;
    border: 1px solid var(--gold-line); border-radius: var(--radius); background: rgba(179, 148, 91, .06);
}
.partner__icon { flex: none; color: var(--gold-500); padding-top: 2px; }
.partner__icon .icon { width: 26px; height: 26px; }
.partner__title { margin: 0 0 6px; font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: var(--gold-300); }
.partner__text { margin: 0 0 10px; color: var(--text-muted); font-size: .95rem; }
.partner__text a { text-decoration: underline; text-underline-offset: 3px; }
.partner__link { margin: 0; }
.gallery-credit { margin: 18px 0 0; font-size: .88rem; color: var(--text-muted); }
.gallery-credit span { display: block; margin-top: 2px; font-size: .82rem; opacity: .85; }
.gallery-credit a { text-decoration: underline; text-underline-offset: 3px; }

.error-code { font-family: var(--font-display); font-size: clamp(4rem, 12vw, 7rem); font-weight: 600; line-height: 1; color: var(--gold-500); opacity: .5; margin: 0 0 8px; }
.page-hero--center .chips { justify-content: center; }

/* ---------- Animacije ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}
