/* --- 1. PROMĚNNÉ A ZÁKLAD --- */
:root {
    --bg-color: #fff4e6;
    --card-bg: #ffffff;
    --text-color: #333333;
    --accent-color: #ff8c00;
    --header-offset: 106px;
}
[data-theme='dark'] {
    --bg-color: #2f3338;
    --card-bg: #5a3a24;
    --text-color: #ffffff;
    --accent-color: #ffae42;
}
body { background-color: var(--bg-color); color: var(--text-color); transition: 0.4s; font-family: sans-serif; margin: 0;
    background-image: radial-gradient(circle, rgba(0,0,0,0.10) 1px, transparent 1px);
    background-size: 28px 28px;
    padding-top: var(--header-offset);
}

html,
body {
    overflow-x: hidden;
}

[data-theme='dark'] body {
    background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
}

/* --- 2. HEADER --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
}
.top-container {
    display: flex; align-items: center; justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.62); padding: 15px 30px;
    border-bottom-left-radius: 20px; border-bottom-right-radius: 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    background-image:
        linear-gradient(rgba(0,0,0,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.08) 1px, transparent 1px);
    background-size: 20px 20px;
}
.logo img { width: 65px; display: block; }
nav { display: flex; align-items: center; gap: 20px; }
nav a { text-decoration: none; color: var(--text-color); background-color: rgba(0,0,0,0.05); padding: 8px 16px; border-radius: 20px; transition: 0.3s; font-weight: 500; }
nav a:hover { background-color: var(--accent-color); color: white; }
nav a:focus { outline: 2px solid var(--accent-color); outline-offset: 2px; }

.nav-social {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-divider {
    width: 1px;
    height: 22px;
    background: rgba(0, 0, 0, 0.15);
    margin: 0 4px;
}

[data-theme='dark'] .nav-divider {
    background: rgba(255, 255, 255, 0.2);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-color);
    text-decoration: none;
    justify-content: center;
    transition: all 0.25s ease;
    font-size: 13px;
    font-weight: 600;
}

.social-icon:hover,
.social-icon:focus {
    background: var(--accent-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 140, 0, 0.3);
    outline: none;
}

.mobile-social {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 10px;
    margin-top: 4px;
}

.mobile-social .social-icon {
    width: 100%;
    height: auto;
    padding: 10px 14px;
    border-radius: 12px;
    justify-content: flex-start;
    font-weight: 600;
}

[data-theme='dark'] .social-icon {
    background: rgba(255, 255, 255, 0.08);
}
#theme-toggle,
.theme-toggle-mobile {
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 240, 240, 0.9));
    padding: 7px 10px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
    transition: all 0.25s ease;
}

#theme-toggle:hover,
.theme-toggle-mobile:hover,
#theme-toggle:focus,
.theme-toggle-mobile:focus {
    border-color: var(--accent-color);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
    outline: none;
}

#theme-toggle::before,
.theme-toggle-mobile::before {
    content: '☀';
    font-size: 14px;
    line-height: 1;
}

[data-theme='dark'] #theme-toggle::before,
[data-theme='dark'] .theme-toggle-mobile::before {
    content: '☾';
}

.switch-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff, #dfe4ea);
    box-shadow: inset 0 -1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.2);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0;
    margin-left: auto;
    border-radius: 999px;
    background: var(--text-color);
}

.menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 1200;
}

.menu-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 86vw);
    background: var(--card-bg);
    box-shadow: -12px 0 28px rgba(0, 0, 0, 0.2);
    transform: translateX(102%);
    transition: transform 0.28s ease;
    z-index: 1300;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Jemne animace a efekty */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

main section {
    animation: fadeUp 0.55s ease both;
}

main section:nth-of-type(2) {
    animation-delay: 0.08s;
}

main section:nth-of-type(3) {
    animation-delay: 0.16s;
}

main section:nth-of-type(4) {
    animation-delay: 0.24s;
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    margin-bottom: 6px;
}

.menu-close {
    border: none;
    background: transparent;
    color: var(--text-color);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--text-color);
    background: rgba(0, 0, 0, 0.05);
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 600;
}

.theme-toggle-mobile {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

[data-theme='dark'] #theme-toggle,
[data-theme='dark'] .theme-toggle-mobile {
    border-color: rgba(255, 255, 255, 0.22);
    background: linear-gradient(135deg, rgba(112, 74, 35, 0.92), rgba(79, 49, 24, 0.92));
    color: #ffe8cf;
}

[data-theme='dark'] .switch-dot {
    background: linear-gradient(135deg, #ffd89b, #ffb347);
}

#uvod {
    padding: 40px 20px;
    background:
        linear-gradient(rgba(0,0,0,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.08) 1px, transparent 1px),
        linear-gradient(135deg, var(--accent-color) 0%, rgba(255, 140, 0, 0.8) 100%);
    background-size: 20px 20px, 20px 20px, 100%;
    color: white;
    border-radius: 0 0 20px 20px;
    text-align: center;
}

#uvod h1 {
    margin: 0 0 20px;
    line-height: 1.15;
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.uvod-note {
    margin: 12px 0 0;
    font-size: 13px;
    opacity: 0.75;
}

.btn-express {
    font-size: 13px;
    padding: 10px 18px;
    opacity: 0.88;
}

.btn-express:hover,
.btn-express:focus {
    opacity: 1;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: white;
    color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover, .btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.88);
    color: var(--accent-color);
    border: 2px solid rgba(255, 140, 0, 0.45);
}

.btn-secondary:hover, .btn-secondary:focus {
    background-color: var(--accent-color);
    color: #ffffff;
    transform: translateY(-2px);
}

[data-theme='dark'] .btn-secondary {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffd7a8;
    border-color: rgba(255, 174, 66, 0.45);
}

.btn:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* --- 3. LAYOUT O MĚ A SLUŽBY --- */
#o-mne { 
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.o-mne-card {
    padding: 40px;
}

.o-mne-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.o-mne-text {
    padding-right: 20px;
}

.o-mne-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.o-mne-image img {
    max-width: 110%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.o-mne-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.image-container img {
    max-width: 100%; height: auto; border-radius: 8px;
    mask-image: linear-gradient(to right, transparent, black 30%, black 100%, transparent);
}

#sluzby {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

#recenze,
#zasady,
#cookies {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 20px;
}

#spoluprace {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 20px 28px;
}

.spoluprace-lead {
    margin: 0 0 14px;
    max-width: 760px;
    line-height: 1.5;
}

.spoluprace-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 16px;
}

.spoluprace-card {
    display: grid;
    gap: 10px;
    align-content: start;
}

.spoluprace-card-ad {
    grid-column: 1 / -1;
}

.contest-card {
    background: var(--card-bg);
}

.contest-lead,
.contest-round,
.contest-legal {
    margin: 0;
    line-height: 1.45;
}

.contest-round strong {
    color: #b85c00;
}

