/*
Theme Name: Hotel u Labky
Description: Web Hotela u Labky: domov, služby, fotky a kontakt, každá stránka s vlastnou adresou.
Version: 1.33.0
Requires at least: 6.0
Requires PHP: 7.4
*/

/* Hotel u Labky */

:root {
  /* The lively pea green behind the header, "Čo ponúkame", the footer, the curtain and the end of
     the day on Služby. Change it here and in --pea-solid (and the last sky colour in app.js). */
  --pea: #9fc46a;
  --pea-solid: rgba(159, 196, 106, .97);

  --ink: #18211b;          /* headings, and all text on pea */
  --ink-soft: #2c3a2c;     /* secondary text on pea */
  --forest: #224132;       /* dark buttons, "doma" */
  --amber: #efb85e;
  --amber-deep: #d9952f;
  --brown: #7a5518;        /* small labels */
  --brown-deep: #5e360b;   /* active nav item on pea */
  --cream: #fcf7ef;
  --cream-2: #f8f0dc;
  --body: #5e6158;
  --white: #fff;

  --radius-card: 20px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 87px;
  --font: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Caveat", "Segoe Script", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 15.2px;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 6px; }
.page[hidden] { display: none; }

.wrap { width: min(1124px, 100% - 48px); margin-inline: auto; }

/* ---------- shared bits ---------- */

.eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--brown);
}
.eyebrow--amber { color: var(--amber); }

.ico { width: 16px; height: 16px; flex: none; }
.ico-paw { width: 15px; height: 15px; }
.ico-pin { width: 16px; height: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-amber { background: var(--amber); color: var(--ink); box-shadow: 0 6px 18px rgba(24, 33, 27, .14); }
.btn-amber:hover { box-shadow: 0 10px 24px rgba(24, 33, 27, .2); }
.btn-dark { background: var(--forest); color: var(--white); box-shadow: 0 6px 16px rgba(24, 33, 27, .16); }
.btn-glass {
  color: var(--white);
  background: rgba(255, 255, 255, .12);
  border: 1.5px solid rgba(255, 255, 255, .42);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.btn-line { color: var(--ink); border: 1.5px solid var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--amber); }
.btn-soft { background: var(--cream); color: var(--ink); border: 1.5px solid #e5dcc4; }

.ico-box {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 10px;
  background: #fbf0d9;
  color: var(--brown);
}
.ico-box svg { width: 16px; height: 16px; }
.ico-box--lg { width: 44px; height: 44px; border-radius: 12px; }
.ico-box--lg svg { width: 20px; height: 20px; }

.section-head { text-align: center; }
.section-head h2 {
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.005em;
}
.section-head p { font-size: 15.2px; font-weight: 400; }
.section-head .eyebrow { margin-bottom: 10px; }

/* Small quick links to other parts of the site, in the spirit of the two buttons on the home
   page photo. They sit under texts all over the site. */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips--center { justify-content: center; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 15px;
  border: 1.5px solid #eadfc6;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font-size: 13.4px;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: 0 4px 12px rgba(60, 45, 20, .06);
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, box-shadow .25s var(--ease);
}
.chip .ico-paw { width: 13px; height: 13px; color: var(--amber-deep); transition: rotate .3s var(--ease), color .25s; }
.chip:hover { transform: translateY(-2px); background: var(--amber); border-color: var(--amber); box-shadow: 0 8px 18px rgba(60, 45, 20, .14); }
.chip:hover .ico-paw { color: var(--ink); rotate: 14deg; }
.chips--on-green { margin-top: 30px; }
.chips--on-green .chip { border-color: transparent; background: var(--cream); }
.chips--top { margin: 0 0 34px; }
.intro-copy .chips { max-width: 430px; margin: 18px auto 0; }

/* ---------- reveals (only with JS, see the .js class) ---------- */

.js .reveal, .js .reveal-zoom {
  opacity: 0;
  transition: opacity .75s var(--ease) var(--d, 0s), transform .75s var(--ease) var(--d, 0s);
}
.js .reveal { transform: translateY(26px); }
.js .reveal-zoom { transform: scale(.93); }
.js .reveal.is-seen, .js .reveal-zoom.is-seen { opacity: 1; transform: none; }

/* ---------- curtain ---------- */

.curtain {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--pea);
  opacity: 0;
  visibility: hidden;
  transition: opacity .16s linear, visibility 0s linear .16s;
}
.curtain.is-on { opacity: 1; visibility: visible; transition: opacity .16s linear; }
.curtain.is-leaving {
  opacity: 1;
  visibility: visible;
  transform: translateY(-101%);
  transition: transform .42s cubic-bezier(.76, 0, .24, 1);
}
.curtain-paw {
  width: 58px;
  height: 58px;
  color: var(--forest);
  animation: paw-pulse .8s ease-in-out infinite alternate;
}
@keyframes paw-pulse {
  from { transform: scale(.88) rotate(-6deg); }
  to { transform: scale(1.08) rotate(6deg); }
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-solid { background: var(--pea-solid); box-shadow: 0 2px 16px rgba(24, 33, 27, .12); }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1585px, 100% - 96px);
  height: 100%;
  margin-inline: auto;
}
.nav { display: flex; gap: 30px; }
@media (max-width: 1280px) { .nav { gap: 22px; } }
.nav a {
  position: relative;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--white);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .25);
  transition: color .25s;
}
.nav a:hover { color: var(--amber); }
.nav a.is-active { color: var(--amber); }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 13px;
  height: 13px;
  margin: 0 0 0 -6.5px;
  background: currentColor;
  -webkit-mask: var(--paw-mask) center / contain no-repeat;
  mask: var(--paw-mask) center / contain no-repeat;
}
.is-solid .nav a { color: var(--ink); text-shadow: none; }
.is-solid .nav a:hover, .is-solid .nav a.is-active { color: var(--brown-deep); }

