:root {
  --ink: #00887f;
  --muted: #00887f;
  --teal: #00a99d;
  --teal-dark: #00887f;
  --mint: #dff8f2;
  --coral: #00a99d;
  --yellow: #00a99d;
  --blue: #00a99d;
  --paper: #ffffff;
  --line: rgba(0, 169, 157, 0.18);
  --shadow: 0 28px 80px rgba(0, 136, 127, 0.2);
  font-family: Inter, Manrope, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(0, 169, 157, 0.2), transparent 34%),
    radial-gradient(circle at 86% 8%, rgba(0, 169, 157, 0.14), transparent 28%),
    linear-gradient(180deg, #f5fffb 0%, #ffffff 38%, #effbf8 100%);
  min-width: 320px;
  width: 100%;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.33;
  background-image:
    linear-gradient(rgba(0, 169, 157, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 169, 157, 0.035) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #ffffff, transparent 78%);
}

.cursor-light {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0, 169, 157, 0.18), transparent 68%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.2s ease;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 54px);
  backdrop-filter: blur(22px);
  background: rgba(251, 255, 253, 0.78);
  border-bottom: 1px solid rgba(0, 169, 157, 0.12);
}

.brand-group {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.party-brand {
  gap: 12px;
}

.party-logo-wrap {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(0, 169, 157, 0.14);
  box-shadow: 0 10px 28px rgba(0, 136, 127, 0.08);
}

.party-logo-wrap img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(38%) sepia(92%) saturate(1224%) hue-rotate(142deg) brightness(93%)
    contrast(101%);
}

.brand-divider {
  width: 1px;
  height: 34px;
  background: rgba(0, 169, 157, 0.24);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  box-shadow: inset -8px -10px 18px rgba(0, 136, 127, 0.18);
}

.nav {
  justify-self: center;
  display: flex;
  gap: clamp(12px, 2.4vw, 32px);
  color: var(--muted);
  font-weight: 700;
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  border-radius: 4px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.button.primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 16px 34px rgba(0, 136, 127, 0.22);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.button.dark {
  color: #fff;
  background: var(--teal);
}

.button:hover {
  transform: translateY(-2px);
}

main {
  isolation: isolate;
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(38px, 7vw, 96px) clamp(18px, 5vw, 72px) 72px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(0, 169, 157, 0.12);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 660px;
  margin-bottom: 20px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 span {
  display: block;
  color: var(--teal-dark);
}

h2 {
  max-width: 780px;
  margin: 0;
  color: var(--teal-dark);
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

h3 {
  font-size: 24px;
  line-height: 1.05;
}

.lead {
  max-width: 720px;
  color: var(--teal-dark);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.42;
}

.hero-actions {
  display: grid;
  gap: 16px;
  margin: 32px 0;
}

.hero-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-help-note {
  position: relative;
  max-width: 780px;
  padding: 20px 22px 20px 26px;
  overflow: hidden;
  color: var(--teal-dark);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(226, 249, 245, 0.76)),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 169, 157, 0.24);
  border-radius: 22px;
  box-shadow: 0 24px 52px rgba(0, 137, 128, 0.12);
}

.hero-help-note::before {
  content: "";
  position: absolute;
  inset: 14px auto 14px 0;
  width: 6px;
  border-radius: 999px;
  background: var(--teal);
}

.hero-help-note::after {
  content: "";
  position: absolute;
  right: -48px;
  top: -54px;
  width: 132px;
  height: 132px;
  border-radius: 999px;
  background: rgba(0, 169, 157, 0.1);
  pointer-events: none;
}

.hero-help-note strong {
  display: block;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.25;
  font-weight: 950;
}

.hero-help-note ul {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.hero-help-note li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: var(--teal);
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.32;
  font-weight: 800;
}

.hero-help-note li span {
  flex: 0 0 auto;
  transform: translateY(1px);
}

.petition-cta-hero,
.petition-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #ef6479;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(229, 57, 53, 0.24);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.petition-cta-hero:hover,
.petition-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(229, 57, 53, 0.32);
  background: #ef6479;
  color: #fff;
}

.section-help-action {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;

}

.section-help-action.centered {
  justify-content: center;
}

.section-help-action .button {
  min-width: 210px;
}

.results,
.quote-band,
.sakhalin,
.help,
.new-people-help,
.organizers,
.report,
.petition,
.report-problem {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.results.is-visible,
.quote-band.is-visible,
.sakhalin.is-visible,
.help.is-visible,
.new-people-help.is-visible,
.organizers.is-visible,
.report.is-visible,
.petition.is-visible,
.report-problem.is-visible {
  opacity: 1;
  transform: none;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  perspective: 1200px;
}

.hero-main-image {
  position: relative;
  z-index: 2;
  width: min(100%, 540px);
  display: block;
  margin-inline: auto;
  border-radius: 28px;
  transform: rotate(2deg);
  box-shadow: var(--shadow);
  animation: poster 8s ease-in-out infinite;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 42px 0 42px 48px;
  border-radius: 32px;
  background: rgba(0, 169, 157, 0.16);
  transform: rotate(-4deg);
}

.float {
  position: absolute;
  z-index: 3;
  filter: drop-shadow(0 18px 20px rgba(0, 136, 127, 0.28));
}

.heart {
  width: 76px;
  height: 76px;
  display: block;
  object-fit: contain;
  animation: bob 4.8s ease-in-out infinite;
}

.heart.two {
  bottom: 132px;
  left: 18px;
  width: 52px;
  height: 52px;
  animation-delay: -1.4s;
}

.heart.one {
  top: 96px;
  right: 72px;
}

.paw {
  right: 14px;
  bottom: 72px;
  width: 154px;
  height: 132px;
  display: block;
  object-fit: contain;
  animation: bob 5.6s ease-in-out infinite -0.8s;
}

section:not(.hero) {
  padding: 82px clamp(18px, 5vw, 72px);
}

.results {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 13% 18%, rgba(0, 169, 157, 0.11), transparent 28%),
    linear-gradient(180deg, #effbf8 0%, #f8fffc 100%);
}

.results::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 169, 157, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(0, 169, 157, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.55;
}

.results-head {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto 34px;
  text-align: center;
}

.results-head .section-kicker {
  margin-inline: auto;
}

.kind-title-wrap {
  position: relative;
  width: min(100%, 920px);
  margin: 12px auto 24px;
  padding: 12px 0;
}

.kind-title {
  position: relative;
  z-index: 2;
  color: var(--teal);
  font-size: clamp(56px, 9vw, 132px);
  font-weight: 950;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
  filter: drop-shadow(0 18px 30px rgba(0, 136, 127, 0.08));
}

.results-deco {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.soft-heart {
  width: 72px;
  height: 64px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(0, 136, 127, 0.18));
  animation: softFloat 5.8s ease-in-out infinite;
}

.heart-a {
  top: 10px;
  right: 4%;
  transform: rotate(8deg);
}

.heart-b {
  left: 3%;
  bottom: 2px;
  width: 46px;
  height: 42px;
  opacity: 0.82;
  transform: rotate(-10deg);
  animation-delay: -2s;
}

.mini-paw {
  right: 16%;
  bottom: -8px;
  width: 86px;
  height: 74px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(0, 136, 127, 0.16));
  animation: softFloat 6.5s ease-in-out infinite -1s;
}

.results-head h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.04;
}

.result-cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1280px;
  margin-inline: auto;
}

