:root {
    --cream: #FAF3E6;
    --sand: #B08A4F;
    --hero-light: #F3ECE0;
    --cream-2: #F2E6D0;
    --paper: #FFFCF5;
    --ink: #2A1D12;
    --ink-soft: #5A4A3A;
    --red: #E11F17;
    --red-deep: #B5160F;
    --yellow: #F7BE1E;
    --green: #74B22B;
    --orange: #EF7D14;
    --blue: #2BA6DD;
    --brown: #6E3A1C;
    --line: #E7D9BF;
    --shadow: 18px 22px 0 rgba(42, 29, 18, .08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Hanken Grotesk', sans-serif;
    background: var(--cream);
    /* background-color: white; */
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

@supports (overflow: clip) {
    body {
        overflow-x: clip
    }
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: .05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.category-page {
    min-height: 100vh;
    padding: 100px 0 80px;
    background: var(--paper);
}

.category-page .breadcrumb {
    display: inline-flex;
    gap: 0.3rem;
    color: var(--ink-soft);
    font-size: 0.95rem;
    margin-bottom: 24px;
    text-transform: lowercase;
}

.category-page .breadcrumb::before {
    content: "Putanja:";
    font-weight: 700;
    margin-right: 0.8rem;
    color: var(--ink);
}

.category-page .category-body {
    max-width: 900px;
}

.category-page .category-links {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.category-page .category-links .btn {
    text-transform: uppercase;
    font-size: 0.92rem;
}

.page-contact {
    padding: 70px 0 80px;
    background: #fff;
}

.page-contact .contact-cta {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.page-contact .contact-cta .btn {
    min-width: 170px;
}

.category-page .subcat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.category-page .category-card {
    padding: 20px;
    border: 1px solid #d3d0ce;
    background: var(--paper);
    border-radius: 6px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.category-page .category-card:hover {
    transform: translateY(-4px);
    box-shadow: 5px 6px 0 rgba(42, 29, 18, .08);
}

.category-page .category-card .tag {
    margin-bottom: 10px;
}

h1,
h2,
h3,
h4 {
    font-family: 'Fraunces', serif;
    line-height: 1.04;
    font-weight: 600;
    letter-spacing: -.01em
}

a {
    color: inherit;
    text-decoration: none
}

.wrap {
    max-width: 1440px; 
    /* ovde su napravljene izmene za margine */
    margin: 0 auto;
    padding: 0 26px
}

.accent {
    color: var(--red)
}

.serif-i {
    font-style: italic;
    font-weight: 500
}

/* ---- topbar ---- */
.topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 101;
    background: transparent;
    color: rgba(237,230,218,.85);
    font-size: .76rem;
    font-weight: 500;
    letter-spacing: .06em;
    padding: 9px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    transition: opacity .35s, transform .35s;
    pointer-events: auto
}

.topbar a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    opacity: .88;
    transition: opacity .2s, color .2s
}

.topbar a:hover {
    opacity: 1;
    color: var(--sand)
}

.topbar .sep {
    opacity: .3
}

.topbar svg {
    width: 14px;
    height: 14px
}

body.scrolled-top .topbar {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-100%)
}

/* ---- nav ---- */
header.nav {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: background .35s, border-color .35s, top .35s
}

header.nav.scrolled {
    top: 0;
    background: rgba(251,247,240,.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(176,138,79,.26)
}

.nav-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px
}

.brand {
    position: relative;
    display: flex;
    align-items: center
}

.brand img {
    height: 50px;
    width: auto;
    display: block;
    transition: opacity .35s, height .35s
}

.logo-dark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    opacity: 0;
    pointer-events: none
}

header.nav.scrolled .logo-white {
    opacity: 0;
    pointer-events: none
}

header.nav.scrolled .logo-dark {
    opacity: 1;
    pointer-events: auto
}

header.nav.scrolled .brand img {
    height: 50px
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    font-weight: 500;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .06em
}

.nav-item {
    position: relative
}

.nav-links a,
.nav-links .nav-parent {
    position: relative;
    padding: 4px 0;
    color: rgba(237,230,218,.9);
    transition: color .35s;
    background: none;
    border: 0;
    font: inherit;
    cursor: pointer
}

.nav-links a::after,
.nav-links .nav-parent::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1.5px;
    background: var(--sand);
    transition: width .28s
}

.nav-links a:hover,
.nav-links .nav-parent:hover {
    color: #fff
}

.nav-links a:hover::after,
.nav-links .nav-parent:hover::after {
    width: 100%
}

header.nav.scrolled .nav-links a,
header.nav.scrolled .nav-links .nav-parent {
    color: var(--ink)
}

header.nav.scrolled .nav-links a:hover,
header.nav.scrolled .nav-links .nav-parent:hover {
    color: var(--sand)
}

.nav-item .submenu {
    position: absolute;
    top: calc(100% + 12px);
    left: -16px;
    min-width: 240px;
    padding: 12px;
    display: grid;
    gap: 10px;
    background: rgba(251,247,240,.98);
    border: 1px solid rgba(176,138,79,.18);
    border-radius: 12px;
    box-shadow: 0 16px 38px rgba(42,29,18,.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease
}

.nav-item:hover .submenu,
.nav-item:focus-within .submenu,
.nav-item.open .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.nav-item .submenu-group {
    display: grid;
    gap: 4px
}

.nav-item .submenu-title {
    color: var(--ink);
    padding: 6px 8px;
    font-size: .86rem;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 700;
    white-space: nowrap
}

.nav-item .submenu-sub {
    display: grid;
    gap: 2px;
    padding-left: 8px
}

.nav-item .submenu a {
    color: var(--ink);
    padding: 4px 8px;
    font-size: .82rem;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
    white-space: nowrap
}

.nav-item .submenu a::after {
    display: none
}

.nav-item .submenu a:hover {
    color: var(--sand)
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1.5px;
    background: var(--sand);
    transition: width .28s
}

.nav-links a:hover {
    color: #fff
}

.nav-links a:hover::after {
    width: 100%
}

header.nav.scrolled .nav-links a {
    color: var(--ink)
}

header.nav.scrolled .nav-links a:hover {
    color: var(--sand)
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: #fff;
    font-weight: 700;
    padding: 13px 22px;
    border-radius: 5px;
    font-size: .95rem;
    border: 1px solid var(--red);
    cursor: pointer;
    transition: transform .15s, background .2s, box-shadow .2s;
    font-family: 'Hanken Grotesk', sans-serif
}

.btn:hover {
    background: var(--red-deep);
    border-color: var(--red-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 0 rgba(181, 22, 15, .25)
}

.btn.ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink)
}

.btn.ghost:hover {
    background: var(--ink);
    color: var(--cream);
    box-shadow: 0 8px 0 rgba(42, 29, 18, .18)
}

.btn.inmenu {
    display: none
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px
}

.burger span {
    width: 26px;
    height: 2px;
    background: var(--hero-light);
    border-radius: 1px;
    transition: background .35s, transform .3s, opacity .3s
}

header.nav.scrolled .burger span {
    background: var(--ink)
}

/* nav CTA — ghost u transparentnom stanju */
header.nav:not(.scrolled) .btn.desk {
    background: transparent;
    color: var(--hero-light);
    border-color: rgba(243,236,224,.45);
    box-shadow: none
}

header.nav:not(.scrolled) .btn.desk:hover {
    background: var(--sand);
    color: var(--ink);
    border-color: var(--sand);
    transform: none;
    box-shadow: none
}

header.nav:not(.scrolled) .btn.desk:focus-visible {
    outline: 2px solid var(--sand);
    outline-offset: 3px
}

/* ---- hero ---- */
.hero {
    position: relative;
    padding: 0;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    overflow: hidden
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% 50%;
    display: block;
    animation: heroZoom 18s ease-out forwards
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(100deg, rgba(21,16,11,.92) 0%, rgba(21,16,11,.62) 38%, rgba(21,16,11,.12) 68%, transparent 100%),
        linear-gradient(180deg, rgba(21,16,11,.45) 0%, rgba(21,16,11,.1) 30%, rgba(21,16,11,.6) 75%, rgba(21,16,11,.96) 100%)
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 200px;
    padding-bottom: 72px;
    display: flex;
    flex-direction: column;
    gap: 40px
}

.hero-text {
    max-width: 44rem
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .78rem;
    color: var(--red);
    margin-bottom: 22px
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--red)
}

