/* ==========================================================================
   Poliklinika Duvnjak – javna stranica
   Mobile-first. Prijelomi: 640 / 900 / 1100 px
   ========================================================================== */

@font-face {
    font-family: 'Jakarta';
    src: url('../fonts/jakarta-latin-ext.woff2') format('woff2');
    font-weight: 200 800;
    font-display: swap;
    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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Jakarta';
    src: url('../fonts/jakarta-latin.woff2') format('woff2');
    font-weight: 200 800;
    font-display: swap;
    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;
}

:root {
    /* Boje – primarna plava preuzeta s postojećeg weba (#13a0f2) */
    --brand: #13a0f2;
    --brand-600: #0b87d2;
    --brand-700: #0a6eae;
    --brand-50: #eef8ff;
    --brand-100: #d8eefd;
    --ink: #0b2a4a;
    --ink-2: #33506b;
    --muted: #5f7489;
    --line: #e2eaf2;
    --bg: #ffffff;
    --bg-soft: #f4f8fc;
    --success: #10a37f;
    --danger: #d64545;

    --font: 'Jakarta', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(11, 42, 74, .06), 0 2px 8px rgba(11, 42, 74, .04);
    --shadow: 0 4px 12px rgba(11, 42, 74, .06), 0 16px 40px rgba(11, 42, 74, .08);
    --shadow-lg: 0 12px 24px rgba(11, 42, 74, .08), 0 32px 64px rgba(11, 42, 74, .12);
    --container: 1200px;
    --gutter: 16px;
    --header-h: 68px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1100px) { :root { --header-h: 84px; } }

/* --------------------------------------------------------------------------
   Osnova
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-2);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
@media (max-width: 1099px) { body { padding-bottom: 72px; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

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

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }

.text-brand { color: var(--brand-600); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--brand-700); margin: 0 0 12px;
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(19, 160, 242, .18); }

/* --------------------------------------------------------------------------
   Gumbi
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 10px 20px;
    font-weight: 650; font-size: .95rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
    border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
    transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.btn .ico { width: 1.1em; height: 1.1em; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--primary { background: var(--brand-600); color: #fff; box-shadow: 0 6px 18px rgba(11, 135, 210, .28); }
.btn--primary:hover { background: var(--brand-700); color: #fff; box-shadow: 0 10px 24px rgba(11, 135, 210, .34); }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--brand); color: var(--brand-700); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--brand-50); color: var(--brand-700); }
.btn--ghost-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .16); color: #fff; border-color: #fff; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .88rem; }
.btn--lg { min-height: 54px; padding: 14px 26px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.btn.is-loading::after { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; color: var(--brand-700); }
.link-arrow .ico { transition: transform .2s var(--ease); width: 1.05em; height: 1.05em; }
.link-arrow:hover .ico { transform: translateX(3px); }

.linklike { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.badge { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--brand-100); color: var(--brand-700); vertical-align: middle; }

/* --------------------------------------------------------------------------
   Topbar + header
   -------------------------------------------------------------------------- */
