/* =========================================================
   GLOBAL PAK NS — dizajn sistem
   Sve boje/razmaci se menjaju ovde (:root), ne po komponentama.
   ========================================================= */

:root {
    /* Brend — izvedeno iz zvaničnog logotipa (tamnozelena #00a651, svetlozelena #8dc63f) */
    --brand-900: #05301c;
    --brand-800: #084d2d;
    --brand-700: #066a3d;
    --brand-600: #00874a;
    --brand-500: #00a651;
    --brand-300: #8dc63f;
    --brand-100: #d9f0c6;
    --brand-50: #f1faea;

    /* Akcenat — žućkastozelena, da se odvoji od brend zelene */
    --lime-600: #7aa800;
    --lime-500: #a3d100;
    --lime-400: #bfe82b;
    --lime-100: #f0fbd0;

    --sun: #ffc247;

    /* Neutralno */
    --ink: #0f1d16;
    --ink-soft: #2c4136;
    --muted: #5d7268;
    --line: #e2ece5;
    --surface: #ffffff;
    --surface-2: #f4f9f6;
    --surface-3: #e7f1ea;

    /* Sistem */
    --radius-s: 10px;
    --radius: 18px;
    --radius-l: 28px;
    --radius-xl: 40px;

    --shadow-s: 0 2px 8px rgba(6, 40, 24, .06);
    --shadow: 0 10px 30px rgba(6, 40, 24, .08);
    --shadow-l: 0 26px 60px rgba(6, 40, 24, .14);

    --container: 1180px;
    --nav-h: 76px;

    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--surface);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
    margin: 0 0 .5em;
    line-height: 1.15;
    letter-spacing: -.02em;
    font-weight: 800;
    color: var(--ink);
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

h1:focus, h2:focus { outline: none; }

p { margin: 0 0 1rem; }

a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-800); text-decoration: underline; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

::selection { background: var(--lime-400); color: var(--ink); }

