/* ==========================================================================
   VB Book – stilovi. Mobile-first: osnovna pravila su za telefon,
   @media (min-width) blokovi dodaju raspored za veće ekrane.
   ========================================================================== */

/* ---------- Fontovi (lokalno, bez poziva ka Google-u) ---------- */
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/manrope-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "DM Serif Display";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/dmserif-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "DM Serif Display";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/dmserif-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "DM Serif Display";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/dmserif-italic-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "DM Serif Display";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/dmserif-italic-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Boje i mere (iz logoa) ---------- */
:root {
    --navy: #1b2638;
    --navy-900: #121a28;
    --navy-700: #26344b;
    --navy-500: #3d4c66;
    --gold: #b88b45;
    --gold-light: #d6b476;
    --gold-soft: #f3e9d6;
    --gold-text: #8a6526;          /* zlatna dovoljno tamna za tekst na beloj (kontrast > 4.5) */
    --ink: #1b2638;
    --muted: #586377;
    --line: #e5e0d6;
    --bg: #ffffff;
    --tint: #faf7f1;
    --error: #b3261e;
    --success: #2e7d4f;

    --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;

    --radius: 14px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 2px rgba(18, 26, 40, .06), 0 2px 8px rgba(18, 26, 40, .05);
    --shadow: 0 10px 30px -10px rgba(18, 26, 40, .18), 0 2px 6px rgba(18, 26, 40, .05);
    --shadow-lg: 0 30px 60px -20px rgba(18, 26, 40, .35);
    --header-h: 68px;
    --gutter: 16px;
}

/* ---------- Osnova ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-bottom: 76px; /* mesto za donju traku sa dugmadima na telefonu */
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--gold-text); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.15; color: var(--navy); }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.75rem); }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

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

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    margin-bottom: 14px;
    font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
    color: var(--gold-text);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.eyebrow-light { color: var(--gold-light); }
.lead { font-size: 1.15rem; color: var(--ink); }

/* ---------- Dugmad ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 12px 24px;
    font: inherit; font-weight: 700; font-size: .98rem; line-height: 1.2;
    border: 2px solid transparent; border-radius: 999px;
    text-decoration: none; cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn-primary { background: var(--gold); color: #fff; box-shadow: 0 8px 20px -8px rgba(184, 139, 69, .7); }
.btn-primary:hover { background: #a67a37; color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-700); color: #fff; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost-light:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-outline-light { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-outline-light:hover { color: #fff; border-color: #fff; }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: .9rem; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ---------- Zaglavlje ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    height: var(--header-h);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
/* Zamućena pozadina je na pseudo-elementu, NE na samom zaglavlju: backdrop-filter na
   roditelju "zarobi" position:fixed potomke, pa bi mobilni meni bio visok kao zaglavlje. */
