/* Ubytování Praha – Podolí
   Paleta: krémová fasáda, zeleň zahrady, terakotová střecha. */

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

:root {
    --paper: #f6f2ea;
    --paper-2: #ede6d8;
    --card: #fffdf9;
    --ink: #1e2a25;
    --ink-2: #4d5a54;
    --ink-3: #75807a;
    --line: #ddd4c3;
    --green: #2e5a4c;
    --green-dark: #1f4237;
    --green-soft: #dfe8df;
    --leaf: #7fa36b;
    --terra: #c4623a;
    --terra-dark: #a64f2c;
    --danger: #b3261e;

    --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
    --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --radius: 18px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgb(30 42 37 / 6%), 0 8px 28px rgb(30 42 37 / 8%);
    --shadow-lg: 0 2px 4px rgb(30 42 37 / 6%), 0 24px 60px rgb(30 42 37 / 16%);
    --container: 1200px;
    --gutter: clamp(16px, 4vw, 40px);
    --header-h: 76px;
}

/* --- základ --- */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
    -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: .18em; }
a:hover { color: var(--terra-dark); }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
    margin: 0 0 .5em;
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.015em;
    font-variation-settings: "SOFT" 50, "opsz" 72;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.3rem; font-variation-settings: "SOFT" 50, "opsz" 24; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--green); }
p { margin: 0 0 1em; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: 16px; top: -60px;
    z-index: 100;
    padding: .6em 1em;
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 24px; height: 24px; flex: none; }
.icon-sm { width: 18px; height: 18px; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45em;
    margin-bottom: .9rem;
    color: var(--terra-dark);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.lead { color: var(--ink-2); font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 62ch; }

/* --- tlačítka --- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55em;
    min-height: 50px;
    padding: .7em 1.4em;
    border: 1.5px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgb(46 90 76 / 25%); }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-ghost { border-color: var(--line); background: var(--card); color: var(--ink); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-sm { min-height: 42px; padding: .5em 1.1em; font-size: .92rem; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .35em;
    font-weight: 700;
    text-decoration: none;
}
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* --- hlavička --- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgb(246 242 234 / 88%);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgb(30 42 37 / 6%); }

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
    margin-right: auto;
}
.brand:hover { color: var(--ink); }
.brand-mark { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-serif); font-size: 1.28rem; font-weight: 600; letter-spacing: -.01em; }
.brand-tagline { margin-top: 3px; color: var(--terra-dark); font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 22px; }
.nav-links, .lang-switch { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-links a {
    display: block;
    padding: .45em .75em;
    border-radius: 999px;
    color: var(--ink-2);
    font-weight: 600;
    font-size: .97rem;
    text-decoration: none;
    transition: color .2s, background-color .2s;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); background: var(--paper-2); }

.lang-switch { padding-left: 18px; border-left: 1px solid var(--line); }
.lang-switch a {
    display: block;
    padding: .3em .45em;
    color: var(--ink-3);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-decoration: none;
}
.lang-switch a[aria-current] { color: var(--green); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .35em; }
.lang-switch a:hover { color: var(--ink); }

.nav-toggle {
    display: none;
    width: 46px; height: 46px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--card);
    color: var(--ink);
    cursor: pointer;
}

@media (max-width: 1080px) {
    .nav-toggle { display: grid; }
    .site-nav {
        position: absolute;
        inset: 100% 0 auto;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 16px var(--gutter) 24px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 20px 40px rgb(30 42 37 / 10%);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity .2s, transform .2s, visibility 0s .2s;
    }
    .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
    .nav-links { flex-direction: column; }
    .nav-links a { padding: .7em .9em; font-size: 1.05rem; }
    .lang-switch { padding: 8px 0 0; border: 0; border-top: 1px solid var(--line); }
    .lang-switch a { padding: .6em .9em; font-size: .95rem; }
    .site-nav .btn { width: 100%; }
}

/* --- hero --- */

.hero { position: relative; padding: clamp(28px, 5vw, 72px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.hero::before {
    content: "";
    position: absolute;
    /* elipsa closest-side vybledne přesně na hranách boxu → žádný ostrý okraj */
    inset: 15% -15% 0 40%;
    background: radial-gradient(closest-side, rgb(127 163 107 / 18%), transparent);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}
.hero-text h1 { margin-bottom: .4em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 38px; }

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: 14px 36px;
    margin: 0;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}
.hero-facts div { display: flex; flex-direction: column; }
.hero-facts dt { font-family: var(--font-serif); font-size: 1.45rem; font-weight: 600; color: var(--green); white-space: nowrap; }
.hero-facts dd { margin: 0; color: var(--ink-3); font-size: .9rem; }

.hero-media { position: relative; padding: 0 0 48px 40px; }
.hero-photo { margin: 0; border-radius: 28px 28px 28px 120px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5 / 4; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-small {
    position: absolute;
    left: 0; bottom: 0;
    width: 38%;
    margin: 0;
    border: 6px solid var(--paper);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3;
}
.hero-photo-small img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
    position: absolute;
    top: 22px; right: 22px;
    display: inline-flex;
    align-items: center;
    gap: .5em;
    margin: 0;
    padding: .55em 1em;
    background: rgb(255 253 249 / 92%);
    border-radius: 999px;
    box-shadow: var(--shadow);
    color: var(--green);
    font-size: .9rem;
    font-weight: 700;
}

@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-media { order: -1; padding: 0 0 36px 24px; }
    .hero-photo { border-radius: 22px 22px 22px 80px; }
}
@media (max-width: 520px) {
    .hero-facts { grid-template-columns: repeat(2, auto); }
    .hero-actions .btn { flex: 1 1 100%; }
}

/* --- sekce --- */

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tint { background: var(--paper-2); }
.section-dark { background: var(--green-dark); color: #eef2ec; }
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: #e9a07f; }
.section-dark .lead { color: #c9d6cd; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }

/* o domě */
.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.about-text p:not(.eyebrow) { color: var(--ink-2); }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.feature {
    padding: 24px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color .2s, transform .2s;
}
.feature:hover { border-color: var(--leaf); transform: translateY(-2px); }
.feature h3 { margin: 14px 0 6px; font-size: 1.12rem; }
.feature p { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.55; }
.feature-icon {
    display: inline-grid;
    place-items: center;
    width: 46px; height: 46px;
    border-radius: 14px;
    background: var(--green-soft);
    color: var(--green);
}
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }

/* byty */
.apartments {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.apartment {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .25s, box-shadow .25s;
}
.apartment:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.apartment-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.apartment-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.apartment:hover .apartment-media img { transform: scale(1.04); }
.apartment-count {
    position: absolute;
    right: 14px; bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: .4em;
    padding: .35em .8em;
    background: rgb(30 42 37 / 72%);
    color: #fff;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 700;
    backdrop-filter: blur(6px);
}
.apartment-body { display: flex; flex: 1; flex-direction: column; padding: 22px 24px 24px; }
.apartment-body h3 { margin-bottom: 8px; font-size: 1.5rem; }
.apartment-body p { color: var(--ink-2); font-size: .97rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; padding: 0; list-style: none; }
.tags li { padding: .25em .75em; background: var(--green-soft); color: var(--green-dark); border-radius: 999px; font-size: .8rem; font-weight: 700; }
.apartment-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }

/* galerie */
.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: thin;
}
.tabs button {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: .5em;
    min-height: 44px;
    padding: .5em 1.1em;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    background: var(--card);
    color: var(--ink-2);
    font: inherit;
    font-weight: 700;
    font-size: .95rem;
    cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s;
}
.tabs button:hover { border-color: var(--green); color: var(--green); }
.tabs button[aria-selected="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.tab-count { padding: 0 .5em; background: rgb(30 42 37 / 8%); border-radius: 999px; font-size: .78rem; }
.tabs button[aria-selected="true"] .tab-count { background: rgb(255 255 255 / 20%); }

/* bez JS jsou vidět všechny galerie pod sebou, záložky se skryjí */
html:not(.js) .tabs { display: none; }
.js .gallery-panel[data-hidden] { display: none; }
.js .gallery-title { display: none; }
.gallery-panel + .gallery-panel { margin-top: 40px; }
.js .gallery-panel + .gallery-panel { margin-top: 0; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
.gallery-grid a {
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--paper-2);
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; }
.gallery-grid a:hover img { transform: scale(1.05); }
.js .gallery-panel:not([data-hidden]) .gallery-grid { animation: fade-in .35s ease both; }
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } }

/* ceník */
.pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.pricing-long { display: flex; align-items: flex-start; gap: .6em; margin-top: 24px; color: #fff; font-weight: 600; }
.pricing-long .icon { margin-top: .2em; color: #e9a07f; }
.price-card { padding: clamp(24px, 4vw, 40px); background: var(--card); color: var(--ink); border-radius: 24px; box-shadow: var(--shadow-lg); }
.price-list { margin: 0 0 28px; }
.price-list div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.price-list dt { font-weight: 600; }
.price-list dd { margin: 0; color: var(--ink-2); text-align: right; }
.price-list strong { font-family: var(--font-serif); font-size: 1.6rem; color: var(--green); }
.price-list small { display: block; color: var(--ink-3); font-size: .82rem; }
.price-tax { border-bottom: 0 !important; }
.price-table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius-sm); overflow: hidden; }
.price-table caption { padding-bottom: 10px; text-align: left; font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; }
.price-table th, .price-table td { padding: 10px 16px; border-bottom: 1px solid var(--paper-2); }
.price-table th { text-align: left; font-weight: 600; color: var(--ink-2); }
.price-table td { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.price-table tr:last-child > * { border-bottom: 0; }
.price-note { margin: 10px 0 0; color: var(--ink-3); font-size: .85rem; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }

/* lokalita */
.location { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 80px); align-items: stretch; }
.location-address { display: flex; gap: 12px; margin: 0 0 24px; font-style: normal; font-weight: 700; }
.location-address .icon { color: var(--terra); }
.transport { display: grid; gap: 16px; margin: 0 0 28px; padding: 0; list-style: none; }
.transport li { display: flex; gap: 14px; align-items: flex-start; }
.transport strong { display: block; }
.transport p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.map-links { display: flex; flex-wrap: wrap; gap: 10px; }
.map { min-height: 420px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); background: var(--paper-2); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }
@media (max-width: 900px) { .location { grid-template-columns: 1fr; } .map, .map iframe { min-height: 340px; } }