:focus-visible {
    outline: 3px solid var(--brand-500);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ---------- Layout ---------- */

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

.container-narrow { max-width: 820px; }

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--alt { background: var(--surface-2); }
.section--ink { background: var(--brand-900); color: #dcefe4; }
.section--ink h2, .section--ink h3 { color: #fff; }

.section-head { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section--ink .section-head p { color: #a7cbb5; }
.section-head--left { margin-inline: 0; text-align: left; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 980px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.stack-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- Tipografski pomoćnici ---------- */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brand-600);
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.eyebrow--lime { color: var(--lime-600); background: var(--lime-100); border-color: #dcf2a8; }
.section--ink .eyebrow { color: var(--lime-400); background: rgba(191, 232, 43, .12); border-color: rgba(191, 232, 43, .3); }

.lead { font-size: 1.15rem; color: var(--ink-soft); }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.highlight { color: var(--brand-600); }
.underline-swoosh {
    background: linear-gradient(transparent 62%, var(--lime-400) 62%, var(--lime-400) 92%, transparent 92%);
    padding-inline: 2px;
}

/* ---------- Dugmad ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font: inherit;
    font-weight: 700;
    line-height: 1;
    padding: 15px 26px;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
    white-space: nowrap;
}

.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--brand-600); color: #fff; box-shadow: 0 10px 22px rgba(0, 135, 74, .28); }
.btn-primary:hover { background: var(--brand-700); color: #fff; box-shadow: 0 14px 28px rgba(0, 135, 74, .34); }

.btn-lime { background: var(--lime-400); color: var(--brand-900); box-shadow: 0 10px 22px rgba(122, 168, 0, .32); }
.btn-lime:hover { background: var(--lime-500); color: var(--brand-900); }

.btn-ghost { background: transparent; color: var(--brand-700); border-color: var(--brand-100); }
.btn-ghost:hover { background: var(--brand-50); color: var(--brand-800); border-color: var(--brand-300); }

.btn-light { background: #fff; color: var(--brand-800); }
.btn-light:hover { background: var(--brand-50); color: var(--brand-900); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }

.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

/* ---------- Header / navigacija ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s ease, border-color .25s ease;
}

.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-s); }

.nav {
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand img { height: 48px; width: auto; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 900; font-size: 1.22rem; color: var(--brand-800); letter-spacing: -.02em; }
.brand-sub { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 4px; }

.nav-link {
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .97rem;
    color: var(--ink-soft);
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease;
}

.nav-link:hover { background: var(--brand-50); color: var(--brand-700); text-decoration: none; }
.nav-link.active { color: var(--brand-700); background: var(--brand-50); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: var(--brand-800);
    text-decoration: none;
}
.nav-phone:hover { text-decoration: none; color: var(--brand-600); }

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
    .nav-phone { display: none; }
}

@media (max-width: 920px) {
    .nav-toggle { display: flex; }

    .nav-links {
        position: fixed;
        inset: var(--nav-h) 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        background: #fff;
        padding: 16px 20px 26px;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease, transform .2s ease;
        max-height: calc(100vh - var(--nav-h));
        overflow-y: auto;
    }

    .nav-links.is-open { opacity: 1; transform: none; pointer-events: auto; }
    .nav-link { padding: 13px 16px; border-radius: var(--radius-s); font-size: 1.05rem; }
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1000px 520px at 92% -10%, rgba(191, 232, 43, .22), transparent 60%),
        radial-gradient(900px 600px at 4% 8%, rgba(0, 166, 81, .18), transparent 60%),
        linear-gradient(170deg, var(--brand-50) 0%, #fff 62%);
    padding: clamp(52px, 7vw, 96px) 0 clamp(64px, 8vw, 110px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
}

.hero h1 { margin-bottom: .35em; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-soft); max-width: 56ch; }

.hero-points {
    list-style: none;
    padding: 0;
    margin: 26px 0 30px;
    display: grid;
    gap: 10px;
}

.hero-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 600;
    color: var(--ink-soft);
}

.check {
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--lime-400);
    color: var(--brand-900);
    display: grid;
    place-items: center;
    font-size: .72rem;
    font-weight: 900;
    margin-top: 2px;
}

.hero-trust { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 34px; }
.hero-trust div strong { display: block; font-size: 1.5rem; color: var(--brand-800); line-height: 1.1; }
.hero-trust div span { font-size: .88rem; color: var(--muted); }

/* Vizual sa "mehurićima" — zamenjuje se fotografijom kad stigne */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 380px; }

.hero-blob {
    position: absolute;
    inset: 8% 4%;
    background: linear-gradient(150deg, var(--brand-300), var(--brand-700));
    border-radius: 46% 54% 58% 42% / 48% 42% 58% 52%;
    box-shadow: var(--shadow-l);
    animation: blob 16s ease-in-out infinite;
}

@keyframes blob {
    0%, 100% { border-radius: 46% 54% 58% 42% / 48% 42% 58% 52%; }
    50% { border-radius: 58% 42% 44% 56% / 56% 58% 42% 44%; }
}

.hero-card {
    position: relative;
    background: rgba(255, 255, 255, .96);
    border-radius: var(--radius-l);
    box-shadow: var(--shadow-l);
    padding: 26px;
    width: min(400px, 100%);
    display: grid;
    gap: 14px;
}

.hero-card-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: var(--radius-s);
    background: var(--surface-2);
}

.hero-card-row .ico { font-size: 1.5rem; }
.hero-card-row strong { display: block; font-size: .98rem; }
.hero-card-row span { font-size: .85rem; color: var(--muted); }

.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, .95), rgba(255, 255, 255, .18) 55%, rgba(255, 255, 255, .05));
    border: 1px solid rgba(255, 255, 255, .5);
    animation: float 9s ease-in-out infinite;
    pointer-events: none;
}

.bubble.b1 { width: 74px; height: 74px; top: 4%; left: 2%; }
.bubble.b2 { width: 44px; height: 44px; top: 74%; left: 8%; animation-delay: 1.4s; }
.bubble.b3 { width: 96px; height: 96px; top: 60%; right: 0%; animation-delay: 2.6s; }
.bubble.b4 { width: 34px; height: 34px; top: 14%; right: 12%; animation-delay: .8s; }

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-18px) scale(1.05); }
}

/* ---------- Traka prednosti ---------- */

.usp-bar {
    background: var(--brand-900);
    color: #cfe8da;
}

.usp-bar .grid { gap: 0; }

.usp {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 24px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.usp:last-child { border-right: 0; }
.usp .ico { font-size: 1.7rem; line-height: 1; }
.usp strong { display: block; color: #fff; font-size: 1rem; }
.usp span { font-size: .87rem; color: #9fc3ab; }

@media (max-width: 980px) { .usp { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); } }

/* ---------- Kartice ---------- */

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }

.card-ico {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    background: var(--brand-50);
    margin-bottom: 16px;
}

.card-ico--lime { background: var(--lime-100); }
.card-ico--sun { background: #fff2d6; }

/* Kategorije */
.cat-card {
    position: relative;
    display: block;
    padding: 28px 26px 26px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--line);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.cat-card::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: var(--brand-50);
    transition: transform .3s ease, background-color .3s ease;
}

.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); text-decoration: none; }
.cat-card:hover::after { transform: scale(1.35); background: var(--lime-100); }
.cat-card > * { position: relative; z-index: 1; }
.cat-card .ico { font-size: 2.1rem; margin-bottom: 12px; }
.cat-card h3 { font-size: 1.12rem; margin-bottom: .3em; }
.cat-card p { color: var(--muted); font-size: .92rem; margin: 0 0 14px; }
.cat-card .more { font-weight: 700; color: var(--brand-600); font-size: .9rem; }

