﻿/* ============================================================
   MICROCLIMA – MAIN STYLESHEET
   ============================================================ */


/* ------------------------------------------------------------
   TOP BAR
   ------------------------------------------------------------ */
.topbar {
    background-color: var(--color-dark);
    max-height: 6rem;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

.site-header.header--scrolled .topbar {
    max-height: 0;
    opacity: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.topbar__inner {
    display: flex;
    align-items: right;
}

.topbar__phone:hover {
    color: var(--color-primary-light);
}


/* ------------------------------------------------------------
   HEADER / NAVBAR
   ------------------------------------------------------------ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
}

.navbar {
    background-color: #fff;
    height: 4rem;
    display: flex;
    align-items: center;
    position: relative;
}

.navbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar__logo img {
    height: 1.5rem;
    display: block;
}

/* Nav links */
.topnav {
    display: flex;
    align-items: center;
}

.topnav a {
    color: var(--color-text);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.4rem 0.9rem;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s;
    display: inline-block;
}

.topnav a:hover,
.topnav a.active {
    color: var(--color-primary);
}

/* Hamburger - hidden on desktop */
.topnav__burger {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--color-text);
    padding: 0.4rem;
    line-height: 1;
}


/* ------------------------------------------------------------
   HERO
   ------------------------------------------------------------ */
.hero {
    margin-top: 6.4rem;
    /* topbar 3rem + navbar 5rem */
    width: 100%;
    height: 36rem;
    overflow: hidden;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* Split variant: image left (bleeds to edge) | green text panel right (bleeds to edge) */
.hero.hero--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 20rem;
    height: auto;
    overflow: visible;
}

.hero--split .hero__media {
    overflow: hidden;
    height: 100%;
}

.hero--split .hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero--split .hero__panel {
    align-content: start;
    column-gap: 1rem;
    row-gap: 1.25rem;
    background-color: var(--color-primary);
    color: #fff;
    padding: 3rem 4rem;
}

.hero__panel.single {
    background-color: var(--color-footer-bg);
}

.hero__panel.single p {
    color: #fff !important;
}

.hero__panel_wrapp {
    max-width: 34rem;
    width: 100%;
}

.hero__label {
    grid-area: label;
    align-self: start;
    color: var(--color-primary-light);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hero__heading {
    font-size: 2.1rem;
    text-transform: uppercase;
    line-height: 1.25;
    color: #fff;
    margin: 0;
    max-width: 26rem;
}

.hero__leaf {
    grid-area: leaf;
    align-self: start;
    justify-self: end;
    width: 70px;
    opacity: 0.5;
}

@media screen and (max-width: 900px) {
    .hero.hero--split {
        grid-template-columns: 1fr;
        min-height: 0;
        height: auto;
    }

    .hero--split .hero__media {
        height: 18rem;
    }

    .hero--split .hero__panel {
        padding: 3rem;
    }

    .hero--split .hero__panel .hero__panel_wrapp {
        max-width: 100%;
        width: 100%;
    }

    .hero__leaf {
        width: 50px;
    }
}


/* ------------------------------------------------------------
   HERO BOTTOM  (two cols, pulled up over hero)
   ------------------------------------------------------------ */
.hero-bottom {
    margin-top: -4rem;
    position: relative;
    z-index: 10;
    padding-bottom: 4rem;
    transition: all 0.8s;
}

.hero-bottom__grid {
    display: grid;
    grid-template-columns: 5fr 4fr;
    gap: 0;
    /*vertical align child bottom*/
    align-items: end;
}

.hero-bottom__text {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-right: 3rem;
}

.hero-bottom__text p {
    color: var(--color-text);
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 400;
    margin-bottom: 0;
}

.hero-bottom__box {
    padding: 2.5rem 7.3rem 2.5rem 2.5rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bottom__box.index {
    background-color: var(--color-primary-dark);
}

.hero-bottom__box.onama {
    background-color: var(--color-onama-bg);
}

.hero-bottom__box>.hero-bottom__tagline {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.hero-bottom__box.index>.hero-bottom__tagline {
    color: var(--color-primary-light);
}

.hero-bottom__box.onama>.hero-bottom__tagline {
    color: #ffffff;
}


.hero-bottom__tagline svg {
    width: 1.2rem;
    height: 1.2rem;
    flex-shrink: 0;
    fill: var(--color-primary-light);
}

.hero-bottom__tagline img {
    transition: transform 0.4s ease;
}

.hero-bottom:hover .hero-bottom__tagline img.leaf {
    transform: rotate(10deg) scale(1.08);
    transition: 0.8s all ease;
}

.hero-bottom:hover .hero-bottom__tagline img.cog {
    transform: rotate(45deg);
    transition: 0.8s all ease;
}


.hero-bottom__box h1 {
    font-size: 2.2rem;
    text-transform: uppercase;
    line-height: 1.15;
    color: #fff;
    margin: 0;
}


/* ------------------------------------------------------------
   STATS
   ------------------------------------------------------------ */
.stats {
    padding: 3rem 0;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}

.stats__item {
    border-right: 1px solid var(--color-border);
    padding: 0.5rem 2rem;
}

.stats__item:last-child {
    border-right: none;
}

.stats__label {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 400;
    margin-bottom: 0.4rem;
}

.stats__number {
    font-size: 5.1rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    line-height: 1;
    display: block;
    font-family: "Roboto Condensed", sans-serif;
}


/* ------------------------------------------------------------
   SECTION WRAPPER
   ------------------------------------------------------------ */
.home-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.section-heading {
    color: var(--color-primary-dark);
    font-size: 1.9rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    text-transform: none;
}


/* ------------------------------------------------------------
   OPREMA GRID  (oprema.html)
   ------------------------------------------------------------ */
.equip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.equip-card {
    display: grid;
    grid-template-rows: auto 1fr;
    background-color: #f1f1f1;
    border-radius: 0;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
}

.equip-card__img-wrap {
    overflow: hidden;
}

.equip-card__img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.equip-card:hover .equip-card__img {
    transform: scale(1.08);
}

.equip-card__body {
    display: grid;
    grid-template-rows: auto 1fr auto;
    justify-items: start;
    text-align: left;
    padding: 1.5rem;
}

.equip-card__title {
    color: var(--color-dark);
    font-size: 1.05rem;
    margin: 0 0 0.6rem;
}

.equip-card__desc {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0 0 1.5rem;
}

.equip-card__btn {
    justify-self: center;
    align-self: end;
    background-color: var(--color-dark);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.65rem 1.6rem;
    border-radius: 2rem;
    transition: background-color 0.4s ease;
}

.equip-card:hover .equip-card__btn {
    background-color: var(--color-primary);
}

@media screen and (max-width: 980px) {
    .equip-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .equip-grid {
        grid-template-columns: 1fr;
    }
}


/* ------------------------------------------------------------
   SPLIT BLOCK  (Servis & Rjesenja - full-width 50/50)
   ------------------------------------------------------------ */
.split-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 24rem;
    overflow-x: hidden;
}

/* ------------------------------------------------------------
   SERVICE ORDER FORM  (servis-forma.html)
   ------------------------------------------------------------ */
.service-form {
    max-width: 46rem;
    margin: 0 auto;
}

.service-form__login {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.service-form__input {
    flex: 1;
    border: 1px solid var(--color-border);
    border-radius: 0.3rem;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    color: var(--color-text);
}

.service-form__login-btn {
    flex-shrink: 0;
}

.service-form__section {
    margin-bottom: 1.5rem;
}

.service-form__section-title {
    background-color: var(--color-dark);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.7rem 1rem;
    margin-bottom: 1rem;
}

.service-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

/* Contact Form 7 (wpautop) wraps the whole row in a single <p> and inserts
   a <br> between the two .service-form__field labels, e.g.:
   <div class="service-form__row"><p><label ...></label><br><label ...></label></p></div>
   Collapsing the <p> with display:contents exposes that <br> as a 3rd grid
   item, breaking the 2-column pairing - so it must be hidden too. */
.service-form__row > br,
.service-form__row > p > br {
    display: none;
}

.service-form__row > p {
    display: contents;
}

.service-form__field > br {
    display: none;
}

.service-form__row--1col {
    grid-template-columns: 1fr;
}

.service-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--color-text);
}

.service-form__field input,
.service-form__field select,
.service-form__field textarea {
    border: 1px solid var(--color-border);
    border-radius: 0.3rem;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--color-text);
    width: 100%;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-form__field input:focus,
.service-form__field select:focus,
.service-form__field textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 106, 84, 0.15);
}

