/* ROLLSKRAN · вау-слой для страниц «Складское оборудование» и
   «Автоматизированные склады». Только этим двум страницам. 19.11.2026 */

/* ---------- 1. Кинематографичный hero: фото на всю ширину + крупная типографика ---------- */
html body #rk-screwfast main.sfp-warehouse-review .sfp-wh-hero {
  position: relative !important;
  display: block !important;
  grid-template-columns: none !important;
  min-height: 620px !important;
  margin-bottom: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  background: #0b0d0f !important;
}
html body #rk-screwfast main.sfp-warehouse-review .sfp-wh-hero figure {
  position: absolute !important;
  inset: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  overflow: hidden !important;
}
html body #rk-screwfast main.sfp-warehouse-review .sfp-wh-hero figure > img {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center 55% !important;
  display: block !important;
  transform: scale(1.04);
  animation: wcHeroZoom 14s ease-out forwards;
}
html body #rk-screwfast main.sfp-warehouse-review .sfp-wh-hero figure:after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background:
    linear-gradient(90deg, rgba(8, 10, 12, .92) 0%, rgba(8, 10, 12, .72) 38%, rgba(8, 10, 12, .18) 72%, rgba(8, 10, 12, .05) 100%),
    linear-gradient(180deg, rgba(8, 10, 12, .35) 0%, rgba(8, 10, 12, 0) 30%, rgba(8, 10, 12, .45) 100%) !important;
}
html body #rk-screwfast main.sfp-warehouse-review .sfp-wh-hero figcaption {
  display: none !important;
}
html body #rk-screwfast main.sfp-warehouse-review .sfp-wh-hero-copy {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  max-width: 1280px !important;
  width: 100% !important;
  min-height: 620px !important;
  margin: 0 auto !important;
  padding: 90px 32px 96px !important;
  box-sizing: border-box !important;
}
html body #rk-screwfast main.sfp-warehouse-review .wc-hero-kicker {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 0 22px !important;
  padding: 7px 12px !important;
  border: 1px solid rgba(255, 255, 255, .32) !important;
  background: rgba(255, 255, 255, .08) !important;
  color: #fff !important;
  font-size: 12.5px !important;
  line-height: 1.3 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}
html body #rk-screwfast main.sfp-warehouse-review .wc-hero-kicker:before {
  content: "" !important;
  width: 8px !important;
  height: 8px !important;
  background: #F4A900 !important;
}
html body #rk-screwfast main.sfp-warehouse-review .sfp-wh-hero h1 {
  max-width: 1100px !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  margin: 0 0 22px !important;
  color: #fff !important;
  font-size: clamp(38px, 4.6vw, 64px) !important;
  line-height: 1.02 !important;
  letter-spacing: -.03em !important;
  font-weight: 600 !important;
}
html body #rk-screwfast main.sfp-warehouse-review .sfp-wh-hero h1 .wc-accent {
  color: #F4A900 !important;
}
html body #rk-screwfast main.sfp-warehouse-review .sfp-wh-hero p {
  max-width: 56ch !important;
  margin: 0 0 30px !important;
  color: #dfe5e8 !important;
  font-size: 19px !important;
  line-height: 1.55 !important;
}
html body #rk-screwfast main.sfp-warehouse-review .sfp-wh-hero .sfp-wh-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 40px !important;
  min-width: 260px !important;
  padding: 17px 22px !important;
  background: #F4A900 !important;
  border: 1px solid #F4A900 !important;
  color: #111 !important;
  font-size: 15px !important;
  transition: transform .2s ease, background .2s ease;
}
html body #rk-screwfast main.sfp-warehouse-review .sfp-wh-hero .sfp-wh-button:hover {
  transform: translateY(-2px);
  background: #ffbc14 !important;
  border-color: #ffbc14 !important;
}
@keyframes wcHeroZoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.12); }
}

/* ---------- 2. Полоса цифр под hero ---------- */
html body #rk-screwfast main.sfp-warehouse-review .wc-stats {
  max-width: 1400px !important;
  width: calc(100% - 64px) !important;
  margin: 0 auto !important;
  border-bottom: 1px solid #d6dbde !important;
  background: #fff !important;
}
html body #rk-screwfast main.sfp-warehouse-review .wc-stats-in {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0 !important;
}
html body #rk-screwfast main.sfp-warehouse-review .wc-stat-cell {
  padding: 26px 22px 24px !important;
  border-right: 1px solid #e3e7e9 !important;
}
html body #rk-screwfast main.sfp-warehouse-review .wc-stat-cell:first-child { padding-left: 0 !important; }
html body #rk-screwfast main.sfp-warehouse-review .wc-stat-cell:last-child { border-right: 0 !important; }
html body #rk-screwfast main.sfp-warehouse-review .wc-stat-cell b {
  display: block !important;
  font-size: 42px !important;
  line-height: 1 !important;
  letter-spacing: -.03em !important;
  font-weight: 600 !important;
  color: #17191b !important;
}
html body #rk-screwfast main.sfp-warehouse-review .wc-stat-cell b em {
  font-style: normal !important;
  color: #F4A900 !important;
}
html body #rk-screwfast main.sfp-warehouse-review .wc-stat-cell span {
  display: block !important;
  margin-top: 8px !important;
  font-size: 13.5px !important;
  line-height: 1.4 !important;
  color: #64707a !important;
}

