
/* ========================================
   SCENARIO LANDING PAGES
   ======================================== */

/* === HERO === */
.lp-hero {
  position: relative;
  background: var(--gradient-section);
  padding: 3rem 0 2.5rem;
  overflow: hidden;
}
.lp-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,.06) 0%, transparent 60%);
  pointer-events: none;
}
.lp-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}
.lp-bc {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  margin-bottom: 1.5rem;
}
.lp-bc a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color .2s;
}
.lp-bc a:hover { color: #fff; }
.lp-bc span { color: rgba(255,255,255,.4); }
.lp-bc .cur { color: rgba(255,255,255,.85); font-weight: 500; }

.lp-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.lp-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 100px;
  padding: .4rem 1rem;
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  margin-bottom: 1rem;
}
.lp-tag svg { width: 16px; height: 16px; }
.lp-hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 1rem;
}
.lp-hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.75);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 1.5rem;
}
.lp-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.lp-btn-p {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--color-accent-orange);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: .85rem 1.75rem;
  font-family: var(--font-main);
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .25s;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(255,107,53,.35);
}
.lp-btn-p:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,107,53,.45);
}
.lp-btn-s {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-md);
  padding: .85rem 1.75rem;
  font-family: var(--font-main);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  text-decoration: none;
  backdrop-filter: blur(4px);
}
.lp-btn-s:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.4);
}
.lp-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.lp-stats b {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  display: block;
}
.lp-stats small {
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  margin-top: .25rem;
  display: block;
}

/* Hero image (desktop only) */
.lp-vis { display: none; }
.lp-img-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  max-width: 440px;
  aspect-ratio: 1/1;
  background: #fff;
}
.lp-img-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 2.5rem 2rem 4.5rem;
}
/* Для загруженных hero-фото (не иконок категорий) */
.lp-img-card--photo {
  aspect-ratio: 4/3;
  background: none;
}
.lp-img-card--photo img {
  object-fit: cover;
  padding: 0;
}
.lp-img-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.lp-img-card--photo::after {
  background: linear-gradient(180deg, transparent 40%, rgba(0,50,163,.45) 100%);
}
.lp-img-lbl {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .5rem;
  background: rgba(0,58,163,.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0,58,163,.12);
  border-radius: var(--radius-md);
  padding: .6rem 1rem;
}
/* Для hero-фото — полупрозрачный светлый */
.lp-img-card--photo .lp-img-lbl {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.2);
}
.lp-img-lbl-ic {
  width: 32px;
  height: 32px;
  background: var(--color-accent-orange);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lp-img-lbl-ic svg { width: 18px; height: 18px; color: #fff; }
.lp-img-lbl b {
  font-size: .82rem;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.3;
  display: block;
}
.lp-img-lbl small {
  font-size: .72rem;
  font-weight: 400;
  color: var(--color-text-secondary);
  display: block;
}
/* Для hero-фото — белый текст */
.lp-img-card--photo .lp-img-lbl b { color: #fff; }
.lp-img-card--photo .lp-img-lbl small { color: rgba(255,255,255,.7); }

/* === BENEFITS === */
.lp-ben { padding: 3rem 0; }
.lp-ben-h { text-align: center; margin-bottom: 2rem; }
.lp-ben-g {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.lp-bc2 {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all .25s;
}
.lp-bc2:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.lp-ic {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-light);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lp-ic svg { width: 22px; height: 22px; }

/* === PRODUCTS === */
.lp-prod { padding: 0 0 2rem; }
.lp-prod-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: .5rem;
}
.lp-prod-sub {
  font-size: .85rem;
  color: var(--color-text-tertiary);
  font-weight: 500;
}

/* === RELATED CATEGORIES === */
.lp-rel { padding: 1rem 0 3rem; }
.lp-rel h3 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
}

/* === FAQ + CTA === */
.lp-faq-cta { padding: 2rem 0 3rem; }
.lp-faq-cta .lp-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.lp-faq-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.lp-faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
}
.lp-faq-q {
  width: 100%;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  font: inherit;
  font-size: .95rem;
  font-weight: 700;
  color: var(--color-text-primary);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background .2s;
}
.lp-faq-q:hover { background: var(--color-bg); }
.lp-faq-q svg {
  width: 20px;
  height: 20px;
  color: var(--color-text-tertiary);
  transition: transform .3s;
  flex-shrink: 0;
}
.lp-faq-item.open .lp-faq-q svg { transform: rotate(180deg); }
.lp-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s;
}
.lp-faq-item.open .lp-faq-a {
  max-height: 300px;
  padding: 0 1.25rem 1rem;
}
.lp-faq-a p {
  font-size: .9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* CTA sidebar */
.lp-cta-sb {
  background: var(--gradient-section);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  position: sticky;
  top: 6rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-self: start;
}
.lp-cta-sb::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 180%;
  background: radial-gradient(ellipse, rgba(255,255,255,.06) 0%, transparent 60%);
  pointer-events: none;
}
.lp-cta-sb > * { position: relative; z-index: 1; }
.lp-cta-sb h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}
.lp-cta-sb p {
  font-size: .88rem;
  color: rgba(255,255,255,.7);
  line-height: 1.5;
}
.lp-cta-sb-a {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.lp-cta-sb-a .lp-btn-p,
.lp-cta-sb-a .lp-btn-s {
  width: 100%;
  justify-content: center;
  font-size: .9rem;
  padding: .8rem 1.25rem;
}
.lp-cta-sb small {
  text-align: center;
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  display: block;
}

/* === LP Responsive === */
@media (min-width: 640px) {
  .lp-ben-g { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .lp-hero { padding: 3.5rem 0 3rem; }
  .lp-hero-grid { grid-template-columns: 1fr 1fr; }
  .lp-vis { display: flex; justify-content: center; align-items: center; }
  .lp-faq-cta .lp-inner { grid-template-columns: 1fr 340px; }
}
@media (min-width: 1024px) {
  .lp-ben-g { grid-template-columns: repeat(4, 1fr); }
  .lp-bc2 { flex-direction: column; text-align: center; align-items: center; }
}
@media (min-width: 1200px) {
  .lp-faq-cta .lp-inner { grid-template-columns: 1fr 400px; }
}
