/* ═══════════════════════════════════════════════════════════════════════════
       FOOTER
    ═══════════════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-0);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand {
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}
.footer-logo-mark {
  width: 26px;
  height: 26px;
  background: var(--red);
  border-radius: 6px;
  flex-shrink: 0;
}
.footer-logo-text {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.footer-desc {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.65;
  margin-bottom: 22px;
  max-width: 230px;
}
.footer-socials {
  display: flex;
  gap: 8px;
}
.social-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: var(--bg-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s;
  cursor: pointer;
  color: var(--text-3);
}
.social-btn:hover {
  border-color: var(--border-hover);
  color: var(--text-2);
  background: var(--bg-3);
}
.footer-col-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-3);
  transition: color 0.18s;
}
.footer-links a:hover {
  color: var(--text-2);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-copy {
  font-size: 12px;
  color: var(--text-3);
}
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 12px;
  color: var(--text-3);
  transition: color 0.18s;
}
.footer-bottom-links a:hover {
  color: var(--text-2);
}
/* ─── Internal links ──────────────────────────────────────────────────── */
.links-section h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.links-groups {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.links-group h3 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-3);
  margin-bottom: 10px;
}
.links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.links-list a {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-2);
  transition: all 0.15s;
}
.links-list a:hover {
  border-color: var(--border-md);
  color: var(--text-1);
  background: var(--bg-3);
}
.links-list span.links-track {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-2);
}

.custom-select-wrapper {
  position: relative;
  display: inline-block;
  width: 150px; /* ширина формы */
}

.custom-select {
  width: 100%;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 500;
  color: #fff; /* белый текст */
  background-color: #1f1f25; /* тёмный фон */
  border: 1px solid #444;
  border-radius: 6px;
  appearance: none; /* убираем стандартную стрелку */
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

/* стрелка */
.custom-select-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  width: 0;
  height: 0;
  pointer-events: none;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #fff; /* белая стрелка */
  transform: translateY(-50%);
}

/* опции (фокус при открытии) */
.custom-select option {
  background-color: #1f1f25;
  color: #fff;
}

/* ─── Breadcrumb ──────────────────────────────────────────────────────── */
.breadcrumb-bar {
  padding: 12px 0 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-3);
}
.breadcrumb a {
  color: var(--text-3);
  transition: color 0.15s;
}
.breadcrumb a:hover {
  color: var(--text-2);
}
.breadcrumb-sep {
  color: var(--text-3);
  font-size: 10px;
}
.breadcrumb span:last-child {
  color: var(--text-2);
}
