/* ==========================================================================
   ANETA TAB. — web podle manuálu vizuální identity (Valter Design)
   Paleta, písma i rozvržení vycházejí z brandbooku:
     #FFFFFF  #F2EDEB  #CEC7BD  #948670  #F7E4B7  #24211B
     Geomanist (Regular/Book/Bold) · Saigon Light (verzálky) · Sebastian Bobby Alt
   ========================================================================== */

/* --- Písma (vlastní hosting, soubory v /public/fonts) -------------------- */

@font-face { font-family: 'Geomanist'; src: url('../fonts/geomanist-light.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geomanist'; src: url('../fonts/geomanist-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geomanist'; src: url('../fonts/geomanist-book.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geomanist'; src: url('../fonts/geomanist-medium.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geomanist'; src: url('../fonts/geomanist-bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Saigon'; src: url('../fonts/saigon-light.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
/* --- Tokeny -------------------------------------------------------------- */

:root {
    --white: #ffffff;
    --cream: #f2edeb;
    --greige: #cec7bd;
    --taupe: #948670;
    --butter: #f7e4b7;
    --ink: #24211b;

    --f-sans: 'Geomanist', 'Helvetica Neue', Arial, sans-serif;
    --f-serif: 'Saigon', 'Times New Roman', serif;
    --f-script: 'Sebastian Bobby Alt', cursive;

    --gutter: clamp(1.25rem, 4vw, 4rem);
    --section: clamp(4.5rem, 10vw, 8.5rem);
    --maxw: 1560px;
    --header-h: 5rem;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Základ -------------------------------------------------------------- */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 0.5rem);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--f-sans);
    font-weight: 400;
    font-size: clamp(0.97rem, 0.93rem + 0.2vw, 1.0625rem);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }

::selection { background: var(--butter); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.wrap {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: 0.75rem; top: -4rem; z-index: 300;
    background: var(--ink); color: var(--cream); padding: 0.6rem 1rem;
    font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
    transition: top 0.2s;
}
.skip-link:focus { top: 0.75rem; }

/* --- Typografie podle manuálu -------------------------------------------- */

/* Mikro-popisky: Geomanist Bold, verzálky, rozstrk (jako „SPRING/SUMMER 2026“) */
.label {
    font-family: var(--f-sans);
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    line-height: 1.5;
}

.kicker {
    font-family: var(--f-sans);
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--taupe);
    margin-bottom: 1.25rem;
}

/* Nadpisy: Saigon Light, VŽDY verzálky (manuál: BOOKING NOW, CONTACT ME…) */
.headline {
    font-family: var(--f-serif);
    font-weight: 300;
    font-synthesis: none;
    text-transform: uppercase;
    font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.4rem);
    line-height: 0.95;
    letter-spacing: -0.005em;
    text-wrap: balance;
}

.prose p { margin-bottom: 1.3em; max-width: 60ch; }
.prose p:last-child { margin-bottom: 0; }

/* --- Tlačítka a odkazy --------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.8rem;
    font-family: var(--f-sans);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    line-height: 1.2;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--white);
    transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }

.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }

.btn__arrow { width: 1.5rem; height: 0.75rem; transition: transform 0.3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(0.3rem); }

.link {
    display: inline-block;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid currentColor;
}
.link:hover { border-bottom-color: transparent; }

.icon-link {
    display: inline-grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    transition: color 0.25s;
}
.icon-link svg { width: 1.35rem; height: 1.35rem; }
.icon-link:hover { color: var(--taupe); }

/* --- Logo a brand mark (SVG z manuálu, barvu bere z currentColor) -------- */

.logo { display: block; color: var(--ink); margin: 0; }

.logo__img {
    display: block;
    background-color: currentColor;
    -webkit-mask: url('../img/brand/logo.svg?v=3') no-repeat left center / contain;
    mask: url('../img/brand/logo.svg?v=3') no-repeat left center / contain;
    aspect-ratio: 305.9 / 44.7;
}

.logo--header .logo__img { width: clamp(9.5rem, 15vw, 12.5rem); }
/* Velké logo v úvodu je varianta s psacím podpisem; hlavička a menu mají základní wordmark. */
.logo--hero .logo__img {
    width: min(100%, 36rem);
    -webkit-mask-image: url('../img/brand/logo-script.svg?v=2');
    mask-image: url('../img/brand/logo-script.svg?v=2');
    aspect-ratio: 311.08 / 97.3;
}

.mark {
    display: block;
    width: 3.1rem;
    aspect-ratio: 52.2 / 64.4;
    background-color: currentColor;
    -webkit-mask: url('../img/brand/mark.svg?v=2') no-repeat center / contain;
    mask: url('../img/brand/mark.svg?v=2') no-repeat center / contain;
}

/* --- Hlavička: logo vlevo, menu vpravo ------------------------------------ */

.topbar {
    position: sticky;
    top: 0;
    z-index: 90;
    background: var(--white);
    border-bottom: 1px solid var(--greige);
}

.topbar__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
    min-height: var(--header-h);
}

.nav { display: none; justify-self: end; align-items: center; gap: clamp(1.25rem, 2.2vw, 2.25rem); }

.nav__item { position: relative; display: flex; align-items: center; }

.nav__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding-block: 0.4rem;
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s;
}
.nav__link:hover { border-bottom-color: var(--ink); }
.nav__link svg, .nav__caret svg { width: 0.6rem; height: 0.4rem; transition: transform 0.25s var(--ease); }

.nav__caret { display: inline-grid; place-items: center; width: 1.5rem; height: 1.7rem; margin-left: -0.2rem; }

.nav__item:hover > .nav__link svg, .nav__item:hover > .nav__caret svg,
.nav__item.is-open > .nav__link svg, .nav__item.is-open > .nav__caret svg { transform: rotate(180deg); }

/* Rozbalovací nabídka: horní padding je „most“, aby se nabídka nezavřela při přejetí myší z odkazu dolů. */
.subnav {
    list-style: none;
    margin: 0;
    padding: 1rem 0 0.6rem;
    position: absolute;
    top: 100%;
    left: -1.25rem;
    min-width: 15.5rem;
    background: var(--white);
    border: 1px solid var(--greige);
    box-shadow: 0 1.2rem 2.4rem rgba(36, 33, 27, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.4rem);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
    z-index: 5;
}

.nav__item:hover > .subnav,
.nav__item:focus-within > .subnav,
.nav__item.is-open > .subnav { opacity: 1; visibility: visible; transform: none; }

.subnav a {
    display: block;
    padding: 0.6rem 1.25rem;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: background 0.2s;
}
.subnav a:hover, .subnav a:focus-visible { background: var(--cream); }

.topbar__tools { display: flex; align-items: center; gap: 0.6rem; justify-self: end; grid-column: 3; }

.langs {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
}
.langs a { color: var(--taupe); transition: color 0.25s; }
.langs a:hover { color: var(--ink); }
.langs a[aria-current='true'] { color: var(--ink); border-bottom: 1px solid var(--ink); }
.langs__sep { color: var(--greige); }

/* Hamburger: dvě linky, po otevření se kříží */
.burger {
    display: inline-grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
}
.burger__bars { position: relative; width: 1.55rem; height: 0.75rem; }
.burger__bars span {
    position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--ink);
    transition: transform 0.4s var(--ease);
}
.burger__bars span:nth-child(1) { top: 0; }
.burger__bars span:nth-child(2) { top: 0.7rem; }
.burger__bars.is-open span:nth-child(1) { top: 0.35rem; transform: rotate(45deg); }
.burger__bars.is-open span:nth-child(2) { top: 0.35rem; transform: rotate(-45deg); }

@media (min-width: 62rem) {
    .nav { display: flex; }
    .burger { display: none; }
}

/* --- Rozbalené menu (mobil) ----------------------------------------------- */

.menu {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    background: var(--butter);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-1rem);
    transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0.45s;
    overflow-y: auto;
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; }

.menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
}
.menu__close { display: inline-flex; align-items: center; gap: 0.8rem; }

.menu__nav { margin-block: auto; padding-block: 2rem; }
.menu__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.25rem; }
.menu__list a {
    display: block;
    font-family: var(--f-serif);
    font-weight: 300;
    text-transform: uppercase;
    font-size: clamp(2.6rem, 1rem + 9vw, 5.5rem);
    line-height: 1.05;
    transition: color 0.25s;
}
.menu__list a:hover, .menu__sub summary:hover { color: var(--taupe); }

.menu__sub summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    list-style: none;
    font-family: var(--f-serif);
    font-weight: 300;
    text-transform: uppercase;
    font-size: clamp(2.6rem, 1rem + 9vw, 5.5rem);
    line-height: 1.05;
    transition: color 0.25s;
}
.menu__sub summary::-webkit-details-marker { display: none; }
.menu__sub summary::after { content: '+'; font-family: var(--f-sans); font-weight: 300; font-size: 0.45em; flex: none; }
.menu__sub[open] summary::after { content: '–'; }
.menu__sub ul { list-style: none; margin: 0; padding: 0.35rem 0 1.25rem; display: grid; gap: 0.1rem; }
.menu__list .menu__sub ul a {
    font-family: var(--f-sans);
    font-weight: 500;
    text-transform: none;
    font-size: 1.1rem;
    line-height: 1.5;
    padding: 0.4rem 0 0.4rem 0.25rem;
}

