/* =====================================================================
   VERTEBRA FORMA — v3 (2026)  demo3
   Light split hero, tegobe, usluge s cijenama, metode, tim, cjenik
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
    --green-950: #062a20;
    --green-900: #0b3b2e;
    --green-800: #0f4c3a;
    --green-700: #14663f;
    --green-600: #16a34a;
    --green-500: #22c55e;
    --green-400: #4ade80;
    --green-300: #86efac;
    --green-100: #dcfce7;
    --green-50:  #f0fdf4;
    --mint:      #a7f3d0;

    --ink:       #0c1512;
    --ink-2:     #1f2a26;
    --text:      #3b4a44;
    --muted:     #6b7a74;
    --line:      #e3e9e6;
    --paper:     #f6f8f6;
    --paper-2:   #eef3f0;
    --white:     #ffffff;

    --primary:   var(--green-600);
    --primary-h: var(--green-700);
    --accent:    var(--green-400);

    --font-display: 'Fraunces', 'Georgia', serif;
    --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --fs-xs: 0.78rem;
    --fs-sm: 0.9rem;
    --fs-md: 1.05rem;
    --fs-lg: clamp(1.1rem, 1rem + 0.5vw, 1.25rem);
    --fs-h3: clamp(1.35rem, 1.2rem + 0.8vw, 1.75rem);
    --fs-h2: clamp(2.1rem, 1.5rem + 2.8vw, 3.6rem);
    --fs-h1: clamp(2.7rem, 1.8rem + 4.4vw, 5.4rem);

    --container: 1240px;
    --gutter: clamp(20px, 4vw, 40px);
    --section: clamp(80px, 10vw, 140px);

    --r-sm: 12px;
    --r: 20px;
    --r-lg: 28px;
    --r-xl: 40px;

    --shadow-sm: 0 1px 2px rgba(12,21,18,.06), 0 1px 3px rgba(12,21,18,.04);
    --shadow: 0 10px 30px -10px rgba(12,21,18,.15);
    --shadow-lg: 0 30px 60px -20px rgba(12,21,18,.25);
    --shadow-glow: 0 10px 40px -10px rgba(22,163,74,.45);

    --ease: cubic-bezier(.22,1,.36,1);
    --ease-io: cubic-bezier(.65,0,.35,1);
    --t: .45s var(--ease);
    --t-fast: .25s var(--ease);

    --header-h: 84px;
}

@supports (color: oklch(0% 0 0)) {
    :root {
        --green-600: oklch(62% 0.19 150);
        --green-500: oklch(72% 0.2 150);
        --green-400: oklch(80% 0.18 150);
        --green-900: oklch(30% 0.07 165);
        --green-950: oklch(22% 0.06 165);
    }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
    font-family: var(--font-body);
    font-size: var(--fs-md);
    line-height: 1.7;
    color: var(--text);
    background: var(--paper);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, picture, svg, video { display: block; max-width: 100%; }
picture { height: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.08;
    color: var(--ink);
    letter-spacing: -0.02em;
    text-wrap: balance;
    font-variation-settings: 'opsz' 144;
}
h3, h4 { font-variation-settings: 'opsz' 40; }
p { text-wrap: pretty; }
em { font-style: italic; }
::selection { background: var(--green-500); color: var(--white); }
:focus-visible { outline: 3px solid var(--green-500); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container-wide { width: min(100% - 2 * var(--gutter), 1500px); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }

/* ---------- Typography helpers ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: var(--fs-xs); font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    color: var(--green-700); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--green-500); border-radius: 2px; }
.eyebrow.light { color: var(--green-300); }
.section-title { font-size: var(--fs-h2); margin-bottom: 22px; }
.section-title em, .cta h2 em { font-style: italic; color: var(--green-600); font-weight: 400; }
.section-desc, .lead { font-size: var(--fs-lg); color: var(--muted); max-width: 56ch; }
.lead { color: var(--ink-2); font-weight: 500; margin-bottom: 18px; }
.section-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head .section-desc { justify-self: end; padding-bottom: 6px; }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head.center .section-desc { justify-self: center; }
.section-head.center .eyebrow::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
    --bg: var(--primary); --fg: var(--white);
    position: relative; isolation: isolate;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 28px; border-radius: 999px;
    font-weight: 700; font-size: var(--fs-sm); letter-spacing: .01em; line-height: 1;
    background: var(--bg); color: var(--fg);
    transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
    overflow: hidden; white-space: nowrap;
    will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform var(--t); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { box-shadow: var(--shadow-glow); }
.btn-primary::after {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn-primary:hover { background: var(--primary-h); transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(22,163,74,.55); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-lg { padding: 19px 34px; font-size: 1rem; }
.btn-sm { padding: 12px 20px; font-size: .82rem; }
.btn-block { width: 100%; }
.btn-outline { --bg: transparent; --fg: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline:hover { --bg: var(--ink); --fg: var(--white); transform: translateY(-2px); }
.btn-outline:hover svg { transform: translateY(3px); }
.btn-ghost { --bg: var(--white); --fg: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { --bg: var(--green-900); --fg: var(--white); border-color: var(--green-900); transform: translateY(-2px); }
.btn-ghost:hover svg { transform: none; }
.btn-white { --bg: var(--white); --fg: var(--green-900); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline-white { --bg: transparent; --fg: var(--white); border: 1.5px solid rgba(255,255,255,.5); }
.btn-outline-white:hover { --bg: rgba(255,255,255,.12); border-color: var(--white); transform: translateY(-2px); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.link-arrow svg { width: 18px; height: 18px; color: var(--green-600); transition: transform var(--t); }
.link-arrow:hover svg { transform: translate(3px, -3px) rotate(10deg); }

/* ---------- Preloader ---------- */
.preloader {
    position: fixed; inset: 0; z-index: 10000;
    background: var(--green-950); color: var(--white);
    display: grid; place-items: center;
    transition: clip-path .9s var(--ease-io), visibility 0s .9s;
    clip-path: inset(0 0 0 0);
}
.preloader.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; }
.preloader-inner { display: grid; justify-items: center; gap: 18px; }
.preloader-mark { width: 64px; height: 64px; color: var(--green-400); }
.preloader-mark .spine { stroke-dasharray: 120; stroke-dashoffset: 120; animation: draw 1.4s var(--ease) forwards; }
.preloader-mark circle { opacity: 0; animation: pop .5s var(--ease) forwards; }
.preloader-mark .v1 { animation-delay: .5s } .preloader-mark .v2 { animation-delay: .65s }
.preloader-mark .v3 { animation-delay: .8s } .preloader-mark .v4 { animation-delay: .95s }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(0); transform-origin: center; } to { opacity: 1; transform: scale(1); } }
.preloader-word { font-family: var(--font-display); font-size: 1.8rem; letter-spacing: -.02em; }
.preloader-word span { font-weight: 400; opacity: .7; }
.preloader-word em { font-style: italic; color: var(--green-300); margin-left: 6px; }
.preloader-bar { width: 180px; height: 2px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; }
.preloader-bar span { display: block; height: 100%; width: 0; background: var(--green-400); transition: width .3s linear; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 1200;
    background: linear-gradient(90deg, var(--green-500), var(--green-300));
    transform-origin: 0 50%; transform: scaleX(var(--progress, 0));
    pointer-events: none;
}
@supports (animation-timeline: scroll()) {
    .scroll-progress { animation: grow linear both; animation-timeline: scroll(root); transform: none; }
    @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* ---------- Glitter trag miša (canvas iz main.js) ---------- */
.cursor { display: none; }
.glitter { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 9999; pointer-events: none; }

/* ---------- Header (svijetli hero → header je uvijek "light") ---------- */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 18px 0;
    transition: padding var(--t), background var(--t), box-shadow var(--t), transform .5s var(--ease);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header.is-scrolled {
    padding: 10px 0;
    background: rgba(246,248,246,.82);
    backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
    box-shadow: 0 1px 0 rgba(12,21,18,.06), 0 10px 30px -20px rgba(12,21,18,.2);
}
.header.is-hidden { transform: translateY(-110%); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); transition: color var(--t); }
.logo-mark { width: 34px; height: 34px; color: var(--green-600); }
.logo-text { font-family: var(--font-display); font-size: 1.45rem; letter-spacing: -.02em; line-height: 1; }
.logo-text span { font-weight: 400; }
.logo-text em { font-style: italic; margin-left: 5px; color: var(--green-600); }

