:root {
    --navy: #102747;
    --navy-dark: #0b1c34;
    --green: #19b83f;
    --green-hover: #12a735;
    --light: #f1f5f9;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
    color: var(--navy);
}
a { text-decoration: none; color: inherit; }
.container { width: min(1450px, 96%); margin: auto; }

.topbar { background: var(--navy-dark); color: #fff; }
.top-inner {
    min-height: 94px;
    display: flex;
    align-items: center;
    gap: 35px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}
.brand strong, .brand-icon { color: var(--green); }
.brand-icon { font-size: 54px; }
.tagline {
    border-left: 2px solid var(--green);
    padding-left: 25px;
    font-size: 20px;
    font-style: italic;
}
.contact-top {
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    font-weight: bold;
}
.navbar { background: #1b2b43; color: #fff; }
.nav-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.nav-inner a {
    padding: 18px 22px;
    font-weight: bold;
}
.nav-inner a:hover, .nav-inner a.active {
    background: var(--green);
    color: #081b14;
}
.hero {
    min-height: 390px;
    background: linear-gradient(
        90deg,
        rgba(9,24,43,.95),
        rgba(9,24,43,.25)
    ), #27394d;
    color: #fff;
    display: flex;
    align-items: center;
}
.hero-content { padding: 35px 20px; }
.hero h1 {
    font-size: clamp(36px,4.5vw,65px);
    line-height: 1.05;
    margin: 0 0 15px;
    font-style: italic;
}
.hero h1 span { color: var(--green); }
.hero p {
    font-size: 25px;
    font-weight: bold;
    font-style: italic;
}
.btn {
    display: inline-block;
    background: var(--green);
    color: #071b11;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 800;
}
.btn:hover { background: var(--green-hover); }
.benefits { background: var(--light); }
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    padding: 22px 0;
}
.benefits-grid div {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 0 20px;
    border-right: 1px solid #71829a;
    font-weight: bold;
}
.benefits-grid div:last-child { border: 0; }
.services {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
    padding-top: 20px;
    padding-bottom: 25px;
}
.service-card {
    min-height: 245px;
    background: linear-gradient(160deg,#29435f,#101d30);
    border-radius: 8px;
    overflow: hidden;
    color: #fff;
    display: flex;
    flex-direction: column;
}
.service-card h2 {
    background: #092c53;
    padding: 12px 15px;
    margin: 0;
    font-size: 22px;
}
.service-body {
    padding: 25px 15px 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.service-body p { line-height: 1.8; }
.service-body a {
    align-self: center;
    padding: 8px 15px;
    background: var(--green);
    color: #061a0e;
    border-radius: 6px;
    font-weight: bold;
}
.footer { background: var(--navy-dark); color: #fff; }
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 22px 0;
}
.footer small { display: block; font-size: 16px; }
.footer .phone {
    display: block;
    font-size: 32px;
    color: var(--green);
    font-weight: 900;
}
.inner-page { min-height: 55vh; padding: 65px 0; }
.inner-page h1 { font-size: 45px; }

@media(max-width:1000px) {
    .top-inner, .footer-inner {
        flex-wrap: wrap;
        padding: 20px 0;
    }
    .contact-top { margin-left: 0; }
    .benefits-grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
    .services { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:600px) {
    .brand { font-size: 25px; }
    .tagline { font-size: 16px; }
    .nav-inner a { padding: 12px; font-size: 14px; }
    .hero { min-height: 370px; }
    .hero p { font-size: 19px; }
    .benefits-grid, .services { grid-template-columns: 1fr; }
    .footer .phone { font-size: 27px; }
}

/* Migrirani Joomla sadržaj */
.mta-content {
    max-width: 1200px;
    margin: 35px auto;
    display: grid;
    gap: 24px;
}
.mta-content h2 {
    color: #102747;
    border-left: 5px solid #19b83f;
    padding-left: 18px;
    font-size: clamp(25px,3vw,36px);
}
.mta-content p {
    font-size: 18px;
    line-height: 1.85;
    white-space: pre-line;
    color: #34465c;
}
.mta-content img {
    display: block;
    max-width: 100%;
    max-height: 600px;
    object-fit: contain;
    border-radius: 12px;
    margin: 0 auto;
}


/* MTA modernizacija */
.hero {
    position: relative;
    min-height: 520px;
    background:
        linear-gradient(90deg,
            rgba(8,24,44,.97) 0%,
            rgba(8,24,44,.88) 38%,
            rgba(8,24,44,.18) 100%),
        url('/images/mta/2023/12/10/servis-baterije-za-viljuskar.jpg')
        center 48% / cover no-repeat;
}
.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 75px;
    padding-bottom: 75px;
}
.hero h1 {
    max-width: 850px;
    font-weight: 900;
    letter-spacing: -1.5px;
}
.hero .btn {
    margin-top: 18px;
    box-shadow: 0 8px 24px rgba(25,184,63,.25);
}
.services {
    padding-top: 40px;
    padding-bottom: 50px;
}
.service-card {
    min-height: 340px;
    transition: transform .25s, box-shadow .25s;
    background-position: center;
    background-size: cover;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(9,30,55,.2);
}
.service-card:nth-child(1) {
    background-image:
        linear-gradient(180deg,rgba(8,25,45,.4),rgba(8,25,45,.94)),
        url('/images/mta/2023/12/10/remont-baterije-za-viljuskar.jpg');
}
.service-card:nth-child(2) {
    background-image:
        linear-gradient(180deg,rgba(8,25,45,.4),rgba(8,25,45,.94)),
        url('/images/mta/2023/12/10/nova-baterija-za-viljuskar-sunlight.jpg');
}
.service-card:nth-child(3) {
    background-image:
        linear-gradient(180deg,rgba(8,25,45,.4),rgba(8,25,45,.94)),
        url('/images/mta/2023/12/10/sunlight-baterija.jpg');
}
.service-card:nth-child(4) {
    background:
        linear-gradient(145deg,#18395b,#0b1c34);
}
.service-card h2 {
    background: rgba(6,28,52,.88);
    border-bottom: 3px solid #19b83f;
}
.service-body {
    padding: 25px 18px;
}
.service-body a {
    padding: 12px 20px;
}
@media(max-width:600px) {
    .hero { min-height: 440px; background-position: 62% center; }
    .hero-content { padding: 55px 12px; }
    .hero h1 { font-size: 38px; }
    .service-card { min-height: 300px; }
}

.mta-gallery {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 20px;
    margin: 35px 0;
}
.mta-gallery a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 12px;
    overflow: hidden;
    min-height: 200px;
}
.mta-gallery img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    transition: transform .25s;
}
.mta-gallery a:hover img { transform: scale(1.05); }
@media(max-width:900px) {
    .mta-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:500px) {
    .mta-gallery { grid-template-columns: 1fr; }
}

/* MTA Lightbox */
.mta-lightbox[hidden] { display: none !important; }
.mta-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(4,12,25,.96);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 65px 65px 55px;
}
.mta-lb-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
}
.mta-lightbox button {
    position: absolute;
    border: 0;
    color: white;
    background: rgba(25,184,63,.85);
    cursor: pointer;
    border-radius: 50%;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    font-size: 25px;
}
.mta-lightbox button:hover { background: #19b83f; }
.mta-lb-close { top: 18px; right: 22px; }
.mta-lb-prev { left: 15px; top: 50%; transform: translateY(-50%); }
.mta-lb-next { right: 15px; top: 50%; transform: translateY(-50%); }
.mta-lb-counter {
    position: absolute;
    bottom: 17px;
    color: white;
    font-size: 15px;
    letter-spacing: 2px;
}
@media(max-width:600px) {
    .mta-lightbox { padding: 65px 12px 70px; }
    .mta-lightbox button { width: 39px; height: 39px; }
    .mta-lb-prev { left: 8px; }
    .mta-lb-next { right: 8px; }
}

/* MTA Kontakt */
.mta-contact-hero {
    background: linear-gradient(115deg,#0b1c34,#173d62);
    color: white;
    padding: 75px 0;
}
.mta-eyebrow {
    display: inline-block;
    color: #19b83f;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.mta-contact-hero h1 {
    font-size: clamp(38px,5vw,65px);
    margin: 0 0 16px;
}
.mta-contact-hero p {
    font-size: 19px;
    max-width: 650px;
    line-height: 1.7;
    color: #d9e5f0;
}
.mta-contact-section {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 65px;
    padding-top: 75px;
    padding-bottom: 85px;
}
.mta-contact-info h2,
.mta-contact-form-wrap h2 {
    font-size: 34px;
    margin: 0 0 15px;
}
.mta-contact-info > p,
.mta-contact-form-wrap > p {
    color: #5a6a7d;
    line-height: 1.8;
    margin-bottom: 30px;
}
.mta-contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 22px;
    border: 1px solid #e0e8ef;
    border-radius: 14px;
    margin-bottom: 16px;
    background: #f8fafc;
}
.mta-contact-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 12px;
    background: #e1f8e7;
    color: #138b32;
    display: grid;
    place-items: center;
    font-size: 25px;
}
.mta-contact-card div {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.mta-contact-card small {
    font-size: 12px;
    font-weight: 800;
    color: #61738a;
    letter-spacing: 1px;
}
.mta-contact-card a,
.mta-contact-card strong {
    font-size: 18px;
    font-weight: 750;
    overflow-wrap: anywhere;
}
.mta-contact-actions {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}
.mta-contact-actions a {
    flex: 1;
    padding: 15px;
    border-radius: 10px;
    color: white;
    text-align: center;
    font-weight: 800;
}
.mta-viber { background: #7360ad; }
.mta-whatsapp { background: #168d49; }
.mta-contact-form-wrap {
    background: #fff;
    border: 1px solid #e1e8f0;
    border-radius: 20px;
    padding: 38px;
    box-shadow: 0 20px 60px rgba(12,35,60,.08);
}
.mta-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.mta-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.mta-contact-form label {
    display: flex;
    flex-direction: column;
    gap: 9px;
    font-weight: 700;
    font-size: 14px;
}
.mta-contact-form input,
.mta-contact-form select,
.mta-contact-form textarea {
    width: 100%;
    border: 1px solid #d5e0eb;
    border-radius: 9px;
    padding: 14px;
    font: inherit;
    font-weight: 400;
    color: #102747;
    background: #f8fafc;
}
.mta-contact-form input:focus,
.mta-contact-form select:focus,
.mta-contact-form textarea:focus {
    outline: 2px solid #19b83f;
    border-color: #19b83f;
}
.mta-submit {
    border: 0;
    cursor: pointer;
    font-size: 17px;
    align-self: flex-start;
}
.mta-honeypot {
    position: absolute;
    left: -9999px;
}
.mta-form-success {
    padding: 15px;
    background: #e1f8e7;
    color: #116b2c;
    border-radius: 9px;
    margin-bottom: 20px;
}
.mta-form-error {
    padding: 15px;
    background: #fff0f0;
    color: #9e2525;
    border-radius: 9px;
    margin-bottom: 20px;
}
@media(max-width:900px) {
    .mta-contact-section { grid-template-columns: 1fr; gap: 35px; }
}
@media(max-width:600px) {
    .mta-contact-hero { padding: 50px 0; }
    .mta-contact-section { padding-top: 40px; padding-bottom: 45px; }
    .mta-contact-form-wrap { padding: 22px; }
    .mta-form-row { grid-template-columns: 1fr; }
}

/* Reference na naslovnoj */
.service-card:nth-child(4) {
    background: #f1f5f9;
}
.mta-references-body {
    justify-content: space-between;
    gap: 15px;
}
.mta-reference-logos {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    align-items: center;
    gap: 15px;
    flex: 1;
    padding: 12px;
    background: white;
    border-radius: 10px;
}
.mta-reference-logos img {
    display: block;
    width: 100%;
    height: 65px;
    object-fit: contain;
}
.mta-references-body > a {
    margin-top: auto;
}

/* Mobilna navigacija */
.mta-mobile-bar { display: none; }

@media(max-width:900px) {
    .topbar { display: none; }

    .mta-mobile-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 68px;
        padding: 12px 20px;
        background: #0b1c34;
        color: white;
    }

    .mta-mobile-brand {
        font-size: 21px;
        font-weight: 900;
    }

    .mta-mobile-brand strong { color: #19b83f; }

    #mta-mobile-toggle {
        width: 46px;
        height: 44px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        border: 1px solid #49617d;
        border-radius: 8px;
        background: #173456;
        cursor: pointer;
    }

    #mta-mobile-toggle span {
        width: 23px;
        height: 2px;
        background: #19b83f;
        border-radius: 2px;
    }

    .navbar { display: none; }
    .navbar.mta-nav-open { display: block; }

    .nav-inner {
        width: 100%;
        display: flex;
        flex-direction: column;
        padding: 8px 12px 15px;
    }

    .nav-inner a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid rgba(255,255,255,.1);
    }
}

