/* ==========================================================
   ZIMWERK Careers
   Цвета и размеры меняются в одном месте — в :root.
   ========================================================== */

:root {
	--zw-red: #e1251b;
	--zw-red-dark: #c01d14;
	--zw-blue: #3d566f;
	--zw-blue-card: #31506d;
	--zw-blue-dark: #1b3049;
	--zw-navy: #0b1f35;
	--zw-text: #ffffff;
	--zw-muted: #c3ccd6;
	--zw-container: 1200px;
	--zw-gutter: 20px;
	--zw-font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--zw-header-h: 150px;

	/* Сквозной фон: каждая секция начинается тем цветом, которым закончилась предыдущая. */
	--zw-c0: #051629; /* верх страницы под шапкой */
	--zw-c1: #1b2f47; /* низ первого экрана → начало «О нас» */
	--zw-c2: #3a536c; /* вакансии */
	--zw-c3: #20364f; /* низ формы → начало контактов */
	--zw-c4: #0b1f35; /* низ контактов и подвал */
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 20px;
}

body {
	margin: 0;
	font-family: var(--zw-font);
	font-size: 16px;
	line-height: 1.35;
	color: var(--zw-text);
	background: var(--zw-navy);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: inherit;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.screen-reader-text:focus {
	clip: auto;
	width: auto;
	height: auto;
	z-index: 1000;
	top: 8px;
	left: 8px;
	padding: 10px 16px;
	background: #fff;
	color: var(--zw-navy);
}

.zw-container {
	width: 100%;
	max-width: calc(var(--zw-container) + var(--zw-gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--zw-gutter);
}

/* Фон основной части — плавный градиент как в макете. */
.zw-main {
	background: var(--zw-c4);
}

/* Фоны секций — плавные переходы между опорными цветами. */
.zw-about {
	background: linear-gradient(180deg, var(--zw-c1) 0%, var(--zw-c2) 100%);
}

.zw-vacancies {
	background: var(--zw-c2);
}

.zw-apply {
	background: linear-gradient(180deg, var(--zw-c2) 0%, var(--zw-c3) 100%);
}

.zw-contacts {
	background:
		radial-gradient(ellipse 45% 38% at 20% 52%, rgba(84, 116, 150, .3) 0%, rgba(84, 116, 150, 0) 100%),
		linear-gradient(180deg, var(--zw-c3) 0%, var(--zw-c4) 100%);
}

.zw-section--content {
	background: linear-gradient(180deg, var(--zw-c2) 0%, var(--zw-c3) 70%, var(--zw-c4) 100%);
}

.zw-section {
	padding: 50px 0;
}

/* ---------- Заголовки и кнопки ---------- */

.zw-heading {
	margin: 0 0 30px;
	font-size: 40px;
	line-height: 1.25;
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: underline;
	text-decoration-color: var(--zw-red);
	text-decoration-thickness: 4px;
	text-underline-offset: 6px;
	text-decoration-skip-ink: none;
}

.zw-heading--center {
	text-align: center;
}

.zw-btn {
	display: inline-block;
	padding: 8px 11px;
	border: 0;
	background: var(--zw-red);
	color: #fff;
	font: 700 16px/1.2 var(--zw-font);
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s;
}

.zw-btn:hover,
.zw-btn:focus-visible {
	background: var(--zw-red-dark);
}

.zw-btn--outline {
	background: transparent;
	box-shadow: inset 0 0 0 2px var(--zw-red);
}

.zw-btn--outline:hover {
	background: var(--zw-red);
}

.zw-list {
	margin: 0;
	padding: 0 0 0 23px;
	list-style: none;
}

.zw-list li {
	position: relative;
	margin: 0;
}

.zw-list li::before {
	content: "";
	position: absolute;
	left: -14px;
	top: .6em;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: currentColor;
}

/* ---------- Шапка ---------- */

.zw-header {
	position: relative;
	z-index: 50;
	background: var(--zw-navy);
}

.zw-overlay-header .zw-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background: transparent;
}

.admin-bar.zw-overlay-header .zw-header {
	top: 32px;
}

.zw-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	min-height: 100px;
	padding-top: 24px;
	padding-bottom: 24px;
}

