/* Písmo Nunito – uložené na vlastnom serveri (licencia SIL Open Font License 1.1).
   Prehliadač stiahne len tie časti, ktoré stránka potrebuje (latinka / azbuka). */
@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/nunito-cyrillic-ext-400-normal.woff2') format('woff2');
    unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/nunito-cyrillic-400-normal.woff2') format('woff2');
    unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/nunito-latin-ext-400-normal.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: 'Nunito';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/nunito-latin-400-normal.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: 'Nunito';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/nunito-cyrillic-ext-600-normal.woff2') format('woff2');
    unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/nunito-cyrillic-600-normal.woff2') format('woff2');
    unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/nunito-latin-ext-600-normal.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: 'Nunito';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/nunito-latin-600-normal.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: 'Nunito';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/nunito-cyrillic-ext-700-normal.woff2') format('woff2');
    unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/nunito-cyrillic-700-normal.woff2') format('woff2');
    unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/nunito-latin-ext-700-normal.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: 'Nunito';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/nunito-latin-700-normal.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;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', Arial, sans-serif;
    color: #222;
    background: #fff;
    line-height: 1.6;
}
.header-img {
    width: 100%;
    max-width: 153px;
    height: auto;
    display: block;
    margin: 10px auto 0;
    border-radius: 12px;
}
.lang-switcher {
    text-align: center;
    padding: 10px 20px;
    font-size: 1.4rem;
}
.lang-switcher a {
    text-decoration: none;
    margin: 0 6px;
    display: inline-block;
    transition: transform 0.15s;
}
.lang-switcher a:hover { transform: scale(1.25); }

.hero {
    display: flex;
    align-items: flex-start;
    padding: 40px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.hero-text { flex: 1; }
.hero-text h1 {
    font-size: 2.2rem;
    color: #1a237e;
    margin-bottom: 16px;
    line-height: 1.25;
}
.hero-text p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 20px;
}
.hero-text ul {
    padding-left: 20px;
    margin-bottom: 20px;
}
.hero-text li {
    margin-bottom: 8px;
    font-size: 1.05rem;
    color: #444;
}