/* MTA Mobile redesign v2 */
@media(max-width:900px) {
    .mta-mobile-bar {
        min-height: 76px;
        padding: 12px 16px;
        background: #0b1c34;
        border-bottom: 1px solid #294461;
        box-shadow: 0 5px 18px rgba(0,0,0,.12);
    }
    .mta-mobile-brand {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 18px;
        line-height: 1.15;
        letter-spacing: -.3px;
    }
    .mta-brand-symbol {
        display: grid;
        place-items: center;
        width: 39px;
        height: 39px;
        border-radius: 10px;
        background: #173d36;
        color: #22c55e;
        font-size: 27px;
    }
    .mta-mobile-actions {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .mta-mobile-call {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        border-radius: 10px;
        background: #173d36;
        color: #22c55e;
        font-size: 25px;
    }
    #mta-mobile-toggle {
        background: #173456;
        border-radius: 10px;
    }
    .navbar.mta-nav-open {
        box-shadow: 0 15px 25px rgba(0,0,0,.18);
    }
    .nav-inner {
        padding: 12px;
        gap: 5px;
    }
    .nav-inner a {
        border: 0;
        border-radius: 9px;
        background: rgba(255,255,255,.035);
        padding: 15px 17px;
    }
    .nav-inner a:hover,
    .nav-inner a.active {
        background: #19b83f;
        color: #071b11;
    }

    .mta-benefits-modern {
        background: #f1f5f9;
        padding: 18px 0 24px;
    }
    .mta-benefits-modern .benefits-grid {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 12px;
        padding: 0;
    }
    .mta-benefits-modern .benefits-grid > div {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        min-height: 125px;
        gap: 10px;
        padding: 17px;
        border: 1px solid #e1e8f0;
        border-radius: 14px;
        background: white;
        box-shadow: 0 5px 15px rgba(12,35,60,.04);
        font-size: 25px;
    }
    .mta-benefits-modern .benefits-grid > div span {
        font-size: 13px;
        line-height: 1.4;
        font-weight: 750;
        color: #102747;
    }
    .mta-benefits-modern .benefits-grid > div:last-child {
        grid-column: 1 / -1;
        min-height: 80px;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    }
}
@media(max-width:380px) {
    .mta-mobile-brand { font-size: 15px; }
    .mta-mobile-bar { padding: 10px; }
    .mta-mobile-actions { gap: 5px; }
    .mta-benefits-modern .benefits-grid > div { padding: 13px; }
}