.zw-overlay-header .zw-header__inner {
	min-height: 0;
	padding-top: 50px;
}

.zw-logo img,
.custom-logo {
	width: 218px;
	height: auto;
}

.zw-nav {
	display: flex;
	align-items: center;
	gap: 100px;
}

.zw-menu {
	display: flex;
	gap: 36px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.zw-menu a {
	font-size: 16px;
	text-transform: uppercase;
	text-decoration: none;
	transition: color .2s;
}

.zw-menu a:hover {
	color: var(--zw-red);
}

/* Активный пункт: текущая страница или секция, до которой докрутили (main.js). */
.zw-header .zw-menu a.is-active,
.zw-header .zw-menu .current-menu-item > a:not([href*="#"]) {
	color: var(--zw-red);
	font-weight: 700;
}

.zw-header__phone {
	display: flex;
	align-items: center;
	gap: 22px;
	white-space: nowrap;
	text-decoration: none;
}

.zw-header__phone svg {
	width: 26px;
	height: 26px;
}

.zw-burger {
	display: none;
	width: 44px;
	height: 44px;
	padding: 11px 8px;
	border: 0;
	background: transparent;
	cursor: pointer;
	flex-direction: column;
	justify-content: space-between;
}

.zw-burger span {
	display: block;
	height: 2px;
	background: #fff;
	transition: transform .2s, opacity .2s;
}

.zw-burger[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(9px) rotate(45deg);
}

.zw-burger[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.zw-burger[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-9px) rotate(-45deg);
}

/* ---------- Первый экран ---------- */

.zw-hero {
	position: relative;
	overflow: hidden;
	min-height: 786px;
	background: #1d3552 var(--zw-hero-bg) center / cover no-repeat;
}

/* Синяя тонировка фото, как в макете. */
.zw-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(5, 22, 41, .9) 0%, rgba(12, 34, 60, .78) 40%, rgba(20, 40, 64, .82) 75%, var(--zw-c1) 100%);
}

/* Низ первого экрана (вместе с ногами команды) растворяется в цвете следующей секции. */
.zw-hero::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 200px;
	background: linear-gradient(180deg, rgba(27, 47, 71, 0) 0%, var(--zw-c1) 92%);
	pointer-events: none;
}

.zw-hero__inner {
	position: relative;
	min-height: 786px;
	padding-top: 145px;
	padding-bottom: 50px;
	display: flex;
	flex-direction: column;
}

.zw-hero__pretitle {
	margin: 0;
	font-size: 24px;
	font-weight: 500;
	color: var(--zw-muted);
}

.zw-hero__title {
	position: relative;
	z-index: 1;
	margin: 6px 0 0;
	font-size: 72px;
	line-height: 1.1;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .01em;
}

.zw-hero__people {
	position: absolute;
	left: 50%;
	top: 187px;
	width: 1408px;
	max-width: none;
	transform: translateX(-50%);
	pointer-events: none;
}

.zw-hero__text {
	position: relative;
	z-index: 2;
	margin: auto 0 0 26px;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.55;
	text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}

/* ---------- Внутренние страницы ---------- */

.zw-page-head {
	position: relative;
	padding: 60px 0 70px;
	background: var(--zw-c2) var(--zw-hero-bg) center / cover no-repeat;
}

.zw-overlay-header .zw-page-head {
	padding-top: 160px;
}

.zw-page-head::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(5, 22, 41, .94) 0%, rgba(14, 36, 62, .8) 45%, var(--zw-c2) 100%);
}

.zw-page-head .zw-container {
	position: relative;
}

.zw-page-head__back {
	display: inline-block;
	margin-bottom: 14px;
	color: var(--zw-muted);
	text-decoration: none;
}

.zw-page-head__back:hover {
	color: #fff;
}

.zw-page-head__title {
	margin: 0;
	font-size: 48px;
	line-height: 1.15;
	font-weight: 700;
	text-transform: uppercase;
}

