/* ==========================================================================
   home.css — ФАРМПРОЕКТ, главная страница
   Премиальный Apple-стиль: чистота, сетка, типографика, дозированные анимации.
   Подключается ПОСЛЕ style.css.
   ========================================================================== */

/* ---------- 0. Токены дизайна ---------- */
body.page-home {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Inter", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 56px;

  /* Палитра: строго 3 цвета + акцент */
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --bg-page: #ffffff;
  --bg-soft: #f5f5f7;
  --accent: #c8102e;

  /* Геометрия */
  --radius-card: 24px;
  --shadow-apple: 0 10px 40px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.12);

  /* Easing Apple */
  --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);

  font-family: var(--font);
  font-feature-settings: "ss01", "cv11";
  text-rendering: optimizeLegibility;
  color: var(--ink);
  background: var(--bg-page);
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

@media (max-width: 833px) {
  body.page-home { --header-h: 52px; }
}

/* Заголовки: отрицательный трекинг как у Apple */
.page-home h1,
.page-home h2,
.page-home h3,
.page-home .section-title {
  letter-spacing: -0.045em;
  font-weight: 700;
}

.page-home .section {
  position: relative;
}

.page-home .section--soft {
  background: var(--bg-soft);
}

.page-home .section-title--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.page-home .eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ---------- 1. Шапка (Fixed Navbar: премиум-стекло Apple) ---------- */

.page-home .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  background: #ffffff;
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease-apple),
              border-color 0.3s var(--ease-apple),
              box-shadow 0.3s var(--ease-apple);
}

.page-home .site-header::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: -50vw;
  right: -50vw;
  height: 3000px;
  background: #ffffff;
  pointer-events: none;
}

.page-home .site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   Новый первый экран главной страницы (Дизайн 2026: ФАРМПРОЕКТ + Животные)
   ========================================================================== */

.page-home .hero-full.hero-home-v2 {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: auto;
  margin-top: 0 !important;
  padding: 0 !important;
  color: var(--ink);
  background: #ffffff;
  overflow: hidden;
  isolation: isolate;
}

/* Верхняя фото-зона */
.page-home .hero-home-v2 .hero-stage-wrap {
  position: relative;
  width: 100%;
  min-height: calc(clamp(480px, 47vw, 700px) + 25px);
  max-height: calc(100vh - 45px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: visible;
  container-type: inline-size;
}

/* Фоновое фото: животные и небо видны полностью */
.page-home .hero-home-v2 .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #e9ece7;
  overflow: hidden;
}

.page-home .hero-home-v2 .hero-img,
.page-home .hero-home-v2 .hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  animation: none;
  transform: none;
}

/* Мягкая виньетка слева для идеальной читаемости текста */
.page-home .hero-home-v2 .hero-shade-v2 {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.22) 34%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, transparent 22%);
}

/* Центральный блок контента */
.page-home .hero-home-v2 .hero-main-body {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + clamp(18px, 2.6vh, 32px));
  padding-bottom: calc(clamp(36px, 4.4vw, 62px) + 25px);
  width: 100%;
}

.page-home .hero-home-v2 .hero-text-col {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: none;
}

/* Кикер: тире + текст */
.page-home .hero-home-v2 .hero-kicker-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(12px, 1.6vh, 18px);
}

.page-home .hero-home-v2 .hero-kicker-dash {
  width: 38px;
  height: 3px;
  background: #13382c;
  border-radius: 2px;
  flex: none;
}

.page-home .hero-home-v2 .hero-kicker-label {
  font-size: clamp(12px, 1.1vw, 13.5px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #13382c;
}

/* Главный заголовок ФАРМ (белый) + ПРОЕКТ (тёмно-зелёный) */
.page-home .hero-home-v2 .hero-heading-split {
  margin: 0 0 clamp(12px, 1.8vh, 18px);
  font-family: var(--font, 'Inter', -apple-system, sans-serif);
  font-size: clamp(48px, 6.2vw, 86px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
}

.page-home .hero-home-v2 .hh-part-farm {
  color: #ffffff;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.45), 0 1px 4px rgba(0, 0, 0, 0.35);
}

.page-home .hero-home-v2 .hh-part-project {
  color: #165535;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6);
}

/* Подзаголовок (две строки) */
.page-home .hero-home-v2 .hero-subheading-lead {
  margin: 0 0 clamp(20px, 2.8vh, 32px);
  font-size: clamp(18px, 1.85vw, 24px);
  font-weight: 400;
  line-height: 1.48;
  color: #ffffff;
  max-width: 580px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.35);
}

/* Кнопки действия (сбалансированная группа) */
.page-home .hero-home-v2 .hero-action-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.page-home .hero-home-v2 .hero-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 9999px;
  text-decoration: none;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-home .hero-home-v2 .hero-pill-btn--primary {
  background: #165535;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(22, 85, 53, 0.35);
}

.page-home .hero-home-v2 .hero-pill-btn--primary:hover {
  background: #12442b;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(22, 85, 53, 0.45);
}

.page-home .hero-home-v2 .hero-pill-btn--primary:active {
  transform: translateY(0) scale(0.97) !important;
  box-shadow: 0 2px 8px rgba(22, 85, 53, 0.25) !important;
  transition-duration: 0.1s !important;
}

.page-home .hero-home-v2 .hero-pill-btn--secondary {
  background: rgba(255, 255, 255, 0.88);
  color: #165535;
  border: 1px solid rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.page-home .hero-home-v2 .hero-pill-btn--secondary:hover {
  background: #ffffff;
  color: #12442b;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}

.page-home .hero-home-v2 .hero-pill-btn--secondary:active {
  transform: translateY(0) scale(0.97) !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
  transition-duration: 0.1s !important;
}

.page-home .hero-home-v2 .hero-pill-arrow {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-home .hero-home-v2 .hero-pill-btn--primary:hover .hero-pill-arrow {
  transform: translateX(4px);
}

.page-home .hero-home-v2 .hero-pill-btn--secondary:hover .hero-pill-arrow {
  transform: translateY(3px);
}

/* Волна на нижней кромке фото-зоны */
.page-home .hero-home-v2 .hero-wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  line-height: 0;
  pointer-events: none;
  z-index: 6;
  margin-bottom: -1px;
}

.page-home .hero-home-v2 .hero-wave-svg {
  display: block;
  width: 100%;
  height: clamp(38px, 4.4vw, 68px);
}

/* --- Плавающий бейдж акции на первом экране --- */
.page-home .hero-promo-floating {
  position: fixed;
  right: clamp(24px, 4.6vw, 64px);
  bottom: clamp(73px, calc(9.5vh + 8px), 106px);
  width: clamp(90px, 7.8vw, 114px);
  z-index: 990;
  cursor: pointer;
  animation: heroPromoFloat 3.4s ease-in-out infinite;
  transition: transform 0.25s ease, opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

@keyframes heroPromoFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.page-home .hero-promo-floating:hover {
  filter: drop-shadow(0 14px 28px rgba(180, 20, 20, 0.35));
}

.page-home .hero-promo-floating.is-dismissed {
  opacity: 0;
  transform: scale(0.65) translateY(12px);
  pointer-events: none;
}

.page-home .hero-promo-img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28));
  transition: transform 0.25s ease;
}

.page-home .hero-promo-floating:hover .hero-promo-img {
  transform: scale(1.03);
}

.page-home .hero-promo-close {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  background: rgba(185, 28, 28, 0.95);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 12;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
  padding: 0;
}

.page-home .hero-promo-close:hover {
  transform: scale(1.15);
  background: #dc2626;
  border-color: #ffffff;
}

.page-home .hero-promo-close:active {
  transform: scale(0.95);
}

/* Полноэкранный модальный баннер акции */
.promo-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(8, 20, 14, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 32px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.26s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.26s ease;
}

.promo-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.promo-modal-backdrop.is-closing {
  opacity: 0;
  visibility: visible;
}

.promo-modal-dialog {
  position: relative;
  max-width: min(92vw, 640px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.92) translateY(12px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.promo-modal-backdrop.is-open .promo-modal-dialog {
  transform: scale(1) translateY(0);
}

.promo-modal-backdrop.is-closing .promo-modal-dialog {
  transform: scale(0.94) translateY(10px);
}

.promo-modal-content {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.25);
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.promo-modal-poster {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 88vh;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
}

.promo-modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  color: #1e293b;
  border: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.promo-modal-close:hover {
  transform: scale(1.12);
  background: #165535;
  color: #ffffff;
}

.promo-modal-close:active {
  transform: scale(0.95);
}

/* Нижний блок: 4 карточки под волной на белом фоне */
.page-home .hero-home-v2 .hero-features-bar {
  position: relative;
  z-index: 7;
  background: #ffffff;
  padding: 16px 0 26px;
  border-bottom: none;
}

.page-home .hero-home-v2 .hero-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.8vw, 36px);
  align-items: center;
}

.page-home .hero-home-v2 .hero-fcard {
  display: flex;
  align-items: center;
  gap: 16px;
}

.page-home .hero-home-v2 .hero-fcard-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #eef4f0;
  color: #13382c;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-home .hero-home-v2 .hero-fcard:hover .hero-fcard-icon {
  transform: scale(1.08);
  background: #e1eee4;
}

.page-home .hero-home-v2 .hero-fcard-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .hero-home-v2 .hero-fcard-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
}

.page-home .hero-home-v2 .hero-fcard-desc {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.38;
  color: #556056;
  font-weight: 400;
}

