/* ИНЖПРОФФ — лендинг. Стиль: LIFE PAY / PDF «Оплата частями» + акценты СОД */
@font-face {
  font-family: Bounded;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/bounded.woff2) format("woff2");
}
@font-face {
  font-family: Hint;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/hint-regular.woff2) format("woff2");
}
@font-face {
  font-family: Hint;
  font-weight: 500 600;
  font-display: swap;
  src: url(fonts/hint-semibold.woff2) format("woff2");
}
@font-face {
  font-family: Hint;
  font-weight: 700 800;
  font-display: swap;
  src: url(fonts/hint-bold.woff2) format("woff2");
}

:root {
  --primary: #003cff;
  --primary-d: #0031d4;
  --ink: #172033;
  --muted: #5b6475;
  --border: #d8deea;
  --chip: #f0f4f8;
  --card: #f3f5f8;
  --dark: #1c1c1e;
  --mint: #73ffc9;
  --cyan: #35ffee;
  --deep: #0a1a44;
  --tg: #1877ad;
  --max: #6a4cf0;
  --radius: 22px;
  --wrap: 1180px;
  --display: Bounded, Hint, system-ui, sans-serif;
  --text: Hint, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--text);
  color: var(--ink);
  background: #fff;
  font-size: 17px;
  line-height: 1.5;
  overflow-x: clip;
}
img,
video {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.display {
  font-family: var(--display);
  letter-spacing: -0.015em;
  line-height: 1.08;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus {
  left: 8px;
}

/* buttons & pills */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font: 600 16px/1 var(--text);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(0, 60, 255, 0.6);
}
.btn-primary:hover {
  background: var(--primary-d);
}
.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}
.btn-tg {
  background: var(--tg);
  color: #fff;
}
.btn-max {
  background: #e4ddff;
  color: #33238f;
}
.btn-outline {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
}
.pill-mint {
  background: var(--mint);
  color: var(--deep);
}
.pill-chip {
  background: var(--chip);
}
.pill-line {
  border: 1px solid var(--border);
  color: var(--muted);
}
.pill-blue {
  background: var(--primary);
  color: #fff;
}

/* header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid rgba(216, 222, 234, 0.6);
}
.header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.logo {
  font: 800 20px/1 var(--display);
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink);
  padding: 12px 0;
  display: inline-block;
}
.logo span {
  color: var(--primary);
}
.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.nav a {
  text-decoration: none;
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
  padding: 10px 0;
}
.nav a:hover {
  color: var(--ink);
}
.header .btn {
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
}
.burger {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.burger span,
.burger span:before,
.burger span:after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  content: "";
}
.burger span:before {
  position: absolute;
  top: -6px;
}
.burger span:after {
  position: absolute;
  top: 6px;
}

/* audience switch */
.switch {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}
.switch button {
  border: 0;
  background: transparent;
  color: #dbe4ff;
  font: 600 15px/1 var(--text);
  padding: 11px 18px;
  border-radius: 999px;
  cursor: pointer;
  min-height: 44px;
}
.switch button {
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}
.switch button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.switch button[aria-pressed="true"],
.switch button[aria-pressed="true"]:hover {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.45);
}
[data-show] {
  display: none;
}
body[data-aud="b2c"] [data-show~="b2c"],
body[data-aud="b2b"] [data-show~="b2b"] {
  display: revert;
}
body[data-aud="b2c"] .flex[data-show~="b2c"],
body[data-aud="b2b"] .flex[data-show~="b2b"] {
  display: flex;
}