.contest-form {
    display: grid;
    gap: 4px;
}

.contest-duo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 16px;
    align-items: start;
}

.contest-main-card {
    grid-column: 1 / 2;
    grid-row: 1 / span 2;
}

.contest-side-card {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    gap: 12px;
}

.contest-mini-frame {
    border: 1px dashed rgba(243, 156, 18, 0.55);
    border-radius: 10px;
    padding: 12px;
    background: rgba(243, 156, 18, 0.07);
    display: grid;
    gap: 10px;
    align-content: start;
    min-height: 130px;
}

#contest-question-image {
    width: 100%;
    max-height: 190px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.09);
}

#contest-question-image[hidden] {
    display: none !important;
}

[data-theme='dark'] .contest-mini-frame {
    border-color: rgba(255, 208, 138, 0.5);
    background: rgba(255, 174, 66, 0.14);
}

.contest-rules-card {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-radius: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.75);
    display: grid;
    gap: 8px;
}

.contest-rules-card h4 {
    margin: 0;
    color: #b85c00;
}

.contest-rules-card p {
    margin: 0;
    line-height: 1.45;
    font-size: 13px;
}

.contest-audit-card {
    gap: 10px;
    margin-bottom: 16px;
}

.contest-audit-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.72);
}

.contest-audit-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}

.contest-audit-table th,
.contest-audit-table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    text-align: left;
    font-size: 13px;
    white-space: nowrap;
}

.contest-audit-table th {
    font-weight: 700;
    color: #b85c00;
    background: rgba(243, 156, 18, 0.1);
}

.contest-audit-table tr:last-child td {
    border-bottom: 0;
}

.contest-rules-cta {
    justify-self: start;
    margin-top: 4px;
}

[data-theme='dark'] .contest-rules-card {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(90, 58, 36, 0.72);
}

[data-theme='dark'] .contest-audit-table-wrap {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(90, 58, 36, 0.72);
}

[data-theme='dark'] .contest-audit-table th,
[data-theme='dark'] .contest-audit-table td {
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

[data-theme='dark'] .contest-audit-table th {
    color: #ffd08a;
    background: rgba(255, 174, 66, 0.16);
}

[data-theme='dark'] .contest-rules-card h4 {
    color: #ffd08a;
}

.contest-rules-list {
    display: grid;
    gap: 8px;
    margin-top: 8px;
}

.contest-rules-list p {
    margin: 0;
    line-height: 1.5;
}

.spoluprace-note {
    margin: 0;
    font-size: 13px;
    opacity: 0.85;
    line-height: 1.45;
}

.spoluprace-ad-grid {
    display: grid;
    gap: 10px;
}

.spoluprace-ad-slot {
    margin-top: 4px;
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px dashed rgba(0, 0, 0, 0.16);
    background: rgba(0, 0, 0, 0.02);
    min-height: 104px;
    display: flex;
    justify-content: center;
    gap: 12px;
    align-items: center;
    overflow: hidden;
}

.wedos-affiliate-wrap,
.alza-affiliate-wrap,
.ssp-affiliate-wrap {
    width: clamp(300px, 92vw, 728px);
    max-width: 728px;
    margin: 0 auto;
    min-height: 0;
    height: 90px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wedos-affiliate-wrap > * {
    max-width: 100%;
}

.alza-affiliate-embed {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    border: 0;
    overflow: hidden;
}

.ssp-affiliate-wrap {
    padding: 0;
}

.ssp-affiliate-wrap > * {
    max-width: 100%;
}

.affiliate-728x90 {
    width: clamp(300px, 92vw, 728px);
    max-width: 728px;
    min-height: 90px;
    height: 90px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: linear-gradient(120deg, #fff7e8, #ffe9c9);
}

.affiliate-rotator-link {
    min-height: 90px;
    width: 100%;
    display: block;
    text-decoration: none;
}

.affiliate-rotator-link img {
    display: block;
    width: 100%;
    height: 90px;
    object-fit: cover;
    border: 0;
}

.affiliate-rotator-link:hover,
.affiliate-rotator-link:focus {
    background: rgba(255, 255, 255, 0.44);
    outline: none;
}

#ssp-zone-420077 {
    width: 100%;
    max-width: 728px;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.side-affiliate {
    display: none;
}

@media (min-width: 1400px) {
    .side-affiliate {
        display: block;
        position: fixed;
        top: 130px;
        z-index: 890;
    }

    .side-affiliate-left {
        left: 10px;
    }

    .side-affiliate-right {
        right: 10px;
    }

    .side-affiliate-frame {
        width: 300px;
        height: 600px;
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid rgba(0, 0, 0, 0.14);
        background: #ffffff;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    }

    .side-affiliate-frame object,
    .side-affiliate-frame iframe {
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
    }

    [data-theme='dark'] .side-affiliate-frame {
        border-color: rgba(255, 255, 255, 0.2);
        background: #2f3338;
    }
}

@media (max-width: 760px) {
    .wedos-affiliate-wrap,
    .alza-affiliate-wrap,
    .ssp-affiliate-wrap {
        width: 100%;
        min-width: 0;
        height: auto;
        aspect-ratio: 728 / 90;
    }

    .affiliate-728x90 {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 0;
        height: auto;
        aspect-ratio: 728 / 90;
    }

    .affiliate-rotator-link {
        min-height: 0;
        height: 100%;
    }

    .affiliate-rotator-link img {
        height: auto;
        aspect-ratio: 728 / 90;
    }
}

[data-theme='dark'] .spoluprace-ad-slot {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.04);
}

[data-theme='dark'] .affiliate-728x90 {
    border-color: rgba(255, 255, 255, 0.2);
    background: linear-gradient(120deg, rgba(255, 174, 66, 0.18), rgba(255, 255, 255, 0.08));
}

[data-theme='dark'] .affiliate-rotator-link {
    background: transparent;
}

.spoluprace-list {
    margin: 0;
    padding-left: 18px;
    line-height: 1.6;
}

.spoluprace-list li {
    margin-bottom: 4px;
}

.spoluprace-cta {
    justify-self: start;
    color: var(--text-color);
    border-color: rgba(0, 0, 0, 0.18);
}

[data-theme='dark'] .spoluprace-cta {
    border-color: rgba(255, 255, 255, 0.24);
}

.spoluprace-flow {
    margin-bottom: 16px;
}

.spoluprace-flow h3 {
    margin: 0 0 12px;
}

.spoluprace-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.spoluprace-steps li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    background: rgba(255, 140, 0, 0.06);
    line-height: 1.35;
    font-size: 14px;
}

.spoluprace-steps li span {
    display: inline-flex;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
    background: var(--accent-color);
    color: #ffffff;
}

.step-richtext {
    min-width: 0;
}

[data-theme='dark'] .spoluprace-steps li {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 174, 66, 0.12);
}

.price-preview-card {
    grid-column: 1 / -1;
    max-width: 860px;
    width: 100%;
    justify-self: center;
    padding: 16px;
}

.price-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 8px 0 10px;
}