/* ---------- Плавное открытие первого экрана (Hero Entrance) ---------- */
.page-home .hero-home-v2 .hero-bg {
  animation: heroBgIn 1.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroBgIn {
  0% {
    opacity: 0;
    filter: brightness(0.92);
  }
  100% {
    opacity: 1;
    filter: brightness(1);
  }
}

.page-home .hero-home-v2 .hero-kicker-row {
  animation: heroFadeSlideLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.page-home .hero-home-v2 .hero-heading-split {
  animation: heroTextRise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

.page-home .hero-home-v2 .hero-subheading-lead {
  animation: heroTextRise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.34s both;
}

.page-home .hero-home-v2 .hero-action-wrap {
  animation: heroTextRise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.46s both;
}

.page-home .hero-home-v2 .hero-brands-bar {
  animation: heroTextRise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.58s both;
}

.page-home .hero-home-v2 .hero-wave-divider {
  animation: heroWaveIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.page-home .hero-home-v2 .hero-fcard {
  animation: heroTextRise 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.page-home .hero-home-v2 .hero-fcard:nth-child(1) { animation-delay: 0.52s; }
.page-home .hero-home-v2 .hero-fcard:nth-child(2) { animation-delay: 0.60s; }
.page-home .hero-home-v2 .hero-fcard:nth-child(3) { animation-delay: 0.68s; }
.page-home .hero-home-v2 .hero-fcard:nth-child(4) { animation-delay: 0.76s; }

@keyframes heroFadeSlideLeft {
  0% {
    opacity: 0;
    transform: translate3d(-18px, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroTextRise {
  0% {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroWaveIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Адаптив для планшетов и мобильных */
@media (max-width: 1024px) {
  .page-home .hero-home-v2 .hero-stage-wrap {
    min-height: calc(clamp(520px, 64vw, 760px) + 20px);
  }

  .page-home .hero-home-v2 .hero-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 28px;
  }
}

@media (max-width: 768px) {
  .page-home .hero-home-v2 .hero-stage-wrap {
    min-height: auto;
    padding-bottom: 50px;
  }

  .page-home .hero-home-v2 .hero-shade-v2 {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.76) 0%, rgba(255, 255, 255, 0.56) 62%, rgba(255, 255, 255, 0.2) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, transparent 20%);
  }

  .page-home .hero-home-v2 .hh-part-farm {
    color: #165535;
    text-shadow: none;
  }

  .page-home .hero-home-v2 .hero-subheading-lead {
    color: #1a2e22;
    text-shadow: none;
  }

  .page-home .hero-home-v2 .hero-action-wrap {
    width: 100%;
    gap: 10px;
  }
  .page-home .hero-home-v2 .hero-pill-btn {
    padding: 13px 22px;
    font-size: 15px;
  }

  .page-home .hero-home-v2 .hero-features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .page-home .hero-home-v2 .hero-fcard {
    padding: 6px 0;
  }

  .page-home .hero-promo-floating {
    right: 16px;
    bottom: 24px;
    width: 82px;
  }

  .page-home .hero-promo-close {
    width: 24px;
    height: 24px;
    top: 0;
    right: 0;
  }

  .promo-modal-close {
    top: -10px;
    right: -10px;
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  .page-home .hero-promo-floating {
    right: 12px;
    bottom: 20px;
    width: 76px;
  }
}


/* Логотип */
.page-home .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.page-home .logo img {
  height: clamp(27px, 3.15vw, 31.5px);
  width: auto;
  max-width: 191px;
  display: block;
  object-fit: contain;
}

.page-home .logo-mark {
  width: 13.5px;
  height: 13.5px;
  border-radius: 50%;
  background: conic-gradient(from 45deg, var(--accent) 0 50%, #3f7d3a 50% 100%);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.page-home .logo-text strong {
  font-size: 16.85px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

/* Меню: чистый текст */
.page-home .main-nav {
  margin: 0;
  gap: 32px;
}

.page-home .main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 4px;
  border: none;
  border-radius: 0;
  background: transparent !important;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--ink);
  opacity: 1;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
  transition: color 0.25s var(--ease-apple);
}

.page-home .main-nav a:hover {
  color: var(--ink-2);
  background: transparent !important;
}

.page-home .main-nav a.is-active {
  color: var(--ink);
  font-weight: 600;
  background: transparent !important;
}

.page-home .main-nav a.is-active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 2px;
  right: 2px;
  height: 2px;
  background: #236938;
  border-radius: 2px;
}

.page-home .nav-toggle span,
.page-home .nav-toggle span::before,
.page-home .nav-toggle span::after {
  background: var(--ink);
}

.page-home .header-cta {
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  background: var(--ink);
  color: #ffffff;
  border: 1px solid transparent;
  transition: background 0.25s var(--ease-apple), transform 0.2s var(--ease-apple);
}

.page-home .header-cta:hover {
  background: #000000;
  transform: scale(1.03);
}

/* ---------- 2. Кнопка «Прайс-листы» и выпадающий список ---------- */

.page-home .price-menu {
  position: relative;
  justify-self: end;
}

.page-home .price-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font: 500 13px/1 var(--font);
  letter-spacing: -0.01em;
  color: #ffffff;
  background: #1d1d1f;
  border: 1px solid transparent;
  border-radius: 99px;
  cursor: pointer;
  animation: none !important;
  transition: background 0.25s var(--ease-apple),
              transform 0.2s var(--ease-apple),
              box-shadow 0.25s var(--ease-apple);
}

.page-home .price-btn svg {
  width: 14px;
  height: 14px;
  stroke: #ffffff;
  transition: transform 0.3s var(--ease-apple);
}

.page-home .price-btn:hover,
.page-home .price-menu.is-open .price-btn {
  background: #000000;
}

.page-home .price-btn:active {
  transform: scale(0.97);
}


/* Выпадающий список: белая карточка с мягкой тенью */
.page-home .price-drop {
  position: absolute;
  right: 0;
  top: 100%;
  width: 290px;
  padding: 16px 8px 8px;
  display: grid;
  gap: 4px;
  isolation: isolate;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease-apple),
              transform 0.3s var(--ease-apple),
              visibility 0s 0.25s;
}

.page-home .price-drop::before {
  content: "";
  position: absolute;
  inset: 8px 0 0;
  z-index: -1;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  box-shadow: var(--shadow-apple);
}

.page-home .price-menu:hover .price-drop,
.page-home .price-menu:focus-within .price-drop,
.page-home .price-menu.is-open .price-drop {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.page-home .pd-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  background: transparent;
  transition: background 0.2s var(--ease-apple);
}

.page-home .pd-item:hover,
.page-home .pd-item:focus-visible {
  background: var(--bg-soft);
  color: var(--ink);
  transform: none;
  outline: none;
}

.page-home .pd-item:active {
  background: #e8e8ed;
}

.page-home .pd-ic {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  flex: none;
}

.page-home .pd-t {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

/* ---------- 3. Первый экран (Hero) ---------- */

.page-home .hero-shade {
  background:
    radial-gradient(90% 70% at 50% 42%, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.12) 32%, rgba(0, 0, 0, 0.1) 55%, rgba(0, 0, 0, 0.78) 100%);
}

.page-home .hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: clamp(24px, 5vh, 56px);
}

/* Постерный логотип: огромный, посимвольная анимация */
.page-home .wordmark {
  display: flex !important;
  justify-content: center !important;
  font-size: clamp(40px, 11.5vw, 160px) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: -0.045em !important;
  perspective: 900px !important;
  color: #ffffff;
  margin: 0 auto;
  width: min(94vw, 1200px);
  text-shadow: none;
}

/* Анимация букв: выныривание снизу с поворотом по оси X */
.page-home .wordmark .ltr {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(40px) rotateX(-20deg);
  transform-origin: 50% 100%;
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i, 0) * 55ms + 100ms);
}

.page-home .wordmark.is-in .ltr {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

/* Подпись под заголовком */
.page-home .hero-kicker {
  margin-top: clamp(12px, 1.8vw, 22px);
  font-size: clamp(13px, 1.25vw, 15px);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  animation-delay: 1.9s;
}

/* ==========================================================================
   Apple-стиль: Секция «О компании ФАРМПРОЕКТ»
   ========================================================================== */
.page-home .hp-hero {
  position: relative;
  padding-top: clamp(64px, 7.5vw, 96px);
  padding-bottom: clamp(48px, 5.5vw, 68px);
  background: #fbfbfc;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.page-home .hp-hero-main {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 4.5vw, 64px);
  align-items: center;
}

/* Левая текстовая колонка */
.page-home .hp-hero-content {
  display: flex;
  flex-direction: column;
  max-width: 560px;
}

.page-home .hp-kicker-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.page-home .hp-kicker-dash {
  width: 28px;
  height: 2.5px;
  background: #236938;
  border-radius: 2px;
  flex-shrink: 0;
}

.page-home .hp-kicker-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #555e58;
}

.page-home .hp-hero-title {
  margin: 0 0 16px;
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #111e14;
}

.page-home .hp-hero-slogan {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #236938;
  margin-bottom: 22px;
}

.page-home .hp-hero-lead {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 16.5px);
  line-height: 1.62;
  color: #555e58;
  max-width: 490px;
}

/* Правая колонка с коллажем */
.page-home .hp-hero-collage-wrap {
  position: relative;
  width: 100%;
}

.page-home .hp-collage {
  position: relative;
  width: 100%;
  max-width: 490px;
  margin-left: auto;
  margin-right: 14px;
}

/* Основная карточка: Ферма / Коровы */
.page-home .hp-card-farm {
  position: relative;
  border-radius: 28px;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.12);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
}

.page-home .hp-card-farm:hover {
  transform: translateY(-5px);
  box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.16);
}

.page-home .hp-card-farm-media {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 1.18;
  background: #e5e5ea;
}

.page-home .hp-farm-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.page-home .hp-card-farm:hover .hp-farm-img {
  transform: scale(1.045);
}