.site-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    backdrop-filter: saturate(160%) blur(10px);
}
.nav-open .site-header::before { background: #fff; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand-mark { width: 48px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: .02em; }
.brand-sub { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone, .header-actions .btn { display: none; }
.header-phone {
    align-items: center; gap: 8px;
    font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap;
}
.header-phone .icon { color: var(--gold); }

.nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; padding: 0;
    background: transparent; border: 1px solid var(--line); border-radius: 12px;
    color: var(--navy); cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* Mobilni meni: panel ispod zaglavlja */
.main-nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: #fff;
    padding: 24px var(--gutter) 32px;
    overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-open .main-nav { visibility: visible; opacity: 1; transform: none; }
.nav-open { overflow: hidden; }
.main-nav ul { display: flex; flex-direction: column; }
.main-nav li a {
    display: block; padding: 16px 4px;
    font-family: var(--font-display); font-size: 1.6rem;
    color: var(--navy); text-decoration: none;
    border-bottom: 1px solid var(--line);
}
.main-nav li a:hover { color: var(--gold-text); }
.nav-mobile-extra { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.nav-contact { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--navy); text-decoration: none; }
.nav-contact .icon { color: var(--gold); }

/* ---------- Početna (hero) ---------- */
.hero {
    position: relative; overflow: hidden;
    background: radial-gradient(120% 90% at 85% 10%, var(--navy-700) 0%, var(--navy) 45%, var(--navy-900) 100%);
    color: #e7ebf2;
    padding: 56px 0 72px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg svg { width: 100%; height: 100%; }
.hero-bg path { fill: none; stroke: var(--gold); stroke-width: 1.4; opacity: .22; }
.hero-bg path:nth-child(2) { opacity: .14; }
.hero-bg path:nth-child(3) { opacity: .08; }
.hero-grid { position: relative; display: grid; gap: 48px; }
.hero h1 {
    color: #fff;
    font-size: clamp(2.35rem, 1.5rem + 4vw, 4.1rem);
    line-height: 1.06;
    margin-bottom: .45em;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-lead { font-size: 1.1rem; max-width: 36em; color: #c9d0dc; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin: 30px 0 32px; }
.hero-trust { display: flex; flex-direction: column; gap: 10px; font-weight: 600; font-size: .95rem; color: #dfe4ec; }
.hero-trust li { display: flex; align-items: center; gap: 10px; }
.hero-trust .icon { color: var(--gold-light); }

/* Ilustrativna kartica "Ovog meseca za vas" */
.hero-visual { position: relative; max-width: 440px; width: 100%; margin: 0 auto; }
.month-card {
    background: #fff; color: var(--ink);
    border-radius: 20px; padding: 24px;
    box-shadow: var(--shadow-lg);
}
.month-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.month-card-label { font-family: var(--font-display); font-size: 1.35rem; color: var(--navy); }
.month-card-badge {
    font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: var(--success); background: #e7f4ec; border-radius: 999px; padding: 6px 10px; white-space: nowrap;
}
.month-card-list li {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
    padding: 13px 0; border-top: 1px solid var(--line); font-weight: 600;
}
.month-card-list small { color: var(--muted); font-weight: 500; font-size: .82rem; }
.tick {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--gold-soft); color: var(--gold-text);
}
.tick .icon { width: 16px; height: 16px; stroke-width: 2.4; }
.month-card-foot {
    display: flex; align-items: center; gap: 10px;
    margin-top: 14px; padding: 14px; border-radius: 12px;
    background: var(--tint); font-size: .92rem; color: var(--muted);
}
.month-card-foot .icon { color: var(--gold); }
.month-card-foot strong { color: var(--navy); }
.floating-chip {
    position: absolute; right: -6px; bottom: -22px;
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px; border-radius: 14px;
    background: var(--gold); color: #fff; font-size: .88rem;
    box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .45);
}
.floating-chip .icon { width: 22px; height: 22px; }

/* ---------- Sekcije ---------- */
.section { padding: 72px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--navy); color: #c9d0dc; }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p:last-child { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }
.section-head-light h2 { color: #fff; }
.section-head-light p:last-child { color: #aab3c3; }
.section-head-left { text-align: left; margin: 0 0 32px; }
.section-head-left p:last-of-type { margin-bottom: 24px; }

/* O nama */
.about-grid { display: grid; gap: 40px; align-items: center; }
.about-copy p { color: var(--muted); }
.about-copy .lead { color: var(--ink); }
.about-card {
    position: relative;
    background: var(--navy); color: #dfe4ec;
    border-radius: 20px; padding: 32px 28px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.about-card::after {
    content: ""; position: absolute; right: -60px; top: -60px;
    width: 200px; height: 200px; border-radius: 50%;
    border: 1px solid rgba(214, 180, 118, .25);
    box-shadow: 0 0 0 30px rgba(214, 180, 118, .05);
}
.about-stat { display: flex; flex-direction: column; padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, .12); margin-bottom: 22px; }
.about-number { font-family: var(--font-display); font-size: 5rem; line-height: 1; color: #fff; }
.about-number span { color: var(--gold-light); }
.about-number-label { font-weight: 600; letter-spacing: .02em; color: var(--gold-light); margin-top: 6px; }
.about-facts { display: flex; flex-direction: column; gap: 16px; }
.about-facts li { display: flex; gap: 14px; align-items: flex-start; }
.about-facts .icon { color: var(--gold-light); margin-top: 2px; }

/* Usluge */
.services-grid { display: grid; gap: 16px; }
.service-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px 24px;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.service-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px;
    background: var(--gold-soft); color: var(--gold-text);
    transition: background-color .25s, color .25s;
}
.service-icon .icon { width: 26px; height: 26px; }
.service-card:hover .service-icon { background: var(--navy); color: var(--gold-light); }
.service-card-wide { background: var(--navy); border-color: var(--navy); }
.service-card-wide h3 { color: #fff; }
.service-card-wide p { color: #c9d0dc; }
.service-card-wide .service-icon { background: rgba(214, 180, 118, .15); color: var(--gold-light); }
.services-cta {
    display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center;
    margin-top: 40px;
}
.services-cta p { margin: 0; color: var(--muted); }
.services-cta strong { color: var(--navy); }

/* Zašto mi */
.reasons-grid { display: grid; gap: 1px; background: rgba(255, 255, 255, .1); border-radius: var(--radius); overflow: hidden; }
.reason { position: relative; background: var(--navy); padding: 30px 26px; }
.reason h3 { color: #fff; margin-top: 18px; }
.reason p { margin: 0; font-size: .95rem; }
.reason-num { position: absolute; top: 26px; right: 26px; font-family: var(--font-display); font-size: 1.4rem; color: rgba(214, 180, 118, .45); }
.reason-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 50px; height: 50px; border-radius: 50%;
    border: 1px solid rgba(214, 180, 118, .45); color: var(--gold-light);
}
.reason-icon .icon { width: 24px; height: 24px; }

/* Oblik poslovanja */
.forms-grid { display: grid; gap: 16px; }
.form-type {
    border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
    background: linear-gradient(180deg, #fff 0%, var(--tint) 100%);
}
.form-type h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.75rem; margin-bottom: 4px; }
.form-type-lead { color: var(--gold-text); font-weight: 600; font-size: .92rem; margin-bottom: 18px; }
.form-type li { display: flex; gap: 10px; padding: 8px 0; color: var(--muted); font-size: .95rem; border-top: 1px dashed var(--line); }
.form-type li .icon { color: var(--gold); margin-top: 3px; width: 18px; height: 18px; stroke-width: 2.2; }
.forms-note { text-align: center; margin: 32px auto 0; max-width: 640px; color: var(--muted); }

/* Kako radimo */
.steps { display: grid; gap: 16px; counter-reset: step; }
.step {
    position: relative; background: #fff; border-radius: var(--radius); padding: 28px 24px;
    border: 1px solid var(--line);
}
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
.step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%; margin-bottom: 18px;
    background: var(--navy); color: var(--gold-light);
    font-family: var(--font-display); font-size: 1.4rem;
}

/* Česta pitanja */
.faq-grid { display: grid; gap: 8px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: transparent; box-shadow: var(--shadow); }
.faq-item summary {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 20px 22px; cursor: pointer; list-style: none;
    font-weight: 700; color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
    width: 32px; height: 32px; padding: 6px; border-radius: 50%;
    background: var(--gold-soft); color: var(--gold-text);
    transition: transform .25s, background-color .25s;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--navy); color: var(--gold-light); }
.faq-answer { padding: 0 22px 20px; color: var(--muted); }
.faq-answer p { margin: 0; }

/* Kontakt */
.contact-grid { display: grid; gap: 24px; }
.contact-info { display: grid; gap: 12px; align-content: start; }
.contact-item {
    display: flex; gap: 16px; align-items: center;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 18px 20px; color: var(--muted); text-decoration: none;
    transition: border-color .2s, box-shadow .2s;
}
a.contact-item:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); color: var(--muted); }
.contact-item > span:last-child { display: flex; flex-direction: column; min-width: 0; font-size: .92rem; }
.contact-item small { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.contact-item strong { color: var(--navy); font-size: 1.02rem; overflow-wrap: anywhere; }
.contact-icon {
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--navy); color: var(--gold-light);
}

.contact-form-wrap {
    background: #fff; border-radius: 20px; padding: 26px 20px;
    box-shadow: var(--shadow);
}
.form-row { display: grid; gap: 0 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-weight: 700; font-size: .9rem; color: var(--navy); }
.req { color: var(--gold-text); }
.field input, .field select, .field textarea {
    width: 100%; min-height: 50px;
    padding: 12px 14px;
    font: inherit; font-size: 1rem; /* 16px sprečava zumiranje na iPhone-u */
    color: var(--ink); background: #fcfbf8;
    border: 1.5px solid var(--line); border-radius: 10px;
    transition: border-color .2s, box-shadow .2s, background-color .2s;
    -webkit-appearance: none; appearance: none;
}
.field select {
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b88b45' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; background-size: 20px;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--gold); background: #fff;
    box-shadow: 0 0 0 4px rgba(184, 139, 69, .15);
}
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.field-error { margin: 6px 0 0; font-size: .85rem; font-weight: 600; color: var(--error); }
.field-error:empty { display: none; }
.form-hint { margin: -4px 0 16px; font-size: .85rem; color: var(--muted); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.captcha-wrap { margin: 4px 0 16px; min-height: 78px; }
.form-status:empty { display: none; }
.form-status, .form-alert { margin-bottom: 16px; padding: 12px 14px; border-radius: 10px; font-weight: 600; font-size: .92rem; }
.form-status.is-error, .form-alert-error { background: #fbeceb; color: var(--error); }
.form-alert-success { background: #e7f4ec; color: var(--success); }
.form-legal { margin: 14px 0 0; font-size: .78rem; color: var(--muted); line-height: 1.5; }
.form-success { text-align: center; padding: 40px 10px; }
.form-success:focus { outline: none; }
.form-success-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 72px; height: 72px; border-radius: 50%; margin-bottom: 18px;
    background: #e7f4ec; color: var(--success);
}
.form-success-icon .icon { width: 36px; height: 36px; stroke-width: 2.4; }
.form-success p { color: var(--muted); }

.map-wrap { position: relative; margin-top: 32px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: #e9e5dc; }
.map-wrap iframe { display: block; width: 100%; height: 340px; border: 0; }
.map-link {
    position: absolute; left: 12px; bottom: 12px;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 14px; border-radius: 999px;
    background: var(--navy); color: #fff; font-weight: 700; font-size: .88rem; text-decoration: none;
    box-shadow: var(--shadow);
}
.map-link:hover { color: var(--gold-light); }
.map-link .icon { color: var(--gold-light); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #aab3c3; padding: 64px 0 0; font-size: .95rem; }
.footer-grid { display: grid; gap: 40px; padding-bottom: 48px; }
.footer-brand img { width: 170px; margin-bottom: 20px; }
.footer-brand p { max-width: 340px; }
.footer-title { font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-contact a { color: #dfe4ec; text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-light); }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { color: var(--gold); margin-top: 3px; }
.footer-contact strong { color: #dfe4ec; }
.footer-bottom {
    display: flex; flex-direction: column; gap: 8px;
    padding-top: 22px; padding-bottom: 22px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: .85rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #aab3c3; }
.footer-bottom a:hover { color: var(--gold-light); }

/* Donja traka sa dugmadima (samo telefon) */
.mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(18, 26, 40, .96);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transform: translateY(110%);
    transition: transform .3s;
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { min-height: 48px; padding: 10px 14px; font-size: .92rem; }

/* ---------- Politika privatnosti i 404 ---------- */
.page-hero { background: var(--navy); color: #c9d0dc; padding: 56px 0 48px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 3vw, 3rem); margin-bottom: .3em; }
.page-hero p { margin: 0; }
.legal { max-width: 780px; padding-top: 48px; padding-bottom: 72px; }
.legal h2 { font-size: 1.6rem; margin-top: 1.8em; }
.legal p, .legal li { color: #3f4a5c; }
.legal ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.legal li { margin-bottom: .4em; }
.legal-box { background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 1em 0 1.5em; }
.legal-box p { margin: 0; }
.notfound { text-align: center; padding: 96px 0; }
.notfound .about-number { color: var(--navy); }

/* ---------- Animacija pojavljivanja ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Veći ekrani
   ========================================================================== */
@media (min-width: 480px) {
    .hero-actions { flex-direction: row; flex-wrap: wrap; }
    .contact-form-wrap { padding: 32px 28px; }
}

@media (min-width: 640px) {
    :root { --gutter: 24px; }
    .services-grid, .reasons-grid, .steps { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr 1fr; }
    .hero-trust { flex-direction: row; flex-wrap: wrap; gap: 12px 28px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: row; justify-content: space-between; }
    .map-wrap iframe { height: 420px; }
}

@media (min-width: 900px) {
    .forms-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-grid { grid-template-columns: 5fr 7fr; align-items: start; }
    .contact-info { position: sticky; top: calc(var(--header-h) + 24px); }
}

@media (min-width: 1024px) {
    :root { --header-h: 80px; }
    body { padding-bottom: 0; }
    .mobile-cta { display: none; }

    .nav-toggle, .nav-mobile-extra { display: none; }
    .main-nav {
        position: static; inset: auto; padding: 0; background: none; overflow: visible;
        visibility: visible; opacity: 1; transform: none;
    }
    .main-nav ul { flex-direction: row; gap: 4px; }
    .main-nav li a {
        position: relative;
        padding: 8px 12px; border: 0;
        font-family: var(--font-body); font-size: .95rem; font-weight: 600;
    }
    .main-nav li a::after {
        content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px;
        height: 2px; background: var(--gold);
        transform: scaleX(0); transition: transform .25s;
    }
    .main-nav li a:hover::after, .main-nav li a.is-active::after { transform: scaleX(1); }
    .main-nav li a.is-active { color: var(--navy); }
    .header-actions .btn { display: inline-flex; }

    .brand-mark { width: 56px; }

    .hero { padding: 96px 0 120px; }
    .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 64px; }
    .hero-visual { margin: 0 0 0 auto; }

    .section { padding: 104px 0; }
    .about-grid { grid-template-columns: 1.3fr 1fr; gap: 72px; }
    .services-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .service-card-wide { grid-column: span 2; display: flex; gap: 24px; align-items: center; }
    .service-card-wide .service-icon { margin-bottom: 0; flex-shrink: 0; width: 64px; height: 64px; }
    .service-card-wide h3 { margin-bottom: 4px; }
    .reasons-grid { grid-template-columns: repeat(3, 1fr); }
    .reason { padding: 40px 34px; }
    .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; }
    .step::after {
        content: ""; position: absolute; top: 52px; left: calc(24px + 48px + 12px); right: -8px;
        border-top: 2px dashed var(--gold-light); opacity: .6;
    }
    .step:last-child::after { display: none; }
    .faq-grid { grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
    .faq-grid .section-head-left { position: sticky; top: calc(var(--header-h) + 24px); }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
    .footer-brand { grid-column: auto; }
    .contact-form-wrap { padding: 40px; }
}

@media (min-width: 1180px) {
    .header-phone { display: inline-flex; }
    .main-nav li a { padding: 8px 14px; }
}
