/* =========================================================
   SALON APPLE — prezentační web
   Paleta podle loga: jablková červená + listová zelená
   na čisté bílé a černé. Barvy se mění jen v :root.
   ========================================================= */

:root {
  --ink: #111311;          /* text, tmavé plochy */
  --ink-soft: #5A5F5B;     /* vedlejší text */
  --paper: #FFFFFF;
  --paper-soft: #F2F3F0;   /* střídání sekcí */
  --line: #E1E3DE;         /* linky a rámečky */

  --red: #D92D20;          /* jablko — zvýraznění */
  --red-dark: #B5221A;
  --green: #123B2C;        /* list — tmavé plochy */
  --on-dark-soft: rgba(255, 255, 255, .72);
  --line-dark: rgba(255, 255, 255, .18);

  --font-display: 'Instrument Serif', Georgia, serif;   /* velké nadpisy */
  --font-head: 'Inter Tight', system-ui, sans-serif;     /* menší nadpisy */
  --font-body: 'Inter', system-ui, sans-serif;

  --r-sm: 6px;
  --r: 14px;
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --nav-h: 76px;
  --nav-h-hero: 156px;     /* výška lišty s velkým jablkem nad hero */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overscroll-behavior-x: none; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* starší Safari neumí overflow: clip — nic nesmí jít posunout do strany */
@supports not (overflow: clip) { body { overflow-x: hidden; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: .98;
}
h2 { font-size: clamp(2.6rem, 5.6vw, 5rem); }
h3 { font: 600 1.3rem/1.25 var(--font-head); letter-spacing: -.02em; }
h1 em, h2 em, .statement em { font-style: italic; }
p { margin: 0; text-wrap: pretty; }
.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i--fill { fill: currentColor; stroke: none; }
.hl { color: var(--red); }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: var(--r-sm);
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

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

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-bottom: 1.3rem;
  font: 600 .78rem/1 var(--font-body);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.eyebrow--light { color: #fff; }
.eyebrow--light::before { background: var(--red); }

.lede { font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--ink-soft); max-width: 36rem; }

/* ---------- Tlačítka ---------- */
.btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: 0 1.4rem;
  border: 1.5px solid transparent; border-radius: 999px;
  font: 600 .98rem/1 var(--font-body);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: color .35s var(--ease-out), border-color .35s;
}
/* výplň, která při najetí „vyteče“ zespodu */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--fill, var(--red));
  transform: translateY(101%); border-radius: inherit;
  transition: transform .45s var(--ease-out);
}
.btn:hover::before { transform: none; }
.btn--sm { min-height: 42px; padding: 0 1.1rem; font-size: .92rem; }
.btn--lg { min-height: 58px; padding: 0 1.8rem; font-size: 1.02rem; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--line { border-color: currentColor; }
.btn--line:hover { color: #fff; border-color: var(--red); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { color: #fff; }
.btn--ghost-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--ghost-light:hover { border-color: var(--red); }
.btn .i { transition: transform .35s var(--ease-out); }
.btn:hover .i--go { transform: translateX(3px); }

.arrow-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  padding-bottom: 3px;
  transition: color .2s, background-size .35s var(--ease-out);
}
.arrow-link .i { transition: transform .3s var(--ease-out); }
.arrow-link:hover { color: var(--red); }
.arrow-link:hover .i { transform: translateX(4px); }

/* ---------- Navigace ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner {
  display: flex; align-items: center; gap: 1.5rem;
  max-width: var(--wrap); height: var(--nav-h); margin: 0 auto; padding: 0 var(--gutter);
}
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; }
.brand__mark { width: 70px; height: 70px; transition: transform .5s var(--ease-out); }
.brand:hover .brand__mark { transform: rotate(-10deg); }
.brand__name { font: 800 1.45rem/1 var(--font-head); letter-spacing: -.04em; }
.brand__apple { transition: color .3s; }
.brand:hover .brand__apple { color: var(--red); }
/* při scrollu se logo plynule zmenší; jen transform, výška lišty se nemění */
.nav .brand { transform-origin: 0 50%; transition: transform .5s var(--ease-out); will-change: transform; }
.nav.is-scrolled .brand { transform: scale(.72); }

/* kulaté ikony telefonu a Facebooku (hero, patička, mobilní menu) */
.icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--ink);
  transition: background .25s, color .25s, border-color .25s;
}
.icon-btn .i { width: 18px; height: 18px; }
.icon-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.icon-btn--lg { width: 60px; height: 60px; }
.icon-btn--lg .i { width: 22px; height: 22px; }
.icon-btn--solid { background: #fff; border-color: #fff; color: var(--ink); }
.icon-btn--light { border-color: rgba(255, 255, 255, .4); color: #fff; }

/* ikony v menu jsou jen v rozbaleném menu na mobilu */
.nav__extra { display: none; }

.nav__list { display: flex; gap: .3rem; margin: 0; padding: 0; list-style: none; }
.nav__link {
  position: relative; display: block; padding: .55rem .8rem;
  font-weight: 500; font-size: .95rem; text-decoration: none; color: var(--ink-soft);
  transition: color .15s;
}
.nav__link::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .3rem; height: 1.5px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ink); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: none; }

.burger { display: none; }

