/* Витрина ПРОГРЕСС: стили презентационной страницы */

/* ---------- герой ---------- */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: grid; place-items: center;
  padding: calc(var(--nav-h) + var(--sp-5)) 0 var(--sp-6);
  position: relative;
}
.hero-glass {
  width: min(880px, 100% - var(--sp-3));
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 28px;
  padding: clamp(var(--sp-4), 6vw, var(--sp-6));
  box-shadow: var(--shadow-1);
  position: relative;
  overflow: hidden;
}
.hero-glass::before {              /* edge-эффект: блик по верхнему краю */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent 10%, var(--accent) 50%, transparent 90%);
  opacity: .55;
}
.hero-sub { margin-top: var(--sp-2); color: var(--text-2); font-size: 17px; max-width: 62ch; margin-inline: auto; }
.hero-cta { justify-content: center; margin-top: var(--sp-4); }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-1); margin-top: var(--sp-5);
}
.stat { display: flex; flex-direction: column; gap: 2px; padding: var(--sp-2) var(--sp-1);
        border-radius: 16px; background: var(--surface-quiet); border: 1px solid var(--border-soft); }
.stat b { font-size: clamp(20px, 3vw, 30px); font-weight: 800; color: var(--accent); }
.stat span { font-size: 12.5px; color: var(--text-2); }
@media (max-width: 640px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-cta .btn { flex: 1 1 100%; }
}

/* ---------- секции ---------- */
.section { padding: var(--sp-6) 0; scroll-margin-top: calc(var(--nav-h) + var(--sp-2)); }
.section-alt { background: linear-gradient(180deg, transparent, var(--surface-quiet) 22%, var(--surface-quiet) 78%, transparent); }
.section-head { text-align: center; margin-bottom: var(--sp-4); }
.section-head p { color: var(--text-2); margin-top: var(--sp-1); }

/* ---------- карточки продуктов ---------- */
.product-card { position: relative; overflow: hidden; }
.product-num {
  font-size: 13px; font-weight: 800; letter-spacing: .1em;
  color: var(--accent); margin-bottom: var(--sp-1);
}
.product-lead { border-color: var(--border); }
.product-card p { margin-top: var(--sp-1); }

.tick-list { list-style: none; margin-top: var(--sp-2); display: flex; flex-direction: column; gap: 8px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text); }
.tick-list li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  background: var(--accent-soft) center/12px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2392701c' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E");
}
[data-theme="dark"] .tick-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E");
}

/* ---------- как добавить учеников ---------- */
.flow-icon {
  width: 48px; height: 48px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: var(--sp-2);
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--border);
}
.flow-icon svg { width: 24px; height: 24px; }
.steps-mini { margin: var(--sp-2) 0 0 1.2em; display: flex; flex-direction: column; gap: 6px;
              font-size: 14px; color: var(--text-2); }

/* ---------- наука ---------- */
.cat-scale { display: flex; flex-wrap: wrap; gap: var(--sp-1); margin-top: var(--sp-2); }
.ebbinhaus { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: var(--sp-2); }
.eb-step { text-align: center; padding: 10px 4px; border-radius: 14px;
           background: var(--accent-soft); border: 1px solid var(--border); }
.eb-step b { display: block; font-size: 17px; color: var(--accent); }
.eb-step span { font-size: 11px; color: var(--text-2); }
@media (max-width: 640px) { .ebbinhaus { grid-template-columns: repeat(3, 1fr); } }

/* ---------- тарифы ---------- */
.pricing-grid { align-items: stretch; }
.price-card { display: flex; flex-direction: column; }
.price-card .chip { align-self: flex-start; margin-bottom: var(--sp-1); }
.price { font-size: 38px; font-weight: 800; color: var(--accent); margin: var(--sp-1) 0 var(--sp-2); }
.price span { font-size: 15px; color: var(--text-2); font-weight: 600; }
.price-card .btn { margin-top: auto; }
.price-lead { border-color: var(--border); box-shadow: var(--shadow-2); }

/* ---------- отзывы ---------- */
.testimonial p { font-size: 15.5px; }
.testimonial .row { margin-top: var(--sp-3); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: var(--sp-1); }
.faq-item summary {
  cursor: pointer; font-weight: 700; font-size: 16px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-2);
  min-height: 44px; padding-right: var(--sp-1);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 22px; color: var(--accent); font-weight: 600; flex: none;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: var(--sp-1); color: var(--text-2); padding-right: var(--sp-3); }

/* ---------- финальный CTA / футер ---------- */
.cta-final { padding-bottom: var(--sp-7); }
.footer { padding: var(--sp-5) 0 var(--sp-4) ; border-top: 1px solid var(--border-soft); }
.footer nav a { color: var(--text-2); }
.footer nav a:hover { color: var(--text); }
@media (max-width: 640px) { .footer .row { text-align: left; } }
