

/* Start:/local/templates/clubusfest/styles.css?179122364551867*/
:root {
  --background: 170 44% 8%;
  --foreground: 153 53% 97%;
  --card: 165 41% 13%;
  --muted: 160 22% 72%;
  --primary: 169 80% 36%;
  --primary-fg: 167 78% 7%;
  --border: 160 24% 24%;
  --deep: 165 41% 13%;
  --forest: 175 52% 5%;
  --heart: 352 70% 62%;
  --gold: 42 100% 70%;
  --card-line: 153 53% 97%;
  --radius: 0.9rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Golos Text", sans-serif;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  overflow-x: hidden;
}
h1, h2, h3, .font-display { font-family: "PT Sans", sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.scene-gradient {
  background:
    radial-gradient(120% 90% at 20% 0%, hsl(var(--deep) / 0.85) 0%, transparent 60%),
    linear-gradient(180deg, hsl(var(--deep)) 0%, hsl(var(--background)) 45%, hsl(var(--forest)) 100%);
  min-height: 100vh;
}
.hero-veil {
  background: linear-gradient(90deg, hsl(var(--forest)/0.94) 0%, hsl(var(--forest)/0.76) 42%, hsl(var(--forest)/0.15) 78%);
}
.card-line { border: 1px solid hsl(var(--card-line) / 0.32); }
.muted { color: hsl(var(--muted)); }
.text-gold { color: hsl(var(--gold)); }
.text-heart { color: hsl(var(--heart)); }
.wrap { width: min(1400px, calc(100% - 2.5rem)); margin-inline: auto; }
.section { padding: 3.5rem 0; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  text-transform: uppercase; letter-spacing: .18em; font-size: .78em; color: hsl(var(--muted));
  margin-bottom: .75rem;
}
.section-eyebrow::before { content: ""; width: 34px; height: 1px; background: hsl(var(--card-line)/.35); }
.section h2 { margin: 0 0 .75rem; font-size: clamp(1.6rem, 3vw, 2.2rem); text-transform: uppercase; }
.section-lead { max-width: 640px; color: hsl(var(--muted)); line-height: 1.5; margin: 0 0 1.75rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent !important;
  background-color: transparent !important;
  border: 0;
  box-shadow: none;
  transition: background-color .3s ease, box-shadow .3s ease;
  isolation: isolate;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  /* полупрозрачное стекло — сквозь шапку виден лендинг */
  background: hsl(var(--forest) / 0.55);
  background: hsla(175, 52%, 5%, 0.55);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  box-shadow:
    0 8px 24px -8px rgb(0 0 0 / 0.35),
    inset 0 -1px 0 rgb(255 255 255 / 0.04);
  opacity: 0;
  transition: opacity .3s ease;
}
.site-header.is-solid::before {
  opacity: 1;
}
.site-header.is-solid {
  background-color: hsla(175, 52%, 5%, 0.45) !important;
  box-shadow: 0 8px 24px -8px rgb(0 0 0 / 0.35);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header.is-solid {
    background-color: transparent !important;
  }
}
.site-header > * {
  position: relative;
  z-index: 1;
}
.site-header .wrap {
  width: min(1400px, calc(100% - 2.5rem));
}
@media (min-width: 768px) {
  .site-header .wrap {
    width: min(1400px, calc(100% - 5rem));
  }
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
  min-height: 0;
}
@media (min-width: 1024px) {
  .header-inner { gap: 2rem; }
}
.brand { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.brand img { border-radius: 999px; object-fit: cover; }
.brand-text b {
  display: block;
  text-transform: uppercase;
  line-height: .95;
  font-size: 1.22em;
  font-weight: 700;
  letter-spacing: .02em;
}
.brand-text small {
  display: block;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: hsl(var(--muted));
  font-size: .76em;
  font-weight: 400;
}
.nav-desktop {
  display: none;
  gap: 1.25rem;
  margin-left: auto;
  align-items: center;
}
.nav-desktop a {
  font-size: .875rem;
  color: hsl(var(--muted));
  transition: color .2s ease;
  white-space: nowrap;
}
.nav-desktop a:hover { color: hsl(var(--foreground)); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: .6rem; }
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid hsl(var(--card-line) / .32);
  background-color: hsl(var(--forest) / 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-height: min(70vh, 520px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
/* HTML hidden + класс перекрывали весь экран на мобиле — явно гасим */
.nav-mobile[hidden],
.nav-mobile.hidden {
  display: none !important;
}
.nav-mobile:not([hidden]) {
  display: flex;
}
.nav-mobile a {
  color: hsl(var(--foreground));
  font-family: "PT Sans", sans-serif;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.nav-mobile a:hover { color: hsl(var(--primary)); }
.nav-burger {
  margin-left: auto;
  background: transparent;
  border: 1px solid hsl(var(--card-line) / .32);
  color: inherit;
  border-radius: .5rem;
  padding: .55rem .65rem;
  cursor: pointer;
  flex-shrink: 0;
}
@media (max-width: 1279px) {
  .header-inner {
    gap: .75rem;
    padding: .65rem 0;
    flex-wrap: nowrap;
  }
  .brand-text b { font-size: 1rem; }
  .brand-text small { font-size: .65em; letter-spacing: .22em; }
  .brand img { width: 40px; height: 40px; }
  .header-tagline { display: none !important; }
  .header-cta { display: none !important; }
  .nav-desktop { display: none !important; }
  .site-header .wrap {
    width: min(1400px, calc(100% - 1.25rem));
  }
}
@media (min-width: 1024px) {
  .header-tagline { display: block; }
}
@media (min-width: 1280px) {
  .nav-desktop { display: flex; }
  .header-cta { display: flex; }
  .nav-burger, .nav-mobile { display: none !important; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: .65rem; cursor: pointer; padding: .85rem 1.4rem;
  font-family: "PT Sans", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.btn-primary { background: hsl(var(--primary)); color: hsl(var(--primary-fg)); }
.btn-primary:hover { transform: scale(1.03); }
.btn-ghost { background: transparent; color: hsl(var(--muted)); text-decoration: underline; text-underline-offset: 4px; padding: 0; text-transform: none; font-weight: 500; letter-spacing: 0; font-family: inherit; }
.btn-vote {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  flex-shrink: 0;
  border: 1px solid hsl(var(--card-line)/.32);
  background: transparent;
  color: inherit;
  border-radius: 999px;
  padding: .35rem .7rem;
  cursor: pointer;
  white-space: nowrap;
  font-size: .82em;
  font-variant-numeric: tabular-nums;
  transition: border-color .2s ease, background .2s ease;
}
.btn-vote-heart { color: hsl(var(--heart)); line-height: 1; font-size: 1.1em; }
.btn-vote:hover { border-color: hsl(var(--heart)); }
.btn-vote.is-voted {
  border-color: hsl(var(--heart));
  background: hsl(var(--heart)/.12);
}
.btn-vote.is-voted .btn-vote-heart { transform: scale(1.05); }

.hero { padding: 1.25rem 0 2rem; position: relative; }
.hero-card { position: relative; height: 460px; border-radius: 25px; overflow: hidden; background: hsl(var(--forest)); }
@media (min-width: 768px) { .hero-card { height: 404px; } }
.hero-card img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.hero-copy { position: absolute; left: 1.5rem; top: 2rem; z-index: 2; max-width: 620px; padding-right: 1rem; }
@media (min-width: 768px) { .hero-copy { left: 2.75rem; top: 3rem; } }
.hero-copy h1 { margin: 0; font-size: clamp(2rem, 5vw, 2.6rem); text-transform: uppercase; line-height: 1.05; }
.hero-copy p { max-width: 430px; color: hsl(var(--muted)); line-height: 1.4; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 1.25rem; }

.leaders-head { display: flex; flex-wrap: wrap; gap: .8rem; align-items: baseline; margin: 1.75rem 0 .75rem; }
.leaders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (min-width: 1024px) { .leaders-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }
/* Как раньше: фото отдельно, окантовка у .leader-meta.card-line; рамка фото 4:3 как у .dog-card-photo */
.leader-card { cursor: pointer; }
.leader-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: hsl(var(--deep));
}
.leader-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.leader-meta {
  margin-top: .6rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  border-radius: 10px;
  padding: .65rem .75rem .75rem;
}
@media (min-width: 768px) {
  .leader-meta { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

.leaders-slider {
  display: grid;
  overflow: hidden;
  border-radius: 1.5rem;
  background: hsl(var(--card)/.5);
}
.leaders-slide {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  /* фиксируем габарит карточки — при смене лидера форма не прыгает */
  min-height: 520px;
}
.leaders-slide[hidden] { display: none !important; }
@media (min-width: 768px) {
  .leaders-slide {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 420px;
  }
}
.leaders-slide-photo {
  position: relative;
  /* рамка всегда одна и та же; картинка только заполняет её */
  aspect-ratio: 4 / 3;
  width: 100%;
  min-height: 220px;
  max-height: 280px;
  overflow: hidden;
  background: hsl(var(--deep));
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .leaders-slide-photo {
    aspect-ratio: auto;
    height: 100%;
    min-height: 420px;
    max-height: none;
  }
}
.leaders-slide-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  display: block;
  animation: leaders-fade .35s ease;
}
@keyframes leaders-fade {
  from { opacity: .35; }
  to { opacity: 1; }
}
.leaders-place {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 1;
  border-radius: 999px;
  background: hsl(var(--gold));
  color: hsl(var(--forest));
  padding: .4rem 1rem;
  font-family: "PT Sans", sans-serif;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.leaders-slide-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  min-width: 0;
}
@media (min-width: 768px) {
  .leaders-slide-body { padding: 2.5rem; }
}
.leaders-slide-body h3 {
  margin: 0;
  font-family: "PT Sans", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.leaders-meta { margin: 0; }
.leaders-story {
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}
.leaders-slide-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-top: .5rem;
}
.leaders-nav {
  margin-left: auto;
  display: flex;
  gap: .5rem;
}
.leaders-nav-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid hsl(var(--card-line)/.32);
  background: transparent;
  color: inherit;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color .2s ease;
}
.leaders-nav-btn:hover { border-color: hsl(var(--primary)); }
.leaders-dots {
  display: flex;
  gap: .4rem;
  padding-top: .35rem;
}
.leaders-dot {
  flex: 1;
  height: .35rem;
  border: 0;
  border-radius: 999px;
  background: hsl(var(--border));
  cursor: pointer;
  padding: 0;
}
.leaders-dot.is-active { background: hsl(var(--primary)); }

.facts { display: grid; gap: .75rem; grid-template-columns: 1fr 1fr; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { border-radius: 1rem; padding: 1rem; background: hsl(var(--card)/.4); }
.fact b { display: block; font-size: 1.1rem; margin-bottom: .25rem; }
.goals { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .goals { grid-template-columns: 1fr 1fr; } }
.goal {
  display: flex;
  gap: 1rem;
  border-radius: 1rem;
  padding: 1.5rem;
  background: hsl(343 70% 22% / .92);
  transition: transform .25s ease;
}
.goal:hover { transform: translateY(-4px); }
.goal-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: .75rem;
  display: grid;
  place-items: center;
  background: hsl(var(--primary) / .15);
  color: hsl(var(--primary));
}
.goal h3 {
  margin: 0;
  font-family: "PT Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.goal .muted { margin: .5rem 0 0; font-size: .9rem; line-height: 1.5; }

.catalog-filters {
  display: grid;
  gap: .75rem;
  margin-bottom: 2rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid hsl(var(--card-line)/.32);
  background: hsl(var(--card)/.5);
}
@media (min-width: 768px) {
  .catalog-filters {
    grid-template-columns: 1.4fr auto auto auto auto;
    align-items: stretch;
  }
}
.catalog-search { position: relative; }
.catalog-search-icon {
  position: absolute;
  left: .85rem;
  top: 50%;
  transform: translateY(-50%);
  color: hsl(var(--muted));
  display: grid;
  place-items: center;
  pointer-events: none;
}
.catalog-search .field { padding-left: 2.5rem; }
.sex-toggle {
  display: flex;
  border: 1px solid hsl(var(--card-line)/.32);
  border-radius: .65rem;
  padding: .2rem;
  background: hsl(var(--background)/.35);
}
.sex-btn {
  flex: 1;
  border: 0;
  background: transparent;
  color: hsl(var(--muted));
  border-radius: .45rem;
  padding: .45rem .85rem;
  font-size: .9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.sex-btn.is-active {
  background: hsl(var(--primary));
  color: hsl(var(--primary-fg));
}
.filter-combo { position: relative; min-width: 0; }
.filter-combo-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  color: inherit;
  border-radius: .65rem;
  padding: .7rem .85rem;
  font-size: .9rem;
  cursor: pointer;
  text-align: left;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.filter-combo.is-open .filter-combo-btn,
.filter-combo-btn:hover {
  border-color: hsl(var(--primary) / .55);
}
.filter-combo.is-open .filter-combo-btn {
  box-shadow: 0 0 0 3px hsl(var(--primary) / .16);
}
.filter-combo-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filter-combo-chevron {
  flex-shrink: 0;
  color: hsl(var(--muted));
  transition: transform .22s ease;
}
.filter-combo.is-open .filter-combo-chevron { transform: rotate(180deg); }
.filter-combo-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + .35rem);
  z-index: 30;
  min-width: 220px;
  overflow: hidden;
  border-radius: .75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  box-shadow: 0 18px 42px rgba(0, 0, 0, .42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(.98);
  transform-origin: top center;
  transition: opacity .2s ease, transform .22s ease, visibility .2s ease;
}
.filter-combo-panel[hidden] { display: none; }
.filter-combo-panel.is-open {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.filter-combo-search {
  border: 0 !important;
  border-bottom: 1px solid hsl(var(--border)) !important;
  border-radius: 0 !important;
  background: hsl(var(--background)) !important;
}
.filter-combo-search:focus {
  outline: none;
  box-shadow: inset 0 -2px 0 hsl(var(--primary) / .55);
}
.filter-combo-list {
  list-style: none;
  margin: 0;
  padding: .35rem 0;
  max-height: 15rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: hsl(var(--primary) / .55) hsl(var(--background));
}
.filter-combo-list::-webkit-scrollbar {
  width: 7px;
}
.filter-combo-list::-webkit-scrollbar-track {
  background: hsl(var(--background));
  border-radius: 999px;
  margin: .35rem 0;
}
.filter-combo-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, hsl(var(--primary) / .7), hsl(var(--primary) / .4));
  border-radius: 999px;
  border: 2px solid hsl(var(--background));
}
.filter-combo-list::-webkit-scrollbar-thumb:hover {
  background: hsl(var(--primary));
}
.filter-combo-list button {
  width: 100%;
  border: 0;
  background: transparent;
  color: hsl(var(--muted));
  text-align: left;
  padding: .6rem .9rem;
  font-size: .9rem;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.filter-combo-list button:hover {
  background: hsl(var(--primary) / .15);
  color: hsl(var(--foreground));
}
.filter-combo-list button.is-active {
  color: hsl(var(--primary));
  background: hsl(var(--primary) / .1);
  font-weight: 600;
}
.filter-combo-empty {
  margin: 0;
  padding: .75rem .9rem 1rem;
  font-size: .9rem;
  color: hsl(var(--muted));
}
.filter-combo[data-combo="sort"] { min-width: 10rem; }
.catalog-empty { text-align: center; padding: 2rem 1rem; border: 1px solid hsl(var(--card-line)/.32); border-radius: 1rem; margin-bottom: 1rem; }
.field {
  width: 100%; border-radius: .65rem; border: 1px solid hsl(var(--border));
  background: hsl(var(--background)); color: inherit; padding: .7rem .85rem;
  font: inherit;
}
.section-deep { background: hsl(var(--deep) / .35); }
.dogs-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .dogs-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .dogs-grid { grid-template-columns: repeat(3, 1fr); } }
.dog-card { border-radius: 1rem; overflow: hidden; background: hsl(var(--card)/.45); cursor: pointer; transition: transform .25s; }
.dog-card:hover { transform: translateY(-3px); }
.dog-card-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: hsl(var(--deep));
}
.dog-card-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dog-card-body { padding: 1rem; }
.dog-card-body h3 { margin: 0 0 .35rem; }
.dog-card-foot { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-top: 1rem; }
.dog-card-meta { margin: .35rem 0 0; font-size: .85em; line-height: 1.4; }
.dog-more {
  border: 0;
  background: transparent;
  color: hsl(var(--muted));
  font-size: .9rem;
  cursor: pointer;
  padding: 0;
  text-underline-offset: 4px;
  transition: color .2s ease;
}
.dog-more:hover {
  color: hsl(var(--primary));
  text-decoration: underline;
}

.cards-2 { display: grid; gap: 1rem; }
@media (min-width: 768px) { .cards-2 { grid-template-columns: 1fr 1fr; } }
.cards-3 { display: grid; gap: 1rem; }
@media (min-width: 768px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.panel { border-radius: 1rem; padding: 1.25rem; background: hsl(var(--card)/.4); }
.panel h3 { margin-top: 0; text-transform: uppercase; }
.team-photo { width: 88px; height: 88px; border-radius: 999px; object-fit: cover; margin-bottom: .75rem; background: hsl(var(--deep)); }
.faq details { border-radius: 1rem; padding: 1rem 1.15rem; background: hsl(var(--card)/.4); margin-bottom: .65rem; }
.faq summary { cursor: pointer; font-family: "PT Sans", sans-serif; font-weight: 700; text-transform: uppercase; }
.faq p { color: hsl(var(--muted)); line-height: 1.55; }

.site-footer { border-top: 1px solid hsl(var(--card-line)/.2); padding: 2.5rem 0 2rem; margin-top: 2rem; }
.footer-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-grid a { color: hsl(var(--muted)); margin: .35rem 0; }
.footer-nav a,
.footer-contacts > ul a { display: block; }
.footer-grid h3 { margin: 0 0 .5rem; text-transform: uppercase; font-size: .95rem; }
.footer-copy { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid hsl(var(--card-line)/.15); font-size: .85rem; }

.snow { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 3; }
.snow i {
  position: absolute; top: -6%; width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.85); opacity: .45; animation: fall linear infinite;
}
@keyframes fall {
  0% { transform: translate3d(0, -40px, 0); }
  100% { transform: translate3d(24px, 860px, 0); }
}
.snow i:nth-child(1){left:6%;animation-duration:17s;animation-delay:-2s;width:5px;height:5px}
.snow i:nth-child(2){left:18%;animation-duration:22s;animation-delay:-9s}
.snow i:nth-child(3){left:31%;animation-duration:19s;animation-delay:-14s;width:4px;height:4px}
.snow i:nth-child(4){left:44%;animation-duration:25s;animation-delay:-5s}
.snow i:nth-child(5){left:57%;animation-duration:16s;animation-delay:-11s;width:5px;height:5px}
.snow i:nth-child(6){left:69%;animation-duration:23s;animation-delay:-3s;width:4px;height:4px}
.snow i:nth-child(7){left:81%;animation-duration:20s;animation-delay:-17s}
.snow i:nth-child(8){left:93%;animation-duration:18s;animation-delay:-7s;width:5px;height:5px}

.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 80;
  display: flex; align-items: flex-start; justify-content: center; padding: 2rem 1rem; overflow-y: auto;
}
.modal {
  width: min(640px, 100%); background: hsl(var(--card)); border: 1px solid hsl(var(--card-line)/.32);
  border-radius: 1rem; padding: 1.25rem; position: relative;
  color-scheme: dark;
}
.modal h2 { margin: 0 0 1rem; text-transform: uppercase; }
.modal-close { position: absolute; right: .75rem; top: .75rem; background: transparent; border: 0; color: inherit; font-size: 1.25rem; cursor: pointer; }
.form-grid { display: grid; gap: .75rem; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
.form-grid label { display: grid; gap: .35rem; font-size: .9rem; }
.modal-donate {
  width: min(420px, 100%);
}
.donate-form {
  display: grid;
  gap: 1rem;
}
.donate-form h2 {
  margin: 0 0 .25rem;
  font-size: 1.15rem;
}
.donate-field {
  display: grid;
  gap: .4rem;
}
.donate-field label {
  font-size: .9rem;
  color: hsl(var(--foreground));
}
.donate-field .field {
  margin: 0;
}
.donate-field .field.is-invalid {
  border-color: hsl(var(--heart));
}
.donate-consent {
  display: grid;
  gap: .35rem;
}
.consent-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9rem;
  color: hsl(var(--muted));
  line-height: 1.45;
  cursor: pointer;
}
.consent-row input {
  margin-top: .2rem;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  accent-color: hsl(var(--primary));
}
.consent-row a {
  color: hsl(var(--primary));
  text-decoration: underline;
  text-underline-offset: 4px;
}
.donate-submit {
  width: 100%;
  justify-content: center;
  padding: .85rem 1.25rem;
}
.donate-success {
  text-align: center;
  display: grid;
  gap: 1rem;
  padding: .5rem 0 0;
}
.donate-success-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: hsl(var(--primary)/.18);
  color: hsl(var(--primary));
  font-size: 1.6rem;
  font-weight: 700;
}
.donate-success .btn { width: 100%; justify-content: center; }
.form-error {
  color: hsl(var(--heart));
  font-size: .75rem;
  margin: 0;
}
.form-error-submit {
  margin: .35rem 0 0;
  text-align: center;
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.35;
}
.hidden { display: none !important; }

.modal-reg { width: min(720px, 100%); }
.reg-form { display: grid; gap: 1.25rem; }
.reg-lead { margin: -.35rem 0 0; font-size: .9rem; }
.reg-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: .75rem;
}
.reg-fieldset legend {
  margin: 0 0 .15rem;
  font-family: "PT Sans", sans-serif;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: hsl(var(--gold));
}
.reg-grid {
  display: grid;
  gap: .75rem;
}
@media (min-width: 640px) {
  .reg-grid { grid-template-columns: 1fr 1fr; }
  .reg-span-2 { grid-column: 1 / -1; }
}
.reg-field { display: grid; gap: .4rem; min-width: 0; }
.reg-field label,
.reg-label {
  font-size: .9rem;
  color: hsl(var(--foreground));
}
.reg-date {
  position: relative;
  color-scheme: dark;
}
.reg-date .field {
  min-height: 2.85rem;
  padding-right: 2.75rem;
  color: hsl(var(--foreground));
  color-scheme: dark;
}
.reg-date .field:not(:valid),
.reg-date .field:invalid {
  color: hsl(var(--muted));
}
.reg-date .field:focus {
  outline: none;
  border-color: hsl(var(--primary) / .65);
  box-shadow: 0 0 0 3px hsl(var(--primary) / .16);
}
/* Иконка календаря всегда светлая на тёмном фоне */
.reg-date .field::-webkit-calendar-picker-indicator {
  position: absolute;
  right: .7rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.2rem;
  height: 1.2rem;
  padding: 0;
  margin: 0;
  cursor: pointer;
  opacity: 1;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.15rem 1.15rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23e8f7f1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect width='18' height='18' x='3' y='4' rx='2'/><path d='M16 2v4M8 2v4M3 10h18'/></svg>");
  filter: none;
  color: transparent;
}
.reg-date .field::-webkit-calendar-picker-indicator:hover {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2316a085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect width='18' height='18' x='3' y='4' rx='2'/><path d='M16 2v4M8 2v4M3 10h18'/></svg>");
}
.reg-date .field::-webkit-datetime-edit,
.reg-date .field::-webkit-datetime-edit-fields-wrapper {
  color: hsl(var(--foreground));
  padding: 0;
}
.reg-date .field::-webkit-datetime-edit-text {
  color: hsl(var(--muted));
  padding: 0 .15rem;
}
.reg-date .field::-webkit-datetime-edit-month-field,
.reg-date .field::-webkit-datetime-edit-day-field,
.reg-date .field::-webkit-datetime-edit-year-field {
  color: hsl(var(--foreground));
  padding: 0 .1rem;
}
.reg-date .field::-webkit-datetime-edit-month-field:focus,
.reg-date .field::-webkit-datetime-edit-day-field:focus,
.reg-date .field::-webkit-datetime-edit-year-field:focus {
  background: hsl(var(--primary) / .22);
  color: hsl(var(--foreground));
  border-radius: .25rem;
  outline: none;
}
.reg-breed { position: relative; }
.reg-breed-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + .25rem);
  z-index: 20;
  max-height: 13rem;
  overflow-y: auto;
  margin: 0;
  padding: .25rem 0;
  list-style: none;
  border-radius: .65rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  box-shadow: 0 16px 36px rgba(0,0,0,.35);
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: hsl(var(--primary)/.55) hsl(var(--background));
}
.reg-breed-list button {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  padding: .55rem .85rem;
  font-size: .9rem;
  cursor: pointer;
}
.reg-breed-list button:hover { background: hsl(var(--primary)/.15); }
.reg-breed-list li.muted { padding: .55rem .85rem; font-size: .9rem; }
.reg-sex { display: flex; gap: .5rem; }
.reg-sex-btn {
  flex: 1;
  border: 1px solid hsl(var(--card-line)/.32);
  background: transparent;
  color: hsl(var(--muted));
  border-radius: .65rem;
  padding: .65rem .75rem;
  font-size: .9rem;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.reg-sex-btn.is-active {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary));
  color: hsl(var(--primary-fg));
}
.reg-media {
  border-radius: .9rem;
  padding: 1rem;
  display: grid;
  gap: .75rem;
}
.reg-media-head {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: center;
  font-size: .9rem;
}
.reg-media-head p { margin: 0; }
.reg-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  text-align: center;
  padding: 1.35rem 1rem;
  border-radius: .75rem;
  border: 2px dashed hsl(var(--card-line)/.32);
  color: hsl(var(--muted));
  transition: border-color .2s ease, background .2s ease;
}
.reg-dropzone.is-drag {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary)/.08);
}
.reg-dropzone p { margin: 0; font-size: .9rem; }
.reg-hint { margin: 0; font-size: .75rem; }
.reg-link-btn {
  border: 0;
  background: transparent;
  color: hsl(var(--primary));
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  padding: 0;
}
.reg-photos {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.reg-photo {
  position: relative;
  width: 5rem;
  height: 5rem;
  border-radius: .65rem;
  overflow: hidden;
  border: 1px solid hsl(var(--card-line)/.32);
  background: hsl(var(--deep));
}
.reg-photo img { width: 100%; height: 100%; object-fit: cover; }
.reg-photo-del {
  position: absolute;
  top: .2rem;
  right: .2rem;
  width: 1.2rem;
  height: 1.2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,.6);
  color: #fff;
  cursor: pointer;
  line-height: 1;
  font-size: .85rem;
}
.reg-photo-move {
  position: absolute;
  left: .2rem;
  bottom: .2rem;
  display: flex;
  gap: .15rem;
}
.reg-photo-move button {
  border: 0;
  border-radius: .25rem;
  background: rgba(0,0,0,.6);
  color: #fff;
  width: 1.1rem;
  height: 1.1rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}