.nav--over { position: fixed; left: 0; right: 0; transition: background .35s, border-color .35s; }
.nav--over:not(.is-solid):not(.is-open) { background: transparent; border-bottom-color: transparent; }
.nav--over:not(.is-solid):not(.is-open) .brand__name { color: #fff; }
.nav--over:not(.is-solid):not(.is-open) .nav__link { color: rgba(255, 255, 255, .8); }
.nav--over:not(.is-solid):not(.is-open) .nav__link:hover { color: #fff; }
.nav--over:not(.is-solid):not(.is-open) .burger { color: #fff; }
.nav--over .brand__name, .nav--over .nav__link { transition: color .35s; }

/* nad hero je v liště jen velké jablko (název je velkým nadpisem v hero);
   po odscrollování se jablko zmenší a jakmile hero zmizí, vrátí se i nápis */
.nav--over .nav__inner { transition: height .5s var(--ease-out); }
.nav--over .brand__mark { transition: transform .5s var(--ease-out), width .5s var(--ease-out), height .5s var(--ease-out); }
.nav--over:not(.is-scrolled):not(.is-open) .nav__inner { height: var(--nav-h-hero); }
.nav--over:not(.is-scrolled):not(.is-open) .brand__mark { width: 136px; height: 136px; }
.nav--over:not(.is-solid):not(.is-open) .brand__name { display: none; }

@media (max-width: 1020px) {
  .burger {
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 0; margin-right: -8px;
    background: none; border: 0; cursor: pointer; color: var(--ink);
  }
  .burger span { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .3s var(--ease-out); }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .nav__menu {
    position: fixed; inset: var(--nav-h) 0 0 0;
    background: var(--paper); border-top: 1px solid var(--line);
    padding: 1.5rem var(--gutter);
    visibility: hidden; clip-path: inset(0 0 100% 0);
    transition: clip-path .5s var(--ease-out), visibility .5s;
  }
  .nav.is-open .nav__menu { visibility: visible; clip-path: inset(0); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__extra { display: flex; gap: .7rem; padding-top: 1.6rem; }
  .nav__link {
    padding: 1rem 0; border-bottom: 1px solid var(--line);
    font: 400 2.4rem/1.05 var(--font-display); letter-spacing: -.01em; color: var(--ink);
  }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--red); font-style: italic; }
}

/* =========================================================
   ÚVOD — velký nadpis s fotkami v textu, pod ním fotka,
   která se při scrollu roztáhne přes celou šířku
   (--p 0–1 nastavuje main.js)
   ========================================================= */
.hero {
  --p: 0;                                  /* 0–1 podle scrollu, nastavuje main.js */
  position: sticky; top: 0; isolation: isolate; overflow: hidden;
  display: flex; height: 100svh; min-height: 620px;
  background: var(--ink); color: #fff;
}
/* fotka přes celou plochu; při načtení se pomalu oddálí, při scrollu přiblíží */
.hero__bg { position: absolute; inset: 0; z-index: -1; display: block; overflow: hidden; transform: scale(calc(1 + var(--p) * .1)); transform-origin: 62% 40%; will-change: transform; }
.hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 85% 100%; animation: hero-in 2.4s var(--ease-out) both; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 12, 11, .86) 0%, rgba(10, 12, 11, .6) 30%, rgba(10, 12, 11, 0) 58%),
    linear-gradient(0deg, rgba(10, 12, 11, .65) 0%, rgba(10, 12, 11, 0) 32%),
    linear-gradient(180deg, rgba(10, 12, 11, .5) 0%, rgba(10, 12, 11, 0) 20%);
}
@keyframes hero-in { from { transform: scale(1.1); opacity: .3; } }
/* jak se přes hero vysouvá obsah, fotka tmavne */
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: #0a0c0b; opacity: calc(var(--p) * .75); pointer-events: none; will-change: opacity; }

.hero__content {
  position: relative; display: flex; flex-direction: column;
  padding-top: calc(var(--nav-h-hero) + clamp(1rem, 3vh, 2.5rem)); padding-bottom: clamp(1.6rem, 3vw, 2.6rem);
  transform: translateY(calc(var(--p) * -14svh)); opacity: calc(1 - var(--p) * 1.5);
  will-change: transform, opacity;
}
.hero__inner { margin: auto 0; max-width: 54rem; }
.hero__title { font-size: clamp(3.4rem, 8.4vw, 9.5rem); line-height: .9; letter-spacing: .01em; text-transform: uppercase; }
.hero__apple { color: var(--red); }
.hero__sub { margin: clamp(.8rem, 1.6vh, 1.2rem) 0 0; font: italic 400 clamp(1.5rem, 2.6vw, 2.4rem)/1.15 var(--font-display); color: rgba(255, 255, 255, .78); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: clamp(2rem, 4.5vh, 3rem); }

