/*
 * Vizitka – QR business cards (/vizitka, /vizitka/{slug}).
 * Standalone so the page stays light on mobile data; tokens mirror app.css.
 */

@font-face{font-family:"Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url("../fonts/inter-normal-100-900-latin-Gz7AlRl.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url("../fonts/inter-normal-100-900-latin-ext-1Br77OV.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Inter";font-style:italic;font-weight:100 900;font-display:swap;src:url("../fonts/inter-italic-100-900-latin-1oojmiU.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter";font-style:italic;font-weight:100 900;font-display:swap;src:url("../fonts/inter-italic-100-900-latin-ext-AwjJ_j1.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root {
    --rt-navy: #1a2138;
    --rt-navy-2: #2c3853;
    --rt-orange: #f14e23;
    --rt-orange-hover: #d9441c;
    --rt-ice: #abcee1;
    --rt-cream: #ebe8e3;

    --vz-text: var(--rt-navy);
    --vz-muted: rgba(26, 33, 56, .66);
    --vz-line: rgba(26, 33, 56, .12);
    --vz-surface: #fff;
    --vz-gutter: 20px;
    --vz-ease: cubic-bezier(.2, .8, .2, 1);

    color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body.vz {
    margin: 0;
    min-height: 100dvh;
    background: var(--rt-cream);
    color: var(--vz-text);
    font: 400 16px/1.5 Inter, system-ui, sans-serif;
    font-feature-settings: "cv11", "ss01";
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

.vz a {
    color: inherit;
    text-decoration: none;
    touch-action: manipulation;
}

.vz a:focus-visible {
    outline: 2px solid var(--rt-orange);
    outline-offset: 2px;
}

/* One phone-width column; on larger screens it sits as a card on cream. */
.vz-shell {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    max-width: 460px;
    margin: 0 auto;
    background: var(--vz-surface);
}

@media (min-width: 560px) {
    .vz-shell {
        min-height: auto;
        margin-block: 48px;
        box-shadow: 0 1px 0 var(--vz-line), 0 24px 60px -30px rgba(26, 33, 56, .35);
    }
}

.vz-main { flex: 1; }

/* Header */
.vz-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: max(16px, env(safe-area-inset-top)) var(--vz-gutter) 16px;
    background: var(--rt-cream);
}

.vz-header__link { display: none; }

.vz-header__end {
    display: flex;
    align-items: center;
    gap: 28px;
}

/* SK | CZ – the same card on the other market's domain */
.vz-markets {
    display: flex;
    outline: 1px solid var(--vz-line);
    outline-offset: -1px;
}

.vz-markets__item {
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 40px;
    padding: 0 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--vz-muted) !important;
    transition: background-color .15s var(--vz-ease), color .15s var(--vz-ease);
}

.vz-markets__item[aria-current="page"] {
    background: var(--rt-navy);
    color: #fff !important;
}

@media (hover: hover) {
    .vz-markets__item:not([aria-current]):hover { color: var(--rt-navy) !important; background: rgba(26, 33, 56, .06); }
}

@media (min-width: 560px) {
    .vz-header { background: linear-gradient(180deg, #f4f2ef, var(--rt-cream)); }
}

.vz-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
}

.vz-mark { display: block; height: auto; color: #102a3b; flex: none; }
.vz-mark--mono { color: #fff; }

.vz-brand__word {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -.01em;
}

/* Hero */
.vz-hero {
    padding: 12px var(--vz-gutter) 56px;
    background: var(--rt-cream);
}

.vz-avatar {
    position: relative;
    display: grid;
    place-items: center;
    width: 104px;
    aspect-ratio: 1;
    margin-bottom: 28px;
    overflow: hidden;
    background: var(--rt-navy);
    color: #fff;
    font-size: 36px;
    font-style: italic;
    font-weight: 300;
    letter-spacing: -.02em;
}

/* The orange slash from the logo, tucked into the corner. */
.vz-avatar::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 46%;
    height: 22%;
    background: var(--rt-orange);
    clip-path: polygon(0 0, 100% 52%, 100% 100%, 0 48%);
}

.vz-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vz-avatar--brand::after { content: none; }

.vz-title {
    margin: 0;
    font-size: clamp(34px, 10vw, 42px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.025em;
    text-wrap: balance;
}

.vz-title em,
.vz-cta__title em {
    font-weight: 300;
    letter-spacing: -.02em;
}

.vz-subtitle {
    margin: 14px 0 0;
    max-width: 32ch;
    color: var(--vz-muted);
    font-size: 15px;
    line-height: 1.5;
    text-wrap: pretty;
}

/* Buttons – same shape as .btn-rt on the main site */
.vz-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 56px;
    padding: 0 20px 0 22px;
    border: 0;
    border-radius: 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.25;
    transition: background-color .2s var(--vz-ease), transform .15s var(--vz-ease);
    user-select: none;
    -webkit-user-select: none;
}

.vz-btn:active { transform: scale(.985); }

.vz-btn--primary {
    background: var(--rt-orange);
    color: #fff !important;
}

.vz-btn--ghost {
    background: transparent;
    color: #fff !important;
    outline: 1px solid rgba(255, 255, 255, .5);
    outline-offset: -1px;
}

@media (hover: hover) {
    .vz-btn--primary:hover { background: var(--rt-orange-hover); }
    .vz-btn--ghost:hover { background: rgba(255, 255, 255, .1); }
}

.vz-save {
    padding: 0 var(--vz-gutter);
    margin-top: -28px;
}

/* Contact rows */
.vz-section { padding: 36px var(--vz-gutter) 8px; }

.vz-section + .vz-section { padding-top: 24px; }

.vz-section__title {
    margin: 0 0 4px;
    color: var(--vz-muted);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
}

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

.vz-list li + li { border-top: 1px solid var(--vz-line); }

.vz-row {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 72px;
    padding: 12px 4px 12px 0;
    transition: background-color .15s var(--vz-ease);
}

.vz-row:active { background: rgba(171, 206, 225, .25); }

.vz-row__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    background: var(--rt-cream);
    color: var(--rt-navy);
}

.vz-row__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.vz-row__label {
    color: var(--vz-muted);
    font-size: 12px;
    line-height: 1.4;
}

.vz-row__value {
    overflow: hidden;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.01em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vz-row__arrow {
    flex: none;
    color: var(--rt-orange);
    font-size: 18px;
    transition: transform .2s var(--vz-ease);
}

@media (hover: hover) {
    .vz-row:hover .vz-row__arrow { transform: translateX(3px); }
    .vz-row:hover .vz-row__icon { background: var(--rt-ice); }
}

/* Navy company block / CTA band */
.vz-company {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
    padding: 32px var(--vz-gutter);
    background: var(--rt-navy);
    color: #fff;
}

.vz-company .vz-mark { margin-bottom: 8px; }

.vz-company__name {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.015em;
}

.vz-company__tagline {
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 15px;
    text-wrap: pretty;
}

.vz-cta__title {
    margin: 0 0 12px;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
    text-wrap: balance;
}

.vz-socials {
    display: flex;
    gap: 8px;
    margin: 8px 0 12px;
    padding: 0;
    list-style: none;
}

.vz-social {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    outline: 1px solid rgba(255, 255, 255, .25);
    outline-offset: -1px;
    transition: background-color .15s var(--vz-ease);
}

.vz-social:active { background: rgba(255, 255, 255, .14); }

@media (hover: hover) {
    .vz-social:hover { background: rgba(255, 255, 255, .1); }
}

/* Footer */
.vz-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 16px var(--vz-gutter) max(16px, env(safe-area-inset-bottom));
    background: #121829;
    color: rgba(255, 255, 255, .6);
    font-size: 12px;
}

.vz-footer a { color: rgba(255, 255, 255, .85); }

/*
 * Desktop: a full page instead of a phone card. Name and save button on the
 * left over cream, contacts in a white panel on the right, company as a band.
 */
@media (min-width: 960px) {
    :root { --vz-page: max(48px, (100% - 1180px) / 2); }

    .vz-shell {
        max-width: none;
        min-height: 100dvh;
        margin: 0;
        box-shadow: none;
        background: var(--rt-cream);
    }

    .vz-header {
        padding: 22px var(--vz-page);
        background: transparent;
        border-bottom: 1px solid var(--vz-line);
    }

    .vz-brand__word { font-size: 20px; }

    .vz-header__link {
        display: inline-flex;
        gap: 10px;
        align-items: center;
        min-height: 44px;
        font-size: 14px;
        font-weight: 500;
    }

    .vz-header__link span { color: var(--rt-orange); transition: transform .2s var(--vz-ease); }

    .vz-main {
        display: grid;
        grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
        align-items: start;
        column-gap: clamp(48px, 7vw, 112px);
        padding: 80px var(--vz-page) 0;
    }

    .vz-intro {
        position: sticky;
        top: 48px;
    }

    .vz-hero {
        padding: 0;
        background: none;
    }

    .vz-avatar {
        width: 136px;
        margin-bottom: 40px;
        font-size: 46px;
    }

    .vz-title { font-size: clamp(48px, 5vw, 68px); }

    .vz-subtitle {
        margin-top: 20px;
        font-size: 18px;
    }

    .vz-save {
        max-width: 340px;
        margin-top: 40px;
        padding: 0;
    }

    .vz-details {
        padding: 16px 48px 32px;
        background: var(--vz-surface);
        box-shadow: 0 30px 70px -40px rgba(26, 33, 56, .3);
    }

    .vz-section { padding: 32px 0 0; }

    .vz-section + .vz-section { padding-top: 40px; }

    .vz-row {
        min-height: 84px;
        gap: 20px;
        padding-inline: 12px;
        margin-inline: -12px;
    }

    .vz-row:hover { background: rgba(235, 232, 227, .5); }

    .vz-row__icon { width: 52px; height: 52px; }

    .vz-row__value { font-size: 19px; }

    /* Company card and CTA band lie flat: mark, text, then actions on the right. */
    .vz-company {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto auto;
        align-items: center;
        column-gap: 32px;
        row-gap: 4px;
        margin-top: 96px;
        padding: 48px 0;
        /* Paint navy edge to edge while the content stays on the page grid. */
        box-shadow: 0 0 0 100vmax var(--rt-navy);
        clip-path: inset(0 -100vmax);
    }

    .vz-company .vz-mark { grid-row: 1 / span 2; margin: 0; width: 44px; }
    .vz-company__name { grid-column: 2; }
    .vz-company__tagline { grid-column: 2; }
    .vz-socials { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
    .vz-cta__title { grid-column: 2; grid-row: 1 / span 2; margin: 0; font-size: 32px; }

    .vz-company .vz-btn {
        grid-column: 4;
        grid-row: 1 / span 2;
        width: auto;
        min-width: 260px;
        gap: 40px;
    }

    .vz-footer { padding: 20px var(--vz-page); }
}

@media (min-width: 960px) and (hover: hover) {
    .vz-header__link:hover span { transform: translateX(3px); }
}

@media (prefers-reduced-motion: reduce) {
    .vz *,
    .vz *::before,
    .vz *::after { transition: none !important; }
}
