/* Лёгкий сайт: один CSS, ноль JS (по образцу suparanku.jp) */
:root {
  --ink: #16181d;
  --ink-soft: #4b5260;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --accent: #1c4fd6;
  --accent-soft: #e8eefc;
  --accent2: #ee6c4d;
  --accent2-soft: #fdeae3;
  --border: #e3e7ee;
  --radius: 14px;
  --radius-btn: 10px;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

header.site {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
header.site .wrap { display: flex; align-items: center; gap: 24px; min-height: 60px; }
.logo { font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: .2px; }
nav.main { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }
nav.main a { color: var(--ink-soft); font-size: 15px; }

.btn {
  display: inline-block; padding: 12px 26px; border-radius: var(--radius-btn);
  background: var(--accent); color: #fff !important; font-weight: 600;
  border: 1px solid var(--accent);
}
.btn:hover { text-decoration: none; opacity: .92; }
.btn.ghost { background: transparent; color: var(--accent) !important; }

.hero { padding: 72px 0 56px; text-align: center; background: linear-gradient(180deg, var(--accent-soft), #fff 70%); }
.hero h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.25; margin: 0 0 18px; }
.hero p.lead { font-size: 19px; color: var(--ink-soft); max-width: 760px; margin: 0 auto 30px; }
.hero .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .note { font-size: 14px; color: var(--ink-soft); margin-top: 14px; }

section { padding: 56px 0; }
section.alt { background: var(--bg-soft); }
h2 { font-size: clamp(24px, 3.4vw, 32px); margin: 0 0 10px; line-height: 1.3; }
.sub { color: var(--ink-soft); margin: 0 0 32px; max-width: 720px; }

.group-title { font-size: 15px; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 14px; }
.group-title:not(:first-of-type) { margin-top: 36px; }

.grid { display: grid; gap: 18px; }
.grid.c2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.c3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 22px 18px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.card .tag { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--accent); background: var(--accent-soft); border-radius: 6px; padding: 2px 8px; margin-bottom: 10px; }
#uslugi .grid:nth-of-type(2) .tag { color: var(--accent2); background: var(--accent2-soft); }

ol.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
ol.steps li { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
ol.steps li::before {
  counter-increment: s; content: counter(s);
  display: inline-flex; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: #fff; align-items: center; justify-content: center;
  font-weight: 700; margin-bottom: 10px;
}
#kak-rabotaet ol.steps li::before { background: var(--accent2); }
ol.steps h3 { margin: 0 0 6px; font-size: 16.5px; }
ol.steps p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }

.plans { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.plan { border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; background: #fff; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--accent); box-shadow: 0 6px 24px rgba(28,79,214,.12); }
.plan h3 { margin: 0 0 4px; }
.plan .price { font-size: 26px; font-weight: 800; margin: 8px 0 14px; }
.plan .price small { font-size: 14px; font-weight: 400; color: var(--ink-soft); }
.plan ul { padding-left: 18px; margin: 0 0 20px; color: var(--ink-soft); font-size: 15px; }
.plan .btn { margin-top: auto; text-align: center; }

details.faq {
  border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; background: #fff; margin-bottom: 12px;
}
details.faq summary { font-weight: 600; cursor: pointer; font-size: 16.5px; }
details.faq p { color: var(--ink-soft); margin: 12px 0 4px; }

.final { text-align: center; background: var(--ink); color: #fff; }
.final h2 { color: #fff; }
.final p { color: #c8cdd8; max-width: 640px; margin: 0 auto 28px; }

footer.site { border-top: 1px solid var(--border); padding: 32px 0; font-size: 14px; color: var(--ink-soft); }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }

@media (max-width: 640px) {
  nav.main { display: none; }
  .hero { padding: 48px 0 40px; }
  section { padding: 40px 0; }
}