.topbar { display: none; background: var(--ink); color: rgba(255, 255, 255, .78); font-size: .84rem; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 24px; }
.topbar__right { display: flex; gap: 24px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.topbar a.topbar__item:hover { color: #fff; }
.topbar__item .ico { width: 15px; height: 15px; color: var(--brand); }
.topbar__muted { opacity: .65; }
@media (min-width: 1100px) { .topbar { display: block; } }

.header {
    position: sticky; top: 0; z-index: 100;
    background: #fff;
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
/* backdrop-filter samo na desktopu: na mobitelu bi postao containing block za fiksni izbornik */
@media (min-width: 1100px) {
    .header { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); }
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(11, 42, 74, .06); }
.header__in { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }

.logo { display: inline-flex; flex: none; margin-right: auto; }
.logo__img {
    display: block; width: 210px; aspect-ratio: 600 / 92;
    background: var(--ink);
    -webkit-mask: url('../img/logo-bijeli.png') center / contain no-repeat;
    mask: url('../img/logo-bijeli.png') center / contain no-repeat;
}
@media (min-width: 1100px) { .logo__img { width: 250px; } }

.header__cta { display: none; align-items: center; gap: 18px; }
.header__phone { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; line-height: 1.15; white-space: nowrap; }
.header__phone small { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.header__phone-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-50); color: var(--brand-600); transition: background-color .2s; }
.header__phone:hover .header__phone-ico { background: var(--brand-100); }
.header__phone .ico { width: 18px; height: 18px; }
@media (min-width: 1100px) { .header__cta { display: flex; } }

.burger { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.burger .ico { width: 22px; height: 22px; }
.burger__close { display: none; }
.nav-open .burger__open { display: none; }
.nav-open .burger__close { display: block; }
@media (min-width: 1100px) { .burger { display: none; } }

/* Navigacija – mobilno: panel ispod headera */
.nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    background: #fff; overflow-y: auto; overscroll-behavior: contain;
    padding: 12px var(--gutter) 32px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav-open { overflow: hidden; }
.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
.nav__list { list-style: none; }
.nav__list > li { border-bottom: 1px solid var(--line); }
.nav__link { display: flex; align-items: center; padding: 16px 4px; font-size: 1.1rem; font-weight: 650; color: var(--ink); text-decoration: none; }
.nav__link[aria-current="page"] { color: var(--brand-600); }
.nav__split { display: flex; align-items: center; justify-content: space-between; }
.nav__toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: var(--bg-soft); border-radius: 10px; color: var(--ink); cursor: pointer; }
.nav__toggle .ico { transition: transform .2s var(--ease); }
.nav__item--dd.is-open .nav__toggle .ico { transform: rotate(180deg); }

.dropdown { display: none; padding: 0 0 12px; }
.nav__item--dd.is-open .dropdown { display: block; }
.dropdown__grid { list-style: none; display: grid; gap: 4px; }
.dropdown__link { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.dropdown__link:hover, .dropdown__link[aria-current="page"] { background: var(--brand-50); color: var(--ink); }
.dropdown__ico { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--brand-50); color: var(--brand-600); }
.dropdown__link:hover .dropdown__ico { background: #fff; }
.dropdown__txt strong { display: block; font-weight: 650; font-size: .98rem; }
.dropdown__txt small { display: none; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.dropdown__all { display: none; }

.nav__mobile-info { display: grid; gap: 10px; padding-top: 24px; }
.nav__mobile-adr { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: .92rem; margin: 6px 0 0; }

@media (min-width: 1100px) {
    .nav { position: static; inset: auto; padding: 0; background: none; overflow: visible; opacity: 1; visibility: visible; transform: none; margin-right: 8px; }
    .nav__list { display: flex; align-items: center; gap: 2px; }
    .nav__list > li { border: 0; position: relative; }
    .nav__link { padding: 10px 14px; font-size: .95rem; border-radius: 999px; position: relative; transition: color .2s; }
    .nav__link:hover { color: var(--brand-600); }
    .nav__link[aria-current="page"]::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--brand); }
    .nav__split { gap: 0; }
    .nav__item--dd .nav__link { padding-right: 4px; }
    .nav__toggle { width: 28px; height: 28px; background: none; }
    .nav__toggle .ico { width: 16px; height: 16px; }
    .nav__mobile-info { display: none; }

    .dropdown {
        display: block; position: absolute; top: calc(100% + 14px); left: 50%;
        width: 640px; padding: 16px; border-radius: var(--radius-lg);
        background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
        opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
        transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
    }
    .dropdown::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* most za hover */
    .nav__item--dd:hover .dropdown, .nav__item--dd:focus-within .dropdown, .nav__item--dd.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
    .nav__item--dd:hover .nav__toggle .ico { transform: rotate(180deg); }
    .dropdown__grid { grid-template-columns: 1fr 1fr; }
    .dropdown__link { align-items: flex-start; padding: 12px; }
    .dropdown__txt small { display: block; margin-top: 2px; }
    .dropdown__all { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; padding: 12px; border-radius: 12px; background: var(--bg-soft); font-weight: 650; font-size: .9rem; text-decoration: none; }
    .dropdown__all .ico { width: 16px; height: 16px; }
}

.header--lp .header__in { justify-content: space-between; }
.header__phone--lp { display: inline-flex; }
@media (max-width: 480px) { .header--lp .header__phone small { display: none; } .header--lp .logo__img { width: 170px; } }

/* --------------------------------------------------------------------------
   Sekcije
   -------------------------------------------------------------------------- */
.section { padding: 64px 0; }
.section--tight { padding: 40px 0 64px; }
.section--flush { padding: 0 0 64px; }
.section--soft { background: var(--bg-soft); }
@media (min-width: 900px) { .section { padding: 96px 0; } .section--tight { padding: 56px 0 96px; } .section--flush { padding-bottom: 96px; } }

.section__head { max-width: 760px; margin-bottom: 36px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section__head--split > div { max-width: 640px; }
.section__title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); margin-bottom: 14px; }
.section__lead { font-size: 1.08rem; color: var(--muted); margin: 0; }