/* Плавающий стеклянный бейдж: Опыт работы (справа вверху) */
.page-home .hp-badge-exp {
  position: absolute;
  top: -16px;
  right: -14px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 14px 22px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-home .hp-card-farm:hover .hp-badge-exp {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.page-home .hp-badge-exp-num {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #111e14;
}

.page-home .hp-badge-exp-label {
  font-size: 12px;
  font-weight: 600;
  color: #555e58;
  margin-top: 4px;
}

.page-home .hp-badge-exp-bar {
  width: 24px;
  height: 2px;
  background: #236938;
  margin-top: 6px;
  border-radius: 2px;
}

/* Плавающий стеклянный бейдж: Доставка (справа внизу) */
.page-home .hp-badge-delivery {
  position: absolute;
  bottom: 24px;
  right: -14px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 10px 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #111e14;
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-home .hp-card-farm:hover .hp-badge-delivery {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.page-home .hp-badge-deliv-icon {
  display: flex;
  align-items: center;
  color: #111e14;
}

/* Вторая карточка: Корма Purina */
.page-home .hp-card-feed {
  position: absolute;
  bottom: 30px;
  left: -65px;
  width: 44%;
  aspect-ratio: 0.82;
  border-radius: 20px;
  overflow: hidden;
  border: 3.5px solid #ffffff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.15);
  z-index: 3;
  background: #e5e5ea;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
}

.page-home .hp-card-feed:hover {
  transform: translateY(-8px) rotate(-1.5deg);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.22);
}

.page-home .hp-feed-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.page-home .hp-card-feed:hover .hp-feed-img {
  transform: scale(1.06);
}

.page-home .hp-brand-badge--purina {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.hp-purina-emblem {
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.page-home .hp-checker-purina {
  display: grid;
  grid-template-columns: repeat(3, 4px);
  grid-template-rows: repeat(3, 4px);
  gap: 0;
  width: 16px;
  height: 16px;
  border: 1.5px solid #e31837;
  background: #ffffff;
  padding: 1px;
  box-sizing: border-box;
}

.page-home .hp-checker-purina i:nth-child(odd) {
  background: #e31837;
}

.page-home .hp-checker-purina i:nth-child(even) {
  background: #ffffff;
}

.page-home .hp-brand-text {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #111e14;
}

/* Третья карточка: Питомцы Provipet */
.page-home .hp-card-pets {
  position: absolute;
  bottom: -22px;
  left: 55px;
  width: 38%;
  aspect-ratio: 1.15;
  border-radius: 20px;
  overflow: hidden;
  border: 3.5px solid #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  z-index: 4;
  background: #e5e5ea;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
}

.page-home .hp-card-pets:hover {
  transform: translateY(-8px) rotate(1.5deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.24);
}

.page-home .hp-pets-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.page-home .hp-card-pets:hover .hp-pets-img {
  transform: scale(1.06);
}

.page-home .hp-brand-badge--provipet {
  position: absolute;
  bottom: 8px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.page-home .hp-paw-icon {
  display: flex;
  align-items: center;
}

/* ==========================================================================
   Нижняя полоса: 3 пункта преимуществ под главным экраном
   ========================================================================== */
.page-home .hp-features-strip {
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 36px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3.5vw, 48px);
}

.page-home .hp-feat-col {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  position: relative;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.page-home .hp-feat-col:hover {
  transform: translateY(-4px);
}

.page-home .hp-feat-col:not(:last-child)::after {
  content: "";
  position: absolute;
  right: calc(-1 * clamp(12px, 1.75vw, 24px));
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: #e5e5ea;
}

.page-home .hp-feat-lead-dash {
  display: block;
  width: 24px;
  height: 2px;
  background: #236938;
  border-radius: 2px;
  margin-top: 14px;
  flex-shrink: 0;
}

.page-home .hp-feat-icon {
  flex-shrink: 0;
  color: #111e14;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.4s ease;
  will-change: transform;
}

.page-home .hp-feat-col:hover .hp-feat-icon {
  transform: scale(1.12);
  color: #236938;
}

.page-home .hp-feat-title {
  margin: 0 0 5px;
  font-size: 16px;
  font-weight: 700;
  color: #111e14;
  letter-spacing: -0.015em;
}

.page-home .hp-feat-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #555e58;
}

/* ---------- 4. О компании (About) ---------- */

.page-home #about {
  scroll-margin-top: var(--header-h, 56px);
  background: #ffffff;
  position: relative;
}

.page-home #about::before,
.page-home #about::after,
.page-home .about::before,
.page-home .about::after {
  display: none !important;
}

.page-home .about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}

.page-home .about-text {
  order: 0;
}

.page-home .about-text .section-title {
  margin-bottom: 24px;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.page-home .about-text p {
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 1.6em;
}

.page-home .about-text p:last-child {
  margin-bottom: 0;
}

.page-home .about-media {
  order: 1;
  aspect-ratio: 1.15;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: var(--shadow-apple);
  position: relative;
}

.page-home .about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-card);
  transition: transform 0.5s var(--ease-apple);
}

.page-home .about-media:hover img {
  transform: scale(1.05);
}

/* ==========================================================================
   4.8. Раздел «Наши товарные знаки» (Organic Artboard Showcase из макета)
   ========================================================================== */

.page-home .hp-trademarks-section {
  position: relative;
  background: #fcf9f2;
  padding: clamp(36px, 4.2vw, 60px) 0 clamp(48px, 5.5vw, 76px);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

/* Фоновая концентрическая рябь в углах (как на макете) */
.page-home .hp-tm-ripple {
  position: absolute;
  width: clamp(260px, 28vw, 380px);
  height: clamp(260px, 28vw, 380px);
  pointer-events: none;
  z-index: 1;
}

.page-home .hp-tm-ripple--tr {
  top: -80px;
  right: -80px;
}

.page-home .hp-tm-ripple--bl {
  bottom: -80px;
  left: -80px;
}

.page-home .hp-tm-container {
  position: relative;
  z-index: 3;
}

/* Шапка раздела: Заголовок слева и текст описания справа */
.page-home .hp-trademarks-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 48px;
  flex-wrap: wrap;
  margin-bottom: clamp(6px, 1.2vw, 16px);
}

.page-home .hp-tm-header-left {
  flex: 1 1 340px;
}

.page-home .hp-tm-header-right {
  flex: 0 1 420px;
}

.page-home .hp-trademarks-title {
  margin: 8px 0 0;
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #111e14;
}

.page-home .hp-trademarks-lead {
  margin: 0;
  font-size: clamp(14px, 1.15vw, 15.5px);
  line-height: 1.55;
  color: #353f38;
  font-weight: 400;
}

/* ==========================================================================
   Художественный подиум (Artboard с композицией кругов, ветки и логотипов)
   ========================================================================== */

.page-home .hp-tm-artboard {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 6.6;
  min-height: clamp(360px, 38vw, 500px);
  border-radius: 36px;
  isolation: isolate;
  user-select: none;
}

/* Водяные знаки-иллюстрации (лапки, колоски, косточки) */
.page-home .hp-tm-wm {
  position: absolute;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 1;
  opacity: 0.85;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* ==========================================================================
   Водяные знаки-иллюстрации со скриншота (лапки, колоски, косточки)
   ========================================================================== */
.page-home .hp-tm-wm {
  position: absolute;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 1;
  opacity: 0.85;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 1. Общий SVG шаблон следов лапок (3 отпечатка) */
.page-home .hp-tm-wm--paws-l1,
.page-home .hp-tm-wm--paws-l2,
.page-home .hp-tm-wm--paws-top-1,
.page-home .hp-tm-wm--paws-top-2,
.page-home .hp-tm-wm--paws-top-3,
.page-home .hp-tm-wm--paws-leaf,
.page-home .hp-tm-wm--paws-center,
.page-home .hp-tm-wm--paws-bot {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60' fill='none' stroke='%23debfa2' stroke-width='1.5'%3E%3Ccircle cx='14' cy='18' r='4'/%3E%3Ccircle cx='26' cy='12' r='4'/%3E%3Ccircle cx='38' cy='14' r='4'/%3E%3Ccircle cx='48' cy='22' r='4'/%3E%3Cpath d='M20 34 C18 44 32 48 35 42 C38 48 52 44 50 34 C48 24 22 24 20 34 Z'/%3E%3C/svg%3E");
}

/* 2. Одиночный крупный след лапы (в концентрических кругах слева) */
.page-home .hp-tm-wm--paw-single {
  left: 6.5%;
  top: 56%;
  width: 44px;
  height: 44px;
  transform: rotate(-8deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 70' fill='none' stroke='%23debfa2' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='18' cy='22' r='5'/%3E%3Ccircle cx='31' cy='15' r='5'/%3E%3Ccircle cx='45' cy='18' r='5'/%3E%3Ccircle cx='56' cy='28' r='5'/%3E%3Cpath d='M24 38 C20 52 35 56 38 48 C42 56 57 52 53 38 C50 26 27 26 24 38 Z'/%3E%3C/svg%3E");
}

/* Лапки слева у края */
.page-home .hp-tm-wm--paws-l1 {
  left: 3%;
  top: 26%;
  width: 34px;
  height: 34px;
  transform: rotate(-15deg);
}

.page-home .hp-tm-wm--paws-l2 {
  left: 6%;
  top: 29%;
  width: 34px;
  height: 34px;
  transform: rotate(15deg);
}

/* Цепочка лапок сверху под текстом */
.page-home .hp-tm-wm--paws-top-1 {
  left: 56.5%;
  top: 4%;
  width: 34px;
  height: 34px;
  transform: rotate(20deg);
}

.page-home .hp-tm-wm--paws-top-2 {
  left: 53.5%;
  top: 9%;
  width: 34px;
  height: 34px;
  transform: rotate(-10deg);
}

.page-home .hp-tm-wm--paws-top-3 {
  left: 55.5%;
  top: 14%;
  width: 34px;
  height: 34px;
  transform: rotate(18deg);
}

/* Лапки возле верхних листочков */
.page-home .hp-tm-wm--paws-leaf {
  left: 68%;
  top: 16%;
  width: 34px;
  height: 34px;
  transform: rotate(-12deg);
}

/* Лапки возле Петосуприм */
.page-home .hp-tm-wm--paws-center {
  left: 66%;
  top: 44%;
  width: 34px;
  height: 34px;
  transform: rotate(22deg);
}

/* Лапки под нижним зелёным кругом */
.page-home .hp-tm-wm--paws-bot {
  left: 50.5%;
  top: 68%;
  width: 34px;
  height: 34px;
  transform: rotate(-15deg);
}

/* 3. Колоски пшеницы */
.page-home .hp-tm-wm--wheat-bl,
.page-home .hp-tm-wm--wheat-mid,
.page-home .hp-tm-wm--wheat-bot,
.page-home .hp-tm-wm--wheat-br {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 120' fill='none' stroke='%23d8c5af' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M30 115 C28 80 32 40 30 10'/%3E%3Cpath d='M30 20 C22 16 18 10 24 6 C28 10 30 14 30 20 Z'/%3E%3Cpath d='M30 20 C38 16 42 10 36 6 C32 10 30 14 30 20 Z'/%3E%3Cpath d='M30 38 C20 34 16 26 22 22 C28 26 30 32 30 38 Z'/%3E%3Cpath d='M30 38 C40 34 44 26 38 22 C32 26 30 32 30 38 Z'/%3E%3Cpath d='M30 56 C20 52 16 44 22 40 C28 44 30 50 30 56 Z'/%3E%3Cpath d='M30 56 C40 52 44 44 38 40 C32 44 30 50 30 56 Z'/%3E%3Cpath d='M30 74 C20 70 16 62 22 58 C28 62 30 68 30 74 Z'/%3E%3Cpath d='M30 74 C40 70 44 62 38 58 C32 62 30 68 30 74 Z'/%3E%3C/svg%3E");
}

.page-home .hp-tm-wm--wheat-bl {
  left: 9%;
  top: 68%;
  width: 44px;
  height: 80px;
  transform: rotate(-35deg);
}

.page-home .hp-tm-wm--wheat-mid {
  left: 35.5%;
  top: 28%;
  width: 38px;
  height: 75px;
  transform: rotate(-26deg);
}

.page-home .hp-tm-wm--wheat-bot {
  left: 42.5%;
  top: 70%;
  width: 38px;
  height: 75px;
  transform: rotate(32deg);
}

.page-home .hp-tm-wm--wheat-br {
  left: 92%;
  top: 58%;
  width: 40px;
  height: 76px;
  transform: rotate(24deg);
}

/* 4. Косточки */
.page-home .hp-tm-wm--bone-r,
.page-home .hp-tm-wm--bone-br {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 40' fill='none' stroke='%23dfd1be' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M 22 16 C 18 10 8 12 10 20 C 8 28 18 30 22 24 L 58 24 C 62 30 72 28 70 20 C 72 12 62 10 58 16 Z'/%3E%3C/svg%3E");
}

.page-home .hp-tm-wm--bone-r {
  left: 93%;
  top: 28%;
  width: 54px;
  height: 30px;
  transform: rotate(38deg);
}

.page-home .hp-tm-wm--bone-br {
  left: 88.5%;
  top: 70%;
  width: 52px;
  height: 28px;
  transform: rotate(-22deg);
}

/* ==========================================================================
   Разноцветные пастельные круги (Орбы из макета)
   ========================================================================== */
.page-home .hp-tm-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* 1. Маленький персиковый круг слева */
.page-home .hp-tm-orb--peach-sm {
  left: 10%;
  top: 16%;
  width: 28px;
  height: 28px;
  background: #fedfc4;
}

/* 2. Большой персиковый круг (за Зверадости) */
.page-home .hp-tm-orb--peach-lg {
  left: 12%;
  top: 14%;
  width: clamp(170px, 18vw, 225px);
  height: clamp(170px, 18vw, 225px);
  background: #fed6b8;
}

/* 3. Шалфейно-зеленый круг (снизу слева) */
.page-home .hp-tm-orb--green-left {
  left: 25.5%;
  top: 48%;
  width: clamp(165px, 17.5vw, 215px);
  height: clamp(165px, 17.5vw, 215px);
  background: #a7c7a5;
}

/* 4. Нежно-синий круг (сверху за Петосуприм) */
.page-home .hp-tm-orb--blue-top {
  left: 52%;
  top: 18%;
  width: clamp(150px, 16vw, 195px);
  height: clamp(150px, 16vw, 195px);
  background: #a8c3d9;
}

/* 5. Нежно-синий круг (снизу справа от центра) */
.page-home .hp-tm-orb--blue-bot {
  left: 58%;
  top: 46%;
  width: clamp(135px, 14.5vw, 175px);
  height: clamp(135px, 14.5vw, 175px);
  background: #9bbcd7;
}

/* 6. Шалфейно-зеленый круг (справа за Ус Усович) */
.page-home .hp-tm-orb--green-right {
  left: 82%;
  top: 10%;
  width: clamp(155px, 16.5vw, 205px);
  height: clamp(155px, 16.5vw, 205px);
  background: #9bbd9c;
}

/* ==========================================================================
   Зелёные парящие листочки
   ========================================================================== */
.page-home .hp-tm-leaf-item {
  position: absolute;
  width: 26px;
  height: 32px;
  pointer-events: none;
  z-index: 4;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 34' fill='none'%3E%3Cpath d='M14 2 C25 8 28 22 14 32 C0 22 3 8 14 2 Z' fill='%233a7a44'/%3E%3Cpath d='M14 6 L14 28' stroke='%23255a2e' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.page-home .hp-tm-leaf-item--1 {
  left: 26%;
  top: 16%;
  transform: rotate(-35deg);
}

.page-home .hp-tm-leaf-item--2 {
  left: 24.5%;
  top: 70%;
  transform: rotate(40deg);
}

.page-home .hp-tm-leaf-item--3 {
  left: 58.5%;
  top: 14%;
  transform: rotate(-25deg);
}

.page-home .hp-tm-leaf-item--4 {
  left: 61.5%;
  top: 12%;
  transform: rotate(30deg);
}

.page-home .hp-tm-leaf-item--5 {
  left: 91%;
  top: 42%;
  transform: rotate(-45deg);
}

/* ==========================================================================
   Рукописные заметки со стрелочками («Любимые бренды» и «Надежное качество»)
   ========================================================================== */
.page-home .hp-tm-note {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 5;
  display: flex;
  pointer-events: none;
}

.page-home .hp-tm-note--top {
  left: 27%;
  top: 12%;
  align-items: flex-end;
  gap: 6px;
}

.page-home .hp-tm-note--top .hp-tm-note-text {
  font-family: 'Caveat', 'Segoe Print', cursive, sans-serif;
  font-size: clamp(21px, 2.2vw, 27px);
  font-weight: 700;
  color: #6a5240;
  line-height: 1;
  transform: rotate(-3deg);
  white-space: nowrap;
}

.page-home .hp-tm-arrow--top {
  transform: translateY(4px);
}

.page-home .hp-tm-note--bot {
  left: 58%;
  top: 68%;
  align-items: flex-start;
  gap: 8px;
}

.page-home .hp-tm-arrow--bot {
  transform: translateY(-4px);
}

.page-home .hp-tm-note-stack {
  display: flex;
  flex-direction: column;
  font-family: 'Caveat', 'Segoe Print', cursive, sans-serif;
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 700;
  color: #6a5240;
  line-height: 1.05;
  transform: rotate(3deg);
  white-space: nowrap;
}

/* Заметка в правом нижнем углу */
.page-home .hp-tm-bottom-note {
  position: absolute;
  left: 71%;
  top: 82%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 600;
  line-height: 1.45;
  color: #333d36;
  text-align: left;
}

/* ==========================================================================
   ТРИ ЛОГОТИПА И КРАСИВЫЕ АНИМАЦИИ
   ========================================================================== */

.page-home .hp-tm-logos-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 6;
  pointer-events: none;
}

/* Общий контейнер логотипа (под) — позиционирование от центра */
.page-home .hp-tm-logo-pod {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  outline: none;
  pointer-events: auto;
}

.page-home a.hp-tm-logo-pod {
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.page-home .hp-tm-logo-pod.hp-tm-has-cert {
  cursor: pointer;
}

/* Внутренний контейнер для анимаций вылета и парения */
.page-home .hp-tm-logo-float {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, filter;
}

.page-home .hp-tm-logo-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

/* Мягкая аура подсветки */
.page-home .hp-tm-logo-glow {
  position: absolute;
  inset: -15%;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.16;
  filter: blur(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  z-index: -1;
}

/* 1. Зверадости (слева) */
.page-home .hp-tm-logo-pod--zveradosti {
  left: 20%;
  top: 34%;
  width: clamp(180px, 18vw, 235px);
}

.page-home .hp-tm-logo-pod--zveradosti .hp-tm-logo-float {
  filter: drop-shadow(0 14px 28px rgba(255, 122, 41, 0.22)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
}

.page-home .hp-tm-logo-pod--zveradosti .hp-tm-logo-glow {
  background: radial-gradient(circle, #ff7a29 0%, transparent 70%);
}

/* 2. Петосуприм (в центре) */
.page-home .hp-tm-logo-pod--petosuprim {
  left: 49%;
  top: 41%;
  width: clamp(190px, 19vw, 250px);
}

.page-home .hp-tm-logo-pod--petosuprim .hp-tm-logo-float {
  filter: drop-shadow(0 12px 24px rgba(24, 76, 120, 0.20)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
}

.page-home .hp-tm-logo-pod--petosuprim .hp-tm-logo-glow {
  background: radial-gradient(circle, #184c78 0%, transparent 70%);
}

/* 3. Ус Усович (справа) */
.page-home .hp-tm-logo-pod--us-usovich {
  left: 78%;
  top: 29%;
  width: clamp(175px, 17.5vw, 230px);
}

.page-home .hp-tm-logo-pod--us-usovich .hp-tm-logo-float {
  filter: drop-shadow(0 14px 28px rgba(160, 82, 45, 0.22)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
}

.page-home .hp-tm-logo-pod--us-usovich .hp-tm-logo-glow {
  background: radial-gradient(circle, #a0522d 0%, transparent 70%);
}

/* Интерактивный Hover над логотипами */
.page-home .hp-tm-logo-pod:hover .hp-tm-logo-float {
  transform: translateY(-8px) scale(1.08);
}

.page-home .hp-tm-logo-pod--zveradosti:hover .hp-tm-logo-float {
  filter: drop-shadow(0 20px 38px rgba(255, 122, 41, 0.38)) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.12));
}

.page-home .hp-tm-logo-pod--petosuprim:hover .hp-tm-logo-float {
  filter: drop-shadow(0 18px 34px rgba(24, 76, 120, 0.35)) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.12));
}

.page-home .hp-tm-logo-pod--us-usovich:hover .hp-tm-logo-float {
  filter: drop-shadow(0 20px 38px rgba(160, 82, 45, 0.38)) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.12));
}

.page-home .hp-tm-logo-pod:hover .hp-tm-logo-glow {
  opacity: 0.32;
  transform: scale(1.2);
}

/* ==========================================================================
   АНИМАЦИИ ПОЯВЛЕНИЯ ПРИ СКРОЛЛЕ (CHOREOGRAPHED ENTRANCE)
   ========================================================================== */

/* Исходное состояние: до того как блок попадает в экран */
.page-home .hp-tm-artboard[data-reveal] .hp-tm-orb {
  opacity: 0;
  transform: scale(0.3);
}

.page-home .hp-tm-artboard[data-reveal] .hp-tm-note {
  opacity: 0;
  transform: translate3d(-50%, calc(-50% + 16px), 0);
}

.page-home .hp-tm-artboard[data-reveal] .hp-tm-bottom-note,
.page-home .hp-tm-artboard[data-reveal] .hp-tm-wm {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
}

.page-home .hp-tm-artboard[data-reveal] .hp-tm-logo-float {
  opacity: 0;
  transform: scale(0.5);
}

/* Состояние раскрытия (когда пользователь доскроллил): .is-in */

/* 1. Плавный расцвет цветных кругов */
.page-home .hp-tm-artboard[data-reveal].is-in .hp-tm-orb {
  animation: tmOrbBloom 1.05s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.page-home .hp-tm-artboard[data-reveal].is-in .hp-tm-orb--peach-sm   { animation-delay: 0.05s; }
.page-home .hp-tm-artboard[data-reveal].is-in .hp-tm-orb--peach-lg   { animation-delay: 0.15s; }
.page-home .hp-tm-artboard[data-reveal].is-in .hp-tm-orb--green-left { animation-delay: 0.28s; }
.page-home .hp-tm-artboard[data-reveal].is-in .hp-tm-orb--blue-top   { animation-delay: 0.22s; }
.page-home .hp-tm-artboard[data-reveal].is-in .hp-tm-orb--blue-bot   { animation-delay: 0.35s; }
.page-home .hp-tm-artboard[data-reveal].is-in .hp-tm-orb--green-right{ animation-delay: 0.25s; }

@keyframes tmOrbBloom {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  70% {
    opacity: 1;
    transform: scale(1.08);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* 2. Проявление заметок и водяных знаков */
.page-home .hp-tm-artboard[data-reveal].is-in .hp-tm-note {
  opacity: 0.85;
  transform: translate3d(-50%, -50%, 0);
  transition: transform 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.45s,
              opacity 0.95s ease 0.45s;
}

.page-home .hp-tm-artboard[data-reveal].is-in .hp-tm-bottom-note,
.page-home .hp-tm-artboard[data-reveal].is-in .hp-tm-wm {
  opacity: 0.85;
  transform: translate3d(0, 0, 0);
  transition: transform 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.45s,
              opacity 0.95s ease 0.45s;
}

/* 4. ВПЕЧАТЛЯЮЩЕЕ ПОЯВЛЕНИЕ ЛОГОТИПОВ (Поп-ап вылет с эластичным оседанием) */

/* Зверадости: мягкий вылет слева снизу при скролле */
.page-home .hp-tm-artboard[data-reveal].is-in .hp-tm-logo-pod--zveradosti .hp-tm-logo-float {
  animation: tmRevealLogoLeft 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both;
}

@keyframes tmRevealLogoLeft {
  0% {
    opacity: 0;
    transform: translate3d(-45px, 40px, 0) scale(0.55) rotate(-8deg);
    filter: blur(8px) drop-shadow(0 0 0 transparent);
  }
  60% {
    opacity: 1;
    transform: translate3d(6px, -6px, 0) scale(1.06) rotate(1.5deg);
    filter: blur(0) drop-shadow(0 20px 36px rgba(255, 122, 41, 0.32));
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    filter: drop-shadow(0 14px 28px rgba(255, 122, 41, 0.22)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
  }
}

/* Петосуприм: выплывание по центру из глубины при скролле */
.page-home .hp-tm-artboard[data-reveal].is-in .hp-tm-logo-pod--petosuprim .hp-tm-logo-float {
  animation: tmRevealLogoCenter 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.48s both;
}

@keyframes tmRevealLogoCenter {
  0% {
    opacity: 0;
    transform: translate3d(0, 50px, 0) scale(0.55) rotate(4deg);
    filter: blur(8px) drop-shadow(0 0 0 transparent);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, -6px, 0) scale(1.06) rotate(-0.8deg);
    filter: blur(0) drop-shadow(0 18px 32px rgba(24, 76, 120, 0.32));
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    filter: drop-shadow(0 12px 24px rgba(24, 76, 120, 0.20)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
  }
}

/* Ус Усович: мягкий вылет справа снизу при скролле */
.page-home .hp-tm-artboard[data-reveal].is-in .hp-tm-logo-pod--us-usovich .hp-tm-logo-float {
  animation: tmRevealLogoRight 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.64s both;
}

@keyframes tmRevealLogoRight {
  0% {
    opacity: 0;
    transform: translate3d(45px, 40px, 0) scale(0.55) rotate(8deg);
    filter: blur(8px) drop-shadow(0 0 0 transparent);
  }
  60% {
    opacity: 1;
    transform: translate3d(-6px, -6px, 0) scale(1.06) rotate(-1.5deg);
    filter: blur(0) drop-shadow(0 20px 36px rgba(160, 82, 45, 0.32));
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    filter: drop-shadow(0 14px 28px rgba(160, 82, 45, 0.22)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
  }
}

/* ==========================================================================
   Адаптив для планшетов и мобильных устройств
   ========================================================================== */

@media (max-width: 1024px) {
  .page-home .hp-tm-artboard {
    min-height: clamp(340px, 42vw, 460px);
  }
  .page-home .hp-tm-header-right {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .page-home .hp-tm-artboard {
    min-height: auto;
    aspect-ratio: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 30px 10px;
  }

  .page-home .hp-tm-orbs,
  .page-home .hp-tm-leaves,
  .page-home .hp-tm-note,
  .page-home .hp-tm-watermarks {
    display: none;
  }

  .page-home .hp-tm-logos-stage {
    position: relative;
    inset: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
    pointer-events: auto;
  }

  .page-home .hp-tm-logo-pod {
    position: relative;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 220px;
    max-width: 75vw;
  }

  .page-home .hp-tm-bottom-note {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 10px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hp-tm-artboard .hp-tm-orb,
  .page-home .hp-tm-artboard .hp-tm-note,
  .page-home .hp-tm-artboard .hp-tm-bottom-note,
  .page-home .hp-tm-artboard .hp-tm-wm,
  .page-home .hp-tm-logo-pod,
  .page-home .hp-tm-logo-float,
  .page-home .hp-tm-leaf-item {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- 5. Раздел «Наши бренды» (Apple Style из референса) ---------- */

.page-home .hp-brands-section {
  position: relative;
  background: #fbfbfc;
  padding: clamp(64px, 7.5vw, 100px) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.page-home .hp-brands-header {
  margin-bottom: clamp(28px, 3.8vw, 44px);
}

.page-home .hp-brands-title {
  margin: 14px 0 0;
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: #111e14;
}

.page-home .hp-brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
  align-items: stretch;
}

/* Базовые стили карточки бренда */
.page-home .hp-brand-card {
  position: relative;
  min-height: clamp(380px, 34vw, 460px);
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.035);
  will-change: transform, opacity, box-shadow;
  cursor: pointer;
}

.page-home .hp-brand-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  border-radius: inherit;
  cursor: pointer;
  text-decoration: none;
}

.page-home .hp-brand-card:focus-within {
  outline: 2px solid #0066cc;
  outline-offset: 4px;
}

/* ==========================================================================
   Анимация вылета карточек брендов с краев (Apple Keynote Edge Fly-in)
   ========================================================================== */

/* Исходное состояние до раскрытия */
.page-home .hp-brand-card[data-reveal],
.page-home .hp-brands-grid[data-reveal] .hp-brand-card {
  opacity: 0;
  transition: transform 1.15s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.6s ease;
}

/* Десктоп (2 колонки):
   Левая карточка (Purina) вылетает слева (-95px)
   Правая карточка (Provipet) вылетает справа (+95px)
*/
@media (min-width: 834px) {
  .page-home .hp-brand-card--purina[data-reveal],
  .page-home .hp-brands-grid[data-reveal] .hp-brand-card--purina {
    transform: translate3d(-95px, 16px, 0) scale(0.95);
    transition-delay: 0.04s;
  }

  .page-home .hp-brand-card--provipet[data-reveal],
  .page-home .hp-brands-grid[data-reveal] .hp-brand-card--provipet {
    transform: translate3d(95px, 16px, 0) scale(0.95);
    transition-delay: 0.16s;
  }
}

/* Планшет и мобильные (1 колонка):
   Плавное вертикальное появление без вылета за границы экрана
*/
@media (max-width: 833px) {
  .page-home .hp-brand-card--purina[data-reveal],
  .page-home .hp-brands-grid[data-reveal] .hp-brand-card--purina,
  .page-home .hp-brand-card--provipet[data-reveal],
  .page-home .hp-brands-grid[data-reveal] .hp-brand-card--provipet {
    transform: translate3d(0, 24px, 0) scale(0.97);
  }

  .page-home .hp-brand-card--purina[data-reveal],
  .page-home .hp-brands-grid[data-reveal] .hp-brand-card--purina {
    transition-delay: 0.04s;
  }

  .page-home .hp-brand-card--provipet[data-reveal],
  .page-home .hp-brands-grid[data-reveal] .hp-brand-card--provipet {
    transition-delay: 0.14s;
  }
}

/* Конечное положение карточек брендов — приземление на место */
.page-home .hp-brand-card.is-in,
.page-home .hp-brands-grid.is-in .hp-brand-card {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
}

/* Hover-эффект после приземления */
.page-home .hp-brand-card.is-in:hover,
.page-home .hp-brands-grid.is-in .hp-brand-card:hover {
  transform: translateY(-8px) scale(1) !important;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.1);
  border-color: rgba(35, 105, 56, 0.2);
  transition-delay: 0s !important;
}

.page-home .hp-brand-card.is-in:active,
.page-home .hp-brands-grid.is-in .hp-brand-card:active {
  transform: translateY(-2px) scale(0.99) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08) !important;
  transition-duration: 0.1s !important;
}

/* Фоны и градиенты карточек */
.page-home .hp-brand-card--purina {
  background: linear-gradient(135deg, #f2f6f1 0%, #ffffff 65%);
}

.page-home .hp-brand-card--provipet {
  background: linear-gradient(135deg, #fcf8f4 0%, #ffffff 65%);
}

/* Декоративные мягкие круги в фоне (как на макете) */
.page-home .hp-brand-bg-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.page-home .hp-brand-card--purina .hp-brand-bg-circle--1 {
  right: 28%;
  bottom: 15%;
  width: 140px;
  height: 140px;
  background: rgba(144, 186, 150, 0.32);
  filter: blur(2px);
}

.page-home .hp-brand-card--purina .hp-brand-bg-circle--2 {
  right: 4%;
  top: 22%;
  width: 180px;
  height: 180px;
  background: rgba(144, 186, 150, 0.22);
  filter: blur(4px);
}

.page-home .hp-brand-card--provipet .hp-brand-bg-circle--1 {
  right: 30%;
  bottom: 14%;
  width: 140px;
  height: 140px;
  background: rgba(225, 200, 180, 0.35);
  filter: blur(2px);
}

.page-home .hp-brand-card--provipet .hp-brand-bg-circle--2 {
  right: 5%;
  top: 28%;
  width: 130px;
  height: 130px;
  background: rgba(225, 200, 180, 0.3);
  filter: blur(3px);
}

/* Верхний бейдж-пилюля в углу карточки */
.page-home .hp-brand-pill {
  position: absolute;
  top: clamp(20px, 3vw, 28px);
  right: clamp(20px, 3vw, 28px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.page-home .hp-brand-pill--purina {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(46, 125, 50, 0.18);
  color: #236938;
}

.page-home .hp-brand-pill--provipet {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(160, 100, 50, 0.18);
  color: #7a4a20;
}

.page-home .hp-brand-pill-icon {
  display: flex;
  align-items: center;
}

/* Изображение животных справа */
.page-home .hp-brand-visual {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 62%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.page-home .hp-brand-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right bottom;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 16%, black 42%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 16%, black 42%);
}

.page-home .hp-brand-card:hover .hp-brand-img {
  transform: scale(1.055) translate3d(0, -2px, 0);
}

/* Текстовая колонка слева */
.page-home .hp-brand-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 3.2vw, 36px);
  max-width: 58%;
}

.page-home .hp-brand-head {
  display: flex;
  align-items: center;
}

/* Логотипы брендов в шапке карточки */
.page-home .hp-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.page-home .hp-brand-logo-name {
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111e14;
}

.page-home .hp-provipet-leaf {
  display: flex;
  align-items: center;
}

/* Заголовок, описание, ссылка */
.page-home .hp-brand-body {
  margin: 18px 0;
}

.page-home .hp-brand-title {
  margin: 0 0 10px;
  font-size: clamp(21px, 2.1vw, 27px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #111e14;
}

.page-home .hp-brand-desc {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.55;
  color: #555e58;
}

.page-home .hp-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: #111e14;
  text-decoration: none;
  transition: color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-home .hp-brand-link svg {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.page-home .hp-brand-card:hover .hp-brand-link {
  color: #236938;
}

.page-home .hp-brand-card:hover .hp-brand-link svg {
  transform: translateX(5px);
}

/* Подпись Purina внизу слева */
.page-home .hp-brand-foot {
  min-height: 24px;
  display: flex;
  align-items: center;
}

.page-home .hp-brand-submark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  opacity: 0.88;
}

.page-home .hp-submark-text {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #111e14;
}

/* Адаптивность брендовых карточек */
@media (max-width: 900px) {
  .page-home .hp-brands-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-home .hp-brand-card {
    min-height: 400px;
  }
  .page-home .hp-brand-content {
    max-width: 62%;
  }
}

@media (max-width: 640px) {
  .page-home .hp-brand-card {
    min-height: auto;
    padding-bottom: 210px;
  }
  .page-home .hp-brand-content {
    max-width: 100%;
    padding: 24px 20px;
  }
  .page-home .hp-brand-pill {
    top: 18px;
    right: 18px;
  }
  .page-home .hp-brand-visual {
    width: 100%;
    height: 210px;
    left: 0;
    bottom: 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 28%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 28%);
  }
  .page-home .hp-brand-foot {
    display: none;
  }
}

/* ---------- 6. Преимущества / Сцена (Story Section 01–06 Apple Style) ---------- */

.page-home .story {
  position: relative;
  height: calc(var(--n, 6) * 75vh + 100vh);
  background: #05150b;
  color: #ffffff;
}

.page-home .story-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #05150b;
}

/* Стек фоновых фотографий с плавным перекрестным растворением (Crossfade) */
.page-home .story-bg-stack {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.page-home .story-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
  pointer-events: none;
}

.page-home .story-bg.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.page-home .story-bg.is-past {
  opacity: 0;
  transform: scale(0.98);
  z-index: 0;
}

.page-home .story-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

/* Мягкий тёмно-зелёный градиент поверх фото (как в референсе) */
.page-home .story-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      #05150b 0%,
      #05150b 32%,
      rgba(5, 21, 11, 0.94) 45%,
      rgba(5, 21, 11, 0.72) 58%,
      rgba(5, 21, 11, 0.28) 75%,
      rgba(5, 21, 11, 0.05) 90%,
      transparent 100%),
    linear-gradient(180deg,
      rgba(5, 21, 11, 0.55) 0%,
      transparent 18%,
      transparent 82%,
      rgba(5, 21, 11, 0.75) 100%);
}

.page-home .story-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
  width: 100%;
}

/* Левая навигация: вертикальный список 01–06 */
.page-home .story-nav {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-home .story-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  user-select: none;
  transition: color 0.4s var(--ease-apple),
              transform 0.4s var(--ease-apple);
}

.page-home .story-nav-item:hover {
  color: rgba(255, 255, 255, 0.8);
}

.page-home .story-nav-dash {
  display: inline-block;
  width: 0;
  height: 2px;
  background: #34d399;
  border-radius: 1px;
  opacity: 0;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.35s ease,
              margin 0.35s ease;
  flex-shrink: 0;
}

.page-home .story-nav-num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.35s ease;
  flex-shrink: 0;
}

.page-home .story-nav-title {
  transition: color 0.35s ease;
}

.page-home .story-nav-item.is-past {
  color: rgba(255, 255, 255, 0.55);
}

.page-home .story-nav-item.is-active {
  color: #ffffff;
  font-weight: 600;
  transform: translateX(6px);
}

.page-home .story-nav-item.is-active .story-nav-dash {
  width: 20px;
  opacity: 1;
  margin-right: 4px;
}

.page-home .story-nav-item.is-active .story-nav-num {
  color: #34d399;
}

.page-home .story-nav-item.is-active .story-nav-title {
  color: #ffffff;
}

/* Центральная сцена со слайдами */
.page-home .story-stage {
  position: relative;
  min-height: clamp(340px, 48vh, 500px);
  display: flex;
  align-items: center;
}

.page-home .story-item {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 16px, 0);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.page-home .story-item.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.page-home .story-item.is-past {
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, -14px, 0);
}

/* При уходе слайда все элементы плавно и быстро растворяются без задержки */
.page-home .story-item:not(.is-active) .story-kicker-wrap,
.page-home .story-item:not(.is-active) .story-title,
.page-home .story-item:not(.is-active) .story-desc,
.page-home .story-item:not(.is-active) .story-accent-arrow {
  opacity: 0;
  transition: opacity 0.22s ease-out, transform 0.22s ease-out !important;
}

/* Номера на заднем плане скрыты по запросу пользователя */
.page-home .story-watermark-num {
  display: none !important;
}

/* Зелёный кикер над заголовком: мягкий выезд */
.page-home .story-kicker-wrap {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.02s,
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.02s;
  will-change: opacity, transform;
}

.page-home .story-item.is-active .story-kicker-wrap {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.page-home .story-item.is-past .story-kicker-wrap {
  opacity: 0;
  transform: translate3d(0, -10px, 0);
}

.page-home .story-kicker-dash {
  width: 22px;
  height: 2px;
  background: #34d399;
  border-radius: 1px;
  display: inline-block;
}

.page-home .story-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #34d399;
}

/* Крупный заголовок: глубокий кинематографичный подъём */
.page-home .story-title {
  position: relative;
  z-index: 1;
  max-width: 16ch;
  margin: 0 0 20px 0;
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #ffffff;
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.06s,
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.06s;
  will-change: opacity, transform;
}

.page-home .story-item.is-active .story-title {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.page-home .story-item.is-past .story-title {
  opacity: 0;
  transform: translate3d(0, -14px, 0);
}

/* Описание: деликатное появление вслед за заголовком */
.page-home .story-desc {
  position: relative;
  z-index: 1;
  max-width: 46ch;
  margin: 0 0 28px 0;
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.6;
  color: rgba(245, 245, 247, 0.85);
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.12s,
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
  will-change: opacity, transform;
}

.page-home .story-item.is-active .story-desc {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.page-home .story-item.is-past .story-desc {
  opacity: 0;
  transform: translate3d(0, -12px, 0);
}

/* Тонкий акцентный элемент со стрелкой (из референса: — — →): вытягивание линии */
.page-home .story-accent-arrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #34d399;
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.18s,
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.18s;
  will-change: opacity, transform;
}

.page-home .story-item.is-active .story-accent-arrow {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.page-home .story-item.is-past .story-accent-arrow {
  opacity: 0;
  transform: translate3d(0, -10px, 0);
}

.page-home .story-arrow-line {
  width: 26px;
  height: 1.5px;
  background: #34d399;
  border-radius: 1px;
  opacity: 0.9;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.28s;
}

.page-home .story-arrow-dash {
  width: 8px;
  height: 1.5px;
  background: #34d399;
  border-radius: 1px;
  opacity: 0.55;
}

.page-home .story-arrow-svg {
  width: 24px;
  height: 14px;
  stroke: #34d399;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.28s;
}

.page-home .story-item.is-active .story-arrow-svg {
  transform: translateX(0);
}

.page-home .story-item:not(.is-active) .story-arrow-svg {
  transform: translateX(-4px);
}

/* Прогресс-бар снизу */
.page-home .story-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 3;
}

.page-home .story-progress i {
  display: block;
  height: 100%;
  background: #34d399;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.08s linear;
}

/* ---------- 7. Статистика (Stats) ---------- */

.page-home .stats {
  background: var(--bg-soft);
  color: var(--ink);
  padding: clamp(64px, 8vw, 104px) 0;
}

.page-home .stats .section-title {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.045em;
  margin-bottom: clamp(32px, 5vw, 52px);
}

.page-home .stats-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), 1fr);
  gap: 28px;
  text-align: center;
}

.page-home .stat {
  padding: 12px 24px;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.page-home .stat:first-child {
  border-left: 0;
}

.page-home .stat-val {
  display: block;
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

.page-home .stat-val b {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: var(--ink);
  font-weight: 700;
}

.page-home .stat-val i {
  font-style: normal;
  color: var(--accent);
  margin-left: 2px;
}

.page-home .stat-label {
  display: block;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.4;
}

/* ---------- 8. Контакты (Apple-inspired Clean Sheet & Premium Milk) ---------- */

.page-home #contacts,
.page-home .cx-section {
  scroll-margin-top: var(--header-h, 56px);
  background: rgb(246, 243, 232) !important;
  padding: clamp(80px, 10vw, 128px) 0 clamp(72px, 8vw, 108px);
  position: relative;
}

.page-home .cx-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(36px, 5vw, 56px);
  position: relative;
}

.page-home .cx-header-left {
  max-width: 560px;
}

.page-home .cx-marker-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.page-home .cx-marker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c8102e;
}

.page-home .cx-marker-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6e6e73;
}

.page-home .cx-title {
  margin: 0 0 16px;
  font-size: clamp(38px, 4.8vw, 58px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.06;
  color: #165535;
}

.page-home .cx-lead {
  margin: 0;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.58;
  color: #526058;
}

.page-home .cx-header-right {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  padding-bottom: 6px;
  flex-shrink: 0;
}

.page-home .cx-header-curve {
  width: 240px;
  height: 60px;
  pointer-events: none;
  animation: cxCurveFloat 6s ease-in-out infinite;
}

.page-home .cx-curve-line-svg {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.page-home .cx-pulse-dot {
  transform-origin: center;
  animation: cxDotPulse 3.5s ease-in-out infinite;
}

@keyframes cxDotPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.95;
    filter: drop-shadow(0 0 0 rgba(200, 16, 46, 0));
  }
  50% {
    transform: scale(1.35);
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(200, 16, 46, 0.5));
  }
}

@keyframes cxCurveFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.page-home .cx-header-slogan {
  display: flex;
  align-items: center;
  margin-top: 4px;
}

.page-home .cx-slogan-text {
  font-size: 13.5px;
  font-style: italic;
  color: #6e6e73;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   Сетка: Слева карточка склада (1.3fr), справа две карточки (1fr)
   ========================================================================== */
.page-home .cx-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(24px, 3vw, 32px);
  align-items: stretch;
}

/* ==========================================================================
   Левая колонка: Премиальная карточка склада
   ========================================================================== */
.page-home .cx-warehouse-card {
  position: relative;
  display: grid;
  grid-template-columns: 48% 52%;
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.5s ease;
  will-change: transform, box-shadow;
}

.page-home .cx-warehouse-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 52px -8px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.08);
}

