/* ================================================================
   stocks-page.css — Страница «Акции» | Северный город Premium
   Scope: .stocksPage
   ================================================================ */

@keyframes hdrShimmer {
  0%   { left: -75%; }
  60%  { left: 125%; }
  100% { left: 125%; }
}

.stocksPage {
  --g:   #c8a84b;
  --gs:  rgba(200,168,75,.11);
  --gb:  rgba(200,168,75,.28);
  --dk:  #07192b;
  --ink: #0f172a;
  --mt:  #64748b;
  --ln:  rgba(2,6,23,.10);
  --sh:  0 4px 20px rgba(2,6,23,.06);
  --sh2: 0 12px 36px rgba(2,6,23,.11);
  --r:   16px;

  padding: 16px 0 48px;
}

.stocksPage .container { max-width: 1140px; }
.stocksPage br { display: none; }

/* ── H1 ───────────────────────────────────────────────────────── */
.stocksPage .common-header {
  text-align: left !important;
  margin: 0 0 24px !important;
  padding: 0 0 16px !important;
  position: relative;
  font-weight: 900;
  font-size: clamp(28px, 3.5vw, 52px) !important;
  line-height: 1.05;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--dk);
}
.stocksPage .common-header::before { content: none !important; }
.stocksPage .common-header::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: clamp(140px, 20vw, 280px); height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--g), #e8c96a);
}

/* ── Верхний анонс акций ──────────────────────────────────────── */
.stocksPage p.clearfix {
  margin: 0 0 20px;
  padding: 14px 20px;
  background: var(--dk);
  border: 1px solid var(--gb);
  border-radius: var(--r);
  box-shadow: 0 8px 28px rgba(7,25,43,.2);
  display: flex;
  align-items: center;
  gap: 12px;
}
.stocksPage p.clearfix::before {
  content: "\f0e7"; /* fa-bolt */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 18px;
  color: var(--g);
  flex-shrink: 0;
}
.stocksPage p.clearfix strong,
.stocksPage p.clearfix span strong {
  color: var(--g) !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

/* ── Список акций ─────────────────────────────────────────────── */
.stocksPage ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.stocksPage ul > li {
  position: relative;
  padding: 18px 20px 18px 70px;
  background: #fff;
  border: 1px solid var(--ln);
  border-radius: var(--r);
  box-shadow: var(--sh);
  color: var(--mt);
  line-height: 1.55;
  font-size: 15px;
  transition: box-shadow .22s, transform .22s, border-color .22s;
  overflow: hidden;
  counter-increment: promo;
}

/* Золотая полоса слева при ховере */
.stocksPage ul > li::after {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--g), #e8c96a);
  transform: scaleY(0); transform-origin: top;
  transition: transform .25s ease;
}
.stocksPage ul > li:hover {
  box-shadow: var(--sh2);
  transform: translateY(-2px);
  border-color: var(--gb);
}
.stocksPage ul > li:hover::after { transform: scaleY(1); }

/* Номер пункта — золотой бейдж */
.stocksPage ul > li::before {
  content: counter(promo);
  position: absolute;
  left: 16px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gs);
  border: 1px solid var(--gb);
  color: var(--dk);
  font-weight: 900; font-size: 15px;
  line-height: 1;
}

/* Заголовок акции */
.stocksPage ul > li b {
  display: block;
  font-weight: 800; font-size: 15px;
  color: var(--dk);
  margin-bottom: 4px;
}

/* ── Блок «Почему обращаются» ─────────────────────────────────── */
.stocksPage > .container > .stocksPage__content > p > strong,
.stocksPage__content > p:has(strong):not(.clearfix) {
  display: block;
  font-size: 11px !important; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--mt) !important;
  margin-bottom: 10px;
}

.stocksPage .stockBlock {
  background: var(--dk);
  border: 1px solid var(--gb);
  border-radius: var(--r);
  box-shadow: 0 12px 36px rgba(7,25,43,.2);
  padding: clamp(16px, 2.4vw, 28px);
  margin: 12px 0 0;
}

.stocksPage .stockBlock ul {
  margin: 0; gap: 8px;
  counter-reset: none;
}
.stocksPage .stockBlock li {
  padding: 0 0 0 22px !important;
  background: transparent !important;
  border: none !important; border-radius: 0 !important;
  box-shadow: none !important;
  color: rgba(255,255,255,.78) !important;
  font-size: 14.5px !important;
  transform: none !important;
  counter-increment: none;
}
.stocksPage .stockBlock li::before {
  content: "" !important;
  position: absolute; left: 0; top: .58em;
  width: 9px !important; height: 9px !important;
  border-radius: 50% !important;
  background: var(--g) !important;
  box-shadow: 0 0 0 3px rgba(200,168,75,.2) !important;
  transform: none !important;
}
.stocksPage .stockBlock li::after { display: none !important; }
.stocksPage .stockBlock li b { color: #fff !important; display: inline !important; }

/* ── Картинки (галерея) ───────────────────────────────────────── */
.stocksPage img.alignleft {
  float: none !important; margin: 0 !important; display: block;
  width: 100% !important; height: auto !important;
  border-radius: var(--r);
  border: 1px solid var(--ln);
  box-shadow: var(--sh);
}
.stocksPage .stocksGallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin: 16px 0 24px;
}
.stocksPage .stocksGallery img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--r); border: 1px solid var(--ln);
  box-shadow: var(--sh);
}