.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul:not(.kvacice), .prose ol:not(.koraci) { padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .35em; }
.prose--lg { font-size: 1.06rem; }
.prose .napomena { padding: 12px 16px; border-radius: var(--radius-sm); background: #fff6e6; color: #7a5200; font-size: .94rem; }

.kvacice { list-style: none; display: grid; gap: 10px; }
.kvacice li { position: relative; padding-left: 34px; margin: 0; }
.kvacice li::before {
    content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
    background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b87d2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (min-width: 640px) { .kvacice { grid-template-columns: 1fr 1fr; column-gap: 24px; } }

.koraci { list-style: none; counter-reset: k; display: grid; gap: 12px; margin-bottom: 1em; }
.koraci li { counter-increment: k; position: relative; padding-left: 42px; margin: 0; }
.koraci li::before { content: counter(k); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .82rem; font-weight: 700; background: var(--brand-600); color: #fff; }

/* --------------------------------------------------------------------------
   Hero (naslovnica)
   -------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 40px 0 56px; background: linear-gradient(180deg, var(--brand-50) 0%, #fff 100%); }
.hero::before {
    content: ''; position: absolute; width: 720px; height: 720px; right: -260px; top: -280px; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(19, 160, 242, .18), rgba(19, 160, 242, 0));
    pointer-events: none;
}
.hero__grid { position: relative; display: grid; gap: 48px; align-items: center; }
.hero__title { font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; word-spacing: .04em; margin-bottom: 20px; }
.hero__title .text-brand { display: block; }
.hero__lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--ink-2); max-width: 560px; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero__checks { list-style: none; display: grid; gap: 10px; }
.hero__checks li { display: flex; align-items: center; gap: 10px; font-weight: 550; color: var(--ink); }
.hero__checks .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--success); color: #fff; stroke-width: 3; }

.hero__media { position: relative; max-width: 520px; margin-inline: auto; width: 100%; }
.hero__photo { border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.6; background: var(--brand-100); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

.float-card {
    position: absolute; display: flex; align-items: center; gap: 12px;
    padding: 12px 16px 12px 12px; border-radius: 18px; background: #fff;
    box-shadow: var(--shadow); text-decoration: none; color: var(--ink); line-height: 1.25;
    max-width: 290px;
}
.float-card strong { display: block; font-size: .92rem; }
.float-card small { display: block; font-size: .78rem; color: var(--muted); }
.float-card__ico { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); }
.float-card__ico--alt { background: var(--ink); color: #fff; }
.float-card__price { font-size: 1.4rem !important; color: var(--brand-700); letter-spacing: -.02em; }
.float-card--top { left: -12px; top: 28px; }
.float-card--bottom { right: -12px; bottom: 28px; transition: transform .2s var(--ease); }
.float-card--bottom:hover { transform: translateY(-3px); color: var(--ink); }
/* Ispod desktopa kartica s imenom ide dolje lijevo (iznad cijene) da ne prekriva lice */
@media (max-width: 899px) {
    .float-card--top { top: auto; bottom: 124px; }
}
@media (max-width: 639px) {
    .float-card--top { left: 8px; bottom: 108px; max-width: 250px; }
    .float-card--bottom { right: 8px; bottom: 12px; }
}

@media (min-width: 900px) {
    .hero { padding: 72px 0 96px; }
    .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 64px; }
    .float-card--top { left: -40px; }
    .float-card--bottom { right: -28px; }
}

/* Traka povjerenja */
.trust { border-block: 1px solid var(--line); background: #fff; }
.trust__grid { display: grid; grid-template-columns: 1fr 1fr; }
.trust__item { display: flex; align-items: flex-start; gap: 12px; padding: 20px 8px; line-height: 1.35; }
.trust__item .ico { width: 26px; height: 26px; color: var(--brand-600); margin-top: 2px; }
.trust__item strong { display: block; color: var(--ink); font-size: .93rem; }
.trust__item small { color: var(--muted); font-size: .82rem; }
@media (min-width: 900px) {
    .trust__grid { grid-template-columns: repeat(4, 1fr); }
    .trust__item { padding: 28px 20px; }
    .trust__item + .trust__item { border-left: 1px solid var(--line); }
}
@media (max-width: 899px) {
    .trust__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* --------------------------------------------------------------------------
   Kartice djelatnosti
   -------------------------------------------------------------------------- */
.services-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .services-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.service-card {
    position: relative; display: flex; flex-direction: column; gap: 10px;
    padding: 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
    text-decoration: none; color: var(--ink-2);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
a.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink-2); }
.service-card__ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--brand-50); color: var(--brand-600); margin-bottom: 6px; transition: background-color .25s, color .25s; }
.service-card__ico .ico { width: 26px; height: 26px; }
a.service-card:hover .service-card__ico { background: var(--brand-600); color: #fff; }
.service-card__title { font-size: 1.18rem; margin: 0; }
.service-card__text { font-size: .93rem; color: var(--muted); margin: 0 0 8px; flex: 1; }
.service-card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: .9rem; color: var(--brand-700); }
.service-card__more .ico { width: 16px; height: 16px; transition: transform .2s var(--ease); }
a.service-card:hover .service-card__more .ico { transform: translateX(4px); }
.service-card--cta { background: linear-gradient(145deg, var(--ink) 0%, #12406b 100%); border-color: transparent; color: rgba(255, 255, 255, .8); }
.service-card--cta .service-card__title { color: #fff; }
.service-card--cta .service-card__text { color: rgba(255, 255, 255, .75); }
.service-card--cta .service-card__ico { background: rgba(255, 255, 255, .1); color: #fff; }
.service-card--cta .btn { align-self: flex-start; }

/* Istaknuto (naslovnica) */
.feature { display: grid; gap: 40px; align-items: center; }
.feature__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
@media (min-width: 900px) { .feature { grid-template-columns: .9fr 1.1fr; gap: 72px; } .feature__media { aspect-ratio: 4 / 4.4; } }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.chips li { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--ink); }

.price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.price-tag { display: flex; flex-direction: column; line-height: 1.1; padding-right: 24px; border-right: 1px solid var(--line); }
.price-tag small { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--muted); }
.price-tag strong { font-size: 2.2rem; color: var(--ink); letter-spacing: -.03em; }

/* Koraci */
.steps { list-style: none; display: grid; gap: 20px; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.step { position: relative; padding: 28px; border-radius: var(--radius-lg); background: var(--bg-soft); }
.step__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--brand-600); color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 18px; }
.step__title { font-size: 1.2rem; }
.step p { margin: 0; font-size: .96rem; }
.steps--compact { grid-template-columns: 1fr !important; gap: 12px; }
.steps--compact .step { display: flex; gap: 16px; align-items: center; padding: 16px 20px; background: #fff; }
.steps--compact .step__num { margin: 0; flex: none; width: 36px; height: 36px; }

/* --------------------------------------------------------------------------
   Tim
   -------------------------------------------------------------------------- */
.team-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .team-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.team-grid--single { grid-template-columns: 1fr !important; max-width: 920px; }

.team-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: box-shadow .25s var(--ease); }
.team-card:hover { box-shadow: var(--shadow); }
.team-card__photo { aspect-ratio: 4 / 4.2; background: var(--brand-50); overflow: hidden; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform .5s var(--ease); }
.team-card:hover .team-card__photo img { transform: scale(1.03); }
.team-card__body { padding: 22px 24px 26px; }
.team-card__name { font-size: 1.12rem; margin-bottom: 4px; }
.team-card__role { color: var(--brand-700); font-weight: 600; font-size: .9rem; margin-bottom: 12px; }
.team-card__excerpt { font-size: .92rem; color: var(--muted); margin: 0; }
.team-card__bio p { font-size: .94rem; margin-bottom: .7em; }
.team-card__bio p:last-child { margin: 0; }

.team-list { display: grid; gap: 24px; }
.team-list .team-card, .team-grid--single .team-card { display: grid; }
@media (min-width: 760px) {
    .team-list .team-card, .team-grid--single .team-card { grid-template-columns: 280px 1fr; }
    .team-list .team-card__photo, .team-grid--single .team-card__photo { aspect-ratio: auto; min-height: 100%; }
    .team-list .team-card__body, .team-grid--single .team-card__body { padding: 32px 36px; }
}
@media (min-width: 1100px) { .team-list { grid-template-columns: 1fr 1fr; } .team-list .team-card { grid-template-columns: 220px 1fr; } }
/* Prvi član (voditelj) preko cijele širine, ostali po dva u redu ispod */
@media (min-width: 760px) {
    .team-list .team-card__photo { min-height: 330px; }
}
@media (min-width: 1100px) {
    .team-list .team-card:first-child { grid-column: 1 / -1; grid-template-columns: 360px 1fr; }
    .team-list .team-card:first-child .team-card__photo { min-height: 440px; }
    .team-list .team-card:first-child .team-card__body { padding: 44px 52px; }
    .team-list .team-card:first-child .team-card__bio { column-count: 2; column-gap: 48px; }
    .team-list .team-card:first-child .team-card__bio p { break-inside: avoid; }
}

/* --------------------------------------------------------------------------
   Lokacija i karta
   -------------------------------------------------------------------------- */
.location__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .location__grid { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.location__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.info-list { list-style: none; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list strong { display: block; color: var(--ink); }
.info-list__ico { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); }
.info-list__ico .ico { width: 20px; height: 20px; }
.info-list--sm { gap: 12px; font-size: .92rem; }
.info-list--sm .info-list__ico { width: 34px; height: 34px; border-radius: 10px; }

.map { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 340px; background: var(--brand-50); border: 1px solid var(--line); }
.map__placeholder {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 24px;
    background:
        linear-gradient(rgba(238, 248, 255, .86), rgba(238, 248, 255, .86)),
        repeating-linear-gradient(0deg, transparent 0 38px, rgba(11, 135, 210, .12) 38px 40px),
        repeating-linear-gradient(90deg, transparent 0 38px, rgba(11, 135, 210, .12) 38px 40px);
}
.map__placeholder p { margin: 0; color: var(--ink); }
.map__placeholder small { color: var(--muted); font-size: .78rem; }
.map__pin { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--brand-600); color: #fff; box-shadow: 0 0 0 10px rgba(19, 160, 242, .16); }
.map__pin .ico { width: 26px; height: 26px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map.is-loaded .map__placeholder { display: none; }
@media (min-width: 900px) { .map { min-height: 440px; } }

/* --------------------------------------------------------------------------
   CTA traka
   -------------------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; padding: 56px 0; background: linear-gradient(120deg, var(--ink) 0%, #0f3d68 55%, var(--brand-700) 100%); color: rgba(255, 255, 255, .82); }
.cta-band::after { content: ''; position: absolute; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(19, 160, 242, .35), transparent); pointer-events: none; }
.cta-band__in { position: relative; z-index: 1; display: grid; gap: 28px; align-items: center; }
.cta-band__title { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin-bottom: 8px; }
.cta-band p { margin: 0; max-width: 560px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-band { padding: 72px 0; } .cta-band__in { grid-template-columns: 1fr auto; gap: 48px; } }

/* --------------------------------------------------------------------------
   Zaglavlje podstranica
   -------------------------------------------------------------------------- */
.page-hero { padding: 32px 0 40px; background: linear-gradient(180deg, var(--brand-50) 0%, #fff 100%); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; width: 560px; height: 560px; right: -200px; top: -300px; border-radius: 50%; background: radial-gradient(closest-side, rgba(19, 160, 242, .16), transparent); pointer-events: none; }
.page-hero .container { position: relative; }
.page-hero__head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.page-hero__title { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); font-weight: 800; letter-spacing: -.02em; margin: 0; }
.page-hero__ico { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 18px; background: var(--brand-600); color: #fff; box-shadow: 0 10px 24px rgba(11, 135, 210, .3); }
.page-hero__ico .ico { width: 28px; height: 28px; }
.page-hero__lead { font-size: 1.1rem; max-width: 720px; margin: 0; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-hero__split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .page-hero { padding: 48px 0 64px; } .page-hero__split { grid-template-columns: 1.4fr 1fr; gap: 56px; } }

.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; margin-bottom: 20px; color: var(--muted); }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; opacity: .5; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand-700); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }

.hero-summary { display: none; padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.hero-summary__label { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.hero-summary__list { list-style: none; display: grid; gap: 2px; }
.hero-summary__list a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 550; font-size: .93rem; line-height: 1.3; }
.hero-summary__list a:hover { background: var(--brand-50); color: var(--brand-700); }
.hero-summary__list .ico { width: 16px; height: 16px; color: var(--success); stroke-width: 3; }
@media (min-width: 900px) { .hero-summary { display: block; } }
.page-hero__aside { display: grid; gap: 20px; }
.hero-figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--brand-50); box-shadow: var(--shadow-sm); }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }

/* Ljepljiva podnavigacija djelatnosti */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-block: 1px solid var(--line); }
.subnav__list { list-style: none; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; scroll-behavior: smooth; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__list a { display: block; padding: 7px 14px; border-radius: 999px; white-space: nowrap; font-size: .86rem; font-weight: 600; text-decoration: none; color: var(--ink-2); transition: background-color .2s, color .2s; }
.subnav__list a:hover { background: var(--bg-soft); color: var(--ink); }
.subnav__list a.is-active { background: var(--ink); color: #fff; }

/* --------------------------------------------------------------------------
   Stranica djelatnosti – usluge
   -------------------------------------------------------------------------- */
.service-layout { display: grid; gap: 40px; }
@media (min-width: 1000px) { .service-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; } }
.service-list { display: grid; gap: 24px; }
.service-item { padding: 28px 22px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--header-h) + 72px); }
@media (min-width: 640px) { .service-item { padding: 36px 40px; } }
.service-item:target { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(19, 160, 242, .15); }
.service-item__head { margin-bottom: 18px; }
.service-item__title { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.65rem); margin-bottom: 14px; }
.service-item__foot { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); }