/* hero — помещается в один экран: высота = экран минус шапка */
.hero {
  padding: 16px 0 0;
}
.hero-box {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  color: #fff;
  padding: clamp(24px, 4.5vh, 48px) clamp(24px, 4vw, 52px) 0;
  min-height: min(640px, calc(100svh - 68px - 32px));
  max-height: calc(100svh - 68px - 32px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: radial-gradient(
    120% 140% at 100% 0%,
    #2f62df 0%,
    #0e46b8 30%,
    #0a2f7a 60%,
    #071d45 100%
  );
}
.hero-box:before {
  content: "";
  position: absolute;
  right: -120px;
  top: -140px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 255, 238, 0.28), rgba(53, 255, 238, 0) 65%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: end;
  min-height: 0;
  flex: 1;
}
.hero-text {
  padding-bottom: clamp(24px, 4.5vh, 48px);
  align-self: center;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, min(2.6vw, 4.6vh), 38px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: clamp(12px, 2.2vh, 20px) 0 clamp(8px, 1.6vh, 14px);
  max-width: 560px;
}
.hero h1 .accent {
  color: var(--cyan);
}
.hero .lead {
  font-size: clamp(15px, min(1.3vw, 2.2vh), 18px);
  color: #c9d6f5;
  max-width: 540px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(16px, 3vh, 28px);
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: clamp(18px, 3vh, 28px);
  padding-top: clamp(14px, 2.4vh, 20px);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-facts span {
  font-size: 14px;
  color: #c9d6f5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-facts span:before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  background: rgba(115, 255, 201, 0.16)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2373ffc9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center/11px no-repeat;
}
.hero-facts a {
  color: #fff;
}
.hero-cta .btn-light {
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.55);
}
.hero-cta .btn-light:hover {
  background: var(--mint);
}
.hero-cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}
.hero-cta .btn svg {
  width: 18px;
  height: 18px;
}
.hero-media {
  position: relative;
  align-self: end;
  height: 100%;
  max-height: calc(100svh - 68px - 32px - 48px);
  display: flex;
  align-items: flex-end;
}
.hero-media .shot {
  width: 100%;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5);
  aspect-ratio: 4/3;
  max-height: 100%;
}
.hero-media .shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media .badge {
  position: absolute;
  left: -18px;
  bottom: 28px;
  z-index: 1;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: 0 14px 40px -12px rgba(10, 26, 68, 0.45);
  font-size: 14px;
  max-width: 270px;
}
.hero-media .badge b {
  display: block;
  font-size: 15px;
}
.hero-media .badge i {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--chip);
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 20px;
}
/* низкие экраны ноутбуков */
@media (min-width: 961px) and (max-height: 700px) {
  .hero-media .badge {
    display: none;
  }
  .hero .lead {
    font-size: 15.5px;
  }
  .hero-facts {
    margin-top: 14px;
  }
}
/* sections */
section {
  padding: 88px 0 0;
}
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.sec-head h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  max-width: 760px;
}
.sec-head p {
  color: var(--muted);
  max-width: 460px;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

/* audience cards */
.aud-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.aud {
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.aud.c {
  background: var(--card);
}
.aud.b {
  background: var(--dark);
  color: #fff;
}
.aud h3 {
  font-family: var(--display);
  font-size: 24px;
}
.aud p {
  color: var(--muted);
}
.aud.b p {
  color: #c2c2c2;
}
.aud ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 6px 0 10px;
}
.aud li {
  padding-left: 30px;
  position: relative;
}
.aud li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center/12px no-repeat;
}
.aud.b li:before {
  background-color: var(--mint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1a44' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.aud .btn {
  margin-top: auto;
  align-self: flex-start;
}
.aud.is-active {
  box-shadow: 0 0 0 3px var(--primary);
}

/* disciplines */
.disc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.disc {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 240px;
}
.disc .ic {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.disc .ic svg {
  width: 28px;
  height: 28px;
}
.disc h3 {
  font-family: var(--display);
  font-size: 20px;
}
.disc p {
  color: var(--muted);
  font-size: 15.5px;
}
.disc .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.disc .tags span {
  font-size: 13px;
  background: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--muted);
}
.disc.note {
  background: var(--dark);
  color: #fff;
  justify-content: center;
}
.disc.note p {
  color: #c2c2c2;
}
.disc.note h3 {
  color: #fff;
}

/* deliverables */
.deliv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.deliv .card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  display: flex;
  flex-direction: column;
}
.deliv .card .pic {
  aspect-ratio: 16/10;
  background: #e7ebf3;
  position: relative;
  overflow: hidden;
}
.deliv .card .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.deliv .card .body {
  padding: 26px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.deliv h3 {
  font-family: var(--display);
  font-size: 22px;
}
.deliv p {
  color: var(--muted);
}
.deliv ul {
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 15.5px;
}
.deliv li {
  padding-left: 22px;
  position: relative;
}
.deliv li:before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}
.pdf-mock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(135deg, #eef2ff, #f7f9fc);
}
.sheet {
  width: 34%;
  aspect-ratio: 210/297;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 18px 40px -16px rgba(10, 26, 68, 0.35);
  padding: 8%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sheet:nth-child(1) {
  transform: rotate(-6deg) translateX(18%);
}
.sheet:nth-child(3) {
  transform: rotate(6deg) translateX(-18%);
}
.sheet:nth-child(2) {
  z-index: 1;
}
.sheet i {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: #dfe5f1;
}
.sheet i.b {
  background: var(--primary);
  width: 50%;
  height: 7px;
}
.sheet i.g {
  height: 40%;
  border-radius: 4px;
  background: repeating-linear-gradient(90deg, #e6ebf5 0 10px, #fff 10px 12px), #e6ebf5;
}
.sheet i.s {
  width: 70%;
}

/* viewer demo */
.viewer {
  background: var(--deep);
  color: #fff;
  border-radius: 32px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 44px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.viewer:before {
  content: "";
  position: absolute;
  left: -160px;
  bottom: -200px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 255, 238, 0.18), transparent 65%);
}
.viewer h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  margin-bottom: 16px;
}
.viewer p {
  color: #c9d6f5;
}
.video {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 16/9;
  box-shadow: 0 30px 80px -24px rgba(0, 0, 0, 0.6);
}
.video video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}
.video .vbtn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(10, 26, 68, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.video .vbtn:hover {
  background: var(--primary);
}
.video .vbtn svg {
  width: 18px;
  height: 18px;
}
.video .vbtn .i-play {
  display: none;
  margin-left: 3px;
}
.video .vbtn.is-paused {
  width: 72px;
  height: 72px;
  right: calc(50% - 36px);
  bottom: calc(50% - 36px);
  background: var(--primary);
  box-shadow: 0 0 0 12px rgba(0, 60, 255, 0.25);
}
.video .vbtn.is-paused svg {
  width: 26px;
  height: 26px;
}
.video .vbtn.is-paused .i-play {
  display: block;
}
.video .vbtn.is-paused .i-pause {
  display: none;
}
.models {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  position: relative;
}
.model {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 10px 14px 10px 10px;
  text-decoration: none;
  transition: background 0.2s;
}
.model:hover {
  background: rgba(255, 255, 255, 0.14);
}
.model img {
  width: 76px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  background: #fff;
  flex: 0 0 auto;
}
.model b {
  display: block;
  font-size: 16px;
}
.model small {
  color: #aab7da;
  font-size: 13.5px;
}
.model .arr {
  margin-left: auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.model .arr svg {
  width: 16px;
  height: 16px;
}
.feat {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.feat span {
  font-size: 13.5px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #dbe4ff;
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  counter-reset: s;
}
.step {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px 22px;
  position: relative;
}
.step:before {
  counter-increment: s;
  content: counter(s, decimal-leading-zero);
  font: 700 14px/1 var(--display);
  color: var(--primary);
  display: block;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 17px;
  line-height: 1.25;
  margin-bottom: 8px;
}
.step p {
  color: var(--muted);
  font-size: 15px;
}

/* payment */
.pay {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 20px;
}
.pay .card {
  border-radius: var(--radius);
  padding: 32px;
}
.pay .full {
  background: var(--card);
}
/* «Сразу всю сумму» в фирменных цветах СБП (sbp.nspk.ru: #1e1346 → #47397c, акцент — цвета логотипа) */
.pay .full.sbp {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(140deg, #1e1346 46%, #47397c 93%);
}
.pay .full.sbp:before {
  content: "";
  position: absolute;
  right: -90px;
  top: -110px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(238, 116, 38, 0.28),
    rgba(229, 6, 82, 0.12) 45%,
    transparent 70%
  );
  pointer-events: none;
}
.pay .full.sbp:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    #5b57a2,
    #d90751 22%,
    #fab31e 44%,
    #ed6f26 56%,
    #63b22f 72%,
    #1487c9 88%,
    #007a37
  );
  pointer-events: none;
}
.pay .full.sbp > * {
  position: relative;
}
.sbp-logo {
  display: block;
  height: 44px;
  width: auto;
  margin-bottom: 16px;
}
.pay .full.sbp p,
.pay .full.sbp .val small,
.pay .full.sbp .price-note,
.pay .full.sbp .ticks {
  color: #c2b5e2;
}
.pay .full.sbp .seg {
  background: linear-gradient(90deg, #5b57a2, #954b98);
}
.pay .full.sbp .pay-kinds div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e9e4f7;
}
.pay .full.sbp .pay-kinds b {
  color: #fff;
}
.pay .parts {
  background: #fff;
  border: 1.5px solid var(--border);
}
.pay h3 {
  font-family: var(--display);
  font-size: 22px;
  margin-bottom: 8px;
}
.pay p {
  color: var(--muted);
}
.pay .val {
  font: 700 30px/1.1 var(--display);
  margin: 18px 0 6px;
}
.pay .val small {
  font: 400 15px var(--text);
  color: var(--muted);
}
.bar {
  display: flex;
  gap: 6px;
  height: 44px;
  margin-top: 14px;
}
.seg {
  flex: 1;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  background: #90a0c7;
}
.parts .seg {
  background: var(--primary);
}
.parts .seg.first {
  background: var(--deep);
}
.ticks {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}
.ticks span {
  flex: 1;
  text-align: center;
}
.svc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.pay .note {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.4;
}
.pay-kinds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}
.pay-kinds div {
  background: var(--chip);
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 14.5px;
}
.pay-kinds b {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}
.warns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.warn {
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  padding: 16px 18px;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
}
.warn:first-child {
  font-family: var(--display);
  font-size: 18px;
}

