/* What a business gets with its own page: /stranica-za-prostore, /stranica-za-organizatore, /stranica-za-partnere. */

.bo-page {
    background: linear-gradient(180deg, #ffffff 0%, var(--bg) 38%);
}

/* ── Hero: the words left, the example on a computer and a phone right ───────── */

.bo-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: center;
    margin: 1.25rem 0 clamp(2.5rem, 5vw, 4.5rem);
}

    .bo-hero h1 {
        margin: 0;
        max-width: 18ch;
        font-size: clamp(2rem, 3.3vw, 3.1rem);
    }

.bo-lead {
    max-width: 620px;
    margin: 1.1rem 0 0;
    color: var(--muted);
    font-size: clamp(1.02rem, 1.2vw, 1.15rem);
}

.bo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.6rem;
}

.bo-note {
    margin: .9rem 0 0;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 600;
}

/* The computer and the phone side by side on a panel in Veseljko's colours: nothing covers either screen. */
.bo-shots {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    gap: clamp(.75rem, 2vw, 1.25rem);
    padding: clamp(1rem, 2.6vw, 1.75rem);
    color: inherit;
    text-decoration: none;
}

    .bo-shots::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        border-radius: 36px;
        background: linear-gradient(135deg, rgba(201, 182, 228, .7), rgba(243, 167, 160, .45) 60%, rgba(246, 211, 162, .5));
    }

.bo-browser {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 30px 70px rgba(53, 39, 71, .22), 0 6px 18px rgba(53, 39, 71, .1);
    transition: transform .25s ease;
}