.menu__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    padding-block: 1.5rem 2rem;
    border-top: 1px solid var(--ink);
}
.menu__contact { display: grid; gap: 0.25rem; }
.menu__tools { display: flex; align-items: center; gap: 0.75rem; }

/* --- Úvod (hero) a slideshow ---------------------------------------------- */

.hero { display: grid; grid-template-columns: 1fr; background: var(--butter); }

.hero__photo {
    position: relative;
    aspect-ratio: 4 / 5;
    background: var(--greige);
    overflow: hidden;
}

.hero__photo > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
}

.hero__panel {
    display: flex;
    flex-direction: column;
    gap: clamp(1.75rem, 3vw, 2.75rem);
    padding: clamp(2.25rem, 5vw, 4.5rem) var(--gutter);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-block: auto;
    padding-block: 1rem;
}

.hero__foot {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: end;
    gap: 1.5rem;
    margin-top: auto;
}
.hero__foot p { max-width: 56ch; font-size: 0.82rem; line-height: 1.55; }

@media (min-width: 62rem) {
    .hero {
        grid-template-columns: 1fr 1fr;
        min-height: min(calc(100svh - var(--header-h)), 58rem);
    }
    .hero__photo { aspect-ratio: auto; height: 100%; min-height: 34rem; }
}

/* Slideshow: snímky se prolínají, ovládají se tečkami (a tahem prstem / šipkami na klávesnici). */
.slideshow__track { position: absolute; inset: 0; }

.slide {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s var(--ease), visibility 0.9s;
}
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }

.slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }

/* Přechody nahoře a dole, aby popisek a ovládání držely i na světlé fotce */
.slide::before, .slide::after { content: ''; position: absolute; inset-inline: 0; pointer-events: none; }
.slide::before { top: 0; height: 22%; background: linear-gradient(to bottom, rgba(36, 33, 27, 0.4), rgba(36, 33, 27, 0)); }
.slide::after { bottom: 0; height: 34%; background: linear-gradient(to top, rgba(36, 33, 27, 0.55), rgba(36, 33, 27, 0)); }

.slide__cap {
    position: absolute;
    z-index: 2;
    top: clamp(1.1rem, 2.4vw, 2rem);
    left: var(--gutter);
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--butter);
}
.slide__cap svg { width: 1.4rem; height: 0.7rem; transition: transform 0.3s var(--ease); }
.slide:hover .slide__cap svg { transform: translateX(0.3rem); }

.slideshow__ui {
    position: absolute;
    z-index: 4;
    inset: auto 0 0 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.25rem;
    padding: clamp(1rem, 2.4vw, 1.75rem) var(--gutter);
}

.btn--light { background: var(--butter); border-color: var(--butter); color: var(--ink); }
.btn--light:hover { background: transparent; color: var(--butter); }

.dots { display: flex; align-items: center; margin-left: auto; }

.dot { width: 1.6rem; height: 1.6rem; display: grid; place-items: center; }
.dot::before {
    content: '';
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    border: 1.5px solid var(--butter);
    background: transparent;
    transition: background 0.3s, transform 0.3s var(--ease);
}
.dot:hover::before { transform: scale(1.25); }
.dot.is-active::before { background: var(--butter); }

.slideshow__pause { width: 2rem; height: 2rem; display: grid; place-items: center; color: var(--butter); }
.slideshow__pause svg { width: 0.8rem; height: 0.8rem; }
.slideshow .i-play { display: none; }
.slideshow.is-paused .i-play { display: block; }
.slideshow.is-paused .i-pause { display: none; }

/* --- Sekce ---------------------------------------------------------------- */

.section { padding-block: var(--section); }
.section--cream { background: var(--cream); }

