/* Палитра и общие компоненты */
:root {
  --bg: #141514;
  --panel: #1c1d1b;
  --gold: #d4bd80;
  --text: #f1eee5;
  --muted: #aaa99f;
  --line: #37382f;
  --radius: 16px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.65 Arial,
    Helvetica,
    sans-serif;
}
button,
select,
input,
textarea {
  font: inherit;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}
::selection {
  background: var(--gold);
  color: var(--bg);
}
.wrap {
  width: min(1240px, calc(100% - 64px));
  margin: auto;
}
.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: var(--gold);
}
.muted {
  color: var(--muted);
}
.arrow {
  font-size: 22px;
  line-height: 1;
}
.btn {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  padding: 14px 23px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  background: var(--gold);
  color: #191b15;
  font-weight: 700;
  font-size: 16px;
  transition: 0.2s;
}
.btn:hover {
  background: #e7d59f;
  transform: translateY(-2px);
}
.btn.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn.secondary:hover {
  border-color: var(--gold);
}
/* Навигация */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #141514f2;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}
.mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  color: var(--gold);
}
.mark span {
  transform: rotate(-45deg);
  font-size: 16px;
}
.brand-text {
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 2px;
  font-weight: 700;
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: #c9c9bf;
}
nav > a:hover,
nav summary:hover {
  color: var(--gold);
}
.more {
  position: relative;
}
summary {
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
.more summary::after {
  content: "⌄";
  margin-left: 8px;
}
.dropdown {
  position: absolute;
  top: 35px;
  right: 0;
  width: 250px;
  padding: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 60px #0006;
}
.dropdown a {
  display: block;
  padding: 10px;
  border-radius: 4px;
}
.dropdown a:hover {
  background: #ffffff0b;
  color: var(--gold);
}
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: none;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 5px;
}
/* Первый экран */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  min-height: 650px;
  gap: 26px;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 60px 0;
}
.hero h1 {
  font-size: clamp(45px, 5.3vw, 72px);
  line-height: 1.06;
  letter-spacing: -3px;
  font-weight: 500;
  margin: 27px 0;
}
.hero h1 span {
  display: block;
  color: var(--gold);
}
.hero p {
  max-width: 430px;
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 30px;
}
.hero-art {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}
.hero-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg), transparent 22%),
    linear-gradient(0deg, var(--bg), transparent 22%);
  pointer-events: none;
}
.hero-art img {
  width: 100%;
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
}
.hero-bottom {
  display: flex;
  gap: 24px;
  margin-top: 45px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.5px;
}
.hero-bottom span:before {
  content: "◇";
  color: var(--gold);
  margin-right: 8px;
}
.section {
  padding: 84px 0;
  border-bottom: 1px solid var(--line);
}
.section-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 32px;
}
h2 {
  font-size: clamp(30px, 3.5vw, 43px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -1.2px;
  margin: 12px 0 0;
}
h3 {
  font-size: 21px;
  line-height: 1.35;
  font-weight: 500;
  margin: 0 0 12px;
}
.section-top p {
  max-width: 360px;
  font-size: 16px;
  color: var(--muted);
  margin: 0;
}
.index {
  color: #76766c;
  font-size: 14px;
  letter-spacing: 2px;
}
/* Каталог: демонстрационные данные заменяются в атрибутах карточек */
.filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}
.filter {
  display: flex;
  gap: 16px;
  align-items: center;
  border: 1px solid #57533f;
  background: #20211d;
  padding: 16px 22px;
  border-radius: 8px;
  color: var(--gold);
}
.filter > span {
  font-size: 22px;
}
.filter select {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  outline-offset: 8px;
  cursor: pointer;
  font-size: 15px;
  color-scheme: dark;
  min-height: 32px;
}
.filter select:disabled {
  opacity: 0.45;
}
.catalog-meta {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}
.text-button {
  border: 0;
  padding: 0;
  background: none;
  color: var(--gold);
  font-size: 14px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: #8b7c53;
}
.media {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 70%, #5b51312e, transparent 65%), #20211e;
  display: grid;
  place-items: center;
}
.media img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.media img.failed {
  display: none;
}
.placeholder {
  display: grid;
  place-items: center;
  width: 48%;
  aspect-ratio: 1;
  border: 1px solid #776c424d;
  transform: rotate(45deg);
  box-shadow:
    0 0 0 22px #bba66d05,
    0 0 0 45px #bba66d04;
}
.placeholder span {
  transform: rotate(-45deg);
  font-size: 58px;
  color: #a69562;
  font-weight: 100;
}
.badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  border: 1px solid #77725a;
  background: #1b1c18df;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--gold);
}
.media-note {
  position: absolute;
  bottom: 20px;
  font-size: 14px;
  letter-spacing: 2px;
  color: #989587;
}
.card-body {
  padding: 24px;
}
.card-body p {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 24px;
}
.buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 17px 0 0;
  background: transparent;
  color: var(--gold);
  font-size: 16px;
}
.empty {
  padding: 35px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  text-align: center;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
/* Информационные разделы */
.review-box {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 25px;
}
.quote {
  font-family: Georgia, serif;
  font-size: 88px;
  color: var(--gold);
  line-height: 1;
}
.review-box p {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 620px;
  font-size: 16px;
}
.tag {
  font-size: 14px;
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 20px;
  color: var(--muted);
  white-space: nowrap;
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}
.faq-intro p {
  color: var(--muted);
  max-width: 300px;
  font-size: 16px;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child {
  border-top: 1px solid var(--line);
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 0;
  font-size: 16px;
}
.faq-item summary:after {
  content: "+";
  color: var(--gold);
  font-size: 22px;
}
.faq-item[open] summary:after {
  content: "−";
}
.faq-item p {
  margin: 0 30px 23px 0;
  color: var(--muted);
  font-size: 16px;
}
.cooperate {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 48px;
  border: 1px solid #5c5339;
  border-radius: var(--radius);
  background: radial-gradient(ellipse at top right, #b7a16814, transparent 75%);
}
.cooperate p {
  color: var(--muted);
  font-size: 16px;
}
.opportunity {
  padding: 0 0 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.opportunity:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}
.opportunity h3 {
  font-size: 18px;
}
.calculator {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.calculator p {
  color: var(--muted);
  font-size: 16px;
}
.calc-icon {
  font-size: 32px;
  border: 1px solid var(--line);
  padding: 20px 30px;
  border-radius: 12px;
  color: var(--gold);
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.info-grid article {
  scroll-margin-top: 120px;
}
.info-grid h3 {
  font-size: 18px;
}
.info-grid p {
  font-size: 15px;
  color: var(--muted);
}
footer {
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
footer p {
  font-size: 14px;
  color: var(--muted);
}
/* Диалоги: без сервера; заявки сохраняются только по действию посетителя */
dialog {
  width: min(520px, calc(100% - 32px));
  padding: 32px;
  border: 1px solid #6c6040;
  border-radius: 16px;
  background: var(--panel);
  color: var(--text);
  max-height: 90dvh;
  overflow: auto;
}
dialog::backdrop {
  background: #000b;
  backdrop-filter: blur(6px);
}
.close {
  float: right;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  padding: 0 5px;
}
dialog h2 {
  font-size: 27px;
  margin: 20px 0;
}
dialog p {
  font-size: 16px;
  color: var(--muted);
}
label.field {
  display: block;
  font-size: 15px;
  margin: 18px 0;
}
input,
textarea,
.field select {
  display: block;
  width: 100%;
  margin-top: 7px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px;
  color: var(--text);
  color-scheme: dark;
}
textarea {
  resize: vertical;
  min-height: 90px;
}
.notice {
  font-size: 14px !important;
  color: var(--gold) !important;
}
@media (min-width: 1400px) {
  .hero-grid {
    min-height: 710px;
  }
}
@media (max-width: 1100px) {
  nav {
    gap: 13px;
    font-size: 14px;
  }
  .brand-text {
    font-size: 14px;
  }
  .wrap {
    width: calc(100% - 48px);
  }
}
@media (max-width: 900px) {
  .header-inner {
    min-height: 74px;
  }
  .menu-toggle {
    display: block;
  }
  nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    padding: 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    align-items: stretch;
  }
  nav.open {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .dropdown {
    position: static;
    margin-top: 12px;
    width: 100%;
    box-shadow: none;
  }
  .hero-grid {
    min-height: 560px;
    gap: 0;
  }
  .hero h1 {
    font-size: 49px;
  }
  .hero-bottom {
    flex-direction: column;
    gap: 6px;
  }
  .faq-grid {
    gap: 35px;
  }
  .cooperate {
    padding: 32px;
    gap: 30px;
  }
  .info-grid {
    gap: 20px;
  }
}
@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
  }
  .hero-copy {
    padding: 42px 0 18px;
    width: 100%;
  }
  .hero h1 {
    font-size: 49px;
    letter-spacing: -2px;
    margin: 20px 0;
  }
  .hero p {
    font-size: 16px;
  }
  .hero-bottom {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
  }
  .hero-art {
    width: 100%;
    max-width: 400px;
    margin: auto;
  }
  .hero-art img {
    max-height: 350px;
  }
  .hero-art:after {
    background:
      linear-gradient(0deg, var(--bg), transparent 25%),
      linear-gradient(180deg, var(--bg), transparent 18%);
  }
  .section {
    padding: 52px 0;
  }
  .section-top {
    display: block;
  }
  .section-top p {
    margin-top: 16px;
  }
  .filters {
    grid-template-columns: 1fr;
  }
  .filter {
    padding: 12px 16px;
  }
  .catalog-meta {
    font-size: 14px;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .card-body {
    padding: 22px;
  }
  .review-box {
    grid-template-columns: 40px 1fr;
    gap: 15px;
  }
  .review-box .tag {
    grid-column: 2;
    justify-self: start;
  }
  .quote {
    font-size: 65px;
  }
  .faq-grid,
  .cooperate,
  .info-grid {
    grid-template-columns: 1fr;
  }
  .cooperate {
    padding: 25px;
  }
  .calculator {
    align-items: start;
  }
  .calc-icon {
    display: none;
  }
  .calculator .tag {
    white-space: normal;
    text-align: center;
  }
  .footer-inner {
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }
  .info-grid {
    gap: 30px;
  }
  .btn {
    padding: 13px 20px;
  }
  .section-top h2 {
    font-size: 33px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* Обновлённая шапка: крупная навигация и отдельные действия аккаунта. */
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  padding-top: 20px;
}
.auth-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.auth-actions .btn {
  padding: 10px 22px;
  min-height: 44px;
}
nav {
  grid-column: 1/-1;
  justify-content: space-between;
  gap: 22px;
  font-size: 16px;
  padding: 20px 0 16px;
}
.brand-text {
  font-size: 14px;
}
.dropdown {
  top: 38px;
  width: 300px;
}
html {
  scroll-padding-top: 170px;
}
.info-grid article {
  scroll-margin-top: 180px;
}
/* Редактируйте текст объявления в секции administration. */
.announcement {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: 42px 0;
}
.announcement-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  z-index: -2;
}
.announcement:before {
  content: "";
  position: absolute;
  inset: 0;
  background: #10121073;
  z-index: -1;
}
.announcement-panel {
  max-width: 740px;
  padding: 26px 32px;
  background: #121411eb;
  border: 1px solid #8c794b80;
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  box-shadow: 0 12px 45px #0003;
}
.announcement-panel h2 {
  font-size: 28px;
  letter-spacing: -0.5px;
  margin: 10px 0;
}
.announcement-panel p {
  font-size: 16px;
  line-height: 1.65;
  color: #d0cec5;
  margin: 0;
}
.eyebrow {
  letter-spacing: 2px;
}
.media-note {
  letter-spacing: 1px;
}
.index {
  color: #aaa99f;
}
@media (max-width: 900px) {
  .header-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 16px 0;
    min-height: 90px;
  }
  .brand {
    margin-right: auto;
  }
  .auth-actions {
    margin-left: auto;
  }
  .menu-toggle {
    display: block;
  }
  nav {
    position: static;
    flex-basis: 100%;
    padding: 20px 0 4px;
    border-top: 1px solid var(--line);
    border-bottom: 0;
    font-size: 16px;
  }
  nav.open {
    display: flex;
  }
  .dropdown {
    width: 100%;
  }
  .header-inner:has(nav.open) {
    max-height: 85dvh;
    overflow: auto;
  }
  html {
    scroll-padding-top: 120px;
  }
}
@media (max-width: 640px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding: 16px 0;
  }
  .brand {
    margin: 0;
  }
  .brand-text {
    font-size: 14px;
    letter-spacing: 1.5px;
  }
  .mark {
    width: 30px;
    height: 30px;
  }
  .menu-toggle {
    grid-row: 1;
    grid-column: 2;
    min-height: 44px;
  }
  .auth-actions {
    grid-row: 2;
    grid-column: 1/-1;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .auth-actions .btn {
    font-size: 16px;
    padding: 9px 12px;
  }
  nav {
    grid-row: 3;
    grid-column: 1/-1;
    min-width: 0;
  }
  .announcement {
    padding: 25px 0;
  }
  .announcement-panel {
    padding: 22px;
  }
  .announcement-panel h2 {
    font-size: 25px;
  }
  .announcement-panel p {
    font-size: 16px;
  }
  .announcement .eyebrow {
    font-size: 14px;
    letter-spacing: 1px;
  }
  .catalog-meta {
    font-size: 14px;
    flex-wrap: wrap;
  }
  .hero-bottom {
    font-size: 14px;
  }
  html {
    scroll-padding-top: 180px;
  }
  .info-grid article {
    scroll-margin-top: 180px;
  }
}

/* Более свободная шапка и подсветка всей области навигации. */
.header-inner {
  padding-top: 24px;
  row-gap: 22px;
}
.brand {
  gap: 20px;
}
.brand-text {
  letter-spacing: 2px;
  line-height: 1.6;
}
.auth-actions {
  gap: 16px;
}
.auth-actions .btn {
  padding: 12px 26px;
}
nav {
  padding: 12px 0 16px;
  border-top: 1px solid var(--line);
  gap: 8px;
  align-items: stretch;
}
nav > a,
.more > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  transition:
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
  color: #deddd3;
  min-height: 48px;
}
nav > a:hover,
nav > a:focus-visible,
.more > summary:hover,
.more[open] > summary {
  background: #d4bd8026;
  border-color: #d4bd805c;
  box-shadow: 0 0 22px #d4bd8010;
  color: #f4e1a7;
}
nav > a.career-nav {
  color: var(--gold);
  background: #d4bd800a;
}
.more {
  margin-left: auto;
}
.more > summary:after {
  margin: 0;
}
.dropdown {
  top: 58px;
}
html {
  scroll-padding-top: 195px;
}
.info-grid article {
  scroll-margin-top: 195px;
}
/* Фирменный баннер целиком: высота следует за пропорциями изображения. */
.announcement {
  padding: 0;
  background: #171918;
  isolation: auto;
  overflow: visible;
}
.announcement-bg {
  position: static;
  display: block;
  width: min(100%, 1240px);
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  z-index: auto;
}
.announcement:before {
  display: none;
}
.announcement > .wrap {
  padding: 24px 0;
}
.announcement-panel {
  max-width: none;
  background: #10120f;
  border-radius: 12px;
  padding: 26px 32px;
}
.hero-grid {
  grid-template-columns: 1.1fr 1fr;
  min-height: 0;
  gap: 80px;
  padding: 64px 0;
}
.hero-copy {
  padding: 0;
}
.hero h1 {
  font-size: clamp(42px, 4.5vw, 64px);
}
.hero-bottom {
  margin-top: 25px;
}
.career-teaser {
  padding: 36px;
  border: 1px solid #655a3c;
  border-radius: 16px;
  background: linear-gradient(135deg, #d4bd8010, transparent);
}
.career-teaser h2 {
  font-size: 34px;
}
.career-teaser p {
  margin: 20px 0 26px;
}
.editorial {
  color: #b9b7a8;
  font-size: 16px;
  line-height: 1.65;
}
.sales-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 22px 26px;
  margin-bottom: 45px;
  border-block: 1px solid #635a40;
  background: linear-gradient(90deg, transparent, #d4bd800e, transparent);
  font-size: 20px;
}
.sales-counter strong {
  color: var(--gold);
  font-size: 36px;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.sales-icon {
  color: var(--gold);
  font-size: 20px;
  border: 1px solid #635a40;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  text-align: center;
  line-height: 30px;
}
.hr-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 42px 0 52px;
}
.hr-benefits article {
  border-top: 1px solid #645a3e;
  padding-top: 24px;
}
.hr-benefits h3 {
  margin-top: 15px;
}
.hr-benefits p {
  margin-bottom: 0;
}
.jobs-heading {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.jobs-heading h3 {
  margin: 0;
  font-size: 28px;
}
.jobs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.job-card {
  padding: 32px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: start;
}
.job-card h3 {
  font-size: 26px;
  margin: 16px 0 0;
}
.job-card .btn {
  margin-top: auto;
}
.job-card p {
  font-size: 16px;
}
.job-details {
  width: 100%;
  margin: 8px 0 26px;
  border-block: 1px solid var(--line);
}
.job-details summary {
  display: flex;
  justify-content: space-between;
  padding: 17px 0;
  color: var(--gold);
  gap: 20px;
}
.job-details h4 {
  margin-bottom: 0;
}
.job-details p {
  margin-top: 8px;
}
.hiring {
  margin-top: 50px;
}
.hiring > h3 {
  font-size: 28px;
}
.hiring-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}
.hiring-steps li {
  counter-increment: steps;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.hiring-steps li:before {
  content: "0" counter(steps);
  color: var(--gold);
  font-size: 22px;
}
.hiring-steps h4 {
  font-size: 19px;
  margin: 12px 0 0;
  font-weight: 500;
}
.hiring-steps p {
  margin-top: 10px;
}
.hr-contact,
.partner-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 32px;
  border: 1px solid #635a40;
  border-radius: 12px;
  margin: 36px 0;
}
.hr-contact h3 {
  margin-top: 12px;
}
.hr-contact p,
.partner-strip p {
  margin-bottom: 0;
  max-width: 650px;
}
.hr-contact .btn,
.partner-strip .btn {
  flex-shrink: 0;
}
.partner-strip {
  border-color: var(--line);
  margin-bottom: 0;
}
.candidate-faq p {
  font-size: 16px;
}
@media (max-width: 1100px) {
  nav > a,
  .more > summary {
    padding: 12px 10px;
    font-size: 15px;
  }
  .hero-grid {
    gap: 36px;
  }
  .career-teaser {
    padding: 28px;
  }
}
@media (max-width: 900px) {
  .header-inner {
    padding: 20px 0;
    gap: 18px;
  }
  nav {
    padding: 16px 0 0;
  }
  nav > a,
  .more > summary {
    justify-content: flex-start;
    padding: 13px 16px;
    font-size: 16px;
  }
  .more {
    margin: 0;
  }
  .hero-grid {
    gap: 28px;
  }
  .career-teaser h2 {
    font-size: 29px;
  }
  .hr-contact,
  .partner-strip {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }
  .hr-benefits {
    gap: 20px;
  }
  .hiring-steps {
    gap: 24px;
  }
}
@media (max-width: 640px) {
  .header-inner {
    gap: 18px;
    padding: 18px 0;
  }
  .brand {
    gap: 15px;
  }
  .brand-text {
    font-size: 14px;
    letter-spacing: 1.5px;
  }
  .auth-actions {
    gap: 12px;
  }
  .auth-actions .btn {
    padding: 10px 12px;
  }
  .hero-grid {
    padding: 42px 0;
    gap: 30px;
  }
  .hero-copy {
    padding: 0;
  }
  .career-teaser {
    padding: 26px;
    width: 100%;
  }
  .career-teaser h2 {
    font-size: 30px;
  }
  .announcement > .wrap {
    padding: 18px 0;
  }
  .announcement-panel {
    padding: 22px;
  }
  .sales-counter {
    font-size: 18px;
    gap: 10px;
    padding: 18px 10px;
    margin-bottom: 32px;
  }
  .sales-counter strong {
    font-size: 32px;
  }
  .jobs-grid,
  .hr-benefits,
  .hiring-steps {
    grid-template-columns: 1fr;
  }
  .hr-benefits {
    gap: 25px;
    margin: 30px 0 40px;
  }
  .jobs-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
  .job-card {
    padding: 24px;
  }
  .job-card h3 {
    font-size: 24px;
  }
  .hiring-steps {
    gap: 20px;
  }
  .hr-contact,
  .partner-strip {
    padding: 24px;
  }
  .hr-contact .btn,
  .partner-strip .btn {
    max-width: 100%;
    white-space: normal;
  }
  .hero h1 {
    font-size: 48px;
  }
  .sales-icon {
    display: none;
  }
}

/* Компактный баннер: видна рамка с названием вместо всей композиции. */
.announcement-image-frame {
  width: min(100%, 1240px);
  aspect-ratio: 2048/368;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
}
.announcement-image-frame .announcement-bg {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 30.2%;
  margin: 0;
}

/* Фирменные логотипы, единые размеры кнопок и векторные стрелки. */
.brand-logo {
  display: block;
  position: relative;
  width: 56px;
  height: 64px;
  overflow: hidden;
  border-radius: 8px;
  flex-shrink: 0;
  background: #121311;
}
.brand-logo img {
  position: absolute;
  width: 112px;
  height: 112px;
  max-width: none;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}
.brand {
  gap: 16px;
}
.auth-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(146px, 1fr));
  gap: 14px;
}
.auth-actions .btn {
  height: 50px;
  width: 100%;
  padding: 10px 20px;
  white-space: nowrap;
}
.btn {
  gap: 10px;
}
.action-icon {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  vertical-align: middle;
}
.career-nav {
  gap: 8px;
}
.career-nav .action-icon {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}
.buy {
  justify-content: flex-start;
  gap: 10px;
}
.text-button .action-icon {
  width: 17px;
  height: 17px;
  margin-left: 5px;
  vertical-align: -3px;
}
.more > summary {
  gap: 9px;
  align-items: center;
  line-height: 1.4;
}
.more > summary:after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  margin: 0 0 0 2px;
  transition: transform 0.2s;
}
.more[open] > summary:after {
  transform: translateY(2px) rotate(225deg);
}
#catalog .section-top {
  align-items: flex-start;
}
#catalog .section-top > p {
  max-width: 430px;
  line-height: 1.65;
  text-wrap: pretty;
  margin-top: 30px;
}
.inline-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hr-benefits p,
.hr-contact p {
  color: var(--muted);
  font-size: 16px;
}
.hr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}
.hr-contact {
  gap: 26px;
}
.hr-contact > div:first-child {
  max-width: 560px;
}
@media (max-width: 1100px) {
  .hr-contact {
    flex-direction: column;
    align-items: flex-start;
  }
  .hr-actions {
    width: 100%;
  }
}
@media (max-width: 640px) {
  .brand-logo {
    width: 40px;
    height: 48px;
  }
  .brand-logo img {
    width: 84px;
    height: 84px;
  }
  .brand {
    gap: 10px;
  }
  .brand-text {
    font-size: 12px;
    letter-spacing: 1px;
  }
  .auth-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
  .auth-actions .btn {
    height: 48px;
    padding: 10px;
  }
  .hr-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hr-actions .btn {
    width: 100%;
    min-width: 0;
  }
  #catalog .section-top > p {
    margin-top: 16px;
    max-width: 100%;
  }
}