.nav-list { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.nav-link { display: block; padding: 9px 15px; border-radius: 999px; font-size: .84rem; font-weight: 600; color: var(--text); transition: color var(--t-fast), background var(--t-fast); }
.nav-link:hover { color: var(--ink); background: var(--paper-2); }
.nav-link.is-active { color: var(--white); background: var(--green-900); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .88rem; color: var(--ink); }
.header-phone svg { width: 16px; height: 16px; color: var(--green-600); }
.nav-toggle { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.nav-toggle span { position: absolute; left: 13px; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--t), top var(--t); }
.nav-toggle span:first-child { top: 17px; } .nav-toggle span:last-child { top: 25px; }
body.menu-open .nav-toggle { color: var(--white); background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); }
body.menu-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
body.menu-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 900; visibility: hidden; pointer-events: none; }
.mobile-menu-bg { position: absolute; inset: 0; background: var(--green-950); clip-path: circle(0 at calc(100% - 44px) 44px); transition: clip-path .8s var(--ease-io); }
.mobile-menu-inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px; color: var(--white); overflow-y: auto; }
.mobile-menu-list li { overflow: hidden; }
.mobile-link { display: flex; align-items: baseline; gap: 16px; font-family: var(--font-display); font-size: clamp(1.7rem, 6.5vw, 2.8rem); line-height: 1.3; letter-spacing: -.02em; transform: translateY(110%); transition: transform .7s var(--ease); }
.mobile-link span { font-family: var(--font-body); font-size: .8rem; color: var(--green-400); font-weight: 700; }
.mobile-menu-footer { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; font-size: .95rem; color: rgba(255,255,255,.75); opacity: 0; transition: opacity .5s .4s; }
.mobile-menu-footer a { display: inline-flex; align-items: center; gap: 10px; }
.mobile-menu-footer svg { width: 16px; height: 16px; color: var(--green-400); }
body.menu-open .mobile-menu { visibility: visible; pointer-events: auto; }
body.menu-open .mobile-menu-bg { clip-path: circle(150% at calc(100% - 44px) 44px); }
body.menu-open .mobile-link { transform: none; }
body.menu-open .mobile-menu-list li:nth-child(1) .mobile-link { transition-delay: .15s }
body.menu-open .mobile-menu-list li:nth-child(2) .mobile-link { transition-delay: .2s }
body.menu-open .mobile-menu-list li:nth-child(3) .mobile-link { transition-delay: .25s }
body.menu-open .mobile-menu-list li:nth-child(4) .mobile-link { transition-delay: .3s }
body.menu-open .mobile-menu-list li:nth-child(5) .mobile-link { transition-delay: .35s }
body.menu-open .mobile-menu-list li:nth-child(6) .mobile-link { transition-delay: .4s }
body.menu-open .mobile-menu-list li:nth-child(7) .mobile-link { transition-delay: .45s }
body.menu-open .mobile-menu-list li:nth-child(8) .mobile-link { transition-delay: .5s }
body.menu-open .mobile-menu-footer { opacity: 1; }