/* Proizvodi */
.product-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.product-media {
    position: relative;
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    font-size: 3.4rem;
    background: linear-gradient(140deg, var(--brand-50), var(--surface-3));
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--lime-400);
    color: var(--brand-900);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 999px;
}

.product-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-cat { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-600); }
.product-body h3 { font-size: 1.06rem; margin: 0; }
.product-body p { font-size: .92rem; color: var(--muted); margin: 0; flex: 1; }

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
    margin-top: 6px;
}

.product-pack { font-size: .86rem; color: var(--muted); font-weight: 600; }
.product-price { font-weight: 800; color: var(--brand-700); font-size: .95rem; }

/* Filter pilule */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }

.pill {
    font: inherit;
    font-size: .92rem;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink-soft);
    cursor: pointer;
    transition: all .18s ease;
}

.pill:hover { border-color: var(--brand-300); color: var(--brand-700); }
.pill.is-active { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }

/* ---------- Brojevi ---------- */

.stat { text-align: center; padding: 26px 16px; }
.stat strong { display: block; font-size: clamp(2.1rem, 4vw, 3rem); font-weight: 900; color: #fff; line-height: 1; letter-spacing: -.03em; }
.stat span { color: #9fc3ab; font-size: .95rem; }
.stat strong em { font-style: normal; color: var(--lime-400); }

/* ---------- Koraci ---------- */

.step { position: relative; padding: 30px 26px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }

.step-num {
    position: absolute;
    top: -20px;
    left: 26px;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--brand-700);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 1.1rem;
    box-shadow: 0 8px 18px rgba(6, 106, 61, .3);
}

.step h3 { margin-top: 14px; font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Split blok (slika + tekst) ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.split--reverse .split-visual { order: 2; }

@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; }
    .split--reverse .split-visual { order: 0; }
}

.split-visual {
    border-radius: var(--radius-l);
    background: linear-gradient(150deg, var(--brand-600), var(--brand-900));
    min-height: 340px;
    display: grid;
    place-items: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-l);
}

.split-visual .placeholder-note {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 30px;
    font-size: .92rem;
    color: rgba(255, 255, 255, .82);
}

.split-visual .big-ico { font-size: 4.4rem; display: block; margin-bottom: 10px; }

.feature-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list strong { display: block; }
.feature-list span { color: var(--muted); font-size: .95rem; }

/* ---------- Utisci ---------- */

.quote {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.quote .stars { color: var(--sun); letter-spacing: 2px; }
.quote p { font-size: 1rem; color: var(--ink-soft); margin: 0; flex: 1; }
.quote footer { display: flex; align-items: center; gap: 12px; }

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand-100);
    color: var(--brand-800);
    display: grid;
    place-items: center;
    font-weight: 900;
    flex: none;
}

.quote footer strong { display: block; font-size: .95rem; }
.quote footer span { font-size: .84rem; color: var(--muted); }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }

.faq details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-s);
    padding: 4px 20px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.faq details[open] { border-color: var(--brand-300); box-shadow: var(--shadow-s); }

.faq summary {
    cursor: pointer;
    font-weight: 700;
    padding: 16px 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--brand-600);
    line-height: 1;
    transition: transform .2s ease;
}

.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin: 0 0 16px; font-size: .97rem; }

/* ---------- CTA blok ---------- */

.cta-band {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--brand-700), var(--brand-900) 70%);
    color: #fff;
    padding: clamp(38px, 6vw, 66px);
    text-align: center;
    box-shadow: var(--shadow-l);
}

.cta-band h2 { color: #fff; }
.cta-band p { color: #bcdcc8; max-width: 60ch; margin-inline: auto; }
.cta-band .btn-row { margin-top: 26px; }

/* ---------- Forma ---------- */

.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }

.field { display: grid; gap: 7px; }
.field label { font-weight: 700; font-size: .92rem; }
.field .hint { font-size: .82rem; color: var(--muted); }

.field input, .field textarea, .field select {
    font: inherit;
    color: var(--ink);
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: var(--radius-s);
    background: #fff;
    width: 100%;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.field input:focus, .field textarea:focus, .field select:focus {
    outline: none;
    border-color: var(--brand-500);
    box-shadow: 0 0 0 4px rgba(0, 166, 81, .16);
}

.field textarea { min-height: 130px; resize: vertical; }

.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--muted); }
.checkbox input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--brand-600); }

