/* Fontovi s vlastitog poslužitelja (bez Google Fontsa). Licenca: SIL Open Font License 1.1. */
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/instrument-serif-italic-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/instrument-serif-italic-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/instrument-serif-normal-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/instrument-serif-normal-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/manrope-normal-400-800-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/manrope-normal-400-800-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Michroma'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/michroma-normal-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Michroma'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/michroma-normal-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* =====================================================================
   Palisander d.o.o. — stilovi
   Paleta: topla off-white podloga, gotovo crna tinta, zelena iz loga.
   ===================================================================== */

:root {
    --bg: #f3f2ee;
    --bg-2: #e9e7e1;
    --paper: #ffffff;
    --ink: #141414;
    --ink-2: #4b4b49;
    --ink-3: #7d7d79;
    --line: #d9d6cf;
    --green: #00a651;
    --green-2: #0a8a45;
    --gold: #c2a468;
    --dark: #161616;
    --dark-2: #1f1f1f;
    --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    --container: 1240px;
    --gutter: clamp(20px, 4vw, 56px);
    --radius: 3px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
picture { display: contents; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
[hidden] { display: none !important; }
/* sidra (#rjesenja, #usporedba…) staju ispod ljepljivog zaglavlja */
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
/* vidljiv fokus za tipkovnicu */
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--green-2); outline-offset: 3px; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- tipografija ---------- */
.eyebrow {
    display: block;
    font-size: .72rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--ink-2);
    margin-bottom: 18px;
}
.eyebrow.gold { color: var(--gold); }
.eyebrow.light { color: rgba(255, 255, 255, .85); }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.h-xl { font-size: clamp(2.6rem, 6.6vw, 6.2rem); }
.h-l { font-size: clamp(2.1rem, 4.6vw, 3.9rem); }
.h-m { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 56ch; }
.muted { color: var(--ink-3); }
.ic { width: 1em; height: 1em; }