.bo-browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: .55rem .8rem;
    border-bottom: 1px solid var(--line);
    background: #f4f0fa;
}

    .bo-browser-bar i {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #d9cdea;
    }

    .bo-browser-bar span {
        flex: 1;
        overflow: hidden;
        margin-left: .6rem;
        padding: .2rem .7rem;
        border-radius: 999px;
        background: #fff;
        color: var(--muted);
        font-size: .75rem;
        font-weight: 600;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

.bo-browser img,
.bo-phone img {
    display: block;
    width: 100%;
    height: auto;
}

/* The bezel and the corners grow and shrink with the phone, so it keeps one shape at every size: the padding is a share
   of the panel's width (as the phone is), the corners a share of the phone's own width and height. */
.bo-phone {
    display: block;
    flex: 0 0 22%;
    max-width: 190px;
    overflow: hidden;
    padding: 1.4%;
    border-radius: 17% / 8%;
    background: #2b2236;
    box-shadow: 0 26px 60px rgba(53, 39, 71, .3);
    transition: transform .25s ease;
}

    .bo-phone img {
        border-radius: 13% / 6%;
    }

.bo-shots:hover .bo-browser,
.bo-shots:focus-visible .bo-browser {
    transform: translateY(-4px);
}

.bo-shots:hover .bo-phone,
.bo-shots:focus-visible .bo-phone {
    transform: translateY(-8px);
}

/* ── Sections ──────────────────────────────────────────────────────────────── */

.bo-section {
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.bo-section-head {
    max-width: 760px;
    margin-bottom: 1.5rem;
}

    .bo-section-head h2 {
        margin: 0;
        color: var(--ink);
        font-size: clamp(1.5rem, 2.4vw, 2.2rem);
    }

.bo-section-lead {
    margin: .7rem 0 0;
    color: var(--muted);
}

.bo-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.bo-feature {
    padding: 1.4rem 1.4rem 1.5rem;
}

    .bo-feature > .material-symbols-outlined {
        display: inline-grid;
        place-items: center;
        width: 46px;
        height: 46px;
        border-radius: 14px;
        background: linear-gradient(135deg, rgba(201, 182, 228, .55), rgba(243, 167, 160, .4));
        color: #51366b;
        font-size: 24px;
    }

    .bo-feature h3 {
        margin: .9rem 0 .45rem;
        color: var(--ink);
        font-size: 1.08rem;
        line-height: 1.25;
    }

    .bo-feature p {
        margin: 0;
        color: var(--muted);
        font-size: .95rem;
    }

/* From a search to an inquiry: three numbered cards. */
.bo-path {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: bo-path;
}

    .bo-path li {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: .35rem;
        padding: 1.4rem 1.4rem 1.5rem 4.4rem;
        counter-increment: bo-path;
    }

        .bo-path li::before {
            content: counter(bo-path);
            position: absolute;
            top: 1.25rem;
            left: 1.25rem;
            display: grid;
            place-items: center;
            width: 2.3rem;
            height: 2.3rem;
            border-radius: 50%;
            background: linear-gradient(135deg, #8a4fff, #c86a8c);
            color: #fff;
            font-family: "Montserrat", Arial, Helvetica, sans-serif;
            font-weight: 800;
        }

        .bo-path li strong {
            color: var(--ink);
            font-size: 1.05rem;
        }

        .bo-path li span {
            color: var(--muted);
            font-size: .95rem;
        }

/* The three examples, this page's own first. */
.bo-examples {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.bo-example {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .bo-example:hover,
    .bo-example:focus-visible {
        transform: translateY(-3px);
        box-shadow: 0 22px 44px rgba(53, 39, 71, .14), 0 6px 14px rgba(168, 146, 214, .12);
    }

    .bo-example.is-own {
        outline: 2px solid rgba(138, 79, 255, .35);
        outline-offset: -2px;
    }

.bo-example-cover {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    object-fit: cover;
}

.bo-example-body {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 0 1.2rem;
    margin-top: -28px;
}

.bo-example-logo {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border: 4px solid #fff;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(53, 39, 71, .14);
}

.bo-example-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-top: 28px;
}

    .bo-example-text strong {
        color: var(--ink);
        font-family: "Montserrat", Arial, Helvetica, sans-serif;
        font-size: 1.02rem;
        font-weight: 800;
        line-height: 1.2;
    }

    .bo-example-text span {
        color: var(--muted);
        font-size: .9rem;
    }

.bo-example-open {
    margin: auto 1.2rem 1.2rem;
    padding-top: .9rem;
    color: #6b4db5;
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* How to start and the questions, side by side. */
.bo-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 1.1rem;
    align-items: start;
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.bo-card {
    padding: 1.5rem;
}

.bo-related {
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: .9rem;
}

    .bo-related a {
        color: #51366b;
        font-weight: 650;
    }

    .bo-card h2 {
        font-size: 1.25rem;
    }

/* The last word: a band in Veseljko's colours. */
.bo-final {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 2rem;
    padding: clamp(1.5rem, 3vw, 2.4rem) clamp(1.4rem, 3.5vw, 2.8rem);
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(201, 182, 228, .6), rgba(243, 167, 160, .38));
}

.bo-final-copy {
    flex: 1 1 420px;
    max-width: 720px;
}

    .bo-final-copy h2 {
        margin: 0;
        color: var(--ink);
        font-size: clamp(1.45rem, 2.3vw, 2rem);
    }

    .bo-final-copy p {
        margin: .6rem 0 0;
        color: var(--ink);
    }

.bo-final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

/* ── Smaller screens ───────────────────────────────────────────────────────── */

@media (max-width: 1199.98px) {
    .bo-features,
    .bo-examples {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .bo-hero,
    .bo-bottom {
        grid-template-columns: minmax(0, 1fr);
    }

    .bo-shots {
        max-width: 640px;
    }

    .bo-path {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767.98px) {
    .bo-features,
    .bo-examples {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 575.98px) {
    .bo-actions .button,
    .bo-final-actions,
    .bo-final-actions .button {
        width: 100%;
    }

    /* A phone shows the phone picture, big enough to read; the computer one would be too small. */
    .bo-shots {
        justify-content: center;
    }

    .bo-browser {
        display: none;
    }

    .bo-phone {
        flex-basis: 62%;
        max-width: 250px;
        padding: 3.9%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bo-browser,
    .bo-phone,
    .bo-example {
        transition: none;
    }
}
