/* ╔═══════════════════════════════════════════════╗
   ║  ZaichenkoTeam — Vacancy Detail Page          ║
   ║  Vanilla CSS with shared design tokens        ║
   ╚═══════════════════════════════════════════════╝ */

/* ── DESIGN TOKENS (shared with homepage) ── */
:root {
  --bg: #f5f6fa;
  --bg-card: #ffffff;
  --fg: #111827;
  --fg-muted: #6b7280;
  --fg-light: #9ca3af;
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --primary-dark: #1d4ed8;
  --primary-fg: #ffffff;
  --success: #16a34a;
  --warning: #f59e0b;
  --info: #0ea5e9;
  --destructive: #ef4444;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 14px rgba(37,99,235,0.12);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.08);
  --shadow-primary: 0 4px 14px rgba(37,99,235,0.25);
  --shadow-primary-hover: 0 8px 25px rgba(37,99,235,0.35);
  --radius: 1rem;
  --radius-sm: 0.75rem;
  --radius-full: 9999px;
  --font-heading: 'Montserrat', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--fg); background: var(--bg); line-height: 1.6; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); line-height: 1.15; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ═══════════════════════════════════
   HEADER (shared — copy from homepage)
   ═══════════════════════════════════ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245,246,250,0.85);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; }
.logo-svg { height: 22px; width: auto; max-width: 160px; color: var(--fg); }
.nav-desktop { display: flex; gap: 2rem; }
.nav-link { font-size: 0.875rem; font-weight: 500; color: var(--fg-muted); transition: color 0.2s; }
.nav-link:hover { color: var(--fg); }
.nav-right { display: flex; align-items: center; gap: 0.75rem; }
.lang-switch { display: inline-flex; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-full); padding: 2px; }
.lang-btn { padding: 0.3rem 0.7rem; font-family: var(--font-heading); font-size: 0.7rem; font-weight: 700; color: var(--fg-light); background: transparent; border: none; border-radius: var(--radius-full); cursor: pointer; }
.lang-btn.active { background: var(--primary); color: var(--primary-fg); }
/* Burger — прихований на desktop, видимий на mobile */
.mobile-toggle {
  display: none;
  background: none; border: none;
  cursor: pointer; color: var(--fg);
  padding: 0.5rem;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu { display: none; overflow: hidden; max-height: 0; transition: max-height 0.3s var(--ease); }
.mobile-menu.open { max-height: 420px; }
.mobile-nav { display: flex; flex-direction: column; gap: 1rem; padding: 1rem 1.5rem 1.5rem; border-top: 1px solid var(--border); }
.mobile-link { font-size: 0.875rem; font-weight: 500; color: var(--fg-muted); }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem;
  border-radius: var(--radius-full); padding: 0.625rem 1.5rem;
  border: none; cursor: pointer; transition: all 0.3s var(--ease);
  text-decoration: none; white-space: nowrap;
}
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.8125rem; }
.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; }
.btn-primary { background: var(--primary); color: var(--primary-fg); box-shadow: var(--shadow-primary); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: var(--shadow-primary-hover); transform: translateY(-2px); }

@media (max-width: 768px) {
  .nav-desktop, .nav-right { display: none; }
  .mobile-toggle { display: block; }
  .mobile-menu { display: block; }
  .header-inner { height: 56px; }
  .logo-svg { height: 17px; max-width: 120px; }
}

/* ═══════════════════════════════════
   BREADCRUMBS
   ═══════════════════════════════════ */
.breadcrumbs {
  padding: 1rem 0;
  font-size: 0.8125rem;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-card);
}
.breadcrumbs a { color: var(--fg-muted); transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--primary); }
.bc-sep { margin: 0 0.5rem; color: var(--fg-light); }
.bc-current { color: var(--fg); font-weight: 500; }

@media (max-width: 768px) {
  .breadcrumbs { font-size: 0.75rem; padding: 0.75rem 0; }
}

/* ═══════════════════════════════════
   VACANCY PAGE LAYOUT
   ═══════════════════════════════════ */
.vacancy-page { padding: 2.5rem 0 4rem; }

.vacancy-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .vacancy-layout { grid-template-columns: 1fr 300px; gap: 1.5rem; }
}
@media (max-width: 768px) {
  .vacancy-layout { grid-template-columns: 1fr; }
  .vacancy-page { padding: 1.5rem 0 3rem; }
}

/* ═══════════════════════════════════
   VACANCY HEADER
   ═══════════════════════════════════ */
.vacancy-header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.vacancy-badges {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem;
}

.badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.6875rem; font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}
.badge-hot { background: var(--destructive); color: white; }
.badge-new { background: rgba(22,163,74,0.1); color: var(--success); }
.badge-category { background: rgba(37,99,235,0.08); color: var(--primary); }
.badge-marketing { background: rgba(37,99,235,0.08); color: var(--primary); }
.badge-sales { background: rgba(22,163,74,0.08); color: var(--success); }
.badge-design { background: rgba(236,72,153,0.08); color: #ec4899; }
.badge-product { background: rgba(14,165,233,0.08); color: var(--info); }
.badge-hr { background: rgba(245,158,11,0.08); color: var(--warning); }

.vacancy-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1rem;
}

.vacancy-meta-row {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 0.5rem; margin-bottom: 1.25rem;
  font-size: 0.875rem; color: var(--fg-muted);
}
.vacancy-company {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; color: var(--fg);
  transition: color 0.2s;
}
.vacancy-company:hover { color: var(--primary); }
.company-avatar {
  width: 28px; height: 28px; border-radius: 7px;
  background: linear-gradient(135deg, #ff6b35, #f59e0b);
  color: white; font-family: var(--font-heading);
  font-weight: 800; font-size: 0.6875rem;
  display: flex; align-items: center; justify-content: center;
}
.vacancy-meta-item {
  display: inline-flex; align-items: center; gap: 0.375rem;
}
.vacancy-meta-item svg { color: var(--fg-light); flex-shrink: 0; }
.meta-sep { color: var(--border); }

.vacancy-salary-row {
  display: flex; align-items: baseline; gap: 0.375rem;
  margin-bottom: 1.25rem;
}
.vacancy-salary {
  font-family: var(--font-heading);
  font-size: 1.75rem; font-weight: 800;
  color: var(--fg); letter-spacing: -0.03em;
}
.salary-period { font-size: 0.875rem; color: var(--fg-muted); }

.vacancy-tags { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.tag {
  font-size: 0.75rem; font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--bg); border: 1px solid var(--border);
  color: var(--fg-muted);
  transition: all 0.2s;
}
.tag:hover { border-color: var(--primary); color: var(--primary); }

@media (max-width: 768px) {
  .vacancy-title { font-size: 1.5rem; }
  .vacancy-salary { font-size: 1.375rem; }
  .vacancy-meta-row { font-size: 0.8125rem; }
}

/* ═══════════════════════════════════
   VACANCY SECTIONS (description, requirements, etc)
   ═══════════════════════════════════ */
.vacancy-section {
  margin-bottom: 2rem;
}
.vacancy-section h2 {
  font-size: 1.125rem; font-weight: 700;
  color: var(--fg); margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}
.vacancy-section p {
  font-size: 0.9375rem; color: var(--fg-muted);
  line-height: 1.7; margin-bottom: 0.75rem;
}

.vacancy-list {
  display: flex; flex-direction: column; gap: 0.625rem;
  padding-left: 1.25rem;
}
.vacancy-list li {
  font-size: 0.9375rem; color: var(--fg-muted);
  line-height: 1.6; position: relative;
  padding-left: 0.75rem;
}
.vacancy-list li::before {
  content: '';
  position: absolute; left: -0.75rem; top: 0.6em;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--primary);
}

.vacancy-list-check li::before {
  content: '✓';
  width: auto; height: auto;
  background: none;
  color: var(--success);
  font-weight: 700; font-size: 0.8125rem;
  left: -1rem; top: 0.15em;
  border-radius: 0;
}

/* ═══════════════════════════════════
   SHARE
   ═══════════════════════════════════ */
.vacancy-share {
  display: flex; align-items: center; gap: 0.5rem;
  padding-top: 2rem; border-top: 1px solid var(--border);
  margin-top: 2rem;
}
.share-label { font-size: 0.8125rem; color: var(--fg-muted); font-weight: 500; }
.share-btn {
  font-size: 0.75rem; font-weight: 600;
  padding: 0.4rem 0.875rem;
  border-radius: var(--radius-full);
  background: var(--bg); border: 1px solid var(--border);
  color: var(--fg-muted); transition: all 0.2s;
}
.share-btn:hover { border-color: var(--primary); color: var(--primary); }

/* ═══════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════ */
.vacancy-sidebar {
  display: flex; flex-direction: column; gap: 1rem;
  position: sticky; top: 80px;
}

@media (max-width: 768px) {
  .vacancy-sidebar {
    position: static;
    order: -1;
  }
}