.zw-page-head__text {
	max-width: 640px;
	margin: 16px 0 0;
	font-size: 18px;
	color: var(--zw-muted);
}

.zw-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.zw-tags li {
	padding: 8px 14px;
	background: rgba(49, 80, 109, .9);
	box-shadow: 0 4px 4px rgba(0, 0, 0, .15);
}

.zw-tags span {
	color: var(--zw-muted);
}

.zw-content {
	max-width: calc(900px + var(--zw-gutter) * 2);
	font-size: 17px;
	line-height: 1.6;
}

.zw-content h2,
.zw-content h3 {
	margin: 1.6em 0 .6em;
	line-height: 1.25;
}

.zw-content h2 {
	font-size: 26px;
}

.zw-content h3 {
	font-size: 20px;
}

.zw-content ul {
	padding-left: 22px;
}

.zw-content a:not(.zw-btn) {
	color: #ff8a83;
}

/* ---------- О нас ---------- */

.zw-about {
	padding-top: 55px;
}

.zw-about__grid {
	display: grid;
	grid-template-columns: minmax(0, 690px);
	gap: 40px;
}

.zw-about__grid.has-image {
	grid-template-columns: minmax(0, 690px) minmax(0, 1fr);
	align-items: center;
}

.zw-about__content p {
	margin: 0 0 18px;
}

.zw-about__subtitle {
	margin: 0 0 18px;
	font-size: 20px;
	font-weight: 500;
}

.zw-about .zw-list {
	max-width: 440px;
}

/* ---------- Вакансии ---------- */

.zw-vacancies {
	padding-top: 20px;
}

.zw-cards {
	--zw-cols: 3;
	display: grid;
	grid-template-columns: repeat(var(--zw-cols), minmax(0, 1fr));
	gap: 40px 20px;
}

.zw-card {
	display: flex;
	flex-direction: column;
	padding: 30px 22px 24px;
	background: var(--zw-blue-card);
	box-shadow: 0 4px 6px rgba(0, 0, 0, .25);
	transition: transform .2s, box-shadow .2s;
}

.zw-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 18px rgba(0, 0, 0, .3);
}

.zw-card__title {
	margin: 0 0 20px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
}

.zw-card__title a {
	text-decoration: none;
}

.zw-card__salary {
	margin: -8px 0 16px;
	font-weight: 600;
	color: #ff8a83;
}

.zw-card__text {
	margin: 0 0 40px;
	font-size: 16px;
	line-height: 1.25;
}

.zw-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: auto;
}

.zw-vacancies__more {
	margin: 50px 0 0;
	text-align: center;
}

.zw-btn--lg {
	padding: 14px 30px;
	font-size: 16px;
	letter-spacing: .02em;
}

.zw-vacancies--all {
	padding-top: 10px;
}

.zw-vacancies__empty {
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
	font-size: 18px;
}

/* ---------- Форма ---------- */

.zw-apply {
	padding: 80px 0 60px;
}

.zw-apply__grid {
	display: grid;
	grid-template-columns: 488px minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}

.zw-apply__grid.no-image {
	grid-template-columns: minmax(0, 800px);
	justify-content: center;
}

.zw-apply__image {
	width: 100%;
	height: 100%;
	min-height: 520px;
	object-fit: cover;
	object-position: 35% center;
}

.zw-apply .zw-heading {
	margin-bottom: 26px;
	line-height: 1.3;
}

.zw-form__row {
	margin-bottom: 18px;
}

.zw-form label {
	display: block;
	margin-bottom: 10px;
	font-size: 18px;
}

.zw-form input[type="text"],
.zw-form input[type="tel"],
.zw-form select,
.zw-form textarea {
	display: block;
	width: 100%;
	padding: 9px 12px;
	border: 1px solid #fff;
	border-radius: 0;
	background: transparent;
	color: #fff;
	font: 16px/1.4 var(--zw-font);
	transition: border-color .2s, background-color .2s;
}

.zw-form input[type="text"],
.zw-form input[type="tel"],
.zw-form select {
	height: 40px;
}

.zw-form textarea {
	height: 123px;
	resize: vertical;
}

