/**
 * Stranica usluge izrade sajta: /izrada-sajta i /en/website-development.
 *
 * @format
 */

.website-page {
    --ws-font:
        "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
    --ws-bg: #f4f5fa;
    --ws-ink: #12152b;
    --ws-text: #474c69;
    --ws-muted: #5a5f7a;
    --ws-line: #dde1ee;
    --ws-blue: #2f43e0;
    --ws-blue-dark: #1f2fb8;
    --ws-blue-soft: #eef0ff;
    --ws-navy: #141a3a;
    --ws-on-navy: #c3c8e6;
    --ws-yellow: #ffc93c;
    --ws-green: #1f9d6b;
    --ws-red: #d9480f;
    background: var(--ws-bg);
    color: var(--ws-text);
    font-family: var(--ws-font);
}
.website-page main {
    overflow: hidden;
}
.website-page main *,
.website-page main *::before,
.website-page main *::after {
    box-sizing: border-box;
}
.website-page h1,
.website-page h2,
.website-page h3 {
    margin: 0;
    color: var(--ws-ink);
    font-family: var(--ws-font);
    letter-spacing: -0.03em;
}
:where(.website-page) p {
    margin: 0;
}
.ws-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.ws-section {
    padding: clamp(64px, 9vw, 120px) 0;
}
.ws-eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--ws-blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.ws-h2 {
    font-size: clamp(32px, 4.4vw, 52px);
    font-weight: 700;
    line-height: 1.05;
}
.ws-h2 em {
    color: var(--ws-blue);
    font-style: normal;
}
.ws-lead {
    margin-top: 18px;
    font-size: 18px;
    line-height: 1.65;
}
.ws-head {
    max-width: 760px;
}
.ws-head--center {
    margin: 0 auto;
    text-align: center;
}

.ws-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    background: var(--ws-blue);
    color: #fff;
    font: 700 16.5px var(--ws-font);
    text-decoration: none;
    transition:
        background 0.2s,
        transform 0.2s;
}
.ws-btn:hover {
    background: var(--ws-blue-dark);
    color: #fff;
    transform: translateY(-1px);
}
.ws-btn--yellow {
    background: var(--ws-yellow);
    color: var(--ws-ink);
}
.ws-btn--yellow:hover {
    background: #ffd666;
    color: var(--ws-ink);
}
.ws-btn--ghost {
    border: 1.5px solid #cfd4e6;
    background: #fff;
    color: var(--ws-ink);
}
.ws-btn--ghost:hover {
    border-color: var(--ws-blue);
    background: #fff;
    color: var(--ws-blue);
}
.ws-link {
    color: var(--ws-blue);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ws-link:hover {
    color: var(--ws-blue-dark);
}

/* Hero */
.ws-hero {
    padding: 150px 0 90px;
    background:
        radial-gradient(
            1200px 500px at 85% 0%,
            #e3e7ff 0%,
            rgba(227, 231, 255, 0) 70%
        ),
        var(--ws-bg);
}
.ws-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 56px;
    align-items: center;
}
.ws-breadcrumb {
    margin-bottom: 22px;
    color: var(--ws-muted);
    font-size: 14px;
}
.ws-breadcrumb a {
    color: var(--ws-muted);
}
.ws-breadcrumb span {
    margin: 0 8px;
}
.ws-hero h1 {
    font-size: clamp(40px, 5.6vw, 70px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.045em;
}
.ws-hero h1 em {
    display: block;
    color: var(--ws-blue);
    font-style: normal;
}
.ws-hero__lead {
    margin-top: 24px;
    max-width: 560px;
    color: var(--ws-text);
    font-size: 19px;
    line-height: 1.6;
}
.ws-hero__lead strong {
    color: var(--ws-ink);
}
.ws-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}
.ws-hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
    color: var(--ws-ink);
    font-size: 15px;
    font-weight: 600;
}
.ws-hero__facts li {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ws-hero__facts li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ws-yellow);
    box-shadow: 0 0 0 3px #fff3cf;
}