/* Apply CTA Card */
.sidebar-apply {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.btn-apply {
  width: 100%;
  justify-content: center;
  font-size: 1.0625rem;
  padding: 1rem 2rem;
  margin-bottom: 0.75rem;
}

.apply-hint {
  display: flex; align-items: center; justify-content: center;
  gap: 0.375rem;
  font-size: 0.75rem; color: var(--fg-muted);
  margin-bottom: 1rem;
}
.apply-hint svg { color: #27aeed; flex-shrink: 0; }

.apply-stats {
  display: flex; justify-content: center; gap: 1.5rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.75rem; color: var(--fg-muted);
}

/* Company Card */
.sidebar-company {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.sc-header {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 0.875rem;
}
.sc-logo {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, #ff6b35, #f59e0b);
  color: white; font-family: var(--font-heading);
  font-weight: 800; font-size: 0.875rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sc-name { font-size: 1rem; font-weight: 700; color: var(--fg); }
.sc-industry { font-size: 0.75rem; color: var(--fg-muted); }

.sc-desc {
  font-size: 0.8125rem; color: var(--fg-muted);
  line-height: 1.6; margin-bottom: 1rem;
}

.sc-stats {
  display: flex; gap: 1.5rem; margin-bottom: 1rem;
  padding-top: 0.875rem; border-top: 1px solid var(--border-light);
}
.sc-stat { text-align: center; }
.sc-stat-value {
  display: block; font-family: var(--font-heading);
  font-weight: 800; font-size: 1.25rem; color: var(--fg);
}
.sc-stat-label { font-size: 0.75rem; color: var(--fg-muted); }

.sc-link {
  display: block; text-align: center;
  font-family: var(--font-heading);
  font-size: 0.8125rem; font-weight: 600;
  color: var(--primary); transition: gap 0.2s;
}
.sc-link:hover { text-decoration: underline; }

/* ═══════════════════════════════════
   SIMILAR VACANCIES
   ═══════════════════════════════════ */
.similar-section {
  padding: 3rem 0 4rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
}
.section-title {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700; color: var(--fg);
  text-align: center; margin-bottom: 2rem;
}

.similar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) { .similar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .similar-grid { grid-template-columns: 1fr; } }

.job-card {
  padding: 1.5rem; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); transition: all 0.3s var(--ease);
  cursor: pointer;
}
.job-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(37,99,235,0.2); }

.job-title {
  font-size: 1rem; font-weight: 600; color: var(--fg);
  margin: 0.5rem 0 0.625rem; transition: color 0.2s;
}
.job-card:hover .job-title { color: var(--primary); }

.job-meta {
  display: flex; flex-direction: column; gap: 0.25rem;
  font-size: 0.8125rem; color: var(--fg-muted); margin-bottom: 1rem;
}
.job-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.875rem; border-top: 1px solid var(--border-light);
}
.job-salary { font-family: var(--font-heading); font-weight: 700; font-size: 0.875rem; color: var(--fg); }
.job-type {
  font-size: 0.75rem; font-weight: 500; color: var(--fg-muted);
  background: var(--bg-card); padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

/* ═══════════════════════════════════
   FOOTER (shared — matches homepage)
   ═══════════════════════════════════ */
.footer {
  background: linear-gradient(180deg, #eef2ff 0%, #f0f4ff 40%, #f5f6fa 100%);
  color: var(--fg); padding: 3.5rem 0 0;
  position: relative;
}
.footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,0.18), transparent);
}
.footer-logo { color: var(--fg); height: 18px; width: auto; max-width: 160px; }
.footer-tagline { margin-top: 0.875rem; font-family: var(--font-heading); font-weight: 700; font-size: 1rem; color: var(--fg); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; }
.footer h4 { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; color: var(--fg); }
.footer ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer a { font-size: 0.8125rem; color: var(--fg-muted); transition: color 0.2s; }
.footer a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(37,99,235,0.1); padding: 1.5rem 0; text-align: center; font-size: 0.8125rem; color: var(--fg-muted); }

