:root {
  --bg: #eef2f7;
  --card: #ffffff;
  --card-soft: #f7faff;
  --text: #18212f;
  --muted: #5d6b82;
  --accent: #1565d8;
  --accent-dark: #0e4cad;
  --accent-soft: #eaf2ff;
  --line: #dde5f0;
  --danger: #d64545;
  --success: #157347;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f4f7fb 0%, #eef2f7 100%);
}

a { color: var(--accent); text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
.container { width: min(1160px, 92vw); margin: 0 auto; }
.topbar {
  background: rgba(255,255,255,0.88);
  border-bottom: 1px solid rgba(221,229,240,0.9);
  position: sticky;
  top: 0;
  backdrop-filter: blur(14px);
  z-index: 10;
}
.row { display: flex; }
.between { justify-content: space-between; }
.center { align-items: center; }
.brand { font-weight: 800; padding: 18px 0; color: var(--text); }
.nav a { margin-left: 18px; color: var(--muted); }
.nav a:hover { color: var(--accent-dark); }
.nav-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-dark) !important;
  font-weight: 700;
}
.card {
  background: var(--card);
  border-radius: 24px;
  padding: 28px;
  margin: 20px 0;
  border: 1px solid rgba(221,229,240,0.7);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}
.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: stretch;
  padding: 34px;
  margin-top: 28px;
  background: linear-gradient(135deg, #0f4fb5 0%, #1f6de0 62%, #66a1ff 100%);
  color: #fff;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(21, 101, 216, 0.28);
}
.page-hero { margin-top: 28px; }
.wide { max-width: 760px; }
.page-links-grid,
.service-grid,
.compact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 20px 0;
}
.page-link-card,
.service-card,
.service-link-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.05);
}
.page-link-card p,
.service-card p,
.service-link-card p { color: var(--muted); line-height: 1.65; }
.service-links { margin-top: 16px; }
.bullet-list {
  margin: 16px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  line-height: 1.65;
}
.compact-list { gap: 8px; }
.open-item { border-bottom: 0; padding: 8px 0; }
.dark-link { color: var(--text); }
.hero-panel .eyebrow,
.hero-panel .lead,
.hero-panel .meta,
.hero-note,
.hero-panel .label,
.hero-proof { color: rgba(255,255,255,0.82); }
.hero-panel h1 { font-size: clamp(2rem, 4vw, 3.6rem); max-width: 11ch; }
.lead { font-size: 1.1rem; line-height: 1.65; }
.hero-proof {
  max-width: 680px;
  line-height: 1.65;
}
.eyebrow, .meta, .section-text, .list-item small, .mini-label, .label { color: var(--muted); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.76rem;
  margin-bottom: 12px;
}
.cta-row { display: flex; gap: 12px; margin: 22px 0; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  border-radius: 14px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); background: var(--accent-dark); }
.btn.ghost { background: #e8eefb; color: var(--text); }
.btn.danger { background: var(--danger); }
.metrics-grid,
.grid-2,
.grid-3,
.grid-4,
.grid-form,
.price-grid,
.steps-grid,
.split-section,
.admin-nav-grid,
.admin-cards { display: grid; gap: 18px; }
.metrics-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; }
.metric-chip {
  padding: 14px 16px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px;
  font-weight: 600;
}
.hero-card {
  margin: 0;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
}
.hero-card-top,
.lead-card-top,
.admin-actions,
.check-row { display: flex; align-items: center; gap: 10px; }
.hero-card-top { margin-bottom: 18px; }
.badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #74f0a7;
  box-shadow: 0 0 0 6px rgba(116,240,167,0.16);
}
.contact-stack { display: grid; gap: 18px; }
.contact-stack.big { gap: 22px; }
.contact-link { color: inherit; font-size: 1.25rem; font-weight: 800; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin: 34px 0 12px;
}
.section-head.compact { margin-top: 0; }
.section-text { max-width: 560px; line-height: 1.65; }
.trust-grid, .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trust-card { min-height: 220px; }
.mini-label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 10px;
  background: var(--accent-soft);
  border-radius: 999px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.split-section { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.accent-card { background: linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%); }
.section-card { padding: 30px; }
.price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.price-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card-soft);
}
.price-card p, .trust-card p, .contact-card p, .lead-card p { color: var(--muted); line-height: 1.65; }
.price { white-space: nowrap; font-size: 1.25rem; font-weight: 800; color: var(--accent-dark); }
.steps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step-card {
  padding: 20px;
  border-radius: 20px;
  background: var(--card-soft);
  border: 1px solid var(--line);
}
.step-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent-dark);
  font-size: 1.1rem;
  font-weight: 800;
}
.step-card p { line-height: 1.55; }
.faq-item {
  padding: 16px 0;
  border-bottom: 1px solid #edf0f4;
}
.faq-item summary { cursor: pointer; font-weight: 700; }
.faq-item p { margin-top: 12px; color: var(--muted); line-height: 1.65; }
.cta-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, #101a2f 0%, #1a2b4d 100%);
  color: #fff;
}
.cta-banner .eyebrow,
.cta-banner p { color: rgba(255,255,255,0.8); }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
.form { display: grid; gap: 12px; }
.form-note {
  color: var(--muted);
  line-height: 1.5;
}
.grid-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-form.three-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.full-span { grid-column: 1 / -1; }
label { display: grid; gap: 8px; font-weight: 600; }
input, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d9e0ea;
  border-radius: 14px;
  font: inherit;
  background: #fff;
}
input[type="checkbox"] { width: auto; }
.list-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #edf0f4;
}
.footer {
  margin-bottom: 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
}
.footer p {
  color: var(--muted);
  line-height: 1.65;
}
.admin-section { padding: 30px; }
.admin-head { margin-bottom: 18px; }
.admin-form-stack { gap: 18px; }
.admin-subcard {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fbfcff;
}
.admin-subcard h2 { margin-bottom: 16px; }
.admin-cards { grid-template-columns: 1fr; margin-top: 18px; }
.admin-actions { justify-content: flex-start; margin-top: 6px; }
.check-row { font-weight: 600; }
.admin-nav-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 24px 0; }
.admin-nav-card {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-radius: 20px;
  background: #f9fbff;
  border: 1px solid var(--line);
  color: var(--text);
}
.admin-nav-card span { color: var(--muted); line-height: 1.55; }
.stat, .badge {
  background: #eef4ff;
  border-radius: 16px;
  padding: 18px;
}
.stat span { display: block; color: var(--muted); margin-bottom: 8px; }
.stat strong { font-size: 1.6rem; }
.badge {
  width: fit-content;
  padding: 8px 12px;
  background: #e9f7ef;
  color: var(--success);
  font-weight: 700;
}
.lead-card small { color: var(--muted); }
.narrow { max-width: 520px; margin: 40px auto; }
.alert { background: #ffe9e9; color: #8d2b2b; padding: 12px; border-radius: 12px; }
@media (max-width: 900px) {
  .hero-panel,
  .split-section,
  .price-grid,
  .steps-grid,
  .grid-3,
  .grid-4,
  .grid-form,
  .grid-form.three-cols,
  .metrics-grid,
  .admin-nav-grid,
  .cta-banner,
  .page-links-grid,
  .service-grid,
  .compact-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .nav { display: none; }
  .cta-actions { width: 100%; }
}
