/*
Theme Name: Rankovic Insurance Brokers
Theme URI: https://rankovicbrokers.rs
Author: Rankovic IB
Author URI: https://rankovicbrokers.rs
Description: Profesionalni sajt za Rankovic Insurance Brokers - posrednik u osiguranju
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: rankovic-ib
Tags: business, insurance, professional
*/

/* ═══════════════════════════════════════
   CSS VARIABLES
═══════════════════════════════════════ */
:root {
    --p1: #234060;
    --p1d: #172a40;
    --p2: #4779A5;
    --p2l: #6a9bbf;
    --white: #fff;
    --light: #f3f6fa;
    --border: #dde5ee;
    --text: #1a2a38;
    --muted: #4a6278;
    --subtle: #7a96aa;
}

/* ═══════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 15px;
}
a { text-decoration: none; color: inherit; transition: all .2s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
.container-sm { max-width: 1100px; margin: 0 auto; padding: 0 28px; }

/* ═══════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(1.85rem, 3.8vw, 2.85rem); }
h2 { font-size: clamp(1.4rem, 2.5vw, 1.95rem); }
h3 { font-size: 1rem; }
p { color: var(--muted); line-height: 1.85; font-size: .88rem; }

.section-label {
    display: inline-block;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--p2);
    margin-bottom: 9px;
}
.section-title {
    color: var(--p1d);
    font-size: clamp(1.4rem, 2.5vw, 1.95rem);
    font-weight: 800;
    margin-bottom: 11px;
    letter-spacing: -.3px;
    line-height: 1.15;
}
.section-subtitle {
    font-size: .88rem;
    color: var(--muted);
    max-width: 540px;
    margin: 0 auto 44px;
    line-height: 1.85;
    font-weight: 400;
}
.text-center { text-align: center; }
.body-text { font-size: .86rem; color: var(--muted); line-height: 1.85; font-weight: 400; }

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.btn-primary {
    background: var(--p2);
    color: #fff;
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: 700;
    font-size: .84rem;
    border: 2px solid var(--p2);
    display: inline-block;
    transition: all .2s;
    cursor: pointer;
}
.btn-primary:hover {
    background: var(--p2l);
    border-color: var(--p2l);
    transform: translateY(-2px);
    color: #fff;
}
.btn-ghost {
    background: transparent;
    color: #fff;
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: 700;
    font-size: .84rem;
    border: 2px solid rgba(255,255,255,.35);
    display: inline-block;
    transition: all .2s;
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }
.btn-outline {
    background: transparent;
    color: var(--p2);
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 700;
    font-size: .82rem;
    border: 2px solid var(--p2);
    display: inline-block;
    transition: all .2s;
}
.btn-outline:hover { background: var(--p2); color: #fff; }

/* ═══════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════ */
#site-header {
    background: var(--p1d);
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 20px rgba(0,0,0,.28);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 66px;
    gap: 8px;
}
.site-logo {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}
.site-logo svg { width: 32px; height: 37px; }
.logo-words .brand {
    font-size: .9rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: .5px;
    text-transform: uppercase;
    display: block;
}
.logo-words .descriptor {
    font-size: .54rem;
    color: rgba(255,255,255,.42);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
}
#primary-navigation { display: flex; flex-wrap: wrap; }
#primary-navigation a {
    padding: 6px 10px;
    color: rgba(255,255,255,.7);
    font-size: .74rem;
    font-weight: 600;
    border-radius: 5px;
    transition: all .2s;
}
#primary-navigation a:hover,
#primary-navigation .current-menu-item a,
#primary-navigation .current_page_item a {
    color: #fff;
    background: rgba(255,255,255,.1);
}
.nav-cta-btn {
    background: var(--p2);
    color: #fff !important;
    padding: 8px 18px !important;
    border-radius: 7px !important;
    font-weight: 700 !important;
    white-space: nowrap;
    flex-shrink: 0;
}
.nav-cta-btn:hover { background: var(--p2l) !important; }

/* HAMBURGER DUGME */

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 10px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;

    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: #003366;
    border-radius: 3px;
}


/* DESKTOP NAV */

#primary-navigation {
    display: flex;
    align-items: center;
    gap: 24px;
}


/* MOBILE */

@media screen and (max-width: 768px) {

    .menu-toggle {
        display: flex !important;
        flex-shrink: 0;
    }

    .nav-inner {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #primary-navigation {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;

        flex-direction: column;
        align-items: stretch;
        gap: 0;

        background: #ffffff;
        border: 1px solid #e5e5e5;
        border-radius: 10px;
        padding: 8px 0;

        box-shadow: 0 10px 30px rgba(0,0,0,0.10);

        z-index: 9999;
    }

    #primary-navigation.open {
        display: flex !important;
    }

    #primary-navigation a {
        display: block;
        width: 100%;
        padding: 13px 18px;
        box-sizing: border-box;
    }

    .nav-cta-btn {
        display: none !important;
    }

    .site-logo img {
        max-width: 190px;
        height: auto;
    }

}

/* ═══════════════════════════════════════
   SECTIONS
═══════════════════════════════════════ */
.section { padding: 80px 0; }
.section-alt { background: var(--light); }
.section-dark { background: var(--p1d); }

/* ═══════════════════════════════════════
   PAGE HERO (inner pages)
═══════════════════════════════════════ */
.page-hero {
    background: linear-gradient(145deg, var(--p1d) 0%, var(--p1) 60%, #2d5a8e 100%);
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
    background-size: 68px 68px;
    pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; padding: 72px 0 60px; }
.page-hero-kicker {
    font-size: .63rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--p2l);
    margin-bottom: 10px;
}
.page-hero-title {
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -.3px;
    margin-bottom: 10px;
    line-height: 1.12;
}
.page-hero-lead {
    font-size: .88rem;
    color: rgba(255,255,255,.6);
    max-width: 1000px;
    line-height: 1.8;
    font-weight: 400;
}