/* MTA YouTube hero */
.mta-video-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-image: url('/images/mta/2023/12/10/servis-baterije-za-viljuskar.jpg');
    background-size: cover;
    background-position: center;
}
.mta-hero-video {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -2;
    pointer-events: none;
}
.mta-hero-video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: max(100%, 177.78vh);
    height: max(100%, 56.25vw);
    transform: translate(-50%, -50%);
    border: 0;
}
.mta-hero-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(90deg,
        rgba(6,20,39,.94) 0%,
        rgba(6,20,39,.77) 43%,
        rgba(6,20,39,.25) 100%);
}
.mta-video-hero .hero-content {
    position: relative;
    z-index: 1;
}
@media(max-width:600px) {
    .mta-hero-video { display: none; }
    .mta-hero-shade {
        background: linear-gradient(90deg,
            rgba(6,20,39,.94),
            rgba(6,20,39,.55));
    }
}
@media(prefers-reduced-motion:reduce) {
    .mta-hero-video { display: none; }
}

/* MTA MP4 hero */
.mta-hero-mp4 {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    pointer-events: none;
}
@media(prefers-reduced-motion:reduce) {
    .mta-hero-mp4 { display: none; }
}

/* MTA kontakt mapa */
.mta-map-section {
    padding-top: 35px;
    padding-bottom: 65px;
}

