/* =========================================================================
   Hair Area — site styles
   Light editorial aesthetic: Bodoni Moda (serif display) + Montserrat (sans).
   White, monochrome, image-forward, generous whitespace, sharp corners.
   ========================================================================= */

:root {
    --bg:        #ffffff;
    --bg-2:      #f6f4ef;   /* warm off-white for alternating sections */
    --bg-3:      #efebe3;
    --ink:       #161513;   /* near-black: headings, buttons */
    --text:      #232220;
    --muted:     #6b6863;
    --muted-2:   #9b978e;
    --line:      rgba(0,0,0,.13);
    --line-2:    rgba(0,0,0,.24);
    --accent:    #a05a7a;    /* orchid — from the salon's tulip motif */
    --accent-soft: #c08fa6;

    --ff-display: "Spectral", Georgia, "Times New Roman", serif;
    --ff-sans:    "Montserrat", system-ui, -apple-system, sans-serif;

    --shell-w: 1340px;
    --radius:  0px;
    --ease:    cubic-bezier(.22,.61,.25,1);

    --h1: clamp(2.6rem, 6.4vw, 5.4rem);
    --h2: clamp(1.9rem, 3.6vw, 3.1rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--ff-sans);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: 0; }

/* ---------- Czech typography helpers ---------- */
h1, h2, h3, h4, h5, h6 { text-wrap: balance; overflow-wrap: break-word; }
p { text-wrap: pretty; }
p, li, td, th { overflow-wrap: break-word; }
.nowrap, a[href^="tel"], a[href^="mailto"] { white-space: nowrap; }

::selection { background: var(--ink); color: #fff; }

.shell { width: min(100% - 3rem, var(--shell-w)); margin-inline: auto; }
.measure { max-width: 66ch; }
.center { text-align: center; margin-inline: auto; }
.small { font-size: .9rem; }

.section { padding: clamp(4.5rem, 10vw, 9rem) 0; }
.section--tight { padding: clamp(3rem, 6vw, 5.5rem) 0; }

/* Eyebrow / overline — Montserrat, uppercase, tracked out */
.eyebrow {
    font-family: var(--ff-sans);
    text-transform: uppercase;
    letter-spacing: .28em;
    font-size: .7rem;
    font-weight: 600;
    color: var(--accent);
    margin: 0 0 1.4rem;
}
.h2 { font-size: var(--h2); font-weight: 500; }
.lead { font-size: clamp(1.08rem, 1.7vw, 1.32rem); color: #36342f; line-height: 1.6; font-weight: 400; }
.muted { color: var(--muted); }

.section__head { max-width: 52ch; margin: 0 auto clamp(2.4rem, 4vw, 3.8rem); text-align: center; }
.section__head .eyebrow { margin-bottom: 1rem; }
.section__cta { margin-top: 3rem; text-align: center; }

/* decorative trailing period on key serif headings (Barrow-style) */
.page-hero__title::after,
.section__head .h2::after,
.about__h::after,
.pricecat__title::after { content: "."; color: var(--accent); }

/* ---------- Skip link ---------- */
.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--ink); color: #fff; padding: .6rem 1rem; }
.skip-link:focus { left: 0; }

/* ---------- Buttons — sharp, solid black / outline ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    font-family: var(--ff-sans); font-weight: 600; font-size: .72rem;
    text-transform: uppercase; letter-spacing: .16em;
    padding: 1.15em 2em; border-radius: var(--radius);
    border: 1px solid var(--ink); background: var(--ink); color: #fff;
    cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
    white-space: nowrap;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--accent { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--accent:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--lg { padding: 1.25em 2.4em; font-size: .76rem; }
.btn--block { display: flex; width: 100%; }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    background: transparent;
    transition: background .35s var(--ease), border-color .35s var(--ease);
    border-bottom: 1px solid transparent;
}
.site-header__inner { display: flex; align-items: center; gap: 2rem; height: 92px; }
.site-header.is-scrolled,
body:not([data-hero="image"]) .site-header {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    border-bottom-color: var(--line);
}
.site-header.is-scrolled .site-header__inner { height: 76px; }

.brand { display: flex; flex-direction: column; align-items: flex-start; margin-right: auto; line-height: 1; }
.brand__logo { height: 23px; width: auto; display: block; transition: height .35s var(--ease); }
.site-header.is-scrolled .brand__logo { height: 20px; }
.brand__claim { font-family: var(--ff-sans); font-size: .56rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: .4rem; }

/* over an image hero the header is transparent with white brand/nav until scrolled */
body[data-hero="image"] .site-header:not(.is-scrolled) .brand__logo { filter: invert(1) brightness(2); }
body[data-hero="image"] .site-header:not(.is-scrolled) .brand__claim { color: rgba(255,255,255,.82); }
body[data-hero="image"] .site-header:not(.is-scrolled) .nav__link,
body[data-hero="image"] .site-header:not(.is-scrolled) .burger span { color: #fff; }
body[data-hero="image"] .site-header:not(.is-scrolled) .burger span { background: #fff; }
body[data-hero="image"] .site-header:not(.is-scrolled) .nav__cta { background: #fff; color: var(--ink); border-color: #fff; }
body[data-hero="image"] .site-header:not(.is-scrolled) .nav__cta:hover { background: transparent; color: #fff; }

.nav__list { display: flex; align-items: center; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
    position: relative; font-family: var(--ff-sans); font-weight: 500; font-size: .82rem;
    text-transform: uppercase; letter-spacing: .1em;
    padding: .5rem .9rem; color: var(--text);
    transition: color .2s;
}
.nav__link::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .15rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--accent); }
.nav__cta { margin-left: 1rem; }
.nav__cta-mobile { display: none; }

.burger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; }
.burger span { width: 26px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }

/* ---------- Hero (clean full-bleed image, minimal caption) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; isolation: isolate; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -2;
    background-image: var(--hero-img); background-size: cover; background-position: center;
}
/* top scrim keeps the white header legible, bottom scrim grounds the caption */
.hero__scrim {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.12) 18%, rgba(0,0,0,0) 38%),
        linear-gradient(0deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 28%);
}
.hero__inner { padding-bottom: clamp(3.5rem, 8vh, 6rem); }
.hero__caption {
    font-family: var(--ff-sans); text-transform: uppercase; letter-spacing: .28em;
    font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.92); margin: 0;
}