/* "O nás" opens a small card with its three sections on hover or keyboard focus. */
.nav-group { position: relative; display: flex; }
.nav-caret { display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.nav-sub {
  position: absolute;
  top: 100%;
  left: -14px;
  z-index: 2;
  display: grid;
  min-width: 190px;
  margin-top: 12px;
  padding: 8px;
  border-radius: 14px;
  background: var(--cream);
  box-shadow: 0 14px 30px rgba(24, 33, 27, .18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
}
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s var(--ease); }
.nav .nav-sub a, .is-solid .nav .nav-sub a { padding: 9px 12px; border-radius: 9px; color: var(--ink); text-shadow: none; }
.nav .nav-sub a:hover { background: var(--cream-2); color: var(--brown-deep); }

:root {
  --paw-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='6.2' cy='10.2' rx='2.1' ry='2.8'/%3E%3Cellipse cx='10' cy='5.8' rx='2.2' ry='3'/%3E%3Cellipse cx='14.6' cy='5.8' rx='2.2' ry='3'/%3E%3Cellipse cx='18.2' cy='10.4' rx='2.1' ry='2.8'/%3E%3Cpath d='M12.2 11c-3 0-6 3.4-6 6.2 0 1.7 1.2 2.8 2.9 2.8 1.2 0 2-.6 3.1-.6s1.9.6 3.1.6c1.7 0 2.9-1.1 2.9-2.8 0-2.8-3-6.2-6-6.2z'/%3E%3C/svg%3E");
}

/* Monika's own logo file: the drawing on its see-through white scribble. */
.logo {
  display: block;
  width: max-content;
  height: 112px;
  transition: transform .3s var(--ease);
}
/* The header logo hangs a little below the bar. Its height lives in --logo-h and the bottom margin
   takes it back off, so the bar stays 87px high whatever size the logo has. */
.site-header { --logo-h: 100px; --logo-top: 6px; --bar: 87px; }
.logo:not(.logo--footer) {
  align-self: start;
  height: var(--logo-h);
  margin: var(--logo-top) 0 calc(var(--bar) - var(--logo-top) - var(--logo-h));
  transition: height .4s var(--ease), margin .4s var(--ease), transform .3s var(--ease);
}
/* Over the title photo on the home page the logo is big, like on Monika's photos.
   Once the visitor scrolls and the bar turns solid, it shrinks back to the bar's size. */
html:has(main[data-page="domov"]:not([hidden])) .site-header:not(.is-solid) { --logo-h: clamp(150px, min(16vw, 30vh), 240px); }
.logo:hover { transform: scale(1.05) rotate(-3deg); }
.logo-img { display: block; width: auto; height: 100%; filter: drop-shadow(0 3px 8px rgba(24, 33, 27, .14)); }

.header-end { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.menu-toggle { display: none; }

/* ---------- heroes ---------- */

.hero { position: relative; overflow: hidden; background: var(--ink); isolation: isolate; }
.hero--home { height: max(70vh, 600px); }
.hero--sub { height: clamp(330px, 36vh, 460px); }
.hero-media { position: absolute; inset: 0; z-index: -2; will-change: transform; }
.hero-media picture { display: contents; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* Keeps the row of dogs in frame on wide screens. Phones get their own narrower crop of the
   middle of the row. */
.hero--home .hero-media img { object-position: 50% 45%; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 20, 13, .62) 0%, rgba(14, 20, 13, .34) 38%, rgba(14, 20, 13, 0) 66%),
    linear-gradient(0deg, rgba(14, 20, 13, .42) 0%, rgba(14, 20, 13, 0) 42%);
}
.hero-dim { position: absolute; inset: 0; z-index: -1; background: #000; opacity: 0; }
.hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: -2%;
  right: -2%;
  bottom: -1px;
  height: clamp(24px, 3.1vw, 44px);
  background: var(--cream);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero--sub::after { height: clamp(16px, 2.2vw, 30px); }
.hero-inner {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  width: min(1585px, 100% - 96px);
  margin-inline: auto;
  color: var(--white);
  will-change: transform, opacity;
}
.hero--home .hero-inner { bottom: 77px; }
.hero--sub .hero-inner { top: 50%; transform: translateY(-50%); margin-top: 24px; }
.hero-title {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 600;
  line-height: 1.05;
  text-shadow: 0 2px 22px rgba(0, 0, 0, .3);
}
/* The hotel's name in handwriting close to the lettering on the logo's bone. */
.hero--home .hero-title {
  font-family: "Sue Ellen Francisco", var(--font-hand);
  font-size: clamp(64px, 8.6vw, 112px);
  font-weight: 400;
  line-height: 1;
  -webkit-text-stroke: .018em currentColor;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}
.hero--sub .hero-title { font-size: clamp(40px, 5vw, 66px); line-height: 1.1; }
.hero .eyebrow { margin-bottom: 10px; }
.line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; padding-right: .1em; }
.line > span { display: block; }
.hero-lead {
  margin-top: 24px;
  max-width: 500px;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 400;
  line-height: 1.8;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}
.hero--sub .hero-lead { max-width: none; margin-top: 18px; font-size: 15.6px; font-weight: 500; }
/* Kontakt shows the owners with their dogs, so its header is taller than on the other pages
   and the photo is framed from the heads down. The line under the title stays narrow on the
   left beside them. */
.hero--kontakt { height: clamp(460px, 64vh, 680px); }
.hero--kontakt .hero-media img { object-position: 30% 33%; }
.hero--kontakt .hero-lead { max-width: 15em; }
/* The slogan under the hotel's name on the home page: handwritten and amber, so it reads apart from the name and the details. */
.hero-tagline {
  margin-top: 8px;
  max-width: 640px;
  font-family: var(--font-hand);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.12;
  color: var(--amber);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .55);
}
.hero-tagline .nowrap { white-space: nowrap; }
.hero-tagline-paw { width: .78em; height: .78em; margin-left: .22em; vertical-align: -.04em; }
.hero-tagline + .hero-lead { margin-top: 16px; max-width: 470px; }
/* A darker shade behind the text than on the other pages, because this photo is busy. */
.hero--home .hero-media::after {
  background:
    linear-gradient(90deg, rgba(14, 20, 13, .76) 0%, rgba(14, 20, 13, .52) 36%, rgba(14, 20, 13, 0) 68%),
    linear-gradient(0deg, rgba(14, 20, 13, .55) 0%, rgba(14, 20, 13, 0) 50%);
}
@media (orientation: portrait) {
  .hero--home .hero-media::after {
    background: linear-gradient(0deg, rgba(14, 20, 13, .84) 0%, rgba(14, 20, 13, .64) 42%, rgba(14, 20, 13, .18) 72%, rgba(14, 20, 13, .08) 100%);
  }
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.js .line > span { transform: translateY(108%); }
.js .hero-fade { opacity: 0; transform: translateY(18px); }
.js .page.is-in .line > span { transform: none; transition: transform .85s var(--ease) var(--d, 0s); }
.js .page.is-in .hero-fade { opacity: 1; transform: none; transition: opacity .7s ease var(--d, 0s), transform .7s var(--ease) var(--d, 0s); }

/* ---------- home: intro ---------- */

/* ---------- news (written as posts in WordPress) ---------- */

.news { padding: 72px 0 0; }
.news .section-head { margin-bottom: 30px; }
.news-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); justify-content: center; gap: 18px; }
.news-card { padding: 24px 24px 22px; background: var(--white); border-radius: 18px; box-shadow: 0 12px 30px rgba(60, 45, 20, .1); }
.news-card--pinned { background: var(--cream-2); box-shadow: inset 0 0 0 2px var(--amber), 0 12px 30px rgba(60, 45, 20, .12); }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--body); }
.news-badge { padding: 4px 10px; border-radius: 999px; background: var(--amber); color: var(--ink); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.news-card h3 { margin-top: 10px; font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.news-text { margin-top: 8px; font-size: 15px; line-height: 1.7; color: var(--body); }
.news-text > * + * { margin-top: 10px; }
.news-text a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.news-text img { max-width: 100%; height: auto; border-radius: 12px; }
.news-text figure { margin: 12px 0 0; }
.news-text figcaption { margin-top: 4px; font-size: 12.8px; line-height: 1.5; }
.news-text .wp-block-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.news-text .wp-block-gallery figure { margin: 0; }
.news-text .wp-block-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
/* The post's own image ("Fotka novinky" in WordPress) sits edge to edge on top of the card. */
.news-photo { display: block; width: calc(100% + 48px); max-width: none; height: auto; aspect-ratio: 4 / 3; margin: -24px -24px 18px; object-fit: cover; border-radius: 18px 18px 0 0; }
.news-card--pinned .news-photo { width: calc(100% + 44px); margin: -22px -22px 18px; border-radius: 16px 16px 0 0; }

.intro { padding: 128px 0 161px; }
.intro-grid { display: grid; grid-template-columns: 312px minmax(0, 1fr) 312px; align-items: center; }
.intro-photo { will-change: transform; }
.intro-photo img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 26px 50px rgba(60, 45, 20, .16);
}
.intro-copy { text-align: center; padding-inline: 24px; }
.intro-copy h2 {
  font-size: clamp(38px, 4.4vw, 52px);
  font-weight: 500;
  line-height: 1.115;
}
.doma { position: relative; display: inline-block; color: var(--forest); padding-bottom: 6px; }
.doma-line {
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: -5px;
  width: calc(100% + 8px);
  height: 14px;
  color: var(--amber);
  overflow: visible;
}
.doma-paws { position: absolute; left: 100%; top: 0; width: 110px; height: 60px; margin-left: 12px; color: var(--amber-deep); }
.doma-paws svg { position: absolute; width: 20px; height: 20px; animation: paw-bob 2.6s ease-in-out infinite; }
.doma-paws svg:nth-child(1) { left: 0; top: 18px; transform: rotate(-20deg); }
.doma-paws svg:nth-child(2) { left: 30px; top: 2px; transform: rotate(10deg); animation-delay: .35s; }
.doma-paws svg:nth-child(3) { left: 58px; top: 18px; transform: rotate(24deg); animation-delay: .7s; }
@keyframes paw-bob { 50% { translate: 0 -4px; } }
.intro-copy > p {
  max-width: 400px;
  margin: 26px auto 0;
  font-size: 15.2px;
  line-height: 1.78;
  color: var(--body);
}
.intro-copy strong { font-weight: 600; color: var(--ink); }
/* A block of its own, so the button always sits under the list, never beside it on wider tablets. */
.intro-list { display: grid; width: fit-content; gap: 14px; margin: 34px auto 28px; text-align: left; }
.intro-list li { display: flex; align-items: center; gap: 14px; font-size: 15.5px; font-weight: 400; color: var(--ink); }

/* ---------- home: offer ---------- */

.offer { position: relative; background: var(--pea); padding: 54px 0 52px; overflow-x: clip; }
.offer::before {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  top: calc(-1 * clamp(24px, 3.4vw, 46px) + 1px);
  height: clamp(24px, 3.4vw, 46px);
  background: var(--pea);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.offer .section-head { color: var(--ink); margin-bottom: 51px; }
.offer .section-head p { color: var(--ink-soft); font-weight: 400; margin-top: 4px; }
.bento {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-auto-rows: 270px;
  gap: 16px;
  width: 1120px;
  max-width: 100%;
  margin-inline: auto;
}
.bento-card {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: var(--radius-card);
  color: var(--white);
  background: var(--forest);
  box-shadow: 0 10px 26px rgba(24, 33, 27, .18);
}
.bento-card--tall { grid-row: span 2; }
.bento-card--wide { grid-column: span 2; }
.bento-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.bento-card:hover img { transform: scale(1.05); }
.bento-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 18, 12, .82) 0%, rgba(10, 18, 12, .5) 30%, rgba(10, 18, 12, 0) 62%);
}
.bento-paw {
  position: absolute;
  z-index: 1;
  top: 19px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--forest);
  transition: transform .35s var(--ease);
}
.bento-paw svg { width: 19px; height: 19px; }
.bento-card:hover .bento-paw { transform: rotate(18deg) scale(1.1); }
.bento-body { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 25px; display: block; }
.bento-body strong {
  display: block;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .4);
}
.bento-text {
  display: block;
  max-width: 280px;
  margin-top: 5px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}