/* ---------- gumbi ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    font-weight: 600;
    font-size: .95rem;
    line-height: 1.2;
    border: 1px solid transparent;
    border-radius: var(--radius);
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
    white-space: nowrap;
}
.btn .ic { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.btn:hover .ic { transform: translate(2px, -2px); }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: #000; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--bg); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.link-ul {
    text-decoration: none;
    font-weight: 500;
    padding-bottom: 3px;
    border-bottom: 1px solid currentColor;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity .25s;
}
.link-ul .ic { width: 14px; height: 14px; }
.link-ul:hover { opacity: .7; }

/* ---------- zaglavlje ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(243, 242, 238, .88);
    -webkit-backdrop-filter: saturate(1.3) blur(10px);
    backdrop-filter: saturate(1.3) blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 38px; height: 38px; flex: none; }
.logo-img { height: 40px; width: auto; }
.logo-text {
    font-family: 'Michroma', var(--font-sans);
    font-weight: 700;
    letter-spacing: .01em;
    font-size: 1.02rem;
    color: var(--green);
    line-height: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.logo-text small { font-size: .46rem; font-weight: 700; letter-spacing: .1em; margin-top: 4px; text-transform: lowercase; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
    text-decoration: none;
    font-size: .92rem;
    font-weight: 500;
    color: var(--ink-2);
    position: relative;
    padding: 4px 0;
    transition: color .25s;
}
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px; background: var(--green); }
.nav .nav-cta { display: none; }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero {
    position: relative;
    min-height: min(86vh, 860px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
    background: var(--dark);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media .scena, .hero-media .foto { width: 100%; height: 100%; object-fit: cover; }
.hero-media .foto { animation: kenburns 24s ease-out forwards; transform-origin: 60% 50%; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(8, 8, 8, .62) 0%, rgba(8, 8, 8, .3) 46%, rgba(8, 8, 8, .06) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .38) 100%);
}
.hero-inner { padding: clamp(80px, 12vh, 140px) 0 0; }
.hero-title {
    margin: 0;                 /* element je <p>: H1 naslovnice je nadnaslovna linija s ključnim riječima */
    font-weight: 700;
    letter-spacing: -.03em;
    text-wrap: balance;
    font-size: clamp(2.9rem, 7.3vw, 6.7rem);
    line-height: .98;
    max-width: 12ch;
    text-shadow: 0 2px 26px rgba(0, 0, 0, .28);
}
.hero-title .serif { display: block; font-size: 1.06em; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.35rem); margin: 26px 0 30px; max-width: 44ch; color: rgba(255, 255, 255, .92); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.hero-actions .link-ul { color: #fff; }
.hero-bar {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: .82rem;
    padding: clamp(48px, 8vh, 80px) 0 26px;
    color: rgba(255, 255, 255, .88);
}
.hero-bar .rule { flex: 1; height: 1px; background: rgba(255, 255, 255, .45); }
.hero-bar a { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.hero-bar a .ic { width: 18px; height: 18px; animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ---------- traka prednosti ---------- */
.strip { background: var(--bg); border-bottom: 1px solid var(--line); }
.strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip-item { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 24px 16px; }
.strip-item + .strip-item { border-left: 1px solid var(--line); }
.strip-item .ic { width: 30px; height: 30px; flex: none; }
.strip-item strong { font-weight: 600; font-size: 1.02rem; display: block; letter-spacing: -.01em; }
.strip-item span { display: block; font-size: .8rem; color: var(--ink-3); margin-top: 2px; }

/* ---------- sekcije ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head .h-l { max-width: 16ch; }

/* male pomoćne klase (umjesto inline stilova, radi CSP-a) */
.pt-0 { padding-top: 0; }
.lead-38 { max-width: 38ch; }
.lead-40 { max-width: 40ch; }
.mt-14 { margin-top: 14px; }
.mt-18 { margin-top: 18px; }
.mt-22 { margin-top: 22px; }
.mt-26 { margin-top: 26px; }
.mb-22 { margin-bottom: 22px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mala { font-size: .85rem; }
.gumbi-red { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; }

/* kartice */
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: block; text-decoration: none; color: inherit; }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); position: relative; }
.cards-3 .card-media { aspect-ratio: 4 / 3; }
.card-media .scena, .card-media .foto { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-media .scena, .card:hover .card-media .foto { transform: scale(1.04); }
.card-cap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0 14px;
    border-bottom: 1px solid var(--ink);
    font-size: 1.12rem;
}
.card-cap .idx { color: var(--ink-3); font-weight: 500; margin-right: 12px; }
.card-cap strong { font-weight: 600; }
.card-cap .ic { width: 20px; height: 20px; transition: transform .4s var(--ease); }
.card:hover .card-cap .ic { transform: translateX(6px); }
.card-desc { margin: 12px 0 0; color: var(--ink-2); font-size: .95rem; max-width: 48ch; }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0 12px; border-bottom: 1px solid var(--line); }
.card-meta strong { font-weight: 600; font-size: 1.02rem; }
.card-meta span { color: var(--ink-3); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.card-sub { color: var(--ink-3); font-size: .85rem; margin-top: 8px; }

/* tamna podijeljena sekcija */
.split { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--dark); color: #fff; }
.split-media { position: relative; min-height: 460px; overflow: hidden; }
.split-media .scena, .split-media .foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-body { padding: clamp(44px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; }
.split-body .h-l { color: #fff; margin-bottom: 20px; }
.split-body p { color: rgba(255, 255, 255, .8); font-size: 1.08rem; max-width: 44ch; }
.split-body .uvod { color: #fff; font-size: 1.2rem; }
.split-body .btn { align-self: flex-start; margin-top: 18px; }
.split-media .split-badge { position: absolute; left: 18px; bottom: 18px; }

/* proces */
.proces { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.korak { padding: 28px 24px 8px 0; }
.korak + .korak { border-left: 1px solid var(--line); padding-left: 24px; }
.korak .num { font-family: var(--font-serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--ink-3); margin-bottom: 22px; }
.korak h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; letter-spacing: -.01em; }
.korak p { color: var(--ink-2); font-size: .95rem; }

/* CTA traka */
.cta-band { border-top: 1px solid var(--line); }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(56px, 8vw, 96px) 0; }
.cta h2 { font-size: clamp(2rem, 4.6vw, 3.7rem); max-width: 16ch; }

/* podnožje */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 28px; font-size: .9rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; }
.footer-mid { letter-spacing: .22em; text-transform: uppercase; font-size: .72rem; color: var(--ink-3); text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 22px; }
.footer-links a { text-decoration: none; font-weight: 500; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 24px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--ink-3);
    font-size: .8rem;
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }
.footer-bottom .napomena { font-style: italic; }

/* ---------- podstranice ---------- */
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 14ch; }
.page-hero .lead { margin-top: 22px; }