.ws-mock {
    position: relative;
    padding: 18px 0 40px 30px;
}
.ws-mock__browser {
    overflow: hidden;
    border: 1px solid var(--ws-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 40px 80px -40px rgba(20, 26, 58, 0.45);
}
.ws-mock__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--ws-line);
    background: #f7f8fc;
}
.ws-mock__bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d6dae8;
}
.ws-mock__bar span {
    flex: 1;
    margin-left: 10px;
    padding: 5px 12px;
    border-radius: 8px;
    background: #fff;
    color: var(--ws-muted);
    font-size: 12.5px;
}
.ws-mock__page {
    padding: 26px 24px 28px;
}
.ws-mock__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 26px;
}
.ws-mock__logo {
    width: 70px;
    height: 12px;
    border-radius: 6px;
    background: var(--ws-ink);
}
.ws-mock__links {
    display: flex;
    gap: 8px;
}
.ws-mock__links i {
    width: 34px;
    height: 7px;
    border-radius: 4px;
    background: #e3e6f0;
}
.ws-mock__title {
    width: 82%;
    height: 20px;
    margin-bottom: 10px;
    border-radius: 6px;
    background: var(--ws-ink);
}
.ws-mock__title--short {
    width: 56%;
    background: var(--ws-blue);
}
.ws-mock__text {
    width: 90%;
    height: 8px;
    margin-top: 16px;
    border-radius: 4px;
    background: #e3e6f0;
}
.ws-mock__text + .ws-mock__text {
    width: 70%;
    margin-top: 8px;
}
.ws-mock__cta {
    width: 128px;
    height: 34px;
    margin-top: 22px;
    border-radius: 999px;
    background: var(--ws-yellow);
}
.ws-mock__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 26px;
}
.ws-mock__cards i {
    height: 64px;
    border-radius: 10px;
    background: linear-gradient(135deg, #eef0ff, #f7f8fc);
}
.ws-ping {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 290px;
    padding: 12px 16px 12px 12px;
    border: 1px solid var(--ws-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 40px -22px rgba(20, 26, 58, 0.5);
    color: var(--ws-ink);
    font-size: 14px;
    line-height: 1.3;
    animation: ws-float 6s ease-in-out infinite;
}
.ws-ping small {
    display: block;
    color: var(--ws-muted);
    font-size: 12.5px;
    font-weight: 500;
}
.ws-ping b {
    font-weight: 700;
}
.ws-ping__icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
}
.ws-ping__icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ws-ping--book {
    top: 0;
    right: -10px;
}
.ws-ping--book .ws-ping__icon {
    background: #e6f6ef;
    color: var(--ws-green);
}
.ws-ping--order {
    top: 44%;
    left: -6px;
    animation-delay: -2s;
}
.ws-ping--order .ws-ping__icon {
    background: #fff3cf;
    color: #a86b00;
}
.ws-ping--lead {
    right: 4px;
    bottom: 6px;
    animation-delay: -4s;
}
.ws-ping--lead .ws-ping__icon {
    background: var(--ws-blue-soft);
    color: var(--ws-blue);
}
@keyframes ws-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}
@media (prefers-reduced-motion: reduce) {
    .ws-ping {
        animation: none;
    }
}

/* Problem: kako obično bude / kako radimo mi */
.ws-compare {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 48px;
}
.ws-compare__card {
    padding: 34px;
    border-radius: 24px;
}
.ws-compare__card h3 {
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
}
.ws-compare__card ul {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ws-compare__card li {
    position: relative;
    padding-left: 34px;
    font-size: 16.5px;
    line-height: 1.55;
}
.ws-compare__card li::before {
    position: absolute;
    top: 1px;
    left: 0;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
}
.ws-compare__card--bad {
    border: 1px solid var(--ws-line);
    background: #fff;
}
.ws-compare__card--bad li::before {
    content: "✕";
    background: #fde8df;
    color: var(--ws-red);
}
.ws-compare__card--good {
    background: var(--ws-navy);
    color: var(--ws-on-navy);
}
.ws-compare__card--good h3 {
    color: #fff;
}
.ws-compare__card--good li::before {
    content: "✓";
    background: var(--ws-yellow);
    color: var(--ws-ink);
}

/* Ciljevi sa primerima sajtova */
.ws-goals {
    background: #fff;
}
.ws-goal {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 48px;
    align-items: start;
    padding: 56px 0;
    border-top: 1px solid var(--ws-line);
}
.ws-goal:first-of-type {
    margin-top: 40px;
}
.ws-goal__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--ws-blue-soft);
    color: var(--ws-blue);
    font-size: 13.5px;
    font-weight: 700;
}
.ws-goal h3 {
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.1;
}
.ws-goal__for {
    margin-top: 10px;
    color: var(--ws-muted);
    font-size: 15px;
    font-weight: 600;
}
.ws-goal__text {
    margin-top: 16px;
    font-size: 16.5px;
    line-height: 1.65;
}
.ws-goal ul {
    display: grid;
    gap: 10px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}