.badge {
  display: inline-block;
  margin-bottom: 9px;
  padding: 7px 11px;
  border-radius: 99px;
  background: var(--amber);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
}

/* ---------- home: stats ---------- */

.stats {
  position: relative;
  height: 404px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(rgba(16, 22, 14, .68), rgba(16, 22, 14, .68)),
    var(--ink) url("img/stats.jpg") center / cover no-repeat;
}
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding-top: 34px; }
.stat-num {
  display: block;
  font-size: clamp(64px, 7vw, 96px);
  font-weight: 600;
  line-height: 1;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 3px 20px rgba(0, 0, 0, .35);
}
.stat-label { display: block; margin-top: 8px; font-size: 18px; font-weight: 400; line-height: 1.4; color: var(--white); text-shadow: 0 1px 8px rgba(0, 0, 0, .55); }

/* ---------- home: polaroids ---------- */

.friends { padding: 89px 0 24px; overflow: hidden; } /* the polaroids are the last thing on the home page */
.section-head--dark h2 { color: var(--ink); }
.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brown);
  transition: color .2s;
}
.ig-link:hover { color: var(--ink); }
.ig-link svg { width: 15px; height: 15px; }
.marquee { margin: 43px 0 71px; padding: 22px 0 28px; }
.marquee-track { display: flex; width: max-content; animation: marquee var(--marquee-time, 43s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(var(--marquee-shift, -2192px)); } }
/* With JS the strip is moved by app.js instead, and a finger or the mouse can drag it sideways. */
.js .marquee { cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.js .marquee.is-dragging { cursor: grabbing; }
.js .marquee.is-dragging .polaroid { pointer-events: none; }
.js .marquee-track { animation: none; will-change: transform; }
.marquee img, .day-track img { -webkit-user-drag: none; }
.friends > .chips { margin: -34px 16px 64px; }
.polaroid {
  flex: none;
  width: 250px;
  margin-right: 24px;
  padding: 11px 11px 0;
  background: var(--white);
  border-radius: 3px;
  box-shadow: 0 12px 26px rgba(60, 45, 20, .14);
  rotate: var(--r, 0deg);
  transition: rotate .35s var(--ease), scale .35s var(--ease);
}
.marquee .polaroid:hover { rotate: 0deg; scale: 1.05; }
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.polaroid figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  font-family: var(--font-hand);
  font-size: 23px;
  font-weight: 600;
  line-height: 1;
  color: #22342a;
  text-align: center;
}
.cta {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 195px;
  padding: 36px 60px;
  border-radius: 22px;
  background: var(--amber);
}
.cta h2 { position: relative; font-size: clamp(30px, 3.1vw, 39px); font-weight: 500; line-height: 1.1; }
.cta-paw {
  position: absolute;
  right: 300px;
  bottom: -46px;
  width: 170px;
  height: 170px;
  color: var(--amber-deep);
  opacity: .42;
  transition: rotate .6s var(--ease);
}
.cta:hover .cta-paw { rotate: 10deg; }
.cta-actions { position: relative; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- sluzby ---------- */

.services { padding: 54px 0 88px; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.service {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 158px;
  padding: 14px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(60, 45, 20, .06);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.service:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(60, 45, 20, .1); }
.service img { flex: none; width: 130px; height: 130px; object-fit: cover; border-radius: 14px; }
.service > div { flex: 1; min-width: 0; }
.service header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.service h3 { font-size: 17.6px; font-weight: 600; line-height: 1.4; }
.price { font-size: 14px; font-weight: 600; color: var(--brown); white-space: nowrap; }
.service-link { display: inline-block; margin-top: 6px; font-size: 13.4px; font-weight: 600; color: var(--brown); text-decoration: underline; text-decoration-color: rgba(122, 85, 24, .35); text-underline-offset: 3px; transition: color .2s; }
.service-link::after { content: " →"; }
.service-link:hover { color: var(--ink); text-decoration-color: currentColor; }

/* ---------- výživové poradenstvo ---------- */
.nutrition { padding: 0 0 104px; }
.nutrition-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.nutrition-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; box-shadow: 0 26px 50px rgba(60, 45, 20, .16); }
.nutrition-copy h2 { margin-top: 12px; font-size: clamp(32px, 4vw, 46px); font-weight: 500; line-height: 1.15; }
.nutrition-copy > p:not(.eyebrow) { max-width: 540px; margin-top: 16px; font-size: 15.2px; line-height: 1.78; color: var(--body); }
.nutrition-copy h3 { margin-top: 26px; font-size: 17.6px; font-weight: 600; line-height: 1.4; }
.nutrition-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 22px; margin-top: 12px; }
.nutrition-list li { position: relative; padding-left: 22px; font-size: 14.4px; line-height: 1.55; color: var(--body); }
.nutrition-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: 13px;
  height: 13px;
  background: var(--amber-deep);
  -webkit-mask: var(--paw-mask) center / contain no-repeat;
  mask: var(--paw-mask) center / contain no-repeat;
}
.nutrition-steps { display: grid; gap: 12px; margin: 14px 0 0; padding: 0; list-style: none; counter-reset: step; }
.nutrition-steps li { position: relative; min-height: 30px; padding: 4px 0 0 44px; font-size: 14.4px; line-height: 1.55; color: var(--body); counter-increment: step; }
.nutrition-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.nutrition-steps strong { font-weight: 600; color: var(--ink); }
.nutrition-end { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.nutrition-price { font-family: var(--font-hand); font-size: 25px; line-height: 1.2; color: var(--brown-deep); }

/* ---------- O nás: memories and partners ---------- */
.page section[id] { scroll-margin-top: 96px; }
.memories { padding: 20px 0 0; }
.partners { padding: 92px 0 100px; }
.story-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); align-items: start; gap: 18px; margin-top: 30px; }
.story-card { overflow: hidden; border-radius: 18px; background: var(--white); box-shadow: 0 12px 30px rgba(60, 45, 20, .1); }
.story-card > img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.story-body { padding: 18px 22px 22px; }
.story-body h3, .partner-card h3 { font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.story-text, .partner-text { margin-top: 6px; font-size: 14.4px; line-height: 1.65; color: var(--body); }
.story-text > * + *, .partner-text > * + * { margin-top: 8px; }
.story-text a, .partner-text a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
/* A memory with a video gets two columns, and the video always fills the card. */
.story-text video, .story-text .wp-video { display: block; width: 100% !important; height: auto; border-radius: 12px; background: #000; }
.story-text .wp-video video { border-radius: 12px; }
@media (min-width: 761px) { .story-card--video { grid-column: span 2; } }
.partner-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; margin-top: 30px; }
.partner-card { padding: 24px 22px; border-radius: 18px; background: var(--white); box-shadow: 0 12px 30px rgba(60, 45, 20, .1); text-align: center; }
.partner-logo { display: block; width: 100%; height: 90px; margin-bottom: 14px; object-fit: contain; }
/* A photo Monika puts into a partner's text, for example of the people behind it. */
.partner-text img { display: block; width: 100%; height: auto; margin-inline: auto; border-radius: 12px; }
.partner-text figure { margin: 12px 0 0; }
.partner-text figcaption { margin-top: 4px; font-size: 12.8px; line-height: 1.5; }
.section-note { margin-top: 24px; text-align: center; font-size: 15px; color: var(--body); }

/* ---------- price list ---------- */
.pricing { padding: 0 0 96px; }
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 34px; }
.price-card { padding: 24px 26px 14px; border-radius: 20px; background: var(--white); box-shadow: 0 12px 28px rgba(60, 45, 20, .07); }
.price-card--wide { grid-column: 1 / -1; }
.price-card h3 { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding-bottom: 12px; border-bottom: 2px solid var(--amber); font-size: 18px; font-weight: 600; line-height: 1.35; }
.price-card h3 span { font-size: 13px; font-weight: 500; color: var(--brown); }
.price-card table { width: 100%; border-collapse: collapse; }
.price-card th, .price-card td { padding: 12px 0; border-bottom: 1px solid rgba(24, 33, 27, .08); font-size: 14.4px; line-height: 1.45; vertical-align: baseline; }
.price-card tr:last-child th, .price-card tr:last-child td { border-bottom: 0; }
.price-card th { padding-right: 16px; font-weight: 400; text-align: left; color: var(--body); }
.price-card td { font-weight: 600; text-align: right; white-space: nowrap; color: var(--ink); }
.price-note { display: flex; align-items: center; justify-content: center; gap: 12px; max-width: 640px; margin: 22px auto 0; padding: 14px 20px; border: 2px dashed rgba(94, 54, 11, .35); border-radius: 16px; text-align: center; font-size: 14.4px; font-weight: 500; line-height: 1.5; color: var(--brown-deep); }
.price-note svg { flex: none; width: 18px; height: 18px; color: var(--amber-deep); }
.service p { margin-top: 3px; font-size: 13.6px; line-height: 1.62; color: var(--body); }