/* ═══════════════════════════════════════
   HERO (homepage)
═══════════════════════════════════════ */
.hero-section {
    background: linear-gradient(150deg, var(--p1d) 0%, var(--p1) 60%, #2d5a8e 100%);
    padding: 90px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 8% 85%, rgba(71,121,165,.18), transparent 55%),
        radial-gradient(ellipse at 92% 10%, rgba(255,255,255,.04), transparent 45%);
    pointer-events: none;
}
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
    background-size: 72px 72px;
    pointer-events: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(71,121,165,.2);
    border: 1px solid rgba(71,121,165,.4);
    color: rgba(255,255,255,.9);
    padding: 5px 14px;
    border-radius: 100px;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.hero-title {
    font-size: clamp(1.85rem, 3.8vw, 2.85rem);
    color: #fff;
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 10px;
    letter-spacing: -.5px;
}
.hero-subtitle {
    font-size: .84rem;
    color: rgba(255,255,255,.48);
    font-style: italic;
    font-weight: 300;
    letter-spacing: .5px;
    margin-bottom: 20px;
}
.hero-lead {
    font-size: .88rem;
    color: rgba(255,255,255,.68);
    line-height: 1.85;
    margin-bottom: 32px;
    font-weight: 400;
    max-width: 480px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-proof {
    display: flex;
    gap: 0;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    overflow: hidden;
}
.hero-proof-item {
    flex: 1;
    padding: 16px 14px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.1);
}
.hero-proof-item:last-child { border-right: none; }
.hero-proof-item .proof-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.hero-proof-item .proof-number em { color: var(--p2l); font-style: normal; }
.hero-proof-item .proof-label {
    font-size: .62rem;
    color: rgba(255,255,255,.42);
    text-transform: uppercase;
    letter-spacing: .7px;
    margin-top: 4px;
    font-weight: 600;
    line-height: 1.4;
}

