@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/golos-cyrillic-400.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/golos-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/golos-cyrillic-600.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/golos-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Unbounded;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/unbounded-cyrillic-500.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Unbounded;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/unbounded-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --fascia: #0f2f4a;
  --fascia-hot: #1b5278;
  --counter: #e4ebf1;
  --card: #ffffff;
  --well: #dfe7ee;
  --ink: #142033;
  --muted: #3c5568;
  --price: #b42318;
  --line: #c9d5df;
  --focus: #c47d00;
  --shadow: 0 8px 20px rgba(15, 47, 74, 0.08);
  --font: "Golos Text", "Segoe UI", sans-serif;
  --display: Unbounded, "Golos Text", sans-serif;
}

* { box-sizing: border-box; }

html { scrollbar-color: var(--fascia) var(--counter); }

body {
  margin: 0;
  background: var(--counter);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.45;
  caret-color: var(--fascia);
}

::selection {
  background: var(--fascia);
  color: var(--card);
}

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--counter); }
::-webkit-scrollbar-thumb { background: var(--fascia); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

a {
  color: var(--fascia);
  text-underline-offset: 0.18em;
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--card);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 6;
}
.skip:focus { top: 12px; }

.mast {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 18px 28px;
  padding: 12px 28px;
  background: var(--fascia);
  color: #f3f7fb;
}

.brandblock {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.mark {
  display: flex;
  align-self: flex-start;
  line-height: 0;
  background: var(--card);
  padding: 4px 8px;
}
.mark img {
  height: 32px;
  width: auto;
}

.place {
  margin: 0;
  color: #d5e4ef;
  font-size: 0.92rem;
  line-height: 1.3;
}

.nav {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 8px 18px;
  min-width: 0;
}
.nav a {
  color: #f3f7fb;
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 0 8px;
}
.nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 #ffffff;
}

.phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-left: auto;
  padding: 8px 14px;
  background: var(--card);
  color: var(--fascia);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
}
.phone:hover { background: #f4f8fb; }

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 8px 0 64px;
}

.chapter-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 48px 0 16px;
}
.chapter:first-child .chapter-head { margin-top: 22px; }

.chapter-head img {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}

.chapter-head h1,
.chapter-head h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.7rem, 2.5vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-wrap: balance;
}

.more {
  margin-left: auto;
  font-weight: 600;
  white-space: nowrap;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.slip {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--card);
  color: inherit;
  box-shadow: var(--shadow);
}
.slip:hover { box-shadow: 0 14px 28px rgba(15, 47, 74, 0.14); }

.slip-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.slip-link:hover h2,
.slip-link:hover h3 { text-decoration: underline; }

.slip img,
.photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--well);
  padding: 12px;
}

.brand {
  margin: 12px 12px 0;
  color: var(--fascia);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
}

.slip h2,
.slip h3 {
  margin: 2px 12px 4px;
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-wrap: balance;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.code {
  margin: 0 12px 8px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.facts {
  margin: 0 12px 12px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}
.facts li {
  margin: 0 0 4px;
  overflow-wrap: anywhere;
}

.order {
  display: flex;
  align-items: stretch;
  margin-top: auto;
  border-top: 1px solid var(--line);
}

.price {
  margin: 0;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--price);
  font-variant-numeric: tabular-nums;
}

.call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px 14px;
  background: var(--fascia);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.call:hover { background: var(--fascia-hot); }

.pause { margin: 36px 0 4px; }
.pause img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center 62%;
}

.sheet {
  display: grid;
  grid-template-columns: minmax(240px, 420px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 18px;
}

.photo img { border: 1px solid var(--line); }

.buy .brand { margin: 0 0 4px; }
.buy h1 {
  margin: 0 0 6px;
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.buy .code { margin: 0 0 14px; font-size: 1rem; }
.buy .order { margin-top: 0; }
.buy .price { font-size: 1.55rem; padding-left: 0; }
.buy .facts { margin: 14px 0 0; }

.back { margin: 18px 0 0; }
.back a { font-weight: 600; }

.dock { display: none; }

.prose {
  max-width: 68ch;
  margin: 28px 0 8px;
}
.prose h2,
.specs h2,
.siblings h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.85rem;
  letter-spacing: -0.03em;
}
.prose p { margin: 0; }

.specs { margin-top: 32px; }
.group-title {
  margin: 22px 0 8px;
  font-size: 1.35rem;
  font-weight: 600;
}

.spec {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 8px;
}
.spec th,
.spec td {
  text-align: left;
  vertical-align: top;
  padding: 8px 10px 8px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}
.spec th {
  width: 42%;
  color: var(--muted);
  font-weight: 600;
  padding-right: 16px;
}

.siblings { margin-top: 40px; }

.site-foot {
  border-top: 1px solid var(--line);
  padding: 22px 28px 36px;
  color: var(--muted);
  font-size: 0.95rem;
}
.site-foot p { margin: 0 0 8px; max-width: 78ch; }
.site-foot a { font-weight: 600; }

.legal h1 {
  margin: 22px 0 16px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.7rem, 2.5vw, 2.3rem);
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.legal dl {
  margin: 0;
  max-width: 68ch;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 4px 18px 8px;
}
.legal div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.legal div:last-child { border-bottom: 0; }
.legal dt { color: var(--muted); font-weight: 600; }
.legal dd { margin: 0; overflow-wrap: anywhere; }

@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sheet { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .mast {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand phone" "nav nav";
    align-items: center;
    gap: 8px 12px;
    width: 100%;
    padding: 10px 16px;
  }
  .brandblock { grid-area: brand; }
  .phone { grid-area: phone; margin-left: 0; justify-self: end; }
  .nav { grid-area: nav; }
  .mark img { height: 28px; }
}

@media (max-width: 720px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .grid { grid-template-columns: 1fr; }
  .slip img {
    height: 200px;
    aspect-ratio: auto;
  }
  .chapter-head {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 4px;
    align-items: center;
  }
  .chapter-head img { grid-row: 1 / span 2; }
  .more { margin-left: 0; }
  .pause img { height: 180px; }
  .legal div { grid-template-columns: 1fr; gap: 2px; }
  .site-foot { padding: 18px 16px 28px; }
  .photo img {
    height: 220px;
    aspect-ratio: auto;
  }
  .sheet .order { display: none; }
  .dock {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    align-items: center;
    gap: 12px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: var(--card);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 20px rgba(15, 47, 74, 0.1);
  }
  .dock .order { flex: 1; }
  .dock .price { font-size: 1.15rem; padding: 0; }
  .dock .call { margin-left: auto; min-height: 48px; padding: 8px 18px; }
  body:has(.dock) { padding-bottom: 84px; }
}

@media (max-width: 420px) {
  .mast { padding-left: 12px; padding-right: 12px; }
  .phone { padding: 8px 10px; font-size: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  .slip { transition: none; }
}