/* Мобильная шапка прокручивается со страницей; открытое меню занимает экран. */
@media (max-width: 900px) {
  html {
    scroll-padding-top: 20px;
  }
  .info-grid article {
    scroll-margin-top: 20px;
  }
  header {
    position: relative;
    top: auto;
    backdrop-filter: none;
  }
  .header-inner:has(nav.open) {
    max-height: none;
    overflow: visible;
  }
  body.menu-open {
    position: fixed;
    width: 100%;
    overflow: hidden;
  }
  body.menu-open header {
    position: fixed;
    inset: 0;
    z-index: 100;
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--bg);
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
  }
  body.menu-open .header-inner {
    align-content: start;
  }
  body.menu-open nav.open {
    position: static;
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    padding: 20px 0 28px;
    margin: 0;
  }
  body.menu-open nav > a,
  body.menu-open .more > summary {
    justify-content: flex-start;
    min-height: 54px;
    font-size: 18px;
  }
  body.menu-open .more {
    margin: 0;
    width: 100%;
  }
  body.menu-open .dropdown {
    position: static;
    width: 100%;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .menu-toggle svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }
}

/* Версия для привлечения кандидатов. */
.recruitment-hero h1 {
  font-size: clamp(38px, 5.5vw, 70px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -2px;
  margin: 22px 0;
}
.recruitment-hero h1 span {
  color: var(--gold);
}
.recruitment-lead {
  font-size: 20px;
  color: var(--muted);
  max-width: 650px;
}
.calculator-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 36px;
  border: 1px solid #635a40;
  border-radius: 16px;
  margin-top: 36px;
  background: linear-gradient(135deg, #d4bd8010, transparent);
}
.calculator-preview p {
  max-width: 650px;
}
.calculator-preview .btn {
  margin-top: 14px;
}
.demo-reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.demo-review {
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.demo-review h3 {
  margin-top: 24px;
}
.demo-review p {
  color: var(--muted);
}
.demo-review .tag {
  white-space: normal;
  display: inline-block;
}
.review-disclaimer {
  color: var(--gold);
  margin: 0 0 28px;
  max-width: 750px;
}
.info-grid {
  grid-template-columns: 1fr 1fr;
}
#hr-contact .hr-contact {
  margin: 0;
}
nav {
  justify-content: flex-start;
}
nav .more {
  margin-left: auto;
}
@media (max-width: 900px) {
  .header-inner {
    justify-content: space-between;
  }
  .menu-toggle {
    margin-left: auto;
  }
  body.menu-open .more {
    margin-left: 0;
  }
  .demo-reviews {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  nav {
    grid-row: 2;
  }
  .calculator-preview {
    padding: 24px;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
  .recruitment-hero h1 {
    letter-spacing: -1px;
  }
}

/* Калькулятор встроен в страницу; адрес можно заменить в src iframe. */
.calculator-embed {
  width: 100%;
  max-width: 920px;
  margin: 32px auto 0;
  border: 1px solid #635a40;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg);
}
#calculator-frame {
  display: block;
  width: 100%;
  height: 1100px;
  border: 0;
  background: var(--bg);
  overflow: hidden;
}
.calculator-help {
  max-width: 920px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 14px;
}
.calculator-help a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 640px) {
  .calculator-embed {
    margin-top: 24px;
    border-radius: 12px;
  }
  #calculator-frame {
    height: 1900px;
  }
}
