.vacancies-hero {
    min-height: 30vh;
    display: flex;
    align-items: center;
    background: #ffffff;
    position: relative;
    padding-top: 130px;
    padding-bottom: 40px;
    padding-left: 20px;
    padding-right: 20px;
}

.vacancies-hero__content {
    max-width: 900px;
    margin-left: 8%;
    text-align: left;
}

.vacancies-hero__title {
    font-family: 'TildaSans', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #222;
    line-height: 1.15;
    margin-bottom: 18px;
}

.vacancies-hero__subtitle {
    font-family: 'TildaSans', sans-serif;
    font-size: 1.25rem;
    color: #555;
    line-height: 1.5;
}

.vacancies-section {
    padding: 60px 0 80px;
    background: #F8F9FA;
}

.vacancies__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.vacancy-card {
    background: #fff;
    border-radius: 18px;
    padding: 36px 34px 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.03);
}

.vacancy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.12);
}

.vacancy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: #990823;
    border-radius: 18px 0 0 18px;
}

.vacancy__title {
    font-family: 'TildaSans', sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: #222;
    margin: 0 0 14px 0;
    line-height: 1.3;
}

.vacancy__desc {
    font-family: 'TildaSans', sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 22px;
}

.vacancy__skills {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    flex-grow: 1;
}

.vacancy__skills li {
    font-family: 'TildaSans', sans-serif;
    font-size: 0.98rem;
    color: #444;
    padding: 8px 0 8px 28px;
    position: relative;
    line-height: 1.45;
}

.vacancy__skills li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 8px;
    color: #990823;
    font-weight: 700;
    font-size: 1.05rem;
}

.vacancy__salary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid #eee;
    margin-top: auto;
}

.vacancy__salary-label {
    font-family: 'TildaSans', sans-serif;
    font-size: 0.9rem;
    color: #777;
    font-weight: 500;
}

.vacancy__salary-value {
    font-family: 'TildaSans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #990823;
    letter-spacing: 0.3px;
}

.coffee-invite {
    padding: 70px 20px 90px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
    overflow: hidden;
}

.coffee-invite::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(153, 8, 35, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.coffee-invite__inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.coffee-invite__icon {
    font-size: 3.2rem;
    margin-bottom: 18px;
    display: inline-block;
    animation: steam 3s ease-in-out infinite;
}

@keyframes steam {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.coffee-invite__text h2 {
    font-family: 'TildaSans', sans-serif;
    font-size: 2.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.coffee-invite__text p {
    font-family: 'TildaSans', sans-serif;
    font-size: 1.15rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto 32px;
}

.coffee-invite__contacts {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.coffee-btn {
    display: inline-block;
    font-family: 'TildaSans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #990823;
    color: #fff;
    border: 2px solid #990823;
}

.coffee-btn:hover {
    background: #b00a2a;
    border-color: #b00a2a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(153, 8, 35, 0.4);
}

.coffee-btn.secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.35);
}

.coffee-btn.secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    box-shadow: none;
}

.coffee-or {
    font-family: 'TildaSans', sans-serif;
    color: rgba(255,255,255,0.45);
    font-size: 0.95rem;
}

.vacancy-hot-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ef4444; 
    color: white;
    font-family: 'TildaSans', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 9px 4px 9px;
    border-radius: 20px;
    letter-spacing: 0.6px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
    z-index: 5;
    transition: all 0.2s ease;
    line-height: 1;
}

.vacancy-card:hover .vacancy-hot-badge {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.45);
}

.vacancy-card.hot-vacancy {
    padding-top: 48px;
}

@media (max-width: 768px) {
    .vacancies-hero__content {
        margin-left: 0;
        text-align: center;
    }

    .vacancies-hero__title {
        font-size: 2.2rem;
    }

    .vacancies__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .vacancy-card {
        padding: 28px 24px;
    }

    .coffee-invite__text h2 {
        font-size: 1.7rem;
    }

    .coffee-invite__contacts {
        flex-direction: column;
        gap: 12px;
    }

    .coffee-or {
        display: none;
    }
}