.price-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.price-chip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .85rem; color: var(--ink-2); line-height: 1.25; }
.price-chip strong { padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .82rem; white-space: nowrap; }

.accordion { display: grid; gap: 10px; margin-top: 22px; }
.accordion__item { border-radius: 14px; border: 1px solid var(--line); background: var(--bg-soft); transition: background-color .2s, border-color .2s; }
.accordion__item[open] { background: #fff; border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.accordion__summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; cursor: pointer; list-style: none; font-weight: 650; color: var(--ink); }
.accordion__summary::-webkit-details-marker { display: none; }
.accordion__summary .ico { width: 20px; height: 20px; color: var(--brand-600); transition: transform .25s var(--ease); }
.accordion__item[open] .accordion__summary .ico { transform: rotate(180deg); }
.accordion__summary:hover { color: var(--brand-700); }
.accordion__body { padding: 0 20px 20px; font-size: .97rem; }

.service-aside { display: grid; gap: 16px; }
@media (min-width: 1000px) { .service-aside { position: sticky; top: calc(var(--header-h) + 80px); } }
.aside-card { padding: 26px; border-radius: var(--radius-lg); background: var(--bg-soft); }
.aside-card p { font-size: .94rem; }
.aside-card__title { font-size: 1.2rem; }
.aside-card--brand { background: linear-gradient(150deg, var(--ink) 0%, #114470 100%); color: rgba(255, 255, 255, .8); display: grid; gap: 10px; }
.aside-card--brand .aside-card__title { color: #fff; margin: 0; }
.aside-card--brand p { margin: 0 0 6px; }
.aside-card__mail { color: rgba(255, 255, 255, .85); font-size: .88rem; text-align: center; margin-top: 4px; }
.aside-card__mail:hover { color: #fff; }

.other-services { list-style: none; display: grid; gap: 12px; }
@media (min-width: 640px) { .other-services { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .other-services { grid-template-columns: repeat(3, 1fr); } }
.other-services a { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 650; transition: border-color .2s, box-shadow .2s, transform .2s; }
.other-services a:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.other-services__ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); }
.other-services__arrow { margin-left: auto; width: 18px; height: 18px; color: var(--brand-600); }

.quote { display: flex; gap: 20px; align-items: flex-start; max-width: 900px; }
.quote__ico { width: 40px; height: 40px; color: var(--brand); }
.quote__text { font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); color: var(--ink); font-weight: 550; line-height: 1.5; margin: 0; }

/* --------------------------------------------------------------------------
   Cjenik
   -------------------------------------------------------------------------- */
.pricing-layout { display: grid; gap: 28px; }
.pricing-layout > *, .service-layout > *, .contact > *, .hero__grid > *, .lp-hero__grid > * { min-width: 0; }
@media (min-width: 1000px) { .pricing-layout { grid-template-columns: 240px 1fr; gap: 48px; align-items: start; } }
.pricing-nav ul { list-style: none; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.pricing-nav ul::-webkit-scrollbar { display: none; }
.pricing-nav a { display: block; padding: 8px 14px; border-radius: 999px; background: var(--bg-soft); white-space: nowrap; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; }
.pricing-nav a:hover { background: var(--brand-50); color: var(--brand-700); }
@media (min-width: 1000px) {
    .pricing-nav { position: sticky; top: calc(var(--header-h) + 32px); }
    .pricing-nav ul { flex-direction: column; gap: 4px; }
    .pricing-nav a { background: none; border-radius: 10px; padding: 10px 14px; }
}
.pricing { display: grid; gap: 24px; }
.price-table { border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; background: #fff; scroll-margin-top: calc(var(--header-h) + 24px); }
.price-table__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 20px 24px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.price-table__head h2 { font-size: 1.2rem; margin: 0; }
.price-table__head .link-arrow { font-size: .88rem; }
.price-table__rows { list-style: none; }
.price-row-item { display: flex; align-items: baseline; gap: 12px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.price-row-item:last-child { border-bottom: 0; }
.price-row-item__name { color: var(--ink); font-weight: 550; }
.price-row-item__dots { flex: 1; border-bottom: 1.5px dotted #c6d3df; transform: translateY(-4px); min-width: 16px; }
.price-row-item__price { color: var(--ink); font-size: 1.08rem; white-space: nowrap; }
.price-row-item--featured { background: linear-gradient(90deg, var(--brand-50), #fff); }
.price-row-item--featured .price-row-item__price { color: var(--brand-700); }
@media (max-width: 520px) { .price-row-item__dots { display: none; } .price-row-item { justify-content: space-between; } }
.pricing-note { display: flex; gap: 14px; align-items: flex-start; padding: 20px 24px; border-radius: var(--radius); background: var(--brand-50); color: var(--ink); }
.pricing-note .ico { width: 24px; height: 24px; color: var(--brand-600); margin-top: 2px; }
.pricing-note p { margin: 0; }

/* --------------------------------------------------------------------------
   O nama
   -------------------------------------------------------------------------- */
.about { display: grid; gap: 48px; align-items: start; }
@media (min-width: 900px) { .about { grid-template-columns: 1.3fr 1fr; gap: 72px; } }
.about__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; box-shadow: var(--shadow); }
.about__stat { position: absolute; left: -12px; bottom: 28px; display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 18px; background: var(--ink); color: rgba(255, 255, 255, .85); box-shadow: var(--shadow-lg); max-width: 280px; line-height: 1.3; font-size: .9rem; }
.about__stat strong { font-size: 2rem; color: #fff; letter-spacing: -.03em; }
@media (max-width: 639px) { .about__stat { left: 12px; } }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.gallery__item { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--brand-50); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }

.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.lightbox::backdrop { background: rgba(6, 22, 39, .88); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 900px); max-height: 86vh; border-radius: var(--radius); object-fit: contain; }
.lightbox__close, .lightbox__nav { position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .28); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--prev .ico { transform: rotate(180deg); }
.lightbox__nav--next { right: 16px; }

/* --------------------------------------------------------------------------
   Kontakt + obrazac
   -------------------------------------------------------------------------- */
.contact { display: grid; gap: 32px; }
@media (min-width: 1000px) { .contact { grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; } }
.contact__info { display: grid; gap: 12px; }
.contact__bank { font-size: .85rem; color: var(--muted); margin: 8px 4px 0; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink-2); line-height: 1.45; }
a.contact-card { transition: border-color .2s, box-shadow .2s; }
a.contact-card:hover { border-color: var(--brand-100); box-shadow: var(--shadow-sm); color: var(--ink-2); }
.contact-card small { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-card strong { display: block; color: var(--ink); font-size: 1.05rem; }
.contact-card a { display: block; color: var(--ink); font-weight: 650; text-decoration: none; }
.contact-card a:hover { color: var(--brand-700); }
.contact-card__ico { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--brand-50); color: var(--brand-600); }
.contact-card--primary { background: linear-gradient(140deg, var(--brand-600), var(--brand-700)); border: 0; color: rgba(255, 255, 255, .85); }
.contact-card--primary small { color: rgba(255, 255, 255, .8); }
.contact-card--primary strong { color: #fff; font-size: 1.5rem; letter-spacing: -.02em; }
.contact-card--primary .contact-card__ico { background: rgba(255, 255, 255, .16); color: #fff; }
a.contact-card--primary:hover { box-shadow: 0 12px 28px rgba(11, 135, 210, .32); color: #fff; }
.contact-card--plain { background: var(--bg-soft); border-color: transparent; }

.form-card { padding: 26px 20px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 16px); }
@media (min-width: 640px) { .form-card { padding: 36px; } }
.form-card--elevated { box-shadow: var(--shadow-lg); border: 0; }
.form-card__title { font-size: 1.55rem; margin-bottom: 6px; }
.form-card__lead { color: var(--muted); font-size: .95rem; margin-bottom: 24px; }

.upit-form__grid { display: grid; gap: 16px; margin-bottom: 16px; }
@media (min-width: 640px) { .upit-form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.upit-form--compact .upit-form__grid { grid-template-columns: 1fr; }
.field label { display: block; font-size: .88rem; font-weight: 650; color: var(--ink); margin-bottom: 6px; }
.field input:not([type="checkbox"]), .field select, .field textarea {
    width: 100%; min-height: 50px; padding: 12px 14px;
    font: inherit; font-size: 16px; color: var(--ink);
    border: 1.5px solid var(--line); border-radius: 12px; background: #fbfdff;
    transition: border-color .2s, box-shadow .2s, background-color .2s;
    -webkit-appearance: none; appearance: none;
}
.field select { background: #fbfdff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f7489' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat; padding-right: 40px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(19, 160, 242, .15); }
.field ::placeholder { color: #9aabbb; }
.field--error input, .field--error select, .field--error textarea { border-color: var(--danger); }
.field__err { color: var(--danger); font-size: .84rem; margin: 6px 0 0; }
.field--hidden { display: none; }
.req { color: var(--danger); }
.field--check { margin: 4px 0 20px; }
.field .check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; font-weight: 400; color: var(--ink-2); line-height: 1.5; cursor: pointer; margin: 0; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--brand-600); }
.upit-form__note { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .84rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.upit-form__note .ico { width: 16px; height: 16px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; font-size: .92rem; }
.alert--error { background: #fdecec; color: #9b2c2c; }

/* Hvala */
.thanks__in { max-width: 640px; text-align: center; padding-block: 24px; }
.thanks__ico { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--success); color: #fff; box-shadow: 0 0 0 12px rgba(16, 163, 127, .14); margin-bottom: 28px; }
.thanks__ico .ico { width: 40px; height: 40px; stroke-width: 3; }
.thanks__title { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); }
.thanks__lead { font-size: 1.1rem; margin-bottom: 28px; }
.thanks__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* --------------------------------------------------------------------------
   Landing stranica
   -------------------------------------------------------------------------- */
.draft-ribbon { background: #fff3cd; color: #7a5200; text-align: center; font-size: .85rem; font-weight: 600; padding: 8px var(--gutter); }
.lp-hero { position: relative; overflow: hidden; padding: 36px 0 56px; background: linear-gradient(180deg, var(--brand-50) 0%, #fff 100%); }
.lp-hero__grid { display: grid; gap: 36px; align-items: start; }
@media (min-width: 1000px) { .lp-hero { padding: 64px 0 88px; } .lp-hero__grid { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.lp-price { display: flex; align-items: stretch; gap: 0; margin-bottom: 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); width: fit-content; max-width: 100%; }
.lp-price > div { display: flex; flex-direction: column; padding: 14px 22px; line-height: 1.15; }
.lp-price small { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--muted); }
.lp-price__main strong { font-size: 2.3rem; color: var(--brand-700); letter-spacing: -.03em; }
.lp-price__sub { border-left: 1px solid var(--line); justify-content: center; }
.lp-price__sub strong { font-size: 1.3rem; color: var(--ink); }
.lp .hero__checks { margin-bottom: 28px; }

.feature-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.feature-card { padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.feature-card__title { font-size: 1.12rem; }
.feature-card p { font-size: .93rem; color: var(--muted); margin: 0; }

.two-col { display: grid; gap: 48px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 64px; } }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { position: relative; padding: 14px 16px 14px 50px; border-radius: 14px; background: #fff; color: var(--ink); font-weight: 550; }
.check-list li::before { content: ''; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .7); font-size: .93rem; padding-top: 64px; }
.footer a:not(.btn) { color: rgba(255, 255, 255, .82); text-decoration: none; }
.footer a:not(.btn):hover { color: #fff; }
.footer__grid { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; } }
.footer__brand img { width: 240px; margin-bottom: 20px; }
.footer__brand p { max-width: 340px; margin-bottom: 22px; }
.footer__title { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.footer__list { list-style: none; display: grid; gap: 10px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .ico { width: 18px; height: 18px; color: var(--brand); margin-top: 3px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.footer__bottom p { margin: 0; }
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__links .linklike { color: rgba(255, 255, 255, .82); text-decoration: none; }
.footer__links .linklike:hover { color: #fff; }
.footer--lp { padding-top: 0; }
.footer--lp .footer__bottom { border-top: 0; }

/* --------------------------------------------------------------------------
   Mobilna CTA traka
   -------------------------------------------------------------------------- */
.mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(11, 42, 74, .08);
}
.mobile-cta__btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 14px; font-weight: 700; font-size: .95rem; text-decoration: none; }
.mobile-cta__btn--call { background: var(--brand-50); color: var(--brand-700); }
.mobile-cta__btn--form { background: var(--brand-600); color: #fff; }
.mobile-cta__btn--form:hover { color: #fff; }
@media (min-width: 1100px) { .mobile-cta { display: none; } }
.nav-open .mobile-cta { display: none; }

/* --------------------------------------------------------------------------
   Cookie consent
   -------------------------------------------------------------------------- */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; padding: 12px; pointer-events: none; }
.cookie[hidden] { display: none; }
.cookie__card {
    pointer-events: auto; max-width: 560px; margin-left: auto; padding: 22px;
    border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 24px); overflow-y: auto;
    animation: cookie-in .35s var(--ease);
}
@keyframes cookie-in { from { opacity: 0; transform: translateY(16px); } }
@media (min-width: 640px) { .cookie { padding: 20px; } .cookie__card { padding: 26px; } }
.cookie__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.cookie__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); }
.cookie__title { font-size: 1.12rem; margin: 0; }
.cookie__text { font-size: .88rem; line-height: 1.55; margin-bottom: 16px; }
.cookie__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookie__actions [data-cookie-action="accept"] { grid-column: 1 / -1; order: -1; }
@media (min-width: 480px) { .cookie__actions { grid-template-columns: repeat(3, 1fr); } .cookie__actions [data-cookie-action="accept"] { grid-column: auto; order: 0; } }
.cookie__actions .btn { padding-inline: 10px; }
.cookie__prefs { display: grid; gap: 10px; margin-bottom: 16px; }
.cookie__prefs[hidden] { display: none; }

.toggle { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; background: var(--bg-soft); cursor: pointer; position: relative; }
.toggle__txt { flex: 1; line-height: 1.35; }
.toggle__txt strong { display: block; color: var(--ink); font-size: .92rem; }
.toggle__txt small { color: var(--muted); font-size: .8rem; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle__ui { position: relative; width: 44px; height: 26px; flex: none; border-radius: 999px; background: #c9d6e2; transition: background-color .2s; }
.toggle__ui::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s var(--ease); }
.toggle input:checked + .toggle__ui { background: var(--brand-600); }
.toggle input:checked + .toggle__ui::after { transform: translateX(18px); }
.toggle input:disabled + .toggle__ui { opacity: .6; }
.toggle input:focus-visible + .toggle__ui { outline: 3px solid var(--brand); outline-offset: 2px; }

@media (max-width: 1099px) { .cookie { bottom: 72px; } }
@media (max-width: 1099px) { .nav-open .cookie { bottom: 0; } }

/* --------------------------------------------------------------------------
   Animacije pojavljivanja (dodaje ih JS)
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Sadržaj iz CMS-a
   -------------------------------------------------------------------------- */
.price-row-item__note { display: block; color: var(--muted); font-size: .85rem; font-weight: 400; }
.quote__text > p { margin: 0; }
.quote__text > p + p { margin-top: .6em; }
.page-figure { margin: 0 0 32px; }
.page-figure img { width: 100%; height: auto; border-radius: var(--radius); }
.team-card__bio > p:last-child { margin-bottom: 0; }
.feature__body > p { margin-top: 0; }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1em; }
.prose th, .prose td { padding: 8px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose .lead { font-size: 1.12rem; color: var(--ink-2); }
