:root {
    --bg: #260b00;
    --bg-deep: #160600;
    --panel: #351100;
    --panel-soft: #451b08;
    --line: #875412;
    --gold: #f5c77f;
    --gold-soft: #d9a65d;
    --text: #f8ead0;
    --muted: #d9c3a2;
    --red: #8f1729;
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--text);
    background: #000 url("https://www.cmklub.cz/images/textura1.jpg") repeat;
    font-family: "Titillium Web", Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 0, rgba(137, 70, 16, 0.28), transparent 36rem),
        linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.58));
    z-index: -1;
}

a {
    color: var(--gold);
    text-decoration: none;
}

a:hover {
    color: #ffe5ad;
}

img {
    max-width: 100%;
    display: block;
}

.shell {
    width: min(100% - 28px, 960px);
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 8px;
    z-index: 20;
    padding: 8px 12px;
    background: var(--gold);
    color: var(--bg-deep);
}

.skip-link:focus {
    left: 8px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(34, 8, 0, 0.94);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(10px);
}

.header-inner {
    min-height: 74px;
    display: grid;
    grid-template-columns: 178px 1fr auto;
    gap: 18px;
    align-items: center;
}

.brand img {
    width: 170px;
    height: auto;
}

.brand span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
}

.top-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
}

.top-nav a {
    color: var(--gold);
}

.header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

.opening-pill {
    min-height: 40px;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding: 6px 10px;
    border: 1px solid rgba(245, 199, 127, 0.28);
    border-radius: 6px;
    color: #ffe4ab;
    background: rgba(0, 0, 0, 0.16);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.opening-pill small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

.lang-link,
.call-pill,
.whatsapp-pill,
.button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(245, 199, 127, 0.5);
    border-radius: 6px;
    padding: 8px 13px;
    color: var(--text);
    background: rgba(0, 0, 0, 0.16);
    font-weight: 700;
}

.call-pill {
    white-space: nowrap;
}

.whatsapp-pill {
    width: 40px;
    padding: 0;
    color: #25d366;
}

.whatsapp-pill svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.button.primary {
    border-color: #b83247;
    background: linear-gradient(180deg, #aa2338, #741222);
    color: white;
}

.hero {
    border-bottom: 1px solid rgba(135, 84, 18, 0.9);
    padding: 56px 0 42px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
    gap: 34px;
    align-items: center;
}

.hero-copy {
    max-width: 680px;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    margin: 0;
    max-width: 780px;
    color: #ffe4ab;
    font-size: 42px;
    line-height: 1.12;
    letter-spacing: 0;
}

h2 {
    margin: 0;
    color: #ffe4ab;
    font-size: 28px;
    line-height: 1.18;
    letter-spacing: 0;
}

h3 {
    margin: 0 0 8px;
    color: var(--gold);
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: 0;
}

.hero-copy p {
    max-width: 650px;
    color: var(--muted);
    font-size: 18px;
}

.hero-actions,
.center-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.center-actions {
    justify-content: center;
}

.hero-photo {
    position: relative;
    aspect-ratio: 1200 / 630;
    min-height: 260px;
    overflow: hidden;
    border: 1px solid rgba(245, 199, 127, 0.35);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.18);
    box-shadow: var(--shadow);
}

.hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.46));
    pointer-events: none;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

.hero-photo-badges {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.hero-photo-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 6px;
    color: white;
    background: rgba(35, 9, 0, 0.78);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.15;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.section {
    padding: 48px 0;
    border-bottom: 1px solid rgba(135, 84, 18, 0.8);
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 24px;
    text-align: center;
}

.section-heading p {
    margin: 12px 0 0;
    color: var(--muted);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}

.service-card,
.review-card,
.blog-teaser {
    border: 1px solid rgba(245, 199, 127, 0.25);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(69, 27, 8, 0.88), rgba(35, 9, 0, 0.9));
    box-shadow: var(--shadow);
}

.service-card {
    min-height: 176px;
    padding: 18px;
}

.service-dot {
    width: 30px;
    height: 3px;
    margin-bottom: 16px;
    background: var(--gold);
}

.service-card p,
.review-card p,
.blog-teaser p,
.where-copy p,
.about-grid p,
.note {
    color: var(--muted);
}

.service-girls {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}

.service-girls a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 9px;
    border: 1px solid rgba(245, 199, 127, 0.32);
    border-radius: 6px;
    color: #351100;
    background: #f6c386;
    font-size: 13px;
    font-weight: 800;
}