.zw-form select option {
	color: #111;
}

.zw-form input:focus,
.zw-form select:focus,
.zw-form textarea:focus {
	outline: none;
	border-color: var(--zw-red);
	background: rgba(255, 255, 255, .05);
}

.zw-form input::placeholder {
	color: rgba(255, 255, 255, .4);
}

.zw-form .zw-btn {
	margin-top: 8px;
	padding: 9px 8px;
	font-size: 15px;
}

.zw-form .zw-btn[disabled] {
	opacity: .6;
	cursor: progress;
}

.zw-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.zw-form .zw-form__agree {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 14px;
	color: var(--zw-muted);
}

.zw-form__agree input {
	margin-top: 2px;
	accent-color: var(--zw-red);
}

.zw-form__notice {
	margin: 4px 0 10px;
	padding: 12px 14px;
	border-left: 4px solid;
}

.zw-form__notice.is-success {
	border-color: #3ccf7a;
	background: rgba(60, 207, 122, .12);
}

.zw-form__notice.is-error {
	border-color: var(--zw-red);
	background: rgba(225, 37, 27, .15);
}

/* ---------- Контакты ---------- */

.zw-contacts {
	padding: 80px 0 60px;
}

.zw-contacts__grid {
	display: grid;
	grid-template-columns: 512px minmax(0, 590px);
	justify-content: space-between;
	gap: 40px;
	align-items: center;
}

.zw-contacts .zw-heading {
	margin-bottom: 30px;
	line-height: 1.3;
}

.zw-contacts__list {
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
}

.zw-contacts__list li {
	display: flex;
	gap: 22px;
	align-items: flex-start;
	margin-bottom: 22px;
	font-size: 16px;
}

.zw-contacts__list a {
	text-decoration: none;
}

.zw-contacts__icon {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
}

.zw-contacts__icon svg {
	width: 100%;
	height: 100%;
}

.zw-contacts__social-title {
	margin: 0 0 14px;
}

.zw-socials {
	display: flex;
	gap: 10px;
}

.zw-socials a {
	display: block;
	width: 40px;
	height: 40px;
	transition: transform .2s;
}

.zw-socials a:hover {
	transform: scale(1.08);
}

.zw-contacts__map {
	aspect-ratio: 590 / 423;
	background: #23384f;
}

.zw-contacts__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.zw-map {
	position: relative;
	height: 100%;
}

.zw-map__canvas {
	position: absolute;
	inset: 0;
}

/* ---------- Подвал ---------- */

.zw-footer {
	background: var(--zw-c4);
	padding: 32px 0;
}

.zw-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
}

.zw-footer__nav .zw-menu {
	gap: 32px;
}

.zw-footer__phone {
	font-size: 16px;
	text-decoration: none;
	white-space: nowrap;
}

/* ---------- Страница вакансии ---------- */

.zw-vacancy-hero {
	position: relative;
	padding: 60px 0 80px;
	background: var(--zw-c2) var(--zw-hero-bg) center top / cover no-repeat;
}

.zw-overlay-header .zw-vacancy-hero {
	padding-top: 165px;
}

/* Фото мастерской сверху темнее, к низу растворяется в цвете формы. */
.zw-vacancy-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(5, 22, 41, .95) 0%, rgba(10, 30, 54, .8) 140px, rgba(14, 36, 62, .74) 40%, rgba(31, 52, 77, .9) 75%, var(--zw-c2) 100%);
}

.zw-vacancy-hero__grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 590px) minmax(0, 1fr);
	gap: 40px;
}

/* Заголовок в одну строку, может выходить за колонку текста (фото справа начинается ниже). */
.zw-vacancy__title {
	position: relative;
	z-index: 1;
	width: max-content;
	max-width: calc(min(100vw, var(--zw-container) + var(--zw-gutter) * 2) - var(--zw-gutter) * 2);
	margin: 0 0 56px;
	font-size: 36px;
	line-height: 1.2;
	font-weight: 700;
}

.zw-vacancy__title span {
	text-transform: uppercase;
	margin-right: .25em;
}

