/* ===== online-vedenie.ru | style B: жёсткий практик ===== */

:root{
  --bg:#0b0d10;
  --panel:#0f1217;
  --card:#10141b;
  --text:#e8edf3;
  --muted:#a8b3c0;
  --line: rgba(232,237,243,.10);
  --accent:#7c5cff; /* акцент */
  --radius:16px;
  --container:1320px;
  --shadow: 0 18px 60px rgba(0,0,0,.35);
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 20% 0%, rgba(124,92,255,.18), transparent 55%),
    radial-gradient(700px 420px at 85% 10%, rgba(232,237,243,.08), transparent 60%),
    var(--bg);
}

/* ===== утилиты ===== */
.container{ max-width: var(--container); margin:0 auto; padding: 0 20px; }

.section{
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.h2{
  margin: 0 0 18px;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.h3{
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.muted{ color: var(--muted); }
.small{ font-size: 14px; }

/* читаемость текста на широких экранах */
.hero__lead{ max-width: 70ch; }
.section .muted{ max-width: 78ch; }


/* ===== header ===== */
.header{
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11,13,16,.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header__inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.logo{
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

.nav{ display:flex; gap: 14px; flex-wrap:wrap; }

.nav a{
  color: var(--text);
  text-decoration: none;
  opacity: .78;
}

.nav a:hover{
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* ===== hero ===== */
.hero{
  position: relative;
  padding: 96px 0 72px;
  min-height: 72vh;
  display: flex;
  align-items: center;
}

/* сетка в hero */
.hero::before{
  content:"";
  position:absolute;
  inset: 0;
  pointer-events:none;
  background:
    linear-gradient(to right, rgba(232,237,243,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(232,237,243,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(700px 320px at 30% 30%, #000 35%, transparent 70%);
  -webkit-mask-image: radial-gradient(700px 320px at 30% 30%, #000 35%, transparent 70%);
  opacity: .35;
}

.hero__title{
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero__lead{
  margin: 0 0 18px;
  max-width: 820px;
  font-size: 18px;
  color: var(--muted);
}

.hero__actions{
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
  margin: 18px 0;
}

.hero__badges{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}

.hero__badges span{
  border: 1px solid var(--line);
  background: rgba(232,237,243,.04);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
}

/* ===== фирменная графика ===== */
.eyebrow{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom: 12px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(232,237,243,.70);
}

.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(124,92,255,.12);
  position: relative;
}

/* живой “пульс” — аккуратно, как в интерфейсе */
.dot::after{
  content:"";
  position:absolute;
  inset:-10px;
  border-radius: 999px;
  border: 1px solid rgba(124,92,255,.25);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse{
  0%   { transform: scale(.85); opacity: 0; }
  25%  { opacity: .55; }
  100% { transform: scale(1.15); opacity: 0; }
}

@media (prefers-reduced-motion: reduce){
  .dot::after{ animation: none; }
}

/* ===== кнопки ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(232,237,243,.18);
  background: linear-gradient(180deg, rgba(124,92,255,.95), rgba(124,92,255,.75));
  color: #0b0d10;
  font-weight: 700;
  text-decoration:none;
  cursor:pointer;
  box-shadow: 0 10px 30px rgba(124,92,255,.18);
}

.btn:hover{ filter: brightness(1.05); }

.btn--ghost{
  background: transparent;
  color: var(--text);
  border-color: rgba(232,237,243,.18);
  box-shadow: none;
}

.btn--ghost:hover{
  background: rgba(232,237,243,.06);
}

/* ===== карточки ===== */
.card{
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16,20,27,.90), rgba(16,20,27,.65));
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

/* ===== сетки ===== */
.grid3{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid2{ display:grid; grid-template-columns: 1.2fr .8fr; gap: 16px; }

/* ===== списки/шаги ===== */
.list{ margin: 12px 0 0; padding-left: 18px; color: var(--muted); }
.steps{ margin: 0; padding-left: 18px; color: var(--muted); }

/* ===== форма ===== */
.form{ display:grid; gap: 12px; }

.field{ display:grid; gap: 6px; font-weight: 600; }

.field span{
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

input, textarea{
  font: inherit;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  outline: none;
  background: rgba(232,237,243,.03);
  color: var(--text);
}

input::placeholder, textarea::placeholder{
  color: rgba(168,179,192,.75);
}

input:focus, textarea:focus{
  border-color: rgba(124,92,255,.55);
  box-shadow: 0 0 0 4px rgba(124,92,255,.12);
}

/* ===== footer ===== */
.footer{
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.footer__inner{
  display:flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap:wrap;
}

.footer a{ text-decoration:none; }
.footer a:hover{ text-decoration: underline; }

/* ===== пакеты ===== */
.pack{
  display:flex;
  flex-direction: column;
  gap: 12px;
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.pack__top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}

.pack__tag{
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: rgba(232,237,243,.72);
  background: rgba(232,237,243,.03);
  white-space: nowrap;
}

.pack__tag--accent{
  border-color: rgba(124,92,255,.45);
  background: rgba(124,92,255,.16);
  color: rgba(232,237,243,.92);
}

.pack__bottom{
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pack__cta{
  margin-top: 6px;
  width: fit-content;
  opacity: .85;
}

.pack:hover .pack__cta{ opacity: 1; }

.pack:hover{
  transform: translateY(-6px);
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
  border-color: rgba(232,237,243,.18);
}

/* основной пакет */
.pack--main{
  border-color: rgba(124,92,255,.35);
  box-shadow: 0 18px 70px rgba(124,92,255,.14);
}

.pack--main:hover{
  transform: translateY(-8px);
  box-shadow: 0 28px 90px rgba(124,92,255,.28);
}

/* ===== фильтрация ===== */
.reject{
  border-style: dashed;
  background: linear-gradient(180deg, rgba(16,20,27,.85), rgba(16,20,27,.6));
}

.reject .h3{
  display:flex;
  align-items:center;
  gap:10px;
}

.reject .h3::before{
  content:"×";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(232,237,243,.25);
  color: rgba(232,237,243,.85);
  font-weight: 700;
}

/* ===== stage: боковые панели для широких экранов ===== */
.stage{
  min-height: 100vh;
  position: relative;
}

@media (min-width: 1400px){
  .stage::before,
  .stage::after{
    content:"";
    position: fixed;
    top: 0;
    bottom: 0;
    width: 260px;
    pointer-events: none;
    z-index: 0;
    background:
      linear-gradient(to bottom, rgba(232,237,243,.06), rgba(232,237,243,.02)),
      radial-gradient(240px 420px at 50% 18%, rgba(124,92,255,.18), transparent 70%);
    opacity: .55;
    filter: saturate(1.05);
  }

  .stage::before{
    left: 0;
    border-right: 1px solid rgba(232,237,243,.07);
    mask-image: linear-gradient(to right, #000 65%, transparent);
    -webkit-mask-image: linear-gradient(to right, #000 65%, transparent);
  }

  .stage::after{
    right: 0;
    border-left: 1px solid rgba(232,237,243,.07);
    mask-image: linear-gradient(to left, #000 65%, transparent);
    -webkit-mask-image: linear-gradient(to left, #000 65%, transparent);
  }

  /* тонкие вертикальные "рейки" по краям контента */
  .container{
    position: relative;
    z-index: 1;
  }
  .container::before,
  .container::after{
    content:"";
    position:absolute;
    top:-18px;
    bottom:-18px;
    width: 1px;
    background: rgba(232,237,243,.06);
    pointer-events:none;
  }
  .container::before{ left: -18px; }
  .container::after{ right: -18px; }
}

/* ===== адаптив + большие экраны ===== */

/* ширина под большие экраны */
@media (min-width: 1280px){
  :root{ --container: 1320px; }
}
@media (min-width: 1600px){
  :root{ --container: 1480px; }
  .grid3{ gap: 20px; }
  .grid2{ gap: 20px; }
  .card{ padding: 20px; }
  .hero::before{
    background-size: 64px 64px;
    opacity: .4;
  }
}
@media (min-width: 1920px){
  :root{ --container: 1560px; }
}

@media (max-width: 900px){
  .grid3{ grid-template-columns: 1fr; }
  .grid2{ grid-template-columns: 1fr; }
  .header{ position: static; }
  .hero{
    min-height: auto;
    padding: 72px 0 54px;
  }
}

/* ===== hero panel (правая колонка) ===== */
.hero__grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 460px);
  gap: 18px;
  align-items: start;
}


.hero__left{ min-width: 0; }

.hero__panel{
  margin-top: 6px;
}

.panel__title{
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(232,237,243,.70);
  margin-bottom: 10px;
}

.panel__list{
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 10px;
}

.panel__list li{
  display:flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.panel__k{ color: var(--muted); font-size: 14px; }
.panel__v{ color: var(--text); font-size: 14px; font-weight: 600; }

.panel__chips{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 16px;
}

.panel__chips span{
  border: 1px solid var(--line);
  background: rgba(232,237,243,.04);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
}

.panel__cta{
  width: 100%;
  justify-content: center;
}

@media (min-width: 1600px){
  .hero__grid{
    grid-template-columns: minmax(0, 1fr) minmax(440px, 520px);
  }
}


@media (max-width: 900px){
  .hero__grid{ grid-template-columns: 1fr; }
}

.hero__grid{ align-items: stretch; }
.hero__panel{ height: 100%; }

/* фикс ощущения "узкого" hero */
.hero__lead{ max-width: 70ch; }
.hero__left{ max-width: 920px; }

.hero .container::before,
.hero .container::after{
  opacity: .45;
}

@media (min-width: 1400px){
  .hero .container::before{ left: -26px; }
  .hero .container::after{ right: -26px; }
}

.hero > .container{
  width: 100%;
}