@media (max-width: 768px) {
  .footer { padding: 2.5rem 0 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-logo { height: 16px; max-width: 120px; }
}
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════
   MOBILE APPLY BUTTON (bottom fixed)
   ═══════════════════════════════════ */
@media (max-width: 768px) {
  .sidebar-apply {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 50;
    background: var(--bg-card);
    border: none; border-radius: 0;
    border-top: 1px solid var(--border);
    padding: 0.875rem 1.5rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    display: flex; align-items: center; gap: 0.75rem;
  }
  .btn-apply { margin-bottom: 0; flex: 1; font-size: 0.9375rem; padding: 0.75rem 1rem; }
  .apply-hint, .apply-stats { display: none; }
  .vacancy-page { padding-bottom: 6rem; }
}

/* ═══════════════════════════════════
   ACCESSIBILITY
   ═══════════════════════════════════ */

/* ═══════════════════════════════════
   CONTACTS PAGE
   ═══════════════════════════════════ */

.container-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero */
.contacts-hero {
  padding: 3rem 0 2rem;
  text-align: center;
  background: linear-gradient(180deg, #eef2ff 0%, #f0f4ff 50%, var(--bg) 100%);
}
.hero-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.625rem;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
.hero-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fg-muted);
  margin: 0 auto;
  max-width: 720px;
  text-wrap: balance;
}

/* ── 3 Channel cards ── */
.channels {
  padding: 1.5rem 0 3rem;
}
.channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 768px) { .channels-grid { grid-template-columns: 1fr; } }

.channel {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-sm);
  -webkit-tap-highlight-color: transparent;
}
.channel:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37,99,235,0.2);
}

.channel-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 60%, var(--primary-light) 100%);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,99,235,0.3);
}
.channel-primary:hover {
  box-shadow: 0 8px 28px rgba(37,99,235,0.4);
  border-color: var(--primary);
}

.channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(37,99,235,0.1);
  color: var(--primary);
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.channel-primary .channel-icon {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

.channel-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-heading);
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.22);
  color: #fff;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}

.channel-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: inherit;
}
.channel-desc {
  font-size: 0.875rem;
  line-height: 1.55;
  margin: 0 0 1rem;
  flex: 1;
  opacity: 0.85;
}
.channel-handle {
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  background: rgba(37,99,235,0.08);
  color: var(--primary);
  border-radius: 8px;
  align-self: flex-start;
  margin-bottom: 1rem;
}
.channel-primary .channel-handle {
  background: rgba(255,255,255,0.18);
  color: #fff;
}
.channel-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  transition: gap 0.2s;
  margin-top: auto;
}
.channel-primary .channel-arrow { color: #fff; }
.channel:hover .channel-arrow { gap: 0.75rem; }

/* ═══════════════════════════════════
   FORM
   ═══════════════════════════════════ */
.contact-form-section {
  padding: 2rem 0 3rem;
}
.form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.form-intro {
  text-align: center;
  margin-bottom: 2rem;
}
.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.375rem;
}
.form-title {
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}
.form-subtitle {
  font-size: 0.9375rem;
  color: var(--fg-muted);
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-field label {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--fg);
}
.req {
  color: var(--destructive);
  margin-left: 2px;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
  background: var(--bg-card);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--fg-light);
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-field textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.55;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}
.form-consent label {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  line-height: 1.5;
  cursor: pointer;
}
.form-consent a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(37,99,235,0.3);
  transition: border-color 0.2s;
}
.form-consent a:hover { border-bottom-color: var(--primary); }

.form-submit {
  align-self: stretch;
  justify-content: center;
  width: 100%;
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  transition: all 0.3s var(--ease), background 0.3s;
}

.form-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--fg-muted);
  margin: 0.25rem 0 0;
}
.form-hint svg {
  color: var(--success);
  flex-shrink: 0;
}

/* ═══════════════════════════════════
   SOCIAL CARD
   ═══════════════════════════════════ */
.social-section {
  padding: 1rem 0 3rem;
}
.social-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(37,99,235,0.06), rgba(37,99,235,0.02));
  border: 1px solid rgba(37,99,235,0.18);
  border-radius: var(--radius);
  flex-wrap: wrap;
}
.social-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}
.social-subtitle {
  font-size: 0.9375rem;
  color: var(--fg-muted);
  margin: 0;
}
.social-icons {
  display: flex;
  gap: 0.625rem;
  flex-shrink: 0;
}
.soc-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--fg);
  transition: all 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}
.soc-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37,99,235,0.15);
}

@media (max-width: 600px) {
  .social-card { padding: 1.5rem; flex-direction: column; text-align: center; }
}

/* ═══════════════════════════════════
   EMPLOYER CTA
   ═══════════════════════════════════ */
.employer-cta-section { padding: 1rem 0 4rem; }
.employer-cta-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--fg);
  border-radius: var(--radius);
  color: #fff;
  flex-wrap: wrap;
}
.employer-cta-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}
.employer-cta-text {
  flex: 1;
  min-width: 240px;
}
.employer-cta-text h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  color: #fff;
}
.employer-cta-text p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
  line-height: 1.5;
}
.btn-dark {
  background: #fff !important;
  color: var(--fg) !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2) !important;
}
.btn-dark:hover {
  background: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3) !important;
}

