/* Общие стили для текста */
body, .page-title__text, .position-card__title, .recruitment-process__title, 
.recruitment-process__steps li strong, .recruitment-process__steps li p, 
.perks__item strong, .perks__item p, .positions__filter-btn {
    font-family: Inter, sans-serif;
    font-weight: 400;
}

/* Заголовок страницы */
.page-title {
    padding: 20px 0;
    text-align: left;
}
.page-title__text {
    font-size: 96px;
    line-height: 116.18px;
}

/* Раздел позиций */
.positions {
    padding: 40px 0;
}
.positions__list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
.position-card {
    background-color: #fff;
    padding: 48px;
    border-radius: 70px;
    border: 1px solid rgba(163, 159, 159, 1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    width: calc(50% - 10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}
.position-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(59, 94, 239, 1);
}
.position-card__title {
    font-size: 48px;
    line-height: 58.09px;
    color: rgba(37, 37, 37, 1);
    margin: 24px 0;
    text-transform: uppercase;
}
.position-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.position-card__salary, .position-card__remote {
    font-size: 16px;
    font-weight: 500;
}
.position-card__salary {
    color: #3B5EEF;
}
.position-card__remote {
    padding: 8px 16px;
    color: #fff;
    background-color: #3B82F6;
    border-radius: 12px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.position-card__remote:hover {
    background-color: #2563EB;
}
.position-card__link {
    padding: 8px 32px;
    border-radius: 70px;
    border: 1px solid rgba(163, 159, 159, 1);
    color: rgba(163, 159, 159, 1);
    background-color: transparent;
    text-decoration: none;
    text-transform: uppercase;
    width: 100%;
    display: inline-block; /* Исправлено с inline на inline-block */
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.position-card__link:hover {
    border-color: rgba(59, 94, 239, 1);
    color: rgba(59, 94, 239, 1);
}

/* Процесс набора персонала */
.recruitment-process {
    padding: 60px 0;
}
.recruitment-process__title {
    font-size: 80px;
    line-height: 96.82px;
    color: #252525;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
}
.recruitment-process__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.recruitment-process__steps li {
    color: #252525;
    padding: 20px;
    padding-top: 60px;
    border-radius: 8px;
    position: relative;
    counter-increment: step;
}
.recruitment-process__steps li strong {
    display: block;
    font-size: 28px;
    line-height: 33.88px;
    margin-bottom: 10px;
}
.recruitment-process__steps li p {
    font-size: 16px;
    line-height: 19.36px;
}
.recruitment-process__steps li::before {
    content: counter(step);
    position: absolute;
    top: 10px;
    left: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 29.05px;
    background-color: #3B5EEF;
    color: #fff;
    border-radius: 100px;
}

/* Преимущества */
.perks__list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
.perks__title, .recruitment-process__title, .offer-section__title, .requirements-section__title, .nice-to-have-section__title {
	font-size: 80px;
	line-height: 96.51px;
	margin: 48px 0 36px 0;
}
.perks__item img {
	margin-bottom: 20px;
}
.perks__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    flex: 1 1 calc(25% - 20px);
    box-sizing: border-box;
    text-align: left;
}
.perks__item strong {
    font-size: 28px;
    line-height: 33.88px;
    margin-bottom: 10px;
}
.perks__item p {
    font-size: 16px;
    line-height: 19.36px;
}
/* Стили для кнопки "Read More" */
.perks__read-more-btn {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 18px;
    text-transform: uppercase;
    text-align: center;
    color: #A39F9F;
    background-color: transparent;
    border: 0.625px solid #A39F9F;
    border-radius: 43.75px;
    padding: 5px 20px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    margin-top: 20px;
    position: relative;
}

.perks__read-more-btn::after {
    content: '';
    display: none;
    width: 20px;
    height: 20px;
    position: absolute;
    right: 10px;
    background: #D9D9D9;
    border-radius: 50%;
}


/* Фильтры */
.positions__filters {
    display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 24px 0;
}
.positions__filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    height: 40px;
    border-radius: 70px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
    border: 1px solid rgba(163, 159, 159, 1);
    opacity: 1;
}
.positions__filter-btn.active {
    background: rgba(59, 94, 239, 1);
    color: #fff;
    border: none;
}
.positions__filter-btn:not(.active) {
    background: transparent;
    color: rgba(163, 159, 159, 1);
}
.positions__filter-btn:hover {
    border-color: rgba(37, 37, 37, 1);
    color: rgba(37, 37, 37, 1);
}

/* Контактная форма */
.contact-form {
    padding: 40px 0;
    background-color: #f0f0f0;
}
.contact-form__title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
}
.contact-form form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.contact-form input,
.contact-form textarea {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.contact-form__submit {
    padding: 10px 20px;
    font-size: 18px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.contact-form__submit:hover {
    background-color: #2980b9;
}
.contact-form__privacy {
    font-size: 14px;
    color: #999;
    text-align: center;
    margin-top: 10px;
}

/* Медиа-запросы */

/* Планшеты (1200px) */
@media (max-width: 1200px) {
    .perks__title, .recruitment-process__title, .offer-section__title, .requirements-section__title, .nice-to-have-section__title {
        font-size: 50px;
        line-height: 60.51px;
	}
    .position-card__title {
        font-size: 30px;
        line-height: 36.31px;
	}
    .page-title__text {
        font-size: 60px;
        line-height: 72.61px;
	}
}

/* Планшеты (960px) */
@media (max-width: 960px) {
    .perks__title, .recruitment-process__title, .offer-section__title, .requirements-section__title, .nice-to-have-section__title {
        font-size: 50px;
        line-height: 60.51px;
	}
    .perks__item {
        flex: 1 1 calc(33.333% - 20px);
	}
    .position-card__title {
        font-size: 24px;
        line-height: 29.05px;
	}
    .page-title__text {
        font-size: 48px;
        line-height: 58.09px;
	}
    .recruitment-process__steps {
        grid-template-columns: repeat(2, 1fr);
	}
	
	.recruitment-process__steps li {
        display: flex;
        align-items: flex-start;
        padding-top: 0;
        padding-left: 60px; /* Пространство для номера слева */
	}
	
    .recruitment-process__steps li::before {
        top: 0;
        left: 0;
        transform: none;
        margin-right: 10px;
	}
	
}

/* Мобильные устройства (768px) */
@media (max-width: 640px) {
    .perks__item {
        flex: 1 1 calc(50% - 20px);
	}
    .position-card__title {
        font-size: 24px;
        line-height: 29.05px;
	}
	.position-card {
		width: 100%; /* Карточка занимает всю ширину контейнера */
	}
    .page-title__text {
        font-size: 30px;
        line-height: 36.31px;
	}
    .recruitment-process__steps {
       grid-template-columns: 1fr;
	}
}

/* Маленькие мобильные устройства (375px) */
@media (max-width: 375px) {
    .perks__item {
        flex: 1 1 100%;
	}
    .position-card__title {
        font-size: 24px;
        line-height: 29.05px;
	}
	.position-card {
		width: 100%; /* Карточка занимает всю ширину контейнера */
	}
    .page-title__text {
        font-size: 24px;
        line-height: 29.05px;
	}
    .recruitment-process__steps {
        grid-template-columns: 1fr;
	}
}