.hero__compass { position: absolute; left: 50%; bottom: 1.8rem; transform: translateX(-50%); z-index: 1; }
.compass { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); position: relative; animation: bob 2.4s var(--ease) infinite; }
.compass__needle { width: 2px; height: 15px; background: linear-gradient(#fff, transparent); }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* ---------- Statement (the claim, on white, fully legible) ---------- */
.statement { text-align: center; padding: clamp(4.5rem, 9vw, 8rem) 0; }
.statement__inner { max-width: 60ch; margin-inline: auto; }
.statement__title { font-family: var(--ff-display); font-weight: 500; font-size: clamp(3rem, 7vw, 6rem); letter-spacing: -.01em; margin: 0; }
.statement__title::after { content: "."; color: var(--accent); }
.statement__tagline { font-family: var(--ff-display); font-style: italic; font-size: clamp(1.2rem, 2.4vw, 1.8rem); color: var(--muted); margin: .7rem 0 0; }
.statement__lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: #36342f; max-width: 46ch; margin: 1.8rem auto 2.6rem; line-height: 1.6; }
.statement__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: stretch; }
.about__text .eyebrow { margin-bottom: 1rem; }
.about__h { margin: .2rem 0 1.8rem; font-size: var(--h2); }
.about__body { display: flex; flex-direction: column; gap: 1.4rem; }
.about__p { margin: 0; color: var(--muted); }
.about__p.lead { color: #36342f; }
.about__media { overflow: hidden; align-self: stretch; min-height: 380px; }
.about__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35); transition: filter .6s var(--ease), transform .8s var(--ease); }
.about__media:hover img { filter: grayscale(0); transform: scale(1.03); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.card { position: relative; background: transparent; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2.6rem 2rem 3rem; transition: background .3s var(--ease); overflow: hidden; }
.card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.card:hover { background: rgba(160,90,122,.05); }
.card:hover::before { transform: scaleX(1); }
.card__num { display: block; font-family: var(--ff-display); font-style: italic; font-size: 1.05rem; color: var(--muted-2); margin-bottom: .9rem; transition: color .3s var(--ease); }
.card:hover .card__num { color: var(--accent); }
.card__title { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 500; margin-bottom: .7rem; transition: color .3s var(--ease); }
.card:hover .card__title { color: var(--accent); }
.card__text { color: var(--muted); margin: 0; font-size: .96rem; }
.card__arrow { position: absolute; right: 1.8rem; bottom: 1.5rem; color: var(--accent); font-size: 1.15rem; opacity: 0; transform: translateX(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.card:hover .card__arrow { opacity: 1; transform: none; }

/* ---------- World map ---------- */
.world { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.world__grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(2rem,5vw,5rem); align-items: center; }
.world__text .h2 { font-size: var(--h2); margin: .2rem 0 1.2rem; }
.world__legend { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-direction: column; gap: .6rem; }
.world__legend li { position: relative; padding-left: 1.4rem; color: var(--muted); font-size: .9rem; }
.world__legend li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.vmap { width: 100%; height: clamp(300px, 42vw, 470px); }

/* ---------- Team teaser strip ---------- */
.team-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.4rem; }
.tcard { display: flex; flex-direction: column; }
.tcard__photo { aspect-ratio: 4/5; overflow: hidden; background: var(--bg-3); }
.tcard__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.55); transition: filter .5s var(--ease), transform .7s var(--ease); }
.tcard:hover .tcard__photo img { filter: grayscale(0); transform: scale(1.04); }
.tcard__name { font-family: var(--ff-display); font-weight: 500; margin-top: 1rem; font-size: 1.12rem; }
.tcard__role { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; margin-top: .25rem; }

