:root {
    --ps-blue: #07638f;
    --ps-ink: #111111;
    --ps-paper: #faf8eb;
    --ps-white: #ffffff;
    --ps-line: rgba(17, 17, 17, 0.15);

    --ps-sans: Arial, Helvetica, sans-serif;
    --ps-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

/* HEADER */

.public-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid transparent;
    background: transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.public-header.is-scrolled {
    position: sticky;
    border-color: rgba(17, 17, 17, 0.15);
    background: rgba(250, 249, 234, 0.85);
    backdrop-filter: blur(14px);
}

.public-header-inner {
    display: grid;
    grid-template-columns: minmax(230px, 1fr) auto minmax(230px, 1fr);
    align-items: center;
    gap: clamp(20px, 3vw, 48px);
    min-height: 92px;
}

.public-brand {
    display: inline-flex;
    flex-direction: column;
    width: max-content;
    color: var(--ps-ink);
    text-decoration: none;
}

.public-brand-name {
    display: inline-block;
    color: var(--ps-ink);
    font-family: var(--ps-sans);
    font-size: clamp(1.55rem, 2.2vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.075em;
    line-height: 0.9;
    white-space: nowrap;
}

.public-brand-name > span {
    color: var(--ps-blue);
}

.public-brand small {
    margin-top: 8px;
    color: var(--ps-ink);
    font-family: var(--ps-mono);
    font-size: 0.54rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
}

.public-nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

.public-nav a {
    position: relative;
    padding: 10px clamp(14px, 1.3vw, 22px);
    color: var(--ps-ink);
    font-family: var(--ps-mono);
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.public-nav a + a::before {
    position: absolute;
    top: 7px;
    left: 0;
    width: 2px;
    height: 18px;
    background: var(--ps-blue);
    content: "";
    transform: skewX(-25deg);
}

.public-nav a::after {
    position: absolute;
    right: clamp(14px, 1.3vw, 22px);
    bottom: 0;
    left: clamp(14px, 1.3vw, 22px);
    height: 1px;
    background: var(--ps-blue);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.28s ease;
}

.public-nav a:hover::after,
.public-nav a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

.language-switcher {
    display: flex;
    gap: 6px;
    color: rgba(17, 17, 17, 0.48);
    font-family: var(--ps-mono);
    font-size: 0.88rem;
    font-weight: 700;
}

.language-switcher a {
    color: inherit;
    text-decoration: none;
}

.language-switcher a.active {
    color: var(--ps-blue);
}

.header-login {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 14px 16px 14px 18px;
    border: 1px solid var(--ps-ink);
    border-radius: 0;
    background: var(--ps-ink);
    color: var(--ps-white);
    font-family: var(--ps-mono);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 0.28s ease, background-color 0.28s ease;
}

.header-login svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    transition: transform 0.28s ease;
}

.header-login:hover,
.header-login:focus-visible {
    background: var(--ps-blue);
    transform: translateY(-2px);
}

.header-login:hover svg,
.header-login:focus-visible svg {
    transform: translateX(3px);
}

.public-menu-toggle {
    display: none;
}

/* HERO */

.hero {
    position: relative;
    isolation: isolate;
    min-height: 810px;
    margin-top: -92px;
    padding: 190px 0 88px;
    overflow: hidden;
    background:
        linear-gradient(
            90deg,
            rgba(250, 248, 235, 0.98) 0%,
            rgba(250, 248, 235, 0.90) 42%,
            rgba(250, 248, 235, 0.22) 100%
        ),
        url("/assets/images/nk.jpg") center / cover no-repeat;
}

.hero::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: radial-gradient(
        rgba(17, 17, 17, 0.16) 0.7px,
        transparent 0.7px
    );
    background-position: 55% 44%;
    background-size: 10px 10px;
    content: "";
    opacity: 0.78;
    mask-image: linear-gradient(#07638f
        90deg,
        transparent 0%,
        rgba(0, 0, 0, 0.2) 26%,
        #000 53%,
        transparent 100%
    );
}

.hero-grid--final {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
    align-items: center;
    gap: clamp(20px, 4vw, 70px);
}

.hero-copy {
    animation: ps-lift-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero .eyebrow {
    color: var(--ps-ink);
    font-family: var(--ps-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.hero h1 {
    max-width: 680px;
    color: var(--ps-ink);
    font-family: var(--ps-sans);
    font-size: clamp(2.7rem, 4.8vw, 4.8rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.03;
}

.hero-title-line {
    width: 52px;
    height: 2px;
    margin: 30px 0 24px;
    background: var(--ps-blue);
    animation: ps-line-in 0.7s 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;
    transform-origin: left;
}

.hero-text {
    max-width: 540px;
    color: #282828;
    font-family: var(--ps-mono);
    font-size: 1rem;
    line-height: 1.7;
}

.hero-actions {
    margin-top: 34px;
}

.hero .primary-button {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 17px 21px;
    border: 1px solid var(--ps-ink);
    border-radius: 0;
    background: var(--ps-ink);
    color: var(--ps-white);
    font-family: var(--ps-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform 0.28s ease, background-color 0.28s ease;
}

.hero .primary-button:hover {
    background: var(--ps-blue);
    transform: translateY(-3px);
}

.hero .primary-button span {
    font-size: 1rem;
    transition: transform 0.28s ease;
}

.hero .primary-button:hover span {
    transform: translateX(4px);
}

.hero .text-link {
    color: var(--ps-ink);
    font-family: var(--ps-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-visual {
    position: relative;
    min-height: 610px;
    margin: 0;
    animation: ps-lift-in 0.9s 0.12s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-visual > img {
    position: absolute;
    right: -4%;
    bottom: -12%;
    display: block;
    width: min(930px, 126%);
    height: auto;
    max-height: 800px;
    object-fit: contain;
    object-position: right bottom;
}

.hero-visual-card {
    position: absolute;
    right: 2%;
    bottom: -2%;
    z-index: 2;
    width: min(270px, 48%);
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(17, 17, 17, 0.92);
    color: #ffffff;
}

.hero-card-label {
    color: #8ecbff;
    font-family: var(--ps-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
}

.hero-card-title {
    font-family: var(--ps-sans);
    font-size: 1.25rem;
}

.hero-card-line {
    background: var(--ps-blue);
}

.hero-visual-card .muted-light {
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--ps-mono);
    font-size: 0.72rem;
}

@keyframes ps-lift-in {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ps-line-in {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@media (max-width: 980px) {
    .public-header-inner {
        grid-template-columns: 1fr auto;
        gap: 14px;
        min-height: 0;
        padding: 17px 0;
    }

    .public-menu-toggle {
        display: grid;
        gap: 5px;
        width: 34px;
        padding: 8px 0;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .public-menu-toggle span {
        display: block;
        height: 1px;
        background: var(--ps-ink);
        transition: transform 0.3s ease;
    }

    .public-menu-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(3px) rotate(45deg);
    }

    .public-menu-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-3px) rotate(-45deg);
    }

    .public-nav {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: max-height 0.35s ease, opacity 0.2s ease, transform 0.35s ease;
    }

    .public-nav[data-open="true"] {
        max-height: 250px;
        padding: 12px 0 16px;
        border-bottom: 1px solid var(--ps-line);
        opacity: 1;
        transform: translateY(0);
    }

    .public-nav a {
        padding: 11px 0;
    }

    .public-nav a + a::before {
        display: none;
    }

    .header-actions {
        grid-column: 1 / -1;
        justify-content: space-between;
    }

    .hero {
        min-height: 0;
        padding: 150px 0 72px;
    }

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

    .hero-visual {
        min-height: 500px;
    }
}

@media (max-width: 560px) {
    .public-brand-name {
        font-size: 1.55rem;
    }

    .public-brand small {
        font-size: 0.46rem;
    }

    .header-login {
        padding: 13px 14px;
        font-size: 0.59rem;
    }

    .hero h1 {
        font-size: clamp(3.1rem, 16vw, 4.4rem);
    }

    .hero-visual {
        min-height: 390px;
    }

    .hero-visual > img {
        right: -12%;
        bottom: -2%;
        width: 122%;
        max-height: 480px;
    }

    .hero-visual-card {
        right: 0;
        bottom: -4%;
        width: 72%;
        padding: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .public-header,
    .public-nav,
    .public-nav a::after,
    .public-menu-toggle span,
    .header-login,
    .header-login svg,
    .hero-copy,
    .hero-visual,
    .hero-title-line {
        animation: none;
        transition-duration: 0.01ms;
    }
}
.public-brand {
    color: #111111 !important;
}

.public-brand-name {
    color: #111111 !important;
    white-space: nowrap;
}

.public-brand-name > span {
    color: #07638f !important;
    background: none !important;
    -webkit-text-fill-color: ##07638f !important;
}
.hero-visual > img {
    transform-origin: center;
    animation: ps-hydraulic-spin 3.2s 0.35s both;
}

@keyframes ps-hydraulic-spin {
    0% {
        transform: rotate(0deg);
        animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1);
    }

    30% {
        transform: rotate(-12deg);
        animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1);
    }

    65% {
        transform: rotate(8deg);
        animation-timing-function: cubic-bezier(0.2, 0, 0.2, 1);
    }

    100% {
        transform: rotate(0deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-visual > img {
        animation: none;
    }
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.inquiry-dialog {
    width: min(1280px, calc(100% - 36px));
    max-width: none;
    max-height: min(860px, calc(100dvh - 36px));
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 26px;
    background: rgba(250, 248, 235, 0.96);
    box-shadow: 0 35px 110px rgba(0, 0, 0, 0.34);
    color: var(--ps-ink);
}

.inquiry-dialog::backdrop {
    background: rgba(9, 14, 11, 0.6);
    backdrop-filter: blur(8px);
}

.inquiry-dialog[open] {
    animation: inquiry-open 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.inquiry-dialog.is-closing {
    animation: inquiry-close 0.26s ease both;
}

.inquiry-modal {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(350px, 0.65fr);
    min-height: 680px;
    background:
        radial-gradient(rgba(3, 111, 63, 0.09) 0.7px, transparent 0.7px),
        rgba(250, 248, 235, 0.96);
    background-size: 10px 10px;
}

.inquiry-close {
    position: absolute;
    top: 22px;
    right: 26px;
    z-index: 5;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: var(--ps-ink);
    font-size: 2.7rem;
    font-weight: 200;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.25s ease;
}

.inquiry-close:hover {
    color: var(--ps-blue);
    transform: rotate(90deg);
}

.inquiry-main {
    padding: clamp(54px, 6vw, 90px);
}

.inquiry-kicker {
    margin: 0 0 35px;
    color: var(--ps-blue);
    font-family: var(--ps-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.inquiry-form-view,
.inquiry-success-view {
    height: 100%;
}

.inquiry-success-view {
    display: none;
    max-width: 600px;
}

.inquiry-dialog.is-success .inquiry-form-view {
    display: none;
}

.inquiry-dialog.is-success .inquiry-success-view {
    display: block;
    animation: inquiry-lift 0.45s ease both;
}

.inquiry-success-view h2 {
    margin: 0;
    color: var(--ps-ink);
    font-family: var(--ps-sans);
    font-size: clamp(3rem, 5vw, 5.2rem);
    letter-spacing: -0.08em;
    line-height: 0.9;
}

.inquiry-success-view p {
    max-width: 430px;
    margin: 26px 0 34px;
    font-family: var(--ps-mono);
    line-height: 1.7;
}

.inquiry-form {
    display: grid;
    gap: 30px;
}

.inquiry-sentence {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px 14px;
    margin: 0;
    color: var(--ps-ink);
    font-family: var(--ps-sans);
    font-size: clamp(1.8rem, 3.3vw, 3.65rem);
    letter-spacing: -0.06em;
    line-height: 1.2;
}

.inquiry-sentence label {
    display: inline-flex;
    width: min(100%, 330px);
}

.inquiry-sentence input,
.inquiry-sentence select {
    width: 100%;
    padding: 0 0 8px;
    border: 0;
    border-bottom: 2px solid rgba(17, 17, 17, 0.24);
    border-radius: 0;
    outline: 0;
    background: transparent;
    color: var(--ps-ink);
    font: inherit;
    transition: border-color 0.2s ease;
}

.inquiry-sentence select {
    color: rgba(17, 17, 17, 0.5);
    cursor: pointer;
}

.inquiry-sentence input::placeholder,
.inquiry-description textarea::placeholder {
    color: rgba(17, 17, 17, 0.32);
}

.inquiry-sentence input:focus,
.inquiry-sentence select:focus,
.inquiry-description textarea:focus {
    border-color: var(--ps-blue);
}

.inquiry-description {
    display: grid;
    gap: 12px;
    max-width: 760px;
}

.inquiry-description > span {
    color: var(--ps-ink);
    font-family: var(--ps-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.inquiry-description textarea {
    width: 100%;
    min-height: 86px;
    padding: 8px 0;
    border: 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.28);
    border-radius: 0;
    outline: 0;
    background: transparent;
    color: var(--ps-ink);
    font-family: var(--ps-mono);
    font-size: 0.95rem;
    line-height: 1.6;
    resize: vertical;
}

.inquiry-sentence--contact {
    font-size: clamp(1.55rem, 2.8vw, 2.8rem);
}

.inquiry-sentence--contact label {
    width: min(100%, 300px);
}

.inquiry-submit {
    display: inline-flex;
    justify-self: start;
    align-items: center;
    gap: 18px;
    margin-top: 8px;
    padding: 17px 23px;
    border: 1px solid var(--ps-ink);
    border-radius: 0;
    background: var(--ps-ink);
    color: #fff;
    font-family: var(--ps-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.inquiry-submit:hover {
    background: var(--ps-blue);
    transform: translateY(-3px);
}

.inquiry-response-note {
    margin: 0;
    color: rgba(17, 17, 17, 0.55);
    font-family: var(--ps-mono);
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.inquiry-side {
    position: relative;
    overflow: hidden;
    background: #111;
    color: #fff;
}

.inquiry-side::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.03) 25%,
        rgba(0, 0, 0, 0.94) 100%
    );
    content: "";
}

.inquiry-side img {
    position: absolute;
    top: 3%;
    right: -12%;
    width: 118%;
    height: 68%;
    object-fit: contain;
    object-position: center top;
}

.inquiry-side-content {
    position: absolute;
    right: 36px;
    bottom: 38px;
    left: 36px;
    z-index: 1;
}

.inquiry-side-content .inquiry-kicker {
    margin-bottom: 18px;
    color: #8fe2bd;
}

.inquiry-side-content h3 {
    margin: 0 0 18px;
    color: #fff;
    font-family: var(--ps-sans);
    font-size: 1.8rem;
    letter-spacing: -0.05em;
    line-height: 1;
}

.inquiry-side-content p {
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--ps-mono);
    font-size: 0.76rem;
    line-height: 1.7;
}

.inquiry-side-content a {
    display: inline-block;
    margin-top: 12px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-family: var(--ps-mono);
    font-size: 0.76rem;
    text-decoration: none;
}

@keyframes inquiry-open {
    from {
        opacity: 0;
        transform: translateY(34px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes inquiry-close {
    to {
        opacity: 0;
        transform: translateY(22px) scale(0.985);
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .inquiry-dialog {
        width: min(100% - 22px, 680px);
        max-height: calc(100dvh - 22px);
        border-radius: 18px;
    }

    .inquiry-modal {
        grid-template-columns: 1fr;
        overflow-y: auto;
    }

    .inquiry-main {
        padding: 64px 28px 38px;
    }

    .inquiry-side {
        min-height: 340px;
    }
}

@media (max-width: 560px) {
    .inquiry-sentence {
        font-size: 2rem;
    }

    .inquiry-sentence--contact {
        font-size: 1.8rem;
    }

    .inquiry-sentence label,
    .inquiry-sentence--contact label {
        width: 100%;
    }

    .inquiry-side-content {
        right: 26px;
        bottom: 28px;
        left: 26px;
    }
}
/* POPUP SIZE / OVERFLOW FIX */

.inquiry-dialog {
    max-height: calc(100dvh - 36px);
    overflow-y: auto;
}

.inquiry-modal {
    min-height: 0;
}

.inquiry-main {
    min-width: 0;
    padding: clamp(42px, 4.5vw, 68px);
}

.inquiry-kicker {
    margin-bottom: 24px;
}

.inquiry-form {
    gap: 22px;
}

.inquiry-sentence {
    gap: 10px 12px;
    font-size: clamp(1.5rem, 2.6vw, 3rem);
    line-height: 1.13;
}

.inquiry-sentence label {
    width: min(100%, 285px);
}

.inquiry-sentence--contact {
    font-size: clamp(1.35rem, 2.2vw, 2.35rem);
}

.inquiry-sentence--contact label {
    width: min(100%, 270px);
}

.inquiry-description {
    gap: 9px;
}

.inquiry-description textarea {
    min-height: 62px;
}

.inquiry-response-note {
    font-size: 0.56rem;
}

.inquiry-side-content {
    right: 30px;
    bottom: 28px;
    left: 30px;
}

.inquiry-side-content h3 {
    font-size: 1.45rem;
    line-height: 1.05;
}
/* USLUGE */

#usluge {
    background: #faf9ea;
    color: #111111;
}

#usluge .service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: 56px;
}

#usluge .service-card {
    min-width: 0;
    min-height: 0;
    padding: 8px clamp(22px, 3vw, 48px) 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

#usluge .service-card:first-child {
    padding-left: 0;
}

#usluge .service-card:last-child {
    padding-right: 0;
}

#usluge .service-card + .service-card {
    border-left: 1px solid rgba(17, 17, 17, 0.28);
}

/* SVG IKONE */

#usluge .service-icon {
    display: block;
    width: 54px;
    height: 54px;
    margin-bottom: 28px;
    color: #111111;
    transform-origin: center;
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        color 0.3s ease;
}

/* TEKST */

#usluge .service-card h3 {
    margin: 0 0 16px;
    color: #111111;
    font-family: var(--ps-mono, monospace);
    font-size: clamp(1rem, 1.35vw, 1.25rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

#usluge .service-card p {
    margin: 0;
    color: #333333;
    font-family: var(--ps-mono, monospace);
    font-size: 0.88rem;
    line-height: 1.75;
}

/* BLAG POKRET IKONE */

@media (hover: hover) {
    #usluge .service-card:hover .service-icon {
        color: #07638f;
        transform: translateY(-5px) rotate(-3deg);
    }
}

/* POJAVLJIVANJE PRI SKROLOVANJU */

#usluge .service-card.is-revealing {
    animation: ps-service-reveal 0.75s
        cubic-bezier(0.22, 1, 0.36, 1) both;
}

#usluge .service-card:nth-child(2) {
    animation-delay: 0.12s;
}

#usluge .service-card:nth-child(3) {
    animation-delay: 0.24s;
}

#usluge .service-card:nth-child(4) {
    animation-delay: 0.36s;
}

@keyframes ps-service-reveal {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TABLET — DVA BLOKA U REDU */

@media (max-width: 980px) {
    #usluge .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 40px;
    }

    #usluge .service-card:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }

    #usluge .service-card:nth-child(even) {
        padding-right: 0;
    }
}

/* TELEFON — BLOKOVI JEDAN ISPOD DRUGOG */

@media (max-width: 560px) {
    #usluge .service-grid {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 36px;
    }

    #usluge .service-card {
        padding: 28px 0;
    }

    #usluge .service-card + .service-card {
        border-left: 0;
        border-top: 1px solid rgba(17, 17, 17, 0.22);
    }

    #usluge .service-icon {
        width: 46px;
        height: 46px;
        margin-bottom: 20px;
    }
}

/* SMANJENE ANIMACIJE */

@media (prefers-reduced-motion: reduce) {
    #usluge .service-card.is-revealing {
        animation: none;
    }

    #usluge .service-card .service-icon {
        transition: none;
        transform: none;
    }
}
/* PROCES — SLIKA LEVO, SADRŽAJ DESNO */