.girls-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
}

.girl-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(245, 199, 127, 0.45);
    border-radius: 6px;
    background: #140600;
    min-height: 445px;

}

.girl-card a {
    display: block;
    color: var(--text);
}

.girl-card {
    scroll-margin-top: 120px;
}

.girl-card:target {
    border-color: #f6c386;
    box-shadow: 0 0 0 3px rgba(246, 195, 134, 0.2), var(--shadow);
}

.girl-title {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
    color: #351100;
    background: #f6c386;
    font-weight: 800;
    text-align: center;
}

.girl-photo-wrap {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.35);
}

.girl-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.girl-meta {
    min-height: 58px;
    display: flex;
    align-items: center;
    padding: 9px;
    color: var(--muted);
    font-size: 13px;
    background: rgba(0, 0, 0, 0.35);
}

.girl-card.is-muted .girl-photo {
    filter: grayscale(1);
    opacity: 0.68;
}

.girl-badge {
    position: absolute;
    left: 8px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    max-width: calc(100% - 16px);
    padding: 4px 8px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 6px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.32);
}

.girl-badge-here {
    bottom: 8px;
    background: rgba(143, 23, 41, 0.94);
}

.girl-badge-chat {
    top: 8px;
    background: rgba(37, 111, 86, 0.94);
}

.girl-certified {
    position: absolute;
    right: 8px;
    top: 8px;
    z-index: 2;
    width: 29px;
    height: 29px;
    object-fit: contain;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.55));
}

.status {
    color: var(--gold);
    font-weight: 800;
}

.price-tabs {
    max-width: 720px;
    margin: 0 auto;
    border: 1px solid rgba(245, 199, 127, 0.32);
    border-radius: 8px;
    background: rgba(22, 6, 0, 0.6);
    overflow: hidden;
}

.tab-list {
    display: flex;
    gap: 0;
    overflow-x: auto;
    background: rgba(0, 0, 0, 0.22);
}

.tab-button {
    flex: 1 0 130px;
    min-height: 46px;
    border: 0;
    border-right: 1px solid rgba(245, 199, 127, 0.18);
    color: var(--gold);
    background: rgba(69, 27, 8, 0.92);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.tab-button.is-active {
    color: #321000;
    background: #f6c386;
    box-shadow: inset 0 -3px 0 rgba(143, 23, 41, 0.55);
}

.tab-panel {
    display: none;
    padding: 14px;
}

.tab-panel.is-active {
    display: block;
}

.tab-panel.is-switching {
    animation: pricePanelIn 260ms ease both;
}

.tab-panel.is-switching .price-table tbody tr {
    animation: priceRowIn 320ms ease both;
}

.tab-panel.is-switching .price-table tbody tr:nth-child(2) {
    animation-delay: 35ms;
}

.tab-panel.is-switching .price-table tbody tr:nth-child(3) {
    animation-delay: 70ms;
}

.tab-panel.is-switching .price-table tbody tr:nth-child(4) {
    animation-delay: 105ms;
}

@keyframes pricePanelIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes priceRowIn {
    from {
        background-color: rgba(246, 195, 134, 0.18);
    }
    to {
        background-color: transparent;
    }
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    color: var(--text);
    font-size: 15px;
}

.price-table th,
.price-table td {
    padding: 13px 12px;
    border-bottom: 1px solid rgba(245, 199, 127, 0.16);
    text-align: center;
}

.price-table th:first-child,
.price-table td:first-child {
    text-align: left;
}

.price-table thead th {
    color: #ffe6b8;
    background: rgba(135, 84, 18, 0.45);
}

.price-table tbody th {
    color: var(--gold);
}

.note {
    max-width: 720px;
    margin: 12px auto 0;
    text-align: center;
    font-size: 14px;
}

.where-grid,
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 22px;
    align-items: stretch;
}

.where-copy {
    padding: 8px 0;
}

.map-wrap {
    min-height: 300px;
    border: 1px solid rgba(245, 199, 127, 0.34);
    border-radius: 8px;
    overflow: hidden;
    background: #0d0400;
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: block;
    border: 0;
}

.about-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
}

.blog-teaser {
    padding: 18px;
}

.blog-teaser-label {
    margin-bottom: 8px;
    color: #ffe4ab;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.review-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.review-card {
    padding: 18px;
}