/* ---------- Gallery ---------- */
.gallery { padding-bottom: 0; }
.gallery__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; }
.gallery__item { position: relative; overflow: hidden; cursor: pointer; }
.gallery__item:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.gallery__item:nth-child(2) { grid-column: span 2; }
.gallery__item:nth-child(3) { grid-column: span 2; }
.gallery__item:nth-child(4) { grid-column: span 3; }
.gallery__item:nth-child(5) { grid-column: span 3; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }

/* ---------- CTA strip ---------- */
.cta-strip { background: var(--ink); color: #fff; }
.cta-strip .h2 { color: #fff; }
.cta-strip .muted { color: rgba(255,255,255,.7); }
.cta-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-strip__inner .muted { margin: .8rem 0 0; }
.cta-strip__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-strip .btn--accent { background: #fff; color: var(--ink); border-color: #fff; }
.cta-strip .btn--accent:hover { background: transparent; color: #fff; }
.cta-strip .btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.cta-strip .btn--ghost:hover { background: #fff; color: var(--ink); }

/* ---------- Page hero ---------- */
.page-hero { padding: calc(92px + clamp(3.5rem,7vw,6rem)) 0 clamp(1.5rem,3vw,2.5rem); text-align: center; }
.page-hero .eyebrow { margin-bottom: 1rem; }
.page-hero__title { font-family: var(--ff-display); font-weight: 500; font-size: clamp(2.6rem, 5.4vw, 4.4rem); margin: .2rem 0; }
.page-hero__lead { color: var(--muted); max-width: 56ch; margin-inline: auto; font-size: 1.08rem; }

/* image banner variant — full-bleed photo with the title overlaid */
.page-hero--image { position: relative; isolation: isolate; min-height: 52vh; display: flex; align-items: flex-end; padding: calc(92px + 3rem) 0 clamp(2.5rem,5vw,3.8rem); text-align: left; color: #fff; }
.page-hero--image::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: var(--hero-img); background-size: cover; background-position: center; }
.page-hero__scrim {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.2) 38%, rgba(0,0,0,.82) 100%),
        linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,0) 70%);
}
.page-hero--image .eyebrow { color: rgba(255,255,255,.92); margin-bottom: 1rem; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.page-hero--image .page-hero__title { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.page-hero--image .page-hero__lead { color: #fff; margin-inline: 0; max-width: 52ch; text-shadow: 0 1px 16px rgba(0,0,0,.5); }
.page-hero--image .page-hero__lead a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.6); }
.back-link { color: var(--ink); font-family: var(--ff-sans); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; }
.back-link:hover { color: var(--accent); text-decoration: underline; }

/* ---------- Services list ---------- */
.services-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; max-width: 1100px; margin-inline: auto; }
.srow { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; align-items: start; padding: 2.4rem 2.2rem; border: 1px solid var(--line); background: #fff; overflow: hidden; transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); }
.srow::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease); }
.srow:hover { background: var(--bg-2); border-color: var(--line-2); transform: translateY(-3px); }
.srow:hover::before { transform: scaleY(1); }
.srow__num { font-family: var(--ff-display); font-style: italic; color: var(--accent); font-size: 1.7rem; line-height: 1; padding-top: .2rem; }
.srow__title { font-family: var(--ff-display); font-weight: 500; font-size: clamp(1.5rem,2.6vw,2rem); transition: color .3s var(--ease); }
.srow:hover .srow__title { color: var(--accent); }
.srow__text { color: var(--muted); margin: .6rem 0 0; max-width: 46ch; }
.srow--link { cursor: pointer; }
.srow__link { display: inline-block; margin-top: 1.1rem; font-family: var(--ff-sans); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: var(--muted-2); transition: color .25s var(--ease); }
.srow--link:hover .srow__link { color: var(--accent); }