/* ---------- Hero (split: tekst lijevo, velika slika desno) ---------- */
.hero {
    position: relative; min-height: 100svh; display: flex; align-items: center;
    padding: calc(var(--header-h) + 40px) 0 60px;
    overflow: hidden; isolation: isolate; background: var(--paper);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.hero-blob-1 { width: 55vw; height: 55vw; max-width: 760px; max-height: 760px; right: -12vw; top: -18vw; background: radial-gradient(circle, rgba(134,239,172,.6), rgba(134,239,172,0) 65%); }
.hero-blob-2 { width: 36vw; height: 36vw; max-width: 520px; max-height: 520px; left: -14vw; bottom: -14vw; background: radial-gradient(circle, rgba(22,163,74,.22), rgba(22,163,74,0) 65%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green-800); margin-bottom: 28px; }
.pulse-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--green-500); flex: 0 0 10px; }
.pulse-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--green-500); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: 1 } to { transform: scale(1.8); opacity: 0 } }
.hero-title { font-size: var(--fs-h1); color: var(--ink); margin-bottom: 26px; line-height: 1; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line .w { display: inline-block; transform: translateY(110%); }
.hero-title .accent { font-style: italic; font-weight: 400; padding-bottom: .12em; }
.hero-title .accent .w {
    background: linear-gradient(90deg, var(--green-700), var(--green-600) 60%, var(--green-500));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .05em; }
.hero-lead { font-size: var(--fs-lg); color: var(--text); max-width: 52ch; margin-bottom: 36px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-address { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 700; font-size: .92rem; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.hero-address svg { width: 18px; height: 18px; color: var(--green-600); }
.hero-address .hero-address-arrow { width: 16px; height: 16px; color: var(--muted); transition: transform var(--t), color var(--t); }
.hero-address:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--green-300); }
.hero-address:hover .hero-address-arrow { transform: translate(2px, -2px); color: var(--green-600); }

.hero-media { position: relative; }
.hero-frame { position: relative; aspect-ratio: 4 / 5; max-height: calc(100svh - var(--header-h) - 90px); margin-left: auto; width: 100%; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); clip-path: inset(0 0 100% 0 round var(--r-xl)); }
.hero-frame::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(6,42,32,.25), transparent 45%); pointer-events: none; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.12); will-change: transform; }
.hero-media::after { content: ''; position: absolute; z-index: -1; inset: 6% -6% -6% 6%; border-radius: var(--r-xl); background: var(--green-100); }
.hero-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; border-radius: 18px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.7); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(20px); }
.hero-chip > svg { width: 36px; height: 36px; padding: 8px; border-radius: 12px; background: var(--green-600); color: var(--white); flex: 0 0 36px; }
.hero-chip-1 > svg { fill: currentColor; }
.hero-chip strong { display: block; font-size: .9rem; color: var(--ink); line-height: 1.2; }
.hero-chip span { display: block; font-size: .76rem; color: var(--muted); }
.hero-chip-1 { left: -24px; top: 12%; }
.hero-chip-2 { right: -16px; bottom: 12%; }

/* ---------- Zašto Vertebra Forma ---------- */
.zasto { background: var(--white); overflow: hidden; }
.zasto::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.zasto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.zasto-media { position: relative; aspect-ratio: 1 / 1.05; }
.zasto-img { position: absolute; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.zasto-img img { width: 100%; height: 100%; object-fit: cover; }
.zasto-img-main { left: 0; top: 0; width: 80%; height: 76%; z-index: 1; }
.zasto-img-small { right: 0; bottom: 0; width: 50%; height: 44%; z-index: 2; border: 8px solid var(--white); }
.zasto-media--single { aspect-ratio: 3 / 2.3; }
.zasto-media--single .zasto-img-main { width: 100%; height: auto; aspect-ratio: 3 / 2; }
.zasto-media--single .zasto-img-main img { object-position: 50% 0; }
.zasto-media--single .zasto-quote { left: 5%; bottom: 0; max-width: 52%; }
.zasto-quote { position: absolute; z-index: 3; left: 4%; bottom: 6%; max-width: 44%; padding: 18px 20px; border-radius: 20px; background: var(--green-900); color: var(--white); box-shadow: var(--shadow-lg); }
.zasto-quote svg { width: 22px; height: 22px; color: var(--green-400); margin-bottom: 8px; }
.zasto-quote p { font-family: var(--font-display); font-style: italic; font-size: 1rem; line-height: 1.4; color: rgba(255,255,255,.9); }
.zasto-shape { position: absolute; right: -12%; top: -10%; width: 60%; aspect-ratio: 1; border-radius: 50%; z-index: 0; background: radial-gradient(circle at 30% 30%, rgba(74,222,128,.35), transparent 60%); filter: blur(30px); }
.img-reveal { clip-path: inset(0 0 100% 0); }
.img-reveal img { transform: scale(1.2); }

.feature-list { display: grid; gap: 22px; margin: 34px 0 0; }
.feature-list li { display: flex; gap: 18px; align-items: flex-start; }
.feature-icon { flex: 0 0 52px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); color: var(--green-600); box-shadow: var(--shadow-sm); transition: transform var(--t), background var(--t), color var(--t); }
.feature-icon svg { width: 22px; height: 22px; }
.feature-list li:hover .feature-icon { transform: translateY(-3px) rotate(-6deg); background: var(--green-600); color: var(--white); }
.feature-list h4 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 800; margin-bottom: 4px; letter-spacing: 0; }
.feature-list p { font-size: .95rem; color: var(--muted); }