@media (max-width: 600px) {
  .employer-cta-card { padding: 1.5rem; flex-direction: column; text-align: center; }
  .employer-cta-card .btn { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════
   MOBILE OPTIMIZATIONS
   ═══════════════════════════════════ */
@media (max-width: 768px) {
  .contacts-hero { padding: 2rem 0 1.5rem; }

  .channels { padding: 1rem 0 2rem; }
  .channel { padding: 1.25rem; }
  .channel-icon { width: 48px; height: 48px; margin-bottom: 0.75rem; }
  .channel-icon svg { width: 26px; height: 26px; }

  .contact-form-section { padding: 1.5rem 0 2rem; }
  .form-wrapper { padding: 1.5rem; }
  .form-intro { margin-bottom: 1.5rem; }
  .form-title { font-size: 1.25rem; }

  .social-section { padding: 1rem 0 2rem; }
  .employer-cta-section { padding: 1rem 0 3rem; }
}

/* iPhone Safari safe area */
@supports (padding: env(safe-area-inset-bottom)) {
  body { padding-bottom: env(safe-area-inset-bottom, 0); }
}


/* ═══════════════════════════════════
   v2 OPTIMIZATIONS: mobile + EN-ready
   ═══════════════════════════════════ */

/* Hero subtitle: balanced wrap (no jagged lines) */
.hero-subtitle {
  text-wrap: balance;
  -webkit-text-balance: balance;
}

/* Channel cards — більше "дихання" та flex для довшого EN тексту */
.channel-desc {
  min-height: auto;
  hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
}
.channel-handle {
  word-break: break-all; /* для довгих email на mobile */
  font-size: 0.75rem;
}

/* Social card — EN тексти на 30% довші, треба flex */
.social-card {
  align-items: center;
}
.social-title {
  text-wrap: balance;
}

/* Employer CTA — EN-довший текст не зламає layout */
.employer-cta-text h3 {
  text-wrap: balance;
}

/* ── Mobile щільніша оптимізація ── */
@media (max-width: 768px) {
  .contacts-hero { padding: 1.75rem 0 1.25rem; }
  .hero-tag { font-size: 0.625rem; }
  .hero-title { font-size: 1.5rem; line-height: 1.2; }
  .hero-subtitle { font-size: 0.875rem; line-height: 1.55; max-width: 100%; }

  .channels { padding: 0.75rem 0 1.5rem; }
  .channels-grid { gap: 0.75rem; }
  .channel { padding: 1.125rem; }
  .channel-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    margin-bottom: 0.625rem;
  }
  .channel-icon svg { width: 22px; height: 22px; }
  .channel-title { font-size: 1rem; margin-bottom: 0.375rem; }
  .channel-desc { font-size: 0.8125rem; line-height: 1.5; margin-bottom: 0.75rem; }
  .channel-handle { padding: 0.3rem 0.6rem; margin-bottom: 0.75rem; font-size: 0.6875rem; }
  .channel-arrow { font-size: 0.8125rem; }
  .channel-badge { top: 0.75rem; right: 0.75rem; font-size: 0.5625rem; padding: 0.2rem 0.5rem; }

  .social-section { padding: 0.5rem 0 1.5rem; }
  .social-card { padding: 1.25rem; gap: 1rem; }
  .social-title { font-size: 1.0625rem; }
  .social-subtitle { font-size: 0.875rem; }
  .soc-link { width: 42px; height: 42px; }
  .soc-link svg { width: 20px; height: 20px; }

  .employer-cta-section { padding: 0.5rem 0 2.5rem; }
  .employer-cta-card { padding: 1.5rem; gap: 1rem; }
  .employer-cta-icon { font-size: 2rem; }
  .employer-cta-text h3 { font-size: 1.0625rem; }
  .employer-cta-text p { font-size: 0.875rem; }
}

/* ── iPhone SE / малі екрани ── */
@media (max-width: 380px) {
  .hero-title { font-size: 1.375rem; }
  .channel { padding: 1rem; }
  .channel-handle { word-break: break-all; }
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ═══════════════════════════════════
   ПРАВКИ v2 — share icons, dark footer, mobile Safari
   ═══════════════════════════════════ */

/* 3. Share — SVG іконки замість тексту */
.share-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--border);
  color: var(--fg-muted);
  transition: all 0.2s var(--ease);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.share-icon:hover { border-color: var(--primary); color: var(--primary); }
.share-icon.copied { background: rgba(22,163,74,0.1); border-color: var(--success); color: var(--success); }
.share-icon svg { flex-shrink: 0; }

@media (max-width: 768px) {
  .vacancy-share { flex-wrap: wrap; gap: 0.375rem; }
  .share-icon { width: 38px; height: 38px; }
  .share-label { width: 100%; margin-bottom: 0.25rem; }
}


.fd-links {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 6px; margin-bottom: 0.75rem;
  font-size: 0.75rem;
}
.fd-links a { color: rgba(255,255,255,0.65); transition: color 0.2s; white-space: nowrap; }
.fd-links a:hover { color: white; }
.fd-sep { color: rgba(255,255,255,0.25); }

.fd-copy {
  font-size: 0.6875rem; color: rgba(255,255,255,0.35);
  margin-top: 0.5rem;
}

@media (max-width: 480px) {
  .fd-links { flex-direction: column; gap: 0.375rem; }
  .fd-sep { display: none; }
}

/* ═══════════════════════════════════
   MOBILE SAFARI / iPHONE ОПТИМІЗАЦІЯ
   ═══════════════════════════════════ */

/* Safe area для iPhone X+ (notch / home indicator) */
.vacancy-page {
  padding-bottom: calc(6rem + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 768px) {
  .sidebar-apply {
    bottom: 0; left: 0; right: 0;
    padding-bottom: calc(0.875rem + env(safe-area-inset-bottom, 0px));
  }
}

/* Prevent iOS Safari auto-zoom on inputs */
input, select, textarea {
  font-size: 16px !important; /* Safari зумить на <16px */
}

/* iOS momentum scrolling */
.vacancy-main, .vacancy-sidebar {
  -webkit-overflow-scrolling: touch;
}

/* Prevent rubber-band на body коли sidebar sticky */
body {
  overscroll-behavior-y: none;
}

/* Touch targets — мін 44px для Apple HIG */
.share-icon, .btn-apply, .breadcrumbs a, .vacancy-company, .tag {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex; align-items: center; justify-content: center;
}

/* Breadcrumbs на mobile — горизонтальний скрол */
@media (max-width: 768px) {
  .breadcrumbs .container {
    display: flex; flex-wrap: nowrap;
    overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
  .breadcrumbs .container::-webkit-scrollbar { display: none; }
}

/* Tags — wrap правильно на малих екранах */
@media (max-width: 480px) {
  .vacancy-tags { gap: 0.25rem; }
  .tag { padding: 0.25rem 0.625rem; font-size: 0.6875rem; min-height: 32px; min-width: auto; }
}

/* Company card sidebar — на mobile компактніше */
@media (max-width: 768px) {
  .sidebar-company { padding: 1.125rem; }
  .sc-logo { width: 38px; height: 38px; border-radius: 10px; font-size: 0.75rem; }
}

/* Vacancy title mobile */
@media (max-width: 480px) {
  .vacancy-title { font-size: 1.25rem; }
  .vacancy-salary { font-size: 1.25rem; }
}

/* Similar section mobile */
@media (max-width: 768px) {
  .similar-section { padding: 2rem 0 calc(2rem + env(safe-area-inset-bottom, 0px)); }
}

/* Removed old footer styles — no longer needed (replaced by .footer-dark) */
/* footer visible */


/* ═══════════════════════════════════
   ПРАВКИ v3 — footer light, mobile CTA, hint visible
   ═══════════════════════════════════ */



/* 4. Mobile apply bar — показуємо hint + stats */
@media (max-width: 768px) {
  .sidebar-apply {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 50;
    background: var(--bg-card);
    border: none; border-radius: 0;
    border-top: 1px solid var(--border);
    padding: 0.625rem 1rem calc(0.625rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    display: flex; flex-direction: column; gap: 0.375rem;
    text-align: center;
  }
  .btn-apply {
    width: 100%; margin-bottom: 0;
    font-size: 0.9375rem; padding: 0.75rem 1rem;
    justify-content: center;
  }
  /* Hint і stats ВИДИМІ на mobile */
  .apply-hint-always {
    display: flex !important;
    align-items: center; justify-content: center;
    gap: 0.25rem;
    font-size: 0.6875rem; color: var(--fg-muted);
    margin: 0;
  }
  .apply-stats-always {
    display: flex !important;
    justify-content: center; gap: 1rem;
    font-size: 0.6875rem; color: var(--fg-muted);
    padding-top: 0.25rem;
    border-top: none;
    margin: 0;
  }
}

/* Share icons — оновлені розміри */
.share-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--fg-muted);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.share-icon:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(37,99,235,0.04);
}
.share-icon svg { flex-shrink: 0; }

/* Footer responsive лого */
.footer-logo {
  max-width: 180px;
  height: auto;
}
@media (max-width: 768px) {
  .footer-logo { max-width: 140px; }
}
@media (max-width: 480px) {
  .footer-logo { max-width: 120px; }
}

/* ═══════════════════════════════════
   ПРАВКИ v4 — чистий mobile, без badges, текстова CTA
   ═══════════════════════════════════ */

/* 1. Category label (замість badges) */
.vacancy-category-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}


}


}