#proces {
    padding: clamp(64px, 8vw, 120px) 0;
    background: #f0f4d0;
    color: #111111;
}

#proces .process-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(36px, 6vw, 96px);
}

/* SLIKA */

#proces .process-visual {
    min-width: 0;
}

#proces .process-visual img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

/* NASLOV */

#proces .process-content {
    min-width: 0;
}

#proces .eyebrow {
    margin: 0 0 20px;
    color: #07638f;
    font-family: var(--ps-mono, monospace);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

#proces h2 {
    max-width: 650px;
    margin: 0;
    color: #111111;
    font-family: var(--ps-sans, Arial, sans-serif);
    font-size: clamp(2rem, 3.4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.05em;
}

/* KORACI */

#proces .process-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: none;
    margin: 38px 0 0;
    padding: 0;
    list-style: none;
}

#proces .process-list > li {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    align-items: start;
    gap: 24px;
    margin: 0;
    padding: 26px 0;
    border: 0;
    border-top: 1px solid rgba(17, 17, 17, 0.22);
    background: transparent;
}

#proces .process-list > li:last-child {
    padding-bottom: 0;
}

/* VELIKI BROJEVI U TAČKASTOM RASTERU */

#proces .process-number {
    display: block;
    padding: 0;
    color: #111111;
    font-family: var(--ps-mono, monospace);
    font-size: 76px;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.08em;
    font-variant-numeric: tabular-nums;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
    #proces .process-number {
        background-image: radial-gradient(
            circle,
            #111111 1.15px,
            transparent 1.35px
        );
        background-size: 4px 4px;
        background-position: center;
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }
}