/* Hero form card */
.hero-card {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.13);
    backdrop-filter: blur(14px);
    border-radius: 16px;
    padding: 30px;
}
.hero-card-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.hero-card-icon {
    width: 36px; height: 36px;
    background: var(--p2);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: .95rem; flex-shrink: 0;
}
.hero-card-title { font-size: .88rem; font-weight: 700; color: #fff; }
.hero-card-sub { font-size: .67rem; color: rgba(255,255,255,.42); font-weight: 400; margin-top: 2px; }

/* ═══════════════════════════════════════
   FORMS (dark bg version)
═══════════════════════════════════════ */
.form-label-dark {
    display: block;
    font-size: .65rem;
    font-weight: 700;
    color: rgba(255,255,255,.46);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}
.form-group { margin-bottom: 11px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.field-dark, .select-dark {
    width: 100%;
    padding: 10px 12px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 7px;
    color: #fff;
    font-size: .83rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: all .2s;
}
.field-dark::placeholder { color: rgba(255,255,255,.28); }
.field-dark:focus, .select-dark:focus {
    outline: none;
    border-color: var(--p2l);
    background: rgba(255,255,255,.12);
}
.select-dark option { color: var(--text); background: #fff; }
.btn-form-dark {
    width: 100%;
    background: var(--p2);
    color: #fff;
    border: none;
    padding: 11px;
    border-radius: 7px;
    font-weight: 700;
    font-size: .84rem;
    cursor: pointer;
    margin-top: 4px;
    transition: all .2s;
    font-family: 'Montserrat', sans-serif;
}
.btn-form-dark:hover { background: var(--p2l); transform: translateY(-1px); }

/* ═══════════════════════════════════════
   FORMS (light bg version)
═══════════════════════════════════════ */
.form-wrap {
    background: var(--light);
    border-radius: 14px;
    padding: 32px;
    border: 1px solid var(--border);
}
.form-wrap-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--p1d);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}
.field-light, .select-light, .textarea-light {
    width: 100%;
    padding: 10px 12px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 7px;
    color: var(--text);
    font-size: .82rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: all .2s;
}
.textarea-light { min-height: 90px; resize: vertical; }
.field-light:focus, .select-light:focus, .textarea-light:focus {
    outline: none;
    border-color: var(--p1);
    box-shadow: 0 0 0 3px rgba(35,64,96,.06);
}
.form-label-light {
    display: block;
    font-size: .63rem;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: .8px;
}
.form-group-light { margin-bottom: 12px; }
.form-row-light { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 11px 0;
}
.form-check input[type=checkbox] {
    margin-top: 2px; width: 13px; height: 13px;
    flex-shrink: 0; accent-color: var(--p1);
}
.form-check label { font-size: .71rem; color: var(--muted); line-height: 1.5; font-weight: 400; }
.form-check a { color: var(--p2); font-weight: 600; }
.btn-form-light {
    width: 100%;
    background: var(--p1);
    color: #fff;
    border: none;
    padding: 11px;
    border-radius: 7px;
    font-weight: 700;
    font-size: .84rem;
    cursor: pointer;
    transition: all .2s;
    font-family: 'Montserrat', sans-serif;
}
.btn-form-light:hover { background: var(--p2); transform: translateY(-1px); }
/* Contact Form 7 overrides */
.wpcf7-form .wpcf7-submit { width: 100%; background: var(--p1); color: #fff; border: none; padding: 11px; border-radius: 7px; font-weight: 700; font-size: .84rem; cursor: pointer; transition: all .2s; font-family: 'Montserrat', sans-serif; }
.wpcf7-form .wpcf7-submit:hover { background: var(--p2); }
.wpcf7-form input[type=text], .wpcf7-form input[type=email], .wpcf7-form input[type=tel], .wpcf7-form select, .wpcf7-form textarea { width: 100%; padding: 10px 12px; background: #fff; border: 1.5px solid var(--border); border-radius: 7px; color: var(--text); font-size: .82rem; font-family: 'Montserrat', sans-serif; margin-bottom: 12px; }

/* ═══════════════════════════════════════
   TRUST BAR
═══════════════════════════════════════ */
.trust-bar {
    background: var(--p1d);
    border-bottom: 1px solid rgba(255,255,255,.06);
    padding: 15px 0;
}
.trust-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .71rem;
    font-weight: 600;
    color: rgba(255,255,255,.5);
    letter-spacing: .2px;
}
.trust-item::before {
    content: '';
    display: block;
    width: 4px; height: 4px;
    background: var(--p2);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════
   GRIDS
═══════════════════════════════════════ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ═══════════════════════════════════════
   WHY CARDS
═══════════════════════════════════════ */
.why-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 13px;
    padding: 26px 22px;
    transition: all .25s;
    position: relative;
    overflow: hidden;
}
.why-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--p1), var(--p2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s;
}
.why-card:hover { border-color: var(--p1); box-shadow: 0 10px 30px rgba(35,64,96,.1); transform: translateY(-4px); }
.why-card:hover::after { transform: scaleX(1); }
.why-card-num { font-size: 2.4rem; font-weight: 800; color: var(--border); line-height: 1; margin-bottom: 9px; font-style: italic; }
.why-card-title { font-size: .88rem; font-weight: 700; color: var(--p1d); margin-bottom: 7px; }
.why-card-desc { font-size: .79rem; color: var(--subtle); line-height: 1.75; font-weight: 400; }

/* ═══════════════════════════════════════
   SERVICE CARDS
═══════════════════════════════════════ */
.service-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 13px;
    padding: 26px 22px;
    transition: all .25s;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--p1), var(--p2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s;
}
.service-card:hover { border-color: var(--p2); box-shadow: 0 10px 28px rgba(35,64,96,.11); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-card-icon {
    width: 44px; height: 44px;
    background: var(--light);
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 14px;
    transition: all .2s;
}
.service-card:hover .service-card-icon { background: linear-gradient(135deg, var(--p1), var(--p2)); }
.service-card-name { font-size: .88rem; font-weight: 700; color: var(--p1d); margin-bottom: 6px; }
.service-card-desc { font-size: .79rem; color: var(--subtle); line-height: 1.75; margin-bottom: 12px; font-weight: 400; }
.service-card-link { font-size: .73rem; font-weight: 700; color: var(--p2); }
.service-card-link:hover { color: var(--p1); }

/* ═══════════════════════════════════════
   HOW IT WORKS STRIP
═══════════════════════════════════════ */
.hiw-strip {
    background: linear-gradient(135deg, var(--p1d), var(--p1));
    border-radius: 14px;
    padding: 34px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}
.hiw-step { text-align: center; padding: 0 14px; position: relative; }
.hiw-step:not(:last-child)::after { content: '→'; position: absolute; right: -4px; top: 12px; color: rgba(255,255,255,.22); font-size: .95rem; }
.hiw-circle {
    width: 42px; height: 42px;
    background: rgba(255,255,255,.1);
    border: 1.5px solid rgba(255,255,255,.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 11px;
    font-size: .95rem;
}
.hiw-label { font-size: .76rem; font-weight: 700; color: #fff; letter-spacing: .3px; margin-bottom: 5px; }
.hiw-desc { font-size: .71rem; color: rgba(255,255,255,.45); line-height: 1.6; font-weight: 400; }

/* ═══════════════════════════════════════
   INSIGHT BLOCK
═══════════════════════════════════════ */
.insight-block {
    background: var(--p1d);
    border-radius: 14px;
    padding: 28px 32px;
    border-left: 4px solid var(--p2);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}
.insight-block::before {
    content: '';
    position: absolute;
    right: -20px; top: -20px;
    width: 120px; height: 120px;
    background: rgba(71,121,165,.08);
    border-radius: 50%;
}
.insight-label {
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--p2l);
    margin-bottom: 8px;
}
.insight-title { font-size: .96rem; font-weight: 700; color: #fff; margin-bottom: 10px; line-height: 1.35; }
.insight-body { font-size: .82rem; color: rgba(255,255,255,.65); line-height: 1.8; font-weight: 300; }

/* ═══════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════ */
.cta-banner {
    background: linear-gradient(135deg, var(--p1d) 0%, var(--p1) 55%, var(--p2) 100%);
    border-radius: 16px;
    padding: 44px 48px;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    right: -60px; top: -60px;
    width: 300px; height: 300px;
    background: rgba(255,255,255,.03);
    border-radius: 50%;
}
.cta-banner-inner { position: relative; z-index: 1; }
.cta-banner-title {
    font-size: clamp(1.2rem, 2.2vw, 1.65rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.25;
}
.cta-banner-subtitle { font-size: .86rem; color: rgba(255,255,255,.65); margin-bottom: 24px; line-height: 1.7; max-width: 520px; }
.cta-banner-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ═══════════════════════════════════════
   CHECK LIST
═══════════════════════════════════════ */
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-item { display: flex; gap: 11px; font-size: .82rem; color: var(--muted); line-height: 1.6; font-weight: 400; }
.check-item::before { content: '→'; color: var(--p2); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ═══════════════════════════════════════
   FAQ ACCORDION
═══════════════════════════════════════ */
.faq-item {
    border: 1.5px solid var(--border);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all .2s;
}
.faq-item:hover { border-color: var(--p2); }
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    font-size: .85rem;
    font-weight: 700;
    color: var(--p1d);
    gap: 12px;
    user-select: none;
}
.faq-icon { font-size: 1rem; color: var(--p2); font-weight: 400; flex-shrink: 0; transition: transform .2s; }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .2s; }
.faq-answer.open { padding: 0 20px 16px; max-height: 300px; }
.faq-answer p { font-size: .81rem; color: var(--muted); line-height: 1.75; font-weight: 400; }

/* ═══════════════════════════════════════
   DIFF LIST (about page)
═══════════════════════════════════════ */
.diff-list { display: flex; flex-direction: column; gap: 14px; margin: 20px 0 26px; }
.diff-item { display: flex; gap: 13px; align-items: flex-start; }
.diff-icon {
    width: 35px; height: 35px;
    background: rgba(35,64,96,.08);
    border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    font-size: .88rem; flex-shrink: 0; margin-top: 1px;
}
.diff-text h4 { font-size: .83rem; font-weight: 700; color: var(--p1d); margin-bottom: 2px; }
.diff-text p { font-size: .77rem; color: var(--subtle); line-height: 1.65; font-weight: 400; }

/* ═══════════════════════════════════════
   QUOTE BOX
═══════════════════════════════════════ */
.quote-box {
    background: var(--p1d);
    border-radius: 11px;
    padding: 20px 22px;
    border-left: 3px solid var(--p2);
}
.quote-box p { font-size: .84rem; color: rgba(255,255,255,.72); font-style: italic; font-weight: 300; line-height: 1.7; }
.quote-box cite { display: block; font-size: .69rem; color: rgba(255,255,255,.38); font-style: normal; font-weight: 600; margin-top: 7px; letter-spacing: .3px; }

/* ═══════════════════════════════════════
   ABOUT IMAGE
═══════════════════════════════════════ */
.about-img-wrap { position: relative; }
.about-img {
    width: 100%;
    aspect-ratio: 3 / 4 !important;
    background: linear-gradient(135deg, var(--p1d), var(--p1) 55%, var(--p2));
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 4rem;
    position: relative; overflow: hidden;
    box-shadow: 0 14px 44px rgba(35,64,96,.22);
}
.about-img-pattern {
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0, rgba(255,255,255,.02) 1px, transparent 0, transparent 50%);
    background-size: 18px 18px;
}
.about-float {
    position: absolute;
    bottom: -14px; right: -14px;
    background: #fff;
    border-radius: 11px;
    padding: 13px 17px;
    box-shadow: 0 7px 24px rgba(35,64,96,.18);
    border: 1px solid var(--border);
}
.about-float-number { font-size: 1.65rem; font-weight: 800; color: var(--p1); line-height: 1; }
.about-float-label { font-size: .69rem; color: var(--subtle); margin-top: 2px; font-weight: 600; }
.about-badge {
    position: absolute;
    top: -11px; left: -11px;
    background: var(--p2);
    color: #fff;
    border-radius: 11px;
    padding: 9px 13px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(71,121,165,.4);
}
.about-badge-num { font-size: 1.15rem; font-weight: 800; line-height: 1; }
.about-badge-text { font-size: .57rem; text-transform: uppercase; letter-spacing: .4px; font-weight: 600; opacity: .85; }

/* ═══════════════════════════════════════
   OBRAD CARD
═══════════════════════════════════════ */
.obrad-card {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 22px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 20px;
}
.obrad-avatar {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--p1), var(--p2));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; flex-shrink: 0;
}
.obrad-name { font-size: .92rem; font-weight: 700; color: var(--p1d); }
.obrad-title { font-size: .69rem; color: var(--subtle); text-transform: uppercase; letter-spacing: .8px; font-weight: 600; margin-bottom: 5px; }
.obrad-bio { font-size: .79rem; color: var(--muted); line-height: 1.7; font-weight: 400; }
.obrad-linkedin { font-size: .72rem; font-weight: 700; color: var(--p2); margin-top: 7px; display: block; }