.page-home .cx-warehouse-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 340px;
  overflow: hidden;
  background: #f0f0f2;
}

.page-home .cx-warehouse-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.page-home .cx-warehouse-card:hover .cx-warehouse-img {
  transform: scale(1.045);
}

.page-home .cx-warehouse-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 3.2vw, 40px) clamp(26px, 3vw, 38px);
  background: #ffffff;
}

.page-home .cx-info-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #feecef;
  color: #c8102e;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.page-home .cx-warehouse-card:hover .cx-info-icon-badge {
  transform: scale(1.1);
}

.page-home .cx-info-icon-badge svg {
  width: 20px;
  height: 20px;
  stroke: #c8102e;
}

.page-home .cx-info-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #86868b;
  margin-bottom: 12px;
}

.page-home .cx-info-address {
  margin: 0 0 16px;
  font-size: clamp(24px, 2.3vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #165535;
}

.page-home .cx-info-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.page-home .cx-info-meta-row {
  font-size: 14px;
  line-height: 1.5;
  color: #6e6e73;
}

.page-home .cx-info-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 600;
  color: #c8102e;
  text-decoration: none;
  margin-top: auto;
  padding-top: 14px;
  transition: color 0.2s ease;
}

.page-home .cx-info-map-link:hover {
  color: #a00d24;
}