/* Tlačidlá Zavolať / WhatsApp */
.cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.btn-call { background: #072d52; color: #fff; }
.btn-wa { background: #abd429; color: #072d52; }
.ico { width: 1.25em; height: 1.25em; flex-shrink: 0; vertical-align: -0.25em; }
.btn-signal { background: #3a76f0; color: #fff; }
.btn-simplex { background: #111; color: #fff; }

.hero-img {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.hero-img > img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.car-info, .how, .pricing {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}
.car-info h2, .how h2, .pricing h2 {
    color: #1a237e;
    margin-bottom: 16px;
    font-size: 1.5rem;
}
.car-info p {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 16px;
}
.car-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0;
}
.spec {
    background: #f0f4ff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.95rem;
    color: #072d52;
}
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 16px;
}
.step { text-align: center; }
.step-num {
    width: 40px;
    height: 40px;
    background: #072d52;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: bold;
    font-size: 1.1rem;
}
.step p { font-size: 0.95rem; color: #444; }

.pricing .intro {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 16px;
}
.pricing table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}
.pricing th {
    background: #072d52;
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-size: 0.95rem;
}
.pricing td {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}
.pricing tr:hover td { background: #f0f4ff; }
.pricing .price { font-weight: bold; color: #072d52; white-space: nowrap; }
.pricing .note { font-size: 0.95rem; color: #666; margin-top: 12px; }
.pricing .surcharges { margin-top: 20px; }
.pricing .surcharges h3 {
    font-size: 1.1rem;
    color: #1a237e;
    margin-bottom: 12px;
}
.pricing .surcharges ul { padding-left: 20px; }
.pricing .surcharges li {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 6px;
}

.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 40px;
}
.contact {
    background: #072d52;
    color: #fff;
    padding: 40px;
    text-align: center;
    border-radius: 12px;
}
.contact h2 { margin-bottom: 16px; font-size: 1.5rem; }
.contact p {
    font-size: 1.1rem;
    margin-bottom: 8px;
    overflow-wrap: anywhere; /* dlhý SimpleX odkaz nepretečie na mobile */
}
.contact a { color: #abd429; text-decoration: none; }

footer {
    text-align: center;
    padding: 20px 20px 90px;
    font-size: 0.85rem;
    color: #888;
}
footer a { color: #888; }

/* Panoramatická strecha: myšou aj ťuknutím na mobile */
.roof-wrap {
    position: relative;
    cursor: pointer;
    border-bottom: 1px dotted #1a237e;
    outline: none;
}
.roof-img {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: min(600px, 90vw);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 10;
    margin-bottom: 8px;
}
.roof-wrap:hover .roof-img,
.roof-wrap:focus .roof-img { opacity: 1; }

/* Lišta "Zavolať" prilepená dole – len na mobile */
.mobile-bar { display: none; }
.mobile-bar .ico, .mobile-bar .ico-emoji { width: 22px; height: 22px; font-size: 18px; line-height: 22px; }

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 20px 16px;
        gap: 24px;
    }
    .hero-text h1 { font-size: 1.7rem; }
    .hero-text ul { text-align: left; display: inline-block; }
    .cta { justify-content: center; }
    .contact-wrapper { padding: 0 16px 30px; }
    .contact { padding: 30px 16px; }
    .car-info, .how, .pricing { padding: 30px 16px; }
    .pricing th, .pricing td { padding: 8px 10px; font-size: 0.9rem; }
    .roof-img { left: 0; transform: none; position: fixed; top: 20%; bottom: auto; left: 5vw; }

    .mobile-bar {
        display: flex;
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 20;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
    }
    .mobile-bar a {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        padding: 9px 4px;
        font-weight: bold;
        font-size: 0.8rem;
        white-space: nowrap;
        text-decoration: none;
    }
    .mobile-bar .call { background: #072d52; color: #fff; }
    .mobile-bar .wa { background: #abd429; color: #072d52; }
    .mobile-bar .signal { background: #3a76f0; color: #fff; }
    .mobile-bar .simplex { background: #111; color: #fff; }
}

/* ===== Stránky trás (napr. /poprad-krakow/) ===== */
.pricing td a { color: #072d52; font-weight: 600; text-decoration: underline; text-decoration-color: #abd429; text-underline-offset: 3px; }
.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 40px 0;
    font-size: 0.9rem;
    color: #666;
}
.breadcrumb a { color: #072d52; }
.route-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 8px 0 24px;
}
.fact {
    background: #f0f4ff;
    border-radius: 12px;
    padding: 14px 12px;
}
.fact .label { display: block; font-size: 0.85rem; color: #555; }
.fact .value { display: block; font-size: 1.25rem; font-weight: bold; color: #072d52; white-space: nowrap; }
.fact.highlight { background: #072d52; }
.fact.highlight .label { color: #c9d6e8; }
.fact.highlight .value { color: #abd429; }
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}
.content h2 { color: #1a237e; margin-bottom: 16px; font-size: 1.5rem; }
.content p, .content li { font-size: 1.05rem; color: #444; margin-bottom: 12px; }
.content ul, .content ol { padding-left: 22px; }
.faq details {
    border-bottom: 1px solid #e3e8f2;
    padding: 14px 0;
}
.faq summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    color: #072d52;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: #1a237e; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 10px 0 0; }
.other-routes { display: flex; flex-wrap: wrap; gap: 10px; }
.other-routes a {
    background: #f0f4ff;
    color: #072d52;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.95rem;
}
.other-routes a:hover { background: #dfe7fb; }
@media (max-width: 768px) {
    .breadcrumb { padding: 12px 16px 0; }
    .content { padding: 30px 16px; }
    .route-facts { text-align: left; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Kód letiska v cenníku (KRK, BUD...) */
.iata {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #072d52;
    background: #f0f4ff;
    border: 1px solid #d5def0;
    border-radius: 6px;
    padding: 0 6px;
    margin-left: 4px;
    vertical-align: 0.1em;
}
.pricing tr:hover .iata { background: #fff; }
.hero-text h1 .iata { line-height: 1.1; font-size: 1em; font-weight: inherit; letter-spacing: 0; vertical-align: baseline; padding: 0 0.2em; border-radius: 0.2em; border-width: 2px; margin-left: 0; }
.hero-text h1 { line-height: 1.4; }
@media (max-width: 768px) {
    .lang-switcher { font-size: 1.2rem; padding: 10px 8px; }
    .lang-switcher a { margin: 0 3px; }
}
@media (max-width: 360px) {
    .fact .value { white-space: normal; }
}

/* Na mobile sú tlačidlá len v spodnej lište (bez zdvojenia v úvode) */
@media (max-width: 768px) {
    .hero-text .cta { display: none; }
}

/* Cenník: stĺpec času, posledný riadok „iné dohodou“ */
.pricing td.time { white-space: nowrap; }
.pricing tr.other td { color: #555; font-style: italic; }

/* Cenník na mobile: trasa v 1. riadku, pod ňou km · čas · cena */
@media (max-width: 640px) {
    .pricing table, .pricing tbody { display: block; }
    .pricing thead { display: none; }
    .pricing tr {
        display: grid;
        grid-template-columns: auto auto 1fr;
        column-gap: 14px;
        row-gap: 2px;
        padding: 10px 4px;
        border-bottom: 1px solid #eee;
    }
    .pricing td { border: 0; padding: 0; font-size: 0.95rem; text-align: left; }
    .pricing td:nth-child(1) { grid-column: 1 / -1; font-weight: 600; }
    .pricing td:nth-child(2), .pricing td:nth-child(3) { color: #555; }
    .pricing td:nth-child(4) { text-align: right; }
    .pricing tr.other td:nth-child(2), .pricing tr.other td:nth-child(3) { visibility: hidden; }
    .pricing tr:hover td { background: none; }
}
@media (max-width: 360px) {
    .fact .value { font-size: 1.05rem; }
    .fact { padding: 12px 10px; }
}

/* ===== Galéria fotiek: na počítači vedľa seba, na mobile posúvanie prstom ===== */
.hero { display: block; min-height: 0; }
.hero-text { max-width: 820px; }
.route-facts { grid-template-columns: repeat(3, 1fr); max-width: 560px; }
.gallery { max-width: 1200px; margin: 0 auto; padding: 0 40px 10px; }
.gallery-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-track a { display: block; }
.gallery-track img {
    display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
    border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
@media (max-width: 768px) {
    .gallery { padding: 0 0 10px; }
    .gallery-track {
        display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
        padding: 0 16px 12px; scroll-padding: 0 16px; -webkit-overflow-scrolling: touch;
    }
    .gallery-track a { flex: 0 0 88%; scroll-snap-align: center; }
    .route-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* cenník bez stĺpca km: na mobile trasa hore, pod ňou čas a cena */
@media (max-width: 640px) {
    .pricing tr { grid-template-columns: auto 1fr; }
    .pricing td:nth-child(2) { color: #555; }
    .pricing td:nth-child(3) { text-align: right; }
    .pricing tr.other td:nth-child(2) { visibility: hidden; }
}
@media (max-width: 640px) {
    .pricing tr.other td:nth-child(3) { visibility: visible; }
}
@media (max-width: 768px) {
    .fact .value { white-space: normal; font-size: 1.1rem; line-height: 1.25; }
    .fact { padding: 12px 10px; }
}
@media (max-width: 360px) {
    .route-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
h1, h2 { overflow-wrap: break-word; hyphens: auto; }

/* Úvodný text na celú šírku */
.hero-text { max-width: none; }

/* Fotka vo veľkom: otvorí sa kliknutím, zavrie kliknutím kamkoľvek (bez JavaScriptu) */
.lightbox {
    display: none; position: fixed; inset: 0; z-index: 100;
    background: rgba(0, 0, 0, 0.88); align-items: center; justify-content: center;
    padding: 16px; cursor: zoom-out;
}
.lightbox:target { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; box-shadow: 0 8px 40px rgba(0,0,0,0.5); }
.lightbox .close {
    position: absolute; top: 10px; right: 16px; color: #fff; font-size: 2.6rem; line-height: 1;
    font-weight: 300; text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.gallery-track a { cursor: zoom-in; }
@media (max-width: 380px) {
    .lang-switcher { font-size: 1.05rem; padding: 10px 2px; }
    .lang-switcher a { margin: 0 1px; }
}

/* =================== DIZAJN v23 =================== */
:root { --navy: #072d52; --lime: #abd429; --soft: #f2f6fd; --line: #e3e9f3; }

/* --- Horná lišta --- */
.topbar { background: #fff; }
.topbar-inner { max-width: 1200px; margin: 0 auto; padding: 10px 40px; display: flex; align-items: center; gap: 24px; }
.topbar .brand { flex-shrink: 0; line-height: 0; }
.topbar .header-img { width: 76px; height: auto; margin: 0; }
.mainnav { display: flex; gap: 22px; margin-left: 8px; }
.mainnav a { color: var(--navy); text-decoration: none; font-weight: 700; font-size: 1.02rem; }
.mainnav a:hover { color: #1a237e; text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 5px; }
.topcall { margin-left: auto; padding: 10px 16px; font-size: 1rem; }
.topbar .lang-switcher { padding: 0; font-size: 1.15rem; white-space: nowrap; }
.topbar .lang-switcher a { margin: 0 2px; }
@media (min-width: 769px) {
    .topbar { position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(7,45,82,0.08); }
    html { scroll-padding-top: 90px; }
}
@media (min-width: 769px) and (max-width: 1100px) {
    .topbar-inner { flex-wrap: wrap; row-gap: 6px; }
    .topbar .lang-switcher { width: 100%; text-align: right; }
}
@media (max-width: 768px) {
    .topbar-inner { flex-direction: column; gap: 6px; padding: 10px 8px 0; }
    .topbar .header-img { width: 153px; }
    .mainnav, .topcall { display: none; }
}

/* --- Ikonky (Lucide) --- */
svg.ico { width: 1.2em; height: 1.2em; vertical-align: -0.22em; flex-shrink: 0; }
.mobile-bar svg.ico { width: 22px; height: 22px; }

/* --- Výhody ako dlaždice --- */
h2.expect { font-size: 1.25rem; color: #1a237e; margin: 28px 0 14px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature {
    display: flex; align-items: center; gap: 12px; background: var(--soft); border-radius: 12px;
    padding: 14px 16px; font-weight: 600; color: var(--navy); line-height: 1.35; text-align: left;
}
.feature svg.fico {
    width: 40px; height: 40px; flex-shrink: 0; padding: 9px; border-radius: 10px;
    background: var(--navy); color: var(--lime); stroke-width: 2.2;
}
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .features { grid-template-columns: 1fr; } }

/* --- Striedanie pozadia sekcií (celá šírka) --- */
.pricing, .how {
    background: var(--soft);
    box-shadow: 0 0 0 100vmax var(--soft);
    clip-path: inset(0 -100vmax);
    margin-top: 30px; margin-bottom: 30px;
}
.pricing table { background: #fff; border-radius: 10px; overflow: hidden; }

/* --- Cenník po skupinách --- */
.pricing tr.group th {
    background: #fff; color: var(--navy); text-align: left; font-size: 1rem;
    padding: 18px 16px 8px; border-bottom: 2px solid var(--lime);
}
.pricing tr.group:first-child th { padding-top: 12px; }
@media (max-width: 640px) {
    .pricing tr.group { display: block; padding: 0; border: 0; }
    .pricing tr.group th { display: block; padding: 18px 4px 6px; }
    .pricing table { background: transparent; }
}

/* --- Kontakty s QR --- */
.contact .contact-main { font-size: 1.5rem; font-weight: 700; margin: 6px 0 22px; }
.contact .contact-main a { color: #fff; }
.contact .contact-main svg.ico { color: var(--lime); }
.app-cards { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.app-card {
    display: flex; flex-direction: column; align-items: center; gap: 10px; width: 180px;
    background: #fff; color: var(--navy) !important; border-radius: 14px; padding: 16px 14px 14px;
    font-weight: 700; text-decoration: none;
}
.app-card .app-name { display: inline-flex; align-items: center; gap: 8px; font-size: 1.05rem; }
.app-card > svg.ico { display: none; }
.app-card .qr { width: 140px; height: 140px; image-rendering: pixelated; }
.app-card.wa .app-name::before, .app-card.signal .app-name::before, .app-card.simplex .app-name::before { content: none; }
.qr-hint { font-size: 0.92rem !important; color: #c9d6e8; margin: 14px 0 18px !important; }
.contact .contact-mail { font-size: 1rem; }
@media (max-width: 768px) {
    .app-card .qr, .qr-hint { display: none; }
    .app-cards { flex-direction: column; align-items: stretch; gap: 10px; }
    .app-card { width: auto; flex-direction: row; justify-content: center; padding: 14px; }
    .app-card > svg.ico { display: inline; width: 22px; height: 22px; }
    .app-card.wa { background: var(--lime); }
    .app-card.signal { background: #3a76f0; color: #fff !important; }
    .app-card.simplex { background: #111; color: #fff !important; }
    .contact .contact-main { font-size: 1.3rem; }
}
h1, h2 { hyphens: manual; }
:lang(de) h1, :lang(de) h2 { hyphens: auto; }
.hero-text p a { color: var(--navy); font-weight: 700; text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 3px; }
.contact .contact-mail { margin-top: 16px; }
@media (max-width: 768px) {
    .topbar .lang-switcher { white-space: normal; }
}

/* SimpleX farba #0053D0 */
.btn-simplex, .mobile-bar .simplex { background: #0053D0 !important; color: #fff !important; }
@media (max-width: 768px) { .app-card.simplex { background: #0053D0 !important; } }
.app-card .qr { image-rendering: auto; }
.topbar .lang-switcher { margin-left: auto; }
.app-card { width: 200px; }
.app-card .qr { width: 170px; height: 170px; }

/* Väčšie logo v hornej lište na počítači; vlajky na mobile v strede */
@media (min-width: 769px) {
    .topbar .header-img { width: 120px; }
    html { scroll-padding-top: 120px; }
}
@media (max-width: 768px) {
    .topbar .lang-switcher { margin-left: 0; align-self: center; text-align: center; width: 100%; }
}
