:root {
  --navy: #0b1e3a;
  --navy-2: #122b4f;
  --blue: #1668e3;
  --blue-2: #3d8bff;
  --ink: #16233a;
  --muted: #5b6b85;
  --line: #e2e8f2;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(11, 30, 58, .12);
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- header ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.top-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  letter-spacing: -.01em;
}
.brand:hover { text-decoration: none; }
.brand img { border-radius: 8px; }
.brand .plus { color: var(--blue); }

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 15px;
}
.nav a { color: var(--muted); }
.nav a:hover { color: var(--navy); text-decoration: none; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  padding: 12px 20px;
  border: 1px solid transparent;
  box-shadow: 0 10px 24px rgba(22, 104, 227, .28);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  white-space: nowrap;
}
.btn:hover {
  text-decoration: none;
  background: #0f5bd0;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(22, 104, 227, .34);
}
.btn-small { padding: 9px 16px; font-size: 15px; margin-left: 8px; }
.btn-lg { padding: 15px 26px; font-size: 17px; border-radius: 14px; }
.btn-ghost {
  background: #fff;
  color: var(--navy);
  border-color: #d3ddea;
  box-shadow: none;
}
.btn-ghost:hover { background: #fff; border-color: #b9c8dd; box-shadow: none; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 12% -10%, #e7f0ff 0%, rgba(231, 240, 255, 0) 62%),
    radial-gradient(700px 480px at 92% 4%, #e9f7f1 0%, rgba(233, 247, 241, 0) 58%),
    #fff;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  padding: 64px 20px 56px;
}

.badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #0b5c46;
  background: #e4f6ee;
  border: 1px solid #c8ecdd;
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 20px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: -.025em;
  color: var(--navy);
}

.hero h1 .accent {
  background: linear-gradient(92deg, var(--blue) 0%, #13a173 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 0 0 26px;
  font-size: 18px;
  color: var(--muted);
  max-width: 34em;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hint {
  margin: 16px 0 0;
  font-size: 14px;
  color: #7b8aa1;
}

.hero-shot { display: flex; justify-content: center; }

/* ---------- phone frame ---------- */

.phone {
  border: 10px solid #0e1524;
  border-radius: 34px;
  background: #0e1524;
  box-shadow: 0 30px 60px rgba(11, 30, 58, .24);
  overflow: hidden;
  width: 316px;
  max-width: 100%;
}
.phone img { width: 100%; display: block; }

.phone-sm {
  width: 258px;
  border-width: 8px;
  border-radius: 28px;
  margin: 0;
}

/* ---------- strip ---------- */

.strip { background: var(--navy); color: #fff; }
.strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 22px 20px;
}
.strip-inner div { display: flex; flex-direction: column; gap: 2px; }
.strip-inner b { font-size: 17px; }
.strip-inner span { font-size: 14px; color: #a9bcd6; }

/* ---------- sections ---------- */

.section { padding: 76px 0; }
section[id] { scroll-margin-top: 84px; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section h2 {
  margin: 0 0 10px;
  font-size: 34px;
  letter-spacing: -.02em;
  color: var(--navy);
}

.sub { margin: 0 0 40px; color: var(--muted); font-size: 17px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #d3ddea;
}
.card h3 { margin: 14px 0 8px; font-size: 19px; color: var(--navy); }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

.ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
}
.ic-blue { background: #1668e3; }
.ic-green { background: #12a06a; }
.ic-violet { background: #7a53d8; }
.ic-orange { background: #e07b16; }
.ic-cyan { background: #0f9bb5; }
.ic-navy { background: #0b1e3a; }

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e8f1ff;
  color: var(--blue);
  font-weight: 700;
}
.step h3 { margin: 14px 0 6px; font-size: 19px; color: var(--navy); }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  justify-items: center;
}
.gallery figure { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.gallery figcaption { font-size: 14px; color: var(--muted); }

/* ---------- prices ---------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 34px;
}

.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.price-card h3 { margin: 0 0 10px; font-size: 17px; color: var(--muted); font-weight: 600; }
.price {
  font-size: 40px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.02em;
  line-height: 1.1;
}
.price span { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-card p { margin: 12px 0 0; color: var(--muted); font-size: 15px; }

.packs {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.packs h3 { margin: 0 0 16px; font-size: 20px; color: var(--navy); }
.pack-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
}
.pack-list li {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pack-list b { font-size: 22px; color: var(--navy); }
.pack-list span { font-size: 14px; color: var(--muted); }
.note { margin: 18px 0 0; font-size: 14px; color: #7b8aa1; }

/* ---------- faq ---------- */

.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--blue); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 12px 0 0; color: var(--muted); font-size: 15.5px; }

/* ---------- cta ---------- */

.cta {
  background: linear-gradient(100deg, var(--navy) 0%, #123a6b 60%, #14507f 100%);
  color: #fff;
  padding: 56px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta h2 { margin: 0 0 6px; font-size: 30px; letter-spacing: -.02em; }
.cta p { margin: 0; color: #b9cbe4; }
.cta .btn { background: #fff; color: var(--navy); box-shadow: none; }
.cta .btn:hover { background: #eef4ff; }

/* ---------- footer ---------- */

.foot { background: #08152a; color: #93a7c2; padding: 36px 0 44px; }
.foot-inner { display: flex; flex-direction: column; gap: 8px; }
.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 4px;
}
.foot-brand img { border-radius: 7px; }
.foot-links { margin: 0; font-size: 15px; }
.foot-links a { color: #cfe0ff; }
.foot-note { margin: 0; font-size: 13.5px; max-width: 60em; }
.foot-requisites {
  margin: 10px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(207, 224, 255, 0.16);
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.55;
  max-width: 62em;
}
.foot-requisites p { margin: 0 0 4px; }
.foot-requisites p:last-child { margin-bottom: 0; }
.foot-requisites a { color: #cfe0ff; }
.foot-copy { margin: 6px 0 0; font-size: 13px; color: #6f85a3; }

/* ---------- legal pages ---------- */

.legal-top { padding: 28px 0 0; }
.legal { padding: 28px 0 64px; }
.legal article { max-width: 860px; }
.legal h1 { font-size: 32px; line-height: 1.25; margin: 0 0 8px; }
.legal h2 { font-size: 22px; margin: 30px 0 10px; }
.legal h3 { font-size: 18px; margin: 22px 0 8px; }
.legal p { margin: 0 0 12px; color: #2c3d55; font-size: 16px; line-height: 1.65; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin: 0 0 6px; color: #2c3d55; font-size: 16px; line-height: 1.6; }
.legal strong { color: #10233d; }
.legal .legal-meta { color: #6f85a3; font-size: 14px; margin-bottom: 22px; }
.legal .legal-back { display: inline-block; margin-bottom: 18px; color: #1f5fbf; }

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 44px; gap: 28px; }
  .hero h1 { font-size: 38px; }
  .hero-shot .phone { width: 250px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .strip-inner { grid-template-columns: repeat(2, 1fr); gap: 16px 8px; }
  .price-grid, .steps { grid-template-columns: 1fr; }
  .pack-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .hero h1 { font-size: 31px; }
  .lead { font-size: 16.5px; }
  .section { padding: 54px 0; }
  .section h2 { font-size: 27px; }
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .phone-sm { width: 230px; }
  .hero-shot .phone { width: 210px; }
  .cta h2 { font-size: 24px; }
}