.hero h1 {
    font-size: clamp(2.8rem, 7vw, 6rem);
    font-weight: 300;
    line-height: 1.02;
    letter-spacing: -.02em;
    color: var(--hero-light);
    text-shadow: 0 2px 24px rgba(21,16,11,.35);
    margin-bottom: 22px
}

.hero h1 .serif-i {
    color: #D9B87E;
    font-style: italic;
    font-weight: 300
}

.hero .eyebrow {
    color: var(--sand);
    margin-bottom: 28px
}

.hero .eyebrow::before {
    background: var(--sand)
}

.hero p.lead {
    font-size: 1.1rem;
    color: rgba(243,236,224,.78);
    max-width: 32rem;
    margin-bottom: 34px;
    text-shadow: 0 1px 10px rgba(21,16,11,.3);
    line-height: 1.65
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center
}

.hero .btn {
    background: var(--sand);
    color: var(--ink);
    border: 1.5px solid var(--sand);
    text-transform: uppercase;
    letter-spacing: .08em;
    border-radius: 2px;
    padding: 15px 30px;
    font-size: .85rem;
    font-weight: 700;
    box-shadow: none
}

.hero .btn:hover {
    background: transparent;
    color: var(--sand);
    border-color: var(--sand);
    transform: translateY(-2px);
    box-shadow: none
}

.hero .btn.ghost {
    background: transparent;
    color: var(--hero-light);
    border: 1.5px solid rgba(243,236,224,.4);
    box-shadow: none
}

.hero .btn.ghost:hover {
    color: var(--sand);
    border-color: var(--sand);
    background: transparent;
    transform: translateY(-2px);
    box-shadow: none
}

.hero .btn:focus-visible,
.hero .btn.ghost:focus-visible {
    outline: 2px solid var(--sand);
    outline-offset: 4px
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap
}

.hero-stats .stat b {
    display: block;
    font-family: 'Fraunces', serif;
    font-weight: 300;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--hero-light);
    letter-spacing: -.01em
}

.hero-stats .stat span {
    font-size: .76rem;
    color: rgba(243,236,224,.55);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 600;
    margin-top: 5px;
    display: block
}

.hero-stats .div {
    width: 1px;
    height: 36px;
    background: rgba(243,236,224,.22);
    flex-shrink: 0
}

.hero-scroll {
    position: absolute;
    right: 40px;
    bottom: 52px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: opacity .2s
}

.hero-scroll:hover {
    opacity: .7
}

.hero-scroll:focus-visible {
    outline: 2px solid var(--sand);
    outline-offset: 6px;
    border-radius: 2px
}

