/* Сверхлегкие стили для слабого интернета */

:root {
  --bg: #0b0f14;
  --card: #111826;
  --text: #e9edf3;
  --muted: #a9b3c2;
  --gold: #d9b86a;
  --gold-2: #f3d38a;
  --stroke: rgba(217, 184, 106, 0.35);
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial,
    sans-serif;
  background: radial-gradient(800px 400px at 20% 0%, rgba(217, 184, 106, 0.14), transparent 60%),
    var(--bg);
  color: var(--text);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: #000;
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 999;
}
.skip-link:focus {
  left: 12px;
}

.top {
  padding: 26px 16px 8px;
}

.mobile-wa-top {
  display: none;
}

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-start;
}

.brand-mark {
  width: 84px;
  height: 34px;
  color: var(--gold-2);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-weight: 900;
  letter-spacing: 0.4px;
  font-size: 26px;
}

.brand-sub {
  color: var(--gold);
  font-weight: 700;
  font-size: 13px;
}

.top-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero {
  padding: 18px 0 10px;
}

.hero-title {
  margin: 6px 0 10px;
  font-size: 34px;
  letter-spacing: -0.4px;
}

.hero-lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  max-width: 52ch;
}

.cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px 0 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 14px;
  padding: 16px 18px;
  font-weight: 900;
  letter-spacing: 0.2px;
  border: 1px solid var(--stroke);
}

.btn-primary {
  background: linear-gradient(180deg, rgba(217, 184, 106, 0.98), rgba(185, 143, 66, 0.98));
  color: #111;
  box-shadow: var(--shadow);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-wide {
  width: 100%;
}

.cta-hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.vacancies {
  padding-top: 10px;
}

.vacancy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tile {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(217, 184, 106, 0.26);
  background: rgba(17, 24, 38, 0.9);
  aspect-ratio: 1 / 1;
}

.tile-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.82);
  transform: scale(1.02);
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 15, 20, 0.00) 0%,
    rgba(11, 15, 20, 0.25) 48%,
    rgba(11, 15, 20, 0.92) 100%
  );
  pointer-events: none;
}

.tile-content {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 14px;
  padding: 12px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.86) 35%,
    rgba(0, 0, 0, 0.94) 100%
  );
  border: 1px solid rgba(243, 211, 138, 0.65);
  border-radius: 14px;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(217, 184, 106, 0.12);
}

.tile-role {
  font-weight: 900;
  font-size: 17px;
  line-height: 1.1;
  color: #111;
  background: linear-gradient(
    180deg,
    rgba(217, 184, 106, 0.98),
    rgba(185, 143, 66, 0.98)
  );
  border: 1px solid rgba(243, 211, 138, 0.55);
  border-radius: 12px;
  padding: 7px 10px;
  display: block;
  text-align: center;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(217, 184, 106, 0.12);
  text-shadow: none;
  -webkit-text-stroke: 0;
}

.tile-salary {
  font-weight: 1000;
  font-size: 24px;
  letter-spacing: -0.35px;
  color: #111;
  background: linear-gradient(
    180deg,
    rgba(217, 184, 106, 0.98),
    rgba(185, 143, 66, 0.98)
  );
  border: 1px solid rgba(243, 211, 138, 0.55);
  border-radius: 12px;
  padding: 8px 12px;
  display: block;
  text-align: center;
  white-space: nowrap;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(217, 184, 106, 0.12);
  text-shadow: none;
  -webkit-text-stroke: 0;
}

.section-title {
  margin: 18px 0 14px;
  font-size: 20px;
  color: var(--gold-2);
}

.card {
  background: rgba(17, 24, 38, 0.9);
  border: 1px solid rgba(217, 184, 106, 0.26);
  border-radius: 16px;
  padding: 14px 14px 16px;
  margin: 12px 0;
}

.card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.card-role {
  font-weight: 900;
  font-size: 16px;
}

.card-salary {
  font-weight: 1000;
  font-size: 16px;
  color: var(--gold-2);
  white-space: nowrap;
}

.card-desc {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.footer-cta {
  padding: 14px 0 6px;
}

.muted {
  margin: 0 0 12px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid rgba(217, 184, 106, 0.2);
  padding: 16px;
}

.legal {
  max-width: 980px;
  margin: 0 auto;
}

.legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

.legal-links a {
  color: var(--gold-2);
  text-decoration: none;
}

.legal-sep {
  opacity: 0.8;
}

.legal-text {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.35;
}

.legal-note {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 6px;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.dot {
  opacity: 0.8;
}

@media (max-width: 420px) {
  body {
    height: auto;
    overflow-y: auto;
  }

  .top {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 30;
    padding: 12px 14px 8px;
    background: rgba(11, 15, 20, 0.92);
  }

  .wrap {
    height: auto;
    overflow: visible;
    padding: 112px 14px 74px; /* место под фиксированную шапку и нижнюю кнопку */
  }

  .mobile-wa-top {
    display: none;
  }

  .mobile-wa-top .btn {
    width: 100%;
  }

  .hero .cta {
    display: flex;
  }

  .hero-title {
    font-size: 26px;
    margin: 6px 0 6px;
  }

  .hero-lead {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .section-title {
    margin: 12px 0 8px;
    font-size: 18px;
  }

  .vacancies {
    padding-top: 6px;
  }

  .vacancy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .tile {
    aspect-ratio: 3 / 2;
    border-radius: 14px;
  }

  .tile-img {
    height: 100%;
  }

  .tile-content {
    left: 10px;
    right: 10px;
    bottom: 8px;
    padding: 8px 10px 8px;
    gap: 4px;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .tile-role {
    font-size: 13px;
    padding: 5px 8px;
    border-radius: 10px;
    box-shadow: none;
  }

  .tile-salary {
    font-size: 18px;
    padding: 6px 10px;
    border-radius: 10px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
  }

  .btn {
    padding: 14px 14px;
    border-radius: 12px;
  }

  .cta-hint {
    font-size: 12px;
  }

  .footer-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 14px 12px;
    background: linear-gradient(
      180deg,
      rgba(11, 15, 20, 0) 0%,
      rgba(11, 15, 20, 0.72) 22%,
      rgba(11, 15, 20, 0.95) 100%
    );
    z-index: 20;
  }

  .footer-cta .section-title {
    display: none;
  }

  .footer-cta .muted {
    display: none;
  }

  .footer-cta .btn {
    padding: 16px 12px;
    border-radius: 14px;
  }

  .site-footer {
    display: none;
  }

  .brand-name {
    font-size: 22px;
  }
}

@media (max-width: 330px) {
  .vacancy-grid {
    grid-template-columns: 1fr;
  }
}