.price-filter-btn {
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-color);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.price-filter-btn:hover,
.price-filter-btn:focus,
.price-filter-btn.is-active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #ffffff;
    outline: none;
}

.price-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 10px 0;
}

.price-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 8px 10px;
    background: rgba(255, 140, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.price-item.is-hidden {
    display: none;
}

.price-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
}

.price-icon {
    display: inline-flex;
    width: 18px;
    justify-content: center;
}

.price-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-color);
    white-space: nowrap;
}

.price-note {
    margin: 0;
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 6px;
}

.price-extra-note {
    margin: 0 0 10px;
    font-size: 12px;
    line-height: 1.45;
    opacity: 0.85;
}

.price-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.price-actions .btn-secondary {
    background: rgba(255, 140, 0, 0.12);
    color: #8a3d00;
    border: 1px solid rgba(255, 140, 0, 0.45);
    font-size: 13px;
    padding: 9px 14px;
}

.price-actions .btn-secondary:hover,
.price-actions .btn-secondary:focus {
    background: var(--accent-color);
    color: #ffffff;
    border-color: var(--accent-color);
}

[data-theme='dark'] .price-item {
    background: rgba(255, 174, 66, 0.12);
    border-color: rgba(255, 255, 255, 0.14);
}

[data-theme='dark'] .service-modal-content table,
[data-theme='dark'] .reference-richtext table,
[data-theme='dark'] .step-richtext table,
[data-theme='dark'] .review-text table,
[data-theme='dark'] .review-richtext table {
    background: rgba(17, 24, 39, 0.45);
}

[data-theme='dark'] .service-modal-content th,
[data-theme='dark'] .service-modal-content td,
[data-theme='dark'] .reference-richtext th,
[data-theme='dark'] .reference-richtext td,
[data-theme='dark'] .step-richtext th,
[data-theme='dark'] .step-richtext td,
[data-theme='dark'] .review-text th,
[data-theme='dark'] .review-text td,
[data-theme='dark'] .review-richtext th,
[data-theme='dark'] .review-richtext td {
    border-color: rgba(255, 255, 255, 0.16);
}

[data-theme='dark'] .service-modal-content th,
[data-theme='dark'] .reference-richtext th,
[data-theme='dark'] .step-richtext th,
[data-theme='dark'] .review-text th,
[data-theme='dark'] .review-richtext th {
    background: rgba(255, 174, 66, 0.12);
}

[data-theme='dark'] .service-modal-content figcaption,
[data-theme='dark'] .reference-richtext figcaption,
[data-theme='dark'] .step-richtext figcaption,
[data-theme='dark'] .review-text figcaption,
[data-theme='dark'] .review-richtext figcaption {
    color: rgba(255, 255, 255, 0.72);
}

[data-theme='dark'] .price-filter-btn {
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.08);
    color: #f4f4f4;
}

[data-theme='dark'] .price-actions .btn-secondary {
    background: rgba(255, 174, 66, 0.16);
    color: #ffffff;
    border-color: rgba(255, 174, 66, 0.5);
}

@media (max-width: 900px) {
    .price-items {
        grid-template-columns: 1fr;
    }
}

.reference-box {
    display: grid;
    gap: 12px;
}

.reference-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.reference-project {
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.02);
    display: grid;
    gap: 10px;
}

.reference-project p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
}

.reference-project-placeholder {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.08), rgba(255, 140, 0, 0.02));
}

.reference-project-placeholder h4 {
    margin: 0;
    font-size: 17px;
}

.reference-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.reference-tags span {
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255, 140, 0, 0.08);
}

[data-theme='dark'] .reference-project {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
}

[data-theme='dark'] .reference-tags span {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 174, 66, 0.2);
}

.reference-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    color: var(--text-color);
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 10px;
    padding: 10px 12px;
    background: rgba(255, 140, 0, 0.08);
    transition: all 0.2s ease;
    line-height: 1.3;
}

.reference-link img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.reference-link span {
    display: inline-block;
}

.reference-link:hover,
.reference-link:focus {
    border-color: var(--accent-color);
    background: rgba(255, 140, 0, 0.18);
    transform: translateY(-1px);
    outline: none;
}

[data-theme='dark'] .reference-link {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 174, 66, 0.16);
}

#blog {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.blog-intro-card {
    display: grid;
    gap: 18px;
}

.blog-lead {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    max-width: 980px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.blog-post {
    display: grid;
    gap: 14px;
    overflow: hidden;
}

.blog-media {
    position: relative;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    min-height: 190px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.12), rgba(142, 68, 173, 0.16));
}

.blog-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    border-radius: 999px;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.blog-placeholder-media {
    min-height: 190px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background:
        radial-gradient(circle at top left, rgba(52, 152, 219, 0.18), transparent 42%),
        radial-gradient(circle at bottom right, rgba(142, 68, 173, 0.2), transparent 38%),
        linear-gradient(135deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.06));
    border: 1px dashed rgba(0, 0, 0, 0.15);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.blog-content {
    display: grid;
    gap: 10px;
}

.blog-meta {
    margin: 0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8e44ad;
}

.blog-content h3 {
    margin: 0;
    font-size: 20px;
}

.blog-content p {
    margin: 0;
    line-height: 1.58;
}

.blog-outcome-grid {
    display: grid;
    gap: 10px;
}

.blog-outcome {
    display: grid;
    gap: 4px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(142, 68, 173, 0.08);
    border: 1px solid rgba(142, 68, 173, 0.14);
}

.blog-outcome strong {
    font-size: 13px;
}

.blog-outcome span {
    font-size: 14px;
    line-height: 1.5;
}

.blog-post-placeholder .blog-content {
    opacity: 0.95;
}

.blog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

[data-theme='dark'] .blog-placeholder-media {
    border-color: rgba(255, 255, 255, 0.16);
    background:
        radial-gradient(circle at top left, rgba(52, 152, 219, 0.24), transparent 42%),
        radial-gradient(circle at bottom right, rgba(142, 68, 173, 0.24), transparent 38%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.08));
}

[data-theme='dark'] .blog-outcome {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.chatbot-launcher {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 2100;
    border: none;
    border-radius: 999px;
    padding: 12px 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #2ecc71, #16a085);
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(22, 160, 133, 0.32);
    cursor: pointer;
    font-weight: 800;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
}

.chatbot-launcher:hover,
.chatbot-launcher:focus {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(22, 160, 133, 0.4);
    outline: none;
}

.chatbot-launcher-icon {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
}

.chatbot-widget {
    position: fixed;
    right: 18px;
    bottom: 78px;
    width: min(480px, calc(100vw - 36px));
    z-index: 2100;
    background: var(--card-bg);
    color: var(--text-color);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    display: grid;
    gap: 0;
    transform: translateY(12px) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    height: min(86vh, 760px);
    max-height: min(86vh, 760px);
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    overscroll-behavior: contain;
}

.chatbot-widget.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 14px 10px;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.12), rgba(22, 160, 133, 0.08));
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    grid-row: 1;
}