.result-cards article {
  min-height: 220px;
  display: grid;
  grid-template-rows: 1fr auto;
  align-content: center;
  padding: clamp(26px, 2.8vw, 36px);
  border: 1px solid rgba(0, 169, 157, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 54px rgba(0, 136, 127, 0.09);
}

.result-cards strong {
  display: block;
  color: var(--teal-dark);
  align-self: end;
  font-size: clamp(52px, 5.9vw, 82px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.result-cards span {
  display: block;
  min-height: 56px;
  margin-top: 18px;
  color: var(--teal-dark);
  font-size: clamp(18px, 1.35vw, 22px);
  font-weight: 850;
  line-height: 1.22;
}

.project-gallery {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 12%, rgba(0, 169, 157, 0.14), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #dff8f2 100%);
}

.project-gallery .section-kicker {
  margin-bottom: 16px;
}

.project-gallery-head {
  width: min(1180px, 100%);
  margin: 0 auto 28px;
}

/* .project-gallery-head h2 — наследует общие h2-стили */

@media (max-width: 760px) {
  .project-gallery-head h2 {
    font-size: clamp(28px, 8vw, 38px);
    line-height: 1.04;
  }
}

.project-gallery .section-help-action,
.new-people-help .section-help-action {
  margin-top: 22px;
  justify-content: center;
}

.project-gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 38vw);
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: clamp(18px, 5vw, 72px);
  padding: 4px 0 20px;
  -webkit-overflow-scrolling: touch;
}

.project-gallery-track::-webkit-scrollbar {
  height: 8px;
}

.project-gallery-track::-webkit-scrollbar-track {
  background: rgba(0, 169, 157, 0.1);
  border-radius: 999px;
}

.project-gallery-track::-webkit-scrollbar-thumb {
  background: var(--teal);
  border-radius: 999px;
}

.project-gallery-track figure {
  height: clamp(260px, 36vw, 460px);
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 22px 54px rgba(0, 136, 127, 0.12);
}

.project-gallery-track img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.quote-band {
  background: var(--teal);
  color: #fff;
}

.quote-band p {
  max-width: 1160px;
  margin: 0 auto;
  font-size: clamp(30px, 4.2vw, 62px);
  font-weight: 950;
  line-height: 1.05;
  text-align: center;
  text-wrap: balance;
}

.quote-band .section-help-action {
  margin-top: 32px;
}

.sakhalin {
  color: var(--teal-dark);
  background:
    radial-gradient(circle at 82% 10%, rgba(0, 169, 157, 0.12), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #dff8f2 100%);
}

.sakhalin .section-kicker,
.report .section-kicker {
  color: var(--teal-dark);
  background: rgba(0, 169, 157, 0.12);
}

.sakhalin .section-kicker {
  color: #fff;
  background: #ef6479;
}

/* Sakhalin hero: text 80% + small image 20% */
.sakhalin-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.sakhalin-hero .age-gate {
  position: sticky;
  top: 112px;
  margin-top: 0;
}

/* Заголовок секции — единый стиль с другими секциями (pets-preview-head h2) */
.sakhalin-copy h2 {
  /* остальное наследует от глобального h2 */
  margin-bottom: 12px;
}

.sakhalin-subtitle {
  margin: 0 0 18px;
  color: rgba(0, 136, 127, 0.78);
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.35;
  font-weight: 750;
}
.sakhalin-hero .sakhalin-media-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.sakhalin-hero .sakhalin-media-grid img,
.sakhalin-hero .sakhalin-media-grid video {
  height: 120px;
}
/* Sakhalin media grid: 2 rows */
.sakhalin-media-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.sakhalin-media-grid a {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(0, 169, 157, 0.16);
}
.sakhalin-media-grid a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.sakhalin-media-grid img,
.sakhalin-media-grid video {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.sakhalin-media-grid video {
  object-fit: contain;
  background: rgba(0, 169, 157, 0.08);
}

.sakhalin p,
.help p,
.report p,
.new-people-help p {
  color: inherit;
  opacity: 0.78;
  font-size: 19px;
  line-height: 1.55;
}

.sakhalin-help-note {
  margin-top: 22px;
  padding: 20px 22px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(0, 169, 157, 0.22);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(0, 136, 127, 0.08);
}

.sakhalin-help-note strong {
  display: block;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.2;
  font-weight: 950;
}

.sakhalin-help-note ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.sakhalin-help-note li {
  display: flex;
  gap: 9px;
  color: var(--teal);
  font-size: clamp(15px, 1.55vw, 19px);
  font-weight: 850;
  line-height: 1.32;
}

.sakhalin-help-note li span {
  flex: 0 0 auto;
}

.source-link {
  display: inline-flex;
  margin: 8px 0 24px;
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.media-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 78%);
  gap: 16px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  padding: 4px 4px 18px;
  -webkit-overflow-scrolling: touch;
}

.media-carousel::-webkit-scrollbar {
  height: 8px;
}

.media-carousel::-webkit-scrollbar-track {
  background: rgba(0, 169, 157, 0.1);
  border-radius: 999px;
}

.media-carousel::-webkit-scrollbar-thumb {
  background: var(--teal);
  border-radius: 999px;
}

.media-carousel figure {
  height: clamp(360px, 48vw, 560px);
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 169, 157, 0.16);
  scroll-snap-align: start;
}

.media-carousel img,
.media-carousel video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-carousel video {
  object-fit: contain;
  background: rgba(0, 169, 157, 0.1);
}

.role-cards,
.org-row,
.initiative-grid {
  display: grid;
  gap: 16px;
}

.role-cards article,
.org-row article,
.initiative-grid article {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.help {
  background:
    radial-gradient(circle at 8% 20%, rgba(0, 169, 157, 0.12), transparent 26%),
    linear-gradient(180deg, #fff 0%, var(--mint) 100%);
}

.help-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.2fr);
  gap: 36px;
}

.role-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.role-cards article {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.role-cards p {
  flex: 1;
  font-size: 16px;
}

.role-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-weight: 950;
}

.role-cards .accent {
  background: rgba(0, 169, 157, 0.14);
}

.strong-note {
  color: var(--teal-dark) !important;
  opacity: 1 !important;
  font-weight: 950;
}

.ticker {
  display: flex;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 18px 0;
  overflow: hidden;
  color: var(--teal-dark);
  background: #fff;
  border-block: 1px solid var(--line);
}

.ticker div {
  display: flex;
  gap: 24px;
  padding-right: 24px;
  animation: marquee 28s linear infinite;
}

.ticker span {
  font-size: clamp(30px, 4.4vw, 58px);
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.ticker span:nth-child(even) {
  color: var(--teal);
}

.ticker span:nth-child(3n) {
  color: #e9587a;
}

.ticker span:nth-child(4n) {
  color: #3862f4;
}

.urgent-ticker {
  color: #fff;
  background: #ef6479;
  border-block: 0;
}

.urgent-ticker div {
  animation-duration: 18s;
}

.urgent-ticker span,
.urgent-ticker span:nth-child(even),
.urgent-ticker span:nth-child(3n),
.urgent-ticker span:nth-child(4n) {
  color: #fff;
}

/* Guardian ticker (опекунство) — розовый */
.guardian-ticker {
  color: #fff;
  background: #ef6479;
  border-block: 0;
}

.guardian-ticker div {
  animation-duration: 22s;
}

.guardian-ticker span,
.guardian-ticker span:nth-child(even),
.guardian-ticker span:nth-child(3n),
.guardian-ticker span:nth-child(4n) {
  color: #fff;
}

.header-ticker {
  justify-self: stretch;
  width: 100%;
  min-width: 0;
  padding: 11px 0;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(229, 57, 53, 0.18);
}

.header-ticker div {
  gap: 18px;
  padding-right: 18px;
  animation-duration: 16s;
}

.header-ticker span {
  font-size: clamp(18px, 1.8vw, 30px);
  line-height: 1;
}

.new-people-help {
  background: linear-gradient(to top , #dff9f3, #fff);
  overflow: hidden;
}

.new-people-help h2 {
  max-width: 860px;
}

.initiative-grid {
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 32vw);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  padding: 4px 4px 18px;
  -webkit-overflow-scrolling: touch;
}

.initiative-grid::-webkit-scrollbar {
  height: 8px;
}

.initiative-grid::-webkit-scrollbar-track {
  background: rgba(0, 169, 157, 0.1);
  border-radius: 999px;
}

.initiative-grid::-webkit-scrollbar-thumb {
  background: var(--teal);
  border-radius: 999px;
}

.initiative-grid article {
  min-height: 230px;
  scroll-snap-align: start;
}

.initiative-photo {
  width: 100%;
  height: 260px;
  display: block;
  margin-bottom: 22px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
}

.initiative-grid article:nth-child(1),
.initiative-grid article:nth-child(4) {
  background: rgba(223, 248, 242, 0.72);
}

.initiative-grid article:nth-child(3),
.initiative-grid article:nth-child(6) {
  background: rgba(0, 169, 157, 0.1);
}

.organizers {
  background: linear-gradient(180deg, #fff 0%, #f5fffb 100%);
}

.organizers .section-kicker {
  max-width: 680px;
  white-space: normal;
}

.org-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.org-row article {
  min-height: 160px;
}

.org-row strong,
.org-row span {
  display: block;
}

.org-row strong {
  font-size: 26px;
  line-height: 1.08;
}

.org-row span {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.45;
}

.person-card {
  display: grid;
  align-content: start;
}

.person-photo {
  display: block;
  width: 132px;
  height: 154px;
  margin-bottom: 22px;
  border-radius: 18px;
  object-fit: cover;
  object-position: center top;
  background: rgba(0, 169, 157, 0.08);
  box-shadow: 0 18px 40px rgba(0, 136, 127, 0.12);
}

.org-note {
  max-width: 860px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.organizers-help {
  max-width: 1040px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-top: 28px;
  padding: 24px 26px;
  color: var(--teal-dark);
  background: linear-gradient(135deg, rgba(223, 248, 242, 0.78), rgba(255, 255, 255, 0.88));
  border: 1px solid rgba(0, 169, 157, 0.22);
  border-radius: 18px;
  box-shadow: 0 20px 48px rgba(0, 136, 127, 0.1);
}

.organizers-help strong {
  display: block;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.2;
  font-weight: 950;
}

.organizers-help ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.organizers-help li {
  display: flex;
  gap: 9px;
  color: var(--teal);
  font-size: clamp(15px, 1.55vw, 19px);
  font-weight: 850;
  line-height: 1.32;
}

.organizers-help li span {
  flex: 0 0 auto;
}

.report {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.9fr);
  gap: 42px;
  color: var(--teal-dark);
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 169, 157, 0.14), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #dff8f2 100%);
}

.report-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(0, 169, 157, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
}

.report-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.purpose-group {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.purpose-group legend {
  margin-bottom: 8px;
  font-weight: 900;
}

.purpose-group .checkbox {
  padding: 12px 14px;
  border: 1px solid rgba(0, 169, 157, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.report-form input,
.report-form textarea {
  width: 100%;
  border: 1px solid rgba(0, 169, 157, 0.24);
  border-radius: 8px;
  padding: 15px 16px;
  color: var(--teal-dark);
  background: #fff;
  outline: none;
}

.report-form textarea {
  min-height: 136px;
  resize: vertical;
}

.report-form input::placeholder,
.report-form textarea::placeholder {
  color: rgba(0, 136, 127, 0.58);
}

.checkbox {
  grid-template-columns: auto 1fr;
  align-items: start;
  font-size: 14px;
  line-height: 1.35;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.form-note {
  min-height: 22px;
  margin: 0;
  font-weight: 800;
}

/* Our internal form */
.internal-form-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(0, 169, 157, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
}

.internal-form-card .form-title {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 950;
  color: var(--teal);
  margin: 0;
}

.internal-form-card .form-subtitle {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.35;
  margin: 0;
}

.internal-form-card label.field-label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.internal-form-card input,
.internal-form-card textarea,
.internal-form-card select {
  width: 100%;
  border: 1px solid rgba(0, 169, 157, 0.24);
  border-radius: 8px;
  padding: 15px 16px;
  color: var(--teal-dark);
  background: #fff;
  outline: none;
  font: inherit;
}

.internal-form-card select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2300887f' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.internal-form-card textarea {
  min-height: 136px;
  resize: vertical;
}

.internal-form-card input::placeholder,
.internal-form-card textarea::placeholder,
.internal-form-card select:invalid {
  color: rgba(0, 136, 127, 0.58);
}

.internal-form-card .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.internal-form-card .purpose-group {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.internal-form-card .purpose-group legend {
  margin-bottom: 8px;
  font-weight: 900;
}

.internal-form-card .purpose-group .checkbox {
  padding: 12px 14px;
  border: 1px solid rgba(0, 169, 157, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.internal-form-card .checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.35;
}

.internal-form-card .checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

/* Dropzone */
.form-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 20px;
  border: 2px dashed rgba(0, 169, 157, 0.32);
  border-radius: 8px;
  background: rgba(223, 248, 242, 0.28);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-align: center;
}

.form-dropzone:hover,
.form-dropzone.dragover {
  border-color: var(--teal);
  background: rgba(223, 248, 242, 0.52);
}

.form-dropzone input[type="file"] {
  display: none;
}

.form-dropzone-icon {
  color: var(--teal);
}

.form-dropzone-main {
  font-weight: 900;
  color: var(--teal-dark);
}

.form-dropzone-sub {
  font-size: 14px;
  color: var(--muted);
}

.form-dropzone-link {
  color: var(--teal);
  text-decoration: underline;
  cursor: pointer;
}

.form-dropzone-hint {
  font-size: 13px;
  color: var(--muted);
  opacity: 0.7;
}

.form-previews {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.form-preview-item {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 169, 157, 0.2);
}

.form-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.form-preview-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
}

.form-consent-group {
  display: grid;
  gap: 10px;
}

.form-consent-group .checkbox {
  font-size: 13px;
}

.form-consent-group a {
  color: var(--teal);
  text-decoration: underline;
}

.form-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  color: #fff;
  background: var(--teal);
  box-shadow: 0 16px 34px rgba(0, 136, 127, 0.22);
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

.form-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
}

.form-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-success {
  display: grid;
  place-items: center;
  gap: 16px;
  padding: 48px 24px;
  text-align: center;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 32px;
  display: grid;
  place-items: center;
}

.form-success-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--teal-dark);
  line-height: 1.4;
}

.required-mark {
  color: #ef6479;
}

.donate-modal[hidden] {
  display: none !important;
}
.donate-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 136, 127, 0.32);
  backdrop-filter: blur(14px);
}