.ws-goal li {
    position: relative;
    padding-left: 26px;
    color: var(--ws-ink);
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.5;
}
.ws-goal li::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 2px;
    width: 12px;
    height: 7px;
    border-bottom: 2.5px solid var(--ws-blue);
    border-left: 2.5px solid var(--ws-blue);
    transform: rotate(-45deg);
}
.ws-sites {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.ws-site {
    display: block;
    color: inherit;
    text-decoration: none;
}
/* Tri primera: prvi preko cele širine. */
.ws-site:first-child:nth-last-child(3) {
    grid-column: 1 / -1;
}
.ws-site:first-child:nth-last-child(3) .ws-site__img {
    aspect-ratio: 2 / 1;
}
.ws-site__img {
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    border: 1px solid var(--ws-line);
    border-radius: 14px;
    background: var(--ws-bg);
}
.ws-site__img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s;
}
.ws-site:hover .ws-site__img img {
    transform: scale(1.04);
}
.ws-site__name {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    color: var(--ws-ink);
    font-size: 16px;
    font-weight: 700;
}
.ws-site__name span {
    color: var(--ws-blue);
}
.ws-site__what {
    display: block;
    margin-top: 2px;
    color: var(--ws-muted);
    font-size: 14px;
}
.ws-site:hover .ws-site__name {
    color: var(--ws-blue);
}

/* Posle izrade */
.ws-after {
    background: var(--ws-navy);
    color: var(--ws-on-navy);
}
.ws-after .ws-h2 {
    color: #fff;
}
.ws-after .ws-h2 em {
    color: var(--ws-yellow);
}
.ws-after .ws-eyebrow {
    color: var(--ws-yellow);
}
.ws-after .ws-lead {
    color: var(--ws-on-navy);
}
.ws-after__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 52px;
}
.ws-after__card {
    padding: 28px;
    border: 1px solid rgba(195, 200, 230, 0.18);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
}
.ws-after__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: var(--ws-yellow);
    color: var(--ws-ink);
}
.ws-after__icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ws-after__card h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}
.ws-after__card p {
    margin-top: 10px;
    font-size: 15.5px;
    line-height: 1.6;
}
.ws-after__label {
    display: inline-block;
    margin-top: 16px;
    color: #8f96c2;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.ws-after__note {
    margin-top: 28px;
    font-size: 16px;
}
.ws-after__note a {
    color: var(--ws-yellow);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Šta pravimo */
.ws-types {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 44px;
}
.ws-type {
    padding: 24px;
    border: 1px solid var(--ws-line);
    border-radius: 18px;
    background: #fff;
}
.ws-type h3 {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.ws-type p {
    margin-top: 8px;
    font-size: 15.5px;
    line-height: 1.55;
}

/* Saradnja korak po korak */
.ws-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 48px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: ws-step;
}
.ws-steps li {
    position: relative;
    padding: 28px 24px;
    border-radius: 20px;
    background: #fff;
    counter-increment: ws-step;
}
.ws-steps li::before {
    content: "0" counter(ws-step);
    display: block;
    margin-bottom: 18px;
    color: var(--ws-blue);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.ws-steps h3 {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.ws-steps p {
    margin-top: 10px;
    font-size: 15.5px;
    line-height: 1.6;
}
.ws-steps li:last-child {
    background: var(--ws-blue);
    color: #dfe4ff;
}
.ws-steps li:last-child::before {
    color: var(--ws-yellow);
}
.ws-steps li:last-child h3 {
    color: #fff;
}

/* Još sajtova */
.ws-more {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}
.ws-more a {
    display: inline-block;
    padding: 10px 16px;
    line-height: 1.4;
    border: 1px solid var(--ws-line);
    border-radius: 999px;
    background: #fff;
    color: var(--ws-ink);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}
.ws-more a small {
    margin-left: 6px;
    color: var(--ws-muted);
    font-size: 13.5px;
    font-weight: 500;
}
.ws-more a:hover {
    border-color: var(--ws-blue);
    color: var(--ws-blue);
}

/* Česta pitanja */
.ws-faq__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 56px;
}
.ws-faq details {
    border-bottom: 1px solid var(--ws-line);
}
.ws-faq summary {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    color: var(--ws-ink);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    list-style: none;
    cursor: pointer;
}
.ws-faq summary::-webkit-details-marker {
    display: none;
}
.ws-faq summary span {
    flex: none;
    color: var(--ws-blue);
    font-size: 24px;
    line-height: 1;
    transition: transform 0.2s;
}
.ws-faq details[open] summary span {
    transform: rotate(45deg);
}
.ws-faq details p {
    padding: 0 0 22px;
    font-size: 16.5px;
    line-height: 1.65;
}

/* Poziv na kraju */
.ws-final {
    padding: 0 0 clamp(64px, 9vw, 120px);
}
.ws-final__box {
    position: relative;
    overflow: hidden;
    padding: clamp(40px, 6vw, 72px);
    border-radius: 32px;
    background: var(--ws-blue);
    color: #dfe4ff;
    text-align: center;
}
.ws-final__box h2 {
    max-width: 760px;
    margin: 0 auto;
    color: #fff;
    font-size: clamp(32px, 4.4vw, 52px);
    font-weight: 700;
    line-height: 1.05;
}
.ws-final__box p {
    max-width: 600px;
    margin: 18px auto 0;
    font-size: 18px;
    line-height: 1.6;
}
.ws-final__box .ws-btn {
    margin-top: 30px;
}
.ws-final__mail {
    margin-top: 18px !important;
    font-size: 15px !important;
}
.ws-final__mail a {
    color: #fff;
    font-weight: 600;
}

/* Kontakt forma (engleska verzija) */
.ws-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    max-width: 640px;
    margin: 30px auto 0;
    padding: 28px;
    border-radius: 22px;
    background: #fff;
    color: var(--ws-ink);
    text-align: left;
}
.ws-form label {
    display: grid;
    gap: 7px;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}
.ws-form input,
.ws-form select,
.ws-form textarea {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid #cfd4e6;
    border-radius: 10px;
    background: #fff;
    color: var(--ws-ink);
    font: 400 16px var(--ws-font);
}
.ws-form textarea {
    min-height: 120px;
    padding: 12px 14px;
    resize: vertical;
}
.ws-form input:focus,
.ws-form select:focus,
.ws-form textarea:focus {
    border-color: var(--ws-blue);
    outline: none;
    box-shadow: 0 0 0 3px #dfe4ff;
}
.ws-form__wide {
    grid-column: 1 / -1;
}
.ws-form .ws-btn {
    margin-top: 4px;
}
.ws-form__message {
    grid-column: 1 / -1;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--ws-blue-soft);
    font-size: 15px;
}