/* specialita: jen decentní odkaz pod tlačítky, nic nepřekrývá fotku */
.hero__special {
  display: inline-flex; flex-direction: column; gap: .35rem;
  margin-top: clamp(1.8rem, 4vh, 2.8rem); padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .22);
  color: #fff; text-decoration: none;
}
.hero__special small { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.hero__special span { display: inline-flex; align-items: center; gap: .5rem; font: 400 1.45rem/1.1 var(--font-display); }
.hero__special .i { color: var(--red); transition: transform .35s var(--ease-out); }
.hero__special:hover .i { transform: translateX(5px); }

/* odkaz na druhou část webu: chovatelskou stanici — tichý, rozsvítí se až po najetí */
.hero__kennel {
  position: relative; display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.5rem;
  padding-bottom: .3rem; color: rgba(255, 255, 255, .58); text-decoration: none;
  font: 600 .7rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase;
  transition: color .3s;
}
.hero__kennel::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; opacity: .35; transform-origin: left; transition: opacity .3s, background .3s;
}
.hero__kennel:hover { color: #fff; }
.hero__kennel:hover::after { background: #D68A3F; opacity: 1; }
.hero__kennel-badge { display: inline-flex; flex: none; }
.hero__kennel-badge svg { width: 14px; height: 14px; fill: currentColor; transition: fill .3s, transform .4s var(--ease-out); }
.hero__kennel:hover .hero__kennel-badge svg { fill: #D68A3F; transform: rotate(-12deg); }
.hero__kennel > .i { width: .95em; height: .95em; transition: transform .35s var(--ease-out); }
.hero__kennel:hover > .i { transform: translate(2px, -2px); }

/* malé fotky přímo v nadpisu */
.pic {
  display: inline-block; vertical-align: -.06em;
  width: 1.7em; height: .78em; margin: 0 .04em;
  border-radius: 999px; overflow: hidden; background: var(--paper-soft);
}
.pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.pic:hover img { transform: scale(1.12); }
.pic--b { width: 1.2em; }


/* ---------- Obsah úvodu, který se při scrollu vysune přes hero ---------- */
.sheet {
  position: relative; z-index: 2;
  background: var(--paper);
  border-radius: clamp(20px, 3vw, 36px) clamp(20px, 3vw, 36px) 0 0;
  box-shadow: 0 -24px 60px rgba(0, 0, 0, .28);
}

/* ---------- Věta, která se rozsvěcuje při scrollu ---------- */
.statement-wrap { padding: clamp(6rem, 14vw, 12rem) 0; }
.statement {
  max-width: 22ch;
  font: 400 clamp(2.2rem, 4.6vw, 4.2rem)/1.12 var(--font-display);
  letter-spacing: -.015em;
}
.statement .sw { opacity: .14; transition: opacity .35s; }
.statement .sw.on { opacity: 1; }
.statement-foot { display: flex; justify-content: flex-end; margin-top: 3rem; }

/* ---------- Sekce ---------- */
.section { padding: clamp(5rem, 10vw, 9rem) 0; }
.section--soft { background: var(--paper-soft); }
.section--tight { padding-top: 0; }

.head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem 4rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.head h2 { max-width: 14ch; }
.head > p { max-width: 27rem; color: var(--ink-soft); }

/* ---------- Služby: karty, které se na sebe vrství ---------- */
.stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 6vh; }
.stack__card {
  will-change: transform;
  --d: 0;                                  /* 0–1, jak moc ji překrývá další karta */
  transform: scale(calc(1 - var(--d) * .06)); transform-origin: 50% 0;
  position: sticky; top: calc(var(--nav-h) + 24px + var(--i) * 18px);
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: min(76vh, 660px);
  border-radius: var(--r); overflow: hidden;
  background: var(--paper-soft); color: var(--ink);
}
.stack__card::after { content: ""; position: absolute; inset: 0; background: #0a0c0b; opacity: calc(var(--d) * .4); pointer-events: none; }
.stack__card--green { background: var(--green); color: #fff; }
.stack__card--ink { background: var(--ink); color: #fff; }
.stack__card--red { background: var(--red); color: #fff; }
.stack__text {
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: clamp(1.8rem, 4vw, 3.6rem);
}
.stack__card h3 { font: 400 clamp(2.8rem, 6vw, 5.4rem)/.95 var(--font-display); letter-spacing: -.02em; margin-bottom: 1.2rem; }
.stack__card p { max-width: 30rem; font-size: 1.06rem; opacity: .82; }
.stack__img { position: relative; overflow: hidden; }
.stack__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Velká fotka přes celou šířku ---------- */
.feature { position: relative; min-height: 64vh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: var(--ink); }
.feature__img { position: absolute; inset: -10% 0; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; }
.feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 12, 11, .82), rgba(10, 12, 11, .1) 65%); }
.feature__body { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(2.4rem, 5vw, 4.5rem); }
.feature__grid { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem 4rem; flex-wrap: wrap; }
.feature h2 { font-size: clamp(2.8rem, 7vw, 6.5rem); line-height: .9; }
.feature__aside { max-width: 24rem; }
.feature__aside p { color: var(--on-dark-soft); margin-bottom: 1.6rem; font-size: 1.08rem; }

/* ---------- Upoutávka O mně ---------- */
.teaser { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.teaser__media { position: relative; padding: 0 14% 14% 0; }
.teaser__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); }
.teaser__small {
  position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 4 / 5;
  overflow: hidden; border-radius: var(--r); border: 8px solid var(--paper);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .18); rotate: 3deg;
}
.teaser__small img { width: 100%; height: 100%; object-fit: cover; }
.sticker {
  position: absolute; top: 5%; right: 6%; z-index: 1;
  display: grid; place-content: center; width: 112px; height: 112px; border-radius: 50%;
  background: var(--red); color: #fff; text-align: center; rotate: -10deg;
  font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.sticker b { display: block; margin-top: .15rem; font: 400 2.3rem/1 var(--font-display); letter-spacing: 0; text-transform: none; }
.teaser__img img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.teaser h2 { font-size: clamp(3rem, 7vw, 6.4rem); margin-bottom: 1.8rem; }
.teaser p { color: var(--ink-soft); font-size: 1.1rem; max-width: 34rem; margin-bottom: 2rem; }

/* ---------- Ukázka galerie: sloupce jedou při scrollu různou rychlostí ---------- */
.drift-sec { overflow: hidden; }
.drift { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.6rem, 1.2vw, 1rem); align-items: start; }
.drift__col { display: grid; gap: clamp(.6rem, 1.2vw, 1rem); will-change: transform; }
.drift__col:nth-child(even) { margin-top: 14%; }
.drift__col img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }

/* =========================================================
   PODSTRÁNKY
   ========================================================= */
.phero { padding: clamp(3.5rem, 9vw, 8rem) 0 clamp(3rem, 6vw, 5rem); }
.phero--green { background: var(--green); color: #fff; }
.crumbs { display: flex; gap: .5rem; margin-bottom: 2rem; font-size: .88rem; color: var(--ink-soft); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.phero--green .crumbs { color: var(--on-dark-soft); }
.phero h1 { font-size: clamp(3.6rem, 11vw, 10.5rem); line-height: .9; letter-spacing: -.035em; }
.phero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem 4rem; flex-wrap: wrap; margin-top: clamp(2rem, 4vw, 3.5rem); }
.phero--green .lede { color: var(--on-dark-soft); }

.banner { position: relative; height: clamp(320px, 72vh, 760px); overflow: hidden; background: var(--paper-soft); }
.banner img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; }

/* ---------- Detail služeb ---------- */
.rows { display: grid; gap: clamp(5rem, 10vw, 9rem); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.row:nth-child(even) .row__img { order: 2; }
.row__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); }
.row__img img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.row h2 { margin-bottom: 1.4rem; }
.row p { color: var(--ink-soft); font-size: 1.08rem; max-width: 32rem; }

.checks { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--line); max-width: 32rem; }
.checks li { display: flex; gap: .8rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.checks .i { margin-top: .25rem; color: var(--red); stroke-width: 2.5; }
.checks--light { border-color: var(--line-dark); }
.checks--light li { border-color: var(--line-dark); }

/* ---------- Postup ---------- */

/* ---------- Ceník ---------- */
.pricing { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.pricing__head { position: sticky; top: calc(var(--nav-h) + 2rem); }
.pricing__head h2 { margin-bottom: 1.2rem; }
.pricing__head p { color: var(--ink-soft); margin-bottom: 1.8rem; max-width: 26rem; }
.prices { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.prices li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem;
  padding: 1.4rem 0; border-bottom: 1px solid var(--line);
  transition: padding .35s var(--ease-out);
}
.prices li:hover { padding-left: .6rem; }
.prices span { font: 600 1.15rem/1.3 var(--font-head); letter-spacing: -.015em; }
.prices small { display: block; margin-top: .3rem; font: 400 .9rem/1.4 var(--font-body); color: var(--ink-soft); letter-spacing: 0; }
.prices b { font: 400 1.8rem/1 var(--font-display); white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.4rem 0; cursor: pointer; list-style: none;
  font: 600 1.15rem/1.3 var(--font-head); letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red); }
.faq__ico { position: relative; width: 16px; height: 16px; flex: none; }
.faq__ico::before, .faq__ico::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: currentColor; transition: transform .3s var(--ease-out); }
.faq__ico::after { transform: rotate(90deg); }
.faq details[open] .faq__ico::after { transform: rotate(0); }
.faq__a { padding: 0 2.5rem 1.5rem 0; color: var(--ink-soft); }