/* ---------- Brands ---------- */
.brands { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brands__logos { list-style: none; padding: 0; margin: 0 auto 2.5rem; max-width: 1120px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(2.2rem,4vw,3.6rem) clamp(2.4rem,4.5vw,4rem); }
.brands__item { display: flex; align-items: center; justify-content: center; }
.brand-logo {
    display: block;
    background-color: var(--muted);
    -webkit-mask: var(--logo) center / contain no-repeat;
            mask: var(--logo) center / contain no-repeat;
    transition: background-color .35s var(--ease);
}
.brands__item:hover .brand-logo { background-color: var(--ink); }
.brand-logo--text { font-family: var(--ff-display); font-size: 1.35rem; color: var(--muted); background: none; -webkit-mask: none; mask: none; width: auto !important; height: auto !important; }

/* ---------- Price cards (overview) ---------- */
.pricecards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.pricecard { background: transparent; border: 1px solid var(--line); overflow: hidden; transition: border-color .3s var(--ease); display: flex; flex-direction: column; }
.pricecard:hover { border-color: var(--ink); }
.pricecard__media { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-3); }
.pricecard__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4); transition: filter .5s, transform .7s var(--ease); }
.pricecard:hover .pricecard__media img { filter: grayscale(0); transform: scale(1.04); }
.pricecard__body { display: flex; flex-direction: column; padding: 1.8rem; flex: 1; }
.pricecard__brand { font-family: var(--ff-sans); letter-spacing: .2em; font-size: .68rem; color: var(--accent); text-transform: uppercase; font-weight: 600; }
.pricecard__title { font-family: var(--ff-display); font-weight: 500; font-size: 1.7rem; margin-top: .35rem; }
.pricecard__sub { color: var(--muted); font-size: .9rem; margin-top: .25rem; }
.pricecard__link { color: var(--ink); font-family: var(--ff-sans); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; margin-top: auto; padding-top: 1.4rem; }