/* ═══════════════════════════════════════
   COMPARE TABLE
═══════════════════════════════════════ */
.compare-table { width: 100%; border-collapse: collapse; margin: 28px 0; }
.compare-table th {
    background: var(--p1d);
    color: #fff;
    padding: 12px 16px;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .4px;
    text-align: left;
}
.compare-table th:first-child { border-radius: 8px 0 0 0; }
.compare-table th:last-child { border-radius: 0 8px 0 0; background: var(--p2); }
.compare-table td {
    padding: 11px 16px;
    font-size: .79rem;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    vertical-align: top;
    line-height: 1.55;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td:last-child { font-weight: 600; color: var(--p1d); background: rgba(71,121,165,.04); }
.tag-good { color: #2d7a4e; font-weight: 700; }
.tag-bad { color: #c0392b; }

/* ═══════════════════════════════════════
   LAW BOX
═══════════════════════════════════════ */
.law-box {
    background: var(--p1d);
    border-radius: 11px;
    padding: 20px 24px;
    border-left: 3px solid var(--p2);
}
.law-box p { font-size: .81rem; color: rgba(255,255,255,.68); font-style: italic; font-weight: 300; line-height: 1.75; }
.law-box cite { display: block; font-size: .68rem; color: rgba(255,255,255,.35); font-style: normal; font-weight: 600; margin-top: 7px; letter-spacing: .3px; }

/* ═══════════════════════════════════════
   DOCUMENTS
═══════════════════════════════════════ */
.doc-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 22px 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all .2s;
}
.doc-card:hover { border-color: var(--p2); box-shadow: 0 6px 20px rgba(35,64,96,.1); }
.doc-icon {
    width: 40px; height: 40px;
    background: var(--light);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
    border: 1px solid var(--border);
}
.doc-name { font-size: .87rem; font-weight: 700; color: var(--p1d); margin-bottom: 3px; }
.doc-desc { font-size: .76rem; color: var(--subtle); line-height: 1.6; font-weight: 400; margin-bottom: 8px; }
.doc-download { font-size: .72rem; font-weight: 700; color: var(--p2); }

/* ═══════════════════════════════════════
   CONTACT
═══════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 52px; align-items: start; }
.contact-info-list { display: flex; flex-direction: column; gap: 13px; margin-bottom: 24px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 12px; }
.contact-info-icon {
    width: 37px; height: 37px;
    background: var(--light);
    border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem; flex-shrink: 0;
    border: 1px solid var(--border);
}
.contact-info-label { font-size: .63rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--subtle); margin-bottom: 1px; }
.contact-info-value { font-size: .84rem; font-weight: 600; color: var(--text); line-height: 1.5; }
.linkedin-box { background: var(--p1d); border-radius: 11px; padding: 17px 18px; margin-bottom: 14px; }
.linkedin-title { font-size: .69rem; font-weight: 700; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 9px; }
.linkedin-profile { display: flex; align-items: center; gap: 11px; }
.linkedin-avatar { width: 38px; height: 38px; background: var(--p2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .85rem; flex-shrink: 0; }
.linkedin-name { font-size: .82rem; font-weight: 700; color: #fff; }
.linkedin-sub { font-size: .69rem; color: rgba(255,255,255,.42); }
.linkedin-link { font-size: .7rem; font-weight: 700; color: var(--p2l); margin-top: 2px; display: block; }
.hs-note { background: rgba(35,64,96,.06); border: 1px solid var(--border); border-radius: 9px; padding: 12px 14px; font-size: .73rem; color: var(--muted); line-height: 1.55; }
.hs-note strong { color: var(--p1d); }

/* ═══════════════════════════════════════
   SECTOR LIST
═══════════════════════════════════════ */
.sector-list { display: flex; flex-direction: column; gap: 8px; }
.sector-item { display: flex; align-items: center; gap: 9px; font-size: .82rem; color: var(--muted); font-weight: 500; }
.sector-item::before { content: ''; width: 6px; height: 6px; background: var(--p2); border-radius: 50%; flex-shrink: 0; }

/* ═══════════════════════════════════════
   PRIMEDBE
═══════════════════════════════════════ */
.complaint-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 32px; }
.complaint-step { background: var(--white); border: 1.5px solid var(--border); border-radius: 12px; padding: 24px 20px; text-align: center; transition: all .2s; }
.complaint-step:hover { border-color: var(--p2); box-shadow: 0 7px 20px rgba(35,64,96,.09); }
.complaint-num { width: 38px; height: 38px; background: var(--p1d); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .84rem; font-weight: 800; margin: 0 auto 12px; }
.complaint-title { font-size: .86rem; font-weight: 700; color: var(--p1d); margin-bottom: 6px; }
.complaint-desc { font-size: .77rem; color: var(--subtle); line-height: 1.7; font-weight: 400; }
.deadline-box { background: var(--light); border: 1px solid var(--border); border-radius: 11px; padding: 18px 22px; margin-bottom: 26px; display: flex; gap: 20px; flex-wrap: wrap; }
.deadline-item { flex: 1; min-width: 140px; }
.deadline-label { font-size: .63rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--subtle); margin-bottom: 2px; }
.deadline-value { font-size: .86rem; font-weight: 700; color: var(--p1d); }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
#site-footer { background: var(--p1d); }
.footer-main { padding: 56px 0 36px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { font-size: .75rem; color: rgba(255,255,255,.38); line-height: 1.75; margin: 12px 0 10px; font-weight: 400; max-width: 230px; }
.footer-slogan { font-size: .67rem; color: rgba(255,255,255,.28); font-style: italic; font-weight: 300; letter-spacing: .5px; margin-bottom: 12px; }
.footer-socials { display: flex; gap: 7px; }
.social-btn { width: 29px; height: 29px; background: rgba(255,255,255,.07); border-radius: 5px; display: flex; align-items: center; justify-content: center; font-size: .72rem; cursor: pointer; transition: all .2s; font-weight: 700; color: rgba(255,255,255,.42); text-align: center; }
.social-btn:hover { background: var(--p2); color: #fff; }
.footer-heading { font-size: .61rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 7px; }
.footer-links a { font-size: .76rem; color: rgba(255,255,255,.38); transition: all .2s; font-weight: 400; }
.footer-links a:hover { color: var(--p2l); padding-left: 3px; }
.footer-contact-list { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-item { font-size: .74rem; color: rgba(255,255,255,.38); line-height: 1.5; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 15px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: .69rem; color: rgba(255,255,255,.25); }
.footer-bottom-links { display: flex; gap: 13px; }
.footer-bottom-links a { font-size: .69rem; color: rgba(255,255,255,.25); transition: all .2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,.6); }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-lead { margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
    .hiw-strip { grid-template-columns: 1fr; }
    .hiw-step::after { display: none !important; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .complaint-steps { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .about-badge, .about-float { display: none; }
    .menu-toggle { display: block; }
    #primary-navigation { display: none; flex-direction: column; position: absolute; top: 66px; left: 0; right: 0; background: var(--p1d); padding: 12px 0; }
    #primary-navigation.nav-open { display: flex; }
    #primary-navigation a { padding: 10px 24px; font-size: .82rem; border-radius: 0; }
}
@media (max-width: 640px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr; }
    .complaint-steps { grid-template-columns: 1fr; }
    .hero-proof { flex-direction: column; border: none; gap: 7px; }
    .hero-proof-item { border: 1px solid rgba(255,255,255,.1); border-radius: 8px; border-right: 1px solid rgba(255,255,255,.1); }
    .section { padding: 56px 0; }
    .cta-banner { padding: 28px 24px; }
    .form-row, .form-row-light { grid-template-columns: 1fr; }
    .docs-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════
   BELI HEADER SA PLAVOM LINIJOM - OVERRIDE
═══════════════════════════════════════ */

#site-header {
    background: #ffffff !important;
    border-top: 3px solid #4779A5 !important;
    border-bottom: 1px solid #dde5ee !important;
    box-shadow: 0 2px 16px rgba(35,64,96,.08) !important;
}

/* Logo */
.site-logo img {
    height: 52px;
    width: auto;
    display: block;
}

/* Nav linkovi - tamni na beloj pozadini */
#primary-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

#primary-navigation a {
    padding: 6px 11px;
    color: #4a6278 !important;
    font-size: .76rem;
    font-weight: 600;
    border-radius: 5px;
    transition: all .2s;
    text-decoration: none;
    white-space: nowrap;
}

#primary-navigation a:hover,
#primary-navigation a.active {
    color: #234060 !important;
    background: rgba(35,64,96,.07) !important;
}

/* CTA dugme */
.nav-cta-btn {
    background: #234060 !important;
    color: #fff !important;
    padding: 9px 20px !important;
    border-radius: 7px !important;
    font-weight: 700 !important;
    font-size: .8rem !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    transition: all .2s !important;
}

.nav-cta-btn:hover {
    background: #4779A5 !important;
    color: #fff !important;
}

/* Hamburger - taman na beloj pozadini */
.menu-toggle span {
    background: #234060 !important;
}

/* Mobile nav - beli */
@media (max-width: 960px) {
    #primary-navigation {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 66px;
        left: 0;
        right: 0;
        background: #ffffff !important;
        border-bottom: 2px solid #dde5ee;
        box-shadow: 0 8px 24px rgba(35,64,96,.1);
        padding: 8px 0;
        z-index: 199;
    }
    #primary-navigation.nav-open {
        display: flex;
    }
    #primary-navigation a {
        padding: 11px 24px !important;
        font-size: .84rem !important;
        border-radius: 0 !important;
        border-bottom: 1px solid #f3f6fa;
    }
    #primary-navigation a:last-child {
        border-bottom: none;
    }
    .menu-toggle {
        display: flex !important;
    }
    .nav-cta-btn {
        display: none !important;
    }
}

