/* =====================================================
   CYBERID — компоненты страницы (в стиле v6)
===================================================== */

/* заголовок первого экрана */
.hero__title { max-width: 1000px; }

/* ---------- О сервисе ---------- */
.about { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: center; }
.about__title { font-size: 56px; line-height: 60px; }
.about__side .lead { margin-bottom: var(--space-8); }
.points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.point {
  display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: center;
  padding: 18px 22px; border-radius: var(--r-card); background: #FFFFFF;
  box-shadow: inset 0 0 0 1px var(--border), var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.35s ease;
}
.point:hover { transform: translateX(6px); box-shadow: inset 0 0 0 1px rgba(23,162,248,0.55), var(--shadow-md); }
.point__num {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand-navy), #1D3BC0); color: #FFFFFF;
  font-size: 14px; font-weight: 700;
  box-shadow: 0 0 0 6px var(--accent-soft);
}
.point b { display: block; font-size: 18px; line-height: 24px; }
.point b + span { display: block; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
@media (max-width: 1024px) { .about { grid-template-columns: 1fr; gap: 40px; } .about__title { font-size: 44px; line-height: 50px; } }
@media (max-width: 640px) { .about__title { font-size: 32px; line-height: 38px; } .point { padding: 16px; gap: 14px; grid-template-columns: 44px 1fr; } .point__num { width: 44px; height: 44px; } }

/* ---------- Что находят ---------- */
.finds { list-style: none; margin: 0 auto; padding: 0; max-width: 1080px; display: flex; flex-direction: column; gap: 12px; }
.find {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) 220px 130px; gap: 24px; align-items: center;
  padding: 18px 28px 18px 20px; border-radius: var(--r-card); background: #FFFFFF;
  box-shadow: inset 0 0 0 1px var(--border), var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.35s ease;
}
.find:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(23,162,248,0.55), var(--shadow-md); }
.find__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent-soft), #FFFFFF); box-shadow: inset 0 0 0 1px #CFE7FB; color: var(--accent-text);
}
.find__icon svg { width: 24px; height: 24px; }
.find__text { margin: 0; font-size: 17px; line-height: 24px; font-weight: 600; }
.pips { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.pips i { height: 10px; border-radius: 3px; background: var(--surface-sunken); box-shadow: inset 0 0 0 1px var(--border); transition: background 0.4s ease, box-shadow 0.4s ease; }
.find.is-visible .pips i.on { background: linear-gradient(180deg, var(--brand-blue), #0C7DC4); box-shadow: none; transition-delay: calc(var(--i) * 70ms + 300ms); }
.find__num { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.find__num b {
  font-size: 52px; line-height: 52px; font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--brand-navy) 30%, var(--accent-text)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.find__num small { font-size: 12px; line-height: 15px; color: var(--ink-muted); }
@media (max-width: 900px) {
  .find { grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-areas: "i t n" "p p p"; gap: 14px 16px; padding: 18px; }
  .find__icon { grid-area: i; width: 48px; height: 48px; }
  .find__text { grid-area: t; font-size: 15px; line-height: 21px; }
  .find__num { grid-area: n; }
  .pips { grid-area: p; }
  .find__num b { font-size: 40px; line-height: 40px; }
  .find__num small { display: none; }
}

/* ---------- Источники → последствия ---------- */
.tiles--4 { grid-template-columns: repeat(4, 1fr); }
.cmp--src .tile { opacity: 1; color: var(--ink); background: var(--surface-sunken); transition: background 0.25s ease, transform 0.3s var(--ease); }
.cmp--src .tile svg { color: var(--accent-text); }
.cmp--src .tile:hover { background: var(--accent-soft); transform: translateY(-3px); }
.cmp--src .cmp__tag { background: var(--accent-soft); color: var(--accent-text); }
.cmp--src .cmp__stage, .cmp--now .cmp__stage { font-size: 22px; }
#threats .compare { grid-template-columns: 1.25fr 1fr; }
#threats .compare__vs { left: 55.5%; box-shadow: 0 0 0 8px #FFFFFF, 0 12px 30px -8px rgba(8,24,110,0.6); }
@media (max-width: 1100px) { .tiles--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { #threats .compare { grid-template-columns: 1fr; } #threats .compare__vs { left: 50%; } }

/* ---------- Для кого ---------- */
.who { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-auto-rows: minmax(112px, auto); gap: 20px; }
.who__intro {
  grid-row: 1 / span 3; border-radius: var(--r-panel); padding: 56px 40px;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: var(--space-8);
}
.who__intro::before { left: 0; top: auto; bottom: -50%; width: 120%; transform: none; }
.who__intro .lead { color: var(--ink-on-brand-muted); margin-top: var(--space-4); }
.who__tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  padding: 24px; border-radius: var(--r-card); background: #FFFFFF;
  box-shadow: inset 0 0 0 1px var(--border), var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.35s ease;
}
.who__tile:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(23,162,248,0.55), var(--shadow-md); }
.who__tile:hover .task__icon { transform: rotate(-6deg) scale(1.06); }
.who__tile .task__icon { margin: 0; }
.who__tile b { font-size: 18px; line-height: 24px; }
@media (max-width: 1100px) { .who { grid-template-columns: 1fr 1fr; } .who__intro { grid-column: 1 / -1; grid-row: auto; padding: 40px 32px; } }
@media (max-width: 560px) { .who { grid-template-columns: 1fr; } .who__intro { padding: 32px 24px; } .who__tile { flex-direction: row; align-items: center; justify-content: flex-start; padding: 18px; } .who__tile b { font-size: 16px; } }

/* ---------- Как работает: 6 этапов ---------- */
.flow--6 .flow__nodes, .flow--6 .flow__labels { grid-template-columns: repeat(6, 1fr); }
.flow--6 { max-width: 1120px; }
.flow__now { margin: var(--space-6) 0 0; text-align: center; font-size: 14px; line-height: 20px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.flow__now b { color: var(--ink); }
@media (max-width: 720px) { .flow__now { display: none; } }

/* ---------- Кейсы ---------- */
.icases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.icase {
  display: flex; flex-direction: column; gap: 18px;
  padding: 24px; border-radius: var(--r-card); background: #FFFFFF;
  box-shadow: inset 0 0 0 1px var(--border), var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.35s ease;
}
.icase:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(23,162,248,0.55), var(--shadow-md); }
.icase__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.icase .task__icon { margin: 0; width: 44px; height: 44px; }
.icase__text { margin: 0; flex: 1; font-size: 15px; line-height: 22px; font-weight: 600; }
.icase__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--border); font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--ink-muted); letter-spacing: 0.04em; }
.icase__foot svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease), color 0.2s ease; }
.icase:hover .icase__foot svg { transform: translate(2px, -2px); color: var(--accent-text); }
.status--info { background: var(--accent-soft); color: var(--accent-text); }
@media (max-width: 1100px) { .icases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .icases { grid-template-columns: 1fr; } }