/* ---------- Tegobe ---------- */
.tegobe { background: var(--paper); }
.section-side { display: grid; gap: 18px; justify-items: end; }
.tegobe-swiper { position: relative; overflow: visible; padding-bottom: 46px; }
.tegobe-swiper .swiper-slide { height: auto; display: flex; }
.tegobe-swiper .swiper-slide .tegoba-card { width: 100%; display: flex; flex-direction: column; }
.tegobe-swiper .swiper-slide .tegoba-cta { justify-content: center; }
.tegobe-swiper .swiper-pagination { bottom: 0; }
.tegobe-swiper .swiper-pagination-bullet { width: 8px; height: 8px; background: var(--line); opacity: 1; border-radius: 4px; transition: width var(--t), background var(--t); }
.tegobe-swiper .swiper-pagination-bullet-active { width: 28px; background: var(--green-600); }
.tegoba-card { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color var(--t); }
.tegoba-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.tegoba-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.tegoba-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tegoba-card:hover .tegoba-media img { transform: scale(1.07); }
.tegoba-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,42,32,.45), transparent 50%); }
.tegoba-body { display: flex; align-items: center; gap: 14px; padding: 20px 22px; }
.tegoba-num { flex: 0 0 auto; font-size: .72rem; font-weight: 800; letter-spacing: .14em; color: var(--green-600); padding: 5px 10px; border-radius: 999px; background: var(--green-50); }
.tegoba-body h3 { font-size: 1.2rem; }
.tegoba-cta { background: var(--green-900); color: var(--white); border-color: transparent; display: flex; }
.tegoba-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 60% at 100% 0%, rgba(34,197,94,.35), transparent 60%); pointer-events: none; }
.tegoba-cta-inner { position: relative; padding: 32px 28px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.tegoba-cta-inner > svg { width: 44px; height: 44px; color: var(--green-400); }
.tegoba-cta-inner h3 { color: var(--white); font-size: 1.5rem; }
.tegoba-cta-inner p { color: rgba(255,255,255,.75); font-size: .95rem; margin-bottom: 8px; }
.tegoba-cta-inner .btn { align-self: flex-start; }

/* ---------- Usluge ---------- */
.usluge { background: var(--white); }
.usluge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.usluga-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--paper); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color var(--t); scroll-margin-top: 110px; }
.usluga-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.usluga-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.usluga-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.usluga-card:hover .usluga-media img { transform: scale(1.07); }
.usluga-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,42,32,.5), transparent 55%); }
.usluga-num { position: absolute; top: 16px; left: 16px; z-index: 1; padding: 6px 12px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .12em; background: rgba(255,255,255,.9); color: var(--green-900); }
.usluga-badge { position: absolute; top: 16px; right: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; background: var(--green-500); color: var(--white); }
.usluga-badge svg { width: 14px; height: 14px; }
.usluga-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.usluga-icon { width: 50px; height: 50px; margin-top: -50px; margin-bottom: 6px; position: relative; z-index: 1; display: grid; place-items: center; border-radius: 16px; background: var(--green-600); color: var(--white); box-shadow: var(--shadow-glow); transition: transform var(--t); }
.usluga-icon svg { width: 22px; height: 22px; }
.usluga-card:hover .usluga-icon { transform: rotate(-8deg) scale(1.08); }
.usluga-card h3 { font-size: 1.35rem; }
.usluga-card > .usluga-body > p { font-size: .95rem; color: var(--muted); }
.usluga-note { display: flex; align-items: flex-start; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--green-800); }
.usluga-note svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 4px; color: var(--green-600); }
.usluga-prices { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); display: grid; }
.usluga-prices li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: .92rem; }
.usluga-prices li span { color: var(--ink-2); font-weight: 600; }
.usluga-prices li small { display: block; font-size: .76rem; color: var(--muted); font-weight: 500; }
.usluga-prices li b { font-family: var(--font-display); font-size: 1.3rem; color: var(--green-700); white-space: nowrap; }
.usluga-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 800; font-size: .85rem; color: var(--green-700); }
.usluga-link svg { width: 16px; height: 16px; transition: transform var(--t); }
.usluga-link:hover svg { transform: translate(2px, 2px); }
.usluge-foot { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 36px; font-size: .9rem; color: var(--muted); text-align: center; }
.usluge-foot svg { flex: 0 0 16px; width: 16px; height: 16px; color: var(--green-600); }
.usluge-foot a { color: var(--green-700); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.check-list { display: grid; gap: 10px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; font-weight: 600; color: var(--ink-2); line-height: 1.45; }
.check-list svg { flex: 0 0 22px; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--green-100); color: var(--green-700); margin-top: 1px; }
.check-list.compact { gap: 6px; }
.check-list.compact li { font-size: .88rem; }