@media (min-width: 992px) {
    .ws-goal > div:first-child {
        position: sticky;
        top: 110px;
    }
}
@media (max-width: 991px) {
    .ws-hero__grid,
    .ws-goal,
    .ws-faq__grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .ws-hero__grid {
        gap: 40px;
    }
    .ws-goal {
        gap: 28px;
    }
    .ws-mock {
        max-width: 560px;
    }
    .ws-after__grid,
    .ws-types {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ws-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ws-faq__grid {
        gap: 20px;
    }
}
@media (max-width: 640px) {
    .ws-wrap {
        padding: 0 16px;
    }
    .ws-hero {
        padding: 120px 0 64px;
    }
    .ws-hero__lead {
        font-size: 17.5px;
    }
    .ws-hero__actions .ws-btn {
        width: 100%;
    }
    .ws-mock {
        padding: 10px 0 30px 0;
    }
    .ws-ping {
        max-width: 240px;
        font-size: 13px;
    }
    .ws-ping--book {
        right: -4px;
    }
    .ws-ping--order {
        left: -4px;
    }
    .ws-compare,
    .ws-after__grid,
    .ws-types,
    .ws-steps,
    .ws-sites {
        grid-template-columns: minmax(0, 1fr);
    }
    .ws-compare__card {
        padding: 26px 22px;
    }
    .ws-goal {
        padding: 40px 0;
    }
    .ws-site:first-child:nth-last-child(3) .ws-site__img {
        aspect-ratio: 3 / 2;
    }
    .ws-form {
        grid-template-columns: 1fr;
        padding: 22px 16px;
    }
    .ws-final__box .ws-btn {
        width: 100%;
    }
}