/* ---------- 3. Вводный текст и заголовки секций ---------- */
html body #rk-screwfast main.sfp-warehouse-review .sfp-wh-intro {
  max-width: 1400px !important;
  width: calc(100% - 64px) !important;
  margin: 34px auto 0 !important;
  padding-bottom: 30px !important;
  border-bottom: 1px solid #d6dbde !important;
}
html body #rk-screwfast main.sfp-warehouse-review .sfp-wh-intro p {
  max-width: 92ch !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
  color: #3d474c !important;
}
html body #rk-screwfast main.sfp-warehouse-review .wc-head .sfp-rk-wh-directions-title {
  font-size: 44px !important;
  line-height: 1.08 !important;
  letter-spacing: -.02em !important;
}
html body #rk-screwfast main.sfp-warehouse-review .sfp-rk-wh-subcat-title {
  font-size: 40px !important;
  line-height: 1.1 !important;
  letter-spacing: -.02em !important;
}

/* ---------- 4. Карточки: мягкий вау-эффект при наведении ---------- */
html body #rk-screwfast main.sfp-warehouse-review .sfp-rk-wh-subcat-card,
html body #rk-screwfast main.sfp-warehouse-review .sfp-related .sfp-rk-c-card,
html body #rk-screwfast main.sfp-warehouse-review .wc-grid .sfp-rk-wh-dir-card {
  transition: transform .28s cubic-bezier(.2, .7, .3, 1), box-shadow .28s ease, border-color .28s ease !important;
}
html body #rk-screwfast main.sfp-warehouse-review .sfp-rk-wh-subcat-card:hover,
html body #rk-screwfast main.sfp-warehouse-review .wc-grid .sfp-rk-wh-dir-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(13, 18, 22, .12) !important;
  border-color: #F4A900 !important;
}
html body #rk-screwfast main.sfp-warehouse-review .sfp-rk-wh-dir-img,
html body #rk-screwfast main.sfp-warehouse-review .sfp-rk-wh-subcat-img {
  transition: transform .45s cubic-bezier(.2, .7, .3, 1) !important;
}
html body #rk-screwfast main.sfp-warehouse-review .sfp-rk-wh-dir-card:hover .sfp-rk-wh-dir-img,
html body #rk-screwfast main.sfp-warehouse-review .sfp-rk-wh-subcat-card:hover .sfp-rk-wh-subcat-img {
  transform: scale(1.045) !important;
}

/* ---------- 5. Появление блоков при скролле ---------- */
html body #rk-screwfast main.sfp-warehouse-review .wc-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1);
  will-change: opacity, transform;
}
html body #rk-screwfast main.sfp-warehouse-review .wc-reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html body #rk-screwfast main.sfp-warehouse-review .sfp-wh-hero figure > img { animation: none !important; transform: none !important; }
  html body #rk-screwfast main.sfp-warehouse-review .wc-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- 6. Адаптив ---------- */
@media (max-width: 1100px) {
  html body #rk-screwfast main.sfp-warehouse-review .wc-stats-in { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  html body #rk-screwfast main.sfp-warehouse-review .wc-stat-cell { border-bottom: 1px solid #e3e7e9 !important; }
  html body #rk-screwfast main.sfp-warehouse-review .wc-stat-cell:nth-child(2n) { border-right: 0 !important; }
  html body #rk-screwfast main.sfp-warehouse-review .wc-stat-cell:nth-child(1),
  html body #rk-screwfast main.sfp-warehouse-review .wc-stat-cell:nth-child(2) { border-top: 0 !important; }
}
@media (max-width: 700px) {
  html body #rk-screwfast main.sfp-warehouse-review .sfp-wh-hero { min-height: 540px !important; }
  html body #rk-screwfast main.sfp-warehouse-review .sfp-wh-hero-copy { min-height: 540px !important; padding: 64px 20px 64px !important; }
  html body #rk-screwfast main.sfp-warehouse-review .sfp-wh-hero h1 { font-size: 27px !important; max-width: none !important; hyphens: auto !important; -webkit-hyphens: auto !important; overflow-wrap: break-word !important; }
  html body #rk-screwfast main.sfp-warehouse-review .sfp-wh-hero p { font-size: 16px !important; }
  html body #rk-screwfast main.sfp-warehouse-review .sfp-wh-hero figure > img { object-position: 62% center !important; }
  html body #rk-screwfast main.sfp-warehouse-review .wc-stats { width: calc(100% - 32px) !important; }
  html body #rk-screwfast main.sfp-warehouse-review .wc-stat-cell { padding: 18px 14px !important; }
  html body #rk-screwfast main.sfp-warehouse-review .wc-stat-cell b { font-size: 30px !important; }
  html body #rk-screwfast main.sfp-warehouse-review .sfp-wh-intro { width: calc(100% - 32px) !important; }
  html body #rk-screwfast main.sfp-warehouse-review .wc-head .sfp-rk-wh-directions-title { font-size: 30px !important; }
  html body #rk-screwfast main.sfp-warehouse-review .sfp-rk-wh-subcat-title { font-size: 27px !important; }
}
