.vyber-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 2rem 1.5rem 4rem;
}

.vyber-title {
    font-size: 1.25rem;
    font-weight: 300;
    color: #444;
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.vyber-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Shared button base ── */
.vyber-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 220px;
    height: 220px;
    padding: 2rem 1.5rem;
    background: #fff;
    border: 2px solid #708AA7;
    color: #0e0e0e;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    position: relative;
    transition: background 0.22s, color 0.22s;
}

.vyber-card:hover {
    background: #708AA7;
    color: #fff;
}

/* ── Document shape (Dotazník) ── */
.vyber-card--doc {
    border: none;
    background: transparent;
    overflow: visible;
    isolation: isolate;
}

.vyber-card--doc::before {
    content: '';
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 240' preserveAspectRatio='none'%3E%3Cpath d='M1 1H192L219 28V239H1V1Z' fill='white' stroke='%23708AA7' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M192 1V28H219' fill='none' stroke='%23708AA7' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
    z-index: -1;
}

.vyber-card--doc:hover {
    background: transparent;
}

.vyber-card--doc:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 240' preserveAspectRatio='none'%3E%3Cpath d='M1 1H192L219 28V239H1V1Z' fill='%23708AA7' stroke='%23FFFFFF' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M192 1V28H219' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ── Speech bubble shape (Chat) ── */
.vyber-card--bubble {
    border: none;
    background: transparent;
    padding-bottom: 2.5rem;
    overflow: visible;
    isolation: isolate;
}

.vyber-card--bubble::before {
    content: '';
    position: absolute;
    inset: 0 0 -16px 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 256' preserveAspectRatio='none'%3E%3Cpath d='M18 1H202A17 17 0 0 1 219 18V221A17 17 0 0 1 202 238H28L2 254V18A17 17 0 0 1 18 1Z' fill='white' stroke='%23708AA7' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
    z-index: -1;
}

.vyber-card--bubble:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 256' preserveAspectRatio='none'%3E%3Cpath d='M18 1H202A17 17 0 0 1 219 18V221A17 17 0 0 1 202 238H28L2 254V18A17 17 0 0 1 18 1Z' fill='%23708AA7' stroke='%23FFFFFF' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.vyber-card--bubble:hover {
    background: transparent;
}

/* ── Text inside shapes ── */
.vyber-card-label {
    font-size: 1.6rem;
    font-weight: 300;
}

.vyber-card-desc {
    font-size: 0.82rem;
    text-align: center;
    opacity: 0.65;
    line-height: 1.45;
    max-width: 170px;
}

.vyber-card:hover .vyber-card-desc {
    opacity: 0.9;
}

.vyber-back {
    margin-top: 16rem;
}

@media (max-width: 500px) {
    .vyber-cards {
        gap: 1.25rem;
        width: 100%;
        flex-direction: column;
        align-items: center;
    }
    .vyber-card {
        width: 190px;
        height: 190px;
        flex-direction: column;
        gap: 0.5rem;
        padding: 1.5rem 1.125rem;
    }
    .vyber-card--doc {
        overflow: visible;
    }
    .vyber-card--bubble {
        padding-bottom: 1rem;
    }
    .vyber-card--bubble::before {
        inset: 0 0 -12px 0;
    }
    .vyber-card-label { font-size: 1.25rem; }
    .vyber-card-desc { font-size: 0.72rem; max-width: 128px; }
}
