:root {
    --coral: #FF7E67;
    --cyan: #00E5FF;
    --dark: #1A1A1A;
    --bg: #F8FAFC;
    --white: #FFFFFF;
    --text-gray: #64748B;
    --border: #E2E8F0;
      --shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background: var(--bg);
    color: var(--dark);
    overflow-x: hidden;
}


/* --- NUEVO CUERPO PROFESIONAL --- */
.container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Barra de búsqueda y filtros */
.search-container {
    background: white;
    padding: 10px;
    border-radius: 20px;
    display: flex;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    border: 1px solid var(--border);
}

.search-container input {
    flex: 1;
    border: none;
    padding: 12px 20px;
    outline: none;
    font-size: 1rem;
    background: transparent;
}

.btn-filter {
    background: var(--dark);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 15px;
    font-weight: 600;
    cursor: pointer;
}

/* Grid Mejorado */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 25px;
}

/* Tarjeta Estilo Premium */
.job-card {
    background: var(--white);
    border-radius: 24px;
    padding: 24px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    border-color: var(--cyan);
}

.badge-distance {
    position: absolute;
    top: 24px;
    right: 24px;
    background: #E0FBFC;
    color: #0081A7;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 10px;
}

.company-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.logo-box {
    width: 50px;
    height: 50px;
    background: var(--bg);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.job-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
}

.company-name {
    color: var(--coral);
    font-weight: 600;
    font-size: 0.9rem;
}

.details-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0;
}

.item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-gray);
    font-weight: 500;
}

.job-desc {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 20px;
    background: #F8FAFC;
    padding: 12px;
    border-radius: 12px;
}

.footer-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--bg);
}

.salary {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--dark);
}

.salary span {
    font-size: 0.7rem;
    color: var(--text-gray);
    font-weight: 400;
}

.btn-apply {
    background: var(--coral);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-apply:hover {
    background: var(--dark);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .search-container {
        flex-direction: column;
        padding: 15px;
    }
}