/* channel */
.channel {
  border-radius: 32px;
  background: linear-gradient(135deg, #eaf6ff 0%, #f1efff 100%);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 44px;
  align-items: center;
}
.channel h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  margin-bottom: 14px;
}
.channel p {
  color: var(--muted);
}
.channel ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0 28px;
}
.channel li {
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 15px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.channel li i {
  font-style: normal;
  font-size: 20px;
  line-height: 1;
}
.channel .btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.qr-box {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 20px 60px -30px rgba(10, 26, 68, 0.35);
}
.qr-tabs {
  display: inline-flex;
  background: var(--chip);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 16px;
}
.qr-tabs button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 8px 16px;
  font: 600 14px var(--text);
  cursor: pointer;
  color: var(--muted);
  min-height: 36px;
}
.qr-tabs button {
  transition:
    background 0.2s,
    color 0.2s;
  min-height: 44px;
}
.qr-tabs button:hover {
  color: var(--ink);
}
.qr-tabs button[data-qr="tg"][aria-pressed="true"] {
  background: var(--tg);
  color: #fff;
  box-shadow: 0 4px 12px -4px rgba(24, 119, 173, 0.6);
}
.qr-tabs button[data-qr="max"][aria-pressed="true"] {
  background: var(--max);
  color: #fff;
  box-shadow: 0 4px 12px -4px rgba(106, 76, 240, 0.6);
}
.qr-box img {
  width: 220px;
  height: 220px;
  margin: 0 auto;
  image-rendering: pixelated;
}
.qr-box p {
  font-size: 14px;
  margin-top: 10px;
}

