/**
 * Стили страницы вакансий
 */

.vt-vacancies {
    padding: 40px 0 60px;
    background: #f8f9fa;
}

.vt-vacancies__title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px;
}

.vt-vacancies__intro {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 40px;
    max-width: 800px;
}

/* Карьерный рост */
.vt-vacancies__growth {
    margin-bottom: 48px;
}

.vt-vacancies__section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 24px;
}

.vt-vacancies__growth-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.vt-vacancies__growth-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.2s;
}

.vt-vacancies__growth-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.vt-vacancies__growth-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e3f2fd;
    border-radius: 12px;
    color: #1976d2;
}

.vt-vacancies__growth-content {
    flex: 1;
}

.vt-vacancies__growth-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 6px;
}

.vt-vacancies__growth-desc {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.vt-vacancies__text {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Общие требования */
.vt-vacancies__requirements {
    margin-bottom: 48px;
}

.vt-vacancies__list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.vt-vacancies__list li {
    padding: 12px 12px 12px 40px;
    background: white;
    border-radius: 10px;
    position: relative;
    font-size: 15px;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.vt-vacancies__list li::before {
    content: '✓';
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #e3f2fd;
    color: #1976d2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

/* Заметка */
.vt-vacancies__note {
    padding: 20px 24px;
    background: #fff3cd;
    border-radius: 12px;
    border-left: 4px solid #ffc107;
}

.vt-vacancies__note h3 {
    font-size: 16px;
    font-weight: 600;
    color: #856404;
    margin: 0 0 8px;
}

.vt-vacancies__note p {
    font-size: 14px;
    color: #856404;
    margin: 0;
    line-height: 1.5;
}

/* Контакты */
.vt-vacancies__contacts {
    margin-bottom: 48px;
}

.vt-vacancies__contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.vt-vacancies__contact-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.vt-vacancies__contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e3f2fd;
    border-radius: 12px;
    color: #1976d2;
}

.vt-vacancies__contact-content {
    flex: 1;
}

.vt-vacancies__contact-label {
    font-size: 13px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 8px;
}

.vt-vacancies__contact-text {
    font-size: 16px;
    color: #333;
    margin: 0;
}

.vt-vacancies__contact-text a {
    color: #1976d2;
    text-decoration: none;
    font-weight: 500;
}

.vt-vacancies__contact-text a:hover {
    text-decoration: underline;
}

/* Список вакансий */
.vt-vacancies__list-section {
    margin-bottom: 24px;
}

.vt-vacancies__items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vt-vacancy-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.2s;
    overflow: hidden;
}

.vt-vacancy-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.vt-vacancy-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}

.vt-vacancy-card__header:hover {
    background: #f8f9fa;
}

.vt-vacancy-card__title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.vt-vacancy-card__toggle {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e3f2fd;
    border-radius: 50%;
    color: #1976d2;
    transition: all 0.3s;
}

.vt-vacancy-card__toggle svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.vt-vacancy-card.is-open .vt-vacancy-card__toggle {
    background: #1976d2;
    color: white;
}

.vt-vacancy-card.is-open .vt-vacancy-card__toggle svg {
    transform: rotate(180deg);
}

.vt-vacancy-card__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.vt-vacancy-card.is-open .vt-vacancy-card__content {
    max-height: 2000px;
    transition: max-height 0.5s ease-in;
}

.vt-vacancy-card__body {
    padding: 0 28px 24px;
    border-top: 1px solid #e5e7eb;
}

.vt-vacancy-card__section {
    margin-bottom: 24px;
}

.vt-vacancy-card__section:first-child {
    margin-top: 24px;
}

.vt-vacancy-card__section:last-of-type {
    margin-bottom: 24px;
}

.vt-vacancy-card__section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 12px;
}

.vt-vacancy-card__section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vt-vacancy-card__section li {
    padding: 10px 0 10px 24px;
    position: relative;
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    border-bottom: 1px solid #f3f4f6;
}

.vt-vacancy-card__section li:last-child {
    border-bottom: none;
}

.vt-vacancy-card__section li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: #1976d2;
    font-weight: 700;
}

.vt-vacancy-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: #1976d2;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s;
}

.vt-vacancy-card__btn:hover {
    background: #1565c0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

/* Пустое состояние */
.vt-vacancies__empty {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.vt-vacancies__empty p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* Мобильная версия */
@media (max-width: 900px) {
    .vt-vacancies__growth-grid,
    .vt-vacancies__list,
    .vt-vacancies__contacts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .vt-vacancies {
        padding: 24px 0 40px;
    }

    .vt-vacancies__title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .vt-vacancies__intro {
        font-size: 15px;
        margin-bottom: 32px;
    }

    .vt-vacancies__section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .vt-vacancies__growth-item,
    .vt-vacancies__contact-item {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }

    .vt-vacancy-card {
        padding: 24px 20px;
    }

    .vt-vacancy-card__title {
        font-size: 20px;
    }

    .vt-vacancy-card__btn {
        width: 100%;
    }

    .vt-vacancies__list li {
        font-size: 14px;
        padding: 10px 10px 10px 36px;
    }

    .vt-vacancies__note {
        padding: 16px 20px;
    }
}