.reg-photo-move button:disabled { opacity: .35; cursor: default; }
.reg-video-row {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
@media (min-width: 640px) {
  .reg-video-row { flex-direction: row; align-items: center; }
}
.reg-video-file {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  white-space: nowrap;
  border: 1px solid hsl(var(--card-line)/.32);
  border-radius: .65rem;
  padding: .65rem .9rem;
  font-size: .9rem;
  cursor: pointer;
  transition: border-color .15s ease;
}
.reg-video-file:hover { border-color: hsl(var(--primary)); }
.reg-video-preview {
  display: flex;
  align-items: center;
  gap: .75rem;
  border: 1px solid hsl(var(--card-line)/.32);
  border-radius: .65rem;
  padding: .5rem;
}
.reg-video-preview video {
  width: 2.5rem;
  height: 4rem;
  object-fit: cover;
  border-radius: .35rem;
  background: #000;
}
.reg-video-preview span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .9rem;
}
.reg-warn {
  margin: 0;
  color: hsl(var(--gold));
  font-size: .75rem;
}
.reg-consent { display: grid; gap: .35rem; }
.reg-submit { width: 100%; justify-content: center; }
.reg-footnote { margin: 0; text-align: center; font-size: .75rem; }
.reg-success {
  text-align: center;
  display: grid;
  gap: 1rem;
  padding: .5rem 0 0;
}
.reg-success-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: hsl(var(--primary)/.18);
  color: hsl(var(--primary));
  font-size: 1.6rem;
  font-weight: 700;
}
.reg-success .btn { width: 100%; justify-content: center; }
.reg-uploading { margin: 0; font-size: .75rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* --- v2 layout fixes --- */
.brand-mark { display:flex;height:44px;width:44px;overflow:hidden;border-radius:999px;background:hsl(var(--background));flex-shrink:0 }
.brand-mark img { width:100%;height:100%;object-fit:cover }
.header-tagline {
  display: none;
  max-width: 300px;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.3;
  margin: 0;
  color: hsl(var(--foreground));
}
.header-cta {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: .75rem;
  margin-left: 0;
}
.header-cta .btn-primary {
  border-radius: .5rem;
  padding: .75rem 1.5rem;
  font-size: .9em;
  letter-spacing: .04em;
  transition: transform .2s ease;
}
.header-cta .btn-primary:hover { transform: scale(1.05); }
.social-row { display:flex; gap:.625rem; list-style:none; margin:0; padding:0; flex-wrap:wrap }
.social-row a { display:flex; align-items:center; justify-content:center; min-width:28px; height:28px; width:28px; padding:0; border-radius:999px; border:1px solid hsl(var(--card-line)/.32); color:hsl(var(--muted)); font-size:.65rem; transition: border-color .2s ease, color .2s ease }
.social-row a:hover { border-color: hsl(var(--primary)); color: hsl(var(--primary)); }
@media (min-width: 1024px) {
  .header-tagline { display: block; max-width: 300px; }
}
@media (min-width: 1280px) {
  .header-tagline { max-width: 430px; }
  .nav-desktop { display: flex; margin-left: auto; gap: 1.25rem; }
  .header-cta { display: flex; }
  .nav-burger, .nav-mobile { display: none !important; }
}
.btn-outline { background:transparent; border:1px solid hsl(var(--card-line)/.32); color:inherit; border-radius:.65rem; padding:.85rem 1.4rem; font-family:"PT Sans",sans-serif; font-weight:700; text-transform:uppercase; letter-spacing:.04em; cursor:pointer }
.shelter-head { display:flex; gap:.75rem; align-items:center; margin-bottom:.75rem }
.shelter-logo { width:48px; height:48px; border-radius:.75rem; object-fit:cover; flex-shrink:0 }
.shelter-logo.placeholder, .team-photo.placeholder { display:flex; align-items:center; justify-content:center; border:1px dashed hsl(var(--card-line)/.4); background:hsl(var(--primary)/.12); color:hsl(var(--muted)); font-size:.55rem; text-align:center; padding:.25rem; line-height:1.15 }
.shelter-contacts {
  list-style: none;
  margin: .75rem 0 0;
  padding: 0;
  display: grid;
  gap: .35rem;
  font-size: .9rem;
}
.shelter-contacts a {
  color: hsl(var(--primary));
  text-decoration: underline;
  text-underline-offset: 2px;
}
.shelter-foot { display:flex; justify-content:space-between; align-items:center; gap:.75rem; margin-top:1rem }
.link-btn { background:none; border:0; color:hsl(var(--muted)); cursor:pointer; text-decoration:underline; text-underline-offset:3px; padding:0 }
.link-btn:hover { color:hsl(var(--primary)) }
.guardian-steps { list-style:none; margin:0; padding:0; display:grid; gap:1rem }
@media (min-width:768px) { .guardian-steps { grid-template-columns:1fr 1fr } }
@media (min-width:1100px) { .guardian-steps { grid-template-columns:repeat(4,1fr) } }
.step-num { display:block; font:700 2rem "PT Sans",sans-serif; color:hsl(var(--primary)/.3); margin-bottom:.35rem }
.donate-bar { display:flex; flex-direction:column; gap:1rem; border-radius:1rem; padding:1.25rem; background:hsl(var(--card)/.5); margin-top:1.75rem }
@media (min-width:900px) { .donate-bar { flex-direction:row; align-items:center } }
.amount-row { display:flex; flex-wrap:wrap; gap:.5rem }
.amount-btn { border:1px solid hsl(var(--card-line)/.32); background:transparent; color:hsl(var(--muted)); border-radius:.65rem; padding:.55rem .9rem; cursor:pointer }
.amount-btn.is-active { background:hsl(var(--primary)); color:hsl(var(--primary-fg)); border-color:hsl(var(--primary)) }
.prizes-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .prizes-grid { grid-template-columns: 1fr 1fr; }
}
.prizes-grid-extra { margin-top: 1.5rem; }
.prize-card {
  border-radius: 1rem;
  border: 1px solid hsl(var(--gold) / .4);
  background: hsl(var(--gold) / .08);
  padding: 1.75rem;
  transition: transform .25s ease;
}
.prize-card:hover { transform: translateY(-4px); }
.prize-icon {
  display: inline-flex;
  color: hsl(var(--gold));
  margin-bottom: .25rem;
}
.prize-card h3 {
  margin: 1rem 0 0;
  font-family: "PT Sans", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.prize-sub { margin: .35rem 0 0; }
.prize-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: .5rem;
}
.prize-list li {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  color: hsl(var(--muted));
  font-size: .9rem;
  line-height: 1.5;
}
.prize-check {
  flex-shrink: 0;
  margin-top: .15rem;
  color: hsl(var(--primary));
  display: inline-flex;
}
.prize-side {
  border-radius: 1rem;
  border: 1px solid hsl(var(--card-line) / .32);
  background: hsl(var(--card) / .5);
  padding: 1.75rem;
  scroll-margin-top: 6rem;
}
.prize-side-icon {
  display: inline-flex;
  margin-bottom: .15rem;
}
.prize-side h3 {
  margin: .75rem 0 0;
  font-family: "PT Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.prize-side .muted {
  margin: .5rem 0 0;
  font-size: .9rem;
  line-height: 1.5;
}
.prize-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}
.prize-chip {
  border-radius: 999px;
  border: 1px solid hsl(var(--card-line) / .32);
  padding: .25rem .75rem;
  font-size: .75rem;
  color: hsl(var(--muted));
}
.prize-diploma {
  margin: 1rem 0 0;
  font-size: .9rem;
}
.text-primary { color: hsl(var(--primary)); }
.vol-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .vol-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
.vol-help {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .vol-help { grid-template-columns: 1fr 1fr; }
}
.vol-help-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  border-radius: 1rem;
  border: 1px solid hsl(var(--card-line) / .32);
  background: hsl(var(--card) / .4);
  padding: 1.15rem 1.25rem;
  font-size: .9rem;
}
.vol-help-icon {
  flex-shrink: 0;
  color: hsl(var(--primary));
  display: inline-flex;
}
.vol-form {
  display: grid;
  gap: 1rem;
  border-radius: 1rem;
  border: 1px solid hsl(var(--card-line) / .32);
  background: hsl(var(--card) / .5);
  padding: 1.5rem;
}
.vol-form-row {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .vol-form-row { grid-template-columns: 1fr 1fr; }
}
.vol-form .field.is-invalid {
  border-color: hsl(var(--heart));
}
.team-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}
.team-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border-radius: 1rem;
  border: 1px solid hsl(var(--card-line) / .32);
  background: hsl(var(--card) / .4);
  padding: 1.25rem;
  transition: transform .25s ease, border-color .2s ease;
}
.team-card:hover {
  transform: translateY(-4px);
  border-color: hsl(var(--primary));
}
.team-photo {
  width: 5rem;
  height: 5rem;
  border-radius: 1rem;
  object-fit: cover;
  flex-shrink: 0;
  background: hsl(var(--deep));
  margin: 0;
}
.team-photo.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: hsl(var(--primary) / .15);
  color: hsl(var(--primary));
  font-family: "PT Sans", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 0;
}
.team-card-body h3 {
  margin: 0;
  font-family: "PT Sans", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.team-role {
  margin: .2rem 0 0;
  font-size: .9rem;
}
.team-about {
  margin: .5rem 0 0;
  font-size: .9rem;
  line-height: 1.45;
}
.team-vk {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .5rem;
  color: hsl(var(--primary));
  font-size: .9rem;
  text-underline-offset: 4px;
}
.team-vk:hover { text-decoration: underline; }
.partners-title {
  margin: 0 0 1.25rem;
  scroll-margin-top: 6rem;
  font-family: "PT Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.partners-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .partners-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
}
.partner-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  border-radius: 1rem;
  border: 1px solid hsl(var(--card-line) / .32);
  background: hsl(var(--card) / .4);
  padding: 1.25rem 1.35rem;
  text-decoration: none;
  color: inherit;
  cursor: default;
  transition: border-color .2s ease;
}
a.partner-card { cursor: pointer; }
.partner-card:hover { border-color: hsl(var(--primary)); }
.partner-logo {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  border-radius: .75rem;
  background: hsl(var(--background));
  padding: 4px;
  flex-shrink: 0;
}
.partner-logo.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed hsl(var(--card-line) / .4);
  color: hsl(var(--muted));
  font-size: .5rem;
  text-align: center;
  line-height: 1.15;
  padding: .25rem;
}
.partner-name {
  margin: 0;
  font-family: "PT Sans", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: .95rem;
}
.partner-note {
  margin: .25rem 0 0;
  font-size: .9rem;
}
.contact-card { display:block }
.contact-card:hover { border-color:hsl(var(--primary)) }
.contacts-bar { display:flex; flex-wrap:wrap; gap:1rem; align-items:center; justify-content:space-between; border-radius:1rem; padding:1.25rem; margin-top:1.25rem; background:hsl(var(--card)/.4) }
.final-cta { padding:0 0 3rem }
.final-card { position:relative; overflow:hidden; border-radius:25px; background:hsl(var(--forest)); min-height:320px }
.final-card > img { width:100%; height:320px; object-fit:cover; object-position:60% 40% }
.final-copy { position:absolute; inset:0; z-index:2; display:flex; flex-direction:column; justify-content:center; gap:1rem; padding:1.5rem 2rem; max-width:640px }
.final-copy h2 { margin:0; text-transform:uppercase; font-size:clamp(1.4rem,3vw,2rem); line-height:1.1 }
.modal-wide { width:min(720px,100%) }
.modal-dog { width: min(720px, 100%); }
.modal-hero-img { width:100%; max-height:280px; object-fit:cover; border-radius:.75rem; margin-bottom:1rem }