/* ── Адаптив ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .stocksPage .stocksGallery { grid-template-columns: 1fr; }
  .stocksPage ul > li { padding: 16px 16px 16px 60px; }
}

/* ════════════════════════════════════════════════════════════════
   ГЛАВНАЯ АКЦИЯ — .promo-hero
   (3D-сканирование hero-блок)
   ════════════════════════════════════════════════════════════════ */

@keyframes scanLine {
  0%   { top: -4px; opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { top: calc(100% + 4px); opacity: 0; }
}
@keyframes heroPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,168,75,.35), 0 16px 48px rgba(7,25,43,.3); }
  50%       { box-shadow: 0 0 0 10px rgba(200,168,75,0), 0 16px 48px rgba(7,25,43,.3); }
}

.promo-hero {
  position: relative;
  background: var(--dk);
  border: 1px solid rgba(200,168,75,.35);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 190px;
  align-items: stretch;
  margin: 0 0 28px;
  animation: heroPulse 4.5s ease-in-out infinite;
}
/* Сеточный фон */
.promo-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,168,75,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,168,75,.055) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none; z-index: 0;
}
/* Лазерная линия */
.promo-hero__scan {
  position: absolute; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg,
    transparent 0%, rgba(200,168,75,0) 5%,
    rgba(200,168,75,.9) 30%, #fff 50%,
    rgba(200,168,75,.9) 70%, rgba(200,168,75,0) 95%, transparent 100%);
  animation: scanLine 4s ease-in-out infinite;
  pointer-events: none; z-index: 3;
  filter: blur(.5px);
}
.promo-hero__body {
  padding: clamp(22px, 3vw, 38px);
  position: relative; z-index: 2;
}
.promo-hero__badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, #b8933b, #e8c96a 50%, #c8a84b);
  color: #07192b; font-size: 11px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 16px;
}
.promo-hero__title {
  font-size: clamp(19px, 2.6vw, 28px);
  font-weight: 900; color: #fff; line-height: 1.18;
  letter-spacing: -.02em; margin-bottom: 12px;
}
.promo-hero__title em { font-style: normal; color: var(--g); }
.promo-hero__desc {
  font-size: 14px; color: rgba(255,255,255,.62);
  line-height: 1.65; margin-bottom: 20px; max-width: 440px;
}
.promo-hero__features {
  display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 24px;
}
.promo-hero__feat {
  display: flex; align-items: center; gap: 5px;
  background: rgba(200,168,75,.10);
  border: 1px solid rgba(200,168,75,.22);
  border-radius: 999px; padding: 5px 12px;
  font-size: 12.5px; color: rgba(255,255,255,.80); font-weight: 600;
}
.promo-hero__feat i { color: var(--g); font-size: 10px; }
.promo-hero__cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #b8933b 0%, #e8c96a 45%, #c8a84b 70%, #a07830 100%);
  color: #07192b; font-weight: 800; font-size: 14.5px;
  padding: 12px 26px; border-radius: 999px;
  text-decoration: none; border: none; cursor: pointer;
  position: relative; overflow: hidden;
  box-shadow: 0 6px 22px rgba(200,168,75,.4);
  transition: transform .22s, box-shadow .22s;
}
.promo-hero__cta::after {
  content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.45) 50%, transparent);
  transform: skewX(-15deg); animation: hdrShimmer 3s ease-in-out infinite;
}
.promo-hero__cta:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(200,168,75,.55); }

/* Панель цены */
.promo-hero__price-box {
  background: rgba(200,168,75,.07);
  border-left: 1px solid rgba(200,168,75,.2);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 28px 20px;
  position: relative; z-index: 2; text-align: center;
}
.promo-hero__from {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 8px;
}
.promo-hero__amount {
  font-size: clamp(24px, 3.2vw, 36px); font-weight: 900;
  color: var(--g); line-height: 1; white-space: nowrap;
}
.promo-hero__rub { font-size: 13px; color: rgba(255,255,255,.4); margin-top: 5px; font-weight: 600; }
.promo-hero__icon3d {
  margin-top: 22px; width: 54px; height: 54px;
  border-radius: 16px; background: rgba(200,168,75,.14);
  border: 1px solid rgba(200,168,75,.28);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: var(--g);
}
@media (max-width: 680px) {
  .promo-hero { grid-template-columns: 1fr; }
  .promo-hero__price-box {
    border-left: none; border-top: 1px solid rgba(200,168,75,.2);
    flex-direction: row; gap: 16px; padding: 18px 22px; justify-content: flex-start;
  }
  .promo-hero__icon3d { margin-top: 0; }
}