/* faq */
.faq {
  display: grid;
  gap: 12px;
  max-width: 900px;
}
.faq details {
  background: var(--card);
  border-radius: 18px;
  padding: 0 24px;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  font-weight: 600;
  font-size: 17.5px;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 400;
  color: var(--primary);
}
.faq details[open] summary:after {
  content: "–";
}
.faq details p {
  padding: 0 0 22px;
  color: var(--muted);
}

/* final cta */
.final {
  margin: 88px 0 0;
  border-radius: 32px;
  color: #fff;
  padding: 56px;
  text-align: center;
  background: radial-gradient(120% 140% at 0% 100%, #2f62df 0%, #0e46b8 35%, #071d45 100%);
}
.final h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  max-width: 820px;
  margin: 0 auto 14px;
}
.final p {
  color: #c9d6f5;
  max-width: 620px;
  margin: 0 auto;
}
.final .btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* footer */
footer {
  padding: 56px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  border-top: 1px solid var(--border);
  padding-top: 36px;
}
.foot-grid h4 {
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 10px;
}
.foot-grid a {
  text-decoration: none;
  display: block;
  padding: 6px 0;
}
.foot-grid a:hover {
  color: var(--ink);
}
/* полоса реквизитов и дисклеймера — во всю ширину экрана */
.legal-bar {
  width: 100%;
  margin-top: 40px;
  padding: 22px clamp(16px, 4vw, 48px) 32px;
  border-top: 1px solid var(--border);
}
.legal-req {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 10px;
  font-weight: 500;
}
.legal {
  font-size: 13px;
  line-height: 1.5;
  color: #5b6475;
  margin: 0;
}