.review-card span {
    color: var(--gold);
    font-weight: 800;
}

.site-footer {
    padding: 38px 0 46px;
    text-align: center;
    color: var(--muted);
}

.footer-logo {
    width: min(220px, 80vw);
    display: inline-block;
    margin-bottom: 10px;
}

.footer-logo img {
    width: 100%;
    height: auto;
}

.footer-social {
    display: flex;
    justify-content: center;
    margin: 4px 0 14px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(245, 199, 127, 0.3);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.18);
}

.footer-social img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

@media (max-width: 820px) {
    .header-inner {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 12px 0;
        text-align: center;
    }

    .brand {
        justify-self: center;
    }

    .top-nav {
        order: 3;
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-bottom: 4px;
    }

    .top-nav a {
        flex: 0 0 auto;
    }

    .header-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .opening-pill {
        align-items: center;
    }

    .hero {
        padding: 38px 0 34px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-copy,
    .hero-copy p {
        max-width: none;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-photo {
        width: min(100%, 520px);
        min-height: 230px;
        margin: 0 auto;
        order: -1;
    }

    .hero-photo img {
        min-height: 230px;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 24px;
    }

    .service-grid,
    .girls-grid,
    .review-list,
    .where-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .girls-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .where-grid,
    .about-grid {
        gap: 16px;
    }
}

@media (max-width: 460px) {
    .shell {
        width: min(100% - 20px, 960px);
    }

    .site-header {
        position: sticky;
        top: 0;
    }

    .header-inner {
        gap: 7px;
        min-height: 0;
        padding: 8px 0 10px;
    }

    .brand img {
        width: 128px;
        margin: 0 auto;
    }

    .brand span {
        font-size: 10px;
    }

    .top-nav {
        gap: 8px 13px;
        justify-content: center;
        font-size: 13px;
    }

    .header-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr) 38px;
        gap: 6px;
        align-items: stretch;
    }

    .opening-pill {
        grid-column: 1 / -1;
        min-height: 32px;
        padding: 5px 8px;
        font-size: 12px;
        white-space: normal;
    }

    .opening-pill small {
        font-size: 10px;
    }

    .lang-link,
    .call-pill,
    .whatsapp-pill {
        min-height: 34px;
        font-size: 13px;
    }

    .lang-link {
        grid-column: 1;
        padding: 6px 0;
    }

    .call-pill {
        grid-column: 2;
        width: 100%;
        min-width: 0;
        padding: 6px 4px;
    }

    .whatsapp-pill {
        grid-column: 3;
        width: 34px;
        padding: 0;
    }

    .whatsapp-pill svg {
        width: 30px;
        height: 30px;
    }

    .hero {
        padding-top: 26px;
    }

    .hero-photo {
        min-height: 190px;
    }

    .hero-photo img {
        min-height: 190px;
    }

    .hero-photo-badges {
        left: 8px;
        right: 8px;
        bottom: 8px;
        gap: 5px;
    }

    .hero-photo-badges span {
        min-height: 25px;
        padding: 4px 7px;
        font-size: 11px;
    }

    .section {
        padding: 38px 0;
    }

    .girls-grid {
        gap: 8px;
        align-items: start;
    }

    .girl-card {
        height: auto;
        min-height: 0;
        align-self: start;
    }

    .girl-card a {
        height: auto;
    }

    .girl-photo-wrap {
        height: clamp(190px, 58vw, 270px);
        aspect-ratio: auto;
    }

    .girl-badge {
        left: 6px;
        min-height: 23px;
        max-width: calc(100% - 12px);
        padding: 4px 6px;
        font-size: 10px;
    }

    .girl-badge-here {
        bottom: 6px;
    }

    .girl-badge-chat {
        top: 6px;
    }

    .girl-certified {
        right: 6px;
        bottom: 6px;
    }

    .girl-meta {
        display: none;
    }

    .price-table {
        font-size: 13px;
    }

    .tab-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow: visible;
    }

    .tab-button {
        flex: none;
        min-width: 0;
        min-height: 42px;
        border-right: 1px solid rgba(245, 199, 127, 0.18);
        border-bottom: 1px solid rgba(245, 199, 127, 0.18);
        padding: 7px 5px;
        font-size: 13px;
        line-height: 1.15;
    }

    .price-table th,
    .price-table td {
        padding: 10px 7px;
    }

}