/* ---------- Price switch tabs ---------- */
.price-switch { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 3.5rem; border-bottom: 1px solid var(--line); }
.price-switch__item { font-family: var(--ff-sans); font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; padding: 1rem 1.4rem; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.price-switch__item:hover { color: var(--ink); }
.price-switch__item.is-active { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------- Price category ---------- */
.pricecat { max-width: 940px; margin-inline: auto; }
.pricecat__head { margin-bottom: 3rem; text-align: center; }
/* On the tabbed /cenik page the active tab already names the category,
   so the duplicate big title + subtitle are hidden — keep only brand + intro. */
body[data-page="cenik"] .pricecat__head .pricecat__title,
body[data-page="cenik"] .pricecat__head .pricecat__subtitle { display: none; }
body[data-page="cenik"] .pricecat__head { margin-bottom: 2.2rem; }
body[data-page="cenik"] .pricecat__head:empty { display: none; margin: 0; }
body[data-page="cenik"] .pricecat__brand { display: block; margin-bottom: .6rem; }

/* ---------- Price tabs (sticky category switcher) ---------- */
.price-tabs {
    display: flex; flex-wrap: wrap; gap: .2rem 1.2rem; justify-content: center;
    margin-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line);
    position: sticky; top: 74px; z-index: 30;
    background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
}
.price-tab {
    font-family: var(--ff-sans); font-size: .88rem; text-transform: uppercase; letter-spacing: .1em;
    font-weight: 600; padding: 1.05rem .5rem; color: var(--muted); cursor: pointer;
    border-bottom: 2px solid transparent; margin-bottom: -1px;
    transition: color .2s, border-color .2s;
}
.price-tab:hover { color: var(--ink); }
.price-tab.is-active { color: var(--accent); border-bottom-color: var(--accent); }
.price-panels.is-tabbed .price-panel { display: none; }
.price-panels.is-tabbed .price-panel.is-active { display: block; animation: panelIn .35s var(--ease); }
.price-panel + .price-panel { margin-top: 4rem; } /* stacked fallback when JS is off */
.price-panels.is-tabbed .price-panel + .price-panel { margin-top: 0; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pricecat__brand { font-family: var(--ff-sans); letter-spacing: .28em; color: var(--accent); font-size: .74rem; text-transform: uppercase; font-weight: 600; }
.pricecat__title { font-family: var(--ff-display); font-weight: 500; font-size: clamp(2rem,4vw,3rem); margin: .4rem 0; }
.pricecat__subtitle { color: var(--muted); margin: 0; }
.pricecat__intro { color: var(--muted); max-width: 60ch; margin: 1rem auto 0; }

.priceblock { margin-bottom: 2.6rem; }
.priceblock__title { font-family: var(--ff-sans); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--ink); margin-bottom: .4rem; padding-bottom: .55rem; border-bottom: 1px solid var(--ink); }

.ptable-wrap { overflow-x: auto; }
.ptable { width: 100%; border-collapse: collapse; }
.ptable th, .ptable td { text-align: left; padding: .58rem .7rem; vertical-align: top; }
.ptable thead th { font-family: var(--ff-sans); font-weight: 600; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); padding-top: .85rem; padding-bottom: .85rem; }
.ptable thead .ptable__col, .ptable .ptable__price { text-align: right; }
.ptable tbody tr { border-top: 1px solid var(--line); transition: background .12s ease; }
.ptable tbody tr:hover { background: rgba(160,90,122,.05); }
.ptable tbody tr:hover .ptable__price { color: var(--accent); }
.ptable__service { font-weight: 400; color: var(--text); padding-right: 1.5rem; }
.ptable__col { width: 15%; }
.ptable__price { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink); font-family: var(--ff-sans); font-weight: 500; font-size: .92rem; }
.ptable__price--span { text-align: right; color: var(--ink); }
.ptable__note { display: block; font-size: .8rem; color: var(--muted-2); margin-top: .15rem; }