.scroll-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: .68rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(243,236,224,.52);
    font-weight: 600
}

.scroll-line {
    width: 1px;
    height: 54px;
    background: rgba(243,236,224,.2);
    position: relative;
    overflow: hidden
}

.scroll-line::after {
    content: "";
    position: absolute;
    top: -60%;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--sand);
    animation: scrollSlide 2s ease-in-out infinite
}

@keyframes heroZoom {
    from { transform: scale(1.06) }
    to { transform: scale(1) }
}

@keyframes scrollSlide {
    0% { top: -60% }
    100% { top: 130% }
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg img { animation: none }
    .scroll-line::after { animation: none }
    header.nav,
    .topbar,
    .brand img,
    .nav-links a,
    .burger span { transition: none }
}

/* ---- marquee ---- */
.marquee {
    background: var(--ink);
    color: var(--cream);
    padding: 16px 0;
    overflow: hidden;
    white-space: nowrap
}

.marquee-track {
    display: inline-block;
    animation: scroll 38s linear infinite
}

.marquee-track span {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 1.25rem;
    margin: 0 22px;
    opacity: .92
}

.marquee-track .star {
    color: var(--yellow);
    font-style: normal
}

@keyframes scroll {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

/* ---- section base ---- */
section {
    padding: 88px 0
}

.sec-head {
    max-width: 46rem;
    margin-bottom: 50px
}

.sec-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center
}

.sec-head.center .eyebrow {
    margin-left: auto;
    margin-right: auto
}

.sec-head .eyebrow {
    margin-bottom: 14px
}

.sec-head h2 {
    font-size: clamp(2rem, 4.4vw, 3.1rem)
}

.sec-head p {
    color: var(--ink-soft);
    font-size: 1.08rem;
    margin-top: 14px
}

/* ---- products grid ---- */
.prod-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px
}

.prod-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.prod-grid.cols-5 {
    grid-template-columns: repeat(5, 1fr);
    gap: 18px
}

.popular-products .prod-grid {
    gap: 22px;
}

.popular-products .card .ill.has-photo {
    height: 260px;
    margin: -22px -22px 16px;
    border-radius: 5px 5px 0 0;
}

.popular-products .card h3 {
    margin-top: 4px;
}

.top-card {
    position: relative;
}

.top-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    z-index: 1;
}

.top-card.top-1 .top-badge {
    background: var(--red);
}

.top-card.top-2 .top-badge {
    background: var(--orange);
}

.top-card.top-3 .top-badge {
    background: var(--green);
}

.top-card.top-4 .top-badge {
    background: var(--blue);
}

.card .tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 94px;
    padding: 6px 12px;
}

.card {
    background: var(--paper);
    /* border: 1px solid var(--ink); */
    border: 1px solid #d3d0ce;

    border-radius: 5px;
    padding: 22px;
    transition: transform .2s, box-shadow .2s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 7px 7px 0 rgba(42, 29, 18, .10);
}

.card .ill {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px
}

.card .ill svg {
    height: 100%;
    width: auto
}

.card .ill img {
    height: 100%;
    width: auto;
    object-fit: contain
}

.card .tag {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
    align-self: flex-start
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
    line-height: 1.15
}

.card p {
    color: var(--ink-soft);
    font-size: .92rem;
    margin-top: 2px
}

.card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
    color: #fff;
    /* border-color: var(--ink) */
}

.card.featured .ill {
    height: 170px
}

.card.featured h3 {
    font-size: 1.7rem;
    font-family: 'Fraunces', serif
}

.card.featured p {
    color: rgba(255, 255, 255, .85);
    font-size: 1rem
}

.card.featured .tag {
    background: rgba(255, 255, 255, .18);
    color: #fff
}

.t-yellow {
    background: rgba(247, 190, 30, .22);
    color: #9a7000
}

.t-green {
    background: rgba(116, 178, 43, .2);
    color: #4d7a14
}

.t-red {
    background: rgba(225, 31, 23, .14);
    color: var(--red-deep)
}

.t-blue {
    background: rgba(43, 166, 221, .18);
    color: #1a6f96
}

.t-orange {
    background: rgba(239, 125, 20, .2);
    color: #b85a08
}

.t-brown {
    background: rgba(110, 58, 28, .16);
    color: var(--brown)
}

.t-ink {
    background: rgba(42, 29, 18, .1);
    color: var(--ink)
}

/* ---- horeca section ---- */
.horeca {
    background: linear-gradient(180deg, var(--cream-2) 0%, #EDDCC0 100%);
    position: relative
}

.horeca::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--red), var(--yellow), var(--green), var(--blue), var(--orange))
}

.horeca .card:not(.featured) {
    background: #FFFEFB
}

/* ---- services section ---- */
.services {
    background: var(--ink);
    color: var(--cream)
}

.services .eyebrow {
    color: var(--yellow)
}

.services .eyebrow::before {
    background: var(--yellow)
}

.services .sec-head p {
    color: rgba(250, 243, 230, .7)
}

.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px
}

.svc-card {
    border: 1px solid rgba(250, 243, 230, .18);
    border-radius: 5px;
    padding: 30px;
    transition: border-color .2s, transform .2s;
    position: relative;
    overflow: hidden
}

.svc-card:hover {
    border-color: var(--yellow);
    transform: translateY(-4px)
}

.svc-card .num {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 1rem;
    color: var(--yellow);
    margin-bottom: 24px
}

