/* Главная страница (лендинг). Использует переменные из style.css. */
.landing { background: var(--bg); }
.lp-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* шапка */
.lp-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--primary); color: var(--primary-ink);
  border-bottom: 3px solid var(--accent);
  box-shadow: 0 2px 14px rgba(0,0,0,.18);
}
.lp-header-row { display: flex; align-items: center; gap: 14px; padding-top: 10px; padding-bottom: 10px; }
.lp-nav { display: flex; gap: 4px; margin-left: auto; }
.lp-nav a { color: rgba(255,255,255,.8); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: 14px; }
.lp-nav a:hover { color: #fff; background: rgba(255,255,255,.1); }
.lp-cta-head { text-decoration: none; }
.lp-phone { color: #fff; text-decoration: none; font-family: var(--font-mono); font-weight: 600; font-size: 14px; white-space: nowrap; padding: 8px 6px; }
.lp-phone:hover { color: #ff8a86; }
.lp-contact a.lp-phone-link { font-family: var(--font-mono); font-size: 16px; color: var(--ink); }
.lp-footer a { color: #fff; text-decoration: none; }
.landing { scroll-behavior: smooth; }
.landing section[id] { scroll-margin-top: 70px; }

/* hero */
.lp-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(210,1,1,.45), transparent 60%),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 44px 44px,
    #121316;
  color: #fff;
  padding: 72px 0 80px;
}
.lp-hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
.lp-eyebrow {
  display: inline-block; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase;
  color: #ff8a86; border: 1px solid rgba(255,138,134,.4); border-radius: 999px; padding: 5px 12px; margin-bottom: 20px;
}
.lp-hero h1 { font-size: clamp(32px, 5.2vw, 58px); line-height: 1.04; font-weight: 800; letter-spacing: -.02em; margin: 0 0 18px; }
.lp-lead { font-size: clamp(16px, 2vw, 20px); color: rgba(255,255,255,.78); margin: 0 0 30px; max-width: 34ch; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  padding: 13px 22px; border-radius: var(--radius); font-weight: 700; font-size: 15px; border: 1px solid transparent; transition: background .15s, border-color .15s;
}
.lp-btn-primary { background: var(--accent); color: #fff; }
.lp-btn-primary:hover { background: var(--accent-hover); }
.lp-btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.lp-btn-ghost:hover { background: rgba(255,255,255,.12); }
.lp-btn-ghost-dark { color: var(--ink); border-color: var(--border); background: var(--surface); }
.lp-btn-ghost-dark:hover { background: var(--surface-alt); }

.lp-stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lp-stats li {
  display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; border-radius: 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(4px);
  border-left: 3px solid var(--accent);
}
.lp-stats b { font-family: var(--font-mono); font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.lp-stats span { color: rgba(255,255,255,.7); font-size: 14px; }

/* секции */
.lp-section { padding: 64px 0; }
.lp-section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.lp-section h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; letter-spacing: -.01em; margin: 0 0 28px; }
.lp-section h2::after { content: ''; display: block; width: 44px; height: 4px; background: var(--accent); border-radius: 2px; margin-top: 12px; }
.lp-cards { display: grid; gap: 16px; }
.lp-cards-3 { grid-template-columns: repeat(3, 1fr); }
.lp-cards-5 { grid-template-columns: repeat(5, 1fr); }
.lp-cards-2 { grid-template-columns: repeat(2, 1fr); }
.lp-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.lp-section-alt .lp-card { background: var(--bg); }
.lp-card h3 { font-size: 17px; margin: 14px 0 6px; }
.lp-card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
.lp-card-s h3 { font-size: 15px; line-height: 1.3; margin-top: 12px; }
.lp-more { margin: 22px 0 0; font-weight: 700; }
.lp-more a { color: var(--accent); text-decoration: none; }
.lp-more a:hover { text-decoration: underline; }

.lp-ico { display: inline-flex; width: 46px; height: 46px; border-radius: 12px; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.lp-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lp-ico-dark { background: var(--primary); color: #fff; }
.lp-ico-sm { width: 40px; height: 40px; }
.lp-ico-text { font-weight: 800; font-size: 14px; letter-spacing: .02em; }

.lp-feature { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.lp-feature h3 { margin: 0 0 4px; font-size: 17px; }
.lp-feature p { margin: 0; color: var(--ink-soft); }

.lp-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-steps li { display: flex; gap: 14px; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.lp-step-n { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 700; }
.lp-steps h3 { margin: 0 0 4px; font-size: 16px; }
.lp-steps p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
.lp-steps a { color: var(--accent); font-weight: 600; }

/* контакты */
.lp-contacts { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.lp-contact-list { display: grid; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.lp-contact { display: flex; gap: 14px; align-items: flex-start; }
.lp-contact div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lp-contact b { font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.lp-contact a { color: var(--accent); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.lp-contact a:hover { text-decoration: underline; }
.lp-contact-cta { background: var(--primary); color: #fff; border-radius: 14px; padding: 26px; display: flex; flex-direction: column; gap: 12px; justify-content: center; border-left: 4px solid var(--accent); }
.lp-contact-cta h3 { margin: 0; font-size: 22px; }
.lp-contact-cta p { margin: 0 0 6px; color: rgba(255,255,255,.75); }

.lp-footer { background: var(--primary); color: rgba(255,255,255,.65); font-size: 13.5px; padding: 28px 0 32px; border-top: 3px solid var(--accent); }
.lp-footer .lp-wrap { display: grid; gap: 4px; }
.lp-footer-brand { color: #fff; font-weight: 800; font-size: 16px; margin-bottom: 4px; }

/* адаптив */
@media (max-width: 1080px) {
  .lp-phone { display: none; }
}
@media (max-width: 960px) {
  .lp-cards-5 { grid-template-columns: repeat(2, 1fr); }
  .lp-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .lp-stats { grid-template-columns: repeat(3, 1fr); }
  .lp-stats li { padding: 14px; }
  .lp-stats b { font-size: 20px; }
}
@media (max-width: 720px) {
  .lp-nav { display: none; }
  .lp-header-row { justify-content: space-between; }
  .lp-hide-sm { display: none; }
  .lp-hero { padding: 44px 0 52px; }
  .lp-section { padding: 44px 0; }
  .lp-cards-3, .lp-cards-2, .lp-steps, .lp-contacts { grid-template-columns: 1fr; }
  .lp-cards-5 { grid-template-columns: 1fr 1fr; }
  .lp-stats { grid-template-columns: 1fr; }
  .lp-stats b { font-size: 24px; }
  .lp-actions .lp-btn { flex: 1 1 100%; }
}