.zw-salary {
	margin-bottom: 28px;
}

.zw-salary__label {
	display: block;
	font-size: 32px;
	font-weight: 400;
	line-height: 1.2;
}

.zw-salary__value {
	display: block;
	margin-top: 8px;
	font-size: 48px;
	font-weight: 700;
	line-height: 1.15;
}

.zw-vacancy-hero .zw-tags {
	margin: 0 0 28px;
}

.zw-vacancy__intro {
	margin-bottom: 24px;
}

.zw-vacancy__apply {
	margin-top: 10px;
}

/* Фото справа: прилипает при прокрутке длинного описания и мягко уходит в фон снизу. */
.zw-vacancy-hero__photo {
	align-self: start;
	position: sticky;
	top: 30px;
	margin-top: 110px;
	display: flex;
	justify-content: flex-end;
	pointer-events: none;
}

.zw-vacancy-hero__photo img {
	width: 100%;
	max-width: 620px;
	-webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
	mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}

.zw-vacancy-elementor {
	background: var(--zw-c2);
}

/* ---------- Аккордеоны ---------- */

.zw-accordion {
	margin-bottom: 26px;
}

.zw-accordion__item + .zw-accordion__item {
	margin-top: 26px;
}

.zw-accordion__head {
	position: relative;
	display: block;
	padding: 10px 56px 10px 15px;
	background: #34506d;
	box-shadow: 0 4px 8px rgba(0, 0, 0, .18);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.15;
	cursor: pointer;
	list-style: none;
	transition: background-color .2s;
}

.zw-accordion__head::-webkit-details-marker {
	display: none;
}

.zw-accordion__head:hover {
	background: #3d5c7c;
}

.zw-accordion__head:focus-visible {
	outline: 2px solid var(--zw-red);
	outline-offset: 2px;
}

/* Треугольник ▼, при раскрытии разворачивается вверх. */
.zw-accordion__head::after {
	content: "";
	position: absolute;
	right: 36px;
	top: 50%;
	margin-top: -5px;
	border: 9px solid transparent;
	border-top: 13px solid #fff;
	border-bottom: 0;
	transition: transform .2s;
}

.zw-accordion__item[open] > .zw-accordion__head::after {
	transform: rotate(180deg);
}

.zw-accordion__body {
	max-width: none;
	padding: 16px 0 4px;
	font-size: 16px;
	line-height: 1.25;
}

.zw-accordion__body p {
	margin: 0;
}

.zw-accordion__body p + p {
	margin-top: 8px;
}

.zw-accordion__body strong {
	font-weight: 500;
}

.zw-accordion__body ul {
	margin: 0;
	padding: 0 0 0 23px;
	list-style: none;
}

.zw-accordion__body li {
	position: relative;
}

.zw-accordion__body li::before {
	content: "";
	position: absolute;
	left: -14px;
	top: .55em;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: currentColor;
}

.zw-accordion__body ol {
	margin: 0;
	padding-left: 18px;
}

.zw-accordion__item[open] .zw-accordion__body {
	animation: zw-fade .25s ease;
}

@keyframes zw-fade {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}
}

/* ---------- Elementor ---------- */

/* Виджеты ZIMWERK внутри секций Elementor занимают всю ширину. */
.elementor-widget[class*="elementor-widget-zw-"] .zw-section,
.elementor-widget[class*="elementor-widget-zw-"] .zw-hero {
	margin-left: 0;
	margin-right: 0;
}

/* ==========================================================
   Адаптив
   ========================================================== */

@media (max-width: 1240px) {
	.zw-nav {
		gap: 40px;
	}

	.zw-hero__people {
		width: 1150px;
		top: 250px;
	}

	.zw-apply__grid {
		grid-template-columns: 400px minmax(0, 1fr);
	}

	.zw-contacts__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}