.svc-card .ic {
    font-size: 2.4rem;
    margin-bottom: 18px;
    line-height: 1
}

.svc-card h3 {
    font-size: 1.45rem;
    margin-bottom: 10px;
    color: var(--cream)
}

.svc-card p {
    color: rgba(250, 243, 230, .72);
    font-size: .97rem
}

.svc-card .more {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--yellow);
    font-weight: 700;
    font-size: .9rem
}

/* ---- about ---- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center
}

.about-text h2 {
    font-size: clamp(2rem, 4.4vw, 3rem);
    margin-bottom: 22px
}

.about-text p {
    color: var(--ink-soft);
    font-size: 1.06rem;
    margin-bottom: 16px
}

.about-list {
    margin-top: 22px;
    display: grid;
    gap: 12px
}

.about-list li {
    list-style: none;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-weight: 600
}

.about-list .ck {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    margin-top: 2px
}

.about-visual {
    position: relative
}

.about-card {
    background: var(--paper);
    /* border: 1px solid var(--ink); */
    border: 1px solid #d3d0ce;
    border-radius: 6px;
    padding: 34px;
    box-shadow: var(--shadow);
    text-align: center
}

.about-card img {
    width: 78%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(8px 10px 0 rgba(42, 29, 18, .1))
}

.about-card .quote {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 1.22rem;
    margin-top: 22px;
    line-height: 1.35
}

.about-card .sign {
    font-weight: 700;
    color: var(--red);
    margin-top: 14px;
    font-size: .95rem
}

.swatch-row {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 20px
}

.swatch-row i {
    width: 34px;
    height: 20px;
    border-radius: 3px;
    border: 1px solid var(--ink);
    display: block
}

.badge-25 {
    position: absolute;
    top: -18px;
    right: -12px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--ink);
    transform: rotate(-8deg);
    font-family: 'Fraunces', serif;
    line-height: .95;
    box-shadow: 6px 8px 0 rgba(42, 29, 18, .15)
}

.badge-25 b {
    font-size: 2.6rem;
    font-weight: 900;
    display: block
}

.badge-25 span {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 700;
    margin-top: 4px;
    font-family: 'Hanken Grotesk', sans-serif
}

/* ---- process ---- */
.process {
    background: var(--cream-2)
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    counter-reset: step
}

.step {
    position: relative;
    padding-top: 14px
}

.step .num {
    font-family: 'Fraunces', serif;
    font-weight: 900;
    font-size: 3.4rem;
    line-height: 1;
    color: var(--red);
    opacity: .9
}

.step h3 {
    font-size: 1.3rem;
    margin: 8px 0 8px
}

.step p {
    color: var(--ink-soft);
    font-size: .97rem
}

/* ---- materials / brands ---- */
.mats-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: start
}

.swatches {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px
}

.fabric {
    aspect-ratio: 1;
    border-radius: 8px;
    border: 1px solid var(--ink);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform .2s
}

.fabric:hover {
    transform: scale(1.05) rotate(-1deg)
}

.fabric::after {
    content: attr(data-name);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px;
    font-size: .74rem;
    font-weight: 700;
    background: linear-gradient(transparent, rgba(0, 0, 0, .55));
    color: #fff;
    opacity: 0;
    transition: opacity .2s
}

.fabric:hover::after {
    opacity: 1
}

.weave {
    background-image: repeating-linear-gradient(45deg, rgba(0, 0, 0, .08) 0 3px, transparent 3px 7px), repeating-linear-gradient(-45deg, rgba(255, 255, 255, .18) 0 3px, transparent 3px 7px)
}

.brands h3 {
    font-size: 1.55rem;
    margin-bottom: 18px
}

.brands>p {
    color: var(--ink-soft);
    margin-bottom: 24px;
    font-size: .98rem
}

.brand-list {
    display: grid;
    gap: 12px
}

.brand-item {
    background: var(--paper);
    border: 1px solid var(--ink);
    border-radius: 8px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: transform .2s, box-shadow .2s
}

.brand-item:hover {
    transform: translateX(4px);
    box-shadow: 6px 6px 0 rgba(42, 29, 18, .1)
}

.brand-item .bmark {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 7px;
    background: var(--cream-2);
    border: 1px solid var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-weight: 900;
    font-size: 1.15rem;
    color: var(--red)
}

.brand-item b {
    display: block;
    font-size: 1rem
}

.brand-item span {
    color: var(--ink-soft);
    font-size: .86rem
}

/* ---- gallery placeholder ---- */
.gallery-cta {
    background: var(--paper);
    border: 1px dashed var(--ink);
    border-radius: 14px;
    padding: 60px 40px;
    text-align: center
}

.gallery-cta h3 {
    font-size: 1.7rem;
    margin-bottom: 10px
}

.gallery-cta p {
    color: var(--ink-soft);
    max-width: 36rem;
    margin: 0 auto 20px;
    font-size: 1rem
}

/* ---- contact ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start
}

.contact-info h2 {
    font-size: clamp(2rem, 4.4vw, 3rem);
    margin-bottom: 18px
}

.contact-info>p {
    color: var(--ink-soft);
    font-size: 1.06rem;
    margin-bottom: 30px
}

.info-row {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 18px
}

.info-row .ic {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 7px;
    background: var(--cream);
    border: 1px solid #d3d0ce;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink)
}

.info-row b {
    display: block;
    font-size: 1.02rem
}

.info-row span,
.info-row a {
    color: var(--ink-soft);
    font-size: .95rem;
    display: block
}

.info-row a:hover {
    color: var(--red)
}

.socials {
    display: flex;
    gap: 10px;
    margin-top: 14px
}

.socials a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    /* border: 1px solid var(--ink); */
    border: 1px solid #d3d0ce;
    background: var(--paper);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, color .2s, transform .15s
}