.day { position: relative; height: 340vh; background: #ab652b; }
.day-sticky { position: sticky; top: 0; height: 100vh; min-height: 620px; overflow: hidden; background: #ab652b; }
.day-stars {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, .95) 1.5px, transparent 2px),
    radial-gradient(circle, rgba(255, 255, 255, .85) 1.5px, transparent 2px);
  background-size: 140px 110px, 190px 150px;
  background-position: 20px 30px, 65px 4px;
}
.day-sun {
  position: absolute;
  left: 6%;
  top: 170px;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 12px rgba(239, 184, 94, .14), 0 0 40px 14px rgba(239, 184, 94, .35);
  will-change: left, top, opacity;
}
.day-head { position: absolute; left: 0; right: 0; top: 160px; text-align: center; color: var(--white); padding-inline: 24px; }
.day-head h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 500; line-height: 1.2; }
.day-head p { margin-top: 2px; font-size: 15.2px; font-weight: 400; opacity: .85; }
.day-head .day-hint { margin-top: 4px; font-size: 13px; opacity: .7; }
/* Dragging the photos sideways scrolls through the day (app.js). */
.js .day-track { cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.js .day-track.is-dragging { cursor: grabbing; }
.day-track {
  position: absolute;
  top: 285px;
  left: max(24px, calc((100% - 1124px) / 2));
  display: flex;
  gap: 18px;
  will-change: transform;
}
.day-card {
  flex: none;
  width: 320px;
  min-height: 371px;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(24, 33, 27, .16);
}
.day-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.day-card > div { padding: 20px 20px 18px; }
.day-time { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brown); }
.day-card h3 { margin-top: 3px; font-size: 17.6px; font-weight: 600; line-height: 1.4; }
.day-card p { margin-top: 2px; font-size: 13.6px; line-height: 1.62; color: var(--body); }