/* Trust bar - ostaje taman */
.trust-bar {
    background: var(--p1d);
}
/* ── LOGO VELIČINA ── */
.site-logo img {
    height: 70px !important;
    width: auto !important;
}

/* ── HEADER VIŠI ── */
.nav-inner {
    height: 88px !important;
}

/* ── PLAVA LINIJA GORE DEBLJA ── */
#site-header {
    border-top: 4px solid #4779A5 !important;
}

/* ── NAV LINKOVI MALO VEĆI ── */
#primary-navigation a {
    font-size: .82rem !important;
    padding: 7px 13px !important;
}

/* ── CTA DUGME ── */
.nav-cta-btn {
    padding: 11px 24px !important;
    font-size: .84rem !important;
}
/* ── LOGO KONTRAST NA BELOJ POZADINI ── */
.site-logo img {
    height: 70px !important;
    width: auto !important;
    filter: brightness(0.85) contrast(1.1) saturate(1.2);
}
.site-logo img {
    height: 80px !important;
    width: auto !important;
}

.nav-inner {
    height: 96px !important;
}
.about-img {
    aspect-ratio: 2/3 !important;
    min-height: 500px !important;
}
/* ── CF7 TAMNA FORMA NA KONTAKT STRANICI ── */
.contact-dark-form .wpcf7-form input[type=text],
.contact-dark-form .wpcf7-form input[type=email],
.contact-dark-form .wpcf7-form input[type=tel],
.contact-dark-form .wpcf7-form select,
.contact-dark-form .wpcf7-form textarea {
    width: 100% !important;
    padding: 10px 12px !important;
    background: rgba(255,255,255,.08) !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    border-radius: 7px !important;
    color: #fff !important;
    font-size: .83rem !important;
    font-family: 'Montserrat', sans-serif !important;
    margin-bottom: 11px !important;
    display: block !important;
}