.socials a:hover {
    background: var(--ink);
    color: var(--cream);
    transform: translateY(-3px)
}

.socials svg {
    width: 20px;
    height: 20px
}

.form {
    background: var(--paper);
    /* border: 1px solid var(--ink); */
    border: 1px solid #d3d0ce;
    border-radius: 6px;
    padding: 32px;
    box-shadow: var(--shadow)
}

.form h3 {
    font-size: 1.5rem;
    margin-bottom: 6px
}

.form .sub {
    color: var(--ink-soft);
    font-size: .95rem;
    margin-bottom: 22px
}

.field {
    margin-bottom: 16px
}

.field label {
    display: block;
    font-weight: 700;
    font-size: .88rem;
    margin-bottom: 6px
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 7px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--cream);
    transition: border-color .2s;
    color: var(--ink)
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: none;
    border-color: var(--red)
}

.field textarea {
    resize: vertical;
    min-height: 96px
}

.form .btn {
    width: 100%;
    justify-content: center;
    margin-top: 6px
}

.form-msg {
    display: none;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 7px;
    background: rgba(116, 178, 43, .18);
    color: #4d7a14;
    font-weight: 600;
    font-size: .92rem;
    border: 1px solid var(--green)
}

/* ---- footer ---- */
footer {
    background: var(--ink);
    color: var(--cream);
    padding: 60px 0 30px
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 40px
}

footer img.flogo {
    height: 80px;
    filter: brightness(0) invert(1);
    opacity: .96;
    margin-bottom: 16px
}

footer .fbrand p {
    color: rgba(250, 243, 230, .6);
    font-size: .95rem;
    max-width: 22rem
}

.foot-socials {
    display: flex;
    gap: 8px;
    margin-top: 18px
}

.foot-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(250, 243, 230, .3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, border-color .2s
}

.foot-socials a:hover {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--ink)
}

.foot-socials svg {
    width: 16px;
    height: 16px
}

footer h4 {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--yellow);
    margin-bottom: 16px
}

footer ul {
    list-style: none;
    display: grid;
    gap: 9px
}

footer ul a {
    color: rgba(250, 243, 230, .82);
    font-size: .92rem;
    transition: color .2s
}

footer ul a:hover {
    color: #fff
}

.foot-bottom {
    border-top: 1px solid rgba(250, 243, 230, .15);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: .85rem;
    color: rgba(250, 243, 230, .55)
}

.foot-bottom a {
    color: rgba(250, 243, 230, .75);
    text-decoration: none
}

.foot-bottom a:hover {
    color: #fff
}

/* back to top */
#backToTop {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--cream);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,.18);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .3s, transform .3s;
    pointer-events: none;
    z-index: 999
}

#backToTop.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto
}

#backToTop:hover {
    background: var(--red)
}

/* reveal */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1)
}

.reveal.in {
    opacity: 1;
    transform: none
}

/* ---- responsive ---- */
@media(max-width:980px) {
    .nav-links {
        display: none
    }

    .nav-links.open {
        display: flex;
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: #FBF7F0;
        padding: 22px 26px;
        gap: 18px;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 12px 28px rgba(42, 29, 18, .14);
        text-transform: none;
        letter-spacing: 0
    }

    .nav-links.open > a,
    .nav-links.open .nav-parent {
        color: var(--ink) !important;
        font-size: .97rem;
        font-weight: 600
    }

    .nav-links.open > a:hover,
    .nav-links.open .nav-parent:hover {
        color: var(--sand) !important
    }

    .nav-links.open .nav-item {
        width: 100%
    }

    .nav-links.open .nav-item .submenu {
        position: static;
        display: none;
        min-width: 0;
        width: 100%;
        padding: 8px 0 0 14px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
        opacity: 1;
        visibility: visible;
        transform: none
    }

    .nav-links.open .nav-item.open .submenu {
        display: grid
    }

    .nav-links.open .submenu-sub {
        padding-left: 10px
    }

    .nav-links.open .nav-parent {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%
    }

    .nav-links.open .nav-parent::after {
        content: "+";
        width: auto;
        height: auto;
        position: static;
        margin-left: 8px;
        font-size: 1rem;
        color: var(--sand)
    }

    .nav-links.open .nav-item.open .nav-parent::after {
        content: "–"
    }

    .nav .btn.desk {
        display: none
    }

    .nav-links.open .btn.inmenu {
        display: inline-flex;
        width: 100%;
        justify-content: center
    }

    .burger {
        display: flex
    }

    .hero-inner {
        padding-top: 110px;
        padding-bottom: 52px
    }

    .hero-scroll {
        display: none
    }

    .about-grid,
    .contact-grid,
    .mats-grid {
        grid-template-columns: 1fr;
        gap: 34px
    }

    .prod-grid,
    .prod-grid.cols-3,
    .prod-grid.cols-5 {
        grid-template-columns: repeat(2, 1fr)
    }

    .card.featured {
        grid-column: span 2
    }

    .svc-grid {
        grid-template-columns: 1fr;
        gap: 16px
    }

    .steps {
        grid-template-columns: repeat(2, 1fr)
    }

    .swatches {
        grid-template-columns: repeat(4, 1fr)
    }

    .fabric-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .logo-pill {
        font-size: .95rem;
        padding: 9px 18px
    }

    .foot-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px
    }

    .badge-25 {
        width: 100px;
        height: 100px;
        top: -12px;
        right: -6px
    }

    .badge-25 b {
        font-size: 2rem
    }
}