/* 3. Vacancy header mobile — чисте вирівнювання, без хаосу */
@media (max-width: 768px) {
  .vacancy-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
  }

  .vacancy-category-label {
    font-size: 0.6875rem;
    margin-bottom: 0.375rem;
  }

  .vacancy-title {
    font-size: 1.375rem !important;
    line-height: 1.2;
    margin-bottom: 0.75rem;
  }

  .vacancy-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  .meta-sep { display: none; }

  .vacancy-meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
  }

  .vacancy-company {
    font-size: 0.9375rem;
  }
  .company-avatar {
    width: 32px; height: 32px;
    border-radius: 8px;
    font-size: 0.625rem;
  }

  .vacancy-salary-row {
    margin-bottom: 1rem;
  }
  .vacancy-salary {
    font-size: 1.5rem !important;
  }

  .vacancy-tags {
    gap: 0.25rem;
  }
  .tag {
    font-size: 0.6875rem;
    padding: 0.25rem 0.625rem;
    min-height: auto;
    min-width: auto;
  }
}

/* Company card mobile — компактніший */
@media (max-width: 768px) {
  .sidebar-company {
    padding: 1rem;
    margin-bottom: 0.5rem;
  }
  .sc-header {
    margin-bottom: 0.625rem;
  }
  .sc-logo {
    width: 36px; height: 36px;
    border-radius: 9px;
    font-size: 0.6875rem;
  }
  .sc-name { font-size: 0.9375rem; }
  .sc-desc {
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
  }
  .sc-link {
    font-size: 0.8125rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-light);
  }
}