.dog-modal-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 280px;
  padding: 0;
  border: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: hsl(var(--deep));
  cursor: zoom-in;
  margin-bottom: .75rem;
}
@media (min-width: 640px) {
  .dog-modal-hero { height: 360px; }
}
.dog-modal-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.dog-modal-thumbs {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding-bottom: .25rem;
  margin-bottom: 1rem;
}
.dog-thumb {
  flex-shrink: 0;
  width: 5rem;
  height: 3.5rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: .5rem;
  overflow: hidden;
  opacity: .6;
  cursor: pointer;
  background: transparent;
}
.dog-thumb.is-active { border-color: hsl(var(--primary)); opacity: 1; }
.dog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dog-modal-dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin: 0 0 1rem;
}
@media (min-width: 640px) {
  .dog-modal-dl { grid-template-columns: 1fr 1fr 1fr; }
}
.dog-modal-dl > div { border-radius: .75rem; padding: .55rem .75rem; }
.dog-modal-dl dt {
  margin: 0;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: hsl(var(--muted));
}
.dog-modal-dl dd { margin: .25rem 0 0; font-size: .95rem; }
.dog-modal-text { display: grid; gap: .75rem; margin-bottom: 1.25rem; }
.dog-modal-text p { margin: 0; color: hsl(var(--muted)); line-height: 1.5; font-size: .95rem; }
.dog-modal-text strong { color: hsl(var(--foreground)); }
.dog-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  border-top: 1px solid hsl(var(--card-line)/.32);
  padding-top: 1rem;
}
.btn-vote-lg { padding: .65rem 1rem; font-size: 1rem; }
.dog-modal-video {
  margin-bottom: 1rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid hsl(var(--card-line)/.32);
  text-align: center;
  background: #000;
}
.dog-modal-video video,
.dog-modal-video iframe {
  display: block;
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  aspect-ratio: 9/16;
  max-height: 420px;
  border: 0;
  background: #000;
}
.dog-modal-video a {
  display: block;
  padding: 1.25rem;
  color: hsl(var(--muted));
}