@media(max-width:540px) {

    .prod-grid,
    .prod-grid.cols-3,
    .prod-grid.cols-5 {
        grid-template-columns: 1fr
    }

    .card.featured {
        grid-column: span 1
    }

    .swatches {
        grid-template-columns: repeat(3, 1fr)
    }

    .fabric-grid {
        grid-template-columns: 1fr
    }

    .foot-grid {
        grid-template-columns: 1fr
    }

    .hero-stats {
        gap: 18px
    }

    .hero-stats .div {
        display: none
    }

    .hero-inner {
        padding-top: 200px;
        padding-bottom: 40px
    }

    section {
        padding: 60px 0
    }

    .topbar {
        font-size: .74rem;
        gap: 10px
    }

    .topbar .sep,
    .topbar .hide-sm {
        display: none
    }
}

/* ---- partners marquee strip ---- */
.partners-strip {
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: none;
    padding: 0 0 40px;
    margin-bottom: 60px;
    overflow: visible;
}

.partners-strip .strip-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 18px;
    line-height: 1.4
}

.partners-strip .strip-label::before {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--red)
}

.logo-marquee {
    overflow: hidden;
    white-space: nowrap;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent)
}

.logo-track {
    display: inline-flex;
    gap: 14px;
    animation: logo-scroll 38s linear infinite;
    will-change: transform
}

.partners-strip:hover .logo-track {
    animation-play-state: paused
}

.logo-pill {
    background: var(--cream);
    border: 1px solid var(--ink);
    border-radius: 999px;
    padding: 11px 22px;
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 1.05rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink)
}

.logo-pill .mark {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: .95rem;
    color: #fff;
    flex-shrink: 0;
    font-family: 'Fraunces', serif
}

.logo-pill .mark.c1 {
    background: var(--red)
}

.logo-pill .mark.c2 {
    background: var(--green)
}

.logo-pill .mark.c3 {
    background: var(--blue)
}

.logo-pill .mark.c4 {
    background: var(--brown)
}

.logo-pill .mark.c5 {
    background: var(--orange)
}

.logo-pill--img {
    padding: 0 18px;
    background: transparent;
    border: none;
    box-shadow: none;
}

.logo-pill--img img {
    height: 36px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo-pill--img a {
    display: flex;
    cursor: pointer;
}

.logo-pill--img a:hover img {
    opacity: 0.75;
    transition: opacity .2s;
}

@keyframes logo-scroll {
    to {
        transform: translateX(-50%)
    }
}

/* ---- fabric flip cards ---- */
.fabric-heading {
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap
}

.fabric-heading h3 {
    font-size: 1.55rem;
    margin-bottom: 4px
}

.fabric-heading p {
    color: var(--ink-soft);
    font-size: .95rem;
    max-width: 30rem
}

.fabric-heading .hint {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--red);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px
}

.fabric-heading .hint::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    animation: pulse 1.8s ease-in-out infinite
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .4;
        transform: scale(.7)
    }
}

.fabric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px
}

.fcard {
    position: relative;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    cursor: crosshair
}

#fabricCursor { display: none }

.flens {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .7);
    box-shadow: 0 0 0 1px rgba(0,0,0,.15), 0 4px 24px rgba(0,0,0,.25);
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity .15s;
    z-index: 10;
    background-repeat: no-repeat
}

.fcard:hover .flens {
    opacity: 1
}

/* fabric lightbox */
#fabricLb {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px
}

#fabricLb.open {
    display: flex
}

#fabricLbPhoto {
    max-width: 90vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 8px 48px rgba(0,0,0,.5)
}

#fabricLbName {
    color: rgba(255,253,247,.8);
    font-family: 'Fraunces', serif;
    font-size: 1rem;
    letter-spacing: .06em
}

#fabricLbClose {
    position: absolute;
    top: 20px;
    right: 28px;
    background: none;
    border: none;
    color: rgba(255,253,247,.7);
    font-size: 2.4rem;
    cursor: pointer;
    line-height: 1;
    transition: color .15s
}

#fabricLbClose:hover {
    color: #fff
}

.ftex-wrap {
    width: 100%;
    height: 100%;
    overflow: hidden
}

.ftex-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.fcard .fname {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 2
}

.face.back {
    transform: rotateY(180deg);
    background: var(--paper);
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px
}

.face.back svg {
    width: 80%;
    height: auto;
    max-height: 62%
}

.face.back img {
    width: 80%;
    height: auto;
    max-height: 62%;
    object-fit: contain
}

.fname {
    position: relative;
    z-index: 2;
    background: rgba(255, 253, 247, .55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 5px 14px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .06em;
    align-self: flex-start;
    color: var(--ink);
    border: 1px solid rgba(255, 255, 255, .6);
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
    font-family: 'Hanken Grotesk', sans-serif
}

@media(max-width:540px) {
    .fabric-grid {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .fcard {
        width: 100%
    }
}

.face.back .product-label {
    background: var(--red);
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    border: 1px solid var(--red);
    display: inline-flex;
    align-items: center;
    gap: 6px
}

.face.back .for-label {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--ink-soft);
    margin-top: -4px
}


/* ---- GALERIJA ---- */
.gallery-sec {
    /* background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%) */
    background-color: white;
}

.gal-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 36px
}