/* TEKST UZ BROJ */

#proces .process-step-text {
    min-width: 0;
    padding-top: 3px;
}

#proces .process-step-text h3 {
    margin: 0 0 10px;
    color: #111111;
    font-family: var(--ps-mono, monospace);
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

#proces .process-step-text p {
    margin: 0;
    color: #333333;
    font-family: var(--ps-mono, monospace);
    font-size: 0.88rem;
    line-height: 1.75;
}

/* BLAG POKRET BROJA */

@media (hover: hover) {
    #proces .process-list > li:hover .process-number {
        transform: translateX(4px);
    }
}

/* TABLET */

@media (max-width: 980px) {
    #proces .process-layout {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
        gap: 32px;
    }

    #proces .process-list > li {
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 18px;
    }

    #proces .process-number {
        font-size: 62px;
    }
}

/* TELEFON — SLIKA IZNAD SADRŽAJA */

@media (max-width: 700px) {
    #proces .process-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    #proces .process-visual {
        width: 100%;
        max-width: 460px;
        margin: 0 auto;
    }

    #proces .process-visual img {
        max-height: 380px;
    }

    #proces h2 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    #proces .process-list {
        margin-top: 30px;
    }

    #proces .process-list > li {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 16px;
        padding: 24px 0;
    }

    #proces .process-number {
        font-size: 58px;
    }

    #proces .process-step-text p {
        font-size: 0.84rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    #proces .process-list > li .process-number {
        transition: none;
        transform: none;
    }
}