.chatbot-session-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1.4;
    background: rgba(46, 204, 113, 0.09);
    border-bottom: 1px solid rgba(46, 204, 113, 0.18);
    grid-row: 2;
}

.chatbot-session-banner[hidden] {
    display: none;
}

.chatbot-session-banner small {
    color: rgba(0, 0, 0, 0.68);
}

.chatbot-session-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #16a085;
    box-shadow: 0 0 0 4px rgba(22, 160, 133, 0.12);
    flex: 0 0 auto;
}

.chatbot-kicker {
    margin: 0 0 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #16a085;
}

.chatbot-header h3 {
    margin: 0;
    font-size: 16px;
}

.chatbot-close {
    border: none;
    background: rgba(0, 0, 0, 0.06);
    color: var(--text-color);
    width: 32px;
    height: 32px;
    border-radius: 999px;
    font-size: 18px;
    cursor: pointer;
}

.chatbot-messages {
    min-height: 0;
    overflow-y: auto;
    padding: 14px 12px;
    display: grid;
    gap: 12px;
    -webkit-overflow-scrolling: touch;
    align-content: start;
    grid-row: 3;
}

.chatbot-message {
    display: grid;
    gap: 4px;
    width: fit-content;
    max-width: 85%;
    line-height: 1.45;
    font-size: 14px;
    white-space: pre-wrap;
    word-break: break-word;
}

.chatbot-message-meta {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.72;
}

.chatbot-message-bubble {
    padding: 10px 12px;
    border-radius: 16px;
}

.chatbot-message-bot {
    justify-self: start;
}

.chatbot-message-bot .chatbot-message-bubble {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-top-left-radius: 6px;
}

.chatbot-message-user {
    justify-self: end;
    text-align: right;
}

.chatbot-message-user .chatbot-message-bubble {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.18), rgba(22, 160, 133, 0.16));
    border: 1px solid rgba(46, 204, 113, 0.26);
    border-top-right-radius: 6px;
}

.chatbot-message-agent {
    justify-self: start;
}

.chatbot-message-agent .chatbot-message-bubble {
    background: rgba(52, 152, 219, 0.12);
    border: 1px solid rgba(52, 152, 219, 0.24);
    border-top-left-radius: 6px;
}

.chatbot-message-system {
    justify-self: center;
    max-width: min(92%, 360px);
}

.chatbot-message-system .chatbot-message-meta {
    text-align: center;
}

.chatbot-message-system .chatbot-message-bubble {
    background: rgba(241, 196, 15, 0.12);
    border: 1px solid rgba(241, 196, 15, 0.28);
    text-align: center;
}

.chatbot-agent-card {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    justify-self: start;
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(22, 160, 133, 0.18);
    background: rgba(22, 160, 133, 0.08);
}

.chatbot-agent-card img {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    object-fit: cover;
    flex: 0 0 auto;
}

.chatbot-agent-card-text {
    display: grid;
    gap: 2px;
}

.chatbot-agent-card-text p {
    margin: 0;
    font-size: 13px;
    opacity: 0.8;
}

.chatbot-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 12px 12px;
}

.chatbot-chip {
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-color);
    border-radius: 999px;
    padding: 7px 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

.chatbot-chip:hover,
.chatbot-chip:focus {
    border-color: #16a085;
    outline: none;
}

.chatbot-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 0 12px 12px;
    align-items: end;
    grid-row: 4;
}

.chatbot-form input {
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.76);
    color: var(--text-color);
    border-radius: 12px;
    padding: 11px 12px;
    font: inherit;
}

.chatbot-form input:focus {
    outline: 2px solid rgba(22, 160, 133, 0.32);
    outline-offset: 1px;
}

.chatbot-send {
    padding-inline: 14px;
}

[data-theme='dark'] .chatbot-widget {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
}

[data-theme='dark'] .chatbot-header {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme='dark'] .chatbot-session-banner {
    background: rgba(46, 204, 113, 0.12);
    border-bottom-color: rgba(46, 204, 113, 0.24);
}

[data-theme='dark'] .chatbot-session-banner small {
    color: rgba(255, 255, 255, 0.72);
}

[data-theme='dark'] .chatbot-close,
[data-theme='dark'] .chatbot-chip,
[data-theme='dark'] .chatbot-form input,
[data-theme='dark'] .chatbot-message-bot .chatbot-message-bubble {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

[data-theme='dark'] .chatbot-message-user .chatbot-message-bubble {
    background: rgba(46, 204, 113, 0.18);
    border-color: rgba(46, 204, 113, 0.32);
}

[data-theme='dark'] .chatbot-message-agent .chatbot-message-bubble {
    background: rgba(52, 152, 219, 0.18);
    border-color: rgba(52, 152, 219, 0.32);
}

[data-theme='dark'] .chatbot-message-system .chatbot-message-bubble {
    background: rgba(241, 196, 15, 0.14);
    border-color: rgba(241, 196, 15, 0.26);
}

[data-theme='dark'] .chatbot-agent-card {
    border-color: rgba(46, 204, 113, 0.24);
    background: rgba(46, 204, 113, 0.1);
}

@media (max-width: 1100px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .chatbot-launcher {
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        padding: 11px 14px;
    }

    .chatbot-launcher-text {
        display: none;
    }

    .chatbot-widget {
        left: 12px;
        right: 12px;
        bottom: calc(68px + env(safe-area-inset-bottom, 0px));
        width: auto;
        height: calc(100dvh - 92px - env(safe-area-inset-bottom, 0px));
        max-height: calc(100dvh - 92px - env(safe-area-inset-bottom, 0px));
    }

    .chatbot-messages {
        max-height: none;
    }
}

#co-dal {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.roadmap-intro-card {
    display: grid;
    gap: 18px;
}

.roadmap-lead {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    max-width: 900px;
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.roadmap-card {
    display: grid;
    gap: 12px;
}

.roadmap-card-good {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.08), rgba(39, 174, 96, 0.02));
}

.roadmap-card-wait {
    background: linear-gradient(135deg, rgba(192, 57, 43, 0.08), rgba(192, 57, 43, 0.02));
}

.roadmap-label {
    margin: 0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.roadmap-card-good .roadmap-label {
    color: #1f8f4e;
}

.roadmap-card-wait .roadmap-label {
    color: #b03a2e;
}

.roadmap-card h3 {
    margin: 0;
    font-size: 20px;
}

.roadmap-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.roadmap-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.roadmap-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    background: rgba(255, 140, 0, 0.14);
    color: var(--accent-color);
    margin-top: 1px;
}