.form-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    padding: clamp(24px, 4vw, 40px);
    box-shadow: var(--shadow);
}

.alert {
    border-radius: var(--radius-s);
    padding: 16px 18px;
    font-size: .95rem;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.alert-success { background: var(--lime-100); border: 1px solid #cfe995; color: #3c5709; }
.alert-info { background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--brand-800); }

.validation-message, .validation-errors { color: #cf2b2b; font-size: .86rem; }
.invalid { border-color: #cf2b2b !important; }
.valid.modified:not([type=checkbox]) { border-color: var(--lime-600); }

/* ---------- Info kartice / kontakt ---------- */

.info-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.info-card .ico { font-size: 1.6rem; line-height: 1; }
.info-card h3 { font-size: 1.02rem; margin-bottom: .25em; }
.info-card p, .info-card a { font-size: .95rem; color: var(--muted); margin: 0; }
.info-card a { color: var(--brand-600); font-weight: 600; }

.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.hours li:last-child { border-bottom: 0; }
.hours span:last-child { font-weight: 700; color: var(--ink); }

.map-embed {
    border-radius: var(--radius-l);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-s);
    line-height: 0;
}

.map-embed iframe {
    width: 100%;
    height: 340px;
    border: 0;
    display: block;
}

.map-placeholder {
    border-radius: var(--radius-l);
    background: repeating-linear-gradient(45deg, var(--surface-2), var(--surface-2) 18px, var(--surface-3) 18px, var(--surface-3) 36px);
    border: 1px solid var(--line);
    min-height: 320px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 24px;
    color: var(--muted);
}

/* ---------- Tabela ---------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }

table.tbl { width: 100%; border-collapse: collapse; min-width: 560px; }
table.tbl th, table.tbl td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
table.tbl th { background: var(--surface-2); font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
table.tbl tr:last-child td { border-bottom: 0; }

/* ---------- Logo traka (partneri / brendovi) ---------- */

.logo-strip { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.logo-chip {
    padding: 14px 26px;
    border-radius: var(--radius-s);
    background: #fff;
    border: 1px solid var(--line);
    font-weight: 800;
    color: var(--muted);
    letter-spacing: .04em;
    font-size: .95rem;
}

/* ---------- Footer ---------- */

.site-footer { background: var(--brand-900); color: #a7c6b4; padding: clamp(48px, 6vw, 76px) 0 0; }
.site-footer a { color: #d5ebe0; }
.site-footer a:hover { color: var(--lime-400); text-decoration: none; }

.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 36px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .95rem; }
.footer-about p { font-size: .95rem; max-width: 42ch; }

.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 46px; width: auto; object-fit: contain; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #7fa893; }

.footer-bottom {
    margin-top: 44px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 22px 0 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    justify-content: space-between;
    font-size: .87rem;
    color: #7fa893;
}

.social { display: flex; gap: 10px; margin-top: 18px; }

.social a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    display: grid;
    place-items: center;
    font-size: 1rem;
    transition: background-color .2s ease, transform .2s ease;
}

.social a:hover { background: var(--lime-400); transform: translateY(-2px); }

/* ---------- Kolačići ---------- */

.cookie-bar {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 80;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-l);
    padding: 20px 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    max-width: 760px;
    margin-inline: auto;
    animation: slide-up .35s ease both;
}

@keyframes slide-up { from { opacity: 0; transform: translateY(18px); } }

.cookie-bar p { margin: 0; font-size: .92rem; color: var(--muted); flex: 1 1 320px; }

/* ---------- Page header (unutrašnje strane) ---------- */

.page-head {
    background:
        radial-gradient(700px 320px at 88% 0%, rgba(191, 232, 43, .2), transparent 65%),
        linear-gradient(160deg, var(--brand-50), #fff);
    padding: clamp(40px, 6vw, 76px) 0 clamp(34px, 5vw, 58px);
    border-bottom: 1px solid var(--line);
}

.page-head p { color: var(--ink-soft); max-width: 62ch; font-size: 1.08rem; margin: 0; }

.breadcrumbs { font-size: .86rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs span { margin-inline: 8px; }

/* ---------- Reveal animacija ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-blob, .bubble { animation: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Blazor sistemske poruke ---------- */

#blazor-error-ui {
    background: #ffeb3b;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, .2);
    display: none;
    left: 0;
    padding: .6rem 1.25rem .7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: .75rem; top: .5rem; }

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem;
    color: white;
    border-radius: var(--radius-s);
}

.blazor-error-boundary::after { content: "Došlo je do greške."; }