/* ---------- Metode ---------- */
.metode { background: var(--green-950); color: var(--white); overflow: hidden; }
.metode::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 80% at 80% 10%, rgba(34,197,94,.18), transparent 60%), radial-gradient(40% 60% at 10% 90%, rgba(74,222,128,.12), transparent 60%); pointer-events: none; }
.metode .section-title { color: var(--white); }
.metode .eyebrow { color: var(--green-300); }
.metode .section-desc { color: rgba(255,255,255,.65); }
/* Metode – horizontalni slider (Swiper) */
.metode .swiper-nav button { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: var(--white); }
.metode .swiper-nav button:hover { background: var(--green-500); border-color: var(--green-500); }
.metode-swiper { position: relative; overflow: visible; padding-bottom: 10px; }
.metode-swiper .swiper-wrapper { transition-timing-function: linear !important; }
.metode-swiper .swiper-pagination { display: none; }
.metode-swiper .swiper-slide { height: auto; }
.metode-swiper .swiper-pagination { bottom: 0; }
.metode-swiper .swiper-pagination-bullet { width: 8px; height: 8px; background: rgba(255,255,255,.3); opacity: 1; border-radius: 4px; transition: width var(--t), background var(--t); }
.metode-swiper .swiper-pagination-bullet-active { width: 28px; background: var(--green-400, #4ade80); }
.metoda-card { height: 100%; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(6px); transition: transform var(--t), background var(--t), border-color var(--t); }
.metoda-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.08); border-color: rgba(74,222,128,.35); }
.metoda-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.metoda-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); transition: transform 1s var(--ease); }
.metoda-card:hover .metoda-media img { transform: scale(1.06); }
.metoda-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,42,32,.85), transparent 60%); }
.metoda-icon { position: absolute; left: 18px; top: -25px; z-index: 2; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 16px; background: var(--green-500); color: var(--white); box-shadow: var(--shadow-glow); }
.metoda-icon svg { width: 22px; height: 22px; }
.metoda-body { position: relative; padding: 40px 22px 26px; display: grid; gap: 10px; }
.metoda-body h3 { color: var(--white); font-size: 1.35rem; }
.metoda-body > p { font-size: .92rem; color: rgba(255,255,255,.7); }
.metoda-body h4 { font-family: var(--font-body); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green-300); margin-top: 6px; }
.metoda-body .check-list li { color: rgba(255,255,255,.85); font-weight: 500; font-size: .9rem; }
.metoda-body .check-list svg { background: rgba(74,222,128,.18); color: var(--green-300); }

/* ---------- O nama / tim ---------- */
.onama { background: var(--paper); }
.onama-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(44px, 6vw, 72px); }
.onama-head .section-desc { max-width: 60ch; padding-bottom: 6px; }
.tim-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tim-card { border-radius: var(--r-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: transform var(--t), box-shadow var(--t); }
.tim-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tim-photo { aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--paper-2); }
.tim-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 1s var(--ease); }
/* bez zuma na hover – zum bi odrezao vrh glave */
.tim-photo-placeholder { display: grid; place-content: center; justify-items: center; gap: 12px; background: linear-gradient(160deg, var(--green-50), var(--paper-2)); color: var(--green-700); }
.tim-photo-placeholder svg { width: 72px; height: 72px; padding: 18px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); }
.tim-photo-placeholder span { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tim-body { padding: 24px 24px 28px; display: grid; gap: 8px; }
.tim-role { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green-600); }
.tim-body h3 { font-size: 1.45rem; }
.tim-body p { font-size: .93rem; color: var(--muted); }
.tim-todo { color: #b45309; background: #fef3c7; padding: 0 6px; border-radius: 6px; font-size: .85em; font-family: var(--font-body); font-weight: 600; }
.tim-more { margin-top: 4px; }
.tim-more summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 800; letter-spacing: .04em; color: var(--green-700); }
.tim-more summary::-webkit-details-marker { display: none; }
.tim-more summary svg { width: 16px; height: 16px; transition: transform var(--t); }
.tim-more[open] summary svg { transform: rotate(180deg); }
.tim-more summary:hover { color: var(--green-600); }
.tim-more[open] summary span { display: none; }
.tim-more[open] summary::before { content: "Manje"; }
.tim-more p { margin-top: 10px; }