.service-form__hint {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin: 0 0 1rem;
}

.service-form__file {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-form__file-btn {
    cursor: pointer;
}

.service-form__file-name {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.service-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin: 1.5rem 0;
}

.service-form__consent input {
    width: auto;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.service-form__captcha {
    margin-bottom: 1.5rem;
}

.service-form__captcha-img {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background-color: var(--color-dark);
    padding: 1rem 1.5rem;
    border-radius: 0.3rem;
}

/* Same Contact Form 7 wpautop issue as .service-form__row: stray <br>/<p>
   injected between the char spans would otherwise break the flex row. */
.service-form__captcha-img > br {
    display: none;
}

.service-form__captcha-img > p {
    display: contents;
}

.service-form__captcha-char {
    font-family: Georgia, serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-primary-light);
}

.service-form__captcha-char.c1 {
    transform: rotate(-8deg);
}

.service-form__captcha-char.c2 {
    transform: rotate(6deg);
    color: #fff;
}

.service-form__captcha-char.c3 {
    transform: rotate(-4deg);
}

.service-form__captcha-char.c4 {
    transform: rotate(10deg);
    color: #fff;
}

.service-form__captcha-char.c5 {
    transform: rotate(-6deg);
}

.service-form__submit {
    display: flex;
    align-items: flex-end;
}

.service-form__submit-btn {
    width: 100%;
    justify-content: center;
    border: none;
}

@media screen and (max-width: 700px) {
    .service-form__login {
        flex-direction: column;
    }

    .service-form__row {
        grid-template-columns: 1fr;
    }
}

/* ------------------------------------------------------------
   KONTAKT PAGE
   ------------------------------------------------------------ */
.kontakt-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
}