.gal-filters {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background: rgba(42, 29, 18, .06);
    border-radius: 999px;
    padding: 4px;
    gap: 0;
    margin-bottom: 36px
}

.filter-pill {
    position: absolute;
    top: 4px;
    bottom: 4px;
    background: var(--ink);
    border-radius: 999px;
    pointer-events: none;
    transition: left .28s cubic-bezier(.4, 0, .2, 1), width .28s cubic-bezier(.4, 0, .2, 1)
}

.gal-filters button {
    position: relative;
    z-index: 1;
    background: transparent;
    border: none;
    border-radius: 999px;
    padding: 8px 18px;
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 500;
    font-size: .92rem;
    letter-spacing: .03em;
    color: var(--ink);
    opacity: .72;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity .2s, color .2s;
    display: inline-flex;
    align-items: center;
    gap: 6px
}

.gal-filters button:hover {
    opacity: .8
}

.gal-filters button.active {
    color: var(--cream);
    opacity: 1;
    font-weight: 600
}

.gal-filters button .ct {
    display: none
}

.gal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    grid-auto-rows: 200px;
    grid-auto-flow: dense
}

.gal-item {
    position: relative;
    /* border: 1px solid var(--ink); */
    border: 1px solid #d3d0ce;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: transform .3s cubic-bezier(.2, .7, .2, 1), opacity .35s, box-shadow .3s;
    transform-origin: center
}

.gal-item.tall {
    grid-row: span 2
}

.gal-item.wide {
    grid-column: span 2
}

.gal-item:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 8px 10px 0 rgba(42, 29, 18, .12)
}

.gal-item.hidden {
    opacity: 0;
    transform: scale(.85);
    pointer-events: none;
    position: absolute;
    visibility: hidden
}

.gal-item .bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-weight: 900;
    font-size: 5rem;
    color: rgba(255, 255, 255, .18);
    letter-spacing: -.04em
}

.gal-item .tex {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, rgba(0, 0, 0, .08) 0 3px, transparent 3px 7px), repeating-linear-gradient(-45deg, rgba(255, 255, 255, .14) 0 3px, transparent 3px 7px);
    mix-blend-mode: overlay
}

.gal-item .tex.grid {
    background-image: repeating-linear-gradient(0deg, rgba(0, 0, 0, .08) 0 1px, transparent 1px 14px), repeating-linear-gradient(90deg, rgba(0, 0, 0, .08) 0 1px, transparent 1px 14px)
}

.gal-item .tex.dots {
    background-image: radial-gradient(rgba(0, 0, 0, .18) 1.5px, transparent 2px);
    background-size: 14px 14px
}

.gal-item .tex.diag {
    background-image: repeating-linear-gradient(-45deg, rgba(0, 0, 0, .10) 0 2px, transparent 2px 14px)
}

.gal-item .label {
    position: absolute;
    left: 14px;
    bottom: 14px;
    right: 14px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 8px;
    z-index: 2
}

.gal-item .cat {
    background: rgba(255, 253, 247, .55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--ink);
    padding: 5px 11px;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    border: 1px solid rgba(255, 255, 255, .5);
    box-shadow: 0 2px 8px rgba(0,0,0,.1)
}

.gal-item .name {
    background: rgba(42, 29, 18, .65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--cream);
    padding: 5px 11px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, .15)
}

.gal-item .zoom {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 253, 247, .55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .6);
    box-shadow: 0 2px 10px rgba(0,0,0,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--ink);
    opacity: 0;
    transition: opacity .2s, transform .2s;
    z-index: 2
}

.gal-item:hover .zoom {
    opacity: 1;
    transform: scale(1.05)
}

/* lightbox */
.lb {
    position: fixed;
    inset: 0;
    background: rgba(20, 12, 4, .92);
    backdrop-filter: blur(6px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
    padding: 60px 80px
}

.lb.open {
    opacity: 1;
    pointer-events: auto
}

.lb-stage {
    position: relative;
    max-width: 900px;
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--paper);
    border: 2px solid var(--ink);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-weight: 900;
    font-size: 9rem;
    color: rgba(255, 255, 255, .25);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .4)
}

.lb-stage .tex {
    position: absolute;
    inset: 0
}

.lb-stage .lb-label {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background: var(--ink);
    color: var(--cream);
    padding: 10px 18px;
    border-radius: 999px;
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 700;
    font-size: .95rem;
    z-index: 2
}

.lb-page-btn {
    position: absolute;
    right: 20px;
    bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--sand);
    color: var(--ink);
    padding: 10px 20px;
    border-radius: 4px;
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 700;
    font-size: .85rem;
    text-decoration: none;
    letter-spacing: .04em;
    z-index: 2;
    transition: background .2s, transform .15s
}

.lb-page-btn:hover {
    background: #c9a25d;
    transform: translateY(-2px)
}

.lb-close,
.lb-prev,
.lb-next {
    position: absolute;
    background: rgba(255, 253, 247, .12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.4rem;
    color: rgba(255, 253, 247, .85);
    transition: background .2s, color .2s, transform .15s;
    z-index: 5;
    font-family: serif;
    line-height: 1
}

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
    background: rgba(255, 253, 247, .25);
    color: #fff;
    border-color: rgba(255, 255, 255, .4)
}

.lb-close {
    top: 20px;
    right: 20px
}

.lb-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    font-size: 1.6rem
}

.lb-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    font-size: 1.6rem
}

.lb-prev:hover {
    transform: translateY(-50%) scale(1.06)
}