/* mobile sticky bar */
.mbar {
  display: none;
}
.posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 26px;
}
.post {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.post:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -18px rgba(10, 26, 68, 0.4);
}
.post small {
  color: var(--muted);
  font-size: 12.5px;
}
.post b {
  font-size: 15px;
  line-height: 1.3;
}
.post span {
  margin-top: auto;
  font-size: 13.5px;
  color: var(--primary);
  font-weight: 600;
}
.chan-strip {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: #fff;
  color: var(--ink);
  border-radius: 20px;
  padding: 18px 22px;
  position: relative;
}
.chan-strip p {
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
}
.chan-strip p small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 14px;
}
.chan-strip .btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.chan-strip .btn {
  min-height: 46px;
  padding: 0 18px;
  font-size: 15px;
}
.hicons {
  display: flex;
  gap: 8px;
}
.hb-short {
  display: none;
}
.price-note {
  display: block;
  font: 400 13px var(--text);
  color: var(--muted);
  margin-top: 4px;
}
.aud-toggle {
  display: none;
}
/* логотипы мессенджеров (как в разделе «Чаты» СОД) */
.mlogo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  overflow: hidden;
}
.mlogo.tg {
  background: #2aabee;
}
.mlogo.tg svg {
  width: 15px;
  height: 15px;
  margin-left: -1px;
}
.mlogo.mx img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.btn-tg .mlogo.tg {
  background: #fff;
}
.btn-tg .mlogo.tg svg path {
  fill: var(--tg);
}
.btn-max .mlogo.mx {
  box-shadow: none;
}
.qr-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.qr-tabs .mlogo {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
}
.qr-tabs button[data-qr="tg"][aria-pressed="true"] .mlogo.tg {
  background: #fff;
}
.qr-tabs button[data-qr="tg"][aria-pressed="true"] .mlogo.tg svg path {
  fill: var(--tg);
}
.flink {
  display: flex !important;
  align-items: center;
  gap: 10px;
}
.flink .mlogo {
  width: 22px;
  height: 22px;
  flex-basis: 22px;
}
.final .btn-light .mlogo {
  width: 22px;
  height: 22px;
  flex-basis: 22px;
}

