/* ===== WORK.APSUA.RU — Работа в Абхазии ===== */

:root {
  --green: #1a6b3c;
  --green-dark: #124d2b;
  --green-light: #e8f5ee;
  --red: #c0392b;
  --red-light: #fdecea;
  --blue: #2563eb;
  --blue-light: #eff6ff;
  --text: #111827;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f9fafb;
  --white: #ffffff;
  --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.05);
  --shadow-lg: 0 10px 24px rgba(0,0,0,.1);
  --radius: 12px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== HEADER ===== */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--green);
  flex-shrink: 0;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}
.logo span { color: var(--text-muted); font-weight: 400; font-size: 13px; margin-left: 2px; }

.nav {
  display: flex;
  gap: 4px;
  flex: 1;
}
.nav a {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-muted);
  transition: all .15s;
}
.nav a:hover, .nav a.active {
  background: var(--green-light);
  color: var(--green);
  font-weight: 500;
}

.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all .15s;
  text-decoration: none;
}
.btn-outline {
  border: 1.5px solid var(--border);
  background: white;
  color: var(--text);
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-primary {
  background: var(--green);
  color: white;
}
.btn-primary:hover { background: var(--green-dark); }
.btn-red {
  background: var(--red);
  color: white;
}
.btn-red:hover { opacity: .9; }
.btn-lg { padding: 12px 28px; font-size: 16px; border-radius: var(--radius); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 60%, #2d9260 100%);
  color: white;
  padding: 64px 20px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,.03);
  border-radius: 50%;
}
.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.hero h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}
.hero h1 em { font-style: normal; color: #9de0b8; }
.hero p {
  font-size: 18px;
  opacity: .85;
  margin-bottom: 36px;
}

.search-box {
  background: white;
  border-radius: var(--radius);
  padding: 8px;
  display: flex;
  gap: 8px;
  box-shadow: var(--shadow-lg);
}
.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition: border-color .15s;
}
.search-field:focus-within { border-color: var(--green); }
.search-field svg { color: var(--text-muted); flex-shrink: 0; }
.search-field input {
  border: none;
  outline: none;
  font-size: 15px;
  width: 100%;
  color: var(--text);
}
.search-field input::placeholder { color: var(--text-muted); }
.search-divider { width: 1px; background: var(--border); margin: 8px 0; }
.search-box .btn-primary { padding: 12px 28px; flex-shrink: 0; }

.hero-tags {
  margin-top: 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-tag {
  background: rgba(255,255,255,.15);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  transition: background .15s;
}
.hero-tag:hover { background: rgba(255,255,255,.25); }

/* ===== STATS ===== */
.stats {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 20px;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 48px;
}
.stat-item {
  text-align: center;
}
.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--green);
  display: block;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== MAIN LAYOUT ===== */
.main-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}

/* ===== SECTION TITLE ===== */
.section-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section-title a { font-size: 14px; font-weight: 400; color: var(--green); }
.section-title a:hover { text-decoration: underline; }

/* ===== CATEGORIES ===== */
.categories {
  padding: 48px 20px;
  background: white;
  border-bottom: 1px solid var(--border);
}
.categories-inner { max-width: 1200px; margin: 0 auto; }
.categories-inner h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.cat-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
}
.cat-card:hover {
  border-color: var(--green);
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.cat-icon { font-size: 28px; margin-bottom: 8px; }
.cat-name { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.cat-count { font-size: 12px; color: var(--text-muted); }

/* ===== VACANCY CARD ===== */
.vacancy-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 12px;
  transition: all .2s;
  cursor: pointer;
  display: block;
}
.vacancy-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.vacancy-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}
.company-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.vacancy-info { flex: 1; min-width: 0; }
.vacancy-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.company-name {
  font-size: 13px;
  color: var(--green);
  font-weight: 500;
}
.vacancy-salary {
  font-size: 16px;
  font-weight: 700;
  color: var(--green-dark);
  white-space: nowrap;
  flex-shrink: 0;
}
.vacancy-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}
.tag-gray { background: var(--bg); color: var(--text-muted); border: 1px solid var(--border); }
.tag-green { background: var(--green-light); color: var(--green); }
.tag-blue { background: var(--blue-light); color: var(--blue); }
.tag-red { background: var(--red-light); color: var(--red); }
.vacancy-date { font-size: 12px; color: var(--text-muted); margin-left: auto; }

/* ===== RESUME CARD ===== */
.resume-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 10px;
  transition: all .2s;
  cursor: pointer;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.resume-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}