.needs { padding: 87px 0 101px; }
.needs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 36px 0 80px; }
.need {
  padding: 28px 22px 28px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(60, 45, 20, .07);
}
.need h3 { margin-top: 18px; font-size: 17.6px; font-weight: 600; line-height: 1.4; }
.need p { margin-top: 2px; font-size: 13.6px; line-height: 1.55; color: var(--body); }
.needs-grid { margin-bottom: 72px; }

/* What to bring: one card per kind of animal, list items marked with small paws. */
.bring { margin-bottom: 80px; }
.bring-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 16px; margin-top: 30px; align-items: start; }
.bring-card { padding: 26px 24px 24px; border-radius: 20px; background: var(--white); box-shadow: 0 12px 28px rgba(60, 45, 20, .07); }
.bring-card h3 { font-size: 17.6px; font-weight: 600; line-height: 1.4; }
.bring-card p { margin-top: 4px; font-size: 13.6px; line-height: 1.55; color: var(--body); }
.bring-card ul { display: grid; gap: 8px; margin-top: 12px; padding: 0; list-style: none; }
.bring-card li { position: relative; padding-left: 22px; font-size: 13.6px; line-height: 1.55; color: var(--body); }
.bring-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: 13px;
  height: 13px;
  background: var(--amber-deep);
  -webkit-mask: var(--paw-mask) center / contain no-repeat;
  mask: var(--paw-mask) center / contain no-repeat;
}
.bring-extra { margin-top: 22px; text-align: center; font-family: var(--font-hand); font-size: 22px; line-height: 1.3; color: var(--brown-deep); }