.donate-modal[hidden] {
  display: none;
}

.modal-panel {
  position: relative;
  width: min(100%, 860px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 34px;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 30px 100px rgba(0, 136, 127, 0.24);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 169, 157, 0.12);
  cursor: pointer;
  font-size: 24px;
}

.donation-details {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
  margin: 24px 0;
}

.qr-wrap {
  display: grid;
  gap: 10px;
}

.qr-wrap img {
  width: 100%;
  border: 1px solid rgba(0, 169, 157, 0.18);
  border-radius: 8px;
}

.qr-wrap span {
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}

.donation-details dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.donation-details div {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 169, 157, 0.16);
}

.donation-details dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.donation-details dd {
  margin: 0;
  color: var(--teal);
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.donate-note {
  max-width: 760px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}
.donate-note-dop {
  text-align: left;
}

.footer {
  padding: 48px clamp(18px, 5vw, 72px);
  color: #fff;
  background: var(--teal);
}

/* Когда показана фиксированная петиционная плашка — добавляем footer'у нижний padding,
   чтобы плашка не закрывала контактные строки. */
body.has-petition-banner .footer {
  padding-bottom: 140px;
}
@media (max-width: 760px) {
  body.has-petition-banner .footer {
    padding-bottom: 130px;
  }
}

.footer a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-col strong {
  display: block;
  font-size: 16px;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.footer-col p {
  margin: 0 0 10px;
  line-height: 1.55;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
}

.footer-col .footer-brand {
  font-size: 18px;
  font-weight: 900;
}

.footer-col .footer-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
}

.footer-col .footer-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 14px;
}

.footer-col .footer-meta {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 430px) {
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
}

.footer-partner {
  max-width: 1280px;
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.6;
}
.footer-partner-label {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
}
.footer-partner-name {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}
.footer-partner-details {
  margin: 0;
  font-variant-numeric: tabular-nums;
  word-break: break-word;
}

/* ── Ссылки на условия Robokassa в подвале ── */
.footer-policy-links {
  max-width: 1280px;
  margin: 18px auto 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-policy-links > span {
  user-select: none;
}
.footer-policy-link {
  background: transparent;
  border: 0;
  padding: 2px 0;
  color: rgba(255, 255, 255, 0.82);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.footer-policy-link:hover,
.footer-policy-link:focus-visible {
  color: #fff;
  outline: none;
}
@media (max-width: 760px) {
  .footer-policy-links { font-size: 13px; }
}

/* ── Информационные модалки (Порядок / Оплата / Возврат / Оферта / Конфиденциальность) ── */
.policy-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 25, 30, 0.65);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px clamp(12px, 4vw, 40px);
}
.policy-modal[hidden] { display: none; }

.policy-modal-panel {
  position: relative;
  width: 100%;
  max-width: 780px;
  max-height: 88vh;
  background: #fff;
  color: var(--ink, #1c1c1c);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  padding: 28px clamp(20px, 4vw, 36px) 24px;
}
.policy-modal-panel > .modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: transparent;
  border: 0;
  font-size: 28px;
  line-height: 1;
  color: #888;
  cursor: pointer;
  padding: 6px 10px;
}
.policy-modal-panel > .modal-close:hover { color: #1c1c1c; }
.policy-modal-panel > h2 {
  margin: 0 0 14px;
  padding-right: 36px;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
  color: var(--teal-dark, #00887f);
  line-height: 1.25;
}
.policy-modal-scroll {
  overflow-y: auto;
  padding-right: 8px;
  font-size: 14px;
  line-height: 1.6;
}
.policy-modal-scroll h3 {
  margin: 18px 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--teal-dark, #00887f);
}
.policy-modal-scroll h3:first-child { margin-top: 0; }
.policy-modal-scroll p {
  margin: 0 0 10px;
}
.policy-modal-scroll ul,
.policy-modal-scroll ol {
  margin: 0 0 12px;
  padding-left: 22px;
}
.policy-modal-scroll li { margin-bottom: 4px; }
.policy-modal-scroll a {
  color: var(--teal, #00a99d);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.policy-modal-scroll .policy-requisites {
  font-variant-numeric: tabular-nums;
}
.policy-modal-scroll .policy-modal-meta {
  margin-top: 18px;
  font-size: 12px;
  color: #888;
}

@media (max-width: 760px) {
  .policy-modal { padding: 16px 8px; }
  .policy-modal-panel { padding: 22px 18px 18px; max-height: 92vh; border-radius: 14px; }
  .policy-modal-scroll { font-size: 13.5px; padding-right: 4px; }
}

/* ── Возрастной шлюз 18+ для медиа Сахалин ── */
.age-gate {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  margin-top: 18px;
}

.age-gate .sakhalin-media-grid {
  filter: blur(22px) brightness(0.7);
  transition: filter 0.5s ease;
  pointer-events: none;
  user-select: none;
}

.age-gate.is-revealed .sakhalin-media-grid {
  filter: none;
  pointer-events: auto;
  user-select: auto;
}

.age-gate-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 50, 47, 0.72);
  backdrop-filter: blur(4px);
  text-align: center;
  padding: 24px;
  transition: opacity 0.3s ease;
}

.age-gate.is-revealed .age-gate-overlay {
  opacity: 0;
  pointer-events: none;
}

.age-gate-overlay-inner {
  max-width: 480px;
  color: #fff;
}

.age-gate-overlay-inner strong {
  display: inline-block;
  font-size: 38px;
  line-height: 1;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--red, #ef6479);
  color: #fff;
  margin-bottom: 16px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.age-gate-overlay-inner p {
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.94);
}

.age-gate.age-gate-pulse {
  animation: ageGatePulse 0.6s ease 2;
}

@keyframes ageGatePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0); }
  50% { box-shadow: 0 0 0 12px rgba(229, 57, 53, 0.35); }
}