.roadmap-card-good .roadmap-icon {
    background: rgba(39, 174, 96, 0.15);
    color: #1f8f4e;
}

.roadmap-card-wait .roadmap-icon {
    background: rgba(192, 57, 43, 0.15);
    color: #b03a2e;
}

.roadmap-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.poll-widget {
    display: grid;
    gap: 12px;
    margin-top: 4px;
}

.poll-kicker {
    margin: 0;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2980b9;
}

.poll-question {
    margin: 0;
    font-size: 24px;
}

.poll-status,
.poll-last-winner {
    margin: 0;
    color: rgba(0, 0, 0, 0.7);
}

.poll-options {
    display: grid;
    gap: 10px;
}

.poll-option {
    display: grid;
    gap: 6px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.13);
    background: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.poll-option-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-weight: 700;
}

.poll-option input[type='radio'] {
    margin-right: 8px;
}

.poll-meter {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.08);
}

.poll-meter-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #3498db, #1f8f4e);
    transition: width 0.25s ease;
}

[data-theme='dark'] .poll-status,
[data-theme='dark'] .poll-last-winner {
    color: rgba(255, 255, 255, 0.78);
}

[data-theme='dark'] .poll-option {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
}

[data-theme='dark'] .roadmap-card-good {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.14), rgba(39, 174, 96, 0.04));
}

[data-theme='dark'] .roadmap-card-wait {
    background: linear-gradient(135deg, rgba(192, 57, 43, 0.16), rgba(192, 57, 43, 0.05));
}

@media (max-width: 900px) {
    .roadmap-grid {
        grid-template-columns: 1fr;
    }
}

/* --- 4. GRIDY A KARTY --- */
.services-grid, .map-and-calendar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }

/* Obrázky - responsivní */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

#about-text,
#privacy-text,
#cookies-text,
#terms-text {
    line-height: 1.7;
}

#about-text table,
#privacy-text table,
#cookies-text table,
#terms-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0;
    background: rgba(255, 255, 255, 0.6);
}

#about-text th,
#about-text td,
#privacy-text th,
#privacy-text td,
#cookies-text th,
#cookies-text td,
#terms-text th,
#terms-text td {
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 8px 10px;
    vertical-align: top;
}

#about-text th,
#privacy-text th,
#cookies-text th,
#terms-text th {
    background: rgba(255, 140, 0, 0.12);
    text-align: left;
}

#about-text figure,
#privacy-text figure,
#cookies-text figure,
#terms-text figure {
    margin: 14px 0;
}

#about-text figcaption,
#privacy-text figcaption,
#cookies-text figcaption,
#terms-text figcaption {
    margin-top: 6px;
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.68);
}

[data-theme='dark'] #about-text table,
[data-theme='dark'] #privacy-text table,
[data-theme='dark'] #cookies-text table,
[data-theme='dark'] #terms-text table {
    background: rgba(17, 24, 39, 0.45);
}

[data-theme='dark'] #about-text th,
[data-theme='dark'] #about-text td,
[data-theme='dark'] #privacy-text th,
[data-theme='dark'] #privacy-text td,
[data-theme='dark'] #cookies-text th,
[data-theme='dark'] #cookies-text td {
    border-color: rgba(255, 255, 255, 0.16);
}

[data-theme='dark'] #about-text th,
[data-theme='dark'] #privacy-text th,
[data-theme='dark'] #cookies-text th {
    background: rgba(255, 174, 66, 0.12);
}

[data-theme='dark'] #about-text figcaption,
[data-theme='dark'] #privacy-text figcaption,
[data-theme='dark'] #cookies-text figcaption {
    color: rgba(255, 255, 255, 0.72);
}

/* --- 5. OPRAVA KALENDÁŘE --- */
iframe { 
    width: 100%; 
    max-width: 100%;
    height: 300px; 
    border: none; 
    border-radius: 8px; 
    display: block; 
}

.reservation-calendar-card {
    display: grid;
    gap: 12px;
}

.calendar-lead {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(0, 0, 0, 0.72);
}

[data-theme='dark'] .calendar-lead {
    color: rgba(255, 255, 255, 0.82);
}

.calendar-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.reservation-calendar-frame {
    height: clamp(430px, 58vh, 760px);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #ffffff;
}

[data-theme='dark'] .reservation-calendar-frame {
    border-color: rgba(255, 255, 255, 0.18);
}
/* --- KONTAKT SEKCE --- */
#kontakt {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hlavní kontejner - VEDLE SEBE */
.kontakt-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.left-col, .right-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-content: start;
}

/* Karty */
.card {
    position: relative;
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.65) inset,
        0 8px 18px rgba(0, 0, 0, 0.10),
        0 2px 3px rgba(0, 0, 0, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: rgba(255, 255, 255, 0.55);
    pointer-events: none;
}

.card:hover {
    transform: translateY(-2px) rotate(-0.2deg);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7) inset,
        0 14px 26px rgba(0, 0, 0, 0.14),
        0 3px 5px rgba(0, 0, 0, 0.08);
}

[data-theme='dark'] .card {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 10px 20px rgba(0, 0, 0, 0.35),
        0 2px 4px rgba(0, 0, 0, 0.28);
}

[data-theme='dark'] .card::before {
    background: rgba(255, 200, 140, 0.35);
}

.service-card {
    cursor: pointer;
}

.service-card:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.service-hint {
    margin: 10px 0 0;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 0.02em;
}

.service-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease;
    padding: 20px;
}

.service-modal-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.service-modal {
    position: relative;
    width: min(680px, 100%);
    max-height: 88vh;
    overflow: auto;
    background: var(--card-bg);
    color: var(--text-color);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.32);
    transform-origin: var(--modal-origin-x, 50%) var(--modal-origin-y, 50%);
    transform: scale(0.76);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s ease;
    will-change: transform, opacity;
}

.service-modal-backdrop.is-open .service-modal {
    transform: scale(1);
    opacity: 1;
}

.service-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.08);
    color: var(--text-color);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.service-modal-close:hover,
.service-modal-close:focus {
    background: var(--accent-color);
    color: #ffffff;
    outline: none;
}

.service-modal h3 {
    margin: 0 36px 14px 0;
}

.service-modal h4 {
    margin: 12px 0 6px;
    font-size: 14px;
    color: var(--accent-color);
    font-weight: 700;
}

.service-modal-content p {
    margin: 0 0 12px;
    line-height: 1.5;
}

.service-modal-content ul {
    margin: 0 0 8px;
    padding-left: 20px;
}

.service-modal-content li {
    margin: 0 0 6px;
    line-height: 1.4;
}

.service-modal-content h1,
.service-modal-content h2,
.service-modal-content h3,
.service-modal-content h4,
.reference-richtext h1,
.reference-richtext h2,
.reference-richtext h3,
.reference-richtext h4,
.step-richtext h1,
.step-richtext h2,
.step-richtext h3,
.step-richtext h4,
.review-text h1,
.review-text h2,
.review-text h3,
.review-text h4,
.review-richtext h1,
.review-richtext h2,
.review-richtext h3,
.review-richtext h4 {
    margin: 0 0 10px;
    line-height: 1.3;
}

