/* =========================================================
   CHOVATELSKÁ STANICE + ROZCESTNÍK
   Tmavý teplý podklad, fotka nahoře se rozplyne do barvy.
   Barvy se mění jen v :root.
   ========================================================= */

:root {
  --bg: #FFFFFF;            /* podklad, do něj se rozplyne fotka */
  --bg-2: #F4F3F1;          /* střídání sekcí, karty */
  --bg-3: #E8E5E1;
  --text: #1B1612;
  --muted: rgba(27, 22, 18, .62);
  --line: rgba(27, 22, 18, .12);
  --accent: #B8692A;        /* měděná, barva znaků teriérů */
  --accent-2: #9C5520;      /* tmavší měď na hover */
  --dark: #17120E;          /* patička */

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --nav-h: 64px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
@supports not (overflow: clip) { body { overflow-x: hidden; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
h1, h2 { font-family: var(--font-display); letter-spacing: -.015em; line-height: 1; }
h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h3 { font: 600 1.05rem/1.3 var(--font-body); }
p { margin: 0; text-wrap: pretty; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.i { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i--fill { fill: currentColor; stroke: none; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: .7rem 1rem; 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: block; margin-bottom: 1rem; font: 600 .74rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.muted { color: var(--muted); }

.link {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--text); text-decoration: none; font-weight: 500;
  border-bottom: 1px solid var(--accent); padding-bottom: .2rem;
  transition: gap .3s var(--ease), color .2s;
}
.link:hover { gap: .8rem; color: var(--accent-2); }

/* ---------- HERO: fotka se rozplyne do barvy ---------- */
.k-hero { position: relative; isolation: isolate; }
.k-hero__img {
  position: relative; height: clamp(440px, 74vh, 860px); overflow: hidden;
}
.k-hero__img img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  /* tady se děje to „rozplynutí“ */
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 42%, rgba(0,0,0,.5) 68%, rgba(0,0,0,.12) 86%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 42%, rgba(0,0,0,.5) 68%, rgba(0,0,0,.12) 86%, transparent 100%);
  transform: scale(1.04); transform-origin: 50% 0;
  animation: heroIn 1.8s var(--ease) both;
}
.k-hero__img::after { /* jemná vinětace do stran, ať fotka nemá ostrý kraj */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to right, var(--bg) 0, transparent 9%, transparent 91%, var(--bg) 100%);
}
@keyframes heroIn { from { opacity: 0; transform: scale(1.1); } to { opacity: 1; transform: scale(1.04); } }

.k-hero__brand {
  position: absolute; left: 0; right: 0; bottom: clamp(8px, 3vh, 36px); z-index: 2;
  text-align: center; padding: 0 var(--gutter);
}
.k-hero__brand small {
  text-shadow: 0 0 18px rgba(255,255,255,.9);
  display: block; margin-bottom: .6rem;
  font: 600 .74rem/1 var(--font-body); letter-spacing: .28em; text-transform: uppercase; color: var(--accent);
}
.k-hero__name {
  display: block; font-family: var(--font-display); font-style: italic;
  font-size: clamp(3rem, 9vw, 7.4rem); line-height: .95; letter-spacing: -.02em;
  text-decoration: none; text-shadow: 0 0 40px rgba(255,255,255,.95), 0 0 12px rgba(255,255,255,.7);
}
.k-hero__sub { margin-top: .7rem; color: var(--muted); font-size: .95rem; }

/* tichý odkaz zpět na rozcestník, vlevo nahoře přes fotku */
.k-home {
  position: absolute; top: clamp(18px, 3vh, 30px); left: var(--gutter); z-index: 3;
  display: inline-flex; align-items: center; gap: .5rem;
  font: 600 .68rem/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255, 255, 255, .72); text-decoration: none; text-shadow: 0 1px 10px rgba(0, 0, 0, .5);
  opacity: 0; animation: fadeIn 1s .6s var(--ease) forwards;
  transition: color .3s;
}
.k-home span { padding-bottom: 3px; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.k-home .i { width: 1.1em; height: 1.1em; transition: transform .4s var(--ease); }
.k-home:hover { color: #fff; }
.k-home:hover span { background-size: 100% 1px; }
.k-home:hover .i { transform: translateX(-4px); }
@keyframes fadeIn { to { opacity: 1; } }

/* podstránky: nižší fotka */
.k-hero--small .k-hero__img { height: clamp(300px, 46vh, 520px); }
.k-hero--small .k-hero__name { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.k-hero--small .k-hero__sub { display: none; }

/* ---------- NAVIGACE ---------- */
.k-nav {
  position: sticky; top: 0; z-index: 40;
  border-top: 1px solid transparent; border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0);
  transition: background .3s, border-color .3s;
}
.k-nav.is-stuck { background: rgba(255, 255, 255, .95); border-top-color: transparent; }
.k-nav__inner { display: flex; align-items: center; justify-content: center; min-height: var(--nav-h); gap: 1rem; }
.k-nav__mini {
  position: absolute; left: var(--gutter);
  font-family: var(--font-display); font-style: italic; font-size: 1.5rem; text-decoration: none;
  opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
}
.k-nav.is-stuck .k-nav__mini { opacity: 1; transform: none; pointer-events: auto; }
.k-nav__list { display: flex; align-items: center; gap: clamp(.4rem, 1.6vw, 1.6rem); margin: 0; padding: 0; list-style: none; }
.k-nav__link {
  position: relative; display: block; padding: .6rem .2rem;
  font-size: .9rem; font-weight: 500; letter-spacing: .02em; text-decoration: none; color: var(--muted);
  transition: color .2s;
}
.k-nav__link::after {
  content: ""; position: absolute; left: .2rem; right: .2rem; bottom: .35rem; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.k-nav__link:hover, .k-nav__link[aria-current="page"] { color: var(--text); }
.k-nav__link:hover::after, .k-nav__link[aria-current="page"]::after { transform: none; }
/* odkaz na salon: jen jablko a název, „Apple“ červeně jako v logu */
.k-nav__salon, .k-drawer__salon, .salon-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-size: 1.35rem; line-height: 1; text-decoration: none; color: var(--text);
  transition: opacity .25s;
}
.k-nav__salon { position: absolute; right: var(--gutter); }
.salon-link--big { font-size: 2rem; gap: .7rem; }
.salon-link--big .apple-mark { width: 42px; height: 42px; }
.k-nav__salon b, .k-drawer__salon b, .salon-link b { font-weight: 400; font-style: italic; color: #E8392B; }
.apple-mark { width: 28px; height: 28px; flex: none; transition: transform .5s var(--ease); }
.k-nav__salon:hover .apple-mark, .k-drawer__salon:hover .apple-mark, .salon-link:hover .apple-mark { transform: rotate(-10deg) scale(1.08); }
.k-nav__salon span, .k-drawer__salon span, .salon-link span { background: linear-gradient(#E8392B, #E8392B) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: background-size .4s var(--ease); }
.k-nav__salon:hover span, .k-drawer__salon:hover span, .salon-link:hover span { background-size: 100% 1px; }

/* mobilní lišta + menu zleva */
.k-bar { display: none; }
.k-drawer { display: none; }

@media (max-width: 1080px) {
  .k-nav__salon span { display: none; }
}
@media (max-width: 900px) {
  .k-nav { display: none; }
  .k-bar {
    position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: .8rem;
    height: var(--nav-h); padding: 0 var(--gutter);
    padding-top: env(safe-area-inset-top); height: calc(var(--nav-h) + env(safe-area-inset-top));
    transition: background .3s, border-color .3s; border-bottom: 1px solid transparent;
  }
  .k-bar.is-stuck { background: rgba(255, 255, 255, .95); border-bottom-color: var(--line); }
  .k-bar__name {
    font-family: var(--font-display); font-style: italic; font-size: 1.45rem; text-decoration: none;
    opacity: 0; transition: opacity .3s;
  }
  .k-bar.is-stuck .k-bar__name { opacity: 1; }
  .k-burger {
    display: inline-flex; align-items: center; gap: .6rem; height: 42px; padding: 0 .9rem 0 .75rem;
    border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .82); color: var(--text);
    font: 500 .88rem/1 var(--font-body); cursor: pointer;
  }
  .k-burger__lines { position: relative; width: 18px; height: 10px; }
  .k-burger__lines::before, .k-burger__lines::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; }
  .k-burger__lines::before { top: 0; } .k-burger__lines::after { bottom: 0; }

  .k-drawer { display: block; position: fixed; inset: 0; z-index: 60; visibility: hidden; transition: visibility 0s .45s; }
  .k-drawer.is-open { visibility: visible; transition: none; }
  .k-drawer__shade { position: absolute; inset: 0; background: rgba(23, 18, 14, .4); opacity: 0; transition: opacity .4s; border: 0; width: 100%; cursor: pointer; }
  .k-drawer.is-open .k-drawer__shade { opacity: 1; }
  .k-drawer__panel {
    position: absolute; inset: 0 auto 0 0; width: min(84vw, 340px);
    display: flex; flex-direction: column; gap: 1.6rem;
    padding: calc(1.2rem + env(safe-area-inset-top)) 1.6rem calc(1.6rem + env(safe-area-inset-bottom));
    background: var(--bg); border-right: 1px solid var(--line);
    transform: translateX(-102%); transition: transform .45s var(--ease); overflow-y: auto;
  }
  .k-drawer.is-open .k-drawer__panel { transform: none; }
  .k-drawer__top { display: flex; align-items: center; justify-content: space-between; }
  .k-drawer__name { font-family: var(--font-display); font-style: italic; font-size: 1.7rem; text-decoration: none; line-height: 1; }
  .k-drawer__close { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: none; color: var(--text); cursor: pointer; }
  .k-drawer__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
  .k-drawer__list a {
    display: flex; align-items: center; justify-content: space-between;
    padding: .95rem 0; border-bottom: 1px solid var(--line);
    font-family: var(--font-display); font-size: 1.65rem; line-height: 1.1; text-decoration: none;
  }
  .k-drawer__list a[aria-current="page"] { color: var(--accent); }
  .k-drawer__list a::after { content: "→"; font-family: var(--font-body); font-size: 1rem; color: var(--muted); }
  .k-drawer__foot { margin-top: auto; display: grid; gap: .7rem; font-size: .95rem; }
  .k-drawer__foot a { text-decoration: none; color: var(--muted); }
  .k-drawer__foot a.k-drawer__salon { color: var(--text); font-size: 1.5rem; margin-top: .6rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
  .k-drawer__salon .apple-mark { width: 32px; height: 32px; }
  .k-hero > .k-home { display: none; }
  .k-drawer__foot a.k-home--drawer { position: static; opacity: 1; animation: none; text-shadow: none; color: var(--muted); margin-top: .4rem; }

  .k-hero__img { height: min(74svh, 640px); }
  .k-hero--small .k-hero__img { height: 46svh; min-height: 300px; }
  .k-hero__img img { object-position: 47% 30%; }
  .k-hero__brand small { font-size: .64rem; letter-spacing: .16em; }
  .k-hero__img::after { display: none; }
}
html.menu-open { overflow: hidden; }

/* ---------- SEKCE ---------- */
.section { padding: clamp(64px, 10vw, 128px) 0; }
.section--tight { padding-top: clamp(32px, 5vw, 64px); }
.section--alt { background: var(--bg-2); }
.head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 56px); }
.head p { max-width: 46ch; color: var(--muted); }
.page-title { text-align: center; margin-bottom: clamp(36px, 6vw, 64px); }
.page-title h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); }
.page-title p { margin: 1rem auto 0; max-width: 52ch; color: var(--muted); }

/* úvod O nás */
.intro { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.intro__text h2 { margin-bottom: 1.6rem; }
.intro__text p + p { margin-top: 1rem; }
.intro__text p { color: var(--muted); }
.intro__text p.lead { color: var(--text); font-size: 1.2rem; line-height: 1.55; }
.intro__img { position: relative; }
.intro__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 0 0; }
.intro__badge {
  position: absolute; left: -24px; bottom: 32px; padding: 1.1rem 1.3rem; background: var(--accent); color: #1A120A;
  font-family: var(--font-display); font-size: 1.25rem; line-height: 1.1;
}
.intro__badge strong { display: block; font-size: 2.6rem; font-weight: 400; }
.intro__actions { display: flex; gap: 1.6rem; flex-wrap: wrap; margin-top: 2rem; }
@media (max-width: 860px) {
  .intro { grid-template-columns: 1fr; }
  .intro__img { max-width: 420px; margin: 0 auto; width: 100%; }
  .intro__badge { left: 0; }
}

/* ---------- PORTRÉTY PSŮ ---------- */
.dogs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 40px); margin: 0; padding: 0; list-style: none; }
.dogs--center { justify-content: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 280px)); }
.dog { text-align: center; }
.dog a { display: block; text-decoration: none; }
.dog__img {
  display: block;
  position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; background: var(--bg-3);
}
.dog__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.dog__img::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: none;
}
.dog a:hover .dog__img img { transform: scale(1.06); }
.dog__name { display: block; margin-top: 1rem; font-family: var(--font-display); font-style: italic; font-size: 2.3rem; line-height: 1; transition: color .25s; }
.dog a:hover .dog__name { color: var(--accent-2); }
.dog__meta { display: block; margin-top: .45rem; font-size: .86rem; color: var(--muted); }
.dog__title { display: inline-block; margin-top: .6rem; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.memoriam .dog__img img { filter: grayscale(1) contrast(1.05); }
.memoriam .dog a:hover .dog__img img { filter: grayscale(0); }
.empty { text-align: center; color: var(--muted); padding: 3rem 0; }

/* ---------- DETAIL PSA ---------- */
.crumbs { display: flex; gap: .5rem; flex-wrap: wrap; font-size: .85rem; color: var(--muted); margin-bottom: 2rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.profile { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.profile__img { position: sticky; top: calc(var(--nav-h) + 24px); }
.profile__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 0 0; }
.profile h1 { font-style: italic; font-size: clamp(3.6rem, 9vw, 6.8rem); }
.profile__full { margin-top: .6rem; font-size: 1.1rem; color: var(--muted); }
.profile__lead { margin-top: 1.8rem; font-size: 1.15rem; line-height: 1.6; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0; margin: 2.2rem 0 0; border-top: 1px solid var(--line); }
.facts dt, .facts dd { margin: 0; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.facts dt { padding-right: 2rem; color: var(--muted); font-size: .9rem; }
.facts dd a { text-decoration: none; border-bottom: 1px solid var(--accent); }
.facts dd a:hover { color: var(--accent-2); }
.block { margin-top: 2.6rem; }
.block h2 { font-size: 1.9rem; margin-bottom: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.chips li { padding: .45rem .85rem; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; }
.chips--accent li { border-color: rgba(184, 105, 42, .45); color: var(--accent-2); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; margin-top: 1rem; }
.gallery button { padding: 0; border: 0; background: var(--bg-3); cursor: zoom-in; overflow: hidden; aspect-ratio: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery button:hover img { transform: scale(1.05); }
@media (max-width: 860px) {
  .profile { grid-template-columns: 1fr; }
  .profile__img { position: static; max-width: 420px; margin: 0 auto; width: 100%; }
  .profile__text { text-align: left; }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; }
  .facts dt { padding-bottom: 0; border-bottom: 0; font-size: .8rem; }
  .facts dd { padding-top: .2rem; }
}

/* ---------- ODCHOVY: písmenka vrhů ---------- */
.alpha + .alpha { margin-top: clamp(56px, 8vw, 96px); }
.alpha__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.alpha__head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.alpha__head span { color: var(--muted); font-size: .92rem; }
.letters { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.letter {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  aspect-ratio: 1; text-decoration: none; background: var(--bg-2); border: 1px solid var(--line);
  transition: background .3s, border-color .3s, transform .4s var(--ease);
}
.letter b { font-family: var(--font-display); font-weight: 400; font-size: 3.4rem; line-height: 1; transition: color .3s; }
.letter small { margin-top: .3rem; font-size: .78rem; color: var(--muted); letter-spacing: .04em; }
.letter:hover { background: var(--bg-3); border-color: var(--accent); transform: translateY(-3px); }
.letter:hover b { color: var(--accent-2); }
.letter--new::before { content: "nový"; position: absolute; top: 8px; right: 8px; font-size: .64rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 520px) {
  .letters { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .letter b { font-size: 2.4rem; }
  .letter small { font-size: .7rem; }
}

/* detail vrhu */
.litter-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; margin-bottom: clamp(40px, 6vw, 64px); }
.litter-head__letter {
  font-family: var(--font-display); font-size: clamp(8rem, 22vw, 15rem); line-height: .8; color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
}
.litter-head h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.litter-head p { margin-top: .8rem; color: var(--muted); font-size: 1.05rem; }
.parents { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 32px); }
.parent { display: flex; align-items: center; gap: 1.2rem; padding: 1.2rem; border: 1px solid var(--line); background: var(--bg-2); text-decoration: none; transition: border-color .3s; }
a.parent:hover { border-color: var(--accent); }
.parent img { width: 84px; height: 104px; object-fit: cover; border-radius: 999px 999px 0 0; flex: none; }
.parent__ph { width: 84px; height: 104px; border-radius: 999px 999px 0 0; background: var(--bg-3); flex: none; }
.parent small { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.parent strong { display: block; margin-top: .3rem; font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; line-height: 1.1; }
.pups { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .95rem; }
.pups th, .pups td { text-align: left; padding: .8rem .6rem .8rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.pups th { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pups td:first-child { font-weight: 500; }
.litter-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: clamp(48px, 7vw, 80px); padding-top: 1.6rem; border-top: 1px solid var(--line); }
.litter-nav a { text-decoration: none; color: var(--muted); }
.litter-nav a:hover { color: var(--text); }
@media (max-width: 640px) {
  .parents { grid-template-columns: 1fr; }
  .litter-head { grid-template-columns: 1fr; text-align: center; }
  .pups thead { display: none; }
  .pups tr { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .pups td { display: inline; padding: 0; border: 0; }
  .pups td:not(:first-child)::before { content: " · "; color: var(--muted); }
  .pups td:empty { display: none; }
}

/* ---------- KONTAKT ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact__tel { display: inline-block; font-family: var(--font-display); font-size: clamp(3rem, 8vw, 5.6rem); line-height: 1; text-decoration: none; }
.contact__tel:hover { color: var(--accent-2); }
.contact__list { margin-top: 2rem; border-top: 1px solid var(--line); }
.contact__list > * { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.contact__list span:first-child { color: var(--muted); }
.contact__map { aspect-ratio: 4 / 3; border: 1px solid var(--line); overflow: hidden; }
.contact__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ---------- PATIČKA ---------- */
.k-foot {
  --text: #F2ECE4; --muted: rgba(242, 236, 228, .62); --line: rgba(242, 236, 228, .14); --accent: #D68A3F; --accent-2: #F0A85E;
  background: var(--dark); color: var(--text);
  border-top: 1px solid var(--line); padding: clamp(48px, 7vw, 80px) 0 calc(28px + env(safe-area-inset-bottom)); }
.k-foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.4rem; }
.k-foot__name { font-family: var(--font-display); font-style: italic; font-size: 2.4rem; line-height: 1; text-decoration: none; }
.k-foot p { margin-top: .8rem; color: var(--muted); max-width: 36ch; }
.k-foot h4 { margin: 0 0 1rem; font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.k-foot__list { display: grid; gap: .45rem; }
.k-foot__list a { text-decoration: none; color: var(--muted); }
.k-foot__list a:hover { color: var(--text); }
.k-foot__bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem 2rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.k-foot__bar a { color: var(--text); text-decoration: none; }
@media (max-width: 760px) { .k-foot__grid { grid-template-columns: 1fr 1fr; } .k-foot__grid > :first-child { grid-column: 1 / -1; } }

/* ---------- LIGHTBOX ---------- */
.lb { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; background: rgba(10, 8, 6, .94); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.lb.is-open { opacity: 1; visibility: visible; transition: opacity .3s; }
.lb img { max-width: min(1200px, 100%); max-height: 86vh; width: auto; object-fit: contain; }
.lb button { position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--text); font-size: 1.4rem; cursor: pointer; }

/* ---------- ANIMACE PŘI SCROLLU ---------- */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}

/* =========================================================
   ROZCESTNÍK (úvodní stránka webu)
   ========================================================= */
.gate { display: flex; height: 100vh; height: 100svh; min-height: 520px; background: #000; }
.gate__side {
  position: relative; flex: 1; overflow: hidden; isolation: isolate;
  display: flex; align-items: flex-end; text-decoration: none; color: #fff;
}
.gate__side + .gate__side { border-left: 1px solid rgba(255,255,255,.15); }
.gate__side img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06); transition: transform 1.6s var(--ease);
  animation: heroIn 1.6s var(--ease) both;
}
.gate__side::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,.05) 100%);
  transition: opacity .6s;
}
.gate__body { width: 100%; padding: clamp(28px, 5vw, 72px); }
.gate__body small { display: block; margin-bottom: .8rem; font: 600 .74rem/1 var(--font-body); letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.gate__title { display: block; font-family: var(--font-display); font-size: clamp(3rem, 6.4vw, 6.4rem); line-height: .95; letter-spacing: -.02em; }
.gate__title em { display: block; color: #F0A85E; }
.gate--salon .gate__title em { color: #FF5A4D; }
.gate__sub { display: block; margin-top: 1rem; max-width: 34ch; color: rgba(255,255,255,.8); }
.gate__go {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.6rem;
  padding: .85rem 1.3rem; border: 1px solid rgba(255,255,255,.5); border-radius: 999px;
  font-weight: 500; font-size: .95rem; transition: background .3s, color .3s, border-color .3s, gap .3s var(--ease);
}
.gate__side:hover .gate__go { background: #fff; color: #111; border-color: #fff; gap: .9rem; }
.gate__side:hover img { transform: scale(1.0); }
@media (hover: hover) and (min-width: 901px) {
  .gate__side::after { content: ""; position: absolute; inset: 0; z-index: -1; background: #000; opacity: 0; transition: opacity .7s var(--ease); pointer-events: none; }
  .gate:hover .gate__side:not(:hover)::after { opacity: .42; }
}
.gate__top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 5; pointer-events: none;
  display: flex; justify-content: center; padding: calc(18px + env(safe-area-inset-top)) var(--gutter) 0;
  font: 600 .72rem/1 var(--font-body); letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.85);
}
@media (max-width: 900px) {
  .gate { flex-direction: column; }
  .gate__side + .gate__side { border-left: 0; border-top: 1px solid rgba(255,255,255,.15); }
  .gate__body { padding: 24px 20px 28px; }
  .gate__title { font-size: clamp(2.6rem, 11vw, 3.6rem); }
  .gate__sub { font-size: .95rem; margin-top: .6rem; }
  .gate__go { margin-top: 1rem; padding: .7rem 1.1rem; }
}

/* 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, var(--accent-2)); 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, var(--accent-2)); 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, var(--accent-2)); 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; } }

/* =========================================================
   BARVY JAKO JACK RUSSELL: bílá + čokoládově hnědá
   Hero, lišta a tmavé sekce jsou hnědé, obsah bílý,
   mezi nimi plynulé přechody. Barvy jen tady.
   ========================================================= */
:root { --brown: #2B1D14; --dark: #1F150E; --fade: clamp(80px, 10vw, 160px); }

/* „hnědý“ režim: přepíše barvy uvnitř */
.k-hero, .k-nav, .k-drawer__panel, .section--alt {
  --bg: var(--brown); --bg-2: #37271B; --bg-3: #443022;
  --text: #F4EDE4; --muted: rgba(244, 237, 228, .68); --line: rgba(244, 237, 228, .16);
  --accent: #D99045; --accent-2: #F0A85E;
  color: var(--text);
}
.k-hero { background: var(--brown); }
.k-hero__img img {
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, rgba(0,0,0,.55) 72%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 45%, rgba(0,0,0,.55) 72%, transparent 100%);
}
.k-hero__brand small { color: var(--accent-2); text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
.k-hero__name { text-shadow: 0 2px 30px rgba(0, 0, 0, .45); }

.k-nav { background: var(--brown); border-bottom-color: transparent; }
.k-nav.is-stuck { background: rgba(43, 29, 20, .95); border-bottom-color: var(--line); }
.k-drawer__panel { background: var(--brown); }
@media (max-width: 900px) {
  .k-bar { color: #F4EDE4; }
  .k-bar.is-stuck { background: rgba(43, 29, 20, .95); border-bottom-color: rgba(244, 237, 228, .16); }
  .k-burger { background: rgba(43, 29, 20, .55); border-color: rgba(244, 237, 228, .2); color: #F4EDE4; }
}

/* přechod z hnědé lišty do bílého obsahu */
#obsah::before { content: ""; display: block; height: var(--fade); background: linear-gradient(to bottom, var(--brown), #fff); }
#obsah > .section:first-child { padding-top: clamp(8px, 2vw, 24px); }

/* tmavé sekce se do bílé prolínají nahoře i dole */
.section--alt {
  background: linear-gradient(to bottom, #fff 0, var(--brown) var(--fade), var(--brown) calc(100% - var(--fade)), #fff 100%);
  padding: calc(var(--fade) + clamp(24px, 4vw, 48px)) 0;
}

/* patička: z bílé do tmavě hnědé */
.k-foot {
  background: linear-gradient(to bottom, #fff 0, var(--dark) var(--fade));
  border-top: 0; padding-top: calc(var(--fade) + clamp(32px, 5vw, 56px));
}

/* =========================================================
   TVARY OBRÁZKŮ
   portréty psů = ovál s rámečkem, ostatní = zaoblené obdélníky
   ========================================================= */
.dog__img { border-radius: 50%; outline: 1px solid var(--line); outline-offset: 8px; transition: outline-color .4s, outline-offset .5s var(--ease); }
.dog a:hover .dog__img { outline-color: var(--accent); outline-offset: 4px; }
.dogs { gap: clamp(36px, 5vw, 64px) clamp(20px, 3vw, 40px); }

.intro__img img { border-radius: 28px; }
.intro__badge {
  left: -28px; bottom: -28px; width: 148px; height: 148px; padding: 0;
  display: grid; place-content: center; text-align: center; border-radius: 50%;
  font-size: 1.05rem; box-shadow: 0 0 0 8px #fff;
}
.intro__badge strong { font-size: 2.8rem; line-height: 1; }

.profile__img img { border-radius: 28px; }
.parent { border-radius: 18px; }
.parent img, .parent__ph { width: 84px; height: 84px; border-radius: 50%; }
.gallery button { border-radius: 14px; }
.letter { border-radius: 16px; }
.contact__map { border-radius: 22px; }
@media (max-width: 860px) { .intro__badge { left: 12px; bottom: -24px; width: 124px; height: 124px; } .intro__badge strong { font-size: 2.3rem; } }

/* =========================================================
   VERZE 3 (4. 11.): hero přes celou obrazovku, lišta dole,
   kaštanová hnědá jako znaky psů, čisté okraje bez přechodů.
   ========================================================= */
:root { --brown: #7A4A2A; --dark: #3A2416; }
.k-hero, .k-nav, .k-drawer__panel, .section--alt {
  --bg: var(--brown); --bg-2: #865632; --bg-3: #93623C;
  --text: #FFF8F0; --muted: rgba(255, 248, 240, .8); --line: rgba(255, 248, 240, .24);
  --accent: #F3C08A; --accent-2: #FFDDB5;
}

/* hero: celá obrazovka (bez lišty), fotka bez masky, dole ztmavení do hnědé lišty */
.k-hero__img { height: calc(100vh - var(--nav-h)); height: calc(100svh - var(--nav-h)); min-height: 520px; max-height: none; }
.k-hero--small .k-hero__img { height: clamp(320px, 52vh, 560px); min-height: 0; }
.k-hero__img img { -webkit-mask-image: none; mask-image: none; object-position: 50% 38%; }
.k-hero__img::after {
  display: block;
  background: linear-gradient(to bottom,
    rgba(20, 12, 6, .35) 0%, rgba(20, 12, 6, 0) 18%,
    rgba(20, 12, 6, 0) 48%, rgba(60, 34, 18, .55) 68%,
    rgba(110, 66, 37, .9) 88%, var(--brown) 100%);
}
.k-hero__brand { bottom: clamp(28px, 6vh, 64px); }
.k-hero__brand small { color: var(--accent); letter-spacing: .3em; text-shadow: 0 1px 14px rgba(0, 0, 0, .55); }
.k-hero__name { font-size: clamp(3rem, 7.5vw, 6.4rem); text-shadow: 0 2px 28px rgba(0, 0, 0, .55), 0 0 2px rgba(0, 0, 0, .25); }
.k-hero__sub { color: rgba(255, 248, 240, .92); text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
.k-hero--small .k-hero__name { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }

/* lišta: plná kaštanová, ostrý přechod do bílé */
.k-nav { background: var(--brown); border-bottom: 0; }
.k-nav.is-stuck { background: rgba(122, 74, 42, .96); border-bottom: 0; box-shadow: 0 6px 24px rgba(58, 36, 22, .18); }
.k-nav__link { color: rgba(255, 248, 240, .82); }
.k-drawer__panel { background: var(--brown); }

/* žádné rozmazané přechody */
#obsah::before { display: none; }
#obsah > .section:first-child { padding-top: clamp(56px, 8vw, 104px); }
#obsah > .section--tight:first-child { padding-top: clamp(40px, 6vw, 72px); }
.section--alt { background: var(--brown); padding: clamp(64px, 10vw, 128px) 0; }
.k-foot { background: var(--dark); padding-top: clamp(56px, 8vw, 88px); }
.intro__badge { box-shadow: 0 0 0 8px #fff; }

@media (max-width: 900px) {
  .k-hero__img { height: 100vh; height: 100svh; }
  .k-hero--small .k-hero__img { height: 52svh; min-height: 320px; }
  .k-hero__img img { object-position: 47% 38%; }
  .k-bar.is-stuck { background: rgba(122, 74, 42, .96); border-bottom-color: transparent; }
  .k-burger { background: rgba(58, 36, 22, .45); border-color: rgba(255, 248, 240, .3); }
  .k-hero__brand { bottom: clamp(36px, 8svh, 72px); }
}
.k-nav .k-nav__salon b, .k-drawer__salon b { color: #FF8577; }
@media (max-width: 520px) { .k-hero__brand small { font-size: .6rem; letter-spacing: .14em; } }

/* VERZE 4: fotka bez hnědého nádechu, jen neutrální ztmavení pro text;
   hnědá je jen lišta (a hnědé sekce), tmavší. */
:root { --brown: #4B2E1B; --dark: #2A1A10; }
.k-hero, .k-nav, .k-drawer__panel, .section--alt { --bg-2: #573722; --bg-3: #65412A; }
.k-hero { background: #111; }
.k-hero__img::after {
  background: linear-gradient(to bottom,
    rgba(0, 0, 0, .32) 0%, rgba(0, 0, 0, 0) 18%,
    rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .38) 72%, rgba(0, 0, 0, .66) 100%);
}
.k-nav.is-stuck { background: rgba(75, 46, 27, .96); }
@media (max-width: 900px) {
  .k-bar.is-stuck { background: rgba(75, 46, 27, .96); }
  .k-burger { background: rgba(0, 0, 0, .35); }
}

/* Facebook: tichý odkaz vpravo nahoře v heru (protějšek Rozcestníku) */
.k-fb {
  position: absolute; top: clamp(18px, 3vh, 30px); right: var(--gutter); z-index: 3;
  display: inline-flex; align-items: center; gap: .5rem;
  font: 600 .68rem/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255, 255, 255, .78); text-decoration: none; text-shadow: 0 1px 10px rgba(0, 0, 0, .5);
  opacity: 0; animation: fadeIn 1s .6s var(--ease) forwards; transition: color .3s;
}
.k-fb .i { width: 1.25em; height: 1.25em; transition: transform .4s var(--ease); }
.k-fb span { padding-bottom: 3px; background: linear-gradient(#fff, #fff) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.k-fb:hover { color: #fff; }
.k-fb:hover span { background-size: 100% 1px; }
.k-fb:hover .i { transform: scale(1.12); }
@media (max-width: 900px) {
  .k-fb { top: calc(14px + env(safe-area-inset-top)); z-index: 51; }
  .k-fb span { display: none; }
  .k-fb .i { width: 20px; height: 20px; }
  .k-fb { width: 42px; height: 42px; justify-content: center; border-radius: 50%; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 248, 240, .3); }
}

/* mobil: horní lišta nesmí blokovat ikonu Facebooku pod sebou */
@media (max-width: 900px) { .k-bar { pointer-events: none; } .k-bar > * { pointer-events: auto; } }


/* =========================================================
   VERZE 5 (6. 11.): Via Heraltisz
   menší fotky, Facebook nenápadně v liště, seznam smečky,
   Krmí nás. Plynulost: žádné rozmazání, nic se neměří při scrollu.
   ========================================================= */

/* ---------- lišta: vpravo Facebook | Salon Apple ---------- */
.k-nav__end { position: absolute; right: var(--gutter); display: flex; align-items: center; gap: 1.1rem; }
.k-nav__salon { position: static; }
.k-nav__end .k-nav__salon { padding-left: 1.1rem; border-left: 1px solid var(--line); }
.k-social {
  display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%;
  border: 1px solid var(--line); color: var(--text); text-decoration: none;
  transition: background-color .3s, color .3s, border-color .3s;
}
.k-social .i { width: 16px; height: 16px; }
.k-social:hover { background: #FFF8F0; border-color: #FFF8F0; color: #1877F2; }
@media (max-width: 1180px) { .k-nav__mini { display: none; } .k-nav__list { gap: clamp(.3rem, 1.2vw, 1.2rem); } }
@media (max-width: 1080px) { .k-nav__inner { justify-content: flex-start; } .k-nav__end .k-nav__salon { padding-left: .9rem; } }

/* hero: tichý odkaz Facebook vpravo nahoře jen na počítači, na mobilu je ikona v horní liště */
@media (max-width: 900px) {
  .k-hero > .k-fb { display: none; }
  .k-social--bar { margin-left: auto; width: 42px; height: 42px; color: #FFF8F0; background: rgba(0, 0, 0, .35); border-color: rgba(255, 248, 240, .3); }
  .k-social--bar .i { width: 18px; height: 18px; }
}
@media (min-width: 901px) { .k-social--bar { display: none; } }

/* odkaz na Facebook v textu O nás */
.link--fb .i--fill { width: 1.05em; height: 1.05em; color: #1877F2; }
.link .i:last-child { transition: transform .3s var(--ease); }
.link--fb:hover .i:last-child { transform: translate(2px, -2px); }

/* ---------- menší fotky a sekce ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.k-hero--small .k-hero__img { height: clamp(260px, 42vh, 460px); }
@media (max-width: 900px) { .k-hero--small .k-hero__img { height: 44svh; min-height: 280px; } }

.intro { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); max-width: 1080px; }
.intro__img { width: 100%; max-width: 380px; justify-self: center; }
.intro__img img { border-radius: 22px; }
.intro__badge { width: 118px; height: 118px; left: -24px; bottom: -24px; font-size: .9rem; }
.intro__badge strong { font-size: 2.3rem; }
@media (max-width: 860px) { .intro__img { max-width: 320px; } .intro__badge { width: 104px; height: 104px; left: -12px; } .intro__badge strong { font-size: 2rem; } }

.dogs--center { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 220px)); }
.dog__name { font-size: 1.9rem; }
.dog__img { outline-offset: 6px; }

.profile { grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); max-width: 1080px; margin-inline: auto; }
.profile__img { max-width: 360px; }
.profile__img img { border-radius: 22px; }
.profile h1 { font-size: clamp(3rem, 7vw, 5.2rem); }
@media (max-width: 860px) { .profile__img { position: static; max-width: 300px; margin-inline: auto; } }

.gallery { grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); max-width: 760px; }
.gallery button { border-radius: 12px; }
.letters { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
.letter b { font-size: 2.8rem; }
.contact__map { aspect-ratio: 16 / 11; }

/* ---------- smečka: rejstřík s malými kulatými fotkami ---------- */
.pack { max-width: 880px; }
.pack__head { text-align: center; margin-bottom: clamp(24px, 4vw, 40px); }
.pack__head h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.pack__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pack__row {
  position: relative; display: grid; grid-template-columns: 60px minmax(0, 1fr) auto 22px; align-items: center; gap: 0 1.4rem;
  padding: .95rem .25rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text);
}
.pack__row::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.pack__img { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; outline: 1px solid var(--line); outline-offset: 3px; transition: outline-color .4s; }
.pack__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pack__img--bw img { filter: grayscale(1); }
.pack__name { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1; transition: transform .5s var(--ease), color .3s; }
.pack__desc { color: var(--muted); font-size: .9rem; text-align: right; }
.pack__go { display: grid; color: var(--accent); transition: transform .4s var(--ease); }
.pack__row:hover::after { transform: none; }
.pack__row:hover .pack__img { outline-color: var(--accent); }
.pack__row:hover .pack__img img { transform: scale(1.1); }
.pack__row:hover .pack__name { transform: translateX(6px); color: var(--accent-2); }
.pack__row:hover .pack__go { transform: translateX(4px); }
@media (max-width: 600px) {
  .pack__row { grid-template-columns: 48px minmax(0, 1fr) 20px; gap: 0 1rem; padding: .8rem 0; }
  .pack__img { width: 48px; height: 48px; }
  .pack__desc { display: none; }
}

/* ---------- Krmí nás ---------- */
.feed { text-align: center; padding-bottom: 0; }
.feed .eyebrow { margin-bottom: 1.4rem; }
.feed__logos { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1rem clamp(1.6rem, 5vw, 3.6rem); }
.feed__sep { width: 1px; height: 2.4rem; background: var(--line); }
.feed__brand { position: relative; color: var(--text); text-decoration: none; line-height: 1; transition: opacity .35s, color .3s; }
.feed__brand--falco { font: 600 clamp(1.4rem, 2.6vw, 1.9rem)/1 var(--font-body); letter-spacing: .32em; text-transform: uppercase; margin-right: -.32em; }
.feed__brand--sp { font-family: var(--font-display); font-size: clamp(1.9rem, 3.6vw, 2.6rem); letter-spacing: -.01em; }
.feed__brand--sp em { color: var(--accent); }
.feed__brand--sp small { font: 500 .8rem/1 var(--font-body); color: var(--muted); margin-left: .1rem; }
.feed__logos:hover .feed__brand:not(:hover) { opacity: .35; }
.feed__brand:hover { color: var(--accent-2); }
.feed__note { margin-top: 1.2rem; color: var(--muted); font-size: .9rem; }
@media (max-width: 520px) { .feed__sep { display: none; } .feed__logos { flex-direction: column; } }
.salon-cta h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.salon-link--big { font-size: 1.7rem; }
.salon-link--big .apple-mark { width: 36px; height: 36px; }

/* patička: Krmí nás */
.k-foot p.k-foot__feed { margin-top: 1rem; font-size: .9rem; }
.k-foot__feed a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .3s; }
.k-foot__feed a:hover { border-color: var(--accent); }

/* ---------- plynulost ---------- */
.k-foot { content-visibility: auto; contain-intrinsic-size: auto 420px; }
.k-hero__img img { animation-duration: 1.2s; }
.js .rv { transition-duration: .7s; }

/* ---------- vycentrování (6. 11.) ---------- */
/* Krmí nás: čárka přesně uprostřed, loga symetricky kolem ní */
.feed__logos { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0 clamp(1.6rem, 5vw, 3.6rem); max-width: 720px; margin: 0 auto; }
.feed__brand--falco { justify-self: end; margin-right: 0; padding-left: .32em; }
.feed__brand--sp { justify-self: start; }
@media (max-width: 520px) {
  .feed__logos { grid-template-columns: 1fr; gap: 1.1rem; }
  .feed__brand--falco, .feed__brand--sp { justify-self: center; }
}
/* Salon: nadpis a odkaz bez popisku */
.salon-cta h2 { margin-bottom: 1.6rem; }
/* Odchovy: hlavička i písmenka na střed */
.alpha { max-width: 880px; margin-inline: auto; }
.alpha__head { flex-direction: column; align-items: center; text-align: center; gap: .4rem; }
.letters { display: flex; flex-wrap: wrap; justify-content: center; }
.letters > li { width: 104px; }
@media (max-width: 520px) {
  .letters { gap: 8px; }
  .letters > li { width: calc(25% - 6px); }
  .letter { aspect-ratio: 1; }
  .letter b { font-size: 2.1rem; }
}

/* =========================================================
   VERZE 6 (8. 11.): první skutečný pes (Zazu), rozcestník
   s fotkou klientky, čitelnost: větší a kontrastnější písmo.
   ========================================================= */

/* ---------- čitelnost: tmavší šedá a měď, větší drobné písmo ---------- */
:root {
  --muted: rgba(27, 22, 18, .76);   /* kontrast cca 7 : 1 na bílé */
  --accent: #9A5420;                /* měď, kontrast 5,6 : 1 na bílé */
  --accent-2: #7A3F14;
}
body { font-size: 18px; }
.k-nav__link { color: rgba(255, 248, 240, .94); }
.crumbs { font-size: .95rem; }
.dog__meta { font-size: .95rem; }
.dog__title { font-size: .78rem; }
.facts dt { font-size: 1rem; }
.chips li { font-size: 1rem; padding: .5rem 1rem; }
.chips--accent li { border-color: rgba(154, 84, 32, .45); color: var(--accent-2); }
.k-foot p, .k-foot__list a, .k-foot__bar { color: rgba(255, 248, 240, .82); }

/* ---------- detail psa ---------- */
.profile__img button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.facts dd strong { font-weight: 600; }
.facts__sub { display: block; margin-top: .25rem; font-size: .9rem; line-height: 1.45; color: var(--muted); }
.chips--links li { padding: 0; transition: border-color .3s; }
.chips--links a { display: block; padding: .5rem 1rem; text-decoration: none; }
.chips--links li:hover { border-color: var(--accent); }

/* rodokmen: hned pod údaji, přes celou šířku, aby byl čitelný */
.pedigree, .dog-photos { max-width: 1080px; margin: clamp(56px, 8vw, 96px) auto 0; text-align: center; }
.pedigree h2, .dog-photos h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: 1.4rem; }
.pedigree button { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--bg-2); cursor: zoom-in; }
.pedigree img { width: 100%; }
.pedigree p { margin-top: .8rem; font-size: .95rem; }
.dog-photos .gallery { max-width: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }

/* vrh s jedinou fotkou (např. leták): celá, neořezaná */
.gallery--one { grid-template-columns: 1fr; max-width: 1080px; }
.gallery--one button { aspect-ratio: auto; }
.gallery--one img { height: auto; }
.litters-note { text-align: center; margin-top: clamp(40px, 6vw, 64px); }

/* ---------- rozcestník ---------- */
.gate--stanice img { object-position: 44% 50%; }
@media (max-width: 900px) {
  .gate--stanice img { object-position: 46% 42%; }
}
/* ostrost: fotka v klidu bez zvětšení (scale rozmazává), jen jemné zvětšení při najetí */
.gate__side { flex: 1 1 0; }
.gate__side img { transform: none; animation: fadeIn 1.2s var(--ease) both; opacity: 0; }
@media (hover: hover) { .gate__side:hover img { transform: scale(1.03); } }

/* mobil: fotka nahoře celá čistá, nápis pod ní v tmavém pruhu (nejde přes obličeje) */
@media (max-width: 900px) {
  .gate__side { --band: 104px; background: #14110F; }
  .gate__side img { height: calc(100% - var(--band) + 40px); }
  .gate__side::before { background: linear-gradient(to top, #14110F 0, #14110F var(--band), rgba(20, 17, 15, .55) calc(var(--band) + 30px), rgba(20, 17, 15, 0) calc(var(--band) + 90px)); }
  .gate__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 0 1rem; padding: 0 20px 22px; }
  .gate__body small { margin-bottom: .45rem; font-size: .68rem; }
  .gate__title { font-size: clamp(2.3rem, 10.5vw, 2.9rem); white-space: nowrap; }
  .gate__title em { display: inline; }
  .gate__go { grid-row: 1 / span 2; grid-column: 2; align-self: end; width: 52px; height: 52px; margin: 0; padding: 0; justify-content: center; font-size: 0; gap: 0; }
  .gate__go .i { width: 20px; height: 20px; }
  .gate__side:hover .gate__go { gap: 0; }
}
/* mobil: detail psa pod sebou (fotka nahoře na střed, údaje pod ní) */
@media (max-width: 860px) {
  .profile { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .profile__img { width: 100%; max-width: 320px; }
  .profile__text { text-align: left; }
  .profile h1 { text-align: center; }
  .profile__full { text-align: center; }
  .facts { grid-template-columns: minmax(0, 7.5em) minmax(0, 1fr); }
  .facts dt { padding-right: 1rem; }
}

/* ---------- rodokmen: strom spojený vlasovými linkami ---------- */
.pedigree h2 { margin-bottom: clamp(28px, 4vw, 48px); }
.tree { --gap: 34px; --ln: rgba(27, 22, 18, .22); text-align: left; }
.tree__node { display: flex; align-items: center; }
.tree__kids { position: relative; display: flex; flex-direction: column; margin-left: var(--gap); }
/* linka od uzlu ke svislé závorce */
.tree__kids::before { content: ""; position: absolute; left: calc(var(--gap) * -1); top: 50%; width: var(--gap); border-top: 1px solid var(--ln); }
/* závorka: každé dítě má vodorovnou linku a půlku svislé */
.tree__kids > .tree__node { position: relative; padding-left: var(--gap); }
.tree__kids > .tree__node::before { content: ""; position: absolute; left: 0; top: 50%; width: calc(var(--gap) - 10px); border-top: 1px solid var(--ln); }
.tree__kids > .tree__node::after { content: ""; position: absolute; left: 0; border-left: 1px solid var(--ln); }
.tree__kids > .tree__node:first-child::after { top: 50%; bottom: 0; }
.tree__kids > .tree__node:last-child::after { top: 0; bottom: 50%; }

.tree__self { flex: none; }
.tree__self small { display: block; margin-bottom: .35rem; font: 600 .68rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.tree__name { display: block; font-family: var(--font-display); font-weight: 400; line-height: 1.1; color: var(--text); }
.tree__name a { text-decoration: none; border-bottom: 1px solid var(--accent); }
.tree__name a:hover { color: var(--accent-2); }
.tree__meta { display: block; margin-top: .5rem; max-width: 30ch; font-size: .86rem; line-height: 1.5; color: var(--muted); }
.tree__meta + .tree__meta { margin-top: .3rem; }

/* kořen: sám pes */
.tree__root { width: 150px; text-align: center; }
.tree__photo { display: block; width: 104px; height: 104px; margin: 0 auto .9rem; border-radius: 50%; overflow: hidden; outline: 1px solid var(--line); outline-offset: 5px; }
.tree__photo img { width: 100%; height: 100%; object-fit: cover; }
.tree__root .tree__name { font-style: italic; font-size: 1.6rem; }

/* generace: zmenšující se písmo */
.tree__node--g1 > .tree__self { width: 250px; padding: 2.2rem 0; }
.tree__node--g1 > .tree__self .tree__name { font-size: 2rem; }
.tree__node--g2 > .tree__self { width: 210px; padding: 1.2rem 0; }
.tree__node--g2 > .tree__self .tree__name { font-size: 1.45rem; }
.tree__node--g3 > .tree__self { width: auto; max-width: 250px; padding: .75rem 0; }
.tree__node--g3 > .tree__self .tree__name { font: 500 1rem/1.35 var(--font-body); }
.tree__node--g3 > .tree__self small { margin-bottom: .25rem; }
/* mezi otcovou a matčinou linií trochu víc vzduchu */
.tree__node--g0 > .tree__kids > .tree__node + .tree__node { margin-top: 1.4rem; }

@media (max-width: 1100px) {
  .tree { --gap: 24px; }
  .tree__root { width: 120px; }
  .tree__photo { width: 84px; height: 84px; }
  .tree__node--g1 > .tree__self { width: 210px; }
  .tree__node--g2 > .tree__self { width: 180px; }
}

/* mobil a tablet: odsazený seznam se svislou linkou */
@media (max-width: 900px) {
  .tree { --gap: 18px; }
  .tree__node { display: block; }
  .tree__kids { margin-left: 6px; padding-left: var(--gap); border-left: 1px solid var(--ln); }
  .tree__kids::before { display: none; }
  .tree__kids > .tree__node { padding-left: 0; }
  .tree__kids > .tree__node::after { display: none; }
  .tree__kids > .tree__node::before { left: calc(var(--gap) * -1); top: 1.3rem; width: 12px; }
  .tree__self, .tree__node--g1 > .tree__self, .tree__node--g2 > .tree__self, .tree__node--g3 > .tree__self { width: auto; max-width: none; }
  .tree__root { display: flex; align-items: center; gap: 1rem; text-align: left; padding-bottom: 1rem; }
  .tree__photo { width: 64px; height: 64px; margin: 0; }
  .tree__root .tree__name { font-size: 1.5rem; }
  .tree__node--g1 > .tree__self { padding: .9rem 0 .5rem; }
  .tree__node--g1 > .tree__self .tree__name { font-size: 1.8rem; }
  .tree__node--g2 > .tree__self { padding: .7rem 0 .3rem; }
  .tree__node--g2 > .tree__self .tree__name { font-size: 1.35rem; }
  .tree__node--g3 > .tree__self { padding: .45rem 0; }
  .tree__node--g0 > .tree__kids > .tree__node + .tree__node { margin-top: .8rem; }
  .tree__meta { max-width: none; }
}
/* doladění stromu: na střed, prarodiče větší */
@media (min-width: 901px) {
  .tree { display: flex; justify-content: center; }
  .tree__root { width: 170px; }
  .tree__node--g2 > .tree__self { width: 235px; }
  .tree__node--g2 > .tree__self .tree__name { font-size: 1.6rem; }
  .tree__node--g3 > .tree__self { max-width: 270px; }
}
/* salonová půlka: hlava psa vždy v záběru */
.gate--salon img { object-position: 50% 28%; }
@media (max-width: 900px) { .gate--salon img { object-position: 50% 22%; } }
/* čtvercové náhledy fotek: hlava psa bývá nahoře, ať se neusekne */
.gallery img { object-position: 50% 28%; }

/* rozcestník: plemeno pod názvem stanice */
.gate__breed { display: block; margin-top: .7rem; font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.8rem); line-height: 1.1; color: rgba(255, 255, 255, .92); }
@media (max-width: 900px) {
  .gate--stanice { --band: 136px; }
  .gate__breed { grid-column: 1; margin-top: .35rem; font-size: 1.2rem; }
  .gate__go { grid-row: 1 / span 3; }
}

/* ---------- oznámení z administrace (dovolená, plánovaný vrh…) ---------- */
[hidden] { display: none !important; }
.k-notice { background: var(--dark); color: #fff; }
.k-notice__in { display: flex; gap: .8rem; align-items: flex-start; padding-block: 1rem; font-size: 1.02rem; line-height: 1.5; }
.k-notice p { margin: 0; }
.k-notice .i { flex: none; width: 22px; height: 22px; margin-top: 1px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
.profile__ph { display: block; aspect-ratio: 4 / 5; border-radius: 22px; background: var(--bg-3); }

/* ---------- O nás na telefonu: jeden sloupec, vycentrované, fotka pod textem ---------- */
@media (max-width: 860px) {
  .intro { grid-template-columns: minmax(0, 1fr); gap: 48px; text-align: center; }
  .intro__text h2 { margin-bottom: 1.2rem; }
  .intro__text p { max-width: 34ch; margin-inline: auto; }
  .intro__text p.lead { font-size: 1.15rem; }
  .intro__actions { justify-content: center; gap: 1rem 1.6rem; margin-top: 1.6rem; }
  .intro__img { max-width: 330px; margin: 0 auto 24px; }
  .intro__badge { left: -10px; bottom: -22px; width: 104px; height: 104px; }
}

/* =========================================================
   VERZE 6 (14. 11.): záhlaví = banner od klientky (nápis je přímo
   ve fotce). Na počítači celý banner bez ořezu, na telefonu výřez
   kolem nápisu. Stejný na všech stránkách stanice.
   ========================================================= */
.k-hero--banner { background: #E7E4D6; }
.k-hero--banner .k-hero__img,
.k-hero--banner.k-hero--small .k-hero__img { height: auto; min-height: 0; max-height: none; aspect-ratio: 2000 / 677; }
.k-hero--banner .k-hero__img img {
  object-position: 50% 50%; transform: none; animation: bannerIn 1.1s var(--ease) both;
}
.k-hero--banner .k-hero__img::after { display: none; }
@keyframes bannerIn { from { opacity: 0; } to { opacity: 1; } }
/* název je ve fotce; tady zůstává jen pro čtečky a vyhledávače */
.k-hero--banner .k-hero__brand {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* Rozcestník a Facebook nahoře: tmavé písmo na světlé fotce */
.k-hero--banner .k-home, .k-hero--banner > .k-fb {
  color: #3D4A2C; text-shadow: none;
  padding: .55rem .9rem; border-radius: 999px; background: rgba(255, 255, 255, .72);
}
.k-hero--banner .k-home:hover, .k-hero--banner > .k-fb:hover { color: #1F2716; background: #fff; }
.k-hero--banner > .k-fb span { background-image: linear-gradient(#1F2716, #1F2716); }
@media (max-width: 900px) {
  /* telefon: celý banner (nápis je čitelný a vejdou se všichni psi) */
  .k-hero--banner .k-hero__img,
  .k-hero--banner.k-hero--small .k-hero__img { aspect-ratio: 2000 / 677; height: auto; min-height: 0; }
  /* tlačítka Menu a Facebook jsou nad bannerem v hnědém pruhu, ne přes nápis */
  .k-hero--banner { padding-top: calc(var(--nav-h) + env(safe-area-inset-top)); background: var(--brown); }
}

/* =========================================================
   15. 11.: zarovnání (kontrola celého webu)
   ========================================================= */
/* Rozcestník a Facebook v pilulce nahoře: písmo opticky na střed */
.k-hero--banner .k-home, .k-hero--banner > .k-fb { line-height: 1; padding: .6rem 1rem .6rem .85rem; }
.k-hero--banner .k-home span, .k-hero--banner > .k-fb span { padding: 2px 0; background-position: 0 100%; }

/* psi a feny: poslední neúplný řádek na střed */
.dogs--center { display: flex; flex-wrap: wrap; justify-content: center; }
.dogs--center > li { flex: 0 1 220px; }
@media (max-width: 520px) { .dogs--center > li { flex-basis: 100%; } }

/* štítek „nový“ u vrhu: malá pilulka na horním okraji dlaždice, nic nepřekrývá */
.letter--new::before {
  top: 0; right: auto; left: 50%; transform: translate(-50%, -50%);
  padding: .28rem .55rem; border-radius: 999px; line-height: 1;
  background: var(--accent); color: #2A1A10; font-size: .58rem; letter-spacing: .1em; white-space: nowrap;
}

/* patička na telefonu: pod sebou, dlouhý e-mail se vejde */
.k-foot__list a { overflow-wrap: anywhere; }
@media (max-width: 520px) {
  .k-foot__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .k-foot__grid > :nth-child(2) .k-foot__list { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
}

/* rozcestník na počítači: fotky nahoře celé, nápisy pod nimi v tmavém pruhu,
   na obou půlkách ve stejné výšce (nic nejde přes psy) */
@media (min-width: 901px) {
  .gate__side { --band: clamp(210px, 27vh, 270px); background: #14110F; }
  .gate__side img { height: calc(100% - var(--band) + 40px); }
  .gate__side::before { background: linear-gradient(to top, #14110F 0, #14110F var(--band), rgba(20, 17, 15, .5) calc(var(--band) + 24px), rgba(20, 17, 15, 0) calc(var(--band) + 80px)); }
  .gate__body {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; align-items: start;
    gap: 0 2rem; height: var(--band); padding: clamp(26px, 4vh, 40px) clamp(32px, 4vw, 64px) 0;
  }
  .gate__body > :not(.gate__go) { grid-column: 1; }
  .gate__title { font-size: clamp(2.8rem, 4.4vw, 4.8rem); white-space: nowrap; }
  .gate__title em { display: inline; }
  .gate__breed { margin-top: .5rem; }
  .gate__go { grid-column: 2; grid-row: 2; align-self: center; margin: 0; }
  .gate--stanice img { object-position: 46% 40%; }
}