.page-home .cx-map-arrow {
  display: flex;
  align-items: center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-home .cx-info-map-link:hover .cx-map-arrow {
  transform: translate(3px, -3px);
}

/* ==========================================================================
   Правая колонка: Две сбалансированные контактные карточки
   ========================================================================== */
.page-home .cx-contacts-col {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.2vw, 24px);
  height: 100%;
}

.page-home .cx-contact-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(26px, 2.8vw, 34px);
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.5s ease;
  will-change: transform, box-shadow;
}

.page-home .cx-contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px -10px rgba(0, 0, 0, 0.09), 0 2px 6px rgba(0, 0, 0, 0.02);
  border-color: rgba(200, 16, 46, 0.16);
}

.page-home .cx-contact-top {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.page-home .cx-contact-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #feecef;
  color: #c8102e;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.page-home .cx-contact-card:hover .cx-contact-badge {
  transform: scale(1.1);
}

.page-home .cx-contact-badge svg {
  width: 20px;
  height: 20px;
  stroke: #c8102e;
}

.page-home .cx-contact-details {
  display: flex;
  flex-direction: column;
}

.page-home .cx-contact-role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #86868b;
  margin-bottom: 6px;
}

.page-home .cx-contact-phone {
  font-size: clamp(22px, 2.3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  color: #165535;
  text-decoration: none;
  margin-bottom: 4px;
  transition: color 0.2s ease;
}

.page-home .cx-contact-phone:hover {
  color: #c8102e;
}

.page-home .cx-contact-mail {
  font-size: 14px;
  color: #6e6e73;
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-home .cx-contact-mail:hover {
  color: #165535;
  text-decoration: underline;
}

/* Кнопки «Позвонить» и «Написать» */
.page-home .cx-contact-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.page-home .cx-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              background 0.35s ease,
              border-color 0.35s ease,
              color 0.35s ease;
  will-change: transform;
}

.page-home .cx-action-btn:active {
  transform: translateY(0) scale(0.97) !important;
  transition-duration: 0.1s !important;
}

.page-home .cx-action-btn svg {
  width: 15px;
  height: 15px;
}

/* Кнопка «Позвонить»: фирменный зелёный */
.page-home .cx-action-btn--primary {
  color: #ffffff;
  background: #165535;
  border: 1px solid #165535;
}

.page-home .cx-action-btn--primary:hover {
  background: #12442b;
  border-color: #12442b;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(22, 85, 53, 0.28);
}

.page-home .cx-action-btn--primary svg {
  stroke: #ffffff;
}

/* Кнопка «Написать»: мягкий светлый тон */
.page-home .cx-action-btn--secondary {
  color: #1d1d1f;
  background: #f0f0f2;
  border: 1px solid transparent;
}

.page-home .cx-action-btn--secondary:hover {
  background: #e4e4e7;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.page-home .cx-action-btn--secondary svg {
  stroke: #1d1d1f;
}

/* Нижняя редакторская полоса под карточками */
.page-home .cx-bottom-strip {
  margin-top: clamp(48px, 6vw, 68px);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.page-home .cx-bottom-left {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.page-home .cx-bottom-dash {
  width: 36px;
  height: 1.5px;
  background: #165535;
  border-radius: 1px;
}

.page-home .cx-bottom-text {
  font-size: 13.5px;
  font-weight: 500;
  color: #526058;
}

.page-home .cx-bottom-right {
  display: flex;
  align-items: center;
}

.page-home .cx-bottom-curve-svg {
  width: 140px;
  height: 22px;
}

/* ---------- 9. Плавные анимации и раскрытие (Scroll Reveal) ---------- */

body.page-home [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--d, 0) * 80ms);
  will-change: opacity, transform;
}

body.page-home [data-reveal].is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Карточки контактов с богатым шелковистым появлением */
.page-home .cx-warehouse-card[data-reveal],
.page-home .cx-contact-card[data-reveal] {
  transition: opacity 1.05s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.05s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.6s ease;
  transition-delay: calc(var(--d, 0) * 85ms);
}

/* Коллаж в секции «О компании»: плавное появление элементов */
.page-home .hp-hero-collage-wrap[data-reveal] .hp-card-farm {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.05s,
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.05s,
              box-shadow 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-home .hp-hero-collage-wrap.is-in .hp-card-farm {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.page-home .hp-hero-collage-wrap[data-reveal] .hp-card-feed {
  opacity: 0;
  transform: translate3d(-15px, 20px, 0);
  transition: opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.16s,
              transform 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.16s,
              box-shadow 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-home .hp-hero-collage-wrap.is-in .hp-card-feed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.page-home .hp-hero-collage-wrap[data-reveal] .hp-card-pets {
  opacity: 0;
  transform: translate3d(15px, 20px, 0);
  transition: opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.26s,
              transform 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.26s,
              box-shadow 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-home .hp-hero-collage-wrap.is-in .hp-card-pets {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Каскадное проявление трех колонок преимуществ */
.page-home .hp-features-strip[data-reveal] .hp-feat-col {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-home .hp-features-strip.is-in .hp-feat-col:nth-child(1) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: 0.1s;
}

.page-home .hp-features-strip.is-in .hp-feat-col:nth-child(2) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: 0.2s;
}

.page-home .hp-features-strip.is-in .hp-feat-col:nth-child(3) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: 0.3s;
}

/* ---------- 10. Адаптивность ---------- */

@media (max-width: 1068px) {
  .page-home .hero-badge {
    padding: 16px 20px;
  }
  .page-home .hero-badge strong,
  .page-home .hero-badge span {
    white-space: normal;
  }
}

@media (max-width: 833px) {
  .page-home .hp-hero-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .page-home .hp-hero-content {
    max-width: none;
  }
  .page-home .hp-collage {
    margin: 10px auto 30px;
    max-width: 440px;
  }
  .page-home .hp-card-feed {
    left: -20px;
    width: 46%;
  }
  .page-home .hp-card-pets {
    left: 70px;
    width: 40%;
  }
  .page-home .hp-features-strip {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-home .hp-feat-col:not(:last-child)::after {
    display: none;
  }
  .page-home .hp-feat-col {
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f2;
  }
  .page-home .hero-badges {
    grid-template-columns: repeat(2, 1fr);
    width: min(100% - 32px, 600px);
    border-radius: 20px;
  }
  .page-home .hero-badge {
    border-right: none;
    border-top: none;
  }
  .page-home .hero-badge:nth-child(odd) {
    border-right: 1px solid #e5e5ea;
  }
  .page-home .hero-badge:nth-child(n+3) {
    border-top: 1px solid #e5e5ea;
  }

  .page-home .about {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .page-home .about-media {
    order: 0;
    aspect-ratio: 16 / 10;
  }
  .page-home .about-text {
    order: 1;
  }

  .page-home .hero-split {
    grid-template-columns: 1fr;
  }
  .page-home .tile {
    min-height: 480px;
  }

  .page-home .story {
    position: relative;
    height: calc(var(--n, 6) * 75vh + 100vh);
    background: #05150b;
    color: #ffffff;
    padding: 0;
  }
  .page-home .story-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: #05150b;
    padding: 0;
  }
  .page-home .story-bg-stack {
    position: absolute;
    inset: 0;
    opacity: 1;
    z-index: 0;
  }
  .page-home .story-bg {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
    pointer-events: none;
  }
  .page-home .story-bg.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
  }
  .page-home .story-bg.is-past {
    opacity: 0;
    transform: scale(0.97);
    z-index: 0;
  }
  .page-home .story-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      linear-gradient(180deg,
        rgba(5, 21, 11, 0.72) 0%,
        rgba(5, 21, 11, 0.86) 42%,
        rgba(5, 21, 11, 0.96) 100%);
  }
  .page-home .story-grid {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4.5vw, 24px);
    gap: 14px;
  }
  .page-home .story-nav {
    display: flex !important;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px 2px 10px;
    margin: 0;
  }
  .page-home .story-nav::-webkit-scrollbar {
    display: none;
  }
  .page-home .story-nav-item {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    cursor: pointer;
    user-select: none;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .page-home .story-nav-item.is-active {
    background: rgba(22, 85, 53, 0.65);
    border-color: #34d399;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transform: none;
  }
  .page-home .story-nav-dash {
    display: none !important;
  }
  .page-home .story-nav-num {
    font-size: 12px;
    font-weight: 700;
    color: #34d399;
  }
  .page-home .story-nav-item.is-active .story-nav-num {
    color: #34d399;
  }
  .page-home .story-nav-title {
    white-space: nowrap;
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .page-home .story-stage {
    position: relative;
    width: 100%;
    min-height: 280px;
    height: clamp(280px, 46vh, 360px);
    display: flex;
    align-items: center;
  }
  .page-home .story-item {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0 !important;
    filter: blur(6px) !important;
    transform: translate3d(0, 24px, 0) !important;
    pointer-events: none !important;
    padding: clamp(22px, 5vw, 32px) clamp(18px, 4.5vw, 28px);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(8, 30, 16, 0.88) 0%, rgba(5, 18, 10, 0.96) 100%);
    border: 1px solid rgba(52, 211, 153, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .page-home .story-item.is-active {
    opacity: 1 !important;
    filter: none !important;
    transform: translate3d(0, 0, 0) !important;
    pointer-events: auto !important;
    z-index: 2;
  }
  .page-home .story-item.is-past {
    opacity: 0 !important;
    filter: blur(6px) !important;
    transform: translate3d(0, -24px, 0) !important;
    z-index: 1;
  }
  .page-home .story-watermark-num {
    display: block !important;
    position: absolute;
    right: 12px;
    top: 6px;
    font-size: clamp(90px, 24vw, 130px);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.06);
    line-height: 0.85;
    pointer-events: none;
    user-select: none;
    z-index: 0;
  }
  .page-home .story-kicker-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
  }
  .page-home .story-kicker {
    font-size: 11.5px;
    font-weight: 700;
    color: #34d399;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .page-home .story-kicker-dash {
    width: 18px;
    height: 2px;
    background: #34d399;
    border-radius: 2px;
  }
  .page-home .story-title {
    position: relative;
    z-index: 1;
    font-size: clamp(22px, 5.8vw, 30px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin: 0 0 12px;
  }
  .page-home .story-desc {
    position: relative;
    z-index: 1;
    font-size: clamp(13.5px, 3.6vw, 15px);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.55;
    margin: 0 0 14px;
    max-width: 100%;
  }
  .page-home .story-accent-arrow {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #34d399;
  }
  .page-home .story-progress {
    display: block !important;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.12);
    z-index: 10;
  }
  .page-home .story-progress i {
    display: block;
    height: 100%;
    background: #34d399;
    transform-origin: 0 50%;
    transform: scaleX(0);
    will-change: transform;
  }

  .page-home .cx-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .page-home .cx-header-right {
    display: none;
  }
  .page-home .cx-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-home .cx-warehouse-card {
    grid-template-columns: 1fr;
  }
  .page-home .cx-warehouse-media {
    min-height: 240px;
    height: 240px;
  }
  .page-home .cx-bottom-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 36px;
  }
  .page-home .cx-bottom-right {
    display: none;
  }

  .page-home .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 12px;
  }
  .page-home .stat:nth-child(odd) {
    border-left: 0;
  }
  .page-home .stat:nth-child(even) {
    border-left: 1px solid rgba(0, 0, 0, 0.08);
  }

  .page-home .main-nav {
    gap: 0;
  }
  .page-home .main-nav a {
    padding: 16px 0;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }
  .page-home .main-nav a:hover {
    color: var(--ink-2) !important;
  }
}

@media (max-width: 560px) {
  .page-home .wordmark {
    width: 95vw;
    font-size: clamp(36px, 10vw, 80px) !important;
  }
  .page-home .hero-kicker {
    letter-spacing: 0.14em;
    padding: 0 12px;
  }
  .page-home .hero-badges {
    width: calc(100% - 24px);
    border-radius: 18px;
  }
  .page-home .hero-badge {
    padding: 14px 16px;
  }
  .page-home .hero-badge strong {
    font-size: 12.5px;
  }
  .page-home .hero-badge span {
    font-size: 11.5px;
  }
  .page-home .tile {
    min-height: 460px;
    border-radius: 20px;
  }
  .page-home .cx-warehouse-media {
    min-height: 200px;
    height: 200px;
  }
  .page-home .cx-warehouse-info {
    padding: 24px;
  }
  .page-home .cx-contact-card {
    padding: 24px;
  }
  .page-home .cx-contact-actions {
    flex-direction: row;
    width: 100%;
  }
  .page-home .cx-action-btn {
    flex: 1;
    justify-content: center;
    padding: 10px 14px;
  }
  .page-home .hp-collage {
    max-width: 320px;
    margin: 10px auto 20px;
  }
  .page-home .hp-card-feed {
    left: -12px;
    bottom: 20px;
    width: 48%;
  }
  .page-home .hp-card-pets {
    left: 45px;
    bottom: -16px;
    width: 45%;
  }
  .page-home .hp-badge-exp {
    top: -10px;
    right: -8px;
    padding: 10px 14px;
  }
  .page-home .hp-badge-exp-num {
    font-size: 24px;
  }
  .page-home .hp-badge-delivery {
    bottom: 14px;
    right: -8px;
    padding: 8px 12px;
    font-size: 11.5px;
  }
}

@media (max-width: 480px) {
  .page-home .cx-contact-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
  }
  .page-home .cx-action-btn {
    width: 100% !important;
    justify-content: center !important;
    flex: none !important;
  }
  .page-home .hp-collage {
    max-width: 290px;
    margin: 10px auto 20px;
  }
  .page-home .hp-card-feed {
    left: -6px;
    bottom: 16px;
    width: 48%;
  }
  .page-home .hp-card-pets {
    left: 40px;
    bottom: -14px;
    width: 46%;
  }
  .page-home .hp-badge-exp {
    top: -8px;
    right: -4px;
    padding: 8px 12px;
  }
  .page-home .hp-badge-exp-num {
    font-size: 22px;
  }
  .page-home .hp-badge-delivery {
    bottom: 12px;
    right: -4px;
    padding: 6px 10px;
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .page-home .hp-collage {
    max-width: 245px;
  }
  .page-home .hero-badges {
    width: 100%;
    border-radius: 14px;
  }
  .page-home .hero-badge {
    padding: 10px 8px;
  }
  .page-home .hero-badge strong {
    font-size: 11px;
  }
  .page-home .hero-badge span {
    font-size: 10px;
  }
}

/* ---------- 11. Доступность ---------- */

@media (prefers-reduced-motion: reduce) {
  .page-home .wordmark .ltr {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
  .page-home .tile,
  .page-home .cx-warehouse-card,
  .page-home .cx-contact-card,
  .page-home .cx-info-map-link,
  .page-home .cx-action-btn,
  .page-home .hero-scroll,
  .page-home .price-btn,
  .page-home .about-media img,
  .page-home .tile-media img {
    transition: none !important;
    transform: none !important;
  }
  .page-home .tile:hover,
  .page-home .cx-warehouse-card:hover,
  .page-home .cx-contact-card:hover,
  .page-home .cx-info-map-link:hover,
  .page-home .cx-action-btn:hover,
  .page-home .hero-scroll:hover {
    transform: none !important;
  }
  .page-home .cx-art-route {
    transform: none !important;
    transition: none !important;
  }
  .page-home .story-num,
  .page-home .story-item h3,
  .page-home .story-item p {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }
  .page-home .hero-badge {
    animation: none !important;
    opacity: 1;
  }
  .page-home .price-drop,
  .page-home .price-drop::before,
  .page-home .pd-item {
    transition: opacity 0.15s !important;
    transform: none !important;
  }
}

/* ---------- 12. Футер (Apple Light Structure) ---------- */

.site-footer {
  background: var(--bg-soft) !important;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: clamp(48px, 6vw, 72px) 0 36px;
  color: var(--ink-2);
}

/* Конец адаптива */

/* ---------- 4.5. Блок «Надёжный партнёр в мире кормов» (Презентация компании + 6 карточек) ---------- */

.page-home .hp-partner-section {
  position: relative;
  background: rgb(246, 243, 232);
  padding: clamp(70px, 8vw, 110px) 0 clamp(60px, 7vw, 90px);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-home .hp-partner-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  margin-bottom: clamp(36px, 5vw, 54px);
}

.page-home .hp-partner-kicker-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.page-home .hp-partner-kicker-dash {
  width: 22px;
  height: 2px;
  background: #165535;
  border-radius: 1px;
}

.page-home .hp-partner-kicker-text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #165535;
}

.page-home .hp-partner-title {
  margin: 0 0 20px;
  font-size: clamp(32px, 4.2vw, 50px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #121518;
}

.page-home .hp-partner-lead-bold {
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 600;
  line-height: 1.5;
  color: #1f2937;
  margin-bottom: 12px;
}

.page-home .hp-partner-lead-text {
  font-size: clamp(13.5px, 1.2vw, 15px);
  font-weight: 400;
  line-height: 1.65;
  color: #556070;
  margin: 0;
  max-width: 540px;
}

/* Правая визуальная часть с животными, рукописной заметкой и бейджами */
.page-home .hp-partner-visual-wrap {
  position: relative;
  min-height: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
}

/* Мягкая фоновая аура */
.page-home .hp-partner-aura {
  position: absolute;
  width: 380px;
  max-width: 100%;
  height: 300px;
  background: radial-gradient(circle, rgba(46, 125, 50, 0.08) 0%, rgba(247, 248, 250, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

/* Форма с фотографией животных */
.page-home .hp-partner-animals-mask {
  position: relative;
  width: clamp(260px, 32vw, 360px);
  height: clamp(200px, 24vw, 260px);
  border-radius: 44px 110px 44px 80px;
  overflow: hidden;
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.14), 0 4px 16px rgba(0, 0, 0, 0.04);
  z-index: 2;
  background: #e2e8f0;
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
}

.page-home .hp-partner-visual-wrap:hover .hp-partner-animals-mask {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 28px 60px -10px rgba(0, 0, 0, 0.18), 0 6px 20px rgba(0, 0, 0, 0.06);
}

.page-home .hp-partner-animals-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.page-home .hp-partner-visual-wrap:hover .hp-partner-animals-img {
  transform: scale(1.05);
}

/* Рукописная заметка «Качество для роста и развития» */
.page-home .hp-partner-note-wrap {
  position: absolute;
  top: 15px;
  left: 30px;
  z-index: 5;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: rotate(-10deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-home .hp-partner-visual-wrap:hover .hp-partner-note-wrap {
  transform: rotate(-8deg) translateY(-2px);
}

.page-home .hp-partner-note-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Caveat", "Comic Sans MS", cursive, sans-serif;
  font-size: 13.5px;
  font-style: italic;
  font-weight: 600;
  color: #2e6040;
  line-height: 1.25;
  text-align: center;
  max-width: 120px;
}

.page-home .hp-partner-note-arrow {
  margin-top: 2px;
  color: #2e6040;
}

/* Плавающий бейдж PURINA + PROVIPET вверху справа */
.page-home .hp-partner-brand-pill {
  position: absolute;
  top: 16px;
  right: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 12px 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.02);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-home .hp-partner-visual-wrap:hover .hp-partner-brand-pill {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.page-home .hp-partner-brand-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #111827;
}

.page-home .hp-partner-brand-item--purina {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #0c1a11;
}

.page-home .hp-partner-brand-item--purina .hp-purina-emblem {
  width: 18px;
  height: 18px;
  border-radius: 2px;
}

/* Плавающий бейдж «С 2016 года» внизу справа */
.page-home .hp-partner-badge-rep {
  position: absolute;
  bottom: 0;
  right: 18px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 12px 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.02);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-home .hp-partner-visual-wrap:hover .hp-partner-badge-rep {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.page-home .hp-partner-shield-ic {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ebf5ee;
  color: #165535;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.page-home .hp-partner-badge-text strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #16191d;
  line-height: 1.25;
}

.page-home .hp-partner-badge-text span {
  display: block;
  font-size: 11.5px;
  color: #6b7280;
  line-height: 1.35;
}

.page-home .hp-partner-leaf-dec {
  position: absolute;
  bottom: 18px;
  right: -8px;
  color: #165535;
  opacity: 0.85;
  z-index: 4;
}

/* Сетка из 6 карточек */
.page-home .hp-partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 22px);
}

/* Базовые стили карточки */
.page-home .hp-pcard {
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.025), 0 8px 24px rgba(0, 0, 0, 0.035);
  padding: clamp(18px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 180px;
  will-change: transform, opacity, box-shadow;
}

/* ==========================================================================
   Анимация вылета 6 карточек с краев (Apple Keynote Edge Fly-in)
   ========================================================================== */

/* Исходное состояние до появления */
.page-home .hp-pcard[data-reveal],
.page-home .hp-partner-grid[data-reveal] .hp-pcard {
  opacity: 0;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.5s ease;
}

/* Десктоп (3 колонки):
   Колонка 1 (Склад и наличие; Приглашаем к сотрудничеству) — вылетает слева (-90px)
   Колонка 3 (Доставка; Надёжность и доверие) — вылетает справа (+90px)
   Колонка 2 (Оплата; Provipet) — выплывает снизу (+54px)
*/
@media (min-width: 834px) {
  .page-home .hp-pcard[data-reveal]:nth-child(3n+1),
  .page-home .hp-partner-grid[data-reveal] .hp-pcard:nth-child(3n+1) {
    transform: translate3d(-90px, 14px, 0) scale(0.95);
  }

  .page-home .hp-pcard[data-reveal]:nth-child(3n),
  .page-home .hp-partner-grid[data-reveal] .hp-pcard:nth-child(3n) {
    transform: translate3d(90px, 14px, 0) scale(0.95);
  }

  .page-home .hp-pcard[data-reveal]:nth-child(3n+2),
  .page-home .hp-partner-grid[data-reveal] .hp-pcard:nth-child(3n+2) {
    transform: translate3d(0, 54px, 0) scale(0.93);
  }

  /* Каскадные задержки: красивое перекрестное раскрытие */
  .page-home .hp-pcard:nth-child(1) { transition-delay: 0.04s; }
  .page-home .hp-pcard:nth-child(3) { transition-delay: 0.10s; }
  .page-home .hp-pcard:nth-child(2) { transition-delay: 0.18s; }
  .page-home .hp-pcard:nth-child(4) { transition-delay: 0.22s; }
  .page-home .hp-pcard:nth-child(6) { transition-delay: 0.28s; }
  .page-home .hp-pcard:nth-child(5) { transition-delay: 0.34s; }
}

/* Планшет (2 колонки):
   Плавное вертикальное появление карточек
*/
@media (max-width: 833px) and (min-width: 641px) {
  .page-home .hp-pcard[data-reveal]:nth-child(odd),
  .page-home .hp-partner-grid[data-reveal] .hp-pcard:nth-child(odd),
  .page-home .hp-pcard[data-reveal]:nth-child(even),
  .page-home .hp-partner-grid[data-reveal] .hp-pcard:nth-child(even) {
    transform: translate3d(0, 24px, 0) scale(0.97);
  }

  .page-home .hp-pcard:nth-child(1) { transition-delay: 0.04s; }
  .page-home .hp-pcard:nth-child(2) { transition-delay: 0.10s; }
  .page-home .hp-pcard:nth-child(3) { transition-delay: 0.18s; }
  .page-home .hp-pcard:nth-child(4) { transition-delay: 0.24s; }
  .page-home .hp-pcard:nth-child(5) { transition-delay: 0.32s; }
  .page-home .hp-pcard:nth-child(6) { transition-delay: 0.38s; }
}

/* Мобильные (1 колонка):
   Плавный вертикальный подъем без горизонтального скролла
*/
@media (max-width: 640px) {
  .page-home .hp-pcard[data-reveal]:nth-child(odd),
  .page-home .hp-partner-grid[data-reveal] .hp-pcard:nth-child(odd),
  .page-home .hp-pcard[data-reveal]:nth-child(even),
  .page-home .hp-partner-grid[data-reveal] .hp-pcard:nth-child(even) {
    transform: translate3d(0, 20px, 0) scale(0.98);
  }

  .page-home .hp-pcard:nth-child(1) { transition-delay: 0.04s; }
  .page-home .hp-pcard:nth-child(2) { transition-delay: 0.10s; }
  .page-home .hp-pcard:nth-child(3) { transition-delay: 0.16s; }
  .page-home .hp-pcard:nth-child(4) { transition-delay: 0.22s; }
  .page-home .hp-pcard:nth-child(5) { transition-delay: 0.28s; }
  .page-home .hp-pcard:nth-child(6) { transition-delay: 0.34s; }
}

/* Конечное состояние — карточки приземляются на свои места */
.page-home .hp-pcard.is-in,
.page-home .hp-partner-grid.is-in .hp-pcard {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
}

/* Hover-эффект после приземления на место */
.page-home .hp-pcard.is-in:hover,
.page-home .hp-partner-grid.is-in .hp-pcard:hover {
  transform: translateY(-6px) scale(1) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);
  border-color: rgba(39, 103, 56, 0.18);
  transition-delay: 0s !important;
}

.page-home .hp-pcard.is-in:active,
.page-home .hp-partner-grid.is-in .hp-pcard:active {
  transform: translateY(-2px) scale(0.99) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04) !important;
  transition-duration: 0.1s !important;
}

.page-home .hp-pcard-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.page-home .hp-pcard-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ebf5ee;
  color: #165535;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.4s ease;
  will-change: transform;
}

.page-home .hp-pcard:hover .hp-pcard-icon {
  transform: scale(1.08);
}

.page-home .hp-pcard-icon--dark {
  background: #184724;
  color: #ffffff;
}

.page-home .hp-pcard-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #121518;
  line-height: 1.25;
}

