/**
 * Tepsey Redesign — Hero Slider
 * Визуал 1:1 с public_html/new-design/tepsey-banners-with-farmer (20) (1) (2).html
 */

/* Как в макете: hero-wrap max-width 1280px (сайт: ограничиваем блок внутри контейнера) */
.redesign-hero-holder {
  /* max-width: 1280px; */
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  margin-top: 0.5rem;
}

/* Wrapper + цвета (new-homepage.html v10) */
.hero-wrap {
  --amber: var(--hero-amber, #F4C96C);
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-hero, 0 24px 64px rgba(0, 0, 0, 0.2));
}

.hero-wrap .hero-slides {
  display: flex;
  transition: transform 0.58s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.hero-wrap .hero-slide {
  min-width: 100%;
  height: 480px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

/* В макете все слайды height: 480px */

/* Подложка под фото (если картинка грузится с задержкой) */
.hero-wrap .hero-slide.s1,
.hero-wrap .hero-slide.s2,
.hero-wrap .hero-slide.s3 {
  background-color: #1a3d6e;
}

.hero-wrap .hero-s1-photo,
.hero-wrap .hero-s2-photo,
.hero-wrap .hero-s3-photo {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 76% 100%;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

/* Слайд 2: фото часто «портрет» — чуть иначе кадрирование */
.hero-wrap .hero-slide.s2 .hero-s2-photo {
  object-position: 70% center;
}

/* Затемнение s1 и s3 (белый текст) */
.hero-wrap .hero-slide.s1::before,
.hero-wrap .hero-slide.s3::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Слайд 2: светлая вуаль слева, чтобы читался фирменный #204A87 */
.hero-wrap .hero-slide.s2::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(255, 255, 255, 0.8) 24%,
    rgba(255, 255, 255, 0.45) 44%,
    rgba(255, 255, 255, 0.1) 62%,
    transparent 82%
  ); */
}

/* Слайд 2: белая типографика как в референсе */
.hero-wrap .hero-slide.s2 .slide-title,
.hero-wrap .hero-slide.s2 .slide-sub,
.hero-wrap .hero-slide.s2 .slide-sub strong {
  color: #fff;
}

.hero-wrap .hero-slide.s2 .accent-ul {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 5px;
}

.hero-wrap .hero-slide.s2 .chip {
  color: rgba(255, 255, 255, 0.75);
}

.hero-wrap .hero-slide.s2 .chip-dot {
  background: rgba(255, 255, 255, 0.13);
}

.hero-wrap .hero-slide.s2 .chip-dot svg {
  stroke: #fff;
}

.hero-wrap .hero-slide.s2 .btn-white {
  color: #1a3d6e;
  background: rgba(255, 255, 255, 0.95);
  border: none;
}

.hero-wrap .hero-slide.s2 .btn-white:hover {
  opacity: 0.9;
  background: rgba(255, 255, 255, 0.95);
  border-color: transparent;
}

.hero-wrap .hero-slide.s2 .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
}

.hero-wrap .hero-slide.s2 .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hero-wrap .slide-watermark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 180px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.055);
  white-space: nowrap;
  letter-spacing: -6px;
  pointer-events: none;
  z-index: 1;
  user-select: none;
  line-height: 1;
}

.hero-wrap .slide-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: 100%;
  align-items: center;
  padding: 0 60px;
  gap: 56px;
}

.hero-wrap .slide-inner.products-layout {
  padding: 14px 14px 14px 60px;
  gap: 32px;
  align-items: stretch;
}

/* Slide 2 (embed): правая карточка шагов должна быть видна */
.hero-wrap .hero-slide.s2 .slide-right {
  display: flex;
}

/* Слайд 3: правая колонка (регионы) — 300px у правого края */
.hero-wrap .hero-slide.s3 .slide-inner {
  grid-template-columns: 1fr 300px;
  gap: 40px;
}

.hero-wrap .hero-slide.s3 .slide-right {
  width: 420px;
  max-width: 420px;
  min-width: 0;
  justify-self: end;
}