@media (max-width: 1024px) {
	:root {
		--zw-gutter: 24px;
	}

	.zw-burger {
		display: flex;
		position: relative;
		z-index: 2;
	}

	.zw-overlay-header .zw-header__inner {
		padding-top: 24px;
	}

	.zw-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: flex-start;
		gap: 24px;
		padding: 24px var(--zw-gutter) 30px;
		background: var(--zw-navy);
		box-shadow: 0 10px 20px rgba(0, 0, 0, .3);
		visibility: hidden;
		opacity: 0;
		transform: translateY(-8px);
		transition: opacity .2s, transform .2s, visibility .2s;
	}

	.zw-nav.is-open {
		visibility: visible;
		opacity: 1;
		transform: none;
	}

	.zw-header .zw-menu {
		flex-direction: column;
		gap: 18px;
	}

	.zw-header .zw-menu a {
		font-size: 18px;
	}

	.zw-hero,
	.zw-hero__inner {
		min-height: 640px;
	}

	.zw-hero__inner {
		padding-top: 120px;
	}

	.zw-hero__title {
		font-size: 56px;
	}

	.zw-hero__people {
		width: 900px;
		top: auto;
		bottom: -40px;
	}

	.zw-hero__text {
		margin-left: 0;
	}

	.zw-cards {
		--zw-cols: 2 !important;
	}

	.zw-apply__grid,
	.zw-contacts__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.zw-vacancy-hero__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
		gap: 24px;
	}

	.zw-vacancy-hero__photo {
		margin-top: 60px;
	}

	.zw-vacancy__title {
		width: auto;
	}

	.zw-apply__image {
		min-height: 0;
		max-height: 360px;
	}

	.zw-footer__inner {
		flex-direction: column;
		text-align: center;
	}

	.zw-footer__nav .zw-menu {
		flex-wrap: wrap;
		justify-content: center;
		gap: 14px 24px;
	}
}

@media (max-width: 782px) {
	.admin-bar.zw-overlay-header .zw-header {
		top: 46px;
	}
}

@media (max-width: 640px) {
	:root {
		--zw-gutter: 16px;
	}

	.zw-section {
		padding: 40px 0;
	}

	.zw-heading {
		font-size: 28px;
		text-decoration-thickness: 3px;
	}

	.zw-logo img,
	.custom-logo {
		width: 160px;
	}

	.zw-header__inner {
		min-height: 76px;
		padding-top: 16px;
		padding-bottom: 16px;
	}

	.zw-overlay-header .zw-header__inner {
		padding-top: 16px;
	}

	.zw-hero,
	.zw-hero__inner {
		min-height: 560px;
	}

	.zw-hero__inner {
		padding-top: 96px;
	}

	.zw-hero__pretitle {
		font-size: 18px;
	}

	.zw-hero__title {
		font-size: clamp(24px, 7.9vw, 44px);
	}

	.zw-hero__people {
		width: 640px;
		bottom: -20px;
	}

	.zw-hero__text {
		font-size: 18px;
	}

	.zw-page-head__title {
		font-size: 30px;
	}

	.zw-overlay-header .zw-page-head {
		padding-top: 110px;
	}

	.zw-cards {
		--zw-cols: 1 !important;
		gap: 20px;
	}

	.zw-overlay-header .zw-vacancy-hero {
		padding-top: 100px;
	}

	.zw-vacancy-hero__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	/* На телефоне фото — над заголовком, по центру. */
	.zw-vacancy-hero__photo {
		order: -1;
		position: static;
		margin: 0 0 -40px;
		justify-content: center;
	}

	.zw-vacancy-hero__photo img {
		max-width: 260px;
	}

	.zw-vacancy__title {
		margin-bottom: 28px;
		font-size: 26px;
	}

	.zw-salary__label {
		font-size: 22px;
	}

	.zw-salary__value {
		font-size: 34px;
	}

	.zw-accordion__head {
		padding-right: 44px;
		font-size: 17px;
	}

	.zw-accordion__head::after {
		right: 18px;
	}

	.zw-apply,
	.zw-contacts {
		padding: 50px 0;
	}

	.zw-form label {
		font-size: 16px;
	}

	.zw-contacts__icon {
		flex-basis: 36px;
		width: 36px;
		height: 36px;
	}

	.zw-contacts__map {
		aspect-ratio: 4 / 3;
	}
}