.kontakt-info__address {
    font-style: normal;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.kontakt-info__list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.kontakt-info__list li {
    font-size: 0.9rem;
    line-height: 2;
    color: var(--color-text);
}

.kontakt-info__depts {
    display: grid;
    gap: 1.2rem;
}

.kontakt-info__dept {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    border-top: 1px solid var(--color-border);
    padding-top: 1rem;
}

.kontakt-info__dept-title {
    font-weight: 700;
    color: var(--color-primary-dark);
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.kontakt-info__dept a {
    font-size: 0.9rem;
}

.kontakt-map {
    position: relative;
    width: 100%;
    padding-top: 32%;
    border-radius: 0.3rem;
    overflow: hidden;
}

.kontakt-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.kontakt-map--wide {
    padding-top: 26rem;
    border-radius: 0;
}

.kontakt-branch-section {
    background-color: #f7f7f7;
}

.kontakt-branch {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.kontakt-branch .kontakt-map {
    padding-top: 65%;
}

.kontakt-branch__title {
    color: var(--color-primary-dark);
    font-size: 1.2rem;
    margin: 0 0 1rem 0;
}

@media screen and (max-width: 768px) {
    .kontakt-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .kontakt-branch {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .kontakt-map--wide {
        padding-top: 60%;
    }
}

.split-block__content {
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 2.5rem 4rem;
    padding-left: max(4rem, calc((100vw - 76rem) / 2 + 4rem));
}

.split-block__label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.13em;
    color: var(--color-primary-light);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.split-block__gear {
    position: absolute;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 9rem;
    line-height: 1;
    opacity: 0.13;
    color: #fff;
    pointer-events: none;
    user-select: none;
}

.split-block__content img[alt="Icon cog"] {
    transition: transform 0.6s ease;
}

.split-block__content:hover img[alt="Icon cog"] {
    transform: rotate(45deg);
}

.split-block__title {
    font-size: 1.85rem;
    text-transform: uppercase;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 2rem 0;
    max-width: 20rem;
    position: relative;
    z-index: 1;
}

.split-block__image {
    overflow: hidden;
}

.split-block__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.split-block-after {
    display: flex;
    justify-content: flex-end;
    padding-top: 2rem;
}

.split-block--top .split-block__content {
    justify-content: flex-start;
    padding-top: 3.5rem;
}

.split-block__title--normal {
    text-transform: none;
    max-width: none;
}


/* ------------------------------------------------------------
   OPREMA SLIDER
   ------------------------------------------------------------ */
/* Outer wrapper — starts at maxwrapp left edge, bleeds to right viewport edge */
.oprema-slider-outer {
    padding-left: max(4rem, calc((100vw - 76rem) / 2 + 4rem));
    overflow: hidden;
    margin-bottom: 0;
}

.oprema-slider .slick-slide {
    padding: 0 0.5rem;
}


.oprema-card {
    position: relative;
    overflow: hidden;
    background-color: var(--color-primary-dark);
    display: block;
}

.oprema-card__img {
    width: 100%;
    aspect-ratio: 1 / 0.8;
    object-fit: cover;
    display: block;
    opacity: 0.75;
    transition: opacity 0.4s;
    transition: all 0.6s;
}

.oprema-card:hover .oprema-card__img {
    opacity: 0.9;
    transition: all 0.6s;
}

.oprema-card-title {
    background-color: var(--color-primary-dark);
    padding: 1rem 1rem 1rem 1rem;
    transition: all 0.6s;
}

.oprema-card__label {
    /*position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(16, 64, 75, 0.92) 0%, transparent 100%);
    */
    color: #fff;
    font-size: 0.82rem;
    font-weight: 500;
}

.oprema-item:hover img {
    transform: scale(1.05);
    transition: all 0.6s;
}

.oprema-item:hover .oprema-card-title {
    background-color: var(--color-primary-light2);
    transition: all 0.6s;
}

/* Custom prev/next arrows below the slider */
.oprema-arrows {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.25rem;
}

.oprema-arrow {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    border: 1.5px solid #c0c0c0;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s, color 0.3s;
    font-size: 0.9rem;
    color: var(--color-text);
    line-height: 1;
    padding: 0;
}

.oprema-arrow:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}


/* ------------------------------------------------------------
   KATALOZI OPREME
   ------------------------------------------------------------ */
.katalozi-intro {
    margin-bottom: 3rem;
}

.katalozi img {
    width: 100%;
    display: block;
}


/* ------------------------------------------------------------
   ABOUT (o-nama) – alternating image/text rows + banner
   Same full-bleed pattern as .split-block
   ------------------------------------------------------------ */
.about-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    margin-bottom: 4.5rem;
    overflow-x: hidden;
}

.about-row:last-child {
    margin-bottom: 0;
}

/* Fixed-height wrapper keeps image size constant no matter how much text is in the other column */
.about-row__image-inner {
    height: 24rem;
    overflow: hidden;
}

.about-row__image-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-row__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 4rem 2.5rem 4rem;
}

.about-row--img-left .about-row__content {
    padding-right: max(4rem, calc((100vw - 76rem) / 2 + 4rem));
}

.about-row--img-right .about-row__content {
    padding-left: max(4rem, calc((100vw - 76rem) / 2 + 4rem));
}

.about-row__content .section-heading {
    margin-bottom: 1.25rem;
}

.about-row__content p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.about-row__content p:last-child {
    margin-bottom: 0;
}

.about-row__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.about-row__list li {
    position: relative;
    padding-left: 1rem;
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--color-text);
}