/* Vacancy sections mobile — менші відступи */
@media (max-width: 768px) {
  .vacancy-section {
    margin-bottom: 1.5rem;
  }
  .vacancy-section h2 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  .vacancy-section p,
  .vacancy-list li {
    font-size: 0.875rem;
  }
}

/* Share mobile */
@media (max-width: 768px) {
  .vacancy-share {
    padding-top: 1.25rem;
    margin-top: 1.25rem;
    gap: 0.375rem;
  }
  .share-label {
    width: 100%;
    margin-bottom: 0.125rem;
    font-size: 0.75rem;
  }
  .share-icon {
    width: 40px; height: 40px;
  }
}

/* Similar section mobile */
@media (max-width: 768px) {
  .similar-section {
    padding: 1.5rem 0 2rem;
  }
  .section-title {
    font-size: 1.125rem !important;
    margin-bottom: 1rem;
  }
  .similar-grid {
    gap: 0.5rem;
  }
  .job-card {
    padding: 1rem;
  }
}

/* Breadcrumbs — на мобілі як одна лінія */
@media (max-width: 768px) {
  .breadcrumbs {
    font-size: 0.6875rem;
    padding: 0.625rem 0;
  }
  .breadcrumbs .container {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }
  .breadcrumbs .container::-webkit-scrollbar { display: none; }
}

/* Mobile: vacancy content ПЕРШИМ, company card внизу */
@media (max-width: 768px) {
  .vacancy-layout {
    display: flex;
    flex-direction: column;
  }
  .vacancy-main {
    order: 1;
  }
  .vacancy-sidebar {
    order: 2;
    position: static;
  }
  /* Apply bar = fixed bottom, не в потоці */
  .sidebar-apply {
    order: 99;
  }
}

}

/* ═══════════════════════════════════
   HEADER — оригінальний з UA/EN на mobile
   ═══════════════════════════════════ */



.mobile-menu {
  display: none;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s var(--ease);
}
.mobile-menu.open { max-height: 420px; }
.mobile-nav {
  display: flex; flex-direction: column;
  gap: 1rem; padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
}
.mobile-link {
  font-size: 0.875rem; font-weight: 500;
  color: var(--fg-muted);
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .nav-right { display: none; }
  .mobile-menu { display: block; }
  .header-inner { height: 56px; }
  .logo-svg { height: 17px !important; max-width: 120px; }
}