/* ── Контакты приютов под Сахалин-секцией ── */
.shelter-contacts {
  margin-top: 24px;
  padding: 24px;
  border-radius: 24px;
  background: var(--mint);
  border: 1px solid var(--line);
}

.shelter-contacts-title {
  display: block;
  font-size: 16px;
  color: var(--teal-dark);
  margin-bottom: 14px;
  font-weight: 800;
}

.shelter-contacts ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.shelter-contacts li {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}

.shelter-contacts a {
  color: var(--teal-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Секция «Стать дистанционным опекуном» ── */
.guardianship {
  padding: clamp(40px, 6vw, 80px) clamp(18px, 5vw, 72px);
  background: linear-gradient(180deg, #ffffff 0%, var(--mint) 100%);
}

.guardianship > h2 {
  margin: 8px 0 24px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  color: var(--ink);
}

/* ── Новый header «Подопечные» (pets-head из шаблона) ── */
.guardianship .pets-head {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.7fr);
  gap: clamp(22px, 4vw, 58px);
  align-items: end;
  width: min(1180px, 100%);
  margin: 0 auto clamp(26px, 4vw, 46px);
}

.guardianship .pets-head h2 {
  margin: 0 0 16px;
  color: var(--teal-dark);
  font-size: clamp(36px, 6vw, 64px);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: 0;
}

.guardianship .pets-microcopy {
  max-width: 620px;
  margin: 0 0 14px;
  color: rgba(0, 136, 127, 0.78);
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.35;
  font-weight: 750;
}

.guardianship .pets-intro {
  margin: 0;
  color: var(--teal-dark);
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.34;
  font-weight: 800;
}

.guardianship .pets-note {
  margin: 0;
  padding: 20px 22px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #00a99d, #00887f);
  box-shadow: 0 22px 52px rgba(0, 136, 127, 0.16);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.38;
  font-weight: 800;
}

.guardianship-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 36px;
  padding: 28px;
  background: var(--paper);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.guardianship-intro p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}

.guardianship-steps {
  margin: 0 0 4px;
  padding-left: 22px;
  display: grid;
  gap: 10px;
}

.guardianship-steps li {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}

.guardianship-contacts {
  display: grid;
  gap: 12px;
  align-content: start;
}

.guardianship-contact {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--mint);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guardianship-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 169, 157, 0.18);
}

.guardianship-contact-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal-dark);
  font-weight: 800;
}

.guardianship-contact-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  word-break: break-word;
}

@media (max-width: 1040px) {
  .guardianship-intro {
    grid-template-columns: 1fr;
    margin: 0 -18px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0 18px 18px;
  }
}

.guardianship-stat {
  text-align: center;
  margin: 8px 0 28px;
}

.guardianship-stat strong {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-size: 17px;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 30px rgba(0, 169, 157, 0.28);
}

.guardianship-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: var(--muted, #6b7280);
  font-size: 15px;
}

.dog-card-no-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  opacity: 0.6;
}

.guardianship-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 1040px) {
  .guardianship-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .guardianship-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* ── Карточка собаки ── */
.dog-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 136, 127, 0.12);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(0, 136, 127, 0.18);
}

.dog-card-photos {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  background: var(--mint);
}

.dog-card-photos a {
  display: block;
  line-height: 0;
}

.dog-card-photos a:first-child img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.dog-card-photo-thumb {
  position: absolute;
  bottom: 8px;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.dog-card-photo-thumb:nth-of-type(2) { right: 76px; }
.dog-card-photo-thumb:nth-of-type(3) { right: 12px; }

.dog-card-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dog-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.dog-card-body h3 {
  margin: 0;
  font-size: 22px;
  color: var(--ink);
}

.dog-card-meta {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--mint);
}

.dog-card-meta > div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.4;
}

.dog-card-meta dt {
  margin: 0;
  color: var(--teal-dark);
  font-weight: 700;
}

.dog-card-meta dd {
  margin: 0;
  color: var(--ink);
}

.dog-card-story {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  flex: 1;
}

.dog-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.dog-card-actions .button {
  flex: 1 1 auto;
  text-align: center;
  font-size: 14px;
  padding: 11px 18px;
}

.dog-card-phone {
  font-size: 13px;
  color: var(--teal-dark);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 12px;
  white-space: nowrap;
}

.dog-card-phone:hover {
  background: var(--mint);
}

@keyframes poster {
  0%,
  100% {
    transform: rotate(2deg) translateY(0);
  }
  50% {
    transform: rotate(-1deg) translateY(-14px);
  }
}

@keyframes bob {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -18px;
  }
}

@keyframes softFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

@keyframes marquee {
  to {
    transform: translateX(-100%);
  }
}

@media (max-width: 1040px) {
  .hero,
  .sakhalin-hero {
    grid-template-columns: 1fr;
  }
  .sakhalin-hero .age-gate {
    position: relative;
    top: 41px;
  }
  .sakhalin-hero .sakhalin-media-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .sakhalin-hero .sakhalin-media-grid img,
  .sakhalin-hero .sakhalin-media-grid video {
    height: 106px;
  }
  .sakhalin-media-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .help-layout,
  .report {
    grid-template-columns: 1fr;
  }

  .initiative-grid {
    grid-template-columns: none;
    grid-auto-columns: minmax(300px, 46vw);
  }

  .hero-visual {
    min-height: auto;
  }

  .role-cards,
  .org-row {
    grid-template-columns: 1fr;
  }

  .organizers-help {
    grid-template-columns: 1fr;
  }

  .results-head {
    display: block;
    text-align: left;
  }

  .results-head .section-kicker {
    margin-inline: 0;
  }

  .result-cards {
    grid-template-columns: 1fr;
  }

  .result-cards article {
    min-height: 170px;
  }

  .result-cards strong {
    font-size: clamp(46px, 14vw, 68px);
  }

  .result-cards span {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
  }

  .brand-group {
    flex: 0 0 auto;
  }

  .header-ticker {
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
    padding: 8px 0;
  }

  .header-ticker span {
    font-size: clamp(13px, 3.6vw, 17px);
  }

  /* специфичность повышена, чтобы перебить глобальное правило .owl-wrap ниже по файлу */
  section .owl-wrap {
    padding: 0;
    margin: 0 -36px;
    overflow: hidden;
  }

  .initiative-grid {
    grid-template-columns: none;
    grid-auto-columns: 82vw;
    padding-inline: 0;
    scroll-padding-inline: 0;
  }

  section:not(.hero) {
    padding: 41px clamp(18px, 5vw, 72px);
  }

  .nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    font-size: 12px;
    font-weight: 900;
  }

  .nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(0, 169, 157, 0.1);
    text-align: center;
    line-height: 1.05;
  }

  .nav a::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  h1 {
    max-width: 420px;
    font-size: clamp(32px, 9.5vw, 46px);
    line-height: 1.06;
  }

  .kind-title {
    font-size: clamp(44px, 13vw, 72px);
  }

  .heart-a {
    top: -18px;
    right: 4px;
    width: 34px;
    height: 32px;
  }

  .heart-b {
    left: 4px;
    bottom: -18px;
    width: 24px;
    height: 23px;
  }

  .mini-paw {
    right: 2px;
    bottom: -18px;
    width: 50px;
    height: 44px;
  }

  .brand-group {
    gap: 10px;
  }

  .party-logo-wrap {
    width: 42px;
    height: 42px;
  }

  .party-logo-wrap img {
    width: 30px;
    height: 30px;
  }

  .initiative-grid {
    grid-template-columns: none;
    grid-auto-columns: 82vw;
    padding-inline: 18px;
    scroll-padding-inline: 18px;
  }

  .initiative-photo {
    height: 240px;
  }

  .media-carousel {
    grid-auto-columns: minmax(260px, 86%);
  }

  .project-gallery {
    padding-inline: 0;
  }

  .project-gallery .section-kicker {
    margin-left: 18px;
  }

  .project-gallery-track {
    grid-auto-columns: 82vw;
    gap: 12px;
    padding-inline: 18px;
    scroll-padding-inline: 18px;
  }

  .project-gallery-track figure {
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .project-gallery-track.owl-carousel figure img {
    aspect-ratio: 4 / 3;
  }

  .media-carousel figure {
    height: 430px;
  }

  .hero-visual::before {
    display: none;
  }

  .heart.one {
    top: 82px;
    right: 38px;
    width: 58px;
    height: 54px;
  }

  .heart.two {
    left: 18px;
    bottom: 118px;
    width: 42px;
    height: 39px;
  }

  .paw {
    right: 10px;
    bottom: 68px;
    width: 108px;
    height: 92px;
  }

  .hero-main-image {
    transform: none;
  }

  .internal-form-card .form-row {
    grid-template-columns: 1fr;
  }

  .internal-form-card {
    padding: 18px;
  }

  .modal-panel {
    padding: 26px 18px;
  }

  .donate-summ {
    text-align: center;
  }

  .modal-panel h2 {
    font-size: 24px;
    text-align: center;
  }

  .donation-details {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .qr-wrap {
    justify-self: center;
    width: min(220px, 72vw);
  }

  .qr-wrap img {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .sakhalin-media-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .sakhalin-media-grid img,
  .sakhalin-media-grid video {
    height: 120px;
  }

  .party-brand span:last-child {
    display: none;
  }

  .party-logo-wrap {
    width: 40px;
    height: 40px;
  }

  .party-logo-wrap img {
    width: 28px;
    height: 28px;
  }

  .nav {
    gap: 5px;
    font-size: 11px;
  }

  .report-form {
    padding: 18px;
  }

  .purpose-group .checkbox {
    padding: 10px 12px;
    font-size: 13px;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 54px;
    text-align: center;
    white-space: normal;
  }

  .hero-help-note {
    padding: 17px 15px 17px 18px;
    border-radius: 18px;
  }

  .hero-help-note::before {
    inset-block: 12px;
    width: 4px;
  }

  .hero-help-note ul {
    gap: 9px;
  }

  .section-help-action .button {
    width: 100%;
    min-width: 0;
    min-height: 54px;
  }

  .organizers-help {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .organizers-help .button {
    width: 100%;
    min-height: 54px;
  }
}

/* ── Petition section ── */
.petition {
  position: relative;
  text-align: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(229, 57, 53, 0.08), transparent 40%),
    linear-gradient(180deg, #fff 0%, #fff5f5 50%, #fff 100%);
}

.petition-kicker {
  color: #fff !important;
  background: #ef6479 !important;
  margin-inline: auto;
}

.petition h2 {
  max-width: 860px;
  margin-inline: auto;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.06;
  color: var(--ink);
}

.petition-subtitle {
  max-width: 720px;
  margin: 18px auto 0;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.45;
  color: var(--teal-dark);
  opacity: 0.82;
}

.petition-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 36px auto 0;
}

.petition-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0 48px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #ef6479;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 48px rgba(229, 57, 53, 0.32);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  letter-spacing: 0;
}

.petition-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 56px rgba(229, 57, 53, 0.38);
}