.about-row__list li::before {
    content: "·";
    position: absolute;
    left: 0;
    font-weight: 700;
}

.about-banner {
    background-color: var(--color-dark);
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
    text-align: center;
}

.about-banner__text {
    color: var(--color-primary-light);
    font-size: 2.6rem;
    font-weight: 400 !important;
    line-height: 3rem;
    margin: 0 auto 3rem;
}

.about-banner__city {
    display: block;
    width: 100%;
    height: auto;
}


/* ------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------ */
.btn-teal {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background-color: var(--color-dark);
    color: var(--color-primary-light);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.7rem 1.7rem;
    border-radius: 2rem;
    text-decoration: none;
    letter-spacing: 0.04em;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    transition: all 0.6s;
}

.btn-teal:hover {
    background-color: #306976;
    color: #fff;
    transition: all 0.6s;
}

.btn-teal__arrow {
    font-size: 1rem;
    line-height: 1;
}

/* btn-teal override inside dark teal panels */
.split-block__content .btn-teal {
    background-color: rgba(255, 255, 255, 0);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    align-self: flex-start;
    transition: all 0.6s;
}

.split-block__content .btn-teal:hover {
    background-color: rgba(255, 255, 255, 0.22);
    color: #fff;
    transition: all 0.6s;
}


/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */
.site-footer {
    background-color: var(--color-footer-bg);
    padding-top: 3.5rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer__logo {
    height: 1.8rem;
    margin-bottom: 1.25rem;
    display: block;
    filter: brightness(0) invert(1);
}

.site-footer address {
    font-style: normal;
    font-size: 0.8rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.55);
}