/* Slide 1: farmer + плавающая карточка (tepsey-banners-with-farmer) */
.hero-wrap .slide-inner.farmer-layout {
  grid-template-columns: 52% 48%;
  padding: 0 0 0 60px;
  gap: 0;
  align-items: center;
  overflow: hidden;
}

.hero-wrap .farmer-col {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: visible;
  padding-left: 0;
}

/* Правая колонка только под плавающую карточку (фото — фон слайда) */
.hero-wrap .farmer-col--card-only {
  pointer-events: none;
}

.hero-wrap .farmer-col--card-only .steps-float-card {
  pointer-events: auto;
}

.hero-wrap .steps-float-card {
  position: absolute;
  right: 60px;
  top: 55%;
  transform: translateY(-50%);
  z-index: 10;
  width: 360px;
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 20px;
  padding: 30px 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 8px 40px rgba(0, 0, 0, 0.2);
  animation: hero-card-in 0.6s 0.4s cubic-bezier(0.2, 0, 0.2, 1) both;
}

@keyframes hero-card-in {
  from {
    opacity: 0;
    transform: translateY(-40%) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

.hero-wrap .steps-card-label {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 18px;
}

.hero-wrap .steps-card-row {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 14px;
}

.hero-wrap .steps-card-row:last-child {
  margin-bottom: 0;
}

.hero-wrap .steps-card-n {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--amber);
  color: #1c1200;
  font-size: 16px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(244, 201, 108, 0.4);
}

.hero-wrap .steps-card-text {
  padding-top: 2px;
}

.hero-wrap .steps-card-title {
  font-size: 18px;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 4px;
}

.hero-wrap .steps-card-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.4;
  min-height: 29px;
}

.hero-wrap .steps-card-sub b {
  color: var(--amber);
  font-weight: 700;
}

.hero-wrap .steps-card-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 12px 0;
}

.hero-wrap .slide-left,
.hero-wrap .slide-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

/* Badge */
.hero-wrap .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.9px;
  text-transform: uppercase;
  margin-bottom: 16px;
  width: fit-content;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Как в embed: бейдж закреплен сверху для s1/s2 */
.hero-wrap .hero-slide.s1 .badge, .hero-wrap .hero-slide.s2 .badge, .hero-wrap .hero-slide.s3 .badge {
  position: absolute;
  top: 42px;
  left: 60px;
  margin-bottom: 0;
}

.hero-wrap .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
  animation: hero-blink 2.4s infinite;
}

@keyframes hero-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-wrap .slide-title {
  font-size: 60px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 14px;
}

.hero-wrap .accent { color: var(--amber); }
.hero-wrap .accent-ul {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.hero-wrap .slide-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  margin-bottom: 24px;
  font-weight: 400;
}

.hero-wrap .slide-btns {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hero-wrap .btn-amber {
  padding: 13px 26px;
  border-radius: 50px;
  border: none;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  background: var(--amber);
  color: #1c1200;
  transition: opacity 0.15s, transform 0.15s;
  flex-shrink: 0;
}
.hero-wrap .btn-amber:hover { opacity: 0.88; transform: translateY(-1px); }

.hero-wrap .btn-ghost {
  padding: 13px 26px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: white;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background 0.15s;
  flex-shrink: 0;
}
.hero-wrap .btn-ghost:hover { background: rgba(255, 255, 255, 0.18); }

.hero-wrap .btn-white {
  padding: 13px 26px;
  border-radius: 50px;
  border: none;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.95);
  color: #1a3d6e;
  transition: opacity 0.15s;
  flex-shrink: 0;
}
.hero-wrap .btn-white:hover { opacity: 0.9; }

.hero-wrap .chips { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-wrap .chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}
.hero-wrap .chip-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-wrap .chip-dot svg { width: 8px; height: 8px; stroke: white; }

.hero-wrap .stats { display: flex; gap: 32px; }
.hero-wrap .stat-n { font-size: 28px; font-weight: 900; color: var(--amber); line-height: 1; }
.hero-wrap .stat-l { font-size: 10px; color: rgba(255, 255, 255, 0.4); margin-top: 3px; font-weight: 500; }

