@font-face {
  font-family: "Boingster";
  src: url("Boingster-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --leaf: #ee7aa6;
  --leaf-deep: #d85a8e;
  --leaf-soft: #fdeef4;
  --nav: #3c4248;
  --ink: #4e564c;
  --heading: #6d655c;
  --muted: #8b847a;
  --bg: #f4f2ec;
  --paper: #fff;
  --line: #e6e0d6;
  --shadow: 0 10px 30px rgba(70, 60, 40, 0.06);
  --container: 1080px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Boingster", "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(90, 70, 40, 0.045) 0.7px, transparent 0.7px);
  background-size: 3px 3px;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }
img, svg { display: block; max-width: 100%; }

.wrap {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  background: var(--leaf);
  color: #fff;
}
.topbar-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}
.logo {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 400;
  line-height: 0.95;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
.topbar .logo span {
  display: block;
  margin-top: 4px;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-shadow: none;
}
.waiting {
  margin-left: auto;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.top-actions { display: flex; gap: 8px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 3px;
  background: #fff;
  color: #66705f;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.pill:hover { color: var(--leaf-deep); }

.nav {
  background: var(--nav);
  color: #fff;
}
.nav .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  display: block;
  padding: 12px 11px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #d9dde0;
}
.nav-list a.active,
.nav-list a:hover { color: #fff; }
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
  padding: 10px 0;
  cursor: pointer;
}

.title-sheet { padding: 34px 0 8px; }
.title-top {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}
.title-photo {
  margin: 0;
}
.title-photo img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}
.title-person {
  margin: 0;
  font-family: var(--display);
  font-size: 64px;
  line-height: 0.95;
  color: #5c564e;
}
.title-place {
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: 40px;
  line-height: 1;
  color: var(--leaf-deep);
}
.title-note {
  max-width: 820px;
  margin: 28px auto 8px;
  padding: 22px 28px;
  border-radius: 16px;
  background: var(--leaf);
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.45;
  color: #fff;
}
.letter {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 28px;
  align-items: start;
  padding-top: 12px;
}
.letter-text p { margin: 0 0 14px; color: #5e675c; }
.letter-text a { color: var(--leaf-deep); font-weight: 800; }
.budni .shots { margin-top: 12px; }
.guests p { max-width: 720px; color: #5e675c; }
.hero-art { position: relative; min-height: 0; }
.hero-video {
  width: 100%;
  max-height: 460px;
  border-radius: 16px;
  background: #2a2422;
  object-fit: contain;
}
.tail { transform-origin: 78px 250px; animation: wag 0.9s ease-in-out infinite; }
.blink { transform-origin: center; animation: blink 4.5s infinite; }
@keyframes wag {
  0%, 100% { transform: rotate(8deg); }
  50% { transform: rotate(-18deg); }
}
@keyframes blink {
  0%, 42%, 48%, 100% { transform: scaleY(1); }
  45% { transform: scaleY(0.1); }
}
h1, h2 {
  font-family: var(--display);
  font-weight: 400;
}
.hero h1 {
  margin: 0 0 14px;
  color: #5e675c;
  font-size: 42px;
  line-height: 1.25;
  font-weight: 400;
}
.hero p { margin: 0 0 12px; color: #8a847b; max-width: 520px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 14px 26px;
  border-radius: 4px;
  background: var(--leaf);
  color: #fff;
  font-weight: 800;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.08);
}
.btn:hover { background: var(--leaf-deep); }

.panel {
  position: relative;
  margin: 10px 0 34px;
  padding: 34px 24px 28px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #efeae2;
  box-shadow: var(--shadow);
}
.panel h2, .section-title, .filter h2, .help h2, .video h2, .about h2 {
  margin: 0 0 18px;
  text-align: center;
  color: var(--heading);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.25;
}
.checks {
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 8px 0;
  color: #66715f;
}
.tick {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--leaf);
  color: #fff;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}
.peek {
  position: absolute;
  right: -10px;
  bottom: -86px;
  width: 280px;
  pointer-events: none;
  animation: peek 3.6s ease-in-out infinite;
}
@keyframes peek {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.selection {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 10px;
  padding: 70px 0 20px;
}
.selection .section-title { text-align: center; grid-column: 1 / -1; }
.reasons { list-style: none; margin: 0; padding: 0 0 0 8px; }
.reasons li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  margin: 14px 0;
  color: #6d7a62;
}
.bubble {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #d9e7f2;
  color: #6f8ea8;
}
.selection-art { min-height: 180px; display: flex; align-items: flex-end; justify-content: flex-end; }
.selection-art svg { width: min(360px, 100%); }

.traits {
  padding: 30px 0 50px;
  text-align: center;
}
.trait-frame {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 26px 18px 8px;
  border: 1px solid #eadfce;
  border-top: 0;
  position: relative;
}
.trait-frame:before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 0;
  border-top: 1px solid #eadfce;
}
.trait i {
  width: 74px;
  height: 74px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #c7a27a;
  color: #fff;
}
.trait p { margin: 0; color: #8a8176; font-size: 15px; }

.story {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: center;
  padding: 10px 0 40px;
}
.story-art { min-height: 280px; }
.accordion details {
  border-bottom: 1px solid #eadfce;
  padding: 8px 0;
}
.accordion summary {
  cursor: pointer;
  color: #6d645b;
  font-weight: 700;
  list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-right: 2px solid var(--leaf);
  border-bottom: 2px solid var(--leaf);
  transform: rotate(-45deg);
}
.accordion details[open] summary:before { transform: rotate(45deg); }
.accordion p { margin: 8px 0 8px 18px; color: #8d867e; }

.filter {
  margin: 10px auto 40px;
  padding: 28px 28px 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #efe8dc;
}
.filter-head {
  display: flex;
  justify-content: flex-end;
  min-height: 24px;
}
.filter-head a { color: var(--leaf-deep); font-size: 14px; }
.filter h2 { margin-top: -8px; }
.filter-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: center;
  margin: 12px 0;
}
.filter-row span { color: #8d867e; font-size: 18px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice, .size {
  border: 1px solid #d9d3c8;
  background: #fff;
  color: #6d675f;
  border-radius: 3px;
  padding: 7px 12px;
  cursor: pointer;
}
.choice.is-on, .size.is-on {
  background: var(--leaf);
  border-color: var(--leaf);
  color: #fff;
}
.sizes { display: flex; flex-wrap: wrap; gap: 10px; }
.size {
  width: 118px;
  padding: 10px 8px 8px;
  text-align: center;
}
.size svg { width: 72px; height: 42px; margin: 0 auto 4px; }
.scroller {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 18px 2px 8px;
}
.scroller::-webkit-scrollbar { height: 8px; }
.scroller::-webkit-scrollbar-thumb { background: #ddd4c6; border-radius: 99px; }
.pet {
  flex: 0 0 210px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #eee;
  overflow: hidden;
  color: inherit;
}
.pet.is-hidden { display: none; }
.pet-photo { display: block; aspect-ratio: 1; background: #ece7df; }
.pet-photo svg { width: 100%; height: 100%; }
.pet-meta {
  display: block;
  padding: 10px 12px 12px;
}
.pet-meta strong { display: block; color: #4e564c; }
.pet-meta span { color: #8d867e; font-size: 14px; }
.pet:hover .pet-photo svg { transform: scale(1.04); }
.pet-photo svg { transition: transform 0.35s ease; }
.empty {
  display: none;
  text-align: center;
  color: var(--muted);
  padding: 12px 0 4px;
}
.empty.is-on { display: block; }

.band { background: #f7f4ee; }
.video, .help, .after, .about { padding: 42px 0; }
.video-frame {
  width: min(860px, 100%);
  margin: 0 auto;
  background: #1c1c1c;
  border-radius: 16px;
  overflow: hidden;
}
.news-video {
  width: 100%;
  max-height: 520px;
  display: block;
  background: #1c1c1c;
  object-fit: contain;
}
.play {
  width: 68px;
  height: 68px;
  margin: 0 auto 10px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #ff3b30;
  font-size: 28px;
}
.video-frame p { margin: 0; max-width: 420px; }

.help-grid, .after-grid, .about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}
.help h2, .after h2 { text-align: left; }
.help p, .about p, .after p { color: #8d867e; }
.help-art { width: min(360px, 100%); margin-left: auto; }
.cat-tail { transform-origin: 250px 210px; animation: cat-tail 2.4s ease-in-out infinite; }
@keyframes cat-tail {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(16deg); }
}

.about h2 { text-align: center; }
.shots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 8px;
}
.shot {
  display: block;
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  background: #ddd;
}
.shots .shot:not(.is-on) { display: none; }
.shot img, .shot svg { width: 100%; height: 100%; object-fit: cover; }
.about-grid { align-items: start; padding-top: 10px; }
.about h2 { grid-column: 1 / -1; }

.footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 28px 0 18px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 18px;
}
.footer .logo { color: var(--leaf-deep); font-size: 40px; }
.footer h3 { margin: 0 0 8px; font-size: 14px; letter-spacing: 0.06em; color: #6d675f; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 6px 0; }
.footer a { color: #8d867e; }
.footer a:hover { color: var(--leaf-deep); }
.copy {
  margin: 22px 0 0;
  color: #a39d94;
  font-size: 13px;
}
.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 5;
  border: 1px solid #ddd;
  background: #fff;
  color: #6d675f;
  border-radius: 3px;
  padding: 8px 10px;
  cursor: pointer;
  box-shadow: var(--shadow);
}

@media (max-width: 860px) {
  .topbar-inner {
    flex-wrap: wrap;
    gap: 8px 12px;
    min-height: 0;
    padding: 10px 0 12px;
  }
  .logo { font-size: 32px; }
  .waiting { margin-left: auto; font-size: 15px; }
  .top-actions { flex: 1 0 100%; }
  .pill {
    flex: 1;
    justify-content: center;
    min-height: 40px;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 0;
    font-size: 16px;
    font-weight: 700;
  }
  .nav-list {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding-bottom: 8px;
  }
  .nav.is-open .nav-list { display: flex; }
  .nav-list a {
    padding: 12px 2px;
    letter-spacing: 0.04em;
  }
  .hero, .selection, .story, .help-grid, .after-grid, .about-grid, .footer-grid, .title-top, .letter {
    grid-template-columns: 1fr;
  }
  .title-person { font-size: 42px; }
  .title-place { font-size: 30px; }
  .title-note { font-size: 18px; }
  .hero { padding-top: 16px; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-video { max-height: none; }
  .hero h1 { font-size: 32px; }
  .btn { width: 100%; }
  .panel, .filter { padding: 20px 14px 16px; }
  .panel h2, .section-title, .filter h2, .help h2, .video h2, .about h2 { font-size: 28px; }
  .peek { display: none; }
  .selection { padding-top: 8px; }
  .selection-art svg { width: min(220px, 70%); margin: 0 auto; }
  .trait-frame { grid-template-columns: 1fr; gap: 22px; }
  .filter-row { grid-template-columns: 1fr; gap: 8px; }
  .choice, .size { min-height: 44px; }
  .size { width: calc(50% - 6px); }
  .pet { flex-basis: 76vw; }
  .shots { grid-template-columns: 1fr 1fr; }
  .help h2, .after h2 { text-align: center; }
  .help-art, .help .qr-box { margin: 0 auto; }
  .video-frame p { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .logo { font-size: 26px; }
  .waiting { font-size: 14px; }
  .hero h1 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .tail, .blink, .peek, .cat-tail { animation: none; }
}

.catalog-page { padding: 32px 0 48px; }
.catalog-lead { text-align: center; color: #8d867e; max-width: 680px; margin: 0 auto 8px; }
.catalog-gates { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0 8px; }
.gate {
  display: block;
  padding: 28px 16px;
  background: #fff;
  border: 1px solid #efe8dc;
  border-radius: 16px;
  text-align: center;
}
.gate strong { display: block; font-family: var(--display); font-size: 36px; font-weight: 400; color: #6d655c; }
.gate span { color: #8d867e; }
.filter h2 a { color: inherit; }
.kind-block { margin-top: 36px; }
.kind-block h2 { text-align: left; }
.pet-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pet-card {
  display: block;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  color: inherit;
}
.pet-card .pet-photo { display: block; aspect-ratio: 1; background: #ece7df; overflow: hidden; }
.pet-card .pet-photo img,
.pet-card .pet-photo svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.portfolio-photo img,
.portfolio-photo svg {
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  background: #ece7df;
}
.pet-card .pet-meta { display: block; padding: 12px; }
.pet-card .pet-meta strong { display: block; }
.pet-card .pet-meta span { color: #8d867e; }
.pet-status {
  display: inline-block;
  margin: 6px 0 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--leaf-soft);
  color: var(--leaf-deep);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}
.pet-card .pet-status {
  display: block;
  width: fit-content;
  color: var(--leaf-deep);
}
.pet-status.is-found,
.pet-card .pet-status.is-found { background: #e7f3ea; color: #2f7a45; }
.catalog-empty { color: #8d867e; }
.portfolio { padding: 24px 0 48px; }
.back { margin: 0 0 12px; }
.back a { color: var(--leaf-deep); font-weight: 800; }
.portfolio-top { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 28px; align-items: start; }
.portfolio-photo img, .portfolio-photo svg { border-radius: 16px; }
.portfolio-kind { margin: 0; color: var(--leaf-deep); font-weight: 800; letter-spacing: 0.04em; }
.portfolio-facts { color: #8d867e; font-weight: 700; }
.portfolio-text { color: #5e675c; }
.portfolio-story, .portfolio-gallery, .portfolio-video { margin-top: 28px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery-grid .media-item, .video-list .media-item { position: relative; margin: 0; overflow: hidden; border-radius: 10px; background: #1c1c1c; }
.gallery-grid .media-item { background: #ece7df; aspect-ratio: 3 / 4; }
.gallery-open {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.gallery-grid img { width: 100%; height: 100%; object-fit: contain; display: block; background: #ece7df; }
.video-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 280px));
  justify-content: start;
  align-items: start;
  gap: 12px;
}
.video-list .media-item { background: transparent; }
.video-list video {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(72vh, 620px);
  margin: 0 auto;
  object-fit: contain;
  background: #111;
}
.media-item.is-adult:not(.is-open) img,
.media-item.is-adult:not(.is-open) video {
  filter: blur(22px);
  transform: scale(1.08);
}
.media-item.is-adult:not(.is-open) video { pointer-events: none; }
.media-item.is-open .reveal-adult { display: none; }
.reveal-adult {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #6d3048;
  font-weight: 800;
  padding: 10px 16px;
  cursor: pointer;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  grid-template-rows: 56px minmax(0, 1fr) 48px;
  background: rgba(18, 14, 12, 0.94);
}
.lightbox[hidden] { display: none; }
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close { grid-column: 3; grid-row: 1; }
.lightbox-prev { grid-column: 1; grid-row: 2; }
.lightbox-next { grid-column: 3; grid-row: 2; }
.lightbox-stage {
  grid-column: 2;
  grid-row: 2;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
}
.lightbox-stage img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
}
.lightbox.is-adult:not(.is-open) .lightbox-stage img {
  filter: blur(28px);
  transform: scale(1.05);
}
.lightbox .reveal-adult { z-index: 1; }
.lightbox-count {
  grid-column: 1 / -1;
  grid-row: 3;
  margin: 0;
  color: #fff;
  text-align: center;
  font-weight: 700;
}
body.lightbox-on { overflow: hidden; }
@media (max-width: 640px) {
  .lightbox { grid-template-columns: 44px minmax(0, 1fr) 44px; }
  .lightbox-close, .lightbox-prev, .lightbox-next { font-size: 32px; }
}
.editor { margin-top: 36px; padding: 20px; background: #fff; border: 1px dashed #e7b3c8; border-radius: 16px; }
.editor-form label, .login-form label { display: block; margin: 10px 0; color: #6d655c; font-weight: 700; }
.editor-form input[type="text"], .editor-form input:not([type]), .editor-form textarea, .editor-form select,
.login-form input { width: 100%; margin-top: 4px; padding: 8px 10px; border: 1px solid #e6e0d6; border-radius: 6px; font: inherit; }
.edit-media { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.edit-media li { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px; background: #f7f4ee; border-radius: 8px; cursor: grab; }
.edit-media img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; }
.remove-media, .editor-note { color: #8d867e; }
.login-form { max-width: 420px; margin: 20px auto; }
.portfolio-video .video-frame { width: min(280px, 100%); margin: 0; }
.portfolio-video video { width: auto; max-width: 100%; height: auto; max-height: min(72vh, 620px); background: #1c1c1c; border-radius: 12px; }
.help-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: center;
  margin-top: 32px;
  padding: 24px;
  background: #fff;
  border: 1px solid #efe8dc;
  border-radius: 16px;
}
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.social {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #e7b3c8;
  border-radius: 999px;
  color: var(--leaf-deep);
  font-weight: 800;
}
.social.is-wait { opacity: 0.55; }
.help-links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; }
.help-links .btn { margin-top: 0; }
.qr-box {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px;
  text-align: center;
  color: #2c2824;
  background: #f8eef2;
  border-radius: 12px;
}
.qr-brand { margin: 0; }
.qr-brand img { width: min(280px, 100%); height: auto; display: block; }
.qr-caption { margin: 0; max-width: 240px; font-weight: 800; line-height: 1.35; }
.qr-box .qr-code { width: min(260px, 100%); height: auto; image-rendering: crisp-edges; }
.help .qr-box { margin-left: auto; width: min(340px, 100%); background: #fff; }

@media (max-width: 860px) {
  .catalog-gates, .portfolio-top, .help-card, .pet-grid, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-top, .help-card { grid-template-columns: 1fr; }
  .catalog-page h1 { font-size: 32px; }
}
@media (max-width: 560px) {
  .pet-grid, .gallery-grid, .catalog-gates { grid-template-columns: 1fr; }
}
