/* ============================================================================
   Внутренние страницы лендинга (О нас, Почему мы, Контакты, Вопросы, Приложение,
   документы, карта, 404) — на базе оболочки calendar.css (.smc-page).
   ============================================================================ */

.smc-sec { margin: 44px 0 0; }
.smc-sec-h { font-family: 'Manrope', sans-serif; font-size: 26px; font-weight: 800; letter-spacing: -.4px;
  color: var(--ink); margin: 0 0 6px; }
.smc-sec-h::before { content: ""; display: block; width: 46px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--purple), var(--accent)); margin-bottom: 14px; }
.smc-sec-sub { color: var(--muted); margin: 0 0 18px; max-width: 60ch; }

.smc-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; box-shadow: var(--shadow-sm); }
.smc-card p { margin: 0 0 14px; color: #3d3960; }
.smc-card p:last-child { margin-bottom: 0; }
.smc-card h3 { font-family: 'Manrope', sans-serif; font-size: 19px; font-weight: 800; color: var(--ink); margin: 0 0 10px; }
.smc-card a { color: var(--accent); }

.smc-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.smc-cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* миссия / цитата */
.smc-mission { margin: 22px 0 0; padding: 30px 34px; border-radius: var(--radius-lg); background: var(--card);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; }
.smc-mission .ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-size: 30px;
  background: var(--accent-soft); }
.smc-mission .k { font-family: 'Manrope', sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .8px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.smc-mission .v { font-family: 'Manrope', sans-serif; font-size: clamp(19px, 2.6vw, 25px); font-weight: 700; line-height: 1.3; color: var(--ink); }

/* нумерованные цели */
.smc-goals { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; counter-reset: goal; }
.smc-goals li { counter-increment: goal; position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 54px 18px 18px; box-shadow: var(--shadow-sm); color: #3d3960; line-height: 1.5; font-size: 15.5px; }
.smc-goals li::before { content: counter(goal); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 15px; color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--accent)); }