/* ---------- fotky ---------- */

.gallery { padding: 54px 0 103px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 12px; }
.shot { position: relative; overflow: hidden; border-radius: 18px; background: var(--cream-2); }
.shot--big { grid-column: span 2; grid-row: span 2; }
.shot--tall { grid-row: span 2; }
.shot--wide { grid-column: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.shot:hover img { transform: scale(1.04); }
.shot figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 44px 14px 10px;
  font-family: var(--font-hand);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--white);
  background: linear-gradient(to top, rgba(0, 0, 0, .62), transparent);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s, transform .3s var(--ease);
}
.shot:hover figcaption { opacity: 1; transform: none; }
/* Phones have no hover, and the caption may name the dogs in the photo, so there it always shows. */
@media (hover: none) { .shot figcaption { opacity: 1; transform: none; padding-top: 34px; font-size: 20px; } }
.gallery-note { margin-top: 29px; text-align: center; font-size: 14.4px; color: var(--body); }
.gallery-note a { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- kontakt ---------- */

.about { padding: 68px 0 79px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.about-copy { padding-top: 50px; }
.about-copy h2 { margin-top: 14px; font-size: clamp(36px, 4.4vw, 52px); font-weight: 500; line-height: 1.13; }
.about-copy h2 + p { margin-top: 18px; }
.about-copy p:not(.eyebrow) { max-width: 530px; font-size: 15.2px; line-height: 1.78; color: var(--body); }
.about-copy p + p:not(.eyebrow) { margin-top: 13px; }
/* The pair scales with the space it gets and always sits in the middle of it. */
.about-photos { position: relative; width: min(100%, 540px); aspect-ratio: 540 / 480; margin-inline: auto; }
/* Monika's story is longer than the two photos, so on wide screens they travel along with it. */
#historia .about-photos { position: sticky; top: 120px; }
.about-copy p.about-sign { margin-top: 20px; font-family: var(--font-hand); font-size: 24px; line-height: 1.3; color: var(--brown-deep); }
.polaroid--lg { position: absolute; width: 57.4%; margin: 0; padding: 11px 11px 0; }
.polaroid--lg:first-child { left: 0; top: 2%; }
.polaroid--front { left: 41.3%; top: 20%; z-index: 1; }
.polaroid--lg figcaption { height: 56px; font-size: 24px; }
/* The front photo covers the right side of the back one, so its caption stays in the part that shows. */
.polaroid--lg:first-child figcaption { padding-right: 30%; white-space: nowrap; }

.faq { padding: 0 0 91px; }
.faq-wrap { width: min(764px, 100% - 48px); margin-inline: auto; }
.faq h2 { text-align: center; font-size: 33px; font-weight: 500; line-height: 1.2; margin-bottom: 22px; }
.faq-item { margin-bottom: 10px; border-radius: 16px; background: var(--white); box-shadow: 0 8px 20px rgba(60, 45, 20, .05); }
.faq-item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 61px;
  padding: 12px 22px;
  text-align: left;
  font-size: 15.2px;
  font-weight: 600;
  line-height: 1.4;
}
.faq-item i { position: relative; flex: none; width: 14px; height: 14px; color: var(--brown); transition: transform .3s var(--ease); }
.faq-item i::before, .faq-item i::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
}
.faq-item i::before { left: 0; right: 0; top: 6.25px; height: 1.5px; }
.faq-item i::after { top: 0; bottom: 0; left: 6.25px; width: 1.5px; }
.faq-item button[aria-expanded="true"] i { transform: rotate(45deg); }
.faq-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq-item button[aria-expanded="true"] + .faq-body { grid-template-rows: 1fr; }
.faq-body > div { overflow: hidden; }
.faq-body p { padding: 0 22px 20px; font-size: 14.4px; line-height: 1.65; color: var(--body); }
.faq-more { margin-top: 28px; text-align: center; font-family: var(--font-hand); font-size: 23px; line-height: 1.2; color: var(--brown-deep); }
.faq-more + .chips { margin-top: 10px; }