.page-home .hp-pcard-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #4b5563;
}

.page-home .hp-pcard-sub {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: #6b7280;
}

/* Сплит контента и картинки в карточке */
.page-home .hp-pcard-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex: 1;
}

.page-home .hp-pcard-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.page-home .hp-pcard-body--payment {
  gap: 14px;
}

.page-home .hp-pcard-body--collab {
  justify-content: center;
  gap: 10px;
}

.page-home .hp-pcard-text-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.page-home .hp-pcard-img-col {
  width: 110px;
  height: 105px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f1f5f9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-home .hp-pcard-img-col--truck {
  width: 136px;
  height: 98px;
}

.page-home .hp-pcard-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.page-home .hp-pcard:hover .hp-pcard-img {
  transform: scale(1.06);
}

/* Бейджи оплаты */
.page-home .hp-pcard-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
}

.page-home .hp-pcard-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fafafb;
  border: 1px solid #e5e7eb;
  font-size: 11.5px;
  font-weight: 500;
  color: #374151;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.35s ease,
              border-color 0.35s ease;
  will-change: transform;
}

.page-home .hp-pcard-pill:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: #cbd5e1;
}

/* Список чек-поинтов в карточке сотрудничества */
.page-home .hp-pcard-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .hp-pcard-check-item {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 11.5px;
  line-height: 1.4;
  color: #374151;
}

