/* Odvjetnički ured Zrinka Prlić: naslovnica v2. Paleta iz Fileona i Finyza. */
@font-face { font-family: "Plus Jakarta Sans"; src: url(assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Plus Jakarta Sans"; src: url(assets/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1EFF; }

:root {
  --ink: #121c27;      /* Finyz primary */
  --ink-2: #242e39;
  --body: #575757;     /* Fileon paragraph */
  --page: #f7f7f2;     /* Fileon page 02 */
  --page-2: #eeece6;   /* Fileon page 01 */
  --warm: #ece6e1;     /* Finyz secondary */
  --taupe: #8c8074;    /* Fileon fotografije */
  --gold: #d4c097;     /* Fileon zlatno-krem */
  --line: #dfdad2;
  --white: #fff;
  --radius: 10px;
  --font: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  --gutter: clamp(16px, 4.6vw, 54px);
  --section: clamp(72px, 9vw, 130px);
  --header: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--body); font: 400 16.5px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
h2, h3 { color: var(--ink); font-weight: 500; letter-spacing: -.025em; line-height: 1.14; }
h2 { font-size: clamp(32px, 3.7vw, 50px); }
h3 { font-size: clamp(21px, 1.75vw, 25px); }
:focus-visible { outline: 2px solid var(--taupe); outline-offset: 3px; }

.sprite { position: absolute; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.label { font-size: 13px; font-weight: 600; color: var(--taupe); letter-spacing: .01em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--radius); background: var(--white); color: var(--ink); }
.skip:focus { top: 16px; }

/* Gumbi */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border: 1px solid transparent; border-radius: 8px; font: 600 15px/1.2 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.ic--arrow { width: 17px; height: 17px; transition: transform .25s; }
.btn:hover .ic--arrow, a:hover > .ic--arrow, a:hover .more .ic--arrow { transform: translateX(4px); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--taupe); }
.btn--light { background: var(--page); color: var(--ink); }
.btn--light:hover { background: var(--gold); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }
.more { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink); }