.footer__col-title {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.site-footer .footer__col p {
    font-size: 0.85rem;
    line-height: 1.8;
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
}

.site-footer .footer__col p a {
    color: rgba(255, 255, 255, 0.55);
}

.site-footer .footer__col p a:hover {
    color: var(--color-primary-light);
}

.footer__nav {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 1.75rem;
}

.eu-banner {
    background-color: #f1f1f1;
}

.eu-banner__grid {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 2rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.eu-banner__logo {
    height: 3.2rem;
}

.eu-banner__text {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--color-text);
    margin: 0;
}

.eu-banner__text a {
    color: var(--color-primary);
    text-decoration: none;
}

.eu-banner__text a:hover {
    text-decoration: underline;
}

.footer__nav a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.3s;
}

.footer__nav a:hover {
    color: var(--color-primary-light);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 0;
}

.footer__bottom .maxwrapp {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer__bottom span {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer__legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer__legal-nav a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__legal-nav a:hover {
    color: var(--color-primary-light);
}


/* ------------------------------------------------------------
   SCROLL REVEAL  (fade / slide-in as elements enter viewport)
   ------------------------------------------------------------ */
.reveal,
.reveal--left,
.reveal--right {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal {
    transform: translateY(30px);
}

.reveal--left {
    transform: translateX(-40px);
}

.reveal--right {
    transform: translateX(40px);
}

.reveal.is-visible,
.reveal--left.is-visible,
.reveal--right.is-visible {
    opacity: 1;
    transform: none;
}

/* Staggered entrance for oprema equipment card grid */
.equip-grid .equip-card:nth-child(1) { transition-delay: 0s; }
.equip-grid .equip-card:nth-child(2) { transition-delay: 0.08s; }
.equip-grid .equip-card:nth-child(3) { transition-delay: 0.16s; }
.equip-grid .equip-card:nth-child(4) { transition-delay: 0.24s; }
.equip-grid .equip-card:nth-child(5) { transition-delay: 0.32s; }
.equip-grid .equip-card:nth-child(6) { transition-delay: 0.4s; }
.equip-grid .equip-card:nth-child(7) { transition-delay: 0.48s; }

/* Button arrow micro-interaction */
.btn-teal__arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-teal:hover .btn-teal__arrow {
    transform: translateX(4px);
}


/* ------------------------------------------------------------
   KATALOZI – 3-column card grid
   ------------------------------------------------------------ */
.katalozi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.katalog-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 0.6rem;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(16, 64, 75, 0.08);
}

.katalog-card__img-wrap {
    overflow: hidden;
    aspect-ratio: 4 / 4.5;
}

.katalog-card__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.katalog-card:hover .katalog-card__img {
    transform: scale(1.06);
}

.katalog-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.75rem;
}

.katalog-card__brand {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.katalog-card__title {
    font-size: 1.25rem;
    color: var(--color-dark);
    line-height: 1.3;
    margin: 0 0 0.85rem;
}

.katalog-card__desc {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    flex: 1;
}

.katalozi-grid .katalog-card:nth-child(1) { transition-delay: 0s; }
.katalozi-grid .katalog-card:nth-child(2) { transition-delay: 0.1s; }
.katalozi-grid .katalog-card:nth-child(3) { transition-delay: 0.2s; }
.katalozi-grid .katalog-card:nth-child(4) { transition-delay: 0.3s; }
.katalozi-grid .katalog-card:nth-child(5) { transition-delay: 0.4s; }


/* ============================================================
   RESPONSIVE
   ============================================================ */

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

    .split-block__content {
        padding-left: 4rem;
    }

    .split-block__title {
        font-size: 1.6rem;
        max-width: 100%;
    }



}

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

    .hero-bottom__grid {
        grid-template-columns: 1fr;
    }

    .hero-bottom__text {
        padding-right: 0;
        padding-bottom: 2rem;
        order: 2;
    }

    .hero-bottom__box {
        order: 1;
    }

    .hero-bottom__text p {
        font-size: 1rem;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

}

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

    .hero {
        height: 26rem;
    }

    .katalozi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-bottom {
        margin-top: -4rem;
    }

    .hero-bottom__box h1 {
        font-size: 2rem;
    }

    .hero-bottom__text p {
        font-size: 1.1rem;
    }

    .split-block {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .split-block--top {
        grid-template-columns: 1fr;
    }

    .split-block__image {
        height: 20rem;
    }

    .split-block__content {
        padding: 3rem 4rem;
    }

    .oprema-slider-outer {
        padding-left: 4rem;
    }


}

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

    .topbar {
        display: none;
    }

    .hero {
        margin-top: 3.7rem;
        height: 20rem;
    }

    /* Mobile nav */
    .topnav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 4rem;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid var(--color-border);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
        padding: 0.5rem 0;
        z-index: 999;
    }

    .topnav.responsive {
        display: flex;
    }

    .katalozi-grid {
        grid-template-columns: 1fr;
    }

    .topnav a {
        padding: 0.85rem 3rem;
        display: block;
        border-bottom: 1px solid var(--color-border);
        font-size: 0.95rem;
    }

    .topnav a:last-child {
        border-bottom: none;
    }

    .topnav__burger {
        display: block;
    }

    .stats__number {
        font-size: 3.2rem;
    }

    .about-row {
        grid-template-columns: 1fr;
        gap: 0;
        min-height: 0;
        margin-bottom: 2.5rem;
    }

    .about-row__image {
        order: 1;
    }

    .about-row__content {
        order: 2;
    }

    .about-row__image-inner {
        height: 14rem;
    }

    .about-row--img-left .about-row__content,
    .about-row--img-right .about-row__content {
        padding: 2rem;
    }

    .about-banner {
        padding-top: 3rem;
    }

    .about-banner__text {
        font-size: 2rem;
        line-height: 2.4rem;
        margin-bottom: 2rem;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer__nav {
        grid-auto-flow: row;
        grid-auto-columns: unset;
        gap: 0.6rem;
    }

    .footer__bottom .maxwrapp {
        justify-content: center;
    }

}

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

    .hero {
        height: 14rem;
    }

    .stats__grid {
        grid-template-columns: 1fr;
    }

    .stats__item {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }

    .stats__item:last-child {
        border-bottom: none;
    }

    .hero-bottom__box h1 {
        font-size: 1.8rem;
    }

}

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

    .eu-banner__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
        justify-items: center;
    }

}