.find { background: var(--cream-2); padding: 64px 0 62px; }
.find-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: start; }
.find h2 { font-size: 35px; font-weight: 500; line-height: 1.2; }
.find-list { display: grid; gap: 8px; margin: 18px 0 22px; font-size: 15.2px; font-weight: 400; }
.find-list > div { display: flex; gap: 14px; }
.find-list dt { width: 16px; font-weight: 600; }
.find-list a { transition: color .2s; }
.find-list a:hover { color: var(--brown); text-decoration: underline; text-underline-offset: 3px; }
.find-hours { max-width: 440px; margin: -6px 0 22px; font-size: 14.4px; line-height: 1.6; color: var(--body); }
.find-hours strong { font-weight: 600; color: var(--ink); }
.find-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.find-legal { margin-top: 26px; font-size: 12.8px; line-height: 1.6; color: var(--body); }
.find-legal strong { font-weight: 600; color: var(--ink); }
.map { overflow: hidden; height: 300px; border-radius: 16px; background: #e6ecd9; box-shadow: 0 10px 26px rgba(60, 45, 20, .08); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- footer ---------- */

.site-footer { position: relative; padding-top: 52px; background: var(--pea); color: var(--ink); }
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 13px;
  background: radial-gradient(circle at 12px 12.5px, var(--pea) 12px, transparent 12.6px) 0 0 / 24px 13px repeat-x;
}
.footer-main { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-bottom: 38px; }
.logo--footer { height: 150px; }
.footer-center { text-align: center; }
.footer-social { display: flex; justify-content: center; gap: 12px; margin-bottom: 14px; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  transition: transform .25s var(--ease);
}
.footer-social a:hover { transform: translateY(-3px) rotate(-6deg); }
.footer-social svg { width: 16px; height: 16px; }
.footer-center p { font-size: 13.6px; font-weight: 400; line-height: 1.6; color: var(--ink-soft); }
.footer-slogan { font-family: var(--font-hand); font-size: 24px; line-height: 1.2; color: var(--ink); }
.footer-nav { justify-self: end; display: flex; gap: 34px; }
.footer-links { display: grid; align-content: start; gap: 3px; font-size: 14.4px; font-weight: 400; }
.footer-links a { position: relative; display: block; padding-left: 16px; line-height: 1.45; transition: color .2s; }
.footer-links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 1px rgba(24, 33, 27, .18);
}
.footer-links a:hover { color: var(--brown-deep); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  padding: 12px 24px 13px;
  border-top: 1px solid rgba(24, 33, 27, .16);
  text-align: center;
  font-size: 12.8px;
  font-weight: 400;
  color: var(--ink-soft);
}

/* ---------- floating call + paw trail ---------- */


.paw-print {
  position: fixed;
  z-index: 45;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  color: var(--amber-deep);
  pointer-events: none;
  animation: paw-print 1.5s ease-out forwards;
}
@keyframes paw-print {
  0% { opacity: 0; scale: .5; }
  12% { opacity: .95; scale: 1; }
  100% { opacity: 0; scale: .9; }
}

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  .intro-grid { grid-template-columns: 240px minmax(0, 1fr) 240px; }
  .doma-paws { display: none; }
  .cta-paw { right: 42%; }
}

@media (max-width: 1140px) {
  /* Five menu items, three of them with a submenu, need about 470px beside the centred logo,
     so narrower screens (tablets and small laptops) get the phone menu. */
  :root { --header-h: 72px; }
  .header-inner { grid-template-columns: auto 1fr; }
  .site-header { --logo-h: 74px; --logo-top: 4px; --bar: 72px; }
  html:has(main[data-page="domov"]:not([hidden])) .site-header:not(.is-solid) { --logo-h: clamp(90px, 30vw, 120px); --logo-top: 4px; }
  .header-ig { display: none; }
  .menu-toggle {
    display: grid;
    gap: 6px;
    place-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--amber);
    color: var(--ink);
  }
  .menu-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    gap: 2px;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10px 16px 18px;
    background: var(--pea);
    box-shadow: 0 16px 28px rgba(24, 33, 27, .16);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s var(--ease); }
  .nav a, .is-solid .nav a { color: var(--ink); text-shadow: none; padding: 11px 8px; font-size: 16px; }
  .nav a.is-active, .is-solid .nav a.is-active { color: var(--brown-deep); }
  .nav a.is-active::after { display: none; }
  .nav-group { flex-direction: column; }
  .nav-caret { display: none; }
  /* inherit, not visible: a closed menu must not leave its submenu links clickable over the page. */
  .nav-sub { position: static; min-width: 0; margin: 0; padding: 0 0 4px 16px; background: none; box-shadow: none; opacity: 1; visibility: inherit; transform: none; transition: none; }
  .nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub { visibility: inherit; }
  .nav-sub::before { display: none; }
  .nav .nav-sub a, .is-solid .nav .nav-sub a { padding: 8px; font-size: 15px; font-weight: 500; }
  .logo:not(.logo--footer) { grid-column: 1; grid-row: 1; }
  .header-end { grid-column: 2; }
}