/* ---------- Тарифы ---------- */
.tariffs { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; align-items: stretch; }
.tariff { border-radius: var(--r-panel); padding: 44px; display: flex; flex-direction: column; gap: var(--space-6); }
.tariff__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tariff__head .pill { margin: 0; }
.tariff__badge { font-size: 12px; line-height: 16px; font-weight: 700; padding: 6px 12px; border-radius: var(--r-pill); background: var(--brand-blue); color: var(--brand-navy); }
.tariff__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.tariff__list li { position: relative; padding-left: 34px; font-size: 16px; line-height: 24px; }
.tariff__list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230572B6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.tariff--main .tariff__list li { color: #E8EEFA; }
.tariff--main .tariff__list li::before { background-color: rgba(23,162,248,0.2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%236CC4FF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E"); }
.tariff__foot { margin-top: auto; padding-top: var(--space-6); border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.tariff--main .tariff__foot { border-color: rgba(255,255,255,0.14); }
.tariff__price { margin: 0; font-size: 40px; line-height: 44px; font-weight: 700; letter-spacing: -0.035em; }
.tariff__price span { font-size: 16px; font-weight: 600; letter-spacing: 0; }
.tariff--main .tariff__price { background: linear-gradient(90deg, #FFFFFF, var(--accent-text-on-brand)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tariff--main .tariff__price span { -webkit-text-fill-color: var(--ink-on-brand-muted); }
.tariff--light { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--border), var(--shadow-sm); transition: transform 0.45s var(--ease), box-shadow 0.35s ease; }
.tariff--light:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(23,162,248,0.55), var(--shadow-md); }
.tariff--main { box-shadow: inset 0 0 0 1px rgba(108,196,255,0.22), var(--shadow-lg); }
.tariffs__note {
  margin: 20px auto 0; max-width: 820px; display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 24px; border-radius: var(--r-card); text-align: left;
  background: linear-gradient(90deg, var(--accent-soft), #FFFFFF 80%); box-shadow: inset 0 0 0 1px #CFE7FB;
  font-size: 15px; line-height: 22px; font-weight: 600;
}
.tariffs__note svg { width: 28px; height: 28px; flex-shrink: 0; color: var(--accent-text); }
@media (max-width: 900px) { .tariffs { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .tariff { padding: 28px 24px; } .tariff__price { font-size: 32px; line-height: 36px; } .tariff__foot .btn { width: 100%; } .tariffs__note { align-items: flex-start; } }

/* FAQ из девяти вопросов: боковая колонка остаётся на месте */
#faq .faq__side { top: 104px; }