@media (forced-colors: active) {
    #proces .process-number {
        background: none;
        color: CanvasText;
        -webkit-text-fill-color: CanvasText;
    }
}
/* SLIKA PRATI CELU VISINU DESNOG SADRŽAJA */

#proces .process-layout {
    align-items: stretch;
}

#proces .process-visual {
    position: relative;
    align-self: stretch;
    min-height: 0;
}

#proces .process-visual img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    margin: 0;
    object-fit: cover;
    object-position: center;
}

/* NA TELEFONU SLIKA OSTAJE IZNAD TEKSTA */

@media (max-width: 700px) {
    #proces .process-visual {
        max-width: none;
    }

    #proces .process-visual img {
        position: static;
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
    }
}
/* O MENI — VIDEO POZADINA */

#o-meni {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(80px, 10vw, 150px) 0;
    background: #101410;
    color: #faf9ea;
}

/* VIDEO PREKO CELE SEKCIJE */

#o-meni .about-background-video {
    position: absolute;
    inset: 0;
    z-index: -3;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

/* TAMNI SLOJ ZA ČITLJIVOST */

#o-meni::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.62) 55%,
        rgba(0, 0, 0, 0.70) 100%
    );
    content: "";
    pointer-events: none;
}

/* SITNE CRNE TAČKE PREKO VIDEA */