.petition-read-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0 36px;
  border: 2px solid rgba(229, 57, 53, 0.3);
  border-radius: 999px;
  color: #ef6479;
  background: #fff;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.petition-read-btn:hover {
  transform: translateY(-2px);
  border-color: #ef6479;
}

.petition-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.petition-counter strong {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 950;
  color: #ef6479;
}

.petition-counter span {
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 800;
  color: var(--muted);
}

/* ── Report problem section ── */
.report-problem {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.9fr);
  gap: 42px;
  color: var(--teal-dark);
  background:
    radial-gradient(circle at 18% 18%, rgba(229, 57, 53, 0.06), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #fff5f5 60%, #dff8f2 100%);
}

.report-problem-copy h2 {
  font-size: clamp(28px, 4vw, 48px);
}

.report-problem-copy p {
  color: inherit;
  opacity: 0.78;
  font-size: 19px;
  line-height: 1.55;
}

/* ── Floating petition banner ── */
.petition-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 30;
  animation: bannerSlideUp 0.5s ease forwards;
}

.petition-banner[hidden] {
  display: none;
}

.petition-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 16px clamp(18px, 4vw, 48px);
  background: linear-gradient(135deg, #ef6479, #ef6479);
  box-shadow: 0 -8px 40px rgba(229, 57, 53, 0.28);
}

.petition-banner-text {
  color: #fff;
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 800;
  line-height: 1.25;
}

.petition-banner-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 900;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease;
}

.petition-banner-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.petition-banner-close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}

.petition-banner-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

@keyframes bannerSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* ── Petition modal ── */
.petition-modal[hidden] {
  display: none !important;
}
.petition-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(14px);
}

.petition-modal[hidden] {
  display: none;
}

.petition-modal-panel {
  position: relative;
  width: min(100%, 820px);
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.petition-modal-panel > .modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
}

.petition-modal-scroll {
  overflow-y: auto;
  flex: 1;
  padding: 0;
}

.petition-tabs {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  gap: 0;
  background: #fff;
  border-bottom: 2px solid rgba(0, 169, 157, 0.12);
  padding: 0 34px;
}

.petition-tab {
  flex: 1;
  padding: 18px 12px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}

.petition-tab.active {
  color: #ef6479;
  border-bottom-color: #ef6479;
}

.petition-tab:hover:not(.active) {
  color: var(--ink);
}

.petition-tab-content {
  display: none;
  padding: 28px 34px 34px;
}

.petition-tab-content.active {
  display: block;
}

.petition-text-body {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
}

.petition-text-body h3 {
  text-align: center;
  font-size: 24px;
  color: #ef6479;
  margin: 24px 0 8px;
}

.petition-text-body h4 {
  font-size: 18px;
  color: var(--teal-dark);
  margin: 28px 0 14px;
}

.petition-addressee {
  padding: 18px 22px;
  background: rgba(229, 57, 53, 0.06);
  border-left: 4px solid #ef6479;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  line-height: 1.55;
}

.petition-addressee em {
  display: block;
  margin-top: 8px;
  font-style: italic;
  font-weight: 700;
}

.petition-about {
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--teal-dark);
}

.petition-demands {
  padding-left: 20px;
}

.petition-demands li {
  margin-bottom: 12px;
}

.petition-sources {
  padding-left: 20px;
  font-size: 14px;
}

.petition-sources li {
  margin-bottom: 8px;
}

.petition-sources a {
  color: var(--teal);
  text-decoration: underline;
}

.petition-text-footer {
  padding: 22px 0 0;
  text-align: center;
  border-top: 1px solid rgba(0, 169, 157, 0.12);
  margin-top: 28px;
}

.petition-form-head {
  text-align: center;
  margin-bottom: 22px;
}

.petition-form-head h3 {
  font-size: 28px;
  color: #ef6479;
  margin-bottom: 8px;
}

.petition-form-head p {
  color: var(--muted);
  font-size: 16px;
}

/* Petition modal form inherits internal-form-card styles */
#petitionTabSign .field-label {
  display: grid;
  gap: 8px;
  font-weight: 900;
  color: var(--ink);
}

#petitionTabSign input,
#petitionTabSign select {
  width: 100%;
  border: 1px solid rgba(0, 169, 157, 0.24);
  border-radius: 8px;
  padding: 15px 16px;
  color: var(--teal-dark);
  background: #fff;
  outline: none;
  font: inherit;
}

#petitionTabSign select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2300887f' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

#petitionTabSign input::placeholder {
  color: rgba(0, 136, 127, 0.58);
}

#petitionTabSign .checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.35;
}

#petitionTabSign .checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

#petitionTabSign .form-consent-group {
  display: grid;
  gap: 10px;
}

#petitionTabSign .form-consent-group a {
  color: var(--teal);
  text-decoration: underline;
}