.rjesenje { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(56px, 7vw, 96px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 8px); }
.rjesenje:nth-of-type(even) .rjesenje-media { grid-column: 2; grid-row: 1; }
.rjesenje:nth-of-type(even) .rjesenje-body { grid-column: 1; grid-row: 1; }
.rjesenje-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); position: relative; }
.rjesenje-media .scena, .rjesenje-media .foto { width: 100%; height: 100%; object-fit: cover; }
.rjesenje-media .badge { position: absolute; left: 18px; top: 18px; }
.badge { display: inline-block; background: rgba(20, 20, 20, .85); color: #fff; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; padding: 7px 12px; border-radius: 2px; }
.rjesenje-body .h-l { margin-bottom: 18px; }
.rjesenje-body .lead { font-size: 1.05rem; }
.lista { list-style: none; padding: 0; margin: 26px 0 0; }
.lista li { padding: 11px 0; border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: baseline; font-size: .96rem; }
.lista li:last-child { border-bottom: 1px solid var(--line); }
.lista li::before { content: "—"; color: var(--green); flex: none; }
.pill-lista { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pill-lista li { list-style: none; display: inline-flex; gap: 8px; align-items: center; font-size: .86rem; color: var(--ink-2); padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.pill-lista .ic { width: 14px; height: 14px; color: var(--green); }

.spec { grid-column: 1 / -1; margin-top: clamp(8px, 2vw, 24px); padding-top: 28px; border-top: 1px solid var(--ink); }
.spec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.spec-head .eyebrow { margin-bottom: 0; }
.spec-head .muted { font-size: .8rem; }
.spec-grid { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.spec-grid div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec-grid dt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.spec-grid dd { margin: 0; font-size: .95rem; font-weight: 500; }

.usporedba { overflow-x: auto; }
.usporedba table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 640px; }
.usporedba th, .usporedba td { text-align: left; padding: 14px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.usporedba th { font-weight: 600; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); border-bottom-color: var(--ink); }
.usporedba td:first-child { font-weight: 600; width: 24%; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; font-size: .88rem; background: #fff; }

.o-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.o-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.o-media .scena, .o-media .foto { width: 100%; height: 100%; object-fit: cover; }
.o-body .h-l { margin-bottom: 22px; }
.o-body p { color: var(--ink-2); font-size: 1.05rem; }
.vrijednosti { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vrijednost { padding: 28px 24px; background: #fff; border: 1px solid var(--line); }
.vrijednost .num { font-family: var(--font-serif); font-style: italic; font-size: 2rem; color: var(--green); line-height: 1; margin-bottom: 16px; }
.vrijednost h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.vrijednost p { color: var(--ink-2); font-size: .95rem; }

.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter button {
    font: inherit;
    font-size: .86rem;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink-2);
    cursor: pointer;
    transition: .2s;
}
.filter button:hover { border-color: var(--ink); color: var(--ink); }
.filter button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.prazno { color: var(--ink-3); padding: 40px 0; }

/* kontakt */
.kontakt-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.forma { display: grid; gap: 18px; }
.forma-red { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.polje { display: grid; gap: 8px; }
.polje label { font-size: .8rem; font-weight: 600; letter-spacing: .04em; }
.polje input, .polje select, .polje textarea {
    font: inherit;
    padding: 14px 16px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: var(--radius);
    width: 100%;
    color: var(--ink);
}
.polje input:focus, .polje select:focus, .polje textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.polje textarea { min-height: 170px; resize: vertical; }
.polje small { color: var(--ink-3); font-size: .8rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.forma .btn { justify-self: start; }
.poruka { padding: 18px 20px; border-radius: var(--radius); margin-bottom: 24px; border: 1px solid; }
.poruka-ok { background: #e9f4eb; border-color: #bcdcc2; }
.poruka-gr { background: #fbeaea; border-color: #efc2c2; }
.info-blok { display: grid; gap: 26px; padding: clamp(24px, 3vw, 36px); background: #fff; border: 1px solid var(--line); }
.info-blok dl { margin: 0; display: grid; gap: 22px; }
.info-blok dt { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.info-blok dt .ic { width: 16px; height: 16px; color: var(--ink); }
.info-blok dd { margin: 0; font-size: 1.05rem; }
.info-blok dd a { text-decoration: none; }
.info-blok dd a:hover { text-decoration: underline; }
.info-blok .btn { justify-self: start; }

/* brojke */
.brojke { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brojka { padding: 28px 24px 28px 0; }
.brojka + .brojka { border-left: 1px solid var(--line); padding-left: 24px; }
.brojka strong { display: block; font-size: clamp(1.5rem, 2.8vw, 2.3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.brojka span { display: block; margin-top: 10px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }

/* od ideje do projekta */
.ideja-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ideja-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.ideja-media .scena, .ideja-media .foto { width: 100%; height: 100%; object-fit: cover; }
.ideja-media .badge { position: absolute; left: 18px; top: 18px; }
.ideja-strelica { display: none; }

/* projekti */
.projekt { padding: clamp(48px, 6vw, 80px) 0; border-bottom: 1px solid var(--line); }
.projekt:last-of-type { border-bottom: 0; }
.projekt-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 14px; }
.projekt-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.projekt-meta { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; padding-bottom: 6px; }
.projekt-opis { max-width: 64ch; color: var(--ink-2); margin-bottom: 28px; font-size: 1.02rem; }
.galerija { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(160px, 21vw); gap: 14px; }
.gal-item { display: block; position: relative; overflow: hidden; background: var(--bg-2); text-decoration: none; }
.galerija .gal-item:first-child { grid-column: span 2; grid-row: span 2; }
.galerija-1 .gal-item:first-child { grid-column: span 3; grid-row: span 2; }
.galerija-2 .gal-item:nth-child(2) { grid-row: span 2; }
.gal-item .scena, .gal-item .foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gal-item:hover .foto { transform: scale(1.03); }
.gal-item .badge { position: absolute; left: 14px; bottom: 14px; }
.gal-item:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* GEALAN partner */
.gealan { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gealan-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-bottom: clamp(36px, 5vw, 64px); }
.gealan-media { position: relative; background: #fff; border: 1px solid var(--line); padding: clamp(16px, 3vw, 40px); }
.gealan-media .foto { width: 100%; height: auto; display: block; }
.gealan-media .scena { width: 100%; aspect-ratio: 4 / 3; }
.gealan-body .h-l { margin-bottom: 20px; }
.gealan-body p { color: var(--ink-2); font-size: 1.02rem; max-width: 56ch; }
.potpis { position: absolute; left: 12px; bottom: 12px; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(20, 20, 20, .62); padding: 5px 9px; border-radius: 2px; pointer-events: none; }
.izvedbe { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.izvedba .card-media { aspect-ratio: 16 / 9; }
.izvedba h3 { font-size: .98rem; font-weight: 600; letter-spacing: -.01em; margin: 12px 0 6px; }
.izvedba p { font-size: .84rem; color: var(--ink-2); }
.gealan-napomena { font-size: .8rem; margin-top: 24px; }

/* inspiracija — mreža ilustracija */
.mreza { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mreza .gal-item { aspect-ratio: 3 / 2; }
.mreza .gal-item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.mreza .gal-item:last-child { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.gal-tema { position: absolute; right: 14px; bottom: 14px; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .45); padding: 6px 10px; border-radius: 2px; }
.card-media .badge { position: absolute; left: 14px; top: 14px; }
.card-sub-naslov { font-weight: 600; color: var(--ink); font-size: .98rem; }
.card-link { margin-top: 14px; font-size: .92rem; }
.linkovi-red { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px 32px; }

/* česta pitanja */
.faq { border-top: 1px solid var(--ink); margin-top: 8px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--ink-3); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 20px; color: var(--ink-2); max-width: 70ch; }

/* karta */
.karta { aspect-ratio: 21 / 9; min-height: 320px; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; }
.karta iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85); }

/* lightbox */
.lb { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1400px); max-height: 96vh; color: #fff; }
.lb::backdrop { background: rgba(10, 10, 10, .93); }
.lb img { max-width: 96vw; max-height: 84vh; object-fit: contain; display: block; margin: auto; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; padding: 12px 4px 0; gap: 16px; }
.lb button { font: inherit; font-size: .85rem; background: transparent; border: 1px solid rgba(255, 255, 255, .45); color: #fff; padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.lb button:hover { background: #fff; color: #000; }
.lb-nav { display: flex; gap: 8px; }

/* telefon u navigaciji (samo mobilni izbornik) */
.nav-tel { display: none; }

/* WhatsApp gumb */
.wa {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px 12px 12px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: .9rem;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    transition: transform .25s var(--ease), box-shadow .25s;
}
.wa svg { width: 26px; height: 26px; }
.wa:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, .22); }
.wa:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

/* mobilna traka s pozivom (samo na malim ekranima) */
.mob-bar { display: none; }

/* kontakt osobe */
.osobe { display: grid; gap: 14px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.osobe .eyebrow { margin-bottom: 2px; }
.osoba { display: grid; gap: 4px; }
.osoba strong { font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; }
.osoba-uloga { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.osoba a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: .98rem; color: var(--ink); width: fit-content; }
.osoba a .ic { width: 16px; height: 16px; color: var(--green-2); }
.osoba a:hover { text-decoration: underline; }
.footer-osobe { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 24px; font-size: .88rem; color: var(--ink-2); }
.footer-osobe a { text-decoration: none; }
.footer-osobe a:hover { text-decoration: underline; }

/* savjeti / članci */
.savjeti-lista .card-media { aspect-ratio: 16 / 10; }
.clanak .page-hero .eyebrow a { text-decoration: none; }
.clanak .page-hero .eyebrow a:hover { text-decoration: underline; }
.clanak-media { position: relative; aspect-ratio: 21 / 9; overflow: hidden; background: var(--bg-2); margin-top: clamp(28px, 4vw, 48px); }
.clanak-media .foto, .clanak-media .scena { width: 100%; height: 100%; object-fit: cover; }
.clanak-tijelo { max-width: 72ch; margin: clamp(36px, 5vw, 64px) auto clamp(48px, 6vw, 80px); font-size: 1.08rem; line-height: 1.65; }
.clanak-tijelo h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-weight: 700; letter-spacing: -.02em; margin: 40px 0 12px; }
.clanak-tijelo p { color: var(--ink-2); margin: 0 0 18px; }
.clanak-tijelo p:first-child { font-size: 1.15rem; color: var(--ink); }
.clanak-tijelo ul { padding-left: 1.2em; margin: 0 0 18px; color: var(--ink-2); }
.clanak-tijelo li { margin: 6px 0; }
.clanak-tijelo p a, .clanak-tijelo li a { color: var(--ink); text-decoration-color: var(--green); }
.clanak-cta { margin-top: 40px; padding: 26px 28px; background: #fff; border: 1px solid var(--line); display: grid; gap: 8px; }
.clanak-cta strong { font-size: 1.1rem; }
.clanak-cta span { color: var(--ink-2); font-size: .98rem; }
.clanak-cta .btn { justify-self: start; margin-top: 10px; }

/* podnožje — područje rada */
.footer-podrucje { margin: 26px 0 0; font-size: .85rem; color: var(--ink-3); }
.footer-podrucje span { font-weight: 600; color: var(--ink-2); }

/* pravne stranice */
.pravno h2 { margin: 0 0 22px; }
.pravno h2 + .impressum, .pravno h2 + p { margin-top: 0; }
.pravno h3 { font-size: 1.05rem; font-weight: 600; margin: 28px 0 8px; letter-spacing: -.01em; }
.pravno p, .pravno li { color: var(--ink-2); max-width: 74ch; }
.pravno #privatnost { margin-top: 56px; }
.impressum { margin: 0 0 12px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.impressum div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.impressum dt { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.impressum dd { margin: 0; }
.polje-napomena { font-size: .8rem; color: var(--ink-3); margin: -4px 0 0; }

/* stranice usluga (PVC / ALU stolarija Split) */
.usluga-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.usluga-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); position: relative; }
.usluga-media .scena, .usluga-media .foto { width: 100%; height: 100%; object-fit: cover; }
.usluga-body .lead { font-size: 1.12rem; color: var(--ink); }
.usluga-tekst { margin-top: 0; }
.usluga-tekst h2:first-child { margin-top: 0; }
.usluga-podrucje { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-3); }
.page-hero .eyebrow a { text-decoration: none; }
.page-hero .eyebrow a:hover { text-decoration: underline; }

/* ---------- animacije ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-media .foto { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-bar a .ic { animation: none; }
    .card-media .scena, .card-media .foto { transition: none; }
}

/* ---------- responzivno ---------- */
@media (max-width: 1080px) {
    .cards-3 { grid-template-columns: 1fr 1fr; }
    .vrijednosti { grid-template-columns: 1fr; }
    .proces { grid-template-columns: 1fr 1fr; }
    .korak + .korak { border-left: 0; padding-left: 0; }
    .korak:nth-child(even) { border-left: 1px solid var(--line); padding-left: 24px; }
    .korak:nth-child(n+3) { border-top: 1px solid var(--line); }
    .split { grid-template-columns: 1fr; }
    .split-media { min-height: 380px; }
    .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .footer-mid { display: none; }
    .izvedbe { grid-template-columns: repeat(3, 1fr); }
    .brojke { grid-template-columns: 1fr 1fr; }
    .brojka + .brojka { border-left: 0; padding-left: 0; }
    .brojka:nth-child(even) { border-left: 1px solid var(--line); padding-left: 24px; }
    .brojka:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 860px) {
    .header-cta { display: none; }
    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        background: none;
        border: 0;
        cursor: pointer;
        padding: 0;
        margin-right: -10px;
    }
    .nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 0 auto; transition: .25s; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .nav {
        position: absolute;
        left: 0;
        right: 0;
        top: var(--header-h);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        padding: 8px var(--gutter) 22px;
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition: .25s var(--ease);
        box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
    }
    .nav.open { transform: none; opacity: 1; pointer-events: auto; }
    .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
    .nav a.active::after { display: none; }
    .nav a.active { color: var(--green); }
    .nav .nav-cta { display: inline-flex; margin-top: 18px; justify-content: center; border: 0; }
    .nav .nav-tel { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
    .nav .nav-tel .ic { width: 18px; height: 18px; }
    .impressum { grid-template-columns: 1fr; }
    .wa { display: none; }
    body { padding-bottom: 64px; }
    .mob-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 45;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        background: rgba(20, 20, 20, .96);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
        padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
        gap: 6px;
    }
    .mob-bar a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 6px;
        color: #fff;
        text-decoration: none;
        font-weight: 600;
        font-size: .86rem;
        border-radius: 3px;
        border: 1px solid rgba(255, 255, 255, .18);
    }
    .mob-bar a .ic, .mob-bar a svg { width: 18px; height: 18px; }
    .mob-bar a:nth-child(2) { border-color: #25d366; color: #25d366; }
    .mob-bar .mob-bar-cta { background: var(--green); border-color: var(--green); color: #fff; }
    .clanak-media { aspect-ratio: 16 / 10; }
    /* min-height se uz aspect-ratio prenosi na širinu, pa bi karta bila šira od ekrana */
    .karta { aspect-ratio: 4 / 3; min-height: 0; }
    /* tablica usporedbe: umjesto vodoravnog skrolanja, svaki kriterij postaje kartica ALU / PVC */
    .usporedba table { min-width: 0; }
    .usporedba thead { display: none; }
    .usporedba tr { display: block; padding: 14px 0 6px; border-bottom: 1px solid var(--line); }
    .usporedba td { display: block; padding: 0 0 8px; border: 0; width: auto; }
    .usporedba td:first-child { width: auto; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); padding-bottom: 10px; }
    .usporedba td[data-stupac] { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: baseline; }
    .usporedba td[data-stupac]::before { content: attr(data-stupac); font-size: .72rem; font-weight: 700; letter-spacing: .08em; color: var(--green-2); }

    .hero { min-height: 78vh; }
    .hero-inner { padding-top: 64px; }
    .hero-bar { padding-top: 40px; }
    .hero-bar .rule { display: none; }
    .hero-bar { justify-content: space-between; }

    .strip-grid { grid-template-columns: 1fr; }
    .strip-item { justify-content: flex-start; padding: 16px 0; }
    .strip-item + .strip-item { border-left: 0; border-top: 1px solid var(--line); }

    .cards-2, .cards-3, .rjesenje, .kontakt-grid, .o-grid, .usluga-grid { grid-template-columns: 1fr; }
    .rjesenje:nth-of-type(even) .rjesenje-media, .rjesenje:nth-of-type(even) .rjesenje-body { grid-column: 1; grid-row: auto; }
    .spec-grid { grid-template-columns: 1fr; }
    .o-media { aspect-ratio: 4 / 3; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .cta { flex-direction: column; align-items: flex-start; }
    .proces { grid-template-columns: 1fr; }
    .korak, .korak:nth-child(even) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
    .korak:first-child { border-top: 0; }
    .forma-red { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: minmax(0, 1fr); }
    .footer-links { justify-content: flex-start; }
    .ideja-grid { grid-template-columns: 1fr; }
    .projekt-head { flex-direction: column; align-items: flex-start; gap: 8px; }
    .galerija { grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(140px, 32vw); }
    .galerija .gal-item:first-child, .galerija-1 .gal-item:first-child { grid-column: span 2; grid-row: span 1; }
    .mreza { grid-template-columns: 1fr 1fr; }
    .mreza .gal-item:first-child { grid-column: span 2; grid-row: span 1; aspect-ratio: 3 / 2; }
    .gealan-grid { grid-template-columns: 1fr; }
    .izvedbe { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .hero-actions { gap: 18px; }
    .btn { padding: 12px 18px; }
    .hero-bar span:first-child { display: none; }
}