#o-meni::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(
        circle,
        rgba(0, 0, 0, 0.85) 1px,
        transparent 1.3px
    );
    background-size: 5px 5px;
    content: "";
    pointer-events: none;
}

/* SADRŽAJ */

#o-meni .about-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(36px, 7vw, 110px);
}

#o-meni .about-grid > div {
    min-width: 0;
}

#o-meni .eyebrow {
    margin: 0 0 22px;
    color: #d5e7b8;
    font-family: var(--ps-mono, monospace);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

#o-meni h2 {
    max-width: 650px;
    margin: 0;
    color: #faf9ea;
    font-family: var(--ps-sans, Arial, sans-serif);
    font-size: clamp(2.2rem, 4vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.05em;
}

#o-meni .about-text {
    max-width: 600px;
}

#o-meni .about-text p {
    margin: 0 0 24px;
    color: #e5e5dc;
    font-family: var(--ps-mono, monospace);
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    line-height: 1.85;
}

/* LINK */

#o-meni .text-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-top: 12px;
    padding: 0 0 12px;
    border-bottom: 1px solid rgba(250, 249, 234, 0.55);
    color: #faf9ea;
    font-family: var(--ps-mono, monospace);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.25s ease, border-color 0.25s ease;
}

#o-meni .text-link span {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

#o-meni .text-link:hover,
#o-meni .text-link:focus-visible {
    border-color: #d5e7b8;
    color: #d5e7b8;
}