@media (max-width: 1040px) {
  .report-problem {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .petition-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .petition-cta {
    min-height: 58px;
  }

  .petition-banner-inner {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 16px;
  }

  .petition-banner-text {
    flex: 1 1 100%;
    text-align: center;
  }

  .petition-banner-btn {
    flex: 1;
    min-height: 30px;
  }

  .petition-banner-close {
    width: 30px;
    height: 30px;
  }

  .petition-modal-panel {
    border-radius: 12px;
  }

  .petition-tabs {
    padding: 0 18px;
  }

  .petition-tab-content {
    padding: 18px 18px 28px;
  }

  .petition-tab {
    font-size: 14px;
    padding: 14px 8px;
  }

  .report-problem .internal-form-card {
    padding: 18px;
  }
}

@media (max-width: 430px) {
  .petition-cta {
    min-height: 54px;
    padding: 0 28px;
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

/* ── Video poster with play icon ── */
.video-poster {
  position: relative;
  display: block;
  cursor: pointer;
}
.video-poster::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 54% center;
  background-size: 28px;
  transition: transform 0.2s, background-color 0.2s;
  pointer-events: none;
}
.video-poster:hover::after {
  transform: translate(-50%, -50%) scale(1.12);
  background-color: rgba(0, 169, 157, 0.8);
}

/* ── Fancybox: grid & carousel links ── */
.owl-carousel {
  overflow: hidden;
}
.accordion-media-grid a[data-fancybox],
.owl-carousel a[data-fancybox] {
  display: block;
  text-decoration: none;
  cursor: zoom-in;
}
.accordion-media-grid a[data-fancybox] img,
.accordion-media-grid a[data-fancybox] video {
  width: 100%;
  border-radius: 10px;
  transition: opacity 0.2s;
}
.accordion-media-grid a[data-fancybox]:hover img,
.accordion-media-grid a[data-fancybox]:hover video {
  opacity: 0.85;
}

/* ── Owl Carousel: wrapper to prevent horizontal page scroll ── */
.owl-wrap {
  padding: 0 30px;
  margin: 0 -30px;
  overflow: hidden;
}

/* ── Owl Carousel: custom theme ── */
.owl-carousel .owl-item {
  padding: 15px 0;
}
.owl-carousel .owl-item img {
  border-radius: 12px;
}
.owl-carousel .owl-item video {
  width: 100%;
  border-radius: 12px;
}
.owl-carousel .owl-item figure {
  margin: 0;
}
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--paper) !important;
  border: 1px solid var(--line) !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink) !important;
  transition: background 0.2s, box-shadow 0.2s;
  z-index: 10;
}
.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
  background: var(--mint) !important;
  box-shadow: 0 4px 20px rgba(0,136,127,0.15);
}
.owl-carousel .owl-nav button.owl-prev {
  left: -16px;
}
.owl-carousel .owl-nav button.owl-next {
  right: -16px;
}
.owl-carousel .owl-nav button.owl-prev svg,
.owl-carousel .owl-nav button.owl-next svg {
  width: 20px;
  height: 20px;
}
.owl-carousel .owl-stage{
  padding: 15px 0;
}
.owl-carousel .owl-dots {
  margin-top: 16px;
  text-align: center;
}
.owl-carousel .owl-dots .owl-dot span {
  background: var(--line) !important;
  width: 10px;
  height: 10px;
}
.owl-carousel .owl-dots .owl-dot.active span {
  background: var(--teal) !important;
}
.owl-carousel .owl-stage-outer {
  border-radius: 12px;
}
/* Owl overrides: disable old grid/scroll behaviour when Owl is active */
.initiative-grid.owl-carousel,
.project-gallery-track.owl-carousel,
.media-carousel.owl-carousel {
  display: block;
  grid-auto-flow: unset;
  grid-auto-columns: unset;
  overflow: visible;
  scroll-snap-type: none;
}
/* Equal-height owl items */
.owl-carousel .owl-stage {
  display: flex;
}
.owl-carousel .owl-item {
  display: flex;
}
.owl-carousel .owl-item > * {
  flex: 1;
}
/* Initiative cards inside carousel */
.initiative-grid.owl-carousel article {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  min-height: 0;
  padding: 0;
}
.initiative-grid.owl-carousel article .initiative-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
  margin-bottom: 0;
}
.initiative-grid.owl-carousel article h3 {
  padding: 16px 18px 0;
  font-size: 18px;
  line-height: 1.2;
  min-height: 48px;
}
.initiative-grid.owl-carousel article p {
  padding: 8px 18px 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  flex-grow: 1;
}
/* Gallery images inside owl */
.project-gallery-track.owl-carousel figure {
  margin: 0;
  height: 100%;
}
.project-gallery-track.owl-carousel figure a {
  display: block;
  height: 100%;
}
.project-gallery-track.owl-carousel figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 12px;
}
/* Media carousel items */
.media-carousel.owl-carousel figure {
  margin: 0;
}
.media-carousel.owl-carousel figure img,
.media-carousel.owl-carousel figure video {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
}
.media-carousel.owl-carousel figure video {
  object-fit: contain;
  background: #000;
}
@media (max-width: 760px) {
  .owl-carousel .owl-nav button.owl-prev { left: -8px; }
  .owl-carousel .owl-nav button.owl-next { right: -8px; }
  .owl-carousel .owl-nav button.owl-prev,
  .owl-carousel .owl-nav button.owl-next {
    width: 32px;
    height: 32px;
  }
  .owl-carousel .owl-nav button.owl-prev svg,
  .owl-carousel .owl-nav button.owl-next svg {
    width: 16px;
    height: 16px;
  }
  .owl-carousel .owl-dots {
    margin-top: 10px;
  }
  .owl-carousel .owl-dots .owl-dot span {
    width: 6px !important;
    height: 6px !important;
    margin: 3px 3px !important;
    background: var(--line) !important;
  }
  .owl-carousel .owl-dots .owl-dot.active span {
    background: var(--teal) !important;
    transform: scale(1.15);
  }
  /* На мобильной у каруселей с peek-эффектом убираем точки и стрелки */
  .initiative-grid.owl-carousel .owl-nav,
  .initiative-grid.owl-carousel .owl-dots,
  .project-gallery-track.owl-carousel .owl-nav,
  .project-gallery-track.owl-carousel .owl-dots {
    display: none !important;
  }
}

/* ── Welcome petition banner (overlay при загрузке) ── */
.welcome-banner-overlay[hidden] {
  display: none !important;
}
.welcome-banner-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: welcomeFadeIn 0.3s ease;
  padding: 20px;
}
.welcome-banner-overlay.is-hiding {
  animation: welcomeFadeOut 0.3s ease forwards;
}
@keyframes welcomeFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes welcomeFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}
.welcome-banner {
  position: relative;
  max-width: 520px;
  width: 100%;
  padding: 48px 40px 40px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.18);
  text-align: center;
  animation: welcomeSlideUp 0.35s ease;
}
.welcome-banner-overlay.is-hiding .welcome-banner {
  animation: welcomeSlideDown 0.3s ease forwards;
}
@keyframes welcomeSlideUp {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes welcomeSlideDown {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(20px) scale(0.97); }
}
.welcome-banner-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  font-size: 28px;
  color: var(--muted);
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.welcome-banner-close:hover {
  background: rgba(0, 0, 0, 0.06);
}
.welcome-banner-icon {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}
.welcome-banner-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0  40px rgba(0, 136, 127, 0.3);
  position: relative;
  z-index: 1;
  animation: barkPulse 2.8s ease-in-out infinite;
}
/* Each bark fires at 0%, 21%, 43%, 64%, 86% of 2.8s cycle (every ~0.6s) */
@keyframes barkPulse {
  0%   { transform: scale(1); }
  2%   { transform: scale(1); }
  6%   { transform: scale(1); }
  21%  { transform: scale(1); }
  25%  { transform: scale(1); }
  43%  { transform: scale(1.03); }
  47%  { transform: scale(1); }
  64%  { transform: scale(1.04); }
  68%  { transform: scale(1); }
  86%  { transform: scale(1.02); }
  90%  { transform: scale(1); }
  100% { transform: scale(1); }
}
/* Bark bubbles around the icon */
.bark {
  position: absolute;
  font-weight: 900;
  font-size: 14px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  z-index: 2;
  animation: barkFloat 2.8s ease-in-out infinite;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.bark-1 {
  top: -8px;
  right: -32px;
  font-size: 16px;
  color: var(--teal);
  transform: rotate(12deg);
  animation-delay: 0s;
}
.bark-2 {
  top: 10px;
  left: -38px;
  font-size: 13px;
  color: #ef6479;
  transform: rotate(-18deg);
  animation-delay: 0.6s;
}
.bark-3 {
  bottom: 18px;
  right: -28px;
  font-size: 11px;
  color: var(--teal-dark);
  transform: rotate(8deg);
  animation-delay: 1.2s;
}
.bark-4 {
  top: -14px;
  left: 8px;
  font-size: 12px;
  color: #ff7043;
  transform: rotate(-8deg);
  animation-delay: 1.8s;
}
.bark-5 {
  bottom: 6px;
  left: -24px;
  font-size: 10px;
  color: var(--teal);
  transform: rotate(22deg);
  animation-delay: 2.4s;
}
@keyframes barkFloat {
  0%, 100% {
    opacity: 0;
    transform: translateY(4px) scale(0.7);
  }
  15% {
    opacity: 1;
    transform: translateY(-6px) scale(1);
  }
  35% {
    opacity: 1;
    transform: translateY(-10px) scale(1.05);
  }
  55% {
    opacity: 0;
    transform: translateY(-18px) scale(0.8);
  }
}
.welcome-banner-title {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.15;
}
.welcome-banner-text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.welcome-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.welcome-banner-actions .button {
  width: 100%;
  max-width: 340px;
}
@media (max-width: 480px) {
  .welcome-banner {
    padding: 36px 24px 28px;
    border-radius: 18px;
  }
  .welcome-banner-img {
    width: 110px;
    height: 110px;
  }
  .welcome-banner-text {
    font-size: 14px;
  }
}

/* ── Accordion: хронология спасения ── */
/* Dark section background — full width */
.timeline-accordion {
  background: var(--ink);
  padding: clamp(48px, 6vw, 96px) clamp(16px, 4vw, 80px);
  max-width: none;
  margin: 0;
}
.timeline-accordion-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.timeline-accordion .section-kicker {
  margin-bottom: 12px;
  color: var(--teal);
  background: rgba(255, 255, 255, 0.1);
}
.timeline-accordion > h2,
.timeline-accordion-inner > h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: #fff;
  margin-bottom: 32px;
}
.accordion-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.3s, background 0.3s;
}
.accordion-item:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}
.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  font-family: inherit;
  line-height: 1.3;
}
.accordion-header::after {
  content: '';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform 0.3s;
}
.accordion-item.is-open .accordion-header::after {
  transform: rotate(180deg);
}
.accordion-item.is-open {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 169, 157, 0.3);
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.accordion-body-inner {
  padding: 0 24px 24px;
}
.accordion-body-inner p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 12px;
}
.accordion-body-inner ul {
  color: rgba(255, 255, 255, 0.85);
}
.accordion-body-inner h4 {
  color: #fff;
}
.accordion-body-inner blockquote {
  border-left: 3px solid var(--teal);
  padding-left: 16px;
  margin: 16px 0;
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
}
.accordion-body-inner .quote-author {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: #fff;
  margin-top: 8px;
}
.accordion-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.accordion-media-grid img,
.accordion-media-grid video {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  aspect-ratio: 4/3;
}
.accordion-media-grid video {
  aspect-ratio: 16/9;
}
@media (max-width: 760px) {
  .accordion-media-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
  .accordion-header {
    padding: 16px 18px;
  }
}