.mta-map-heading {
    margin-bottom: 22px;
}

.mta-map-heading h2 {
    margin: 8px 0;
}

.mta-google-map {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(20, 60, 80, .12);
    box-shadow: 0 12px 35px rgba(10, 30, 50, .10);
}

.mta-google-map iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}

@media (max-width: 640px) {
    .mta-map-section {
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .mta-google-map iframe {
        height: 330px;
    }
}

/* MTA - mobilni kontakt */
@media (max-width: 767px) {

    .mta-contact-section {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .mta-contact-info,
    .mta-contact-form-wrap {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .mta-contact-card {
        display: flex !important;
        align-items: flex-start;
        gap: 14px;
        padding: 17px !important;
        margin-bottom: 12px;
        overflow-wrap: anywhere;
    }

    .mta-contact-card > div {
        min-width: 0;
        flex: 1;
    }

    .mta-contact-card a,
    .mta-contact-card strong,
    .mta-contact-card span {
        overflow-wrap: anywhere;
    }

    .mta-contact-actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        width: 100%;
    }

    .mta-contact-actions a {
        display: flex !important;
        justify-content: center;
        align-items: center;
        min-width: 0;
        padding: 14px 8px !important;
        text-align: center;
    }

    .mta-contact-form-wrap {
        padding: 22px 18px !important;
    }

    .mta-contact-form {
        width: 100%;
    }

    .mta-form-row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px !important;
    }

    .mta-contact-form label,
    .mta-contact-form input,
    .mta-contact-form select,
    .mta-contact-form textarea {
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .mta-contact-form input,
    .mta-contact-form select,
    .mta-contact-form textarea {
        width: 100%;
        font-size: 16px;
    }

    .mta-contact-hero h1 {
        font-size: clamp(32px, 9vw, 46px);
        line-height: 1.12;
    }

    .mta-map-section {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .mta-google-map iframe {
        height: 300px;
    }
}


/* MTA KONTAKT - DESKTOP RASPORED */
@media (min-width: 1025px) {

    .mta-contact-section {
        display: grid !important;
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) !important;
        align-items: start !important;
        gap: 32px !important;
    }

    .mta-contact-info {
        grid-column: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    .mta-contact-form-wrap {
        grid-column: 2 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
    }

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

    .mta-contact-actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .mta-form-row {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }

    .mta-map-section {
        width: 100%;
        max-width: 1320px;
        margin-left: auto;
        margin-right: auto;
    }
}


/* MTA - zaseban prikaz referenci */
.mta-client-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 35px 0 55px;
}

.mta-client-card {
    min-width: 0;
    background: #fff;
    border: 1px solid #e1e8f0;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    box-shadow: 0 8px 24px rgba(12,35,60,.04);
}

.mta-client-logo {
    width: 100%;
    height: 145px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mta-client-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mta-client-name {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #243b53;
    overflow-wrap: anywhere;
}

a.mta-client-logo:hover img {
    transform: scale(1.04);
}

@media (max-width: 900px) {
    .mta-client-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 500px) {
    .mta-client-grid {
        grid-template-columns: 1fr;
    }
}


/* MTA - Prodaja */
.mta-sale-hero {
    background: linear-gradient(120deg, #0b1c34, #173b57);
    color: #fff;
    padding: 75px 0 85px;
}
.mta-sale-eyebrow,
.mta-sale-label {
    display: block;
    color: #26c75a;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}
.mta-sale-hero h1 {
    font-size: clamp(38px, 5vw, 64px);
    margin: 0 0 18px;
}
.mta-sale-hero p {
    max-width: 740px;
    font-size: 20px;
    line-height: 1.7;
    color: #dbe7f0;
    margin-bottom: 30px;
}
.mta-sale-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 28px;
    background: #19b83f;
    color: #fff;
    border-radius: 10px;
    font-weight: 800;
}
.mta-sale-section {
    padding-top: 70px;
    padding-bottom: 85px;
}
.mta-sale-intro {
    max-width: 1050px;
    margin-bottom: 35px;
}
.mta-sale-intro h2 {
    font-size: clamp(28px, 3.5vw, 42px);
    margin-bottom: 20px;
}
.mta-sale-intro p,
.mta-sale-more p {
    font-size: 17px;
    line-height: 1.85;
    color: #42546a;
    white-space: pre-line;
}
.mta-sale-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.mta-sale-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e1e8ef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(10, 35, 65, .07);
}
.mta-sale-image {
    height: 250px;
    background: #f4f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.mta-sale-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.mta-sale-card-body {
    padding: 25px;
}
.mta-sale-card-body h3 {
    font-size: 24px;
    margin: 0 0 20px;
}
.mta-sale-card-body a {
    color: #138b32;
    font-weight: 800;
}
.mta-sale-more {
    margin-top: 40px;
    max-width: 1050px;
}
.mta-sale-cta {
    padding: 65px 0;
    background: #edf5f0;
    text-align: center;
}
.mta-sale-cta h2 {
    font-size: clamp(27px, 3vw, 40px);
    margin-bottom: 15px;
}
.mta-sale-cta p {
    margin-bottom: 25px;
    color: #42546a;
}
@media(max-width: 900px) {
    .mta-sale-grid {
        grid-template-columns: 1fr;
        max-width: 650px;
        margin: auto;
    }
}
@media(max-width: 600px) {
    .mta-sale-hero { padding: 55px 0; }
    .mta-sale-hero p { font-size: 17px; }
    .mta-sale-section { padding-top: 45px; padding-bottom: 55px; }
    .mta-sale-image { height: 210px; }
}

/* Dodatne fotografije Prodaje */
.mta-sale-gallery {
    margin-top: 55px;
}

.mta-sale-gallery-heading {
    margin-bottom: 24px;
}

.mta-sale-gallery-heading h2 {
    font-size: clamp(26px, 3vw, 36px);
    color: #102747;
}

.mta-sale-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.mta-sale-gallery-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 12px;
    overflow: hidden;
    border-radius: 16px;
    background: #f4f7fa;
    border: 1px solid #e1e8ef;
    box-sizing: border-box;
}

.mta-sale-gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 900px) {
    .mta-sale-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 550px) {
    .mta-sale-gallery-grid {
        grid-template-columns: 1fr;
    }

    .mta-sale-gallery-item img {
        max-height: 650px;
    }
}