.plist { list-style: none; margin: 0; padding: 0; }
.plist__row { display: flex; align-items: baseline; gap: .6rem; padding: .62rem .5rem; border-top: 1px solid var(--line); transition: background .12s ease; }
.plist__row:hover { background: rgba(160,90,122,.05); }
.plist__row:hover .plist__price { color: var(--accent); }
.plist__label { color: var(--text); flex: 0 1 auto; }
.plist__dots { flex: 1 1 auto; border-bottom: 1px dotted var(--line-2); transform: translateY(-.25em); min-width: 1.5rem; }
.plist__end, .plist__variants { display: flex; align-items: baseline; gap: .8rem; white-space: nowrap; margin-left: auto; }
.plist__variants { flex-wrap: wrap; justify-content: flex-end; }
.plist__variant { display: inline-flex; align-items: baseline; gap: .5rem; }
.plist__meta { font-size: .78rem; color: var(--muted-2); font-family: var(--ff-sans); text-transform: uppercase; letter-spacing: .08em; }
.plist__price { font-family: var(--ff-sans); font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink); font-size: .92rem; }

.price-foot { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 3.5rem; }

/* ---------- Team grid ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.8rem 1.4rem; }
.member { display: flex; flex-direction: column; }
.member__photo { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--bg-3); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.55); transition: filter .5s var(--ease), transform .7s var(--ease); }
.member:hover .member__photo img { filter: grayscale(0); transform: scale(1.04); }
.member__photo--empty { display: grid; place-items: center; }
.member__initials { font-family: var(--ff-display); font-size: 3rem; color: var(--muted-2); }
.member__meta { margin-top: 1.1rem; }
.member__name { display: block; font-family: var(--ff-display); font-weight: 500; font-size: 1.32rem; }
.member__role { display: block; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; margin-top: .3rem; }

/* ---------- Profile ---------- */
.profile { padding: calc(92px + clamp(2.5rem,5vw,4rem)) 0 clamp(3.5rem,7vw,6rem); }
.profile__grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0,1fr); gap: clamp(2rem,6vw,5.5rem); align-items: start; }
.profile__aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 1.6rem; }
.profile__photo { aspect-ratio: 4/5; overflow: hidden; background: var(--bg-3); display: grid; place-items: center; }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; }
.profile__book { display: flex; flex-direction: column; gap: .7rem; }
.profile__bookline { font-size: .95rem; color: var(--muted); margin: 0; text-align: center; }
.profile__bookline a { color: var(--ink); font-weight: 500; font-size: 1.05rem; white-space: nowrap; border-bottom: 1px solid var(--ink); }
.profile__name { font-family: var(--ff-display); font-weight: 500; font-size: clamp(2.2rem,4.4vw,3.2rem); margin: .2rem 0; }
.profile__role { color: var(--muted); font-family: var(--ff-sans); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 600; margin: 0 0 2.2rem; }
.profile__bio { color: var(--muted); }
.bio__head { font-family: var(--ff-sans); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--ink); margin: 2.2rem 0 .9rem; }
.bio__p { color: var(--text); font-size: 1.05rem; }
.bio__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.bio__list li { position: relative; padding-left: 1.3rem; color: var(--muted); }
.bio__list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
/* long lists flow into two columns instead of one tall thin strip */
.bio__list--cols { display: block; columns: 2; column-gap: 2.8rem; }
.bio__list--cols li { break-inside: avoid; margin-bottom: .55rem; }
/* short items (seminars, collections…) render as elegant outlined tags */
.bio__tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.bio__tags li { font-family: var(--ff-sans); font-size: .82rem; letter-spacing: .01em; color: var(--text); border: 1px solid var(--line-2); padding: .45rem .9rem; transition: border-color .2s, color .2s; }
.bio__tags li:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 620px) { .bio__list--cols { columns: 1; } }

/* ---------- Contact ---------- */
.contact-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem,5vw,4rem); max-width: 1000px; margin: 0 auto; text-align: center; }
.contact-info .infoblock { padding: 0 1rem; }
.contact-info address, .contact-info .plain { text-align: center; }
.contact-info .plain li { justify-content: center; }
.contact-billing { text-align: center; color: var(--muted-2); font-size: .82rem; margin: clamp(2rem,4vw,3rem) 0 0; }
.contact-form-section { padding-top: clamp(2.5rem,5vw,4rem); scroll-margin-top: 96px; }