/* ===== ЗАЧЕМ ОНЛАЙН-ОПЕКУНСТВО (guardian-story) ===== */
section.guardian-story {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 5vw, 68px) clamp(18px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0 12%, transparent 12% 100%),
    linear-gradient(180deg, var(--teal) 0%, var(--teal-dark) 100%);
}

.guardian-story-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(14px, 2vw, 24px);
  align-items: stretch;
  width: min(1080px, 100%);
  margin: 0 auto;
}

.guardian-story-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  padding: clamp(24px, 3.1vw, 42px);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(0, 74, 69, 0.18);
}

.guardian-story-card::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  pointer-events: none;
}

.guardian-story-card.teal {
  background: rgba(0, 136, 127, 0.78);
}

.guardian-story-card.coral {
  background: #ef6479;
}

.guardian-story-card h2 {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(28px, 2.7vw, 42px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0;
}

.guardian-story-card p {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0;
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.4;
  font-weight: 500;
}

.guardian-story-price {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  width: fit-content;
  margin-top: 24px;
  padding: 13px 17px;
  border-radius: 8px;
  color: var(--teal-dark);
  background: var(--paper);
  box-shadow: 0 18px 38px rgba(126, 37, 52, 0.18);
  font-weight: 900;
}

.guardian-story-price strong {
  font-size: clamp(28px, 2.4vw, 38px);
  line-height: 1;
}

.guardian-story-price span {
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.1;
  color: rgba(0, 136, 127, 0.78);
}

@media (max-width: 760px) {
  section.guardian-story {
    padding: 18px 14px 22px;
  }

  .guardian-story-shell {
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(0, 74, 69, 0.18);
  }

  .guardian-story-card {
    min-height: auto;
    padding: 22px 18px;
    border-radius: 0;
    box-shadow: none;
  }

  .guardian-story-card::after {
    display: none;
  }

  .guardian-story-card:first-child {
    border-radius: 8px 8px 0 0;
  }

  .guardian-story-card:last-child {
    border-radius: 0 0 8px 8px;
  }

  .guardian-story-card h2 {
    margin-bottom: 12px;
    font-size: clamp(21px, 5.8vw, 27px);
    line-height: 1.13;
  }

  .guardian-story-card p {
    font-size: clamp(14px, 3.9vw, 17px);
    line-height: 1.38;
  }

  .guardian-story-price {
    gap: 7px;
    margin-top: 16px;
    padding: 10px 13px;
  }

  .guardian-story-price strong {
    font-size: 26px;
  }

  .guardian-story-price span {
    font-size: 12px;
  }
}

/* ===== КАК ВЗЯТЬ ПИТОМЦА ПОД ОПЕКУ (guardian-care) ===== */
.guardian-care {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(70px, 7vw, 104px);
  background:
    radial-gradient(circle at 14% 12%, rgba(0, 169, 157, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #effbf8 100%);
}

.guardian-care-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.guardian-care-deco {
  position: absolute;
  z-index: 1;
  display: block;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 18px 22px rgba(0, 136, 127, 0.2));
  animation: softFloat 6.2s ease-in-out infinite;
}

.guardian-care-heart {
  top: clamp(22px, 5vw, 70px);
  right: clamp(18px, 6vw, 92px);
  width: clamp(48px, 6vw, 82px);
  height: clamp(44px, 5.4vw, 74px);
  transform: rotate(8deg);
}

.guardian-care-paw {
  left: clamp(18px, 6vw, 86px);
  bottom: clamp(18px, 5vw, 70px);
  width: clamp(78px, 10vw, 138px);
  height: clamp(68px, 8.6vw, 118px);
  animation-delay: -1.6s;
}

.guardian-care-photo {
  position: relative;
  overflow: hidden;
  min-height: clamp(360px, 34vw, 520px);
  border-radius: 8px;
  box-shadow: 0 24px 62px rgba(0, 74, 69, 0.16);
  margin: 0;
}

.guardian-care-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: 48% 48%;
}

.guardian-care-card {
  padding: clamp(26px, 4vw, 46px);
  border-radius: 8px;
  color: var(--teal-dark);
  background:
    radial-gradient(circle at 88% 10%, rgba(0, 169, 157, 0.09), transparent 28%),
    rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 169, 157, 0.2);
  box-shadow: 0 22px 56px rgba(0, 136, 127, 0.1);
}

.guardian-care-card h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
}

.guardian-care-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  counter-reset: guardian-step;
}

.guardian-care-list li {
  position: relative;
  isolation: isolate;
  min-height: 156px;
  padding: 84px 22px 22px;
  border-radius: 8px;
  color: var(--teal-dark);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(239, 251, 248, 0.78));
  border: 1px solid rgba(0, 169, 157, 0.18);
  box-shadow: 0 16px 36px rgba(0, 136, 127, 0.07);
  font-size: clamp(17px, 1.18vw, 20px);
  line-height: 1.46;
  font-weight: 500;
  counter-increment: guardian-step;
}

.guardian-care-list li::before {
  content: counter(guardian-step);
  position: absolute;
  top: 10px;
  left: 16px;
  z-index: -1;
  color: rgba(0, 169, 157, 0.13);
  font-size: clamp(72px, 7vw, 104px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: 0;
}

.guardian-care-list li::after {
  content: "·· 🐾 ··";
  position: absolute;
  top: 50%;
  right: -28px;
  z-index: 3;
  color: rgba(0, 169, 157, 0.34);
  font-size: 18px;
  letter-spacing: 2px;
  transform: translateY(-50%) rotate(9deg);
  pointer-events: none;
}

.guardian-care-list li:nth-child(2n)::after,
.guardian-care-list li:last-child::after {
  content: none;
}

.guardian-care-list li:last-child {
  grid-column: 1 / -1;
  min-height: 0;
  background:
    radial-gradient(circle at 92% 22%, rgba(244, 99, 124, 0.1), transparent 30%),
    linear-gradient(145deg, rgba(223, 248, 242, 0.82), rgba(255, 255, 255, 0.96));
}

@keyframes softFloat {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50%      { transform: translateY(-8px) rotate(var(--rot, 0deg)); }
}

@media (max-width: 760px) {
  .guardian-care {
    padding: 34px 16px;
  }

  .guardian-care-heart {
    top: 18px;
    right: 18px;
    width: 42px;
    height: 38px;
    opacity: 0.78;
  }

  .guardian-care-paw {
    left: 18px;
    bottom: 18px;
    width: 58px;
    height: 50px;
    opacity: 0.72;
  }

  .guardian-care-layout {
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(0, 74, 69, 0.14);
  }

  .guardian-care-photo {
    min-height: 220px;
    border-radius: 0;
    box-shadow: none;
  }

  .guardian-care-photo img {
    min-height: 220px;
    object-position: 50% 42%;
  }

  .guardian-care-card {
    padding: 22px 18px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .guardian-care-card h2 {
    margin-bottom: 12px;
    font-size: clamp(25px, 7vw, 32px);
    line-height: 1.08;
  }

  .guardian-care-list {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 18px;
    font-size: clamp(14px, 3.9vw, 17px);
    line-height: 1.38;
  }

  .guardian-care-list li {
    min-height: 0;
    padding: 46px 14px 14px;
    font-size: 15px;
    line-height: 1.36;
  }

  .guardian-care-list li::before {
    top: 6px;
    left: 12px;
    width: auto;
    height: auto;
    font-size: 54px;
  }

  .guardian-care-list li::after {
    top: auto;
    right: auto;
    bottom: -17px;
    left: 50%;
    font-size: 14px;
    letter-spacing: 1px;
    transform: translateX(-50%) rotate(92deg);
  }

  .guardian-care-list li:nth-child(2n)::after {
    content: "🐾";
  }

  .guardian-care-list li:last-child::after {
    content: none;
  }

  .guardian-care-list li:last-child {
    grid-column: auto;
  }
}

/* ===== ПРЕВЬЮ ПОДОПЕЧНЫХ (pets-preview) ===== */
.pets-preview {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 9% 18%, rgba(0, 169, 157, 0.12), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(244, 99, 124, 0.12), transparent 30%),
    linear-gradient(180deg, #effbf8 0%, #ffffff 100%);
}

.pets-preview-head {
  width: min(1180px, 100%);
  margin: 0 auto 28px;
}

.pets-preview-head h2 {
  /* остальное наследует от глобального h2 */
  margin-bottom: 12px;
}

.pets-preview-head p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: rgba(0, 136, 127, 0.78);
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.42;
  font-weight: 500;
}

.pets-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  width: min(1180px, 100%);
  margin: 0 auto;
}