.dog-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.9);
  padding: 1rem;
}
.dog-lightbox[hidden],
.dog-lightbox.hidden { display: none !important; }
.dog-lightbox img {
  max-height: 88vh;
  max-width: 92vw;
  border-radius: .5rem;
  object-fit: contain;
}
.dog-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  border-radius: 999px;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}
.dog-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  border-radius: 999px;
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}
.dog-lightbox-nav.prev { left: .75rem; }
.dog-lightbox-nav.next { right: .75rem; }
.shelter-dl { display:grid; grid-template-columns:1fr 1fr; gap:.75rem; margin:1rem 0 }
.shelter-dl > div { border-radius:.75rem; padding:.65rem .75rem }
.shelter-dl dt { font-size:.75rem; text-transform:uppercase; color:hsl(var(--muted)) }
.shelter-dl dd { margin:.25rem 0 0 }
.needs-list { display:flex; flex-wrap:wrap; gap:.5rem; list-style:none; margin:0; padding:0 }
.needs-list li { border:1px solid hsl(var(--card-line)/.32); border-radius:999px; padding:.25rem .75rem; font-size:.8rem; color:hsl(var(--muted)) }
.check-row { display:flex !important; flex-direction:row !important; align-items:flex-start; gap:.5rem }

/* --- footer + social icons (match React) --- */
.site-footer {
  border-top: 1px solid hsl(var(--card-line)/.32);
  background: hsl(var(--forest));
  padding: 3rem 0 2rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}
