@font-face {
  font-family: "Indira K";
  src: url("fonts/Indira_K.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --text: #f7f2e8;
  --muted: #b9c5d7;
  --gold-line: rgba(214, 167, 94, 0.16);
  --font-ui: "Indira K", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  color: var(--text);
  font-family: var(--font-ui);
  background:
    radial-gradient(circle at 82% 14%, rgba(161, 57, 88, 0.16), transparent 34rem),
    radial-gradient(circle at 30% 84%, rgba(138, 31, 24, 0.17), transparent 38rem),
    #07090f;
}

.install-cabinet {
  position: fixed;
  top: max(14px, env(safe-area-inset-top, 14px));
  right: max(14px, env(safe-area-inset-right, 14px));
  z-index: 100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  font-family: var(--font-ui);
  letter-spacing: 0.02em;
  color: #1a0f06;
  text-decoration: none;
  border: 1px solid rgba(255, 230, 180, 0.65);
  background: linear-gradient(135deg, #ff9041 0%, #ffd56d 52%, #fff0b0 100%);
  box-shadow:
    0 0 0 1px rgba(255, 160, 70, 0.35),
    0 6px 22px rgba(255, 130, 45, 0.55),
    0 14px 36px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.install-cabinet:hover {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.06);
  border-color: rgba(255, 248, 220, 0.9);
  box-shadow:
    0 0 0 1px rgba(255, 210, 140, 0.55),
    0 10px 28px rgba(255, 140, 55, 0.65),
    0 18px 44px rgba(0, 0, 0, 0.38);
}

.main-area {
  min-height: 100svh;
  overflow: visible;
  background:
    linear-gradient(90deg, rgba(7, 9, 15, 0.82) 0%, rgba(7, 9, 15, 0.56) 36%, rgba(7, 9, 15, 0.34) 100%),
    linear-gradient(180deg, rgba(7, 9, 15, 0.18), rgba(7, 9, 15, 0.5)),
    url("images/bg-hero-new.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.wrap {
  width: min(calc(100% - 72px), 1810px);
  margin: 0 auto;
  padding: 48px 0 96px;
}

.inner-brand-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.inner-brand-logo img {
  width: 146px;
  max-height: 150px;
  height: auto;
  object-fit: contain;
  filter: brightness(1.05);
}

.page-title {
  margin: 0 0 14px;
  font-family: var(--font-ui);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.page-lead {
  margin: 0 0 28px;
  max-width: 64ch;
  color: var(--muted);
  line-height: 1.85;
  font-size: 1rem;
}

.install-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 24px;
  align-items: start;
}

.panel {
  padding: 26px;
  border-radius: 26px;
  border: 1px solid var(--gold-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent), rgba(8, 11, 17, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 24px 60px rgba(0, 0, 0, 0.18);
  min-width: 0;
}

.panel-head {
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(214, 167, 94, 0.12);
}

.panel-head h2 {
  margin: 0 0 8px;
  color: #fff1d8;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
}

.panel-head p {
  margin: 0;
  color: rgba(244, 239, 230, 0.72);
  line-height: 1.55;
  font-size: 0.95rem;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(214, 167, 94, 0.14);
  background: radial-gradient(circle at 18% 10%, rgba(255, 215, 109, 0.12), transparent 38%), rgba(255, 255, 255, 0.02);
}

.step-num {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1rem;
  color: #1a0f06;
  background: linear-gradient(135deg, #f2cf78, #b07a34);
  border: 1px solid rgba(255, 239, 200, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.step-body {
  min-width: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(244, 239, 230, 0.78);
}

.step-body strong {
  display: block;
  color: #fff1d8;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.req-panel {
  position: sticky;
  top: 18px;
  overflow: hidden;
  padding: 26px;
  border-radius: 26px;
  border: 1px solid var(--gold-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent), rgba(8, 11, 17, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 24px 60px rgba(0, 0, 0, 0.18);
  min-width: 0;
}

.req-panel h2 {
  margin: 0 0 10px;
  color: #fff1d8;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.req-lead {
  margin: 0 0 16px;
  color: rgba(244, 239, 230, 0.64);
  line-height: 1.6;
  font-size: 0.92rem;
}

.req-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.req-list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
  align-items: start;
  color: rgba(246, 231, 205, 0.86);
  line-height: 1.55;
  font-size: 0.92rem;
}

.req-dot {
  margin-top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.6), transparent), #e5bd72;
  box-shadow: 0 0 0 4px rgba(229, 189, 114, 0.16);
}

.cta {
  padding-top: 8px;
  margin-top: 8px;
  border-top: 1px dashed rgba(214, 167, 94, 0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  background: linear-gradient(135deg, #ff9041 0%, #ffd56d 56%, #fff2af 100%);
  color: #160f09;
  box-shadow: 0 20px 50px rgba(255, 144, 65, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.28);
}

.btn-download {
  width: 100%;
  text-align: center;
}

/* Компактные кнопки источников загрузки */
.download-sources {
  display: grid;
  gap: 6px;
  grid-template-columns: 1fr;
}

.download-sources .btn {
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  box-shadow: 0 6px 18px rgba(255, 144, 65, 0.22);
}

.download-sources .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

@media (min-width: 520px) {
  .download-sources {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
}

.cta-download-heading {
  margin: 0 0 8px;
  color: #fff1d8;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cta-mirror-note {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(214, 167, 94, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(244, 239, 230, 0.82);
  font-size: 0.78rem;
  line-height: 1.4;
}

.cta-hint {
  margin: 10px 0 0;
  max-width: 52ch;
  color: rgba(244, 239, 230, 0.64);
  line-height: 1.42;
  font-size: 0.82rem;
}

.page-intro {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1100px) {
  .install-body {
    grid-template-columns: 1fr;
  }

  .req-panel {
    position: relative;
    top: auto;
  }
}

.hint-file {
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px dashed rgba(214, 167, 94, 0.28);
  color: rgba(246, 231, 205, 0.55);
  font-size: 0.78rem;
  line-height: 1.5;
  max-width: 72ch;
}