.reference-richtext,
.step-richtext,
.review-text,
.review-richtext {
    line-height: 1.55;
}

.reference-richtext p,
.step-richtext p,
.review-text p,
.review-richtext p {
    margin: 0 0 10px;
}

.reference-richtext ul,
.reference-richtext ol,
.step-richtext ul,
.step-richtext ol,
.review-text ul,
.review-text ol,
.review-richtext ul,
.review-richtext ol {
    margin: 0 0 10px;
    padding-left: 20px;
}

.service-modal-content table,
.reference-richtext table,
.step-richtext table,
.review-text table,
.review-richtext table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
    background: rgba(255, 255, 255, 0.62);
}

.service-modal-content th,
.service-modal-content td,
.reference-richtext th,
.reference-richtext td,
.step-richtext th,
.step-richtext td,
.review-text th,
.review-text td,
.review-richtext th,
.review-richtext td {
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 8px 10px;
    vertical-align: top;
    text-align: left;
}

.service-modal-content th,
.reference-richtext th,
.step-richtext th,
.review-text th,
.review-richtext th {
    background: rgba(255, 140, 0, 0.12);
}

.service-modal-content figure,
.reference-richtext figure,
.step-richtext figure,
.review-text figure,
.review-richtext figure {
    margin: 12px 0;
}

.service-modal-content img,
.reference-richtext img,
.step-richtext img,
.review-text img,
.review-richtext img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.service-modal-content figcaption,
.reference-richtext figcaption,
.step-richtext figcaption,
.review-text figcaption,
.review-richtext figcaption {
    margin-top: 6px;
    font-size: 0.92rem;
    color: rgba(0, 0, 0, 0.68);
}

.topic-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1520;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.topic-modal-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.topic-modal {
    position: relative;
    width: min(620px, 100%);
    max-height: 88vh;
    overflow: auto;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: var(--card-bg);
    color: var(--text-color);
    padding: 22px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(12px) scale(0.98);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.topic-modal-backdrop.is-open .topic-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.topic-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.08);
    color: var(--text-color);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.topic-modal-close:hover,
.topic-modal-close:focus {
    background: var(--accent-color);
    color: #ffffff;
    outline: none;
}

.topic-form {
    margin-top: 12px;
}

.topic-form #topic-message {
    min-height: 180px;
    line-height: 1.55;
    resize: vertical;
}

[data-theme='dark'] .topic-modal {
    border-color: rgba(255, 255, 255, 0.14);
}

.calendar-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.58);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.calendar-modal-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.calendar-modal {
    position: relative;
    width: min(1080px, 100%);
    max-height: 92vh;
    overflow: auto;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: var(--card-bg);
    color: var(--text-color);
    padding: 20px;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.34);
    transform: translateY(12px) scale(0.98);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.calendar-modal-backdrop.is-open .calendar-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.calendar-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.08);
    color: var(--text-color);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.calendar-modal-close:hover,
.calendar-modal-close:focus {
    background: var(--accent-color);
    color: #ffffff;
    outline: none;
}

.calendar-modal h3 {
    margin: 0 36px 10px 0;
}

.calendar-modal p {
    margin: 0 0 12px;
    line-height: 1.45;
}

.reservation-calendar-modal-frame {
    width: 100%;
    min-height: min(76vh, 760px);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #ffffff;
}

[data-theme='dark'] .calendar-modal,
[data-theme='dark'] .reservation-calendar-modal-frame {
    border-color: rgba(255, 255, 255, 0.16);
}

/* Formulář */
.contact-form-container {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.txt_field {
    position: relative;
    border-bottom: 2px solid var(--accent-color);
    margin: 30px 0;
}

.txt_field input, .txt_field textarea {
    width: 100%;
    padding: 10px 0;
    background: none;
    border: none;
    outline: none;
    font-size: 16px;
    color: var(--text-color);
}

.txt_field label {
    position: absolute;
    top: 50%;
    left: 5px;
    color: #adadad;
    transform: translateY(-50%);
    pointer-events: none;
    transition: .5s;
}

.txt_field input:focus ~ label,
.txt_field input:valid ~ label {
    top: -5px;
    color: var(--accent-color);
}

.txt_field input:placeholder-shown:not(:focus) ~ label {
    top: 50%;
    color: #adadad;
}

.txt_field textarea:focus ~ label,
.txt_field textarea:valid ~ label {
    top: -5px;
    color: var(--accent-color);
}

.quick-request {
    margin: 12px 0 4px;
}

.quick-request-title {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
}

.quick-request-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.quick-request-btn {
    border: 1px solid var(--accent-color);
    background: rgba(255, 140, 0, 0.08);
    color: var(--text-color);
    border-radius: 999px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
}

.quick-request-btn:hover,
.quick-request-btn:focus {
    background: var(--accent-color);
    color: #ffffff;
    outline: none;
}

.quick-request-clear {
    border-color: rgba(0, 0, 0, 0.28);
    background: rgba(0, 0, 0, 0.05);
}

.quick-request-clear:hover,
.quick-request-clear:focus {
    background: #c0392b;
    border-color: #c0392b;
    color: #ffffff;
}

[data-theme='dark'] .quick-request-clear {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
}

.quick-request-more {
    margin-top: 10px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 8px 10px;
    background: rgba(0, 0, 0, 0.03);
}

.quick-request-more summary {
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
}

.quick-request-select-wrap {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.quick-request-hint {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-color);
    opacity: 0.9;
}

.quick-request-select-wrap label {
    font-size: 13px;
    font-weight: 600;
}

.quick-request-select {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 10px;
    padding: 9px 10px;
    font-size: 14px;
    color: var(--text-color);
    background: var(--card-bg);
}

.quick-request-select:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 1px;
}

[data-theme='dark'] .quick-request-more {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.07);
}

.form-error,
.form-success {
    min-height: 20px;
    margin: 8px 0 0;
    font-size: 13px;
}

.consent-field {
    margin: 10px 0 2px;
}

.optional-consent-field {
    opacity: 0.95;
}

.consent-checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-color);
}

.consent-checkbox input[type='checkbox'] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: var(--accent-color);
}

.consent-checkbox a {
    color: var(--accent-color);
    text-decoration: underline;
}

[data-theme='dark'] .contest-round strong {
    color: #ffd08a;
}

.form-error {
    color: #c62828;
}

.form-success {
    color: #2e7d32;
}

/* Recenze */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.review-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.review-stars {
    color: #f9a825;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 700;
}

.review-tag {
    border: 1px solid var(--accent-color);
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
}

.review-meta {
    margin: 0 0 8px;
    font-size: 13px;
    opacity: 0.8;
}