.footer-lead { margin-top: 1rem; max-width: 24rem; font-size: .9rem; line-height: 1.5; }
.footer-nav h3,
.footer-contacts h3 {
  margin: 0 0 .75rem;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.footer-nav ul,
.footer-contacts > ul:not(.social-icons) {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .5rem;
}
.footer-nav a,
.footer-contacts a,
.footer-contacts li {
  color: hsl(var(--muted));
  font-size: .9rem;
}
.footer-nav a:hover,
.footer-contacts a:hover { color: hsl(var(--foreground)); }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--card-line)/.32);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: space-between;
  align-items: center;
  font-size: .75rem;
}
.footer-bottom a { color: hsl(var(--muted)); }
.footer-bottom a:hover { color: hsl(var(--foreground)); }
.social-icons {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  list-style: none !important;
  margin: 1rem 0 0;
  padding: 0 !important;
}
.header-cta .social-icons {
  margin: 0 !important;
  flex-wrap: nowrap;
  justify-content: flex-end;
  width: max-content;
  max-width: 100%;
}
.nav-mobile .social-icons {
  margin-top: 1.25rem !important;
  flex-wrap: wrap;
}
.footer-contacts .social-icons {
  margin-top: 1rem;
  flex-direction: row !important;
  flex-wrap: wrap;
}
.social-icons > li {
  display: inline-flex !important;
  flex: 0 0 auto;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.social-icons a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  margin: 0 !important;
  border-radius: 999px;
  border: 1px solid hsl(var(--card-line)/.32);
  color: hsl(var(--muted));
  transition: color .2s, border-color .2s;
}
.header-cta .social-icons a {
  width: 28px;
  height: 28px;
}
.social-icons a:hover {
  color: hsl(var(--primary));
  border-color: hsl(var(--primary));
}
.social-icons svg { display: block; }