/* Breadcrumbs — видимі на всіх розмірах */
.breadcrumbs {
  display: block;
}
@media (max-width: 768px) {
  .breadcrumbs {
    font-size: 0.6875rem;
    padding: 0.625rem 0;
  }
  .breadcrumbs .container {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .breadcrumbs .container::-webkit-scrollbar { display: none; }
}

/* ═══════════════════════════════════
   КНОПКИ — візуальна ієрархія
   ═══════════════════════════════════ */

/* "Опублікувати вакансію" — напівпрозора, secondary */
.nav-cta {
  background: rgba(37, 99, 235, 0.1) !important;
  color: var(--primary) !important;
  border: 1.5px solid rgba(37, 99, 235, 0.25);
  box-shadow: none !important;
  transition: all 0.3s var(--ease);
}
.nav-cta:hover {
  background: rgba(37, 99, 235, 0.18) !important;
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateY(-1px);
}

/* "Відгукнутися" — головна CTA, анімована тінь */
.btn-apply {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 60%, #3b82f6 100%) !important;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3), 0 1px 3px rgba(37, 99, 235, 0.15);
  animation: apply-pulse 3s ease-in-out infinite;
  position: relative;
}
.btn-apply:hover {
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.4), 0 2px 6px rgba(37, 99, 235, 0.2) !important;
  transform: translateY(-2px);
}

@keyframes apply-pulse {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3), 0 1px 3px rgba(37, 99, 235, 0.15);
  }
  50% {
    box-shadow: 0 6px 28px rgba(37, 99, 235, 0.45), 0 2px 8px rgba(37, 99, 235, 0.2);
  }
}


/* UA/EN switcher inside burger menu */
.mobile-lang {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0;
}
.mobile-lang .lang-btn {
  padding: 0.35rem 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--fg-light);
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.mobile-lang .lang-btn.active {
  background: var(--primary);
  color: var(--primary-fg);
  border-color: var(--primary);
}

/* ═══════════════════════════════════
   BREADCRUMBS — фікс вирівнювання
   ═══════════════════════════════════ */
.breadcrumbs .container {
  display: flex;
  align-items: baseline;  /* всі елементи на одній базовій лінії */
  flex-wrap: wrap;
  gap: 0;
}
.breadcrumbs a,
.breadcrumbs .bc-sep,
.breadcrumbs .bc-current {
  display: inline;
  line-height: 1.5;
  vertical-align: baseline;
  font-size: 0.8125rem;
}
.bc-sep {
  margin: 0 0.5rem;
  color: var(--fg-light);
}
.bc-current {
  color: var(--fg);
  font-weight: 500;
}

@media (max-width: 768px) {
  .breadcrumbs .container {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    align-items: baseline;
  }
  .breadcrumbs .container::-webkit-scrollbar { display: none; }

  .breadcrumbs a,
  .breadcrumbs .bc-sep,
  .breadcrumbs .bc-current {
    font-size: 0.75rem;
  }
  .bc-sep {
    margin: 0 0.375rem;
  }
}


/* Зарплата — синій як MARKETING label */
.vacancy-salary {
  color: var(--primary) !important;
}

/* ═══════════════════════════════════
   CONTACTS FINAL OVERRIDES
   ═══════════════════════════════════ */

body.contacts-page {
  overflow-x: hidden;
  overscroll-behavior-y: auto;
}

.footer-brand { max-width: 280px; }
.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 1rem;
}
.footer-social {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.08);
  color: var(--primary);
  transition: all 0.2s var(--ease);
  flex-shrink: 0;
}
.footer-social svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.footer-social:hover {
  transform: translateY(-1px);
  background: rgba(37,99,235,0.12);
  border-color: rgba(37,99,235,0.12);
  color: var(--primary-dark);
}
.footer-bottom {
  min-height: 64px;
  padding: 1rem 0 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-bottom p {
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.45;
}

@media (max-width: 768px) {
  .footer-socials { gap: 0.75rem; }
  .footer-social {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
  .social-icons {
    justify-content: center;
    flex-wrap: wrap;
  }
  .channel-handle {
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 600px) {
  .channels-grid {
    grid-template-columns: 1fr;
    gap: 0.875rem;
  }
  .channel {
    min-width: 0;
  }
}

/* Final site-wide heading weight polish */
.section-title,
.sec-title,
.hero-title,
.blog-hero-title,
.jobs-hero-title,
.thanks-page .section-title {
  font-weight: 600 !important;
}