#o-meni .text-link:hover span {
    transform: translate(3px, -3px);
}

#o-meni .text-link:focus-visible {
    outline: 2px solid #d5e7b8;
    outline-offset: 6px;
}

/* TELEFON */

@media (max-width: 700px) {
    #o-meni .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    #o-meni .about-text {
        max-width: none;
    }

    #o-meni::before {
        background: rgba(0, 0, 0, 0.72);
    }
}

/* SMANJENO KRETANJE */

@media (prefers-reduced-motion: reduce) {
    #o-meni .about-background-video {
        display: none;
    }

    #o-meni .text-link,
    #o-meni .text-link span {
        transition: none;
        transform: none;
    }
}
/* MANJE PRAZNOG PROSTORA U SEKCIJI PROCES */

#proces {
    padding-top: 36px;
    padding-bottom: 36px;
}

@media (max-width: 700px) {
    #proces {
        padding-top: 28px;
        padding-bottom: 28px;
    }
}
/* KONTAKT — CRNA POZADINA, SLIKA DESNO */

#kontakt {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(56px, 7vw, 100px) 0;
    background: #080808;
    color: #faf9ea;
}

/* RASPORED */

#kontakt .contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(32px, 6vw, 88px);
}

#kontakt .contact-content {
    display: block;
    min-width: 0;
    width: 100%;
    max-width: 620px;
    margin: 0;
    padding: 16px 0;
    text-align: left;
}

/* TEKST */

#kontakt .eyebrow {
    margin: 0 0 22px;
    color: #017db8;
    font-family: var(--ps-mono, monospace);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

#kontakt h2 {
    max-width: 620px;
    margin: 0;
    color: #faf9ea;
    font-family: var(--ps-sans, Arial, sans-serif);
    font-size: clamp(2.4rem, 4.6vw, 4.8rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.055em;
}

#kontakt .contact-title-line {
    width: 56px;
    height: 2px;
    margin: 28px 0;
    background: #07638f;
}

#kontakt .contact-description {
    max-width: 470px;
    margin: 0 0 32px;
    color: #c9c9bf;
    font-family: var(--ps-mono, monospace);
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    line-height: 1.8;
}

/* DUGME ZA POSTOJEĆI POPUP */

#kontakt .primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    max-width: 100%;
    margin: 0;
    padding: 18px 24px;
    border: 1px solid #faf9ea;
    border-radius: 0;
    background: #faf9ea;
    box-shadow: none;
    color: #111111;
    font-family: var(--ps-mono, monospace);
    font-size: 0.73rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.3s ease;
}

#kontakt .primary-button span {
    flex-shrink: 0;
    font-size: 1.3rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

#kontakt .primary-button:hover,
#kontakt .primary-button:focus-visible {
    border-color: #07638f;
    background: #07638f;
    color: #ffffff;
}

#kontakt .primary-button:hover {
    transform: translateY(-3px);
}

#kontakt .primary-button:hover span {
    transform: translate(3px, -3px);
}

#kontakt .primary-button:focus-visible {
    outline: 2px solid #faf9ea;
    outline-offset: 5px;
}

/* SLIKA */

#kontakt .contact-visual {
    min-width: 0;
    width: 100%;
}

#kontakt .contact-visual img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 660px;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
}

/* TELEFON */

@media (max-width: 700px) {
    #kontakt .contact-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    #kontakt .contact-content {
        max-width: none;
        padding: 0;
    }

    #kontakt h2 {
        font-size: clamp(2.4rem, 10vw, 3.6rem);
    }

    #kontakt .contact-description {
        max-width: none;
    }

    #kontakt .contact-visual {
        max-width: 480px;
        margin: 0 auto;
    }

    #kontakt .contact-visual img {
        max-height: 440px;
    }
}

/* SMANJENO KRETANJE */

@media (prefers-reduced-motion: reduce) {
    #kontakt .primary-button,
    #kontakt .primary-button span {
        transition: none;
        transform: none;
    }
}
#kontakt {
    padding: 32px 0;
}

@media (max-width: 700px) {
    #kontakt {
        padding: 24px 0;
    }
}
/* FOOTER — CRNA POZADINA I APSTRAKTNA ANIMACIJA */

#site-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(48px, 6vw, 80px) 0 24px;
    border: 0;
    background: #080a09;
    color: #ffffff;
}

/* SVETLIJA ANIMIRANA POZADINA */

#site-footer::before {
    position: absolute;
    inset: -15%;
    z-index: -2;
    background:
        radial-gradient(
            ellipse at 18% 28%,
            rgba(188, 215, 170, 0.16),
            transparent 42%
        ),
        radial-gradient(
            ellipse at 78% 65%,
            rgba(224, 231, 215, 0.1),
            transparent 40%
        ),
        radial-gradient(
            ellipse at 60% 12%,
            rgba(3, 111, 63, 0.2),
            transparent 38%
        );
    content: "";
    pointer-events: none;
    animation: ps-footer-atmosphere 24s ease-in-out infinite alternate;
}

/* DISKRETNE DIJAGONALNE LINIJE */

#site-footer::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        repeating-linear-gradient(
            125deg,
            transparent 0,
            transparent 78px,
            rgba(235, 242, 225, 0.035) 79px,
            transparent 80px
        ),
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.12),
            rgba(0, 0, 0, 0.48)
        );
    content: "";
    pointer-events: none;
}