/* ---------- Výstavní úprava (podstránka) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.big-quote { font: italic 400 clamp(2.2rem, 4.4vw, 3.8rem)/1.08 var(--font-display); letter-spacing: -.015em; }
.prose { color: var(--ink-soft); font-size: 1.08rem; max-width: 36rem; }
.prose p + p { margin-top: 1.1rem; }
.prose strong { color: var(--ink); }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--r); overflow: hidden; }
.tiles > div { background: var(--green); padding: clamp(1.6rem, 3vw, 2.6rem); }
.tiles > div { display: flex; flex-direction: column; justify-content: flex-end; min-height: 15rem; }
.tiles > div::before { content: ""; width: 28px; height: 2px; margin-bottom: auto; background: var(--red); }
.tiles b { display: block; margin-bottom: .7rem; font: 400 clamp(1.9rem, 2.6vw, 2.4rem)/1.05 var(--font-display); }
.tiles span { color: var(--on-dark-soft); }

/* ---------- O mně ---------- */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.about__img { position: sticky; top: calc(var(--nav-h) + 2rem); aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about .big-quote { margin-bottom: 2.2rem; }

.ticks { list-style: none; margin: 2.6rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.ticks li { display: flex; gap: .9rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.ticks .i { margin-top: .2rem; color: var(--red); stroke-width: 2.5; }
.ticks b { display: block; font-family: var(--font-head); font-weight: 600; }
.ticks span { color: var(--ink-soft); font-size: .96rem; }


/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 16rem; gap: clamp(.6rem, 1.2vw, 1rem); }
.gallery__item {
  position: relative; padding: 0; border: 0; overflow: hidden; cursor: zoom-in;
  border-radius: var(--r); background: var(--line);
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.gallery__item:hover img { transform: scale(1.04); }

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: rgba(10, 12, 11, .96);
}
.lightbox[open] { display: grid; place-items: center; animation: fade .35s var(--ease-out); }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 86vh; width: auto; border-radius: var(--r-sm); }
.lightbox__close {
  position: absolute; top: 20px; right: 20px; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff;
  font-size: 2rem; line-height: 1; cursor: pointer; transition: background .2s, border-color .2s;
}
.lightbox__close:hover { background: var(--red); border-color: var(--red); }
@keyframes fade { from { opacity: 0; } }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: stretch; }
.contact__tel {
  display: inline-block; margin-bottom: 1rem;
  font: 400 clamp(3rem, 7.5vw, 6.6rem)/1 var(--font-display); letter-spacing: -.02em;
  text-decoration: none;
  background: linear-gradient(var(--red), var(--red)) 0 100% / 0 3px no-repeat;
  transition: background-size .5s var(--ease-out);
}
.contact__tel:hover { background-size: 100% 3px; }
.contact__note { color: var(--ink-soft); max-width: 30rem; }
.contact__rows { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.8rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.contact__rows span { display: block; margin-bottom: .45rem; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.contact__rows a { font: 600 1.1rem/1.4 var(--font-head); text-decoration: none; }
.contact__rows a:hover { color: var(--red); }
.contact__map { min-height: 460px; border-radius: var(--r); overflow: hidden; background: var(--paper-soft); }
.contact__map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; filter: grayscale(1) contrast(1.05); }

/* ---------- Patička s velkým telefonem ---------- */
.foot { background: var(--ink); color: #fff; }
.foot__cta {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 2.5rem clamp(2rem, 5vw, 5rem);
  padding: clamp(5rem, 11vw, 9rem) 0 clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line-dark);
}
/* mapa vedle telefonu, stejná jako na Kontaktu (černobílá) */
.foot__map { height: clamp(260px, 26vw, 360px); border-radius: var(--r); overflow: hidden; background: #1c1f1c; }
.foot__map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) contrast(1.05); }
.foot__cta p { color: var(--on-dark-soft); max-width: 30rem; }
.foot__tel {
  display: inline-block; margin: .4rem 0 1.4rem;
  font: 400 clamp(3.6rem, 7.6vw, 10rem)/.9 var(--font-display); letter-spacing: -.035em;
  text-decoration: none; color: #fff;
  background: linear-gradient(var(--red), var(--red)) 0 100% / 0 4px no-repeat;
  transition: background-size .6s var(--ease-out), color .3s;
}
.foot__tel:hover { background-size: 100% 4px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding: 3rem 0; }
.foot__grid h4 { margin: 0 0 1rem; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-soft); font-weight: 600; }
.foot__grid a { text-decoration: none; }
.foot__grid a:hover { color: var(--red); }
.foot__list { display: grid; gap: .5rem; }
.foot__icons { display: flex; gap: .6rem; margin-top: 1.4rem; }
.foot__desc { margin-top: 1rem; color: var(--on-dark-soft); max-width: 22rem; font-size: .95rem; }
.foot__bar a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }
.foot__bar a:hover { color: #fff; text-decoration-color: var(--red); }
.foot__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.6rem 0; border-top: 1px solid var(--line-dark); font-size: .88rem; color: var(--on-dark-soft); }

/* ---------- Lišta pro volání (mobil) ---------- */
.callbar { display: none; transition: transform .45s var(--ease-out); }
.has-hero .callbar { transform: translateY(160%); }
.has-hero.hero-gone .callbar { transform: none; }

/* =========================================================
   ANIMACE
   ========================================================= */
/* nadpisy vyjíždějí slovo po slově (slova obalí main.js) */
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--wi) * 55ms); }
.js [data-split].is-in .w > span { transform: none; }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: .1s; }
.js .reveal[data-d="2"] { transition-delay: .2s; }
.js .reveal[data-d="3"] { transition-delay: .3s; }