.review-text {
    margin: 0;
    line-height: 1.5;
}

.review-points {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.45;
    display: grid;
    gap: 6px;
}

.review-points strong {
    color: var(--accent-color);
}

.review-richtext {
    display: grid;
    gap: 6px;
}

.review-placeholder-card {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 4px solid #27ae60;
}

.review-card {
    border-top: 4px solid #27ae60;
}

.review-placeholder-text {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    opacity: 0.8;
}

.review-write-card {
    margin-top: 14px;
    padding: 12px;
}

.review-write-card h3 {
    margin: 0 0 4px;
    font-size: 18px;
}

.review-write-card > p {
    margin: 0 0 8px;
    font-size: 14px;
}

.review-write-form {
    display: grid;
    gap: 2px;
}

.review-write-form .txt_field {
    margin: 12px 0;
}

.review-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.review-write-form select {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 10px;
    padding: 8px 10px;
    background: var(--card-bg);
    color: var(--text-color);
}

.review-rating-block {
    margin: 8px 0 10px;
}

.review-rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.review-rating-label {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 600;
}

.review-rating-stars {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 2px;
}

.review-rating-value {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-color);
}

.review-rating-stars input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.review-rating-stars label {
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
    color: #c8c8c8;
    transition: color 0.2s ease;
}

.review-rating-stars label:hover,
.review-rating-stars label:hover ~ label,
.review-rating-stars input:checked ~ label {
    color: #f4b400;
}

.review-submit {
    justify-self: start;
    margin-top: 2px;
}

.map-note {
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.4;
    opacity: 0.85;
}

.review-advanced {
    margin: 4px 0 2px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    padding: 8px 10px;
    background: rgba(0, 0, 0, 0.02);
}

.review-advanced summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-color);
}

.review-advanced[open] summary {
    margin-bottom: 4px;
}

/* Patička + právní minimum */
.site-footer {
    max-width: 1200px;
    margin: 8px auto 0;
    padding: 16px 20px 22px;
    font-size: 14px;
    display: grid;
    gap: 10px;
}

.footer-copy {
    margin: 0 0 10px;
    text-align: center;
    opacity: 0.9;
}

.footer-partner {
    margin: 0 0 12px;
    display: flex;
    justify-content: center;
}

#partners-list {
    display: grid;
    gap: 10px;
}

#partners-list .partner-card {
    width: 100%;
    min-height: 66px;
    padding: 10px 12px;
    box-sizing: border-box;
}

#partners-list .partner-card img {
    width: 124px;
    height: 42px;
    flex: 0 0 124px;
    padding: 4px;
}

#partners-list .partner-text {
    min-height: 42px;
    justify-content: center;
}

#partners-list .partner-text small {
    line-height: 1.25;
}

.partner-card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.partner-card img {
    width: 96px;
    height: 34px;
    border-radius: 8px;
    object-fit: contain;
    background: #ffffff;
    padding: 2px;
}

.partner-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.partner-text strong {
    font-size: 13px;
}

.partner-text small {
    font-size: 11px;
    opacity: 0.75;
}

.partner-card:hover,
.partner-card:focus {
    border-color: var(--accent-color);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
    outline: none;
}

[data-theme='dark'] .partner-card {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
}

.footer-legal {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    align-items: start;
}

.footer-legal-item {
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    padding: 8px 10px;
    background: rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
    width: 100%;
}

.footer-legal-item summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.3;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 7px;
}

.footer-legal-item summary::-webkit-details-marker {
    display: none;
}

.footer-legal-item summary::before {
    content: '▸';
    font-size: 12px;
    opacity: 0.75;
    transform: translateY(-1px);
}

.footer-legal-item[open] summary::before {
    content: '▾';
}

.footer-legal-item p {
    margin: 8px 0 0;
    line-height: 1.45;
}

.footer-legal-item > div {
    margin-top: 8px;
    line-height: 1.55;
}

@media (max-width: 920px) {
    .footer-legal {
        grid-template-columns: 1fr;
    }

    #partners-list .partner-card img {
        width: 112px;
        height: 38px;
        flex-basis: 112px;
    }
}

.info-note {
    margin: 10px 0 0;
    padding: 10px 12px;
    background: rgba(255, 140, 0, 0.1);
    border-left: 3px solid var(--accent-color);
    border-radius: 4px;
    font-size: 14px;
    color: var(--text-color);
}

.work-hours {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.6;
}

.work-hours-card .info-note {
    margin: 8px 0 0;
}

.work-hours-box {
    margin: 12px 0;
}

.workweek-status {
    margin: 4px 0 10px;
    font-size: 13px;
    line-height: 1.4;
    opacity: 0.9;
}

.workweek-meta {
    margin: 2px 0;
    font-size: 12px;
    line-height: 1.35;
    opacity: 0.85;
}

.workweek-meta#workweek-api-status {
    display: inline-flex;
    align-items: center;
    min-height: 14px;
    opacity: 1;
}

.workweek-meta.is-fallback {
    color: inherit;
    font-weight: 400;
}

.workweek-api-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid rgba(0, 0, 0, 0.25);
}

.workweek-api-dot.is-online {
    background: #1f8f4e;
    box-shadow: 0 0 0 3px rgba(31, 143, 78, 0.22);
}

.workweek-api-dot.is-offline {
    background: #b03a2e;
    box-shadow: 0 0 0 3px rgba(176, 58, 46, 0.2);
}

.workweek-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.workweek-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 10px;
    align-items: center;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.03);
    padding: 8px 10px;
}

.workweek-day {
    font-weight: 700;
}

.workweek-value {
    font-weight: 600;
}

.workweek-reason {
    grid-column: 1 / -1;
    font-size: 12px;
    opacity: 0.85;
}

.workweek-item.is-open .workweek-value {
    color: #1f8f4e;
}

.workweek-item.is-closed .workweek-value {
    color: #b03a2e;
}

[data-theme='dark'] .workweek-item {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
}

.business-details {
    margin: 8px 0 0;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 8px;
}

.business-details p {
    margin: 6px 0;
    font-size: 14px;
    line-height: 1.4;
}

.business-details a {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    margin-left: 6px;
    border-radius: 999px;
    border: 1px solid rgba(255, 140, 0, 0.35);
    background: rgba(255, 140, 0, 0.14);
    color: #8b4513;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.2s ease;
}

.business-details a:hover,
.business-details a:focus {
    background: var(--accent-color);
    color: #ffffff;
    border-color: var(--accent-color);
    outline: none;
}

[data-theme='dark'] .business-details a {
    border-color: rgba(255, 174, 66, 0.5);
    background: rgba(255, 174, 66, 0.2);
    color: #ffe7c7;
}

/* Oblast pusobnosti - abecedni filtr */
.alphabet-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.alphabet-btn {
    border: 1px solid var(--accent-color);
    background: transparent;
    color: var(--text-color);
    border-radius: 999px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
    transition: all 0.2s ease;
}