@keyframes ps-footer-atmosphere {
    0% {
        transform: translate3d(-2%, 0, 0) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translate3d(2%, 3%, 0) scale(1.05);
        opacity: 1;
    }

    100% {
        transform: translate3d(3%, -2%, 0) scale(1.02);
        opacity: 0.8;
    }
}

/* GORNJI RED */

#site-footer .footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

#site-footer .footer-brand {
    color: #ffffff;
    font-family: var(--ps-sans, Arial, sans-serif);
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.075em;
    text-decoration: none;
}

#site-footer .footer-brand span {
    color: #07638f;
}

#site-footer .footer-tagline {
    margin: 0;
    color: #d5d9d2;
    font-family: var(--ps-mono, monospace);
    font-size: 0.75rem;
    line-height: 1.7;
    text-align: right;
}

/* GLAVNI SADRŽAJ */

#site-footer .footer-information {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
    align-items: start;
    gap: clamp(36px, 7vw, 110px);
    padding: 48px 0;
}

#site-footer .footer-intro,
#site-footer .footer-notes {
    min-width: 0;
}

#site-footer .footer-kicker {
    margin: 0 0 20px;
    color: #a3aad6;
    font-family: var(--ps-mono, monospace);
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.12em;
}

#site-footer .footer-intro h2 {
    margin: 0 0 24px;
    color: #ffffff;
    font-family: var(--ps-sans, Arial, sans-serif);
    font-size: clamp(2rem, 3.2vw, 3.3rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.05em;
}

#site-footer .footer-intro > p:last-child {
    max-width: 390px;
    margin: 0;
    color: #d5d9d2;
    font-family: var(--ps-mono, monospace);
    font-size: 0.85rem;
    line-height: 1.85;
}

/* TEKST O PRIVATNOSTI I SIGURNOSTI */

#site-footer .footer-notes {
    display: grid;
    gap: 24px;
}

#site-footer .footer-note + .footer-note {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

#site-footer .footer-note h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-family: var(--ps-mono, monospace);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

#site-footer .footer-note p {
    margin: 0;
    color: #d5d9d2;
    font-family: var(--ps-mono, monospace);
    font-size: 0.8rem;
    line-height: 1.85;
}

#site-footer .footer-note a {
    color: #e0edcf;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    overflow-wrap: anywhere;
}

/* DONJI RED */

#site-footer .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

#site-footer .footer-bottom > p {
    margin: 0;
    color: #c2c8be;
    font-family: var(--ps-mono, monospace);
    font-size: 0.68rem;
    line-height: 1.7;
}

#site-footer .footer-bottom-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 26px;
}

#site-footer .footer-bottom-links a {
    color: #ffffff;
    font-family: var(--ps-mono, monospace);
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: 0.06em;
    text-decoration: none;
}

#site-footer a {
    transition: color 0.25s ease;
}

#site-footer a:hover {
    color: #a4a3d6;
}

#site-footer a:focus-visible {
    outline: 2px solid #a4a3d6;
    outline-offset: 5px;
}

/* TELEFON */

@media (max-width: 700px) {
    #site-footer .footer-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    #site-footer .footer-tagline {
        text-align: left;
    }

    #site-footer .footer-information {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 36px 0;
    }

    #site-footer .footer-intro > p:last-child {
        max-width: none;
    }

    #site-footer .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* SMANJENO KRETANJE */

@media (prefers-reduced-motion: reduce) {
    #site-footer::before {
        animation: none;
    }

    #site-footer a {
        transition: none;
    }
}
#site-footer {
    background: #080808;
}

#site-footer::before,
#site-footer::after {
    content: none;
    animation: none;
}
/* BLAGO POJAVLJIVANJE SLIKA */

.ps-image-reveal {
    opacity: 0;
    transition: opacity 1s ease;
}

.ps-image-reveal.ps-image-ready {
    opacity: 1;
}

/* LIFT ANIMACIJA PRI SKROLOVANJU */

.ps-lift {
    opacity: 0;
    translate: 0 30px;
    transition:
        opacity 0.8s ease,
        translate 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--ps-lift-delay, 0ms);
}

.ps-lift.ps-lift-visible {
    opacity: 1;
    translate: 0 0;
}

/* ZAMENJUJE RANIJU ANIMACIJU USLUGA */

#usluge .service-card.is-revealing {
    animation: none;
}

/* MANJI POMAK NA TELEFONU */

@media (max-width: 700px) {
    .ps-lift {
        translate: 0 20px;
    }

    .ps-lift.ps-lift-visible {
        translate: 0 0;
    }
}

/* POŠTOVANJE PODEŠAVANJA ZA SMANJENO KRETANJE */

@media (prefers-reduced-motion: reduce) {
    .ps-image-reveal,
    .ps-lift {
        opacity: 1;
        translate: none;
        transition: none;
    }
}
#site-footer .footer-bottom {
    opacity: 1;
    translate: none;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

#site-footer .footer-bottom p,
#site-footer .footer-bottom a {
    color: #ffffff;
}

#site-footer .footer-bottom a:hover {
    color: #b8d6a3;
}
#proces {
    padding-top: 56px;
    padding-bottom: 56px;
    scroll-margin-top: 110px;
}