/* kontakt */
.contact { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-form {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 4px 16px;
    margin-top: 28px;
    padding: clamp(20px, 3.5vw, 36px);
    background: var(--card);
    border-radius: 24px;
    box-shadow: var(--shadow);
}
.field { grid-column: span 3; display: flex; flex-direction: column; }
.field-wide { grid-column: 1 / -1; }
.field-third { grid-column: span 2; }
.field label { margin-bottom: 6px; font-weight: 700; font-size: .92rem; }
.req { color: var(--terra); }
.field input, .field select, .field textarea {
    width: 100%;
    min-height: 50px;
    padding: .7em .9em;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    color: var(--ink);
    font: inherit;
    font-size: 1rem;
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c9bea9; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--green);
    background: #fff;
    box-shadow: 0 0 0 4px rgb(46 90 76 / 15%);
}
.field [aria-invalid="true"] { border-color: var(--danger); background: #fff6f5; }
.field-error { min-height: 1.4em; margin: 4px 0 6px; color: var(--danger); font-size: .85rem; font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 8px; }
.form-privacy { margin: 0; color: var(--ink-3); font-size: .85rem; flex: 1 1 220px; }
.form-status:empty { display: none; }
.form-status { margin: 16px 0 0; padding: 14px 18px; border-radius: 12px; font-weight: 600; background: var(--green-soft); color: var(--green-dark); }
.form-status.is-error { background: #fbe9e7; color: var(--danger); }
.contact-form.is-sent .field, .contact-form.is-sent .form-footer { display: none; }
@media (max-width: 640px) {
    .field, .field-third { grid-column: 1 / -1; }
}

.contact-card {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    padding: 32px;
    background: var(--green-dark);
    color: #eef2ec;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}
.contact-card h3 { color: #fff; }
.contact-list { display: grid; gap: 18px; margin: 20px 0 24px; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 14px; }
.contact-list .icon { margin-top: 2px; color: #e9a07f; }
.contact-list span { display: block; color: #a9bdb1; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-list a { color: #fff; font-weight: 700; font-size: 1.08rem; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: #e9a07f; }
.billing { border-top: 1px solid rgb(255 255 255 / 14%); padding-top: 16px; font-size: .92rem; }
.billing summary { cursor: pointer; font-weight: 700; color: #fff; }
.billing dl { margin: 14px 0 0; }
.billing dl div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.billing dt { color: #a9bdb1; }
.billing dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .contact-card { position: static; } }

/* patička */
.site-footer { padding: 44px 0; background: var(--paper); border-top: 1px solid var(--line); color: var(--ink-3); font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.footer-inner p { margin: 0; }
.brand-footer .brand-mark { width: 40px; height: 40px; }

/* --- lightbox --- */

.lightbox {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgb(16 22 19 / 96%);
    color: #fff;
}
.lightbox::backdrop { background: rgb(16 22 19 / 80%); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr; animation: fade-in .2s ease both; }
.lightbox-top { display: flex; align-items: center; gap: 16px; padding: 12px 16px 12px 24px; }
.lightbox-title { margin: 0; font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600; }
.lightbox-counter { margin: 0 auto 0 0; color: #a9bdb1; font-size: .9rem; font-variant-numeric: tabular-nums; }
.lightbox-stage { display: grid; place-items: center; min-height: 0; padding: 0 72px 24px; touch-action: pan-y pinch-zoom; }
.lightbox-stage img { width: auto; max-width: 100%; max-height: calc(100dvh - 96px); object-fit: contain; border-radius: 8px; user-select: none; transition: opacity .2s; }
.lightbox-stage img.is-loading { opacity: .35; }
.lightbox-btn {
    display: grid;
    place-items: center;
    width: 48px; height: 48px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgb(255 255 255 / 10%);
    color: #fff;
    cursor: pointer;
    transition: background-color .2s;
}
.lightbox-btn:hover { background: rgb(255 255 255 / 22%); }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
@media (max-width: 640px) {
    .lightbox-stage { padding: 0 8px 80px; }
    .lightbox-stage img { max-height: calc(100dvh - 160px); }
    .lightbox-prev, .lightbox-next { top: auto; bottom: 16px; transform: none; }
    .lightbox-prev { left: calc(50% - 60px); }
    .lightbox-next { right: calc(50% - 60px); }
}

/* --- tisk --- */
@media print {
    .site-header, .hero-media, .map, .contact-form, .lightbox, #galerie { display: none !important; }
    .section-dark { background: none; color: var(--ink); }
    .price-card, .contact-card { box-shadow: none; }
}