/* Steps (slide 1) */
.hero-wrap .steps-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 14px;
}

.hero-wrap .step-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  margin-bottom: 10px;
  transition: background 0.2s;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.hero-wrap .step-card:last-child { margin-bottom: 0; }
.hero-wrap .step-card:hover { background: rgba(255, 255, 255, 0.09); }

.hero-wrap .step-n {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--amber);
  color: #1c1200;
  font-size: 15px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-wrap .step-title { font-size: 13px; font-weight: 800; color: white; margin-bottom: 3px; }
.hero-wrap .step-sub { font-size: 11px; color: rgba(255, 255, 255, 0.42); line-height: 1.4; }
.hero-wrap .step-sub b { color: var(--amber); font-weight: 700; }

/* Product cards — как в tepsey-banners-with-farmer.html */
.hero-wrap .products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  height: 100%;
}

.hero-wrap .prod-card {
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  background: rgba(10, 50, 30, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: background 0.2s, transform 0.18s;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.hero-wrap .prod-card:hover { background: rgba(10, 50, 30, 0.4); transform: scale(1.02); }

.hero-wrap .prod-emoji {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
}

.hero-wrap .prod-img-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  min-height: 60px;
  padding: 6px 0;
}
.hero-wrap .prod-thumb,
.hero-wrap img.prod-thumb {
  max-width: 100%;
  max-height: 88px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}
.hero-wrap img.prod-thumb {
  max-height: 75px;
  display: table;
  margin-left: auto;
  margin-right: auto;
}
.hero-wrap .prod-region {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 4px;
}
.hero-wrap .prod-name { font-size: 13px; font-weight: 800; color: white; line-height: 1.3; margin-bottom: 10px; }
.hero-wrap .prod-bottom { display: flex; align-items: center; justify-content: space-between; }
.hero-wrap .prod-weight {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}
.hero-wrap .prod-price { display: flex; align-items: baseline; gap: 1px; }
.hero-wrap .prod-price-from { font-size: 10px; color: rgba(255, 255, 255, 0.38); font-weight: 600; }
.hero-wrap .prod-price-val { font-size: 22px; color: white; font-weight: 900; }
.hero-wrap .prod-price-cur { font-size: 11px; color: rgba(255, 255, 255, 0.55); font-weight: 600; }

/* Regions (slide 3) */
.hero-wrap .regions { display: flex; flex-direction: column; gap: 10px; }

.hero-wrap .region-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.hero-wrap .region-row:hover { background: rgba(255, 255, 255, 0.1); }

.hero-wrap .r-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.hero-wrap .ri-navy { background: rgba(32, 74, 135, 0.7); }
.hero-wrap .ri-blue { background: rgba(56, 114, 255, 0.6); }
.hero-wrap .ri-sky { background: rgba(0, 160, 227, 0.6); }
.hero-wrap .ri-teal { background: rgba(20, 186, 139, 0.6); }

.hero-wrap .r-info { flex: 1; min-width: 0; }
.hero-wrap .r-name {font-size: 16px;font-weight: 800;color: white;margin-bottom: 2px;}
.hero-wrap .r-sub {font-size: 14px;color: rgba(255,255,255,0.42);overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
.hero-wrap .r-price { text-align: right; flex-shrink: 0; }
.hero-wrap .r-price-lbl { font-size: 9px; color: rgba(255, 255, 255, 0.35); }
.hero-wrap .r-price-val {font-size: 18px;font-weight: 900;color: var(--amber);}
.hero-wrap .r-arrow { color: rgba(255, 255, 255, 0.22); font-size: 18px; margin-left: 4px; }

/* Slide 2: compact dark rows */
.hero-wrap .s2-regions { gap: 8px; }
.hero-wrap .s2-row {
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 14px;
  gap: 10px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 20px rgba(0, 0, 0, 0.2);
}
.hero-wrap .s2-row:hover { background: rgba(255, 255, 255, 0.1) !important; }
.hero-wrap .s2-name { font-size: 13px; font-weight: 800; color: #fff; margin-bottom: 2px; }
.hero-wrap .s2-sub { font-size: 10px; color: rgba(255, 255, 255, 0.55); }
.hero-wrap .s2-lbl {font-size: 14px;color: rgba(255, 255, 255, 0.4);}
.hero-wrap .s2-val {font-size: 18px;font-weight: 900;color: var(--amber);}

/* Slide 3: brand colors on light background (embed) */
.hero-wrap .hero-slide.s3 .slide-title { color: #204A87 !important; text-shadow: none !important; }
.hero-wrap .hero-slide.s3 .slide-title .accent-ul { color: #204A87 !important; text-decoration-color: #4DBA80; }
.hero-wrap .hero-slide.s3 .slide-sub { color: rgba(32,74,135,0.7) !important; text-shadow: none !important; }
.hero-wrap .hero-slide.s3 .slide-sub strong { color: #204A87 !important; }
.hero-wrap .hero-slide.s3 .btn-white { background: #204A87; color: #fff; border: none; }
.hero-wrap .hero-slide.s3 .btn-white:hover { background: #1a3d6e; }
.hero-wrap .hero-slide.s3 .btn-ghost { border-color: rgba(32,74,135,0.4); color: #204A87; }
.hero-wrap .hero-slide.s3 .btn-ghost:hover { background: rgba(32,74,135,0.08); }
.hero-wrap .hero-slide.s3 .chip { background: rgba(32,74,135,0.1); border-color: rgba(32,74,135,0.2); color: #204A87; }
.hero-wrap .hero-slide.s3 .chip-dot { background: #4DBA80; }
.hero-wrap .hero-slide.s3 .r-name { color: #204A87; }
.hero-wrap .hero-slide.s3 .r-sub { color: rgba(32,74,135,0.55); }
.hero-wrap .hero-slide.s3 .r-price-lbl { color: rgba(32,74,135,0.45); }
.hero-wrap .hero-slide.s3 .r-price-val { color: #4DBA80; }
.hero-wrap .hero-slide.s3 .r-arrow { color: rgba(32,74,135,0.3); }
.hero-wrap .hero-slide.s3 .region-row { background: rgba(255,255,255,0.52); border-color: rgba(32,74,135,0.1); box-shadow: none; }
.hero-wrap .hero-slide.s3 .region-row:hover { background: rgba(255,255,255,0.72); }

/* Slider controls */
.hero-wrap .hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.hero-wrap .hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.hero-wrap .hero-dot.active { width: 26px; background: white; }

.hero-wrap .hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background 0.15s;
  z-index: 10;
}
.hero-wrap .hero-nav:hover { background: rgba(255, 255, 255, 0.2); }
.hero-wrap .hero-prev {left: 9px;right: auto;}
.hero-wrap .hero-next {right: 9px;left: auto;}

/* Entrance animation */
@keyframes hero-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-wrap .a1 { animation: hero-up 0.4s 0s ease both; }
.hero-wrap .a2 { animation: hero-up 0.4s 0.06s ease both; }
.hero-wrap .a3 { animation: hero-up 0.4s 0.12s ease both; }
.hero-wrap .a4 { animation: hero-up 0.4s 0.18s ease both; }
.hero-wrap .a5 { animation: hero-up 0.4s 0.24s ease both; }

/* Responsive */
@media (max-width: 992px) {
  /* Слайд 3: фикс. высота. Слайд 2 при колонке «текст + сетка» — по контенту */
  .hero-wrap .hero-slide.s3 {
    height: 420px;
  }

  .hero-wrap .hero-slide.s2 {
    height: auto;
    min-height: 440px;
  }

  .hero-wrap .hero-slide.s1 {
    height: auto;
    min-height: 440px;
  }

  .hero-wrap .slide-inner { padding: 0 32px; gap: 32px; grid-template-columns: 1fr; }
  .hero-wrap .hero-slide.s3 .slide-inner {
    grid-template-columns: 1fr;
  }
  .hero-wrap .hero-slide.s3 .slide-right {
    width: 100%;
    max-width: 300px;
    justify-self: end;
    margin-left: auto;
  }
  .hero-wrap .slide-inner.products-layout { padding: 20px 32px; }
  .hero-wrap .slide-title { font-size: 36px; }
  .hero-wrap .slide-watermark { font-size: 100px; }
  .hero-wrap .products-grid { grid-template-rows: auto; }

  .hero-wrap .slide-inner.farmer-layout {
    grid-template-columns: 1fr;
    padding: 24px 32px 0;
    gap: 0;
  }

  .hero-wrap .farmer-col {
    order: 2;
    min-height: 0;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 16px;
  }

  .hero-wrap .hero-s1-photo,
  .hero-wrap .hero-s2-photo,
  .hero-wrap .hero-s3-photo {
    object-position: center bottom;
  }

  .hero-wrap .steps-float-card {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: calc(100% - 32px);
    margin: -48px auto 0;
    padding: 22px 20px;
    animation: none;
  }
}

@media (max-width: 576px) {
  .hero-wrap { border-radius: 0; }

  .hero-wrap .hero-slide.s3 {
    height: 380px;
  }

  .hero-wrap .hero-slide.s2 {
    height: auto;
    min-height: 420px;
  }

  .hero-wrap .hero-slide.s1 {
    height: auto;
    min-height: 400px;
  }

  .hero-wrap .slide-inner { padding: 0 20px; gap: 24px; }
  .hero-wrap .hero-slide.s3 .slide-right {
    max-width: min(300px, 100%);
  }
  .hero-wrap .slide-inner.products-layout { padding: 16px 20px; }
  .hero-wrap .slide-title { font-size: 28px; }
  .hero-wrap .slide-btns { flex-direction: column; }
  .hero-wrap .btn-amber,
  .hero-wrap .btn-ghost,
  .hero-wrap .btn-white { width: 100%; }
  .hero-wrap .slide-watermark { font-size: 64px; }
  .hero-wrap .hero-nav { width: 36px; height: 36px; }
  .hero-wrap .hero-prev { left: 8px; }
  .hero-wrap .hero-next { right: 8px; }
  .hero-wrap .hero-dots { bottom: 12px; }

  .hero-wrap .slide-inner.farmer-layout {
    padding: 20px 20px 0;
  }

  .hero-wrap .steps-float-card {
    margin-top: -36px;
    padding: 18px 16px;
  }

  .hero-wrap .steps-card-title {
    font-size: 14px;
  }

  .hero-wrap .steps-card-sub {
    font-size: 11px;
  }

  .hero-wrap .steps-card-n {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .hero-wrap .hero-slide.s2 .products-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: minmax(0, auto);
  }
}

/* ================================================================
   МОБИЛЬНЫЙ HERO — Accenture-style карточки (только < 768px)
   ================================================================ */
.mob-hero-wrap {
  display: none;
  background: white;
  padding: 10px 0 0;
  overflow: hidden;
}

.mob-hero-track {
  display: flex;
  gap: 12px;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Левый отступ 16px, правого нет — peek следующей карточки виден естественно */
  padding: 0 0 12px 16px;
  background: white;
}
.mob-hero-track::-webkit-scrollbar { display: none; }

.mob-hero-card {
  /* Ширина = экран − 16px(левый отступ) − 56px(peek следующей карточки) − 12px(gap) */
  min-width: calc(100vw - 84px);
  max-width: calc(100vw - 84px);
  height: 470px;
  border-radius: 22px;
  scroll-snap-align: start;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 22px;
  /* box-shadow: 0 10px 36px rgba(0,0,0,0.18); */
  cursor: pointer;
}

/* ── Карточка 2: Фермер в полный рост ── */
.mhc-farmer-card {
  padding: 0;
  overflow: hidden;
}
.mhc-farmer-full {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% top;
  z-index: 0;
}
/* Тёмный градиент снизу для кнопки */
.mhc-farmer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20,40,80,0.1)  0%,
    rgba(20,40,80,0.15) 50%,
    rgba(20,40,80,0.75) 80%,
    rgba(20,40,80,0.92) 100%
  );
  z-index: 1;
}
.mhc-farmer-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 26px 22px 28px;
}
.mhc-farmer-content .mhc-btn {
  width: fit-content;
  margin-top: auto;
}
/* ── Карточка 6: адаптивная верстка бейджа и кнопки ── */
.mhc-6-content {
  padding: clamp(18px, 4.6vw, 26px) clamp(14px, 4.2vw, 22px) clamp(20px, 5vw, 28px);
}
.mhc-6-badge {
  max-width: calc(100% - 64px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mhc-6-btn {
  position: absolute !important;
  left: clamp(14px, 4vw, 18px) !important;
  right: clamp(14px, 4vw, 18px) !important;
  bottom: clamp(20px, 5vw, 28px) !important;
  width: auto;
  margin: 0 !important;
  justify-content: center;
}
@media (max-width: 390px) {
  .mhc-6-badge {
    font-size: 10px;
    padding: 6px 12px;
    gap: 6px;
    max-width: calc(100% - 56px);
  }
  .mhc-6-btn {
    height: 42px;
    font-size: 12px;
    padding: 0 14px;
  }
}

/* ── Фоны карточек ── */
/* Photo cards: 1, 3, 5 — яркий визуал */
.mhc-1 { background: url("/new-design/hero-reference/mob/mhc-1.jpg") center/cover #1a3d6e; }
.mhc-3 { background: url("/new-design/hero-reference/mob/back-3.jpg") center/cover #1a3d6e; }
.mhc-5 { background: url("/new-design/hero-reference/mob/mhc-5.png") center/cover #f1f5f9; }
/* Info cards: 2, 4, 6 — глубокий тёмный */
.mhc-2 { background: linear-gradient(148deg, #0f1f3d 0%, #1a2e55 55%, #1e3a6e 100%); }

/* ── PHOTO cards: большой центральный визуал ── */
.mhc-big-emoji {
  position: absolute;
  bottom: -24px;
  right: -16px;
  font-size: 220px;
  line-height: 1;
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.25));
}

/* ── INFO cards: шаги (card 2) ── */
.mhc-steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  position: relative;
  z-index: 2;
}
.mhc-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 8px 11px;
}
.mhc-step-n {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #F4C96C;
  color: #1c1200;
  font-size: 12px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mhc-step-text { font-size: 12px; color: rgba(255,255,255,0.65); line-height: 1.4; }

/* ── PHOTO cards: ценник (card 3) ── */
.mhc-price-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 14px;
  padding: 8px 14px;
  margin-top: auto;
  position: relative;
  z-index: 2;
}
.mhc-price-from { font-size: 12px; color: rgba(255,255,255,0.5); }
.mhc-price-val  { font-size: 28px; font-weight: 900; color: #fff; line-height: 1; }
.mhc-price-unit { font-size: 12px; color: rgba(255,255,255,0.5); }

/* ── INFO cards: сетка статов (card 4) ── */
.mhc-stat-grid {
  display: flex;
  gap: 0;
  margin-top: 16px;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 14px;
}
.mhc-stat-block { flex: 1; text-align: left; }
.mhc-stat-block + .mhc-stat-block {
  border-left: 1px solid rgba(255,255,255,0.1);
  padding-left: 16px;
}

/* ── PHOTO cards: бейджи регионов (card 5) ── */
.mhc-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  position: relative;
  z-index: 2;
}
.mhc-badge-item {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 5px 11px;
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}

/* ── INFO cards: гарантии (card 6) ── */
.mhc-guarantees {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 14px;
  position: relative;
  z-index: 2;
}
.mhc-guarantee {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}
.mhc-g-icon {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: white; flex-shrink: 0;
  font-weight: 700;
}

/* ── Метка категории ── */
.mhc-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

/* ── Заголовок ── */
.mhc-title {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.8px;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}
.mhc-title .mhc-accent { color: #F4C96C; }
.mhc-title .mhc-ul {
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.3);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

/* ── Подзаголовок ── */
.mhc-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  line-height: 1.45;
  margin-bottom: 6px;
  position: relative;
  z-index: 2;
}

/* ── Кнопка (только на первой карточке) ── */
.mhc-btn {
  margin-top: 22px;
  height: 44px;
  padding: 0 24px;
  border-radius: 50px;
  border: none;
  background: #F4C96C;
  color: #1c1200;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  white-space: nowrap;
  position: relative;
  z-index: 2;
  transition: opacity 0.15s;
  text-decoration: none;
}
.mhc-btn:hover { opacity: 0.88; }

/* ── Chips внизу карточки ── */
.mhc-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
  position: relative;
  z-index: 2;
}
.mhc-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}
.mhc-chip-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.13);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mhc-chip-dot svg { width: 7px; height: 7px; stroke: white; }

/* ── Статы внизу карточки ── */
.mhc-stats {
  display: flex;
  gap: 24px;
  margin-top: 18px;
  position: relative;
  z-index: 2;
}
.mhc-stat-n { font-size: 24px; font-weight: 900; color: #F4C96C; line-height: 1; }
.mhc-stat-l { font-size: 9px; color: rgba(255,255,255,0.4); margin-top: 2px; font-weight: 500; }

/* ── Точки навигации ── */
.mob-hero-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding: 14px 0 10px;
}
.mob-hero-dot {
  width: 6px; height: 6px;
  border-radius: 3px;
  background: rgba(0,0,0,0.18);
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  padding: 0;
}
.mob-hero-dot.active {
  width: 22px;
  background: #2558a8;
}

/* ── Mobile Banner 5: region rows ── */
.mhc5-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(32,74,135,0.1);
  border-radius: 12px;
  padding: 8px 10px;
  text-decoration: none;
}
.mhc5-info { flex: 1; min-width: 0; }
.mhc5-name {font-size: 14px;font-weight: 800;color: #204A87;margin-bottom: 1px;}
.mhc5-sub  {font-size: 12px;color: rgba(32,74,135,0.55);white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.mhc5-price { text-align: right; flex-shrink: 0; }
.mhc5-lbl { font-size: 9px; color: rgba(32,74,135,0.45); }
.mhc5-val { font-size: 14px; font-weight: 900; color: #4DBA80; }
.mhc5-arrow { color: rgba(32,74,135,0.3); font-size: 16px; margin-left: 2px; }

/* ── Mobile Banner 3: product rows (dark) ── */
.mhc3-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 8px 10px;
}
.mhc3-info { flex: 1; min-width: 0; }
.mhc3-name {font-size: 14px;font-weight: 800;color: white;margin-bottom: 1px;}
.mhc3-sub  {font-size: 12px;color: rgba(255,255,255,0.5);white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.mhc3-price { text-align: right; flex-shrink: 0; }
.mhc3-lbl { font-size: 9px; color: rgba(255,255,255,0.45); }
.mhc3-val { font-size: 14px; font-weight: 900; color: #F4C96C; }

/* ── Badge pill for farmer cards ── */
.mhc-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 50px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  width: fit-content;
  position: relative;
  z-index: 2;
}
.mhc-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #F4C96C;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .mob-hero-wrap { display: block; }
  .hero-slider-wrap { display: none !important; }
}

@media (max-width:576px){
  .hero-slider-wrap{display:none}
  .mob-hero-wrap{display:block;padding-top: 0;}
}

@media (min-width: 577px) {
  .regions.s2-regions .region-row .s2-name {
    font-size: 16px;
    height: 20px;
    overflow:hidden;
  }


  .regions.s2-regions .region-row .r-sub.s2-sub {
    font-size: 14px;
  }
}
.hero-slide.s3 span.badge-dot.hero-badge-dot {
  background: var(--green);
}
.hero-slide.s3 .badge.hero-badge.a1 {
  color: var(--blue);
}