/* пример PDF-альбома */
.ex {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.ex-main {
  margin: 0;
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px;
}
.ex-zoom {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  cursor: zoom-in;
}
.ex-zoom img {
  width: 100%;
  height: auto;
  aspect-ratio: 1400/990;
  object-fit: contain;
}
.ex-main figcaption {
  font-size: 14px;
  color: var(--muted);
  padding: 10px 4px 2px;
}
.ex-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ex-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.ex-thumbs button {
  border: 1.5px solid var(--border);
  background: #fff;
  border-radius: 12px;
  padding: 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  font: 600 12.5px/1.2 var(--text);
  color: var(--muted);
  min-height: 44px;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.ex-thumbs button img {
  width: 100%;
  aspect-ratio: 1400/990;
  object-fit: cover;
  border-radius: 6px;
  background: #f7f9fc;
}
.ex-thumbs button[aria-pressed="true"] {
  border-color: var(--primary);
  color: var(--ink);
  box-shadow: 0 0 0 2px rgba(0, 60, 255, 0.15);
}
.ex-info {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
}
.ex-info b {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
}
.ex-info ul {
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 15px;
  margin-bottom: 18px;
}
.ex-info li {
  padding-left: 22px;
  position: relative;
}
.ex-info li:before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}
.ex-info .btn {
  width: 100%;
}

/* документооборот */
.edo {
  border-radius: 32px;
  background: linear-gradient(135deg, #f2f6ff 0%, #eefaf5 100%);
  padding: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 44px;
  align-items: center;
  overflow: hidden;
}
.edo h2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
  margin-bottom: 14px;
}
.edo-text > p {
  color: var(--muted);
  max-width: 620px;
}
.edo-cards {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.edo-card {
  background: #fff;
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 18px 40px -30px rgba(10, 26, 68, 0.35);
}
.edo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.edo-logo {
  font: 800 20px/1 var(--display);
  letter-spacing: -0.01em;
}
.edo-logo.sc {
  color: #1a1a1a;
}
.edo-logo.sc:before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff4f3f;
  margin-right: 8px;
  vertical-align: 2px;
}
.edo-logo.dd {
  color: #1f6fd1;
}
.edo-logo.dd:before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: #1f6fd1;
  margin-right: 8px;
  vertical-align: 2px;
}
.edo-card ol {
  list-style: none;
  counter-reset: e;
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.edo-card li {
  counter-increment: e;
  padding-left: 34px;
  position: relative;
  font-size: 15.5px;
}
.edo-card li:before {
  content: counter(e);
  position: absolute;
  left: 0;
  top: -1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--chip);
  color: var(--primary);
  font: 700 13px/24px var(--display);
  text-align: center;
}
.edo-note {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 10px;
}
.edo-card a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}
.edo-card a:hover {
  text-decoration: underline;
}
.edo-other {
  justify-self: start;
  border: 0;
  background: transparent;
  color: var(--primary);
  font: 600 15px/1.3 var(--text);
  cursor: pointer;
  padding: 10px 0;
  min-height: 44px;
  text-align: left;
}
.edo-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.phone-doc {
  width: 230px;
  background: #0b0f14;
  border-radius: 34px;
  padding: 12px;
  box-shadow: 0 30px 60px -24px rgba(10, 26, 68, 0.55);
}
.pd-top {
  height: 18px;
  display: flex;
  justify-content: center;
}
.pd-top span {
  width: 70px;
  height: 6px;
  border-radius: 4px;
  background: #2a2e3f;
}
.pd-sms {
  background: #e9f0ff;
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--ink);
  margin: 6px 0 10px;
}
.pd-sms b {
  display: block;
  font-size: 11.5px;
  color: var(--primary);
  margin-bottom: 2px;
}
.pd-paper {
  background: #fff;
  border-radius: 14px;
  padding: 16px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: relative;
  min-height: 170px;
}
.pd-paper i {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: #e3e8f2;
}
.pd-paper i.t {
  height: 9px;
  width: 55%;
  background: var(--ink);
  opacity: 0.85;
}
.pd-paper i.s {
  width: 70%;
}
.pd-stamp {
  position: absolute;
  right: 12px;
  bottom: 14px;
  border: 2px solid #1aa260;
  color: #1aa260;
  border-radius: 10px;
  padding: 5px 9px;
  font: 700 11px/1.15 var(--text);
  text-transform: uppercase;
  transform: rotate(-8deg);
  text-align: center;
  background: rgba(26, 162, 96, 0.06);
}
.pd-stamp small {
  font-weight: 600;
  text-transform: none;
  font-size: 9.5px;
}
.pd-btn {
  margin: 10px 0 4px;
  background: var(--primary);
  color: #fff;
  text-align: center;
  border-radius: 12px;
  padding: 11px;
  font: 700 13px var(--text);
}
.edo-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.edo-badges span {
  background: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
  }
  .step {
    padding: 20px 16px;
  }
  .nav {
    gap: 14px;
  }
  .nav a {
    font-size: 14px;
  }
  .header .wrap {
    gap: 16px;
  }
}
@media (max-width: 960px) {
  body {
    font-size: 16px;
  }
  .nav {
    display: none;
  }
  .hicons {
    margin-left: auto;
  }
  .header .btn {
    min-height: 44px;
    padding: 0 16px;
    font-size: 14.5px;
  }
  /* hero: текст и кнопки сверху, картинка под ними; ничего не перекрывается */
  .hero-box {
    max-height: none;
    min-height: 0;
    display: block;
  }
  .hero-grid {
    display: block;
  }
  .hero-text {
    padding-bottom: 24px;
  }
  .hero h1 {
    font-size: clamp(24px, 4.4vw, 34px);
    max-width: none;
  }
  .hero-media {
    height: auto;
    max-height: none;
    display: block;
  }
  .hero-media .shot {
    aspect-ratio: 16/9;
    height: auto;
    max-height: none;
  }
  .hero-media .badge {
    left: 12px;
    bottom: 12px;
  }
  .disc-grid {
    grid-template-columns: 1fr 1fr;
  }
  .viewer,
  .channel {
    grid-template-columns: minmax(0, 1fr);
    padding: 40px 32px;
  }
  .pay {
    grid-template-columns: 1fr;
  }
  .posts {
    grid-template-columns: minmax(0, 1fr);
  }
  .ex {
    grid-template-columns: minmax(0, 1fr);
  }
  .edo {
    grid-template-columns: minmax(0, 1fr);
    padding: 40px 32px;
  }
  .edo-visual {
    display: none;
  }
  section {
    padding-top: 72px;
  }
}
@media (max-width: 680px) {
  .wrap {
    padding: 0 16px;
  }
  .header .wrap {
    height: 58px;
  }
  .hicon,
  .hicon .mlogo {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
  .hicon .mlogo.tg svg {
    width: 22px;
    height: 22px;
  }
  .logo {
    font-size: 18px;
  }
  .hero {
    padding-top: 10px;
  }
  .hero-box {
    border-radius: 24px;
    padding: 20px 18px 0;
  }
  .hero h1 {
    font-size: clamp(22px, 6.4vw, 27px);
    margin: 16px 0 10px;
  }
  .hero .lead {
    font-size: 15.5px;
    line-height: 1.45;
  }
  .hero-cta {
    gap: 8px;
    margin-top: 18px;
  }
  .hero-cta .btn {
    width: 100%;
    min-height: 48px;
  }
  .hero-facts {
    display: none !important;
  }
  .hero-text {
    padding-bottom: 20px;
  }
  .switch {
    width: 100%;
  }
  .switch button {
    flex: 1;
    padding: 11px 8px;
  }
  .hero-media .badge {
    display: none;
  }
  .hero-media .shot {
    aspect-ratio: 16/10;
    border-radius: 16px 16px 0 0;
  }
  .aud-grid,
  .deliv,
  .pay-kinds,
  .warns,
  .channel ul {
    grid-template-columns: minmax(0, 1fr);
  }
  .channel h2,
  .viewer h2,
  .final h2 {
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  .aud,
  .pay .card {
    padding: 24px;
  }
  /* неактивная аудитория свёрнута в одну строку */
  body[data-aud="b2c"] .aud[data-card="b2b"],
  body[data-aud="b2b"] .aud[data-card="b2c"] {
    padding: 16px 20px;
  }
  body[data-aud="b2c"] .aud[data-card="b2b"] > :not(.aud-toggle),
  body[data-aud="b2b"] .aud[data-card="b2c"] > :not(.aud-toggle) {
    display: none;
  }
  body[data-aud="b2c"] .aud[data-card="b2b"] .aud-toggle,
  body[data-aud="b2b"] .aud[data-card="b2c"] .aud-toggle {
    display: flex;
  }
  .aud-toggle {
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    border: 0;
    background: transparent;
    color: inherit;
    font: 600 15.5px/1.3 var(--text);
    text-align: left;
    cursor: pointer;
    padding: 0;
  }
  .aud-toggle i {
    font-style: normal;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .aud.b .aud-toggle i {
    background: var(--mint);
    color: var(--deep);
  }
  body[data-aud="b2b"] .aud-grid .aud[data-card="b2b"] {
    order: -1;
  }
  .aud-grid {
    display: flex;
    flex-direction: column;
  }
  /* разделы — компактно в 2 колонки */
  .disc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .disc {
    padding: 16px;
    min-height: 0;
    gap: 8px;
  }
  .disc .ic {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
  .disc .ic svg {
    width: 22px;
    height: 22px;
  }
  .disc h3 {
    font-size: 15.5px;
    line-height: 1.2;
  }
  .disc p {
    font-size: 13.5px;
    line-height: 1.35;
  }
  .disc .tags {
    display: none;
  }
  .disc.note {
    grid-column: 1 / -1;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .viewer,
  .channel,
  .final {
    border-radius: 24px;
    padding: 28px 20px;
  }
  .edo {
    border-radius: 24px;
    padding: 28px 20px;
  }
  .edo-card {
    padding: 18px;
  }
  .ex-main {
    padding: 8px;
  }
  .ex-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .ex-thumbs button span {
    font-size: 11.5px;
  }
  .channel .btns .btn,
  .final .btns .btn,
  .aud .btn,
  .chan-strip .btn {
    width: 100%;
  }
  .chan-strip .btns {
    width: 100%;
  }
  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.2;
    padding: 12px 18px;
  }
  .aud-grid,
  .deliv,
  .disc-grid,
  .pay,
  .steps {
    min-width: 0;
  }
  .aud,
  .disc,
  .card,
  .step {
    min-width: 0;
  }
  .qr-box {
    display: none;
  }
  section {
    padding-top: 56px;
  }
  .sec-head {
    margin-bottom: 24px;
  }
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .foot-grid a {
    padding: 12px 0;
  }
  /* нижняя панель появляется после первого экрана */
  .mbar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    transform: translateY(110%);
    transition: transform 0.25s;
    visibility: hidden;
  }
  .mbar.show {
    transform: none;
    visibility: visible;
  }
  .mbar .btn {
    flex: 1;
    min-height: 48px;
    padding: 0 12px;
    font-size: 15px;
  }
  footer {
    padding-bottom: 100px;
  }
  .model img {
    width: 64px;
    height: 48px;
  }
}
@media (max-width: 420px) {
  .hb-long {
    display: none;
  }
  .hb-short {
    display: inline;
  }
  .header .btn {
    padding: 0 12px;
    font-size: 14px;
    min-height: 40px;
  }
  .logo {
    font-size: 16px;
  }
  .hicon,
  .hicon .mlogo {
    width: 36px !important;
    height: 36px !important;
    flex-basis: 36px !important;
  }
  .hicon .mlogo.tg svg {
    width: 20px;
    height: 20px;
  }
  .header .wrap {
    padding: 0 12px;
  }
  .hicons {
    gap: 6px;
  }
  .header .wrap {
    gap: 8px;
  }
}
@media (max-width: 359px) {
  .logo {
    font-size: 14px;
  }
  .header .wrap {
    padding: 0 8px;
    gap: 6px;
  }
  .hicon,
  .hicon .mlogo {
    width: 34px !important;
    height: 34px !important;
    flex-basis: 34px !important;
  }
  .hicons {
    gap: 4px;
  }
  .header .btn {
    padding: 0 10px;
    font-size: 13px;
  }
}
/* короткие экраны телефонов (iPhone SE, 360×640) */
@media (max-width: 680px) and (max-height: 700px) {
  .hero h1 {
    font-size: clamp(20px, 5.8vw, 23px);
    margin: 12px 0 8px;
  }
  .hero .lead {
    font-size: 14.5px;
  }
  .hero-cta {
    margin-top: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