.resume-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}
.resume-body { flex: 1; min-width: 0; }
.resume-name { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.resume-pos { font-size: 14px; color: var(--text-muted); margin-bottom: 8px; }
.resume-exp { font-size: 12px; color: var(--text-muted); }
.resume-salary {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ===== SIDEBAR ===== */
.sidebar-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}
.sidebar-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}
.sidebar-promo {
  background: linear-gradient(135deg, var(--green), #2d9260);
  color: white;
  border-color: transparent;
}
.sidebar-promo h3 { color: white; font-size: 18px; }
.sidebar-promo p { font-size: 14px; opacity: .85; margin-bottom: 16px; }
.sidebar-promo .btn { background: white; color: var(--green); width: 100%; justify-content: center; }
.sidebar-promo .btn:hover { background: var(--green-light); }
.sidebar-promo-2 {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  border-color: transparent;
}
.sidebar-promo-2 h3 { color: white; font-size: 18px; }
.sidebar-promo-2 p { font-size: 14px; opacity: .85; margin-bottom: 16px; }
.sidebar-promo-2 .btn { background: white; color: var(--blue); width: 100%; justify-content: center; }

.city-list { display: flex; flex-direction: column; gap: 6px; }
.city-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 4px 0;
  border-bottom: 1px solid var(--bg);
  cursor: pointer;
  color: var(--text-muted);
  transition: color .15s;
}
.city-item:hover { color: var(--green); }
.city-count { font-weight: 600; color: var(--text); font-size: 13px; }

/* ===== FILTER BAR ===== */
.filter-bar {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 140px;
}
.filter-group label { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }
.filter-group select, .filter-group input {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text);
  background: white;
  outline: none;
  transition: border-color .15s;
}
.filter-group select:focus, .filter-group input:focus { border-color: var(--green); }

/* ===== TABS ===== */
.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 6px;
}
.tab {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  color: var(--text-muted);
  transition: all .15s;
}
.tab.active {
  background: var(--green);
  color: white;
}
.tab:hover:not(.active) { background: var(--bg); color: var(--text); }

/* ===== FORM STYLES ===== */
.form-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 20px;
}
.form-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-card h1 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.form-card .subtitle { color: var(--text-muted); font-size: 15px; margin-bottom: 32px; }

.form-section {
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
  padding-bottom: 28px;
}
.form-section:last-of-type { border-bottom: none; }
.form-section h2 { font-size: 15px; font-weight: 700; margin-bottom: 18px; color: var(--green); text-transform: uppercase; letter-spacing: .5px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group label { font-size: 13px; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 15px;
  color: var(--text);
  background: white;
  outline: none;
  font-family: inherit;
  transition: border-color .15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-hint { font-size: 12px; color: var(--text-muted); }

.salary-row { display: flex; gap: 10px; align-items: center; }
.salary-row input { flex: 1; }
.salary-row span { font-size: 14px; color: var(--text-muted); }

.checkbox-group { display: flex; flex-wrap: wrap; gap: 10px; }
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  transition: all .15s;
}
.checkbox-label:has(input:checked) {
  border-color: var(--green);
  background: var(--green-light);
  color: var(--green);
}
.checkbox-label input { display: none; }

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
}

