:root {
  --bg: #0c1222;
  --bg-card: #141c30;
  --bg-card-hover: #1a2540;
  --text: #eef2ff;
  --muted: #94a3b8;
  --accent: #f97316;
  --accent-hover: #fb923c;
  --line: rgba(148, 163, 184, 0.15);
  --green: #22c55e;
  --radius: 16px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(249, 115, 22, 0.12), transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(59, 130, 246, 0.1), transparent 35%);
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}

#vacancies,
#contacts {
  scroll-margin-top: 72px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(12, 18, 34, 0.85);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-card);
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
}

.logo__mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #ea580c);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

.nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn--primary {
  background: var(--accent);
  color: #111;
}

.btn--primary:hover {
  background: var(--accent-hover);
}

.btn--accent {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #111;
  border: none;
  font-weight: 700;
}

.btn--accent:hover {
  filter: brightness(1.06);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn--ghost:hover {
  background: var(--bg-card);
}

.hero {
  padding: 56px 0 40px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  margin: 0 0 16px;
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 24px;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.stat {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.stat__num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
}

.stat__label {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 32px 0 56px;
}

.section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.section h2 {
  margin: 0;
  font-size: 1.75rem;
}

.section p.sub {
  margin: 6px 0 0;
  color: var(--muted);
}

.section--about {
  padding-top: 0;
  padding-bottom: 32px;
}

.section--about__title {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.section--about__text {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.section--about__text strong {
  color: var(--text);
  font-weight: 600;
}

.cta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.cta-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(34, 197, 94, 0.25);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(56, 189, 248, 0.06));
}

.cta-banner h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.cta-banner p {
  margin: 0;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.55;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.section--trust {
  padding-top: 0;
}

.section--trust__title {
  margin: 0 0 20px;
  font-size: 1.5rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.trust-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.trust-card a {
  color: var(--accent);
}

.trust-card a:hover {
  text-decoration: underline;
}

.section__head-cta {
  flex-shrink: 0;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vacancies-toolbar {
  margin-bottom: 16px;
}

.filter-dropdown {
  position: relative;
  flex: 1 1 220px;
  max-width: 360px;
  min-width: 0;
}

.filter-dropdown__select {
  width: 100%;
  min-height: 44px;
  padding: 10px 40px 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background-color: var(--bg-card);
  color-scheme: light;
  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'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}

.filter-dropdown__select:hover,
.filter-dropdown__select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
  background-color: rgba(249, 115, 22, 0.08);
}

.filter-dropdown__select option {
  color: #111827 !important;
  background-color: #ffffff !important;
}

.filter-hint {
  margin: 10px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.filter-tags {
  margin-top: 12px;
}

.card__roles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 4px;
}

.card__role {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(249, 115, 22, 0.35);
  background: rgba(249, 115, 22, 0.1);
  color: var(--text);
  font-size: 0.78rem;
  line-height: 1.2;
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.chip {
  padding: 10px 16px;
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--muted);
  cursor: pointer;
  font-size: 0.9rem;
  transition: 0.15s;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.chip:hover,
.chip.is-active {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(249, 115, 22, 0.12);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 18px;
  width: 100%;
  min-width: 0;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: 0.2s;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.card:hover {
  transform: translateY(-3px);
  background: var(--bg-card-hover);
  border-color: rgba(249, 115, 22, 0.35);
}

.card--highlight {
  border-color: rgba(249, 115, 22, 0.85);
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.35);
}

.card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  width: 100%;
  min-width: 0;
  padding: 8px;
  background: linear-gradient(180deg, #1a2540 0%, #121a2e 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.card__img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.card__img--empty {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 2rem;
}

.card__body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card__region {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.card__salary {
  color: var(--green);
  font-weight: 700;
  font-size: 0.95rem;
}

.card__dates,
.vacancy-page__dates {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 4px 0 0;
}

.card__dates time + time::before {
  content: " · ";
}

.card h3 a {
  color: inherit;
}

.card h3 a:hover {
  color: var(--accent);
}

.card picture,
.card picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faq {
  display: grid;
  gap: 10px;
  max-width: 720px;
}

.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
}

.faq__item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item p {
  margin: 10px 0 0;
  color: var(--muted);
}

.region-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.region-links--compact {
  margin-top: 8px;
}

.region-link {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
  transition: border-color 0.15s, color 0.15s;
}

.region-link:hover {
  border-color: var(--accent);
  color: var(--text);
}

.filter-hint a {
  color: var(--accent);
  text-decoration: underline;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--accent);
}

.vacancy-page {
  padding: 24px 0 48px;
}

.vacancy-page h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0 0 12px;
}

.vacancy-page__media {
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.vacancy-page__img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.vacancy-page__region {
  color: var(--muted);
  margin-bottom: 8px;
}

.vacancy-page__salary {
  color: var(--green);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.vacancy-page__updated {
  color: var(--muted);
  font-size: 0.9rem;
}

.vacancy-page__text {
  margin: 24px 0;
  line-height: 1.7;
  white-space: normal;
}

.vacancy-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn--lg {
  padding: 14px 24px;
  font-size: 1rem;
}

.region-page__intro {
  color: var(--muted);
  max-width: 720px;
}

.region-page__grid {
  margin-top: 20px;
}

.blog-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.blog-card h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.blog-card h2 a:hover {
  color: var(--accent);
}

.article__body {
  line-height: 1.75;
  color: var(--muted);
}

.article__body h2 {
  color: var(--text);
  margin-top: 28px;
}

.article__body ul {
  padding-left: 1.2rem;
}

.article__body a {
  color: var(--accent);
}

.article__cta {
  margin-top: 32px;
}

.section--faq h2,
.section--regions h2 {
  margin-bottom: 16px;
}

.card__excerpt {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
  flex: 1;
}

.card__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 6px;
  margin-top: 10px;
}

.card__actions .btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 34px;
  padding: 6px 4px;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
  border-radius: 10px;
}

.card__actions .btn--ghost {
  padding-inline: 3px;
}

.contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.contact {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.contact h3 {
  margin: 0 0 12px;
}

.contact a {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
  padding: 4px 0;
  min-height: 36px;
  line-height: 1.4;
}

.contact a:hover {
  color: var(--accent);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: 0.9rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.65);
}

.modal.is-open {
  display: grid;
}

.modal__box {
  width: min(640px, 100%);
  max-height: 85vh;
  overflow: auto;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  -webkit-overflow-scrolling: touch;
}

.modal__close {
  float: right;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  margin: -8px -8px 0 0;
  padding: 0;
}

.modal__text {
  white-space: pre-wrap;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.modal__box--form h2 {
  margin: 0 0 16px;
  padding-right: 40px;
}

.apply-form {
  display: grid;
  gap: 12px;
}

.apply-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}

.apply-field input,
.apply-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.apply-field input:focus,
.apply-field textarea:focus {
  outline: 2px solid rgba(56, 189, 248, 0.45);
  border-color: var(--accent);
}

.apply-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
}

.apply-consent input {
  margin-top: 3px;
  flex-shrink: 0;
}

.apply-consent a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.apply-error {
  margin: 4px 0 0;
  color: #f87171;
  font-size: 0.82rem;
}

.apply-status {
  margin: 0;
  font-size: 0.9rem;
  min-height: 1.2em;
}

.apply-status--success {
  color: #4ade80;
}

.apply-status--warn {
  color: #fbbf24;
}

.apply-status--error {
  color: #f87171;
}

.apply-submit {
  width: 100%;
  margin-top: 4px;
}

/* Рыжий котик */
.site-cat {
  position: fixed;
  left: 0;
  bottom: 12px;
  z-index: 40;
  width: 72px;
  height: 56px;
  pointer-events: none;
  user-select: none;
  will-change: transform;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
}

.site-cat__flip {
  width: 100%;
  height: 100%;
}

.site-cat[data-dir="left"] .site-cat__flip {
  transform: scaleX(-1);
}

.site-cat__art {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.site-cat[data-dir="left"] .site-cat__art {
  transform: none;
}

.site-cat[data-state="walk"] .site-cat__art {
  animation: cat-bob 0.45s ease-in-out infinite;
}

.site-cat[data-state="walk"] .site-cat__legs--front {
  animation: cat-legs-front 0.45s ease-in-out infinite;
}

.site-cat[data-state="walk"] .site-cat__legs--back {
  animation: cat-legs-back 0.45s ease-in-out infinite;
}

.site-cat[data-state="walk"] .site-cat__tail {
  animation: cat-tail-walk 0.9s ease-in-out infinite;
}

.site-cat[data-state="sit"] .site-cat__art {
  animation: cat-sit 2.4s ease-in-out infinite;
}

.site-cat[data-state="sit"] .site-cat__legs--front,
.site-cat[data-state="sit"] .site-cat__legs--back {
  transform: translateY(3px);
}

.site-cat[data-state="sit"] .site-cat__tail {
  animation: cat-tail-sit 1.6s ease-in-out infinite;
}

.site-cat[data-state="wash"] .site-cat__head {
  animation: cat-wash 0.7s ease-in-out infinite;
}

.site-cat[data-state="wash"] .site-cat__tail {
  animation: cat-tail-sit 1.2s ease-in-out infinite;
}

@keyframes cat-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@keyframes cat-legs-front {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes cat-legs-back {
  0%, 100% { transform: translateY(-3px); }
  50% { transform: translateY(0); }
}

@keyframes cat-tail-walk {
  0%, 100% { transform: rotate(0deg); transform-origin: 10px 28px; }
  50% { transform: rotate(14deg); transform-origin: 10px 28px; }
}

@keyframes cat-tail-sit {
  0%, 100% { transform: rotate(-6deg); transform-origin: 10px 28px; }
  50% { transform: rotate(10deg); transform-origin: 10px 28px; }
}

@keyframes cat-sit {
  0%, 100% { transform: translateY(2px) scaleY(0.97); }
  50% { transform: translateY(3px) scaleY(0.95); }
}

@keyframes cat-wash {
  0%, 100% { transform: rotate(0deg); transform-origin: 54px 30px; }
  40% { transform: rotate(-18deg); transform-origin: 54px 30px; }
  60% { transform: rotate(-14deg); transform-origin: 54px 30px; }
}

@media (max-width: 640px) {
  .site-cat {
    width: 52px;
    height: 40px;
    bottom: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-cat {
    display: none;
  }
}

.empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--muted);
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px dashed var(--line);
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .section h2 {
    font-size: 1.5rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header__inner {
    padding: 10px 0;
    gap: 10px;
  }

  .logo {
    font-size: 1rem;
    min-width: 0;
    flex: 1;
  }

  .logo__mark {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    flex-shrink: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 30;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(20, 28, 48, 0.98);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav .btn {
    width: 100%;
    justify-content: center;
  }

  .nav .btn--ghost {
    display: inline-flex;
  }

  .hero {
    padding: 28px 0 20px;
  }

  .hero h1 {
    font-size: clamp(1.55rem, 7vw, 2rem);
    margin-bottom: 12px;
  }

  .hero p {
    font-size: 0.98rem;
    margin-bottom: 18px;
  }

  .hero__badge {
    margin-bottom: 12px;
    font-size: 0.8rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__stats {
    gap: 10px;
  }

  .stat {
    padding: 14px;
  }

  .stat__num {
    font-size: 1.4rem;
  }

  .stat__label {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .section {
    padding: 20px 0 36px;
  }

  .section__head {
    margin-bottom: 14px;
  }

  .section h2 {
    font-size: 1.35rem;
  }

  .section p.sub {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .vacancies-toolbar {
    margin-bottom: 14px;
  }

  .filter-bar {
    flex-direction: column;
    gap: 8px;
  }

  .filter-dropdown {
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
  }

  .filter-dropdown__select {
    font-size: 16px;
    padding: 12px 40px 12px 16px;
  }

  .filter-hint {
    margin-top: 8px;
    font-size: 0.85rem;
  }

  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    margin: 0 -4px 16px;
    padding: 4px 4px 8px;
    scroll-snap-type: x proximity;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .chip {
    scroll-snap-align: start;
  }

  .grid {
    gap: 12px;
  }

  .card:hover {
    transform: none;
  }

  .card__media {
    height: min(52vw, 220px);
    padding: 6px;
  }

  .card__body {
    padding: 14px;
    gap: 6px;
  }

  .card h3 {
    font-size: 1rem;
  }

  .card__excerpt {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .card__actions .btn {
    min-height: 34px;
  }

  .contacts {
    grid-template-columns: 1fr;
  }

  .contact {
    padding: 18px;
  }

  .contact a {
    font-size: 1rem;
  }

  .footer {
    padding: 20px 0 calc(28px + env(safe-area-inset-bottom));
    text-align: center;
    line-height: 1.8;
  }

  .modal {
    padding: 0;
    align-items: end;
  }

  .modal__box {
    width: 100%;
    max-height: 92vh;
    border-radius: var(--radius) var(--radius) 0 0;
    padding: 20px 20px calc(20px + env(safe-area-inset-bottom));
  }

  .modal__text {
    font-size: 0.95rem;
  }
}

@media (max-width: 380px) {
  .logo span:not(.logo__mark) {
    font-size: 0.95rem;
  }

  .hero h1 {
    font-size: 1.45rem;
  }

  .card__media {
    height: min(56vw, 200px);
  }
}