/* Zaglavlje */
.site-header { position: sticky; top: 0; z-index: 50; color: var(--ink); transition: background-color .3s, box-shadow .3s; }
.site-header.is-solid { background: var(--warm); box-shadow: 0 1px 0 rgba(18, 28, 39, .09); }
.site-header__in { display: flex; align-items: center; gap: 28px; height: var(--header); }
.logo { display: block; width: 162px; flex: none; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; height: 100%; }
.nav__list { display: flex; align-items: center; gap: 28px; height: 100%; }
.nav__list > li { height: 100%; }
.nav__list > li > a { display: flex; align-items: center; height: 100%; font-size: 15px; font-weight: 500; text-decoration: none; }
.nav__list > li > a:hover { color: var(--taupe); }
.has-mega > a::after { content: ""; width: 6px; height: 6px; margin: -3px 2px 0 9px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .2s; }
.has-mega:hover > a::after, .has-mega.is-open > a::after { margin-top: 3px; transform: rotate(225deg); }
.lang { display: flex; gap: 2px; }
.lang a { display: block; padding: 6px 7px; font-size: 13px; font-weight: 600; text-decoration: none; opacity: .5; }
.lang a:hover, .lang a[aria-current] { opacity: 1; }
.lang a[aria-current] { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.site-header__cta { padding: 12px 18px; font-size: 14.5px; }
.burger { display: none; position: relative; width: 46px; height: 46px; margin-left: auto; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.burger i { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .25s, top .25s; }
.burger i:nth-of-type(1) { top: 18px; }
.burger i:nth-of-type(2) { top: 27px; }
.burger[aria-expanded="true"] i:nth-of-type(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:nth-of-type(2) { top: 22px; transform: rotate(-45deg); }

/* Mega meni */
.mega { position: absolute; left: 0; right: 0; top: 100%; padding-inline: var(--gutter); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__in { display: grid; grid-template-columns: minmax(0, 1fr) 300px; max-width: calc(1440px - 2 * var(--gutter)); margin-inline: auto; overflow: hidden; border-radius: 0 0 var(--radius) var(--radius); background: var(--white); box-shadow: 0 30px 60px rgba(18, 28, 39, .16); }
.mega__main { padding: 26px 34px 20px; }
.mega__list { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 36px; margin-top: 10px; }
.mega__list a { display: flex; align-items: center; gap: 14px; height: 100%; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.mega__list li:nth-last-child(-n+3) a { border-bottom: 0; }
.mega__list .ic { width: 36px; height: 36px; padding: 8px; border-radius: 8px; background: rgba(140, 128, 116, .14); color: #5b5349; transition: background-color .2s, color .2s; }
.mega__list strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.mega__list small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.35; color: var(--body); }
.mega__list a:hover .ic { background: var(--ink); color: var(--white); }
.mega__list a:hover strong { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.mega__side { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; background: var(--ink); color: var(--white); }
.mega__side .label { color: var(--gold); }
.mega__q { margin: 10px 0 auto; font-size: 20px; line-height: 1.35; font-weight: 500; letter-spacing: -.015em; }
.mega__tel { display: flex; align-items: center; gap: 10px; margin: 22px 0 14px; font-weight: 600; text-decoration: none; }

/* Hero */
.hero { --ph: clamp(440px, 40vw, 580px); position: relative; margin-top: calc(-1 * var(--header)); padding-top: var(--header); overflow: hidden; background: var(--warm); }
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .7; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.26fr) minmax(0, 1fr) minmax(0, .58fr); gap: 16px; align-items: end; padding-top: calc(var(--ph) * .22 + 18px); padding-bottom: 30px; }
.hero__text { align-self: end; padding-bottom: 6px; padding-right: clamp(8px, 3vw, 48px); }
.hero__kicker { margin-bottom: 18px; font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--ink); }
.hero__motto { color: var(--ink); font-size: clamp(38px, min(4.1vw, 7.4vh), 62px); font-weight: 500; line-height: 1.1; letter-spacing: -.035em; }
.hero__lead { max-width: 31em; margin-top: 20px; color: #3f3f3f; font-size: clamp(16px, 1.2vw, 17.5px); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero__stats { display: flex; align-items: stretch; margin-top: 30px; color: var(--ink); }
.hero__stats > div { padding: 2px 24px; border-left: 1px solid rgba(18, 28, 39, .18); }
.hero__stats > div:first-child { padding-left: 0; border-left: 0; }
.hero__stats dt { font-size: 30px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.hero__stats dd { margin-top: 4px; font-size: 13.5px; line-height: 1.3; color: #3f3f3f; }
.hero__park { display: flex; align-items: center; gap: 10px; max-width: 200px; }
.hero__park .ic { width: 24px; height: 24px; color: var(--ink); }
.hero__park dd { margin: 0; }

.hero__panel { position: relative; height: var(--ph); border-radius: var(--radius); background: var(--taupe); }
.hero__portrait { position: absolute; left: 50%; bottom: 0; width: auto; max-width: none; height: 122%; transform: translateX(-50%); }
.hero__side { display: flex; flex-direction: column; gap: 16px; height: var(--ph); }
.hcard { display: flex; flex: 1 1 0; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 20px; border-radius: var(--radius); text-decoration: none; font-size: 14px; line-height: 1.4; }
.hcard strong { font-size: clamp(25px, 2.3vw, 33px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.hcard--dark { background: var(--ink); color: #d9dbde; transition: background-color .25s; }
.hcard--dark:hover { background: var(--ink-2); }
.hcard--dark strong { color: var(--white); }
.hcard--warm { background: var(--gold); color: var(--ink); }
.avatars { display: flex; margin-bottom: auto; }
.avatars img { width: 40px; height: 40px; margin-left: -11px; border: 2px solid var(--ink); border-radius: 50%; }
.avatars img:first-child { margin-left: 0; }
.hero__quote { padding: 4px 4px 0; color: var(--ink); font-size: 17px; font-weight: 500; line-height: 1.3; letter-spacing: -.015em; }

/* Zajednički naslov */
.split-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px clamp(32px, 7vw, 110px); align-items: end; margin-bottom: clamp(36px, 4.4vw, 60px); }
.split-head .label { margin-bottom: 12px; }
.split-head--light h2 { color: var(--white); }
.split-head--light .label { color: var(--gold); }
.split-head--light > p { color: #c9cdd2; }

/* O uredu */
.about__head { display: grid; grid-template-columns: 1fr 3.1fr; gap: 24px; margin-bottom: clamp(40px, 5vw, 72px); }
.about__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.statement { color: var(--ink); font-size: clamp(26px, 2.9vw, 41px); font-weight: 500; line-height: 1.24; letter-spacing: -.028em; }
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.28fr) minmax(0, .92fr); gap: 16px; }
.about__photo { position: relative; overflow: hidden; border-radius: var(--radius); }
.about__photo img { width: 100%; height: 100%; min-height: 460px; border-radius: var(--radius); object-fit: cover; }
.about__text { display: flex; flex-direction: column; padding: clamp(24px, 2.8vw, 40px); border-radius: var(--radius); background: var(--page-2); }
.about__text h2 { margin-bottom: 14px; font-size: clamp(25px, 2.2vw, 32px); }
.about__list { margin-top: auto; padding-top: 22px; }
.about__list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid #dcd6cc; }
.about__list .ic { width: 22px; height: 22px; color: var(--taupe); }
.about__list span { font-size: 14.5px; line-height: 1.4; }
.about__list strong { display: block; color: var(--ink); font-size: 15.5px; font-weight: 600; }
.about__cards { display: grid; gap: 16px; grid-template-rows: 1.25fr 1fr; }
.mini { position: relative; display: block; padding: 24px; border-radius: var(--radius); background: var(--white); text-decoration: none; }
.mini__ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 8px; background: var(--page-2); color: var(--ink); }
.mini--dark .mini__ic { background: var(--ink-2); color: var(--gold); }
.mini h3 { margin-bottom: 8px; }
.mini p { font-size: 15px; line-height: 1.5; }
.mini--dark { background: var(--ink); transition: background-color .25s; }
.mini--dark:hover { background: var(--ink-2); }
.mini--dark h3 { color: var(--white); }
.mini--dark p { padding-right: 34px; color: #c9cdd2; }
.mini__go { position: absolute; right: 20px; bottom: 20px; color: var(--gold); }

/* Izdvojeno */
.featured { background: var(--page-2); }
.featured__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature { position: relative; display: block; overflow: hidden; border-radius: var(--radius); text-decoration: none; }
.feature img { width: 100%; height: clamp(420px, 42vw, 580px); object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.feature:hover img { transform: scale(1.03); }
.feature__card { position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 24px 26px; border-radius: var(--radius); background: var(--white); }
.feature__card h3 { margin-bottom: 8px; }
.feature__card p { font-size: 15.5px; line-height: 1.55; }
.feature__card .more { margin-top: 12px; }

/* Usluge */
.services__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.services__group { margin-bottom: 8px; color: var(--taupe); font-size: 13px; font-weight: 600; letter-spacing: .01em; line-height: 1.4; }
.srows li { border-top: 1px solid var(--line); }
.srows li:last-child { border-bottom: 1px solid var(--line); }
.srow { display: grid; grid-template-columns: 46px minmax(0, 1fr) 44px; gap: 22px; align-items: start; padding: 30px 0; color: var(--ink); text-decoration: none; }
.srow__ic { display: block; width: 46px; height: 46px; color: var(--ink); transition: color .25s; }
.srow__ic .ic { width: 46px; height: 46px; stroke-width: .8; }
.srow strong { display: block; margin-bottom: 8px; font-size: clamp(21px, 1.75vw, 25px); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.srow small { display: block; font-size: 15.5px; line-height: 1.55; color: var(--body); }
.srow__go { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; transition: background-color .25s, border-color .25s, color .25s; }
.srow:hover .srow__ic { color: var(--taupe); }
.srow:hover .srow__go { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* Koraci */
.steps { background: var(--ink); color: #c9cdd2; }
.stairs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: end; }
.stair { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; border-radius: var(--radius); }
.stair h3 { margin-bottom: 8px; }
.stair p { font-size: 15px; line-height: 1.5; }
.stair__n { margin-bottom: auto; padding-bottom: 28px; font-size: clamp(38px, 3.6vw, 52px); font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.stair--1 { height: 280px; background: var(--ink-2); }
.stair--1 h3, .stair--1 .stair__n { color: var(--white); }
.stair--2 { height: 340px; background: var(--taupe); color: #f5f1ec; }
.stair--2 h3, .stair--2 .stair__n { color: var(--white); }
.stair--3 { height: 400px; background: var(--gold); color: #3b3a33; }
.stair--3 h3, .stair--3 .stair__n { color: var(--ink); }
.stair--4 { height: 460px; background: var(--page); color: var(--body); }
.stair--4 h3, .stair--4 .stair__n { color: var(--ink); }
.stair .btn { margin-top: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tags li { padding: 4px 10px; border: 1px solid currentColor; border-radius: 6px; font-size: 13px; line-height: 1.4; }

/* Tim */
.team__panel { overflow: hidden; border-radius: var(--radius); background: var(--warm); }
.team__figure { padding-top: clamp(20px, 2.6vw, 36px); }
.team__figure img { width: 100%; }
.team__names { display: grid; grid-template-columns: repeat(6, 1fr); background: var(--ink); }
.team__names li { padding: 18px 10px; text-align: center; color: #c9cdd2; }
.team__names strong { display: block; color: var(--white); font-size: 15.5px; font-weight: 500; line-height: 1.3; }
.team__names span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.35; }
.team__names .is-lead { position: relative; padding-block: 26px 20px; margin-top: -10px; border-radius: 8px 8px 0 0; background: var(--gold); color: #3b3a33; }
.team__names .is-lead strong { color: var(--ink); font-size: 18px; font-weight: 600; }
.team__cta { display: flex; justify-content: center; margin-top: 32px; }

/* Stručni glas */
.voice { padding-top: 0; }
.voice__grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 16px; }
.press { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: clamp(26px, 3.2vw, 46px); border-radius: var(--radius); background: var(--page-2); text-decoration: none; transition: background-color .25s; }
.press:hover { background: var(--warm); }
.press blockquote { color: var(--ink); font-size: clamp(25px, 2.5vw, 36px); font-weight: 500; line-height: 1.15; letter-spacing: -.03em; }
.press__source { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; color: var(--taupe); font-size: 13.5px; font-weight: 600; }
.press__source img { width: auto; height: 21px; }
.press__meta { margin-bottom: 8px; color: var(--taupe); font-size: 13.5px; font-weight: 600; }
.press__body { max-width: 37em; }
.press__body h3 { margin-bottom: 8px; }
.press .tags { color: var(--taupe); }
.press__go { position: absolute; right: 26px; top: 26px; color: var(--ink); }
.press__go .ic { width: 26px; height: 26px; }
.journal { position: relative; display: block; min-height: 480px; overflow: hidden; border-radius: var(--radius); text-decoration: none; }
.journal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.journal:hover img { transform: scale(1.03); }
.journal__card { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 20px 22px; border-radius: var(--radius); background: var(--white); }
.journal__card h3 { margin-bottom: 6px; font-size: 21px; }
.journal__card p:last-child { font-size: 15px; line-height: 1.45; }

/* Kontakt */
.contact { background: var(--ink); color: var(--white); }
.contact__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact .label { color: var(--gold); }
.contact h2 { margin: 12px 0 32px; color: var(--white); }
.contact dl > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 15px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.contact dt { font-size: 14px; color: var(--gold); }
.contact dd { font-size: 16px; line-height: 1.55; overflow-wrap: anywhere; }
.contact dd a { text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .4); }
.form { display: grid; gap: 22px; padding: clamp(24px, 3.2vw, 42px); border-radius: var(--radius); background: #242e39; color: var(--white); }
.form h3 { color: var(--white); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form label { display: grid; gap: 2px; color: #c9cdd2; font-size: 14px; font-weight: 500; }
.form input:not([type="checkbox"]), .form textarea { width: 100%; padding: 8px 0 10px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .28); border-radius: 0; background: transparent; color: var(--white); font: 400 16px/1.4 var(--font); transition: border-color .2s; }
.form input:not([type="checkbox"]):focus, .form textarea:focus { outline: 0; border-bottom-color: var(--gold); }
.form input:-webkit-autofill { -webkit-text-fill-color: var(--white); box-shadow: inset 0 0 0 40px #242e39; caret-color: var(--white); }
.form textarea { resize: vertical; }
.form .form__check { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; color: #c9cdd2; font-size: 14px; font-weight: 400; line-height: 1.45; }
.form__check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--gold); }
.form .btn { justify-self: start; }
.form__msg { color: var(--gold); font-size: 15px; }

/* Podnožje, po uzoru na Fileon */
.footer { overflow: hidden; padding-top: clamp(32px, 3.6vw, 52px); background: #0b1219; color: #fff; font-size: 16px; font-weight: 300; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; padding-bottom: clamp(40px, 4.4vw, 60px); }
.footer__logo { width: 186px; }
.footer__slogan { max-width: 19em; margin-bottom: clamp(48px, 6vw, 84px); padding-top: clamp(24px, 3vw, 44px); color: var(--white); font-size: clamp(34px, 4.5vw, 62px); font-weight: 500; line-height: 1.12; letter-spacing: -.035em; }
.footer h2 { color: var(--gold); font-size: 13.5px; font-weight: 500; letter-spacing: .02em; line-height: 1.4; }
.footer__brand h2 { margin-top: 34px; margin-bottom: 8px; }
.footer__contact li { padding: 2px 0; font-size: 15.5px; overflow-wrap: anywhere; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.footer__cols { display: flex; }
.footer__cols nav { min-width: 196px; padding: 2px 36px 2px 30px; border-left: 1px solid rgba(255, 255, 255, .09); }
.footer__cols nav:last-child { padding-right: 0; }
.footer__cols h2 { margin-bottom: 34px; }
.footer__cols li { padding: 4px 0; line-height: 1.4; }
.footer__rule { border-top: 1px solid rgba(255, 255, 255, .09); }
.footer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 20px; font-size: 15px; }
.footer__bar span { margin-inline: 4px; opacity: .4; }
.lang--footer { margin-left: -7px; }
.lang--footer a { font-size: 14px; opacity: .6; }

html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: hidden; }
.ln-mask { margin-block: -.14em; padding-block: .14em; }
.blocks { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(6, 1fr); pointer-events: none; }
.blocks i { display: block; margin: -.5px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 8px; background: var(--ink); color: var(--white); font-size: 14.5px; box-shadow: 0 16px 40px rgba(18, 28, 39, .28); transform: translateX(-50%); }

/* Ulaz elemenata */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .stair.reveal { transform: translateY(60px); }
.js .stair.reveal.is-in { transform: none; }
.js .stair--2 { transition-delay: .1s; }
.js .stair--3 { transition-delay: .2s; }
.js .stair--4 { transition-delay: .3s; }
.js .hero__text > :not(.hero__motto), .js .hero__side > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.js .hero__motto { opacity: 0; animation: show .01s 2.5s forwards; }
.js .hero__lead { animation-delay: .14s; }
.js .hero__cta { animation-delay: .22s; }
.js .hero__stats { animation-delay: .3s; }
.js .hero__side > :nth-child(2) { animation-delay: .12s; }
.js .hero__side > :nth-child(3) { animation-delay: .2s; }
.js .hero__panel { animation: rise 1s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes show { to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .stair.reveal { opacity: 1; transform: none; transition: none; }
  .js .hero__text > *, .js .hero__side > *, .js .hero__panel { animation: none; opacity: 1; }
  .feature:hover img, .journal:hover img { transform: none; }
}

@media (max-width: 1240px) {
  .site-header__cta { display: none; }
  .hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .hero__side { grid-column: 1 / -1; flex-direction: row; height: auto; }
  .hcard { min-height: 170px; }
  .hero__quote { flex: 1 1 0; align-self: center; font-size: 22px; }
  .about__grid { grid-template-columns: 1fr 1.3fr; }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .footer__cols nav:first-child { padding-left: 0; border-left: 0; }
  .about__cards { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .mega__in { grid-template-columns: minmax(0, 1fr) 240px; }
  .mega__list { column-gap: 20px; }
  .mega__list small { display: none; }
}

@media (max-width: 980px) {
  :root { --header: 72px; }
  .burger { display: block; }
  .logo { width: 146px; position: relative; z-index: 2; }
  .burger { position: relative; z-index: 2; }
  .nav { position: fixed; inset: 0; z-index: 1; display: block; height: auto; margin: 0; padding: 92px var(--gutter) 40px; overflow-y: auto; background: var(--warm); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
  .nav__list { display: block; height: auto; }
  .nav__list > li { height: auto; border-bottom: 1px solid rgba(18, 28, 39, .13); }
  .nav__list > li > a { justify-content: space-between; height: auto; padding: 15px 0; font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
  .has-mega > a::after, .has-mega:hover > a::after { width: 9px; height: 9px; margin: -4px 4px 0 0; transform: rotate(45deg); }
  .has-mega.is-open > a::after { margin-top: 5px; transform: rotate(225deg); }
  .mega, .has-mega:hover .mega, .has-mega:focus-within .mega { display: grid; grid-template-rows: 0fr; position: static; padding: 0; opacity: 1; visibility: visible; transform: none; transition: grid-template-rows .32s ease; }
  .has-mega.is-open .mega { grid-template-rows: 1fr; }
  .mega__in { display: block; min-height: 0; border-radius: 0; background: none; box-shadow: none; }
  .mega__main { padding: 0 0 10px; }
  .mega__main > .label, .mega__side { display: none; }
  .mega__list { grid-template-columns: 1fr; margin: 0; }
  .mega__list li:last-child a { border-bottom: 0; }
  .mega__list a, .mega__list li:nth-last-child(-n+3):not(:last-child) a { padding: 9px 0; border-bottom: 1px solid rgba(18, 28, 39, .09); }
  .mega__list strong { font-weight: 500; }
  .mega__list small { display: none; }
  .mega__list .ic { width: 30px; height: 30px; padding: 6px; background: rgba(140, 128, 116, .16); color: #5b5349; }
  .lang { margin-top: 18px; }
  .lang a { font-size: 15px; }

  .hero__grid { grid-template-columns: minmax(0, 1fr); padding-top: 36px; }
  .site-header { background: var(--warm); }
  .hero__text { padding-right: 0; }
  .hero__motto { font-size: clamp(36px, 7vw, 56px); }
  .hero { --ph: min(96vw, 560px); }
  .hero__panel { margin-top: 84px; }
  .hero__side { grid-column: auto; flex-wrap: wrap; }
  .hcard { flex: 1 1 42%; }
  .hero__quote { flex: 1 1 100%; }

  .split-head, .about__head, .featured__grid, .services__cols, .voice__grid, .contact__in { grid-template-columns: minmax(0, 1fr); }
  .about__grid { grid-template-columns: minmax(0, 1fr); }
  .about__photo { position: relative; overflow: hidden; border-radius: var(--radius); }
.about__photo img { min-height: 0; max-height: 520px; }
  .stairs { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .stair { height: auto; min-height: 230px; }
  .team__names { grid-template-columns: repeat(3, 1fr); }
  .team__names .is-lead { margin-top: 0; padding-block: 18px; border-radius: 0; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  .hero__cta .btn { justify-content: center; flex: 1 1 100%; }
  .hero__stats > div { padding-inline: 14px; }
  .hero__panel { margin-top: 70px; }
  .avatars img { width: 30px; height: 30px; margin-left: -9px; }
  .feature img { height: 280px; }
  .feature__card { position: static; border-radius: 0 0 var(--radius) var(--radius); }
  .about__cards { grid-template-columns: 1fr; }
  .stairs { grid-template-columns: 1fr; }
  .stair { min-height: 0; }
  .stair__n { padding-bottom: 14px; }
  .js .stair--2, .js .stair--3, .js .stair--4 { transition-delay: 0s; }
  .team__figure { padding-inline: 0; }
  .team__figure img { width: 100%; }
  .team__names { grid-template-columns: 1fr 1fr; }
  .team__names .is-lead { order: -1; grid-column: 1 / -1; margin-top: 0; padding-block: 16px; border-radius: 0; }
  .journal { min-height: 420px; }
  .contact dl > div { grid-template-columns: 1fr; gap: 2px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__cols { flex-wrap: wrap; gap: 32px 0; }
  .footer__cols nav { flex: 1 1 50%; min-width: 0; padding: 0 12px 0 0; border-left: 0; }
  .footer__cols h2 { margin-bottom: 12px; }
  .srow { grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 22px 0; }
  .srow__ic, .srow__ic .ic { width: 40px; height: 40px; }
  .srow__go { display: none; }
}


/* Stranica usluge */
.hero--page { --ph: auto; }
.page-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(32px, 4vw, 56px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; color: var(--ink); font-size: 14px; }
.crumbs a { text-decoration: none; opacity: .7; }
.crumbs a:hover { opacity: 1; }
.crumbs span { opacity: .45; }
.crumbs [aria-current] { font-weight: 600; opacity: 1; }
.page-title { color: var(--ink); font-size: clamp(32px, 3.7vw, 52px); font-weight: 500; line-height: 1.12; letter-spacing: -.033em; }
.page-lead { max-width: 34em; margin-top: 20px; color: #3f3f3f; font-size: clamp(16.5px, 1.25vw, 18px); }
.page-hero__img { position: relative; overflow: hidden; border-radius: var(--radius); }
.page-hero__img img { width: 100%; height: clamp(320px, 33vw, 470px); object-fit: cover; }

.overview { padding-bottom: clamp(48px, 6vw, 80px); }
.ov-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ov-card { padding: 26px 24px 18px; border-radius: var(--radius); background: var(--page-2); }
.ov-card__ic { display: block; margin-bottom: 18px; color: var(--ink); }
.ov-card__ic .ic { width: 34px; height: 34px; stroke-width: 1.1; }
.ov-card h3 { margin-bottom: 12px; font-size: 20px; line-height: 1.2; }
.ov-card li { border-top: 1px solid #dcd6cc; }
.ov-card a { display: block; padding: 9px 0; color: var(--ink); font-size: 15px; line-height: 1.35; text-decoration: none; }
.ov-card a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.svc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); padding-bottom: var(--section); }
.toc__in { position: sticky; top: 108px; }
.toc ul { margin-top: 12px; border-left: 1px solid var(--line); }
.toc li a { position: relative; display: block; padding: 8px 0 8px 16px; color: var(--body); font-size: 15px; line-height: 1.35; text-decoration: none; transition: color .2s; }
.toc li a::before { content: ""; position: absolute; left: -1px; top: 8px; bottom: 8px; width: 2px; background: var(--ink); transform: scaleY(0); transition: transform .25s; }
.toc li a:hover, .toc li a.is-active { color: var(--ink); }
.toc li a.is-active { font-weight: 600; }
.toc li a.is-active::before { transform: none; }
.toc__cta { margin-top: 26px; padding: 18px; border-radius: var(--radius); background: var(--ink); color: var(--white); }
.toc__cta strong { display: block; margin-bottom: 10px; font-size: 16px; font-weight: 500; line-height: 1.3; }
.toc__cta a { display: flex; align-items: center; gap: 8px; color: var(--gold); font-size: 15px; font-weight: 600; text-decoration: none; }
.svc__sec { scroll-margin-top: 100px; padding-bottom: clamp(44px, 5vw, 68px); }
.svc__sec h2 { font-size: clamp(27px, 2.6vw, 37px); }
.svc__intro { margin: 10px 0 24px; }
.defs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.def { padding: 24px 22px; border-radius: var(--radius); background: var(--warm); }
.def h3 { margin-bottom: 10px; font-size: 21px; }
.def p { font-size: 15px; line-height: 1.55; }
.callout { margin-top: 14px; padding: clamp(24px, 2.6vw, 34px); border-radius: var(--radius); background: var(--ink); color: #c9cdd2; }
.callout h3 { margin-bottom: 12px; color: var(--white); }
.callout p { font-size: 15.5px; line-height: 1.6; }
.callout p + p { margin-top: 10px; }
.acc { scroll-margin-top: 100px; border-top: 1px solid var(--line); }
.acc:last-of-type { border-bottom: 1px solid var(--line); }
.acc summary { position: relative; padding: 19px 44px 19px 0; color: var(--ink); font-size: clamp(18px, 1.5vw, 21px); font-weight: 500; letter-spacing: -.015em; line-height: 1.3; list-style: none; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::before, .acc summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 15px; height: 1.5px; background: var(--ink); transition: transform .25s; }
.acc summary::after { transform: rotate(90deg); }
.acc[open] summary::after { transform: rotate(0); }
.acc__body { padding: 0 44px 24px 0; font-size: 15.5px; line-height: 1.6; }
.acc__body h4 { margin: 22px 0 8px; color: var(--ink); font-size: 16px; font-weight: 600; }
.acc__body h4:first-child { margin-top: 0; }
.acc__body p + p, .acc__body p + ul, .acc__body ul + p { margin-top: 10px; }
.acc__body ul:not(.chips) li { position: relative; padding: 5px 0 5px 18px; }
.acc__body ul:not(.chips) li::before { content: ""; position: absolute; left: 0; top: 15px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border-radius: 6px; background: var(--warm); color: var(--ink); font-size: 14.5px; line-height: 1.35; }
.svc__img { position: relative; overflow: hidden; margin-bottom: clamp(44px, 5vw, 68px); border-radius: var(--radius); }
.svc__img img { width: 100%; height: clamp(220px, 24vw, 340px); object-fit: cover; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.tiles li { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--radius); background: var(--page-2); color: var(--ink); font-size: 16px; font-weight: 500; line-height: 1.35; }
.tiles .ic { width: 30px; height: 30px; stroke-width: 1.1; }
.tiles__wide { grid-column: 1 / -1; }
.svc__sec:last-child { padding-bottom: 0; }

.related { background: var(--page-2); }
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rel { display: block; padding: 26px 24px; border-radius: var(--radius); background: var(--page); color: var(--ink); text-decoration: none; transition: background-color .25s, color .25s; }
.rel .ic { display: block; width: 34px; height: 34px; margin-bottom: 18px; stroke-width: 1.1; }
.rel strong { display: block; margin-bottom: 4px; font-size: 21px; font-weight: 500; letter-spacing: -.02em; }
.rel span { font-size: 15px; color: var(--body); transition: color .25s; }
.rel:hover { background: var(--ink); color: var(--white); }
.rel:hover span { color: #c9cdd2; }

@media (max-width: 1240px) {
  .ov-grid { grid-template-columns: 1fr 1fr; }
  .defs { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .page-hero { grid-template-columns: minmax(0, 1fr); }
  .svc { grid-template-columns: minmax(0, 1fr); }
  .toc__in { position: static; }
  .toc ul { display: flex; gap: 6px; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: 6px; border: 0; scrollbar-width: none; }
  .toc li a { padding: 7px 12px; border-radius: 6px; background: var(--page-2); white-space: nowrap; }
  .toc li a::before, .toc__cta { display: none; }
  .rel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ov-grid, .tiles { grid-template-columns: 1fr; }
  .acc__body { padding-right: 0; }
  .js .page-title { font-size: clamp(30px, 8vw, 36px); }
}