.lb-next:hover {
    transform: translateY(-50%) scale(1.06)
}

.lb-counter {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 253, 247, .12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .2);
    padding: 7px 16px;
    border-radius: 999px;
    font-weight: 500;
    font-size: .8rem;
    letter-spacing: .05em;
    color: rgba(255, 253, 247, .85)
}

@media(max-width:980px) {
    .gal-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px
    }

    .gal-item.wide {
        grid-column: span 2
    }

    .gal-item.tall {
        grid-row: span 2
    }

    .lb {
        padding: 20px
    }

    .lb-stage {
        font-size: 5rem
    }

    .lb-prev {
        left: 8px;
        width: 44px;
        height: 44px
    }

    .lb-next {
        right: 8px;
        width: 44px;
        height: 44px
    }
}

@media(max-width:540px) {
    .gal-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px
    }

    .gal-item.wide,
    .gal-item.tall {
        grid-column: span 1;
        grid-row: span 1
    }

    .gal-filters {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 3px;
        margin: 0 0 28px;
        padding: 4px;
        overflow: visible;
        background: rgba(42, 29, 18, .06);
        border-radius: 22px
    }

    .filter-pill {
        display: none
    }

    .gal-filters button {
        flex: 0 0 auto;
        min-height: 30px;
        padding: 5px 10px;
        width: auto;
        justify-content: center;
        border: none;
        border-radius: 999px;
        background: transparent;
        box-shadow: none;
        font-size: .76rem
    }

    .gal-filters button.active {
        background: var(--ink);
        color: var(--cream);
        border-color: var(--ink)
    }
}

/* ---- real photos added from Varagic gallery ---- */
.hero-photo {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/3;
    /* border: 2px solid var(--ink); */
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 16px 18px 0 rgba(42, 29, 18, .12);
    background: var(--paper);
    transform: rotate(-1.2deg)
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(42, 29, 18, .18));
    pointer-events: none
}

.card .ill.has-photo {
    height: 156px;
    margin: -4px -4px 16px;
    /* border: 1px solid var(--ink); */
    border-radius: 4px;
    overflow: hidden;
    background: var(--cream-2)
}

.card.featured .ill.has-photo {
    height: 210px
}

.card .ill.has-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.about-card .about-photo {
    width: 100%;
    max-width: none;
    aspect-ratio: 4/3;
    object-fit: cover;
    /* border: 1px solid var(--ink); */
    border-radius: 5px;
    filter: none;
    margin: 0 auto;
    display: block
}

.gal-item .gal-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease
}

.gal-item:hover .gal-img {
    transform: scale(1.06)
}

.gal-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, .52));
    z-index: 1;
    pointer-events: none
}

.gal-item .label,
.gal-item .zoom {
    z-index: 3
}

.gal-item .name {
    max-width: 72%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.lb-stage {
    background: #111 !important
}

.lb-stage .lb-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #111
}

.lb-stage .lb-label {
    background: rgba(42, 29, 18, .92)
}

/* =========================================
   MOBILE HEADER FIX — topbar se vidi pa nestane
   ========================================= */

@media (max-width: 980px) {

    /* Topbar se vidi na početku */
    .topbar {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 10001;
        min-height: 40px;
        background: transparent;
        opacity: 1;
        transform: translateY(0);
    }

    /* Kada se skroluje, topbar nestaje */
    body.scrolled-top .topbar {
        opacity: 0;
        pointer-events: none;
        transform: translateY(-100%);
    }

    /* Pre skrola header je ispod topbara */
    header.nav:not(.scrolled) {
        top: 40px !important;
        background: transparent !important;
        border-bottom: 1px solid transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        z-index: 10000;
    }

    /* Posle skrola header ide na vrh */
    header.nav.scrolled {
        top: 0 !important;
        background: rgba(251, 247, 240, .96) !important;
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-bottom: 1px solid rgba(176, 138, 79, .26);
        z-index: 10000;
    }

    /* Pre skrola beli logo */
    header.nav:not(.scrolled) .logo-white {
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    header.nav:not(.scrolled) .logo-dark {
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* Posle skrola tamni logo */
    header.nav.scrolled .logo-white {
        opacity: 0 !important;
        pointer-events: none !important;
    }

    header.nav.scrolled .logo-dark {
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    /* Hamburger pre skrola beo */
    header.nav:not(.scrolled) .burger span {
        background: var(--hero-light) !important;
    }

    /* Hamburger posle skrola taman */
    header.nav.scrolled .burger span {
        background: var(--ink) !important;
    }

    /* Mobilni meni ispod headera */
    .nav-links.open {
        top: 78px;
    }
}

/* iPhone Safari safe-area */
@supports (padding-top: env(safe-area-inset-top)) {
    @media (max-width: 980px) {

        .topbar {
            padding-top: calc(9px + env(safe-area-inset-top));
        }

        header.nav:not(.scrolled) {
            top: calc(40px + env(safe-area-inset-top)) !important;
        }

        header.nav.scrolled {
            top: 0 !important;
            padding-top: env(safe-area-inset-top);
        }

        .nav-links.open {
            top: calc(78px + env(safe-area-inset-top));
        }
    }
}

/* ---- mobile hero: dugi background ---- */
@media (max-width: 768px) {
    .hero {
        min-height: 125svh;
        min-height: 125vh;
        align-items: center
    }
    .hero-bg img {
        object-position: center top
    }
    .hero-inner {
        padding-top: 120px;
        padding-bottom: 60px
    }
}