@media (max-width: 960px) {
  /* Narrower screens have no room beside the owners, so the text moves below their faces. */
  .hero--kontakt .hero-inner { margin-top: 96px; }
  .hero--kontakt .hero-lead { max-width: none; }
  .hero--kontakt .hero-media::after {
    background: linear-gradient(0deg, rgba(14, 20, 13, .74) 0%, rgba(14, 20, 13, .46) 40%, rgba(14, 20, 13, 0) 65%);
  }
  .bring-grid { grid-template-columns: 1fr 1fr; }
  .bring-card:first-child { grid-column: 1 / -1; }
  .intro { padding: 80px 0 110px; }
  .intro-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .intro-copy { grid-column: 1 / -1; grid-row: 1; padding: 0 0 24px; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 250px; }
  .bento-card--tall { grid-column: span 2; grid-row: span 1; }
  .bento-card--tall img { object-position: center 25%; }
  .services-grid { grid-template-columns: 1fr; }
  .needs-grid { grid-template-columns: repeat(2, 1fr); margin-bottom: 56px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .shot--big, .shot--wide { grid-column: span 2; }
  .shot--big { grid-row: span 2; }
  .about-grid, .find-grid { grid-template-columns: 1fr; }
  .about-copy { padding-top: 0; }
  .nutrition-grid { grid-template-columns: 1fr; gap: 30px; }
  .nutrition-photo { width: 100%; max-width: 440px; margin-inline: auto; }
  .nutrition-photo img { aspect-ratio: 5 / 4; }
  .cta { flex-direction: column; align-items: flex-start; padding: 32px; }
  .cta-paw { right: 8px; }
}

@media (max-width: 760px) {
  .price-grid { grid-template-columns: 1fr; }
  .price-card td { white-space: normal; min-width: 6.5em; }
  .price-card td.nowrap { white-space: nowrap; }
  .header-inner { width: calc(100% - 32px); }

  .hero-inner { width: calc(100% - 32px); }
  .hero--home .hero-inner { bottom: 54px; }
  .hero-lead { max-width: 340px; }
  .wrap { width: calc(100% - 32px); }
  .stats { height: auto; padding: 42px 0 48px; }
  .stats-grid { grid-template-columns: 1fr; gap: 22px; padding-top: 0; }
  .service { align-items: flex-start; }
  .service img { width: 92px; height: 92px; }
  .day-sticky { min-height: 660px; }
  .day-track { left: 16px; top: 266px; }
  .day-card { width: 270px; }
  .day-head { top: 118px; }
  .day-head .day-hint { display: none; }
  .gallery-grid { grid-auto-rows: 160px; }
  .footer-main { grid-template-columns: 1fr; justify-items: center; }
  .footer-nav { justify-self: center; gap: 30px; }
  .faq-wrap { width: calc(100% - 32px); }
}

@media (max-width: 560px) {
  .bring-grid { grid-template-columns: 1fr; }
  .nutrition-list { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento-card--tall, .bento-card--wide { grid-column: auto; }
}

@media (max-width: 420px) {
  .needs-grid { grid-template-columns: 1fr; }
  /* On the narrowest phones the headline keeps its three lines and stays clear of the header. */
  .hero--home .hero-title { font-size: min(58px, 15.5vw); }
  .btn { padding: 0 20px; }
  .cta-actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .doma-paws svg, .curtain-paw { animation: none; }
  html:not(.js) .marquee { overflow-x: auto; }
  .lb, .lb-img { transition: none; }
  .js .reveal, .js .reveal-zoom, .js .line > span, .js .hero-fade { opacity: 1; transform: none; transition: none; }
  .day { height: auto; }
  .day-sticky { position: relative; height: auto; min-height: 0; padding: 120px 0 60px; background: #ab652b; }
  .day-head { position: static; margin-bottom: 30px; }
  .day-sun, .day-stars { display: none; }
  .day-track { position: static; overflow-x: auto; padding: 0 24px 16px; }
}

/* Covers the hairline where the hero's curve meets the next section. */
.hero + section { position: relative; margin-top: -1px; background: var(--cream); }

/* ---------- lightbox: any photo opens big on a click (app.js) ---------- */

.js .zoomable { cursor: zoom-in; }
.js .marquee .zoomable, .js .day-track .zoomable { cursor: inherit; }
html.lb-lock { overflow: hidden; }
.lb {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background: rgba(14, 20, 15, .93);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  overscroll-behavior: contain;
  transition: opacity .25s, visibility 0s .25s;
}
.lb.is-open { opacity: 1; visibility: visible; transition: opacity .25s; }
.lb-stage { position: relative; min-height: 0; overflow: hidden; touch-action: none; }
.lb-img {
  position: absolute;
  inset: 0;
  margin: auto;
  width: auto;
  height: auto;
  max-width: calc(100% - 152px);
  max-height: calc(100% - 84px);
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  opacity: 0;
  transform: translateX(var(--from, 0px)) scale(.97);
  transition: opacity .25s ease, transform .35s var(--ease);
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}
.lb-img.is-ready { opacity: 1; transform: none; }
.lb-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  background: var(--amber);
  -webkit-mask: var(--paw-mask) center / contain no-repeat;
  mask: var(--paw-mask) center / contain no-repeat;
  opacity: 0;
  transition: opacity .2s;
  animation: paw-pulse .8s ease-in-out infinite alternate;
  pointer-events: none;
}
.lb.is-loading .lb-stage::after { opacity: 1; transition-delay: .25s; }
.lb-bar { display: grid; justify-items: center; gap: 2px; padding: 4px 20px max(22px, env(safe-area-inset-bottom)); text-align: center; }
.lb-cap { font-family: var(--font-hand); font-size: 27px; font-weight: 600; line-height: 1.2; }
.lb-count { font-size: 12.5px; font-weight: 500; letter-spacing: .14em; opacity: .65; }
.lb-btn {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(252, 247, 239, .94);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
  transition: transform .2s var(--ease), background-color .2s;
}
.lb-btn:hover { background: var(--amber); transform: scale(1.07); }
.lb-btn:focus-visible { outline-color: var(--amber); }
.lb-close { top: max(16px, env(safe-area-inset-top)); right: 16px; }
.lb-prev, .lb-next { top: 50%; margin-top: -45px; }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-close::before, .lb-close::after { content: ""; position: absolute; width: 18px; height: 2px; border-radius: 2px; background: currentColor; rotate: 45deg; }
.lb-close::after { rotate: -45deg; }
.lb-prev::before, .lb-next::before { content: ""; width: 11px; height: 11px; border-left: 2.2px solid currentColor; border-bottom: 2.2px solid currentColor; }
.lb-prev::before { rotate: 45deg; margin-left: 4px; }
.lb-next::before { rotate: -135deg; margin-right: 4px; }
.lb--single .lb-prev, .lb--single .lb-next, .lb--single .lb-count { display: none; }

@media (max-width: 760px) {
  .lb-img { max-width: calc(100% - 20px); max-height: calc(100% - 92px); border-radius: 8px; }
  .lb-btn { width: 42px; height: 42px; }
  .lb-prev, .lb-next { top: auto; bottom: 12px; margin: 0; background: rgba(252, 247, 239, .18); color: var(--white); box-shadow: none; }
  .lb-prev { left: 12px; }
  .lb-next { right: 12px; }
  .lb-cap { font-size: 24px; }
  .lb-bar { padding-inline: 62px; }
}