.section__head {
    display: grid;
    gap: 1.5rem 4rem;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

@media (min-width: 62rem) {
    .section__head { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: end; }
}

.empty { padding: 3rem var(--gutter); color: var(--taupe); }

/* --- O mně: text vlevo, portrét vpravo ------------------------------------- */

.about { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
.about .headline { margin-bottom: 1.75rem; }

.about__media { margin: 0; background: var(--greige); }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; }

.about__note {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--greige);
    color: var(--taupe);
}

@media (min-width: 62rem) {
    .about { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
}

/* --- Výběr z portfolia: kategorie s pár fotkami a proklikem ----------------- */

.picks { display: grid; gap: clamp(3rem, 6vw, 5.5rem); }

.pick__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    padding-bottom: 1rem;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    border-bottom: 1px solid var(--greige);
}

.pick__title {
    font-family: var(--f-serif);
    font-weight: 300;
    font-synthesis: none;
    text-transform: uppercase;
    font-size: clamp(1.8rem, 1.2rem + 2vw, 2.9rem);
    line-height: 1;
}
.pick__title a { transition: color 0.25s; }
.pick__title a:hover { color: var(--taupe); }

.pick__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.6rem, 1.4vw, 1.25rem); }

.pick__photo { display: block; overflow: hidden; background: var(--greige); aspect-ratio: 3 / 4; }
.pick__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transition: transform 0.9s var(--ease); }
.pick__photo:hover img { transform: scale(1.04); }

/* Na mobilu se fotky listují prstem do strany (jedna a kus další naznačuje, že jsou další). */
@media (max-width: 47.99rem) {
    .pick__photos {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        margin-inline: calc(var(--gutter) * -1);
        padding-inline: var(--gutter);
        scroll-padding-inline: var(--gutter);
        scrollbar-width: none;
    }
    .pick__photos::-webkit-scrollbar { display: none; }
    .pick__photo { flex: 0 0 66%; scroll-snap-align: start; }
}

/* --- Stránka kategorie ------------------------------------------------------- */

.hero--category .hero__panel { justify-content: space-between; }
.hero__text { margin-block: auto; padding-block: 1rem; }
.hero__text .kicker { margin-bottom: 1rem; }
.hero__text .prose { margin-top: 1.5rem; }
.hero__text .hero__actions { margin-top: 2rem; padding-block: 0; }
.headline--page { font-size: clamp(3rem, 1.5rem + 6vw, 6.5rem); }

.back { display: inline-flex; align-items: center; gap: 0.5rem; align-self: flex-start; transition: color 0.25s; }
.back:hover { color: var(--taupe); }

.jump { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--ink); }
.jump a { border-bottom: 1px solid transparent; transition: border-color 0.25s; }
.jump a:hover { border-bottom-color: var(--ink); }

.svc-list { display: grid; gap: 2.25rem clamp(1.5rem, 3vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.svc { padding-top: 1.25rem; border-top: 1px solid var(--ink); }
.svc__title { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.6rem; }
.svc .prose p { margin-bottom: 0.9em; }

/* Karty balíčků a řádky ceníku */
.packages__grid { display: grid; gap: clamp(1rem, 2.5vw, 2rem); grid-template-columns: 1fr; margin-bottom: clamp(2rem, 4vw, 3rem); }

.package {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: clamp(1.75rem, 3vw, 2.75rem);
    background: var(--white);
}

.package__title {
    font-family: var(--f-serif);
    font-weight: 300;
    font-synthesis: none;
    text-transform: uppercase;
    font-size: clamp(1.9rem, 1.3rem + 1.8vw, 3rem);
    line-height: 0.98;
}

.package__price { font-weight: 700; font-size: clamp(1.25rem, 1rem + 0.8vw, 1.7rem); letter-spacing: -0.01em; }
.package__note { color: var(--taupe); }
.package__eyebrow { margin-top: 0.75rem; color: var(--taupe); }

.package__list { list-style: none; margin: 0 0 1rem; padding: 0; flex: 1; }
.package__list li { padding: 0.65rem 0; border-top: 1px solid var(--greige); }
.package__list li:last-child { border-bottom: 1px solid var(--greige); }
.package .btn { align-self: flex-start; }

@media (min-width: 62rem) {
    .packages__grid { grid-template-columns: repeat(2, 1fr); }
}

.pricing__rows { max-width: 58rem; }
.pricing__group { margin: 2rem 0 0.25rem; color: var(--taupe); }
.pricing__group:first-child { margin-top: 0; }

.priceitem {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--greige);
}

.priceitem__title { font-weight: 500; font-size: 1.02rem; }
.priceitem__note { margin-top: 0.25rem; color: var(--taupe); font-size: 0.88rem; line-height: 1.5; max-width: 50ch; }
.priceitem__price { font-weight: 700; white-space: nowrap; text-align: right; }

.pricing__note { margin-top: clamp(2rem, 4vw, 3rem); padding: 1.5rem 1.75rem; background: var(--butter); }
.pricing__note p { max-width: none; }

/* Galerie kategorie: sloupce se zachovanými poměry stran (nic se neořezává), kliknutím lightbox */
.gallery { columns: 2; column-gap: clamp(0.6rem, 1.4vw, 1.25rem); }
@media (min-width: 48rem) { .gallery { columns: 3; } }

.gallery__item {
    display: block;
    width: 100%;
    margin: 0 0 clamp(0.6rem, 1.4vw, 1.25rem);
    break-inside: avoid;
    background: var(--greige);
    overflow: hidden;
    cursor: zoom-in;
}
.gallery__item img { display: block; width: 100%; height: auto; transition: transform 0.9s var(--ease); }
.gallery__item:hover img { transform: scale(1.03); }

.more { padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--greige); }
.more__list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem 2.25rem; }
.more__list a {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--f-serif);
    font-weight: 300;
    font-synthesis: none;
    text-transform: uppercase;
    font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem);
    line-height: 1.1;
    transition: color 0.25s;
}
.more__list a:hover { color: var(--taupe); }
.more__list svg { width: 1.4rem; height: 0.7rem; }