.contact-dark-form .wpcf7-form input::placeholder,
.contact-dark-form .wpcf7-form textarea::placeholder {
    color: rgba(255,255,255,.35) !important;
}

.contact-dark-form .wpcf7-form select option {
    color: #1a2a38 !important;
    background: #fff !important;
}

.contact-dark-form .wpcf7-form .fg {
    margin-bottom: 11px !important;
}

.contact-dark-form .wpcf7-form .frow {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 9px !important;
}

.contact-dark-form .wpcf7-form input[type=submit] {
    width: 100% !important;
    background: #4779A5 !important;
    color: #fff !important;
    border: none !important;
    padding: 11px !important;
    border-radius: 7px !important;
    font-weight: 700 !important;
    font-size: .84rem !important;
    cursor: pointer !important;
    font-family: 'Montserrat', sans-serif !important;
    margin-top: 6px !important;
}

.contact-dark-form .wpcf7-form input[type=submit]:hover {
    background: #6a9bbf !important;
}

.contact-dark-form .wpcf7-not-valid-tip {
    display: none !important;
}

.contact-dark-form .wpcf7-acceptance label {
    color: rgba(255,255,255,.6) !important;
    font-size: .71rem !important;
}

.contact-dark-form .wpcf7-response-output {
    color: #a8f0c0 !important;
    border: none !important;
    background: rgba(40,167,69,.18) !important;
    border-radius: 7px !important;
    padding: 10px !important;
    font-size: .8rem !important;
    margin-top: 8px !important;
}
.documents-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