/* fotky se odkryjí odspodu */
.js .unveil { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-out); }
.js .unveil.is-in { clip-path: inset(0); }

[data-parallax] { will-change: transform; }

/* =========================================================
   RESPONZIVITA
   ========================================================= */
@media (max-width: 1020px) {
  .stack__card { grid-template-columns: 1fr; min-height: 0; }
  .stack__img { aspect-ratio: 16 / 10; order: -1; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .tiles { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  :root { --nav-h: 64px; --nav-h-hero: 104px; }
  body { font-size: 16px; padding-bottom: 76px; }
  .nav--over:not(.is-scrolled):not(.is-open) .brand__mark { width: 88px; height: 88px; }

  /* mobil: hero přes celou první obrazovku; fotka (výřez se psem) zabírá horní část
     a dolů se rozplyne do tmavé, kde je text, takže nadpis nepřekrývá psí hlavu */
  .hero { height: 100svh; min-height: 560px; }
  .hero__bg {
    bottom: 28%; transform-origin: 50% 40%;
    -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  }
  .hero__bg img { object-position: 75% 50%; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(10, 12, 11, .55) 0%, rgba(10, 12, 11, 0) 26%); }
  .hero__content { width: 100%; padding-top: var(--nav-h-hero); padding-bottom: clamp(1.8rem, 5svh, 3rem); }
  .hero__inner { margin: auto 0 0; }
  .hero__title { font-size: clamp(3rem, 14vw, 4.6rem); }
  .hero__actions { margin-top: 1.6rem; }

  .teaser, .row, .pricing, .faq-wrap, .contact, .split, .about { grid-template-columns: 1fr; }
  .row:nth-child(even) .row__img { order: 0; }
  .row__img { aspect-ratio: 5 / 4; }
  .teaser__media { padding: 0 12% 12% 0; }
  .sticker { width: 88px; height: 88px; font-size: .6rem; }
  .sticker b { font-size: 1.8rem; }
  .drift { grid-template-columns: repeat(2, 1fr); }
  .drift__col:nth-child(n+3) { display: none; }
  .brand__mark { width: 56px; height: 56px; }
  .brand__name { font-size: 1.3rem; }
  .icon-btn--lg { width: 56px; height: 56px; }
  .about__img { position: relative; top: 0; aspect-ratio: 5 / 4; }
  .head { flex-direction: column; align-items: flex-start; }
  .pricing__head { position: static; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 11rem; }
  .contact__map, .contact__map iframe { min-height: 320px; }
  .foot__cta { grid-template-columns: 1fr; }
  .foot__tel { font-size: clamp(3.6rem, 15vw, 7rem); }
  .feature { min-height: 62vh; }

  .callbar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    max-width: 30rem; margin-inline: auto;   /* na tabletu nebude přes celou šířku */
    display: flex; align-items: center; justify-content: center; gap: .6rem;
    min-height: 54px; border-radius: 999px;
    background: var(--red); color: #fff; font-weight: 600; text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
  }
}

@media (max-width: 520px) {
  .btns .btn { width: 100%; }
  .contact__rows { grid-template-columns: 1fr; }
  .prices li { flex-direction: column; gap: .5rem; }
  .foot__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js [data-split] .w > span { opacity: 1; transform: none; }
  .js .unveil { clip-path: none; }
  .statement .sw { opacity: 1; }
  [data-parallax] { transform: none !important; }
}

/* fotky v nadpisu úvodu se „nafouknou“ po vyjetí slov */
.js [data-split] .pic { transform: scale(0); transition: transform 1.1s var(--ease-out) .45s; }
.js [data-split].is-in .pic { transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-split] .pic { transform: none; } }

/* ---------- Kurzor s popiskem (jen myš) ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; will-change: transform; }
.cursor__in {
  display: grid; place-items: center;
  width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%;
  background: var(--red); color: #fff;
  font: 600 .82rem/1 var(--font-body); letter-spacing: .02em;
  transform: scale(0); transition: transform .35s var(--ease-out);
}
.cursor.is-on .cursor__in { transform: scale(1); }
[data-cursor] { cursor: none; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } [data-cursor] { cursor: pointer; } }

/* =========================================================
   Odkaz zpět na rozcestník (stanice / salon) — tichý, v liště
   ========================================================= */