/* --- Blog ------------------------------------------------------------------- */

.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: clamp(1.75rem, 3vw, 2.75rem); }
.post-card__media { background: var(--greige); overflow: hidden; margin-bottom: 1.25rem; }
.post-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.9s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card h3 {
    font-family: var(--f-serif); font-weight: 300; font-synthesis: none; text-transform: uppercase;
    font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); line-height: 1; margin: 0.5rem 0 0.75rem;
}
.post-card time { font-weight: 700; font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--taupe); }

.article { max-width: 46rem; margin-inline: auto; }
.article__media { margin-bottom: clamp(2rem, 4vw, 3rem); background: var(--greige); }
.article__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article .prose p { max-width: none; font-size: 1.05em; }

/* --- Právní stránka (VOP) ---------------------------------------------------- */

.legal__wrap { max-width: 52rem; }
.legal .headline { margin-bottom: clamp(2rem, 4vw, 3rem); }
.legal__body h2 { font-weight: 700; font-size: 1.05rem; margin: 2.25rem 0 0.75rem; }
.legal__body ul { margin: 0 0 1.3em; padding-left: 1.2em; max-width: 60ch; }
.legal__body li { margin-bottom: 0.4em; }
.legal__back { margin-top: 3rem; }

/* --- Kontakt ------------------------------------------------------------------ */

.contact-section { background: var(--greige); position: relative; overflow: hidden; }

/* Samostatný brandmark jako doplňující grafický prvek, jen jako jemná dekorace v pozadí */
.contact__mark {
    position: absolute;
    right: clamp(-2rem, 3vw, 5rem);
    bottom: clamp(-3rem, -2vw, -1rem);
    width: clamp(13rem, 32vw, 30rem);
    color: var(--butter);
    opacity: 0.6;
    pointer-events: none;
}
.contact { position: relative; z-index: 1; display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }
.contact .headline { margin-bottom: 1.75rem; }
.contact .kicker { color: var(--ink); }