.infoblock__h { font-family: var(--ff-sans); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--accent); margin: 0 0 1rem; }
.infoblock address { font-style: normal; color: var(--text); line-height: 1.9; }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { display: flex; justify-content: space-between; gap: .8rem; padding: .35rem 0; color: var(--text); }
.plain a:hover { color: var(--accent); border-bottom: 1px solid var(--accent); }

.cform { display: grid; gap: 1.3rem; max-width: 560px; }
.cform--center { max-width: 660px; margin: 0 auto; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.cform__bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.2rem; }
.cform__bottom .field--captcha { margin: 0; }
@media (max-width: 560px) { .cform__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field__label { font-family: var(--ff-sans); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.field input, .field textarea {
    background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius);
    color: var(--text); font: inherit; padding: .85rem .9rem; transition: border-color .2s; width: 100%; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field--captcha { max-width: 240px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__note { font-size: .8rem; color: var(--muted-2); margin: 0; }
.formerrors { background: #faf3f0; border: 1px solid var(--line-2); border-left: 3px solid var(--accent); padding: 1rem 1.2rem; margin-bottom: 1.4rem; }
.formerrors ul { margin: 0; padding-left: 1.1rem; color: var(--text); }

/* ---------- Reservation embed (Reservio) ---------- */

.contact-map { margin-top: clamp(2.5rem,5vw,4rem); height: clamp(320px, 40vw, 480px); border-top: 1px solid var(--line); }
.contact-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.78); padding: clamp(3.5rem,6vw,5.5rem) 0 2rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.5rem; }
.site-footer__logo { width: 230px; max-width: 70%; height: auto; filter: invert(1) brightness(2); }
.site-footer__claim { font-family: var(--ff-display); font-style: italic; color: rgba(255,255,255,.85); margin: 1.1rem 0 .5rem; font-size: 1.15rem; }
.site-footer__claim em { color: #fff; font-style: italic; }
.site-footer__note { color: rgba(255,255,255,.55); font-size: .9rem; margin: 0; }
.site-footer__col h4 { font-family: var(--ff-sans); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,.55); margin: 0 0 1.2rem; }
.site-footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.site-footer__col a:hover { color: var(--accent-soft); }
.site-footer .plain li { color: rgba(255,255,255,.78); justify-content: flex-start; gap: .4rem; }
.site-footer .plain a { color: rgba(255,255,255,.78); }
.site-footer .plain a:hover { color: var(--accent-soft); border-bottom: 1px solid var(--accent-soft); }
.site-footer__col address { font-style: normal; color: rgba(255,255,255,.78); line-height: 1.7; }
.site-footer__hours { color: rgba(255,255,255,.78); margin: .3rem 0; }
.social { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 1rem; }
.social a { font-family: var(--ff-sans); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: #fff; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 2px; }
.social a:hover { color: var(--accent-soft); border-color: var(--accent-soft); }
.site-footer__legal { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem 1.6rem; flex-wrap: wrap; margin-top: 3.5rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.5); font-size: .78rem; }
.site-footer__legaltext { display: flex; flex-direction: column; gap: .35rem; }

/* ---------- Flash ---------- */
.flash-stack { position: fixed; top: 102px; right: 1.2rem; z-index: 120; display: grid; gap: .6rem; max-width: 360px; }
.flash { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 1rem 1.2rem; font-size: .9rem; box-shadow: 0 18px 50px rgba(0,0,0,.2); animation: flashIn .4s var(--ease); }
.flash--error { background: #7a2f2f; }
@keyframes flashIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

.error-page { padding-top: calc(92px + 5rem); text-align: center; }
.error-page__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1024px) {
    .cards, .pricecards { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(3, 1fr); }
    .team-strip { grid-template-columns: repeat(3, 1fr); }
    .about__grid, .world__grid, .profile__grid { grid-template-columns: 1fr; }
    .world__text { text-align: center; max-width: 60ch; margin-inline: auto; }
    .about__media { min-height: 280px; }
    .world__legend { align-items: center; }
    .profile__aside { position: static; max-width: 380px; margin-inline: auto; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    .contact-info { grid-template-columns: 1fr; gap: 2.2rem; }
    .nav {
        position: fixed; inset: 0 0 0 auto; width: min(84vw, 360px);
        background: #fff; transform: translateX(100%); transition: transform .4s var(--ease);
        display: flex; align-items: center; padding: 5.5rem 2rem 2rem; border-left: 1px solid var(--line);
    }
    body.nav-open .nav { transform: none; }
    body.nav-open { overflow: hidden; }
    .nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
    .nav__link { padding: 1.1rem .2rem; font-size: 1rem; border-bottom: 1px solid var(--line); color: var(--ink) !important; }
    .nav__link::after { display: none; }
    .nav__cta { display: none; }
    .nav__cta-mobile { display: block; margin-top: 1.6rem; }
    .nav__cta-mobile .btn { width: 100%; }
    .burger { display: flex; z-index: 110; }
    body[data-hero="image"] .site-header:not(.is-scrolled) .burger span { background: #fff; }
    body.nav-open .burger span { background: var(--ink) !important; }
    body.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    body.nav-open .burger span:nth-child(2) { opacity: 0; }
    body.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .cards, .pricecards, .team-grid, .team-strip { grid-template-columns: 1fr 1fr; }
    .gallery__grid { grid-template-columns: 1fr 1fr; }
    .gallery__item:nth-child(n) { grid-column: auto; grid-row: auto; }
    .gallery__item:first-child { grid-column: span 2; }
    .site-footer__grid { grid-template-columns: 1fr; }
    .cta-strip__inner { flex-direction: column; align-items: flex-start; }
    .plist__row { flex-wrap: wrap; }
    .services-list { grid-template-columns: 1fr; }
    .srow { padding: 2rem 1.6rem; }
    /* enlarge the brand/logo tap target to ≥44px (transparent padding) */
    .brand { padding: .45rem 0; }
}

/* Mobile: reformat the 3-length price table into stacked rows so the
   "Dlouhé" column is visible without horizontal scrolling. */
@media (max-width: 600px) {
    .ptable-wrap { overflow-x: visible; }
    .ptable--cols thead { display: none; }
    .ptable--cols, .ptable--cols tbody { display: block; }
    .ptable--cols tr { display: block; padding: .8rem 0 1rem; }
    .ptable--cols .ptable__service { display: block; padding: 0 0 .5rem; font-weight: 500; color: var(--ink); }
    .ptable--cols td.ptable__price { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .22rem 0; text-align: right; }
    .ptable--cols td.ptable__price:empty { display: none; }
    .ptable--cols td.ptable__price::before { content: attr(data-label); color: var(--muted-2); font-family: var(--ff-sans); font-weight: 600; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }
    .ptable--cols td.ptable__price--span { justify-content: flex-end; }
    .ptable--cols td.ptable__price--span::before { content: ""; }
    /* roomier tap targets for footer / inline links on touch screens */
    .site-footer__col li a, .site-footer .plain a { display: block; padding: .5rem 0; }
    .social a { display: inline-flex; align-items: center; min-height: 44px; }
    .contact-info .plain a { display: inline-block; padding: .55rem .5rem; }
    .field__label { font-size: .8rem; }
    /* mediaFace credit pill — taller tap target on touch (badge CSS is shared) */
    .site-footer__legal .mfb--pill { padding-block: 13px; }
}

@media (max-width: 460px) {
    .cards, .pricecards { grid-template-columns: 1fr; }
    .hero__actions .btn { flex: 1 1 auto; }
    .brand__logo { height: 20px; }
    .brand__claim { font-size: .52rem; letter-spacing: .12em; }
    .cform__bottom { flex-direction: column; align-items: stretch; }
    .cform__bottom .field--captcha { max-width: none; }
    .cform__bottom .btn { width: 100%; }
}

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