/* ---------- Gallery ---------- */
.gallery { background: var(--white); padding-bottom: 0; overflow: hidden; }
.gallery .section-head { margin-bottom: 48px; }
.gallery-rows { display: grid; gap: 18px; padding-bottom: var(--section); }
.gallery-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.gallery-track { display: flex; gap: 18px; width: max-content; animation: marquee 60s linear infinite; }
.gallery-row.reverse .gallery-track { animation-direction: reverse; }
.gallery-row:hover .gallery-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.gallery-item { position: relative; flex: 0 0 auto; width: clamp(220px, 24vw, 340px); aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--paper-2); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.gallery-item::after { content: '+'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 2rem; color: var(--white); background: rgba(6,42,32,.35); opacity: 0; transition: opacity var(--t); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after { opacity: 1; }

/* ---------- Testimonials (Google) ---------- */
.testimonials { background: var(--paper); overflow: clip; }
.google-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; padding: 10px 16px 10px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: .9rem; color: var(--text); transition: transform var(--t), box-shadow var(--t); }
.google-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.google-badge strong { color: var(--ink); }
.google-stars { color: #f59e0b; letter-spacing: 1px; font-size: .95rem; }
.google-badge > svg:last-child, .google-badge i { width: 16px; height: 16px; color: var(--muted); }
.swiper-nav { display: flex; gap: 10px; justify-self: end; }
.swiper-nav button { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); color: var(--ink); transition: background var(--t), color var(--t), transform var(--t), border-color var(--t); }
.swiper-nav button svg { width: 20px; height: 20px; }
.swiper-nav button:hover { background: var(--green-900); color: var(--white); border-color: var(--green-900); transform: translateY(-2px); }
.swiper-nav button.swiper-button-disabled { opacity: .35; pointer-events: none; }
.testimonial-swiper { overflow: visible; padding-bottom: 50px; }
.testimonial { height: 100%; display: flex; flex-direction: column; gap: 22px; padding: 34px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); transition: transform var(--t), box-shadow var(--t); position: relative; }
.testimonial::before { content: '“'; position: absolute; top: 12px; right: 28px; font-family: var(--font-display); font-size: 6rem; line-height: 1; color: var(--green-100); }
.swiper-slide-active .testimonial { box-shadow: var(--shadow-lg); border-color: transparent; }
.testimonial-stars { display: flex; gap: 3px; color: #f59e0b; }
.testimonial-stars svg { width: 16px; height: 16px; fill: currentColor; }
.testimonial blockquote { font-size: 1rem; line-height: 1.75; color: var(--ink-2); flex: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.testimonial figcaption strong { display: block; font-size: .95rem; color: var(--ink); }
.testimonial figcaption span:not(.testimonial-avatar) { font-size: .8rem; color: var(--muted); }
.testimonial-avatar { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--green-900); color: var(--white); font-family: var(--font-display); font-size: 1.2rem; }
.testimonial-swiper .swiper-pagination { bottom: 0; }
.testimonial-swiper .swiper-pagination-bullet { width: 8px; height: 8px; background: var(--line); opacity: 1; transition: width var(--t), background var(--t); border-radius: 4px; }
.testimonial-swiper .swiper-pagination-bullet-active { width: 28px; background: var(--green-600); }

/* ---------- CTA ---------- */
.cta { position: relative; padding: clamp(100px, 14vw, 180px) 0; color: var(--white); overflow: hidden; isolation: isolate; text-align: center; }
.cta-media { position: absolute; inset: -20% 0; z-index: -2; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(6,42,32,.92), rgba(15,76,58,.82) 60%, rgba(22,163,74,.6)); }
.cta h2 { font-size: var(--fs-h2); color: var(--white); margin: 0 auto 18px; max-width: 20ch; }
.cta h2 em { color: var(--green-300); }
.cta p { max-width: 52ch; margin: 0 auto 36px; color: rgba(255,255,255,.8); font-size: var(--fs-lg); }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---------- Cjenik ---------- */
.cjenik { background: var(--white); }
.cjenik-downloads { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; font-size: .88rem; color: var(--muted); padding-bottom: 6px; }
.cjenik-table-wrap { border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--paper); overflow: hidden; box-shadow: var(--shadow); }
.cjenik-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.cjenik-table thead th { text-align: left; padding: 18px 22px; background: var(--green-900); color: var(--white); font-family: var(--font-body); font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; vertical-align: bottom; }
.cjenik-table thead th small { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .04em; text-transform: none; color: var(--green-300); margin-top: 2px; }
.cjenik-table th.num, .cjenik-table td.num { text-align: right; white-space: nowrap; }
.cjenik-table tbody td { padding: 13px 22px; border-top: 1px solid var(--line); color: var(--ink-2); }
.cjenik-table tbody td:first-child { font-weight: 600; }
.cjenik-table tbody td.num { font-family: var(--font-display); font-size: 1.15rem; color: var(--green-700); }
.cjenik-table tbody td.num:last-child { color: var(--muted); font-size: 1rem; }
.cjenik-table tbody tr:not(.group):hover td { background: var(--white); }
.cjenik-table tr.group th { padding: 14px 22px 8px; text-align: left; background: var(--paper-2); font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; color: var(--ink); border-top: 1px solid var(--line); }
.cjenik-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; font-size: .88rem; color: var(--muted); }
.cjenik-note svg { flex: 0 0 16px; width: 16px; height: 16px; color: var(--green-600); margin-top: 4px; }

/* ---------- Contact ---------- */
.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; margin-bottom: 60px; }
.contact-side > p { color: var(--muted); margin-bottom: 34px; }
.contact-list { display: grid; gap: 22px; margin-bottom: 30px; }
.contact-list li { display: flex; gap: 16px; }
.contact-icon { flex: 0 0 50px; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 16px; background: var(--white); border: 1px solid var(--line); color: var(--green-700); }
.contact-icon svg { width: 20px; height: 20px; }
.contact-list h4 { font-family: var(--font-body); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-list p { font-size: 1rem; color: var(--ink-2); font-weight: 600; }
.contact-list a:hover { color: var(--green-700); }
.contact-social { display: flex; gap: 10px; }
.contact-social a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--white); border: 1px solid var(--line); color: var(--ink); transition: background var(--t), color var(--t), transform var(--t); }
.contact-social a:hover { background: var(--green-900); color: var(--white); transform: translateY(-3px); }

