/* Schyotchiki, plitki vozmozhnostey, ceny, voprosy, podval */

/* --- Schyotchiki --- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 18px; }
.stat-cell { padding: 22px 20px; border-radius: 16px; background: var(--l-bg2); border: 1px solid var(--l-line); text-align: center; }
.stat-num { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -.03em; color: var(--l-teal2); line-height: 1.1; }
.stat-cap { font-size: 13px; color: var(--l-dim); margin-top: 4px; }

/* --- Vozmozhnosti --- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px,1fr)); gap: 18px; }
.card {
  position: relative; padding: 26px 24px; border-radius: 18px;
  background: var(--l-bg2); border: 1px solid var(--l-line);
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: rgba(20,184,166,.45); transform: translateY(-2px); }
.card .ico { font-size: 24px; display: block; margin-bottom: 14px; }
.card h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -.01em; }
.card p { margin: 0 0 12px; font-size: 14.5px; color: var(--l-dim); }

/* --- Ceny --- */
.price-toggle { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--l-bg2); border: 1px solid var(--l-line); margin-bottom: 28px; }
.price-toggle button {
  padding: 9px 20px; border: none; border-radius: 9px; cursor: pointer;
  background: none; color: var(--l-dim); font-size: 14px; font-weight: 600; font-family: inherit;
}
.price-toggle button.is-active { background: var(--l-teal); color: #04222a; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px,1fr)); gap: 18px; max-width: 760px; }
.price { position: relative; padding: 30px 28px; border-radius: 20px; background: var(--l-bg2); border: 1px solid var(--l-line); }
.price.best { border-color: var(--l-teal); box-shadow: 0 0 0 1px rgba(20,184,166,.3), 0 20px 50px rgba(20,184,166,.08); }
.price .ribbon { position: absolute; top: -11px; right: 22px; }
.price .amount { font-size: 42px; font-weight: 700; letter-spacing: -.035em; margin: 10px 0 2px; }
.price .amount span.cur { font-size: 24px; vertical-align: super; color: var(--l-dim); }
.price .per { font-size: 13.5px; color: var(--l-mute); min-height: 20px; }
.price ul { margin: 20px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--l-dim); }
.price li { padding: 6px 0 6px 24px; position: relative; }
.price li::before { content: '✓'; position: absolute; left: 0; color: var(--l-teal2); font-weight: 700; }

/* --- Voprosy --- */
.faq { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--l-line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; background: none; border: none; cursor: pointer; text-align: left;
  color: var(--l-text); font-size: 16.5px; font-weight: 500; font-family: inherit;
}
.faq-q:hover { color: var(--l-teal3); }
.faq-q .sign { color: var(--l-teal2); font-size: 20px; flex: none; transition: transform .2s; }
.faq-item.is-open .faq-q .sign { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { margin: 0 0 20px; color: var(--l-dim); font-size: 15px; }

/* --- Operatoram --- */
.op-box {
  padding: 34px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(20,184,166,.09), rgba(56,189,248,.05));
  border: 1px solid rgba(20,184,166,.3);
}

/* --- Podval --- */
footer.l-foot { padding: 52px 0 64px; border-top: 1px solid var(--l-line); color: var(--l-mute); font-size: 13px; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 44px; justify-content: space-between; margin-bottom: 34px; }
.foot-cols h4 { margin: 0 0 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--l-dim); }
.foot-cols a { display: block; padding: 3px 0; color: var(--l-mute); }
.foot-cols a:hover { color: var(--l-teal3); }
.credits { line-height: 1.85; }
.credits a { color: var(--l-dim); text-decoration: underline; }

/* ═══ СКАЧАТЬ: QR и кнопка ═══

   Код на белой подложке — иначе тёмная тема съедает контраст и телефоны
   читают его через раз. Скругление и тень те же, что у остальных карточек
   страницы: блок должен выглядеть частью её, а не наклейкой. */
.dl-box {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 36px 40px;
  border: 1px solid var(--l-line);
  border-radius: 24px;
  background: var(--l-bg2);
}
.dl-text { flex: 1; min-width: 0; }
.dl-text h2 { margin: 12px 0 10px; }
.dl-stores { margin-top: 22px; }

.dl-qr { margin: 0; text-align: center; flex: 0 0 auto; }
.dl-qr img {
  display: block;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
}
.dl-qr figcaption {
  margin-top: 10px;
  color: var(--l-mute, #638a88);
  font-size: 13px;
}

/* На узком экране код уходит вниз и уменьшается: с телефона он всё равно не
   нужен, но пусть блок не разъезжается. */
@media (max-width: 720px) {
  .dl-box { flex-direction: column; gap: 24px; padding: 28px 22px; text-align: center; }
  .dl-qr img { width: 150px; height: 150px; }
}