/* цифры */
.smc-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.smc-stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; box-shadow: var(--shadow-sm); }
.smc-stat .n { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 34px; line-height: 1.05; letter-spacing: -.5px;
  background: linear-gradient(135deg, var(--purple), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.smc-stat .l { margin-top: 8px; font-size: 14.5px; line-height: 1.45; color: #4a4668; }

/* карточки возможностей */
.smc-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.smc-feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.smc-feature .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 23px; background: var(--accent-soft); margin-bottom: 12px; }
.smc-feature b { display: block; font-family: 'Manrope', sans-serif; font-size: 16.5px; font-weight: 800; color: var(--ink); margin-bottom: 5px; }
.smc-feature span { font-size: 14.5px; line-height: 1.5; color: #4a4668; }

/* лента скриншотов приложения */
.smc-shots { display: flex; gap: 16px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.smc-shots figure { flex: 0 0 auto; width: 200px; margin: 0; scroll-snap-align: start; text-align: center; }
.smc-shots img { width: 100%; height: auto; display: block; border-radius: 22px; box-shadow: var(--shadow); background: #fff; }
.smc-shots figcaption { font-family: 'Manrope', sans-serif; font-size: 13.5px; font-weight: 700; color: var(--purple); margin-top: 10px; }

/* соцсети */
.smc-social { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.smc-social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.smc-social-links a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px 9px 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--purple); text-decoration: none; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 14px; transition: .15s; }
.smc-social-links a:hover { background: #e7dcff; color: var(--purple); }
.smc-social-links img { width: 24px; height: 24px; display: block; }

/* контакты */
.smc-contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.smc-contacts li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.smc-contacts li:last-child { border-bottom: 0; }
.smc-contacts .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; background: var(--accent-soft); }
.smc-contacts .k { font-size: 12.5px; color: var(--muted); }
.smc-contacts .v { font-family: 'Manrope', sans-serif; font-weight: 700; color: var(--ink); font-size: 16px; overflow-wrap: anywhere; }
.smc-contacts .v a { color: var(--purple); text-decoration: none; }
.smc-contacts .v a:hover { color: var(--accent); }

/* кнопки */
.smc-page .smc-btn { display: inline-flex; align-items: center; gap: 8px; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 15px;
  color: #fff; text-decoration: none; padding: 12px 22px; border-radius: 999px; background: linear-gradient(135deg, var(--purple), var(--accent));
  box-shadow: var(--shadow-sm); transition: .15s; border: 0; }
.smc-page .smc-btn:hover { color: #fff; filter: brightness(1.06); transform: translateY(-1px); }
.smc-page .smc-btn--ghost { background: #fff; color: var(--purple); border: 1px solid var(--line); }
.smc-page .smc-btn--ghost:hover { color: var(--purple); background: var(--accent-soft); }
.smc-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

/* партнёр */
.smc-partner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 15px; color: #4a4668; }
.smc-partner a { color: var(--purple); font-weight: 700; }

/* юридические документы */
.smc-doc { max-width: 820px; margin: 22px auto 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 40px; box-shadow: var(--shadow-sm); font-size: 15.5px; line-height: 1.7; color: #3d3960; overflow-wrap: break-word; }
.smc-doc h2, .smc-doc h3 { font-family: 'Manrope', sans-serif; color: var(--ink); font-weight: 800; letter-spacing: -.2px; }
.smc-doc h2 { font-size: 22px; margin: 34px 0 10px; }
.smc-doc h3 { font-size: 18px; margin: 30px 0 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.smc-doc > h3:first-child, .smc-doc > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.smc-doc p { margin: 0 0 12px; }
.smc-doc ul, .smc-doc ol { margin: 0 0 14px; padding-left: 22px; }
.smc-doc li { margin: 6px 0; }
.smc-doc a { color: var(--accent); }
.smc-doc table { width: 100%; border-collapse: collapse; margin: 0 0 14px; font-size: 14.5px; }
.smc-doc td, .smc-doc th { border: 1px solid var(--line); padding: 8px 10px; vertical-align: top; }
.smc-doc-meta { max-width: 820px; margin: 14px auto 0; font-size: 13.5px; color: var(--muted); display: flex; gap: 10px 18px; flex-wrap: wrap; }
.smc-doc-meta a { color: var(--accent); font-weight: 600; text-decoration: none; }


/* карта */
.smc-map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: #fff; }
.smc-map iframe { display: block; width: 100%; height: 520px; border: 0; }

/* 404 */
.smc-404 { text-align: center; padding: 56px 24px 50px; }
.smc-404 .code { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: clamp(84px, 16vw, 140px); line-height: 1; letter-spacing: -4px;
  background: linear-gradient(135deg, var(--purple), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.smc-404 h1 { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: clamp(24px, 4vw, 34px); color: var(--ink); margin: 10px 0 8px; }
.smc-404 p { color: var(--muted); margin: 0 auto; max-width: 46ch; }
.smc-404 .smc-actions { justify-content: center; margin-top: 24px; }
.smc-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin-top: 8px; }
.smc-links a { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 14px 16px; text-decoration: none; color: var(--ink); font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 15px;
  box-shadow: var(--shadow-sm); transition: .15s; }
.smc-links a:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--purple); }
.smc-links a span { font-size: 22px; }

@media (max-width: 760px) {
  .smc-cols, .smc-cols-3 { grid-template-columns: 1fr; }
  .smc-mission { grid-template-columns: 1fr; padding: 24px 22px; gap: 14px; }
  .smc-card { padding: 20px; }
  .smc-doc { padding: 24px 20px; border-radius: 22px; font-size: 15px; }
  .smc-sec { margin-top: 36px; }
  .smc-sec-h { font-size: 23px; }
  .smc-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .smc-stat { padding: 16px 16px 14px; }
  .smc-stat .n { font-size: 24px; }
  .smc-stat .l { font-size: 13px; }
  .smc-shots figure { width: 168px; }
  .smc-map iframe { height: 420px; }
}

/* длинные слова в заголовках («Конфиденциальности») на узких экранах */
.smc-page .smc-hero h1 { overflow-wrap: break-word; hyphens: auto; }
.smc-page .smc-lead a { color: var(--accent); }