/* ===== VACANCY DETAIL ===== */
.detail-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}
.detail-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.detail-card h1 { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.detail-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.detail-company {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.company-logo-lg {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.detail-body h2 { font-size: 17px; font-weight: 700; margin: 24px 0 12px; }
.detail-body p { color: #374151; line-height: 1.7; margin-bottom: 12px; }
.detail-body ul { padding-left: 20px; }
.detail-body ul li { list-style: disc; margin-bottom: 6px; color: #374151; line-height: 1.6; }

/* ===== NOTICE BOX ===== */
.apply-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 84px;
  box-shadow: var(--shadow);
}
.apply-salary {
  font-size: 24px;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 8px;
}
.apply-card .btn { width: 100%; justify-content: center; margin-top: 12px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--green-dark);
  color: rgba(255,255,255,.7);
  padding: 48px 20px 24px;
  margin-top: 60px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand { color: white; }
.footer-brand .logo { color: white; font-size: 22px; margin-bottom: 12px; }
.footer-brand .logo-icon { background: rgba(255,255,255,.2); }
.footer-brand p { font-size: 14px; line-height: 1.7; }
.footer-col h4 { color: white; font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.footer-col a {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
  color: rgba(255,255,255,.6);
  transition: color .15s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-icon { font-size: 48px; margin-bottom: 16px; }
.empty-state h3 { font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 8px; }

/* ===== BADGE ===== */
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.badge-new { background: var(--red); color: white; }
.badge-hot { background: #f59e0b; color: white; }
.badge-top { background: var(--green); color: white; }

/* ===== RESPONSIVE ===== */

/* Запрещаем горизонтальный скролл глобально */
html, body { overflow-x: hidden; max-width: 100%; }
*, *::before, *::after { box-sizing: border-box; }

/* ---- Планшет 900px ---- */
@media (max-width: 900px) {
  .two-col, .detail-page { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 30px; }
  .stats-inner { gap: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .search-box { flex-direction: column; }
  .search-divider { width: 100%; height: 1px; margin: 0; }
  .form-card { padding: 24px; }
  .detail-card { padding: 20px; }
}

/* ---- Смартфон 480px ---- */
@media (max-width: 480px) {
  /* Header */
  .nav { display: none; }
  .header-inner { gap: 8px; padding: 0 12px; height: 56px; }
  .logo { font-size: 16px; }
  .logo span { display: none; }
  .logo-icon { width: 30px; height: 30px; font-size: 15px; border-radius: 6px; }
  .header-actions .btn-outline { display: none; } /* скрываем "Разместить резюме" — оставляем одну кнопку */
  .header-actions .btn-primary { padding: 7px 12px; font-size: 13px; }

  /* Hero */
  .hero { padding: 28px 14px 44px; }
  .hero h1 { font-size: 24px; margin-bottom: 10px; }
  .hero p { font-size: 15px; margin-bottom: 20px; }
  .search-box { padding: 6px; gap: 6px; border-radius: 10px; }
  .search-field { padding: 8px 10px; }
  .search-field input { font-size: 14px; }
  .search-box .btn-primary { padding: 10px; font-size: 15px; }
  .hero-tags { gap: 6px; }
  .hero-tag { font-size: 12px; padding: 3px 10px; }

  /* Stats */
  .stats-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    text-align: center;
  }
  .stat-num { font-size: 22px; }
  .stat-label { font-size: 12px; }

  /* Categories */
  .categories { padding: 28px 14px; }
  .categories-inner h2 { font-size: 18px; margin-bottom: 16px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .cat-card { padding: 14px 10px; border-radius: 10px; }
  .cat-icon { font-size: 22px; margin-bottom: 6px; }
  .cat-name { font-size: 12px; }
  .cat-count { font-size: 11px; }

  /* Main wrap */
  .main-wrap { padding: 16px 12px 32px; }

  /* Tabs */
  .tabs { padding: 4px; }
  .tab { font-size: 13px; padding: 8px 6px; }

  /* Vacancy card */
  .vacancy-card { padding: 14px; margin-bottom: 10px; border-radius: 10px; }
  .vacancy-top { gap: 10px; flex-wrap: wrap; }
  .company-logo { width: 40px; height: 40px; font-size: 18px; border-radius: 8px; }
  .vacancy-title { font-size: 14px; }
  .company-name { font-size: 12px; }
  .vacancy-salary { font-size: 14px; width: 100%; padding-left: 50px; margin-top: -6px; }
  .vacancy-tags { gap: 4px; }
  .tag { font-size: 11px; padding: 3px 8px; }
  .vacancy-date { font-size: 11px; }

  /* Resume card */
  .resume-card { padding: 14px; gap: 10px; border-radius: 10px; flex-wrap: wrap; }
  .resume-avatar { width: 42px; height: 42px; font-size: 17px; }
  .resume-name { font-size: 14px; }
  .resume-pos { font-size: 13px; margin-bottom: 6px; }
  .resume-salary { font-size: 14px; }

  /* Sidebar */
  .sidebar-card { padding: 16px; border-radius: 10px; }
  .sidebar-promo h3, .sidebar-promo-2 h3 { font-size: 16px; }
  .sidebar-promo p, .sidebar-promo-2 p { font-size: 13px; margin-bottom: 12px; }

  /* Filter bar */
  .filter-bar { flex-direction: column; gap: 10px; padding: 14px; border-radius: 10px; }
  .filter-group { min-width: 0; }
  .filter-group select, .filter-group input { font-size: 14px; }

  /* Vacancy detail */
  .detail-page { padding: 14px 12px; gap: 16px; }
  .detail-card { padding: 16px; border-radius: 10px; }
  .detail-card h1 { font-size: 20px; }
  .apply-card { position: static; padding: 16px; }
  .apply-salary { font-size: 20px; }
  .detail-company { flex-wrap: wrap; gap: 10px; padding: 12px; }

  /* Forms */
  .form-page { padding: 16px 12px; }
  .form-card { padding: 18px; border-radius: 12px; }
  .form-card h1 { font-size: 20px; }
  .form-card .subtitle { font-size: 13px; margin-bottom: 20px; }
  .form-section { padding-bottom: 20px; margin-bottom: 20px; }
  .form-section h2 { font-size: 13px; margin-bottom: 14px; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; } /* 16px — не зумит iOS */
  .form-actions { flex-direction: column-reverse; }
  .form-actions .btn { width: 100%; justify-content: center; }
  .salary-row { flex-wrap: wrap; }

  /* Footer */
  .footer { padding: 28px 14px 16px; margin-top: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