.page-home .hp-pcard-check-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: #2e7d32;
}

/* Ссылка на реестр */
.page-home .hp-pcard-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #165535;
  text-decoration: none;
  margin-top: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.page-home .hp-pcard-link:hover {
  color: #1e522c;
  text-decoration: underline;
}

.page-home .hp-pcard-link svg {
  transition: transform 0.2s ease;
}

.page-home .hp-pcard-link:hover svg {
  transform: translateX(3px);
}

/* Нижняя редакторская полоса под карточками */
.page-home .hp-partner-foot {
  margin-top: clamp(36px, 5vw, 54px);
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.page-home .hp-partner-foot-leaf {
  display: flex;
  align-items: center;
  color: #165535;
  flex-shrink: 0;
}

.page-home .hp-partner-foot-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
  text-align: center;
  flex: 1;
}

.page-home .hp-partner-foot-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c8102e;
  flex-shrink: 0;
}

/* Адаптивность для блока партнёров */
@media (max-width: 980px) {
  .page-home .hp-partner-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .page-home .hp-partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .page-home .hp-partner-grid {
    grid-template-columns: 1fr;
  }

  .page-home .hp-partner-note-wrap {
    display: none;
  }

  .page-home .hp-partner-foot {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .page-home .hp-pcard-split {
    gap: 10px;
  }
  .page-home .hp-pcard-img-col {
    width: 92px;
    height: 88px;
  }
  .page-home .hp-pcard-img-col--truck {
    width: 104px;
    height: 78px;
  }
}

@media (max-width: 360px) {
  .page-home .hp-pcard {
    padding: 16px 14px;
  }
  .page-home .hp-pcard-img-col {
    width: 78px;
    height: 78px;
  }
  .page-home .hp-pcard-img-col--truck {
    width: 88px;
    height: 70px;
  }
}

/* Дополнительные стили для Provipet логотипа и водяного знака */
.page-home .hp-about-paw-watermark {
  position: absolute;
  bottom: -32px;
  left: 14px;
  width: 140px;
  height: 140px;
  opacity: 0.085;
  pointer-events: none;
  z-index: 1;
  transform: rotate(-16deg);
}

.page-home .hp-about-paw-watermark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.page-home .hp-partner-provipet-badge {
  height: 29px;
  width: auto;
  display: block;
  object-fit: contain;
}

.page-home .hp-brand-provipet-badge {
  height: clamp(34px, 4.2vw, 46px);
  width: auto;
  max-width: 190px;
  display: block;
  object-fit: contain;
}

.page-home .hp-pcard-icon--provipet {
  background: transparent !important;
  padding: 0 !important;
}

.page-home .hp-pcard-icon--provipet img {
  height: 28px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Сдвиг фото из админки */
.page-home [style*="--ox"] {
  translate: var(--ox, 0%) var(--oy, 0%) !important;
}

/* ===== MOBILE ===== */

@media (max-width: 768px) {
  /* Локальный сброс десктопных координат с возможностью подключения --mx / --my на Этапе 4 */
  .page-home [style*="--ox"] {
    translate: var(--mx, 0%) var(--my, 0%) !important;
  }
  .page-home [style*="--zoom"] {
    scale: var(--mzoom, 1) !important;
  }

  /* Защита от переполнения */
  .page-home,
  .page-home body {
    overflow-x: clip !important;
    max-width: 100%;
  }

  /* — ПРОБЛЕМА 3: Устранение артефактов отрисовки тайлов в Safari — */
  .page-home .story-item,
  .page-home .story-bg,
  .page-home .story-stage,
  .page-home .hp-tm-artboard,
  .page-home .hp-tm-logo-glow,
  .page-home .hp-tm-artboard .hp-tm-orb {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    will-change: auto !important;
  }

  /* — ПРОБЛЕМА 1: Секция «Наши товарные знаки» на мобильных — */
  .page-home .hp-tm-ripple,
  .page-home .hp-tm-orbs,
  .page-home .hp-tm-leaves,
  .page-home .hp-tm-note,
  .page-home .hp-tm-watermarks {
    display: none !important;
  }
  .page-home .hp-trademarks-header {
    margin-bottom: 24px !important;
  }
  .page-home .hp-tm-header-left,
  .page-home .hp-tm-header-right {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }
  .page-home .hp-tm-artboard {
    position: static !important;
    width: 100% !important;
    min-height: auto !important;
    height: auto !important;
    aspect-ratio: auto !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    display: block !important;
  }
  .page-home .hp-tm-logos-stage {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 28px !important;
    pointer-events: auto !important;
  }
  .page-home .hp-tm-logo-pod {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 320px !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 10px 0 !important;
    box-shadow: none !important;
    border: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
  .page-home .hp-tm-logo-float {
    position: relative !important;
    width: 100% !important;
    max-width: 260px !important;
    height: auto !important;
    min-height: 80px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: none !important;
    filter: none !important;
  }
  .page-home .hp-tm-logo-img {
    max-height: 84px !important;
    max-width: 250px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.05)) !important;
  }
  .page-home .hp-tm-logo-glow {
    display: none !important;
  }
  .page-home .hp-tm-bottom-note {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 26px auto 0 !important;
    padding: 0 16px !important;
    text-align: center !important;
    max-width: 100% !important;
    white-space: normal !important;
    display: block !important;
    font-size: 14.5px !important;
    line-height: 1.5 !important;
    color: #4b5563 !important;
  }

  /* — ПРОБЛЕМА 2: Секция «Почему выбирают нас» (полноэкранный интерактивный стек 100dvh) — */
  .page-home .story {
    position: relative !important;
    height: calc(var(--n, 6) * 65vh + 100vh) !important;
    height: calc(var(--n, 6) * 65vh + 100dvh) !important;
    background: #05150b !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
  }
  .page-home .story-sticky {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 100vh !important;
    height: 100dvh !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: hidden !important;
    background: #05150b !important;
    box-sizing: border-box !important;
  }
  .page-home .story-bg-stack {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    z-index: 0 !important;
    pointer-events: none !important;
  }
  .page-home .story-bg {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    transform: scale(1.04) !important;
    transition: opacity 0.45s ease, transform 0.65s ease !important;
    pointer-events: none !important;
  }
  .page-home .story-bg.is-active {
    opacity: 1 !important;
    transform: scale(1) !important;
    z-index: 1 !important;
  }
  .page-home .story-bg.is-past {
    opacity: 0 !important;
    transform: scale(0.98) !important;
    z-index: 0 !important;
  }
  .page-home .story-bg-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
  }
  .page-home .story-shade {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    background: rgba(5, 21, 11, 0.85) !important;
    pointer-events: none !important;
  }
  .page-home .story-grid {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
  /* Горизонтальный ряд табов скрыт: переключение идёт автоматически при прокрутке */
  .page-home .story-nav {
    display: none !important;
  }
  .page-home .story-stage {
    position: relative !important;
    width: 100% !important;
    min-height: 280px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .page-home .story-item {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    text-align: left !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translate3d(0, 16px, 0) !important;
    transition: opacity 0.35s ease, transform 0.35s ease !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  .page-home .story-item.is-active {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translate3d(0, 0, 0) !important;
  }
  .page-home .story-item.is-past {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translate3d(0, -14px, 0) !important;
  }
  .page-home .story-kicker-wrap {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .page-home .story-title {
    font-size: clamp(24px, 6.8vw, 32px) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    margin: 0 0 14px 0 !important;
    max-width: 100% !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .page-home .story-desc {
    font-size: clamp(15px, 4vw, 17px) !important;
    line-height: 1.55 !important;
    color: rgba(245, 245, 247, 0.9) !important;
    margin: 0 0 16px 0 !important;
    max-width: 100% !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .page-home .story-accent-arrow {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #34d399 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .page-home .story-watermark-num {
    display: none !important;
  }
  .page-home .story-progress {
    display: none !important;
  }

  /* — Hero первый экран — */
  .page-home .hero-home-v2 .hero-stage-wrap {
    min-height: 380px;
    padding-bottom: 40px;
  }
  .page-home .hero-home-v2 .hero-text-col {
    max-width: 100%;
    padding: 0;
  }
  .page-home .hero-home-v2 .hero-heading-split {
    font-size: clamp(34px, 9.5vw, 52px);
    letter-spacing: -0.5px;
    line-height: 1.08;
  }
  .page-home .hero-home-v2 .hero-subheading-lead {
    font-size: clamp(14px, 3.8vw, 17px);
    max-width: 100%;
    margin-top: 10px;
  }
  .page-home .hero-home-v2 .hero-action-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 20px;
  }
  .page-home .hero-home-v2 .hero-pill-btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    text-align: center;
  }

  /* — Features bar: 2 колонки на мобильном — */
  .page-home .hero-home-v2 .hero-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 16px 0;
  }
  .page-home .hero-home-v2 .hero-fcard {
    gap: 8px;
    padding: 14px 12px;
  }
  .page-home .hero-home-v2 .hero-fcard-title {
    font-size: 13px;
  }
  .page-home .hero-home-v2 .hero-fcard-desc {
    font-size: 11px;
    line-height: 1.4;
  }

  /* — hp-hero секция (коллаж) — */
  .page-home .hp-hero {
    padding-top: clamp(36px, 6vw, 56px);
    padding-bottom: clamp(28px, 5vw, 44px);
  }
  .page-home .hp-hero-title {
    font-size: clamp(26px, 7.5vw, 38px);
    line-height: 1.15;
  }
  .page-home .hp-hero-lead {
    font-size: clamp(14px, 3.8vw, 16px);
  }

  /* — Секции: адаптивные отступы — */
  .page-home .section,
  .page-home .hp-brands-section,
  .page-home .hp-partner-section {
    padding-top: clamp(36px, 7vw, 56px);
    padding-bottom: clamp(36px, 7vw, 56px);
  }

  /* — Кнопки действий — */
  .page-home .hp-hero-btn-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .page-home .hp-hero-btn-row .hp-btn,
  .page-home .hp-hero-btn-row .hp-btn-outline {
    width: 100%;
    min-height: 44px;
    text-align: center;
    justify-content: center;
  }

  /* — ПРОБЛЕМА 5: Секция «Надёжный партнёр в мире кормов» на мобильных — */
  .page-home .hp-partner-top {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .page-home .hp-partner-visual-wrap {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 360px !important;
    height: 220px !important;
    min-height: 220px !important;
    margin: 0 auto !important;
    overflow: visible !important;
  }
  .page-home .hp-partner-animals-mask {
    position: absolute !important;
    top: 10px !important;
    left: 0 !important;
    width: 220px !important;
    height: 190px !important;
    border-radius: 36px 80px 36px 60px !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12) !important;
    z-index: 2 !important;
    overflow: hidden !important;
    margin: 0 !important;
  }
  .page-home .hp-partner-animals-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }
  .page-home .hp-partner-brand-pill {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    bottom: auto !important;
    width: auto !important;
    max-width: 155px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 16px !important;
    padding: 10px 14px !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1) !important;
    z-index: 4 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
    box-sizing: border-box !important;
  }
  .page-home .hp-partner-badge-rep {
    position: absolute !important;
    bottom: 8px !important;
    right: 4px !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    max-width: 160px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 14px !important;
    padding: 8px 12px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09) !important;
    z-index: 4 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-sizing: border-box !important;
  }
  .page-home .hp-partner-brand-item {
    font-size: 11px !important;
    gap: 6px !important;
  }
  .page-home .hp-purina-emblem {
    width: 15px !important;
    height: 15px !important;
  }
  .page-home .hp-partner-provipet-badge {
    height: 12px !important;
    width: auto !important;
  }
  .page-home .hp-partner-note-wrap,
  .page-home .hp-partner-aura {
    display: none !important;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .page-home .hp-tm-logos-stage {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 32px !important;
  }
}

@media (max-width: 560px) {
  /* — Hero — */
  .page-home .hero-home-v2 .hero-stage-wrap {
    min-height: 340px;
  }
  .page-home .hero-home-v2 .hero-heading-split {
    font-size: clamp(32px, 9.5vw, 46px);
  }
  .page-home .hero-home-v2 .hero-kicker-row {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  /* — hp-collage: бейджи зафиксированы в пределах карточки — */
  .page-home .hp-badge-exp {
    right: 0;
    top: -6px;
    transform: scale(0.88);
    transform-origin: top right;
  }
  .page-home .hp-badge-delivery {
    right: 0;
    transform: scale(0.88);
    transform-origin: bottom right;
  }

  /* — Заголовки секций — */
  .page-home .hp-section-title,
  .page-home .hp-brands-title {
    font-size: clamp(24px, 7vw, 34px);
  }

  /* — Features strip — */
  .page-home .hp-feat-col {
    padding: 18px 0;
  }
  .page-home .hp-feat-title {
    font-size: 15px;
  }
  .page-home .hp-feat-desc {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  /* — Hero — */
  .page-home .hero-home-v2 .hero-stage-wrap {
    min-height: 300px;
    padding-bottom: 32px;
  }
  .page-home .hero-home-v2 .hero-heading-split {
    font-size: clamp(30px, 9vw, 42px);
  }
  .page-home .hero-home-v2 .hero-subheading-lead {
    font-size: 14px;
  }

  /* — Features bar: 2 col — */
  .page-home .hero-home-v2 .hero-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .page-home .hero-home-v2 .hero-fcard {
    padding: 12px 10px;
  }
  .page-home .hero-home-v2 .hero-fcard-icon {
    width: 32px;
    height: 32px;
  }

  /* — Brand cards — */
  .page-home .hp-brand-card {
    min-height: auto;
    padding-bottom: 170px;
  }
  .page-home .hp-brand-visual {
    height: 170px;
  }

  /* — About media — */
  .page-home .hp-about-media {
    aspect-ratio: 4/3;
    max-height: 240px;
    overflow: hidden;
    border-radius: 16px;
  }

  /* — CX warehouse — */
  .page-home .cx-warehouse-media {
    height: 200px;
  }

  /* — Partner cards — */
  .page-home .hp-pcard {
    padding: 18px 16px;
  }

  /* — Floating АКЦИЯ badge на узких экранах — */
  .page-home .hero-promo-floating {
    transform: scale(0.82);
    transform-origin: bottom right;
    right: 10px;
  }
}

@media (max-width: 360px) {
  .page-home .hero-home-v2 .hero-heading-split {
    font-size: 28px;
  }
  .page-home .hero-home-v2 .hero-features-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .page-home .hero-home-v2 .hero-fcard-title {
    font-size: 12px;
  }
  .page-home .hero-home-v2 .hero-fcard-desc {
    font-size: 11px;
  }
  .page-home .hero-promo-floating {
    transform: scale(0.75);
    right: 8px;
  }
}

@media (max-width: 600px) {
  html,
  body,
  body.page-home,
  body.page-purina,
  body.page-provipet {
    min-width: 1200px !important;
    width: 1200px !important;
    max-width: none !important;
    overflow-x: auto !important;
    touch-action: pan-x pan-y !important;
  }

  .site-header,
  #main,
  .site-footer,
  .container {
    min-width: 1200px !important;
    width: 1200px !important;
    max-width: none !important;
  }
}

