:root {
  --bg: #f4fafd;
  --paper: #ffffff;
  --ink: #16344c;
  --muted: #4a6c86;
  --line: #d3e6f2;
  --navy: #1b6fa8;
  --navy-2: #1468a3;
  --soft: #e7f5fb;
  --accent: #e8a317;
  --accent-ink: #1a1408;
  --shadow: 0 24px 50px -32px rgba(26, 134, 200, 0.45);
  --radius: 18px;
  --max: 1120px;
  --header: 72px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: Manrope, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
::selection { background: #c5e6f6; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--paper);
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.preview-bar {
  background: var(--soft);
  color: var(--navy);
  font-size: 0.82rem;
  text-align: center;
  padding: 8px 16px;
}
.preview-bar strong { font-weight: 700; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.wrap-s { width: min(760px, calc(100% - 40px)); margin: 0 auto; }

header.site {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.bar {
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}
.logo strong { display: block; font-size: 1.15rem; letter-spacing: -0.03em; line-height: 1; }
.logo em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.nav { display: flex; align-items: center; gap: 22px; }
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); }
.phone {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}
.menu-btn {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--navy);
  margin: 5px auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #f0b022; }
.btn-ghost {
  background: transparent;
  color: var(--navy-2);
  border-color: #9dcee8;
}
.btn-ghost:hover { background: rgba(26, 134, 200, 0.08); }
.btn-line {
  background: var(--paper);
  color: var(--navy);
  border-color: var(--line);
}
.btn-line:hover { border-color: var(--navy); }
.btn-navy { background: var(--navy); color: #f4f7fb; }
.btn-navy:hover { background: var(--navy-2); }

.hero {
  background-color: #e9f6fc;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0)),
    linear-gradient(rgba(26, 134, 200, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 134, 200, 0.08) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  color: var(--ink);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 64px;
}
.kicker {
  margin: 0 0 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-2);
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 750;
}
.lead {
  margin: 18px 0 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.08rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
}
.facts li { display: flex; align-items: center; gap: 8px; }
.facts i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy);
  display: block;
}

.panel {
  background: #ffffff;
  border: 1px solid #c5e3f4;
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.panel-top, .prow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.panel-top { margin-bottom: 8px; font-weight: 700; }
.dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
}
.dot i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3db4ea;
}
.prow {
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
.prow span { color: var(--muted); }
.prow b { font-weight: 700; color: var(--ink); }
.panel-note { margin: 12px 0 0; color: var(--muted); font-size: 0.8rem; }

.page-hero {
  background: linear-gradient(180deg, #e9f6fc, #f4fafd);
  color: var(--ink);
}
.page-hero .wrap { padding: 48px 0 42px; }
.page-hero h1 {
  margin: 0;
  max-width: 16em;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.page-hero p { margin: 14px 0 0; max-width: 40rem; color: var(--muted); }

section { padding: 76px 0; }
.sec-h { max-width: 40rem; margin-bottom: 32px; }
.sec-h h2, .block-title {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.sec-h p, .sub { margin: 10px 0 0; color: var(--muted); }

.grid-7, .grid-4, .grid-3, .grid-2 { display: grid; gap: 14px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }
.caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.card, .price, .scene, .step, .dir, .case, .sheet, .quiz, .form, .faq {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card, .scene, .dir, .step { padding: 22px; }
.card h3, .scene h3, .dir h3, .step h3, .price h3 { margin: 0 0 8px; font-size: 1.05rem; letter-spacing: -0.02em; }
.card p, .scene p, .dir p, .step p, .price p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card svg, .dir svg { color: var(--navy); margin-bottom: 14px; }

.scene { min-height: 100%; }
.scene .name {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.why {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}
.points { display: grid; gap: 12px; }
.point {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}
.point strong { display: block; margin-bottom: 4px; }
.point p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.sheet { padding: 8px 22px 18px; }
.sheet h3 { margin: 18px 0 8px; font-size: 1rem; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; width: 62%; }
td { font-weight: 700; }
.note { margin: 14px 0 0; color: var(--muted); font-size: 0.9rem; }

.prices { align-items: stretch; }
.price { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.price .sum {
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  font-weight: 750;
}
.price ul { margin: 0; padding-left: 18px; color: var(--muted); }
.price ul li { margin: 6px 0; }
.price .btn { margin-top: auto; }
.price.mid { border-color: var(--navy); box-shadow: var(--shadow); }

.slim {
  margin-top: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.slim h3 { margin: 0; padding: 18px 22px 0; font-size: 1.05rem; }
.slim p { margin: 6px 22px 0; color: var(--muted); font-size: 0.92rem; }
.slim table { margin: 8px 22px 16px; width: calc(100% - 44px); }
.slim td:last-child, .slim th:last-child { text-align: right; white-space: nowrap; }

.case {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  padding: 16px;
  align-items: stretch;
}
.case-photo {
  position: relative;
  display: block;
  min-height: 280px;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.case-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.case-photo-meta {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 14px;
  padding: 12px 14px 10px;
}
.case-photo .metric { font-size: 2rem; color: var(--ink); }
.case-photo .metric span { color: var(--navy); }
.metric { font-size: 3rem; font-weight: 750; letter-spacing: -0.04em; line-height: 1; }
.metric span, .badge {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--navy);
}
.badge {
  margin: 0 0 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--soft);
}
.case h2 { margin: 0 0 8px; letter-spacing: -0.03em; }
.case p { margin: 0 0 10px; color: var(--muted); }
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.gallery .wide { grid-column: 1 / -1; }
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--soft);
}
.gallery .wide img { height: 440px; }
.gallery figcaption {
  margin-top: 8px;
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--muted);
}
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.meta span {
  background: var(--bg);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.85rem;
  font-weight: 650;
}

.steps { counter-reset: st; }
.step { position: relative; padding-top: 46px; }
.step::before {
  counter-increment: st;
  content: counter(st);
  position: absolute;
  top: 18px;
  left: 22px;
  font-weight: 750;
  color: var(--navy);
}

.dirs a { text-decoration: none; color: inherit; }
.dir { height: 100%; transition: border-color 0.15s ease; }
.dir:hover { border-color: var(--navy); }
.dir .more { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 0.9rem; }

.quiz { padding: 22px; }
.q-top { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 0.85rem; font-weight: 700; }
.barline { height: 4px; background: var(--soft); border-radius: 99px; margin: 12px 0 18px; }
.barline span { display: block; height: 100%; background: var(--navy); border-radius: inherit; }
.quiz h3 { margin: 0 0 14px; font-size: 1.35rem; letter-spacing: -0.03em; }
.opts { display: grid; gap: 8px; }
.opt {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.35;
}
.opt:has(input:checked) { border-color: var(--navy); background: #f3fafe; }
.opt input {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  accent-color: var(--navy);
}
.opt span { min-width: 0; }
.q-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; }
.result h3 { margin-top: 0; }
.result ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }

.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq { padding: 8px 22px 18px; background: transparent; border: 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 8px 0 4px; color: var(--muted); }

.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 22px;
}
.contacts { display: grid; gap: 12px; }
.contacts a { font-weight: 700; text-decoration: none; }
.contacts a:hover { text-decoration: underline; }
.form { padding: 22px; display: grid; gap: 12px; }
label { font-size: 0.82rem; font-weight: 700; display: grid; gap: 6px; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 12px;
  background: #fbfcfd;
  color: var(--ink);
}
input:focus, textarea:focus { outline: 2px solid var(--navy); border-color: transparent; }
.check { font-weight: 500; grid-template-columns: 18px 1fr; align-items: start; color: var(--muted); }
.ok {
  background: var(--soft);
  border-radius: 12px;
  padding: 14px;
}

.band {
  background: linear-gradient(180deg, #e5f4fb, #d7eef9);
  color: var(--ink);
  border-radius: 24px;
  padding: 36px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}
.band h2 { margin: 0 0 6px; letter-spacing: -0.03em; }
.band p { margin: 0; color: var(--muted); }

.prose { display: grid; gap: 14px; }
.prose h2 { margin: 18px 0 0; letter-spacing: -0.03em; font-size: 1.45rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul { margin: 0; }

.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.subnav a {
  text-decoration: none;
  border: 1px solid #9dcee8;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-2);
}
.subnav a[aria-current="page"] { background: var(--navy); color: #fff; border-color: var(--navy); }

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.9rem;
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.foot nav { display: flex; gap: 14px; flex-wrap: wrap; }
.foot a { color: var(--navy); text-decoration: none; font-weight: 650; }

@media (max-width: 1180px) {
  .phone { display: none; }
}
@media (max-width: 980px) {
  .hero-grid, .why, .contact, .case, .grid-4, .grid-3, .caps { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 40;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
    gap: 4px;
    box-shadow: var(--shadow);
  }
  .nav.open a { display: block; padding: 10px 0; }
  .menu-btn { display: inline-block; }
  header.site { position: sticky; }
}
@media (max-width: 720px) {
  .wrap, .wrap-s { width: min(var(--max), calc(100% - 32px)); }
  .hero-grid, .why, .contact, .case, .grid-4, .grid-3, .grid-2, .caps { grid-template-columns: 1fr; }
  .hero-grid { padding: 42px 0 36px; }
  section { padding: 52px 0; }
  .band { flex-direction: column; align-items: flex-start; padding: 24px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .wide img, .gallery img { height: 200px; }
  .case-photo { height: 230px; min-height: 230px; }
  .hero-actions, .hero-actions .btn, .q-nav .btn, .form .btn { width: 100%; }
  .slim td:last-child, .slim th:last-child { white-space: normal; }
}