/* Telefon */
@media (max-width: 768px) {

    .documents-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .doc-card {
        width: 100%;
        box-sizing: border-box;
    }

}

/* ═══════════════════════════════════════
   FINAL MOBILE OVERRIDES
   Mobilni meni, Dokumenti i O nama / Obrad fotografija
═══════════════════════════════════════ */

/* Podrži oba naziva klase koje JS može da koristi za otvaranje menija */
@media screen and (max-width: 960px) {
    .menu-toggle {
        display: flex !important;
        width: 46px !important;
        height: 46px !important;
        padding: 10px !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 5px !important;
        flex-shrink: 0 !important;
        background: #ffffff !important;
        border: 1px solid #dde5ee !important;
        border-radius: 8px !important;
    }

    .menu-toggle span {
        display: block !important;
        width: 24px !important;
        height: 3px !important;
        min-height: 3px !important;
        background: #234060 !important;
        border-radius: 3px !important;
        margin: 0 !important;
        padding: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .nav-inner {
        position: relative !important;
    }

    #primary-navigation {
        display: none !important;
        position: absolute !important;
        top: 96px !important;
        left: 0 !important;
        right: 0 !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        background: #ffffff !important;
        border: 1px solid #dde5ee !important;
        border-top: 0 !important;
        padding: 8px 0 !important;
        box-shadow: 0 10px 30px rgba(35,64,96,.12) !important;
        z-index: 9999 !important;
    }

    #primary-navigation.open,
    #primary-navigation.nav-open {
        display: flex !important;
    }

    #primary-navigation a {
        display: block !important;
        width: 100% !important;
        padding: 12px 22px !important;
        border-radius: 0 !important;
        border-bottom: 1px solid #f3f6fa !important;
        color: #4a6278 !important;
    }

    #primary-navigation a:last-child {
        border-bottom: 0 !important;
    }

    .nav-cta-btn {
        display: none !important;
    }

    .site-logo img {
        height: 64px !important;
        width: auto !important;
        max-width: 190px !important;
        object-fit: contain !important;
    }

    .nav-inner {
        height: 82px !important;
    }

    #primary-navigation {
        top: 82px !important;
    }
}

/* Dokumenti: dve kolone na desktopu, jedna na telefonu */
.documents-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
}

.documents-grid .doc-card {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

@media screen and (max-width: 768px) {
    .container,
    .container-sm {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .documents-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .documents-grid .doc-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    /* O nama: Obrad fotografija mora biti vidljiva na telefonu */
    .obrad-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 18px !important;
        width: 100% !important;
        overflow: visible !important;
    }

    .obrad-avatar {
        display: block !important;
        width: 120px !important;
        height: 120px !important;
        min-width: 120px !important;
        min-height: 120px !important;
        max-width: 120px !important;
        max-height: 120px !important;
        flex: 0 0 120px !important;
        border-radius: 50% !important;
        overflow: hidden !important;
        margin: 0 auto 4px !important;
        padding: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: relative !important;
        z-index: 2 !important;
    }

    .obrad-avatar img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        min-width: 100% !important;
        min-height: 100% !important;
        max-width: none !important;
        object-fit: cover !important;
        object-position: top center !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .obrad-card > div:last-child {
        width: 100% !important;
        min-width: 0 !important;
    }

    .obrad-name,
    .obrad-title,
    .obrad-bio {
        text-align: center !important;
    }

    .obrad-linkedin {
        display: inline-block !important;
        margin-top: 10px !important;
    }

    .about-story-grid,
    .about-clients-grid {
        grid-template-columns: 1fr !important;
    }
}

@media screen and (max-width: 480px) {
    .site-logo img {
        height: 56px !important;
        max-width: 165px !important;
    }

    .nav-inner {
        height: 74px !important;
    }

    #primary-navigation {
        top: 74px !important;
    }

    .obrad-avatar {
        width: 110px !important;
        height: 110px !important;
        min-width: 110px !important;
        min-height: 110px !important;
        max-width: 110px !important;
        max-height: 110px !important;
        flex-basis: 110px !important;
    }
}

/* ═══════════════════════════════════════
   USLUGE DROPDOWN / MOBILE ACCORDION
   Finalni override za header navigaciju
═══════════════════════════════════════ */

/* Navigacija mora ostati poravnata u jednom redu na desktopu. */
#primary-navigation {
    display: flex;
    align-items: center;
    gap: 0;
}

/* <details> koristimo kao dropdown na desktopu i accordion na mobilnom. */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0;
}

.nav-dropdown > summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    color: #4a6278;
    font-size: .82rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    white-space: nowrap;
    transition: all .2s;
    user-select: none;
}

.nav-dropdown > summary::-webkit-details-marker {
    display: none;
}