.nav__home {
  display: inline-flex; align-items: center; gap: .45rem;
  font: 600 .68rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-soft); text-decoration: none; transition: color .3s;
}
.nav__home .i { width: 1.1em; height: 1.1em; transition: transform .4s var(--ease-out); }
.nav__home span { padding-bottom: 3px; background: linear-gradient(var(--red), var(--red)) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease-out); }
.nav__home:hover { color: var(--ink); }
.nav__home:hover span { background-size: 100% 1px; }
.nav__home:hover .i { transform: translateX(-4px); }
.nav--over:not(.is-solid):not(.is-open) .nav__home { color: rgba(255, 255, 255, .7); }
.nav--over:not(.is-solid):not(.is-open) .nav__home:hover { color: #fff; }
@media (min-width: 1021px) {
  .nav__menu { display: flex; align-items: center; }
  .nav__home { order: -1; margin-right: 1.4rem; padding-right: 1.4rem; border-right: 1px solid var(--line); height: 1.4rem; }
  .nav--over:not(.is-solid):not(.is-open) .nav__home { border-right-color: rgba(255, 255, 255, .25); }
}
@media (max-width: 1020px) {
  .nav__home { margin-top: 2rem; }
}

/* podpis „Webo Studio“: po najetí se nápis zleva přebarví, protáhne se linka a vyjede šipka */
.webo { position: relative; display: inline-flex; align-items: center; gap: .3rem; padding-bottom: 2px; text-decoration: none !important; color: inherit; font-weight: 600; }
.webo__t { position: relative; display: inline-block; }
.webo__t::before {
  content: attr(data-t); position: absolute; inset: 0; overflow: hidden; white-space: nowrap;
  color: var(--webo, #FF5A4D); clip-path: inset(0 100% 0 0);
  transition: clip-path .6s cubic-bezier(.16, 1, .3, 1);
}
.webo::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; opacity: .3; transition: opacity .3s;
}
.webo::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: 1;
  background: var(--webo, #FF5A4D); transform: scaleX(0); transform-origin: left;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}
.webo__i { width: .9em; height: .9em; fill: none; stroke: var(--webo, #FF5A4D); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  opacity: 0; transform: translate(-4px, 4px); transition: opacity .3s, transform .5s cubic-bezier(.16, 1, .3, 1); }
.webo:hover .webo__t::before, .webo:focus-visible .webo__t::before { clip-path: inset(0 0 0 0); }
.webo:hover::before, .webo:focus-visible::before { transform: none; }
.webo:hover .webo__i, .webo:focus-visible .webo__i { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .webo__t::before, .webo::before, .webo__i { transition: none; } }

/* krátce o mně pod herem úvodu */
.about-short { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.about-short__grid { display: grid; grid-template-columns: minmax(140px, 1fr) 3fr; gap: 1.2rem 3rem; align-items: start; }
.about-short__grid .eyebrow { margin: .55rem 0 0; }
.about-short__text {
  max-width: 34ch; margin-bottom: 1.8rem;
  font: 400 clamp(1.6rem, 2.6vw, 2.3rem)/1.25 var(--font-display); letter-spacing: -.01em; color: var(--ink);
}
.about-short__text em { font-style: italic; color: var(--red); }
@media (max-width: 720px) { .about-short__grid { grid-template-columns: 1fr; } }

/* služby na úvodu: malé karty, jen fotka, název a „Více“ */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); margin: 0; padding: 0; list-style: none; }
.svc { position: relative; display: block; overflow: hidden; border-radius: var(--r); text-decoration: none; color: #fff; isolation: isolate; aspect-ratio: 4 / 5; }
.svc__img { position: absolute; inset: 0; z-index: -2; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10, 12, 10, .72) 0%, rgba(10, 12, 10, 0) 55%); transition: opacity .4s; }
.svc__name { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 2.7rem; font: 400 clamp(1.5rem, 2vw, 1.9rem)/1.05 var(--font-display); letter-spacing: -.01em; }
.svc__more {
  position: absolute; left: 1.1rem; bottom: 1.05rem; display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .78);
  transition: color .3s, gap .35s var(--ease-out);
}
.svc__more .i { width: 14px; height: 14px; }
.svc:hover .svc__img img { transform: scale(1.06); }
.svc:hover .svc__more { color: #fff; gap: .65rem; }
.svc::after { content: ""; position: absolute; left: 1.1rem; right: 1.1rem; bottom: .75rem; height: 1.5px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.svc:hover::after { transform: scaleX(1); }
@media (max-width: 900px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .svc__name { left: .85rem; bottom: 2.4rem; font-size: 1.35rem; } .svc__more { left: .85rem; } .svc::after { left: .85rem; right: .85rem; } }
/* O mně: menší a užší text, odkaz vpravo pod ním */
.about-short__grid > div { display: flex; flex-direction: column; max-width: 34rem; }
.about-short__text { max-width: none; margin-bottom: 1.4rem; font-size: clamp(1.3rem, 1.8vw, 1.65rem); line-height: 1.35; }
.about-short__grid .arrow-link { align-self: flex-end; }

/* odkaz na chovatelskou stanici vedle Rozcestníku */
.nav__kennel .i { width: 1.15em; height: 1.15em; }
.nav__kennel:hover .i { transform: rotate(-12deg) scale(1.1); color: #D68A3F; }
@media (min-width: 1021px) {
  .nav__home:not(.nav__kennel) { border-right: 0; padding-right: 0; margin-right: 1.3rem; }
}
@media (max-width: 1020px) {
  .nav__kennel { margin-top: 1rem; }
  .nav__home:not(.nav__kennel) { margin-top: 2rem; }
  .nav__home { display: flex; width: max-content; }
}
/* menší notebooky: u Rozcestníku a Chovatelské stanice jen ikonky, ať se menu nelámou */
@media (min-width: 1021px) and (max-width: 1240px) {
  .nav__home span { display: none; }
  .nav__home .i { width: 1.35em; height: 1.35em; }
  .nav__home:not(.nav__kennel) { margin-right: .9rem; }
  .nav__kennel { margin-right: 1rem; padding-right: 1rem; }
}

/* odkaz na chovatelskou stanici se vybarví do barvy stanice (měď), ne do červené salonu */
.nav__kennel span { background-image: linear-gradient(#C27A3A, #C27A3A); }
.nav__kennel:hover, .nav__kennel:focus-visible { color: #A9622A; }
.nav--over:not(.is-solid):not(.is-open) .nav__kennel:hover,
.nav--over:not(.is-solid):not(.is-open) .nav__kennel:focus-visible { color: #F0A85E; }
.nav--over:not(.is-solid):not(.is-open) .nav__kennel span { background-image: linear-gradient(#F0A85E, #F0A85E); }
.nav__kennel:hover .i { color: inherit; }
.nav__kennel:focus-visible span { background-size: 100% 1px; }

/* =========================================================
   8. 11.: PŘED A PO (posuvník), čitelnost
   ========================================================= */
:root { --ink-soft: #474C48; }   /* tmavší šedá, kontrast 8 : 1 */
body { font-size: 18px; }

.ba-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.ba-item { margin: 0; }
.ba {
  --pos: 50%;
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r);
  background: var(--paper-soft); user-select: none; -webkit-user-select: none; touch-action: pan-y;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__line {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .25); pointer-events: none;
}
.ba__knob {
  position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px;
  display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .22); transition: transform .3s var(--ease-out);
}
.ba__knob .i { width: 20px; height: 20px; }
.ba:hover .ba__knob { transform: scale(1.08); }
.ba__tag {
  position: absolute; top: 14px; padding: .35rem .7rem; border-radius: 999px; pointer-events: none;
  font: 600 .72rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  background: rgba(17, 19, 17, .72); color: #fff;
}
.ba__tag--pred { left: 14px; }
.ba__tag--po { right: 14px; background: var(--red); }
/* neviditelný posuvník přes celou fotku: myš, prst i klávesnice */
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.ba input:focus-visible + .ba__line .ba__knob { outline: 3px solid var(--red); outline-offset: 3px; }
.ba-item figcaption { margin-top: .8rem; font: 600 1.05rem/1.3 var(--font-head); }
.ba-note { margin-top: 1.4rem; color: var(--ink-soft); }
@media (max-width: 900px) {
  .ba-grid { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin-inline: auto; }
}
/* skutečné fotky z mobilu: bez parallaxu a s hlavou psa v záběru */
.row__img--still img { inset: 0; height: 100%; object-position: 50% 18%; }
.svc__img img { object-position: 50% 22%; }
/* galerie na mobilu: dlaždice 4:5, ať se psi neořezávají do úzkých pruhů */
@media (max-width: 700px) {
  .gallery { grid-auto-rows: auto; }
  .gallery__item, .gallery__item--tall { grid-row: auto; aspect-ratio: 4 / 5; }
}
/* před a po: čtverce (psi z boku se nevejdou na výšku) */
.ba { aspect-ratio: 1 / 1; }
.gallery { grid-auto-flow: dense; }

/* ---------- oznámení z administrace (dovolená apod.) ---------- */
.notice { background: var(--green); color: #fff; }
.notice__in { display: flex; gap: .8rem; align-items: flex-start; padding-block: 1.1rem; font-size: 1.05rem; line-height: 1.5; }
.notice p { margin: 0; }
.notice .i { flex: none; width: 24px; height: 24px; margin-top: 1px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }

/* =========================================================
   14. 11.: barvy salonu podle banneru od klientky —
   bílá, šedá a trochu růžové, sem tam tlapka.
   Růžová na text je tmavší (#B0446A, kontrast 5,4 : 1).
   ========================================================= */
:root {
  --ink: #2B2A2E;
  --ink-soft: #5C5C63;
  --paper-soft: #F4EFF1;   /* barva pozadí banneru */
  --line: #E8E1E4;
  --red: #B0446A;          /* růžová: zvýraznění, tlačítka */
  --red-dark: #93355A;
  --green: #4A4A50;        /* tmavě šedé plochy */
  --pink-soft: #F2C4CF;
  --paws: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='760' height='760'%3E%3Cg fill='%23ECE5E9' transform='translate(70 90) rotate(-18 24 24) scale(2)'%3E%3Cellipse cx='12' cy='16.2' rx='4.6' ry='3.8'/%3E%3Cellipse cx='6.2' cy='10.6' rx='1.9' ry='2.4'/%3E%3Cellipse cx='17.8' cy='10.6' rx='1.9' ry='2.4'/%3E%3Cellipse cx='9.4' cy='6.6' rx='1.9' ry='2.5'/%3E%3Cellipse cx='14.6' cy='6.6' rx='1.9' ry='2.5'/%3E%3C/g%3E%3Cg fill='%23F7D9E0' transform='translate(560 330) rotate(20 24 24) scale(1.6)'%3E%3Cellipse cx='12' cy='16.2' rx='4.6' ry='3.8'/%3E%3Cellipse cx='6.2' cy='10.6' rx='1.9' ry='2.4'/%3E%3Cellipse cx='17.8' cy='10.6' rx='1.9' ry='2.4'/%3E%3Cellipse cx='9.4' cy='6.6' rx='1.9' ry='2.5'/%3E%3Cellipse cx='14.6' cy='6.6' rx='1.9' ry='2.5'/%3E%3C/g%3E%3Cg fill='%23ECE5E9' transform='translate(250 600) rotate(-6 24 24) scale(1.4)'%3E%3Cellipse cx='12' cy='16.2' rx='4.6' ry='3.8'/%3E%3Cellipse cx='6.2' cy='10.6' rx='1.9' ry='2.4'/%3E%3Cellipse cx='17.8' cy='10.6' rx='1.9' ry='2.4'/%3E%3Cellipse cx='9.4' cy='6.6' rx='1.9' ry='2.5'/%3E%3Cellipse cx='14.6' cy='6.6' rx='1.9' ry='2.5'/%3E%3C/g%3E%3C/svg%3E");
  --paws-pink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='760' height='760'%3E%3Cg fill='%23F2D3DC' transform='translate(70 90) rotate(-18 24 24) scale(2)'%3E%3Cellipse cx='12' cy='16.2' rx='4.6' ry='3.8'/%3E%3Cellipse cx='6.2' cy='10.6' rx='1.9' ry='2.4'/%3E%3Cellipse cx='17.8' cy='10.6' rx='1.9' ry='2.4'/%3E%3Cellipse cx='9.4' cy='6.6' rx='1.9' ry='2.5'/%3E%3Cellipse cx='14.6' cy='6.6' rx='1.9' ry='2.5'/%3E%3C/g%3E%3Cg fill='%23FFFFFF' transform='translate(560 330) rotate(20 24 24) scale(1.6)'%3E%3Cellipse cx='12' cy='16.2' rx='4.6' ry='3.8'/%3E%3Cellipse cx='6.2' cy='10.6' rx='1.9' ry='2.4'/%3E%3Cellipse cx='17.8' cy='10.6' rx='1.9' ry='2.4'/%3E%3Cellipse cx='9.4' cy='6.6' rx='1.9' ry='2.5'/%3E%3Cellipse cx='14.6' cy='6.6' rx='1.9' ry='2.5'/%3E%3C/g%3E%3Cg fill='%23F2D3DC' transform='translate(250 600) rotate(-6 24 24) scale(1.4)'%3E%3Cellipse cx='12' cy='16.2' rx='4.6' ry='3.8'/%3E%3Cellipse cx='6.2' cy='10.6' rx='1.9' ry='2.4'/%3E%3Cellipse cx='17.8' cy='10.6' rx='1.9' ry='2.4'/%3E%3Cellipse cx='9.4' cy='6.6' rx='1.9' ry='2.5'/%3E%3Cellipse cx='14.6' cy='6.6' rx='1.9' ry='2.5'/%3E%3C/g%3E%3C/svg%3E");
}
.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;
}
/* tlapky v pozadí: jen na světlých plochách, velký rozestup */
main, .sheet { background-color: var(--paper); background-image: var(--paws); background-size: 760px; }
.section--soft { background-color: var(--paper-soft); background-image: var(--paws); background-size: 760px; background-position: 380px 200px; }
.callbar { box-shadow: 0 8px 24px rgba(176, 68, 106, .32); }

/* ---------- záhlaví salonu: banner celý, pod ním telefon ---------- */
.bhero { background: var(--paper-soft); border-bottom: 1px solid var(--line); }
.bhero__img { position: relative; aspect-ratio: 2000 / 667; overflow: hidden; background: #F4EFF1; }
.bhero__img img { width: 100%; height: 100%; object-fit: cover; animation: banner-in 1.1s var(--ease-out) both; }
@keyframes banner-in { from { opacity: 0; } }
.bhero__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.2rem 2.4rem; padding-block: clamp(1.4rem, 2.6vw, 2.2rem);
}
.bhero__sub { font: italic 400 clamp(1.7rem, 2.6vw, 2.5rem)/1.1 var(--font-display); color: var(--ink); }
.bhero__actions { display: flex; align-items: center; gap: .8rem; }
.bhero__tel { background: var(--red); color: #fff; --fill: var(--ink); font-size: 1.15rem; letter-spacing: .01em; }
.bhero__actions .icon-btn { background: #fff; }
.bhero__special {
  display: inline-flex; flex-direction: column; gap: .35rem;
  padding-left: 1.6rem; border-left: 1px solid var(--line);
  color: var(--ink); text-decoration: none;
}
.bhero__special small { font: 600 .72rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.bhero__special span { display: inline-flex; align-items: center; gap: .5rem; font: 400 1.5rem/1.1 var(--font-display); }
.bhero__special .i { color: var(--red); transition: transform .35s var(--ease-out); }
.bhero__special:hover .i { transform: translateX(5px); }
/* obsah pod bannerem už se nevysouvá jako list */
.bhero + .sheet { border-radius: 0; box-shadow: none; }
@media (max-width: 900px) {
  /* telefon: bez kolečka s nůžkami (logo je v liště), nápis a všech pět psů */
  .bhero__img { aspect-ratio: 1400 / 667; }
  .bhero__img img { object-position: 80% 50%; }
  .bhero__bar { flex-direction: column; text-align: center; gap: 1.1rem; }
  .bhero__actions { justify-content: center; }
  .bhero__special { align-items: center; padding: 1rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Výstavní úprava: fotky z výstav (celé, bez ořezu) ---------- */
.show-grid { columns: 3 260px; column-gap: clamp(.7rem, 1.4vw, 1.1rem); }
.show-grid button {
  display: block; width: 100%; margin: 0 0 clamp(.7rem, 1.4vw, 1.1rem); padding: 0; border: 0;
  background: var(--paper-soft); border-radius: var(--r); overflow: hidden; cursor: zoom-in;
  break-inside: avoid;
}
.show-grid img { width: 100%; height: auto; transition: transform 1s var(--ease-out); }
.show-grid button:hover img { transform: scale(1.03); }

/* ---------- růžové plochy místo tmavě šedých (Výstavní úprava) ---------- */
.phero--green {
  background-color: #F7E1E8; background-image: var(--paws-pink); background-size: 760px; background-position: 120px 60px;
  color: var(--ink);
}
.phero--green .crumbs, .phero--green .lede { color: var(--ink-soft); }
.phero--green .btn--white { background: var(--red); color: #fff; --fill: var(--ink); }
.phero--green .pic { background: #fff; box-shadow: 0 0 0 3px #fff; }
.phero--green .tiles { background: #EFCBD6; border-color: #EFCBD6; }
.phero--green .tiles > div { background: #fff; }
.phero--green .tiles span { color: var(--ink-soft); }
/* celý pes v koláčku: při najetí se nepřibližuje, ať se neořízne */
.phero--green .pic:hover img { transform: none; }
/* široká fotka pod nadpisem: na telefonu a tabletu celá (16 : 10), ne úzký výřez */
@media (max-width: 900px) {
  .banner { height: auto; aspect-ratio: 16 / 10; }
  .banner img { inset: -6% 0; height: 112%; }
}

/* =========================================================
   15. 11.: zarovnání a celé psy na fotkách (kontrola webu)
   ========================================================= */
/* Výstavní úprava na úvodu: pes celý vpravo, nápis vlevo na rozmazaném pozadí */
.feature__img img { object-position: 72% 50%; }
.feature::after { background: linear-gradient(90deg, rgba(20, 20, 24, .72) 0%, rgba(20, 20, 24, .45) 38%, rgba(20, 20, 24, 0) 62%), linear-gradient(to top, rgba(20, 20, 24, .55), rgba(20, 20, 24, 0) 45%); }
@media (max-width: 900px) {
  /* telefon: fotka nahoře celá, text pod ní na tmavé ploše */
  .feature { display: block; min-height: 0; background: var(--green); }
  .feature::after { display: none; }
  .feature__img { position: relative; inset: auto; aspect-ratio: 16 / 10; overflow: hidden; }
  .feature__img img { position: absolute; left: 0; top: -6%; height: 112%; object-position: 70% 50%; }
  .feature__body { padding-top: 2rem; }
}

/* galerie Po úpravě: fotky celé (bez ořezu), skládané do sloupců bez děr */
.gallery { display: block; columns: 4 220px; column-gap: clamp(.6rem, 1.2vw, 1rem); }
.gallery__item, .gallery__item--tall {
  display: block; width: 100%; height: auto; aspect-ratio: auto; margin: 0 0 clamp(.6rem, 1.2vw, 1rem);
  break-inside: avoid; grid-row: auto;
}
.gallery__item img { height: auto; }
@media (max-width: 700px) {
  .gallery { columns: 2; grid-auto-rows: auto; }
  .gallery__item, .gallery__item--tall { aspect-ratio: auto; }
}

/* Výstavní úprava – dlaždice na telefonu bez prázdného místa */
@media (max-width: 900px) {
  .tiles > div { min-height: 0; }
  .tiles > div::before { margin-bottom: 1.2rem; }
}
@media (min-width: 901px) {
  /* nápis a text jen v levé polovině, pes vpravo zůstane volný */
  .feature__grid { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 1.4rem; }
  .feature h2 { font-size: clamp(3rem, 5vw, 5.2rem); max-width: 8.5em; }
  .feature__body .wrap > * { max-width: min(46vw, 640px); }
}
/* velká fotka na stránce Výstavní úprava: poměr stran místo výšky okna,
   takže je pes celý na každé obrazovce (na širokém monitoru se neořízne) */
.banner { height: auto; aspect-ratio: 26 / 10; max-height: none; }
.banner img { inset: auto 0; top: -7%; height: 114%; object-position: 50% 50%; }
@media (max-width: 900px) {
  .banner { aspect-ratio: 16 / 10; }
}