.contact-form-card { padding: clamp(28px, 4vw, 44px); border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); scroll-margin-top: 100px; }
.form-head { margin-bottom: 22px; }
.form-head h3 { font-size: 1.7rem; margin-bottom: 6px; }
.form-head p { font-size: .92rem; color: var(--muted); }
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; }
.field input, .field textarea, .field select {
    width: 100%; padding: 22px 18px 10px; border-radius: 14px; border: 1.5px solid var(--line);
    background: var(--paper); color: var(--ink); transition: border-color var(--t), box-shadow var(--t);
}
.field textarea { resize: vertical; min-height: 130px; }
.field label { position: absolute; left: 18px; top: 17px; font-size: .95rem; color: var(--muted); pointer-events: none; transition: all .25s var(--ease); transform-origin: left top; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(22,163,74,.12); background: var(--white); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 8px; font-size: .72rem; font-weight: 700; color: var(--green-700); letter-spacing: .04em; }
.field.select select { padding: 16px 44px 16px 18px; appearance: none; -webkit-appearance: none; color: var(--muted); }
.field.static label { position: static; display: block; font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: var(--green-700); margin: 0 0 6px 4px; pointer-events: auto; }
.field.static input, .field.static select { padding: 14px 18px; }
.field.static.select select { padding-right: 44px; }
.field.static.select svg { top: auto; bottom: 16px; transform: none; }
.field.static input[type="date"] { color: var(--ink); min-height: 50px; }
.field.static input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .6; }
.form-hint { display: flex; align-items: flex-start; gap: 8px; font-size: .82rem; color: var(--muted); margin-top: -4px; }
.form-hint svg { flex: 0 0 16px; width: 16px; height: 16px; color: var(--green-600); margin-top: 2px; }
.field.select:has(select option:checked:not([value=""])) select { color: var(--ink); }
.field.select svg { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.field:has(input:user-invalid) input, .field:has(textarea:user-invalid) textarea { border-color: #dc2626; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
/* Prilog – medicinski nalaz */
.file-field { display: grid; gap: 8px; }
.file-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: var(--green-700); margin-left: 4px; }
.file-label small { font-weight: 600; color: var(--muted); letter-spacing: 0; }
.file-drop { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1.5px dashed var(--line-2, #cfd8d3); border-radius: 16px; background: var(--paper); cursor: pointer; transition: border-color var(--t), background var(--t); }
.file-drop:hover, .file-drop:focus-within { border-color: var(--green-600); background: var(--white); }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.file-drop-icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); }
.file-drop-icon svg { width: 20px; height: 20px; }
.file-drop-text { display: grid; gap: 2px; font-size: .9rem; }
.file-drop-text strong { color: var(--ink); }
.file-drop-text span { font-size: .8rem; color: var(--muted); }
.file-selected { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--green-50, #f0fdf4); border: 1px solid var(--green-200, #bbf7d0); font-size: .9rem; color: var(--green-800); }
.file-selected[hidden] { display: none; }
.file-selected > svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--green-600); }
.file-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.file-remove { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1px solid var(--green-200, #bbf7d0); color: var(--muted); transition: background var(--t), color var(--t); }
.file-remove:hover { background: #fee2e2; color: #b91c1c; }
.file-remove svg { width: 14px; height: 14px; }
.file-error { font-size: .82rem; color: #dc2626; font-weight: 600; min-height: 0; }
.file-error:empty { display: none; }
.file-field.has-file .file-drop { display: none; }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: .85rem; color: var(--muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green-600); flex: 0 0 18px; }
.form-note { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; padding: 14px 16px; border-radius: 14px; background: var(--green-50, #f0fdf4); border: 1px solid var(--green-200, #bbf7d0); font-size: .9rem; line-height: 1.55; color: var(--green-900); }
.form-note svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--green-600); margin-top: 2px; }
.form-note a { color: var(--green-700); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.field.static label small { font-weight: 600; color: var(--muted); letter-spacing: 0; }
.form-privacy { font-size: .82rem; color: var(--muted); line-height: 1.55; }
.form-privacy a { color: var(--green-700); text-decoration: underline; text-underline-offset: 2px; }
.consent a { color: var(--green-700); text-decoration: underline; text-underline-offset: 2px; }
.consent-health { padding: 14px 16px; border-radius: 14px; background: var(--green-50, #f0fdf4); border: 1px solid var(--green-200, #bbf7d0); color: var(--green-900); line-height: 1.55; }
.consent-health[hidden] { display: none; }
.consent-health strong { color: var(--green-900); }
.form-status { font-size: .9rem; min-height: 1.4em; text-align: center; font-weight: 600; }
.form-status.ok { color: var(--green-700); } .form-status.err { color: #dc2626; }
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg) } }

.map-wrap { position: relative; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-wrap iframe { display: block; filter: saturate(.85) contrast(1.02); }
.map-card { position: absolute; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 18px; background: var(--white); box-shadow: var(--shadow-lg); transition: transform var(--t); }
.map-card:hover { transform: translateY(-3px); }
.map-card svg { width: 22px; height: 22px; color: var(--green-600); }
.map-card strong { display: block; font-size: .95rem; color: var(--ink); }
.map-card span { font-size: .8rem; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--green-950); color: rgba(255,255,255,.7); padding: 90px 0 0; overflow: hidden; }
.footer::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 50% at 0% 100%, rgba(34,197,94,.15), transparent 60%); pointer-events: none; }
.footer-top { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand p { margin: 20px 0 26px; max-width: 36ch; font-size: .95rem; }
.footer .logo { color: var(--white); }
.footer .logo-mark { color: var(--green-400); }
.footer .logo-text em { color: var(--green-300); }
.footer h4 { font-family: var(--font-body); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin-bottom: 22px; }
.footer-col ul { display: grid; gap: 10px; font-size: .95rem; }
.footer-col a { transition: color var(--t), padding-left var(--t); }
.footer-col a:hover { color: var(--green-300); padding-left: 6px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; }
.footer-contact svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 4px; color: var(--green-400); }
.footer-bottom { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 26px 0 100px; font-size: .85rem; }
.footer-bottom a { color: var(--green-300); text-decoration: underline; text-underline-offset: 3px; }
.footer-word { font-family: var(--font-display); font-style: italic; font-size: clamp(4rem, 15vw, 15rem); line-height: .75; text-align: center; color: rgba(255,255,255,.04); white-space: nowrap; letter-spacing: -.04em; user-select: none; pointer-events: none; transform: translateY(18%); }

/* ---------- Floating buttons ---------- */
.fab-book {
    position: fixed; right: 22px; bottom: 22px; z-index: 800;
    display: inline-flex; align-items: center; gap: 10px; padding: 16px 22px 16px 18px; border-radius: 999px;
    background: var(--green-600); color: var(--white); font-weight: 800; font-size: .92rem; letter-spacing: .01em;
    box-shadow: 0 18px 40px -12px rgba(22,163,74,.6), 0 2px 6px rgba(0,0,0,.1);
    transition: transform var(--t), background var(--t), box-shadow var(--t), opacity var(--t), visibility var(--t);
}
.fab-book::before { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--green-500); animation: pulse 2.2s ease-out infinite; z-index: -1; }
.fab-book svg { width: 20px; height: 20px; }
.fab-book:hover { transform: translateY(-3px) scale(1.03); background: var(--primary-h); }
.fab-book.is-hidden { opacity: 0; visibility: hidden; transform: translateY(16px); }
.fab { position: fixed; right: 22px; z-index: 800; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-lg); transition: transform var(--t), opacity var(--t), visibility var(--t); }
.fab-top { bottom: 88px; background: var(--green-900); color: var(--white); opacity: 0; visibility: hidden; transform: translateY(10px); }
.fab-top svg { width: 20px; height: 20px; }
.fab-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.fab-top:hover { background: var(--green-700); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 5000; display: grid; place-items: center; background: rgba(6,42,32,.92); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t); padding: 60px 20px; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { max-width: min(1100px, 92vw); max-height: 85vh; display: grid; gap: 14px; justify-items: center; }
.lightbox img { max-height: 78vh; width: auto; border-radius: var(--r); box-shadow: var(--shadow-lg); transform: scale(.94); transition: transform .5s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox figcaption { color: rgba(255,255,255,.8); font-size: .9rem; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: var(--white); transition: background var(--t); }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lightbox button svg { width: 22px; height: 22px; }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 30px; z-index: 6000; transform: translate(-50%, 20px); padding: 14px 22px; border-radius: 999px; background: var(--green-900); color: var(--white); font-size: .9rem; font-weight: 600; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: all var(--t); }
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Reveal defaults (JS animira) ---------- */
[data-reveal], [data-stagger] > * { opacity: 0; transform: translateY(28px); }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; }
[data-split] .w > span { display: inline-block; transform: translateY(105%); }
.no-js [data-reveal], .no-js [data-stagger] > *, .no-js .hero-chip, .no-js .img-reveal { opacity: 1; transform: none; clip-path: none; }
.no-js .hero-frame { clip-path: none; }
.no-js .hero-title .line .w { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .nav-link { padding: 9px 12px; font-size: .8rem; }
    .header-phone span { display: none; }
}
@media (max-width: 1100px) {
    .nav { display: none; }
    .nav-toggle { display: block; }
    .header-phone { display: none; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero { min-height: auto; padding-top: calc(var(--header-h) + 24px); }
    .hero-frame { aspect-ratio: 16 / 11; max-height: none; }
    .hero-img { object-position: 50% 25%; }
    .hero-chip-1 { left: 16px; top: 16px; }
    .hero-chip-2 { right: 16px; bottom: 16px; }
    .hero-media::after { inset: 4% -3% -3% 4%; }
    .usluge-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    :root { --header-h: 72px; }
    .header-actions .btn { display: none; }
    .section-head, .onama-head { grid-template-columns: 1fr; gap: 16px; align-items: start; }
    .section-side { justify-items: start; }
    .section-head .section-desc { justify-self: start; }
    .cjenik-downloads { justify-content: flex-start; }
    .zasto-grid, .contact-grid { grid-template-columns: 1fr; }
    .zasto-media { aspect-ratio: 1 / .95; order: -1; }
    .zasto-media--single { aspect-ratio: 3 / 2.3; }
    .zasto-quote { max-width: 56%; }
    .tim-grid { grid-template-columns: 1fr; }
    .tim-photo { aspect-ratio: 4 / 3.6; }
    .tim-photo img { object-position: 50% 0; }
    .footer-top { grid-template-columns: 1fr; gap: 36px; }
    .map-card { left: 12px; bottom: 12px; right: 12px; }
    .cjenik-table thead th, .cjenik-table tbody td, .cjenik-table tr.group th { padding-inline: 14px; }
    .cjenik-table { font-size: .9rem; }
    .cjenik-table tbody td.num { font-size: 1.05rem; }
}
@media (max-width: 560px) {
    .usluge-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .hero-actions .btn { width: 100%; }
    .hero-address { width: 100%; justify-content: center; }
    .hero-chip { padding: 10px 14px 10px 10px; }
    .hero-chip strong { font-size: .8rem; }
    .hero-chip span { font-size: .7rem; }
    .zasto-quote { display: none; }
    .zasto-media--single { aspect-ratio: 3 / 2; }
    .cta-actions .btn { width: 100%; }
    .lightbox-prev, .lightbox-next { display: none; }
    .fab-book { right: 14px; bottom: 14px; padding: 14px 18px 14px 16px; }
    .fab { right: 14px; }
    .fab-top { bottom: 76px; }
    .cjenik-table thead th:nth-child(2), .cjenik-table tbody td:nth-child(2) { display: none; }
    .cjenik-table-wrap { overflow-x: auto; }
    .cjenik-table { font-size: .84rem; }
    .cjenik-table thead th, .cjenik-table tbody td, .cjenik-table tr.group th { padding-inline: 10px; }
    .cjenik-table thead th { font-size: .62rem; letter-spacing: .06em; padding-block: 12px; }
    .cjenik-table tbody td.num { font-size: .98rem; }
    .cjenik-table tbody td.num:last-child { font-size: .88rem; }
    .cjenik-downloads > span { flex-basis: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    [data-reveal], [data-stagger] > *, .hero-chip, .img-reveal, [data-split] .w > span, .hero-title .line .w { opacity: 1 !important; transform: none !important; clip-path: none !important; }
    .hero-frame { clip-path: none !important; }
    .gallery-track { animation: none; }
    .hero-img { transform: none; }
}

/* Lightbox bez opisa ispod slike – zahtjev klijentice 12.11.2026. (alt tekst ostaje za pristupačnost) */
#lightboxCap { display: none !important; }
