.site-shell {
  position: relative;
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
}

.site-main {
  flex: 1 0 auto;
  width: min(var(--container), calc(100% - 96px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 36px;
  width: min(var(--container), calc(100% - 96px));
  min-height: 78px;
  margin: 0 auto;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
}

.site-logo__cat {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.site-logo__text {
  font-family: var(--font-logo);
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1;
  color: #41251a;
  white-space: nowrap;
}

.site-logo__paw {
  color: var(--color-main-dark);
  font-size: 1.2rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  flex: 1 1 auto;
}

.site-nav__link {
  position: relative;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1;
}

.site-nav__link--home:not(.is-current):not(.current-menu-item):not(.current_page_item):not(.current-menu-ancestor)::after {
  display: none;
  content: none;
}

.site-nav__link.is-current::after,
.site-nav__link.current-menu-item::after,
.site-nav__link.current_page_item::after,
.site-nav__link.current-menu-ancestor::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -16px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--color-main-dark);
}

.site-header__search,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 0;
}

.site-header__search {
  width: 44px;
  height: 44px;
  color: #fff;
  background: linear-gradient(180deg, #2b83c2, #0067b1);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(0, 101, 177, 0.22);
}

.site-header__search svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.site-header__menu {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
}

.site-header__menu span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  border-radius: 999px;
  background: #38231a;
}

.site-footer {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  min-height: 120px;
  margin-top: 58px;
  padding: 48px 24px 24px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(130px 38px at 8% 38%, rgba(143, 180, 204, 0.18), transparent 70%),
    linear-gradient(178deg, transparent 0 26%, #edf7ff 27% 100%);
}

.site-footer__scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.site-footer__tree,
.site-footer__tree::before {
  position: absolute;
  bottom: 28px;
  left: 48px;
  width: 14px;
  height: 36px;
  border-radius: 12px 12px 2px 2px;
  background: #75abd0;
  content: "";
}

.site-footer__tree::before {
  bottom: 23px;
  left: -8px;
  width: 30px;
  height: 30px;
  border-radius: 50% 50% 48% 48%;
}

.site-footer__tree--small {
  left: 82px;
  transform: scale(0.78);
  opacity: 0.85;
}

.site-footer__house {
  position: absolute;
  bottom: 32px;
  left: 116px;
  width: 32px;
  height: 24px;
  background: #9bc2df;
  border-radius: 3px;
}

.site-footer__house::before {
  position: absolute;
  top: -14px;
  left: 2px;
  width: 28px;
  height: 28px;
  background: #9bc2df;
  transform: rotate(45deg);
  content: "";
}

.site-footer__cat {
  position: absolute;
  right: 122px;
  bottom: 26px;
  width: 96px;
  height: auto;
}

.site-footer__paws {
  position: absolute;
  right: 42px;
  bottom: 34px;
  color: #8bbfe2;
  font-weight: 800;
}

.site-footer__nav {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 46px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  font-weight: 700;
}

.site-footer__nav a + a {
  position: relative;
}

.site-footer__nav a + a::before {
  position: absolute;
  top: 50%;
  left: -24px;
  width: 1px;
  height: 14px;
  background: #9bbbd2;
  transform: translateY(-50%);
  content: "";
}

.site-footer__copy {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.8rem;
}