.pet-preview-card {
  overflow: hidden;
  border-radius: 8px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 169, 157, 0.14);
  box-shadow: 0 18px 42px rgba(0, 74, 69, 0.11);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pet-preview-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 52px rgba(0, 74, 69, 0.18);
}

.pet-preview-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.1 / 1;
  object-fit: cover;
  object-position: 50% 42%;
}

.pet-preview-card-no-photo {
  width: 100%;
  aspect-ratio: 1.1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 169, 157, 0.08);
  font-size: 48px;
}

.pet-preview-card div {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.pet-preview-card strong {
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1;
  font-weight: 900;
}

.pet-preview-card span {
  color: rgba(0, 136, 127, 0.78);
  font-size: 15px;
  line-height: 1.25;
  font-weight: 500;
}

.pets-preview .section-help-action {
  width: min(1180px, 100%);
  margin: clamp(20px, 3vw, 32px) auto 0;
}

@media (max-width: 760px) {
  .pets-preview {
    padding: 42px 16px;
  }

  .pets-preview-head {
    margin-bottom: 18px;
  }

  .pets-preview-head h2 {
    font-size: clamp(28px, 8vw, 38px);
    line-height: 1.04;
  }

  .pets-preview-head p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.35;
  }

  .pets-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .pet-preview-card img,
  .pet-preview-card-no-photo {
    aspect-ratio: 1 / 1;
  }

  .pet-preview-card div {
    padding: 12px;
  }

  .pet-preview-card strong {
    font-size: 22px;
  }
}
/* ── pets-style cards (новый стиль карточек подопечных) ── */
.pets-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
  width: min(1180px, 100%);
  margin: 0 auto;
}

.pet-card {
  overflow: hidden;
  border-radius: 8px;
  background: rgba(240, 244, 242, 0.96);
  box-shadow: 0 20px 52px rgba(0, 74, 69, 0.11);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pet-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 64px rgba(0, 74, 69, 0.16);
}

.pet-photo-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.16 / 1;
  background: #dcebe6;
}

.pet-photo-wrap > a {
  display: block;
  width: 100%;
  height: 100%;
}

.pet-photo-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  transition: transform 0.35s ease;
}

.pet-card:hover .pet-photo-wrap img {
  transform: scale(1.04);
}

/* Thumbnails for multi-photo (2-3 photos per dog) */
.pet-photo-thumb {
  position: absolute;
  bottom: 12px;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 74, 69, 0.22);
  background: #fff;
}

.pet-photo-thumb:nth-of-type(2) { right: 76px; }
.pet-photo-thumb:nth-of-type(3) { right: 12px; }

.pet-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pet-card-no-photo {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 56px;
  background: rgba(0, 169, 157, 0.08);
}

.pet-card-body {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.pet-card h3 {
  margin: 0;
  color: var(--teal-dark);
  font-size: clamp(28px, 3.1vw, 44px);
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0;
}

.pet-card p {
  margin: 0;
  color: rgba(0, 136, 127, 0.82);
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 700;
}

.pet-card .pet-meta {
  color: #315d4e;
  font-weight: 800;
}

.pet-card .pet-shelter {
  color: rgba(0, 136, 127, 0.65);
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 700;
}

.pet-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.pet-meet-button,
.pet-donate-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

.pet-meet-button {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 14px 28px rgba(0, 169, 157, 0.2);
}

.pet-donate-button {
  flex: 1 1 180px;
  color: #fff;
  background: #f4637c;
  box-shadow: 0 14px 28px rgba(244, 99, 124, 0.2);
}

/* Разовая оплата — основной рабочий CTA, пока не активирован рекуррент (подписка) */
.pet-donate-once {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  flex: 1 1 180px;
  color: #fff;
  background: var(--teal);
  box-shadow: 0 14px 28px rgba(0, 169, 157, 0.2);
}

.pet-coverage-note {
  margin: 2px 0 0;
  padding: 14px 16px;
  border-radius: 8px;
  color: var(--teal-dark);
  background: rgba(0, 169, 157, 0.1);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.42;
  font-weight: 750;
}

.pet-story-source {
  display: none;
}

.pet-guardian {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(0, 169, 157, 0.1);
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 700;
  color: var(--teal-dark);
  line-height: 1.3;
}

.pet-guardian-icon {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  color: #f4637c;
}

.pet-guardian-tg {
  color: var(--teal);
  text-decoration: none;
  font-weight: 700;
}

.pet-guardian-tg:hover {
  text-decoration: underline;
}

.pet-guardian[hidden] {
  display: none;
}

.pet-modal-patron {
  margin-bottom: 4px;
}

/* ── pet popup (модалка деталей собаки) ── */
.pet-modal {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0, 74, 69, 0.38);
  backdrop-filter: blur(14px);
}

.pet-modal.is-open,
.pet-modal:target {
  display: grid;
}

.pet-modal-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 0.74fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 34px);
  width: min(100%, 900px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 74, 69, 0.25);
}

.pet-modal-photo {
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: #effbf8;
  aspect-ratio: 4 / 3;
}

.pet-modal-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}

.pet-modal-content {
  display: grid;
  align-content: start;
  gap: 14px;
  padding-right: 26px;
}

.pet-modal-content h3 {
  margin: 0;
  color: var(--teal-dark);
  font-size: clamp(36px, 5vw, 66px);
  line-height: 0.98;
  font-weight: 950;
}

.pet-modal-meta {
  color: #315d4e;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 850;
}

.pet-modal-shelter {
  color: rgba(0, 136, 127, 0.75);
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 700;
}

.pet-modal-story {
  margin: 0;
  color: var(--teal-dark);
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.48;
  font-weight: 600;
}

.pet-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

@media (max-width: 1040px) {
  .pets-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .pets-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .pet-photo-wrap {
    aspect-ratio: 1 / 0.75;
  }
  /* Pets-head на мобиле: одна колонка */
  .guardianship .pets-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 16px;
    margin-bottom: 22px;
  }
  .guardianship .pets-head h2 {
    margin-bottom: 10px;
    font-size: clamp(32px, 9vw, 48px);
    line-height: 1;
  }
  .guardianship .pets-microcopy,
  .guardianship .pets-intro,
  .guardianship .pets-note {
    font-size: clamp(15px, 4.1vw, 18px);
    line-height: 1.36;
  }
  .guardianship .pets-note {
    padding: 16px;
  }
  .pet-photo-thumb {
    width: 40px;
    height: 40px;
    bottom: 8px;
  }
  .pet-photo-thumb:nth-of-type(2) { right: 54px; }
  .pet-photo-thumb:nth-of-type(3) { right: 8px; }
  .pet-card-body {
    gap: 8px;
    padding: 13px;
  }
  .pet-card h3 {
    font-size: clamp(22px, 6.8vw, 30px);
  }
  .pet-card-actions {
    display: grid;
    gap: 8px;
    margin-top: 4px;
  }
  .pet-meet-button,
  .pet-donate-button {
    width: 100%;
    min-height: 38px;
    padding: 9px 10px;
    font-size: 12px;
    line-height: 1.1;
  }
  .pet-card p {
    font-size: 12px;
    line-height: 1.25;
  }
  .pet-modal-panel {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
  }
  .pet-modal-photo {
    aspect-ratio: 4 / 3;
  }
  .pet-modal-content {
    padding-right: 0;
  }
  .pet-modal-actions .pet-donate-button,
  .pet-modal-actions .button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .pets-grid {
    grid-template-columns: 1fr;
  }
}
