.u-page,
body {
    font-family: "Raleway", sans-serif;
    color: #111111;
}

.naslovsivi {
    background: #efefef;
    padding-top: 110px !important;
    padding-bottom: 70px !important;
    border-top: 1px solid #e5e5e5;
}

.title-text-main {
    margin: 0 0 22px 0;
    font-family: "Raleway", sans-serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.18;
    color: #111111;
}

.u-lead {
    max-width: 980px;
    margin: 0;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.42;
    color: #111111;
}

.u-hero {
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    background: #ffffff;
}

.u-hero img {
    display: block;
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.u-section {
    background: #efefef;
    padding: 42px 38px;
    border: 1px solid #e5e5e5;
}

.u-title {
    margin: 0 0 14px 0;
    font-size: 31px;
    font-weight: 600;
    line-height: 1.2;
    color: #111111;
}

.text-muted {
    color: #111111 !important;
    opacity: 0.78;
    font-size: 18px;
    line-height: 1.4;
}

.u-block {
    margin-bottom: 26px;
    padding: 28px 28px 22px;
    background: #ffffff;
    border: 1px solid #e7e7e7;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.u-block:last-child {
    margin-bottom: 0;
}

.u-block-head {
    margin-bottom: 18px;
}

.u-phase {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    background: #fb8c00;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    border-radius: 12px;
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.10);
}

.u-block-head h4,
.u-block-head .h6 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    color: #111111;
}

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

.u-list li {
    position: relative;
    margin: 0 0 14px 0;
    padding-left: 26px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.42;
    color: #111111;
}

.u-list li:last-child {
    margin-bottom: 0;
}

.u-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    color: #111111;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.u-inline-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.u-inline-list li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 16px;
    background: #efefef;
    border: 1px solid #e2e2e2;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    color: #111111;
    text-transform: uppercase;
}

.u-columns-lg {
    columns: 2;
    column-gap: 30px;
}

.u-columns-lg li {
    break-inside: avoid;
    page-break-inside: avoid;
}

.u-step {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 26px;
}

.u-step:last-child {
    margin-bottom: 0;
}

.u-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    background: #fb8c00;
    color: #ffffff;
    border-radius: 14px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.10);
}

.u-step-body {
    flex: 1 1 auto;
}

.u-step-title {
    margin: 2px 0 14px 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.24;
    color: #111111;
}

.d-flex.flex-wrap.gap-2.mt-2 {
    gap: 14px !important;
    margin-top: 26px !important;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    height: 62px;
    padding: 0 28px;
    border-radius: 16px;
    font-family: "Raleway", sans-serif;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.10);
}

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

.btn-dark {
    background: #fb8c00;
    border: 1px solid #fb8c00;
    color: #ffffff;
}

.btn-dark:hover,
.btn-dark:focus {
    background: #f57c00;
    border-color: #f57c00;
    color: #ffffff;
}

.btn-outline-secondary {
    background: #ffffff;
    border: 1px solid #d9d9d9;
    color: #111111;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    background: #f5f5f5;
    border-color: #d9d9d9;
    color: #111111;
}

.py-5 {
    padding-top: 4.2rem !important;
    padding-bottom: 4.2rem !important;
}

.g-5 {
    --bs-gutter-x: 2.6rem;
    --bs-gutter-y: 2.6rem;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mt-4 {
    margin-top: 2rem !important;
}

.shadow-sm {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04) !important;
}

@media (max-width: 1399px) {
    .title-text-main {
        font-size: 31px;
    }

    .u-lead {
        font-size: 18px;
    }

    .u-title {
        font-size: 28px;
    }

    .u-step-title {
        font-size: 22px;
    }
}

@media (max-width: 1199px) {
    .naslovsivi {
        padding-top: 56px !important;
        padding-bottom: 56px !important;
    }

    .u-section {
        padding: 32px 28px;
    }

    .u-block {
        padding: 24px 22px 20px;
    }

    .u-hero img {
        height: 420px;
    }

    .u-columns-lg {
        columns: 1;
    }
}

@media (max-width: 991px) {
    .title-text-main {
        font-size: 28px;
    }

    .u-lead {
        font-size: 17px;
    }

    .u-title {
        font-size: 25px;
    }

    .u-section {
        padding: 26px 22px;
    }

    .u-step {
        gap: 14px;
    }

    .u-step-num {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        font-size: 20px;
    }

    .u-step-title {
        font-size: 21px;
    }

    .u-list li {
        font-size: 17px;
    }

    .btn {
        min-width: 180px;
        height: 58px;
        font-size: 16px;
    }

    .u-hero img {
        height: 340px;
    }
}

@media (max-width: 767px) {
    .naslovsivi {
        padding-top: 42px !important;
        padding-bottom: 42px !important;
    }

    .title-text-main {
        font-size: 24px;
    }

    .u-lead {
        font-size: 16px;
        line-height: 1.5;
    }

    .u-section {
        padding: 22px 18px;
    }

    .u-title {
        font-size: 22px;
    }

    .u-block-head h4,
    .u-block-head .h6 {
        font-size: 20px;
    }

    .u-list li {
        font-size: 16px;
        padding-left: 24px;
    }

    .u-inline-list li {
        font-size: 14px;
        min-height: 42px;
    }

    .u-step {
        flex-direction: column;
        gap: 12px;
    }

    .u-step-title {
        font-size: 19px;
    }

    .btn {
        width: 100%;
        min-width: 100%;
    }

    .u-hero img {
        height: 270px;
    }
}

