/* CarwashCRM — сайт продукта. Светлая тема, системные шрифты, без внешних ресурсов. */
:root {
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --text: #0f172a;
  --muted: #526077;
  --line: #dfe5ee;
  --accent: #1f6fe5;
  --accent-dark: #1557b8;
  --ok: #047857;
  --warn-bg: #fff7e0;
  --warn: #7a4b00;
  --radius: 14px;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent-dark); }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(30px, 5vw, 46px); letter-spacing: -.02em; }
h2 { font-size: clamp(24px, 3.4vw, 32px); margin-top: .2em; }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: 15px; }
.lead { font-size: 19px; color: #24324a; }
.note { color: var(--muted); margin-bottom: 1.5em; }

.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Шапка */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 5; }
.header-row { display: flex; align-items: center; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 19px; color: var(--text); text-decoration: none; }
.nav { display: flex; gap: 18px; flex: 1; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 16px; padding: 6px 0; }
.nav a[aria-current="page"] { color: var(--accent-dark); box-shadow: inset 0 -2px 0 var(--accent); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang { font-weight: 600; font-size: 15px; }
@media (max-width: 720px) {
  .header-row { padding-top: 8px; padding-bottom: 8px; gap: 8px 14px; }
  .nav { order: 3; flex-basis: 100%; gap: 2px 14px; flex-wrap: wrap; }
  .nav a { font-size: 15px; }
  .header-actions { margin-left: auto; }
}

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 12px; border: 2px solid var(--accent);
  background: var(--accent); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn-outline { background: #fff; color: var(--accent-dark); }
.btn-outline:hover { background: #eef4fe; color: var(--accent-dark); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--bg-alt); color: var(--text); border-color: var(--line); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }

/* Блоки */
.hero { padding: 56px 0 40px; background: linear-gradient(180deg, #eef4fe 0%, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-figure { margin: 0; }
figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; text-align: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.section { padding: 56px 0; }
.section.alt { background: var(--bg-alt); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 1.5em; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p { margin: 0; color: #2b3950; }
.card h3 { margin-top: 4px; }
.icon { width: 34px; height: 34px; color: var(--accent); margin-bottom: 8px; }
.badge { display: inline-block; font-size: 13px; font-weight: 700; color: var(--warn); background: var(--warn-bg); border-radius: 999px; padding: 3px 10px; margin-bottom: 8px; }
/* статусы: «Работает» — зелёный, «Ранний доступ» — жёлтый, «В разработке» — серый (контраст ≥ 4.5:1, тест) */
.badge-ok { color: #065f46; background: #d1fae5; }
.badge-early { color: #7a4b00; background: #fff7e0; }
.badge-dev { color: #334155; background: #e2e8f0; }
.offer { display: flex; flex-direction: column; gap: 10px; }
.offer .btn { margin-top: auto; align-self: flex-start; }
.offer p { flex: 1; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 10px; }
.steps p { margin: 0; color: #2b3950; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

.shot { margin: 0; }
.demo-card { display: flex; flex-direction: column; gap: 10px; }
.demo-card p { flex: 1; }
.demo-card .btn { align-self: flex-start; }
.trial-later { display: inline-block; color: var(--muted); font-weight: 600; padding: 8px 0; }
.foot-contacts { line-height: 1.8; }
.eyebrow { margin: 0 0 8px; font-size: 15px; font-weight: 700; color: var(--accent); }
.terms { padding-left: 1.2em; margin: 0 0 1em; }
.terms li { margin-bottom: 8px; }

.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; min-height: 48px; }
.faq details p { margin: 0 0 16px; color: #2b3950; }

/* Заявка */

.kv { border-collapse: collapse; width: 100%; margin-bottom: 1.5em; }
.kv th, .kv td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.kv th { width: 34%; color: var(--muted); font-weight: 600; }
.honest li { margin-bottom: 10px; }
.cta-box { background: var(--bg-alt); border-radius: var(--radius); padding: 24px; margin-top: 32px; }
.legal h2 { font-size: 21px; margin-top: 1.4em; }
.draft { background: var(--warn-bg); color: var(--warn); border-radius: 10px; padding: 12px 14px; font-weight: 600; }
mark.fill { background: #ffe4e6; color: #9f1239; padding: 0 4px; border-radius: 4px; }

/* Подвал */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; background: #fbfcfe; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.brand-foot { font-weight: 800; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.preview-bar { background: #b91c1c; color: #fff; text-align: center; font-size: 14px; font-weight: 700; padding: 8px 16px; }