/* --- side toast (как на React) --- */
.clubus-toast-host {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  width: min(360px, calc(100vw - 2rem));
  pointer-events: none;
}
.clubus-toast {
  pointer-events: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .75rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border-radius: .75rem;
  border: 1px solid hsl(var(--card-line)/.35);
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  opacity: 0;
  transform: translateX(18px);
  transition: opacity .2s ease, transform .2s ease;
}
.clubus-toast.is-in { opacity: 1; transform: none; }
.clubus-toast.is-out { opacity: 0; transform: translateX(14px); }
.clubus-toast-icon {
  width: 2rem; height: 2rem; border-radius: 999px;
  display:flex; align-items:center; justify-content:center;
  background: hsl(var(--primary)/.2); color: hsl(var(--primary));
  font-weight: 700;
}
.clubus-toast--warn .clubus-toast-icon { background: hsl(var(--gold)/.2); color: hsl(var(--gold)); }
.clubus-toast--err .clubus-toast-icon { background: hsl(var(--heart)/.2); color: hsl(var(--heart)); }
.clubus-toast-body strong {
  display:block;
  font-family: "PT Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: .9rem;
}
.clubus-toast-body p { margin: .35rem 0 0; color: hsl(var(--muted)); font-size: .9rem; line-height: 1.4; }
.clubus-toast-close {
  border: 0; background: transparent; color: hsl(var(--muted));
  font-size: 1.2rem; cursor: pointer; line-height: 1; padding: 0;
}

.scroll-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.4rem;
  z-index: 55;
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 999px;
  border: 1px solid hsl(var(--card-line) / .28);
  background: hsl(var(--primary));
  color: hsl(var(--primary-fg));
  box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, box-shadow .2s ease;
}
.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.scroll-top:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .42);
}
.scroll-top:focus-visible {
  outline: 2px solid hsl(var(--gold));
  outline-offset: 3px;
}
@media (max-width: 640px) {
  .scroll-top {
    right: 1rem;
    bottom: 1rem;
    width: 2.75rem;
    height: 2.75rem;
  }
}

/* End */
/* /local/templates/clubusfest/styles.css?179122364551867 */