@media (max-width: 980px) {
    #proces {
        scroll-margin-top: 150px;
    }
}

@media (max-width: 700px) {
    #proces {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}
/* MOBILNI HEADER I SLIDER */

@media (max-width: 700px) {

    /* HEADER */

    .public-header,
    .public-header.is-scrolled {
        position: sticky;
        top: 0;
        z-index: 100;
        background: #faf9ea;
        border-bottom: 1px solid rgba(17, 17, 17, 0.15);
        backdrop-filter: none;
    }

    .public-header .public-header-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 44px;
        align-items: center;
        gap: 0 16px;
        min-height: 0;
        padding-top: 16px;
        padding-bottom: 12px;
    }

    /* LOGO */

    .public-header .public-brand {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
        max-width: 100%;
    }

    .public-header .public-brand-name {
        font-size: clamp(1.6rem, 7vw, 2rem);
        line-height: 1;
    }

    .public-header .public-brand small {
        margin-top: 7px;
        font-size: clamp(0.42rem, 1.8vw, 0.55rem);
        letter-spacing: 0.04em;
        line-height: 1.4;
    }

    /* DUGME MENIJA */

    .public-header .public-menu-toggle {
        grid-column: 2;
        grid-row: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 1px solid rgba(17, 17, 17, 0.25);
        border-radius: 0;
        background: transparent;
        color: #111111;
        cursor: pointer;
    }

    .public-header .public-menu-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        background: currentColor;
    }

    .public-header .public-menu-toggle[aria-expanded="true"]
    span:first-child {
        transform: translateY(4px) rotate(45deg);
    }

    .public-header .public-menu-toggle[aria-expanded="true"]
    span:last-child {
        transform: translateY(-4px) rotate(-45deg);
    }

    /* JEZICI I PRIJAVA */

    .public-header .header-actions {
        grid-column: 1 / -1;
        grid-row: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin-top: 14px;
        padding-top: 10px;
        border-top: 1px solid rgba(17, 17, 17, 0.12);
    }

    .public-header .language-switcher {
        display: flex;
        align-items: center;
        gap: 5px;
        font-family: var(--ps-mono, monospace);
        font-size: 1rem;
        font-weight: 700;
        line-height: 1;
    }

    .public-header .language-switcher a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
        padding: 8px;
        border: 1px solid transparent;
        color: #333333;
        text-decoration: none;
    }

    .public-header .language-switcher a.active {
        border-color: #07638f;
        background: #07638f;
        color: #ffffff;
    }

    .public-header .language-switcher > span {
        color: #73776b;
    }

    .public-header .header-login {
        justify-content: center;
        min-height: 44px;
        padding: 11px 16px;
        font-size: 0.72rem;
        letter-spacing: 0.06em;
    }

    /* OTVORENI MENI */

    .public-header .public-nav {
        grid-column: 1 / -1;
        grid-row: 3;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        max-height: 0;
        margin: 0;
        padding: 0;
        overflow: hidden;
        visibility: hidden;
        opacity: 0;
        border: 0;
        transform: translateY(-6px);
        transition:
            max-height 0.3s ease,
            opacity 0.2s ease,
            transform 0.3s ease,
            visibility 0.3s;
    }

    .public-header .public-nav[data-open="true"] {
        max-height: 320px;
        padding: 12px 0 0;
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .public-header .public-nav a {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 14px 0;
        border-top: 1px solid rgba(17, 17, 17, 0.12);
        font-size: 0.82rem;
        line-height: 1.4;
        letter-spacing: 0.08em;
    }

    .public-header .public-nav a::before,
    .public-header .public-nav a::after {
        content: none;
    }

    .public-header a:focus-visible,
    .public-header .public-menu-toggle:focus-visible {
        outline: 2px solid #07638f;
        outline-offset: 3px;
    }

    /* SLIDER BEZ SLIKE I PRAZNOG PROSTORA */

    .hero .hero-visual {
        display: none;
    }

    .hero {
        min-height: 0;
        margin-top: 0;
        padding: 48px 0 56px;
    }

    .hero .hero-grid--final {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .hero .hero-copy {
        min-width: 0;
    }

    .hero h1 {
        max-width: 100%;
        font-size: clamp(2.2rem, 9vw, 3.5rem);
        line-height: 1.08;
        letter-spacing: -0.045em;
        overflow-wrap: break-word;
    }

    .hero .eyebrow {
        font-size: 0.65rem;
        line-height: 1.6;
        letter-spacing: 0.08em;
    }

    .hero .hero-title-line {
        margin: 24px 0 20px;
    }

    .hero .hero-text {
        max-width: 100%;
        font-size: 0.9rem;
        line-height: 1.75;
    }

    .hero .hero-actions {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 20px;
        margin-top: 28px;
    }

    .hero .primary-button {
        justify-content: center;
        max-width: 100%;
        min-height: 48px;
        padding: 15px 18px;
        font-size: 0.7rem;
    }

    .hero .text-link {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        font-size: 0.7rem;
    }

    /* PROSTOR ZA HEADER PRI KLIKU NA LINKOVE */

    #usluge,
    #proces,
    #o-meni,
    #kontakt {
        scroll-margin-top: 170px;
    }
}