.contact__list { margin: 2.25rem 0 0; display: grid; gap: 1.4rem; }
.contact__list dt { margin-bottom: 0.25rem; }
.contact__list dd { margin: 0; font-family: var(--f-serif); font-weight: 300; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem); line-height: 1.1; }
.contact__list a { border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.contact__list a:hover { border-bottom-color: var(--ink); }

.contact__ig {
    display: inline-flex; align-items: center; gap: 0.8rem; margin-top: 2.25rem;
    padding: 0.85rem 1.4rem; border: 1px solid var(--ink);
    font-weight: 700; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
    transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.contact__ig svg { width: 1.3rem; height: 1.3rem; flex: none; }
.contact__ig:hover { background: var(--ink); color: var(--butter); }

@media (min-width: 62rem) {
    .contact { grid-template-columns: 0.9fr 1.1fr; }
}

/* --- Formulář -------------------------------------------------------------------- */

.form { display: grid; gap: 1.5rem; }
.form__row { display: grid; gap: 1.5rem; }
@media (min-width: 40rem) { .form__row--two { grid-template-columns: 1fr 1fr; } }

.field label {
    display: block; margin-bottom: 0.55rem;
    font-weight: 700; font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.field .opt { color: var(--taupe); letter-spacing: 0.1em; }

.field input, .field textarea {
    width: 100%; font: inherit; color: var(--ink); background: transparent;
    border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 0.65rem 0;
    transition: background 0.3s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--taupe); }
.field input:focus, .field textarea:focus { outline: none; background: rgba(255, 255, 255, 0.45); }
.field textarea { resize: vertical; min-height: 8rem; }

.field--error input, .field--error textarea { border-bottom-width: 2px; }
.field__error { display: block; margin-top: 0.5rem; font-size: 0.78rem; font-weight: 500; }

.consent { display: flex; align-items: flex-start; gap: 0.85rem; font-size: 0.86rem; line-height: 1.6; }
.consent input { flex: none; width: 1.05rem; height: 1.05rem; margin-top: 0.3rem; accent-color: var(--ink); }
.consent a { border-bottom: 1px solid currentColor; }

.form__note { font-size: 0.82rem; color: var(--ink); }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 1.1rem 1.4rem; background: var(--butter); font-weight: 500; margin-bottom: 2rem; }

/* --- Patička s brand markem ------------------------------------------------------- */

.footer { background: var(--ink); color: var(--cream); padding-block: clamp(3rem, 6vw, 5rem) 1.75rem; }

.footer__grid { display: grid; gap: 2.5rem 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); align-items: start; }

.footer__mark { color: var(--butter); display: inline-block; justify-self: start; }
.footer__mark .mark { width: clamp(3.4rem, 6vw, 4.6rem); }

.footer__title { color: var(--taupe); margin-bottom: 0.9rem; }
.footer__text { color: var(--cream); margin-bottom: 0.4rem; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.footer a { transition: color 0.25s; }
.footer a:hover { color: var(--butter); }
.footer__social { display: inline-flex; align-items: center; gap: 0.6rem; }
.footer__social svg { width: 1.25rem; height: 1.25rem; flex: none; }
.footer__legal { display: grid; gap: 0.3rem; }

.footer__bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem;
    margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem;
    border-top: 1px solid rgba(206, 199, 189, 0.3);
    font-size: 0.74rem; letter-spacing: 0.08em; color: var(--greige);
}

.footer__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer__links button { letter-spacing: inherit; }

/* --- Cookie lišta ------------------------------------------------------------------ */

.cookie-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 1rem 2rem; padding: 1.25rem var(--gutter);
    background: var(--ink); color: var(--white);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar__text { flex: 1 1 28rem; font-size: 0.9rem; line-height: 1.5; }
.cookie-bar__text a { text-decoration: underline; text-underline-offset: 0.2em; white-space: nowrap; }
.cookie-bar__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cookie-bar :focus-visible { outline-color: var(--butter); }
@media (max-width: 40rem) {
    .cookie-bar__actions { width: 100%; }
    .cookie-bar__actions .btn { flex: 1 1 8rem; justify-content: center; }
}

/* --- Lightbox ---------------------------------------------------------------------- */

.lightbox {
    position: fixed; inset: 0; z-index: 120; display: grid; place-items: center;
    padding: clamp(1rem, 4vw, 3rem); background: rgba(36, 33, 27, 0.95);
    opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-width: min(100%, 60rem); max-height: 82vh; object-fit: contain; margin-inline: auto; }
.lightbox__caption { margin-top: 1.25rem; color: var(--greige); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; }

.lightbox__btn {
    position: absolute; top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem;
    display: grid; place-items: center; color: var(--cream); border: 1px solid rgba(206, 199, 189, 0.4);
    transition: background 0.3s, color 0.3s;
}
.lightbox__btn:hover { background: var(--butter); color: var(--ink); border-color: var(--butter); }
.lightbox__btn--prev { left: clamp(0.5rem, 2vw, 2rem); }
.lightbox__btn--next { right: clamp(0.5rem, 2vw, 2rem); }

.lightbox__close {
    position: absolute; top: clamp(0.75rem, 2vw, 2rem); right: clamp(0.75rem, 2vw, 2rem);
    color: var(--cream); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
}

/* --- Nástup obsahu při scrollu ------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(1.25rem); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
    .reveal { opacity: 1; transform: none; }
}

@media print {
    .topbar, .menu, .slideshow__ui, .lightbox { display: none !important; }
}