.nav-dropdown > summary::marker {
    display: none;
    content: '';
}

.nav-dropdown > summary:hover,
.nav-dropdown.active > summary,
.nav-dropdown[open] > summary {
    color: #234060;
    background: rgba(35,64,96,.07);
}

.dropdown-arrow {
    display: inline-block;
    font-size: .72rem;
    line-height: 1;
    transition: transform .2s ease;
}

.nav-dropdown[open] .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 320px;
    padding: 9px;
    background: #fff;
    border: 1px solid #dde5ee;
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(35,64,96,.16);
    z-index: 9999;
}

/* Na desktopu se dropdown otvara i hoverom, a <details> omogućava i klik/tastaturu. */
@media (min-width: 961px) {
    .nav-dropdown:not([open]) .nav-dropdown-menu {
        opacity: 0;
        visibility: hidden;
        transform: translateY(7px);
        pointer-events: none;
        transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    }

    .nav-dropdown:hover .nav-dropdown-menu,
    .nav-dropdown:focus-within .nav-dropdown-menu,
    .nav-dropdown[open] .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-dropdown:hover .dropdown-arrow,
    .nav-dropdown:focus-within .dropdown-arrow {
        transform: rotate(180deg);
    }
}

#primary-navigation .nav-dropdown-menu a {
    display: block;
    width: 100%;
    padding: 10px 13px !important;
    color: #4a6278 !important;
    font-size: .78rem !important;
    font-weight: 600;
    line-height: 1.35;
    border-radius: 6px !important;
    white-space: normal;
}

#primary-navigation .nav-dropdown-menu a:hover,
#primary-navigation .nav-dropdown-menu a.active {
    color: #234060 !important;
    background: rgba(35,64,96,.07) !important;
}

#primary-navigation .nav-dropdown-menu .nav-dropdown-all {
    margin-top: 6px;
    padding-top: 12px !important;
    border-top: 1px solid #dde5ee;
    font-weight: 700;
}

/* Mobilni meni: hamburger otvara glavni meni, a Usluge rade kao accordion. */
@media (max-width: 960px) {
    .nav-inner {
        position: relative;
    }

    #primary-navigation {
        display: none;
        position: absolute;
        top: 100% !important;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 0;
        background: #fff !important;
        border: 1px solid #dde5ee;
        border-top: 0;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 10px 28px rgba(35,64,96,.12);
        z-index: 9999;
    }

    /* Podržava oba naziva klase koji se već pojavljuju u postojećem CSS/JS kodu. */
    #primary-navigation.open,
    #primary-navigation.nav-open {
        display: flex !important;
    }

    #primary-navigation > a {
        display: block;
        width: 100%;
        padding: 12px 24px !important;
        font-size: .84rem !important;
        border-radius: 0 !important;
        border-bottom: 1px solid #f3f6fa;
    }

    .nav-dropdown {
        display: block;
        width: 100%;
        border-bottom: 1px solid #f3f6fa;
    }

    .nav-dropdown > summary {
        width: 100%;
        justify-content: space-between;
        padding: 12px 24px;
        color: #4a6278;
        font-size: .84rem;
        border-radius: 0;
        background: transparent;
    }

    .nav-dropdown.active > summary,
    .nav-dropdown[open] > summary {
        color: #234060;
        background: rgba(35,64,96,.05);
    }

    .nav-dropdown-menu {
        position: static;
        min-width: 0;
        width: 100%;
        padding: 0 0 7px;
        background: #f7f9fc;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    #primary-navigation .nav-dropdown-menu a {
        padding: 10px 34px !important;
        font-size: .79rem !important;
        border-radius: 0 !important;
        border-bottom: 1px solid #edf1f5;
    }

    #primary-navigation .nav-dropdown-menu a:last-child {
        border-bottom: 0;
    }

    #primary-navigation .nav-dropdown-menu .nav-dropdown-all {
        margin-top: 0;
        border-top: 0;
        font-weight: 700;
    }

    .nav-cta-btn {
        display: none !important;
    }
}

/* Putno osiguranje – širi tekst */
.cta-banner .cta-banner-subtitle {
    width: 100% !important;
    max-width: 880px !important;
}
/* ═══════════════════════════════════════
   PUTNO OSIGURANJE ONLINE — ŠIRI TEKST
═══════════════════════════════════════ */
.cta-banner-subtitle {
    max-width: 780px;
}

@media (max-width: 640px) {
    .cta-banner-subtitle {
        max-width: 100%;
    }
}


/* ═══════════════════════════════════════
   HOME HERO — FINALNO VIZUELNO BALANSIRANJE
═══════════════════════════════════════ */
.hero-section {
    padding-top: 72px;
    padding-bottom: 68px;
}

.hero-section .hero-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
    gap: 48px;
    align-items: center;
}

.hero-section .hero-title {
    max-width: 620px;
    font-size: clamp(2.05rem, 4vw, 3.15rem);
    line-height: 1.06;
    margin-bottom: 12px;
}

.hero-section .hero-subtitle {
    margin-bottom: 18px;
}

.hero-section .hero-lead {
    max-width: 600px;
    margin-bottom: 28px;
}

.hero-section .hero-btns {
    margin-bottom: 0;
}

@media (max-width: 960px) {
    .hero-section {
        padding-top: 64px;
        padding-bottom: 60px;
    }

    .hero-section .hero-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .hero-section .hero-title,
    .hero-section .hero-lead {
        max-width: 680px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .hero-section .hero-title {
        font-size: clamp(1.9rem, 9vw, 2.45rem);
    }

    .hero-section .hero-card {
        padding: 22px 18px;
    }
}