@media (max-width: 575px) {
    .title-text-main {
        font-size: 22px;
    }

    .u-phase {
        min-height: 40px;
        padding: 0 14px;
        font-size: 15px;
        border-radius: 10px;
    }

    .u-block {
        padding: 20px 16px 18px;
    }

    .u-list li {
        font-size: 15px;
    }

    .u-step-title {
        font-size: 18px;
    }

    .u-hero img {
        height: 220px;
    }
}
.u-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:24px}.u-video-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}.u-video-card video{display:block;width:100%;aspect-ratio:16/9;background:#111}.u-video-name{padding:12px 14px;font-weight:700}@media(max-width:767px){.u-video-grid{grid-template-columns:1fr}}

/* Faze gradnje - slika lijevo, opis desno */
.u-phase-gallery{display:flex;flex-direction:column;gap:28px;margin-top:28px;margin-bottom:30px}
.u-phase-card{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);background:#fff;border:1px solid #e7e7e7;box-shadow:0 6px 18px rgba(0,0,0,.05);overflow:hidden}
.u-phase-card__media{min-height:310px;background:#e9e9e9}
.u-phase-card__media img{display:block;width:100%;height:100%;min-height:310px;object-fit:cover}
.u-phase-card__body{padding:32px 34px;display:flex;flex-direction:column;justify-content:center}
.u-phase-card__body .u-phase{align-self:flex-start;margin-bottom:24px}
.u-phase-card__body .u-list li{font-size:17px;margin-bottom:12px}
.u-download-box{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:30px 0;padding:28px;background:#fff;border:1px solid #e7e7e7;box-shadow:0 6px 16px rgba(0,0,0,.04)}
.u-download-box h3{margin:4px 0 6px;font-size:24px;font-weight:700}
.u-download-box p{margin:0;color:#555}
@media(max-width:991px){.u-phase-card{grid-template-columns:1fr}.u-phase-card__media,.u-phase-card__media img{min-height:260px}.u-download-box{align-items:flex-start;flex-direction:column}}
@media(max-width:575px){.u-phase-card__body{padding:24px 20px}.u-phase-card__media,.u-phase-card__media img{min-height:210px}.u-download-box{padding:22px 18px}.u-download-box .btn{width:100%;min-width:0}}

/* 29.09.2026 - široki raspored Uputa: tipski projekti puni širinu, vlastiti projekti ispod */
.upute-layout-wide{
    display:flex;
    flex-direction:column;
    gap:42px;
}
.upute-layout-wide__main,
.upute-layout-wide__side{
    width:100%;
    max-width:none;
}
.upute-layout-wide__side .u-section{
    margin-bottom:0 !important;
}
.upute-layout-wide__side .u-section__top{
    max-width:980px;
}
.upute-layout-wide__side .u-block{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:28px;
    align-items:start;
}
.upute-layout-wide__side .u-block .u-step{
    margin:0;
}
.upute-layout-wide__side .u-block .d-flex{
    grid-column:1 / -1;
}
.upute-layout-wide__side .u-block--accent{
    display:block;
}
.upute-layout-wide .u-phase-card{
    grid-template-columns:minmax(0,1.25fr) minmax(420px,.75fr);
}
.upute-layout-wide .u-phase-card__media,
.upute-layout-wide .u-phase-card__media img{
    min-height:380px;
}
@media(max-width:1199px){
    .upute-layout-wide .u-phase-card{
        grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);
    }
}
@media(max-width:991px){
    .upute-layout-wide__side .u-block{
        grid-template-columns:1fr;
    }
    .upute-layout-wide__side .u-block .d-flex{
        grid-column:auto;
    }
    .upute-layout-wide .u-phase-card{
        grid-template-columns:1fr;
    }
    .upute-layout-wide .u-phase-card__media,
    .upute-layout-wide .u-phase-card__media img{
        min-height:280px;
    }
}

/* 14.10.2026 - faze: samo čiste slike + zig-zag raspored lijevo/desno */
@media (min-width: 992px){
  .u-phase-gallery .u-phase-card:nth-child(even) .u-phase-card__media{
    order:2;
  }
  .u-phase-gallery .u-phase-card:nth-child(even) .u-phase-card__body{
    order:1;
  }
}
.u-phase-card__media{
  overflow:hidden;
}
.u-phase-card__media img{
  object-fit:cover;
  object-position:center;
}
@media (max-width: 991px){
  .u-phase-gallery .u-phase-card .u-phase-card__media,
  .u-phase-gallery .u-phase-card .u-phase-card__body{
    order:initial;
  }
}

/* 14.10.2026 - sprijeci izlazak slika izvan hero/sekcija */
.upute-page,
.upute-hero,
.upute-main {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}
.upute-hero .container,
.upute-hero .row,
.upute-hero [class*="col-"] {
    min-width: 0;
}
.upute-hero__image {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    background: #fff;
}
.upute-hero__image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 390px;
    object-fit: cover;
    object-position: center;
}
.u-phase-card,
.u-phase-card__media,
.u-phase-card__body {
    min-width: 0;
    max-width: 100%;
}
.u-phase-card__media img {
    width: 100%;
    max-width: 100%;
}
@media (max-width: 991px) {
    .upute-hero__image { margin-top: 28px; }
    .upute-hero__image img { height: 320px; }
}
@media (max-width: 575px) {
    .upute-hero__image img { height: 230px; }
}