.alphabet-btn:hover {
    background: rgba(255, 140, 0, 0.12);
}

.alphabet-btn:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.alphabet-btn.is-active {
    background: var(--accent-color);
    color: #ffffff;
}

.alphabet-active {
    margin: 6px 0 10px;
    font-size: 14px;
    font-weight: 600;
}

.oblast-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
    columns: 2;
    column-gap: 24px;
}

.oblast-list li {
    margin: 0 0 6px;
    break-inside: avoid;
}

.oblast-item-btn {
    width: 100%;
    text-align: left;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-color);
    padding: 6px 10px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.oblast-item-btn:hover {
    border-color: var(--accent-color);
    background: rgba(255, 140, 0, 0.12);
}

.oblast-item-btn:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: -1px;
    background: rgba(255, 140, 0, 0.15);
}

.map-selected {
    margin: 10px 0 0;
    font-size: 14px;
    color: var(--text-color);
}

.map-mode-controls {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 12px;
}

.map-mode-btn {
    border: 1px solid var(--accent-color);
    background: transparent;
    color: var(--text-color);
    border-radius: 999px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
    transition: all 0.2s ease;
}

.map-mode-btn:hover {
    background: rgba(255, 140, 0, 0.12);
}

.map-mode-btn:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.map-mode-btn.is-active {
    background: var(--accent-color);
    color: #ffffff;
}

[data-theme='dark'] .top-container {
    background-color: rgba(44, 23, 10, 0.56);
    border-color: rgba(255, 255, 255, 0.16);
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 20px 20px;
}

@media (prefers-reduced-motion: reduce) {
    main section {
        animation: none;
    }

    .card {
        transition: none;
    }

    .service-modal,
    .service-modal-backdrop {
        transition: none;
    }
}

/* MOBIL */
@media (max-width: 768px) {
    :root {
        --header-offset: 76px;
    }

    .top-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 8px 12px;
    }

    .logo img {
        width: 46px;
    }

    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
        align-self: center;
        margin-left: auto;
    }

    #uvod {
        padding: 30px 16px;
    }

    #uvod h1 {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }

    .cta-buttons {
        gap: 10px;
    }

    .btn {
        padding: 10px 18px;
        font-size: 14px;
    }

    #o-mne {
        padding: 24px 14px;
    }

    .o-mne-card {
        padding: 24px;
    }

    .o-mne-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .o-mne-text {
        padding-right: 0;
    }

    .o-mne-image img {
        max-width: 280px;
    }

    #sluzby {
        padding: 24px 14px;
    }

    #recenze,
    #zasady,
    #cookies {
        padding: 22px 14px;
    }

    #spoluprace {
        padding: 8px 14px 22px;
    }

    .spoluprace-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .contest-duo-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .contest-main-card,
    .contest-side-card,
    .contest-rules-card {
        grid-column: auto;
        grid-row: auto;
    }

    .spoluprace-steps,
    .reference-cards {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .kontakt-container {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 18px;
    }

    .left-col,
    .right-col {
        gap: 16px;
    }

    .card,
    .contact-form-container {
        padding: 16px;
    }

    .service-modal {
        padding: 18px;
    }

    iframe {
        height: 240px;
    }

    .calendar-toolbar .btn {
        width: 100%;
        justify-content: center;
    }

    .reservation-calendar-frame {
        height: min(72vh, 620px);
    }

    .calendar-modal {
        width: min(980px, 100%);
        max-height: calc(100dvh - 22px);
        padding: 16px;
    }

    .reservation-calendar-modal-frame {
        min-height: min(72dvh, 680px);
    }

    .alphabet-filter,
    .map-mode-controls {
        gap: 6px;
    }

    .alphabet-btn,
    .map-mode-btn {
        padding: 6px 9px;
        font-size: 12px;
    }

    .oblast-list {
        columns: 1;
        column-gap: 0;
    }

    .oblast-item-btn {
        font-size: 13px;
        padding: 7px 9px;
    }

    .map-selected,
    .alphabet-active {
        font-size: 13px;
    }

    .quick-request-buttons {
        gap: 6px;
    }

    .quick-request-btn {
        font-size: 12px;
        padding: 6px 10px;
    }

    .review-form-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

@media (max-width: 420px) {
    :root {
        --header-offset: 72px;
    }

    .top-container {
        padding: 10px 12px;
    }

    .logo img {
        width: 42px;
    }

    #uvod h1 {
        font-size: 1.25rem;
    }

    iframe {
        height: 210px;
    }

    .reservation-calendar-frame {
        height: min(74vh, 600px);
    }

    .calendar-modal-backdrop {
        padding: 10px;
    }

    .calendar-modal {
        border-radius: 12px;
        max-height: calc(100dvh - 12px);
        padding: 14px;
    }

    .reservation-calendar-modal-frame {
        min-height: min(70dvh, 620px);
    }

    .mobile-menu {
        width: min(92vw, 320px);
    }
}

section[id] {
    scroll-margin-top: calc(var(--header-offset) + 12px);
}
/* ===== Cookie lišta a souhlas s reklamou ===== */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 4000;
    max-width: 720px;
    margin: 0 auto;
    background: var(--card-bg);
    color: var(--text-color);
    border-radius: 14px;
    border-top: 4px solid var(--accent-color);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
    display: none;
}

.cookie-banner.is-open {
    display: block;
}

.cookie-banner-inner {
    padding: 18px 20px;
    display: grid;
    gap: 10px;
}

.cookie-banner-inner h3 {
    margin: 0;
    font-size: 18px;
}

.cookie-banner-inner p {
    margin: 0;
    line-height: 1.55;
    font-size: 14px;
}

.cookie-banner-inner a {
    color: var(--accent-color);
}

.cookie-banner-options {
    display: grid;
    gap: 6px;
    font-size: 14px;
}

.cookie-banner-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cookie-banner-actions .btn {
    padding: 9px 16px;
    font-size: 14px;
}

.footer-cookie-btn {
    background: none;
    border: 1px solid currentColor;
    color: inherit;
    border-radius: 18px;
    padding: 7px 14px;
    margin-top: 10px;
    cursor: pointer;
    font-size: 13px;
    transition: 0.3s;
}

.footer-cookie-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.ad-badge {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.65;
    margin-bottom: 6px;
}

.ad-consent-note {
    font-size: 13px;
    opacity: 0.8;
    margin: 0;
    padding: 14px;
    text-align: center;
}

.ad-consent-note .ad-consent-open {
    background: none;
    border: none;
    color: var(--accent-color);
    cursor: pointer;
    text-decoration: underline;
    font-size: 13px;
    padding: 0;
}

/* Atribut hidden musi vyhrat nad display styly (cookie lista, reklamni sloty) */
.cookie-banner [hidden],
.consent-ad-slot [hidden] {
    display: none !important;
}
